From 294b563c4ba2b28c2d744e49ebe0b9c48efbf8be Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 2 Nov 2023 10:06:07 -0700 Subject: [PATCH 01/12] migrated log retention provider Signed-off-by: Francis --- .../aws-logs}/log-retention-provider/index.ts | 0 .../custom-resource-handlers/package.json | 1 + .../aws-logs}/log-retention-provider.test.ts | 4 +- .../.is_custom_resource | 0 .../aws-cdk-lib/aws-logs/lib/log-retention.ts | 2 +- yarn.lock | 642 ++++++++++++++++++ 6 files changed, 646 insertions(+), 3 deletions(-) rename packages/{aws-cdk-lib/aws-logs/lib => @aws-cdk/custom-resource-handlers/lib/aws-logs}/log-retention-provider/index.ts (100%) rename packages/{aws-cdk-lib/aws-logs/test => @aws-cdk/custom-resource-handlers/test/aws-logs}/log-retention-provider.test.ts (99%) delete mode 100644 packages/aws-cdk-lib/aws-logs/lib/log-retention-provider/.is_custom_resource diff --git a/packages/aws-cdk-lib/aws-logs/lib/log-retention-provider/index.ts b/packages/@aws-cdk/custom-resource-handlers/lib/aws-logs/log-retention-provider/index.ts similarity index 100% rename from packages/aws-cdk-lib/aws-logs/lib/log-retention-provider/index.ts rename to packages/@aws-cdk/custom-resource-handlers/lib/aws-logs/log-retention-provider/index.ts diff --git a/packages/@aws-cdk/custom-resource-handlers/package.json b/packages/@aws-cdk/custom-resource-handlers/package.json index 2e2d2ec0e06f8..85347afc3eeb0 100644 --- a/packages/@aws-cdk/custom-resource-handlers/package.json +++ b/packages/@aws-cdk/custom-resource-handlers/package.json @@ -46,6 +46,7 @@ "@aws-sdk/client-synthetics": "^3.421.0", "@aws-sdk/client-ecr": "^3.421.0", "@aws-sdk/client-s3": "^3.421.0", + "@aws-sdk/client-cloudwatch-logs": "^3.441.0", "aws-sdk": "^2.1466.0" }, "repository": { diff --git a/packages/aws-cdk-lib/aws-logs/test/log-retention-provider.test.ts b/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts similarity index 99% rename from packages/aws-cdk-lib/aws-logs/test/log-retention-provider.test.ts rename to packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts index ee991a532acc0..c2bf5255e2731 100644 --- a/packages/aws-cdk-lib/aws-logs/test/log-retention-provider.test.ts +++ b/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts @@ -2,7 +2,7 @@ import { CloudWatchLogsClient, CloudWatchLogsClientResolvedConfig, CreateLogGrou import { AwsStub, mockClient } from 'aws-sdk-client-mock'; import 'aws-sdk-client-mock-jest'; import * as nock from 'nock'; -import * as provider from '../lib/log-retention-provider'; +import * as provider from '../../lib/aws-logs/log-retention-provider/index'; const cloudwatchLogsMock = mockClient(CloudWatchLogsClient); const OPERATION_ABORTED = new OperationAbortedException({ message: '', $metadata: {} }); @@ -73,7 +73,7 @@ describe('log retention provider', () => { expect(cloudwatchLogsMock).toHaveReceivedCommandWith(PutRetentionPolicyCommand, { logGroupName: 'group', - retentionInDays: 30, + retentionInDays: 29, }); expect(cloudwatchLogsMock).toHaveReceivedCommandWith(CreateLogGroupCommand, { diff --git a/packages/aws-cdk-lib/aws-logs/lib/log-retention-provider/.is_custom_resource b/packages/aws-cdk-lib/aws-logs/lib/log-retention-provider/.is_custom_resource deleted file mode 100644 index e69de29bb2d1d..0000000000000 diff --git a/packages/aws-cdk-lib/aws-logs/lib/log-retention.ts b/packages/aws-cdk-lib/aws-logs/lib/log-retention.ts index fd90f46fa0905..5a1c0527cdb5e 100644 --- a/packages/aws-cdk-lib/aws-logs/lib/log-retention.ts +++ b/packages/aws-cdk-lib/aws-logs/lib/log-retention.ts @@ -148,7 +148,7 @@ class LogRetentionFunction extends Construct implements cdk.ITaggable { super(scope, id); const asset = new s3_assets.Asset(this, 'Code', { - path: path.join(__dirname, 'log-retention-provider'), + path: path.join(__dirname, '..', '..', 'custom-resource-handlers', 'dist', 'aws-logs', 'log-retention-provider'), }); const role = props.role || new iam.Role(this, 'ServiceRole', { diff --git a/yarn.lock b/yarn.lock index 0832046628849..926a9cb3cf0ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -349,6 +349,52 @@ tslib "^2.5.0" uuid "^8.3.2" +"@aws-sdk/client-cloudwatch-logs@^3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-cloudwatch-logs/-/client-cloudwatch-logs-3.441.0.tgz#e15e78ef8bf0277b009fe1fbad9efa8cf69a65d7" + integrity sha512-5/OSMGe//jw2E0ERxV+G/a1dMvL/Xni0wPaUzBtTIa8GLlINOunys6nxfjgI2iYlOd934aveEOrScMrvVP1FoQ== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/client-sts" "3.441.0" + "@aws-sdk/core" "3.441.0" + "@aws-sdk/credential-provider-node" "3.441.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" + tslib "^2.5.0" + uuid "^8.3.2" + "@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" @@ -1260,6 +1306,48 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@aws-sdk/client-sso@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.441.0.tgz#4e35b42bdaf4f10f60d4d1f697f39d67635b467c" + integrity sha512-gndGymu4cEIN7WWhQ67RO0JMda09EGBlay2L8IKCHBK/65Y34FHUX1tCNbO2qezEzsi6BPW5o2n53Rd9QqpHUw== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/core" "3.441.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": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.421.0.tgz#1c7b3265be3acb609159533c24421da4e9466570" @@ -1304,6 +1392,52 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" +"@aws-sdk/client-sts@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.441.0.tgz#9fcc8ece0274e53fc4234e97d7091f1afe2ade43" + integrity sha512-GL0Cw2v7XL1cn0T+Sk5VHLlgBJoUdMsysXsHa1mFdk0l6XHMAAnwXVXiNnjmoDSPrG0psz7dL2AKzPVRXbIUjA== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/core" "3.441.0" + "@aws-sdk/credential-provider-node" "3.441.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": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/client-synthetics/-/client-synthetics-3.421.0.tgz#fbc848916f51255d883c1b3b5240f8975842daba" @@ -1347,6 +1481,13 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@aws-sdk/core@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/core/-/core-3.441.0.tgz#178d060a26e77bac1aee9e954254c2e6b7250fc5" + integrity sha512-gV0eQwR0VnSPUYAbgDkbBtfXbSpZgl/K6UB13DP1IFFjQYbF/BxYwvcQe4jHoPOBifSgjEbl8MfOOeIyI7k9vg== + dependencies: + "@smithy/smithy-client" "^2.1.12" + "@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" @@ -1368,6 +1509,16 @@ "@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" @@ -1384,6 +1535,22 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@aws-sdk/credential-provider-ini@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.441.0.tgz#b7479042eca9d41c713d2664c7d4a4eb169b7b1b" + integrity sha512-SQipQYxYqDUuSOfIhDmaTdwPTcndGQotGZXWJl56mMWqAhU8MkwjK+oMf3VgRt/umJC0QwUCF5HUHIj7gSB1JA== + dependencies: + "@aws-sdk/credential-provider-env" "3.433.0" + "@aws-sdk/credential-provider-process" "3.433.0" + "@aws-sdk/credential-provider-sso" "3.441.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" @@ -1401,6 +1568,23 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@aws-sdk/credential-provider-node@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.441.0.tgz#b286d47c43b48988c7ee4f014dc823afabe5cb16" + integrity sha512-WB9p37yHq6fGJt6Vll29ijHbkh9VDbPM/n5ns73bTAgFD7R0ht5kPmdmHGQA6m3RKjcHLPbymQ3lXykkMwWf/Q== + dependencies: + "@aws-sdk/credential-provider-env" "3.433.0" + "@aws-sdk/credential-provider-ini" "3.441.0" + "@aws-sdk/credential-provider-process" "3.433.0" + "@aws-sdk/credential-provider-sso" "3.441.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" @@ -1412,6 +1596,17 @@ "@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" @@ -1425,6 +1620,19 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@aws-sdk/credential-provider-sso@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.441.0.tgz#ef116fdcc5489088acdfea33036666293d1723cb" + integrity sha512-pTg16G+62mWCE8yGKuQnEBqPdpG5g71remf2jUqXaI1c7GCzbnkQDV9eD4DaAGOvzIs0wo9zAQnS2kVDPFlCYA== + dependencies: + "@aws-sdk/client-sso" "3.441.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" @@ -1435,6 +1643,16 @@ "@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": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.421.0.tgz#567d4b7ae00809d7d4f8dce088e6ed5b5e622b7b" @@ -1523,6 +1741,16 @@ "@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" @@ -1541,6 +1769,15 @@ "@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" @@ -1551,6 +1788,16 @@ "@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" @@ -1609,6 +1856,16 @@ "@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" @@ -1622,6 +1879,19 @@ "@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" @@ -1642,6 +1912,17 @@ "@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" @@ -1661,6 +1942,17 @@ "@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": version "3.421.0" resolved "https://registry.npmjs.org/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.421.0.tgz#1ceb8a3a38a596d10ff16c5f7cb798dc307b780e" @@ -1727,6 +2019,49 @@ "@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": version "3.418.0" resolved "https://registry.npmjs.org/@aws-sdk/types/-/types-3.418.0.tgz#c23213110b0c313d5546c810da032a441682f49a" @@ -1735,6 +2070,14 @@ "@smithy/types" "^2.3.3" tslib "^2.5.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== + dependencies: + "@smithy/types" "^2.4.0" + tslib "^2.5.0" + "@aws-sdk/util-arn-parser@3.310.0": version "3.310.0" resolved "https://registry.npmjs.org/@aws-sdk/util-arn-parser/-/util-arn-parser-3.310.0.tgz#861ff8810851be52a320ec9e4786f15b5fc74fba" @@ -1750,6 +2093,15 @@ "@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" @@ -1777,6 +2129,16 @@ 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" @@ -1787,6 +2149,16 @@ "@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" @@ -3635,6 +4007,14 @@ "@smithy/types" "^1.2.0" tslib "^2.5.0" +"@smithy/abort-controller@^2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.12.tgz#62cd47c81fa1d7d6c2d6fde0c2f54ea89892fb6a" + integrity sha512-YIJyefe1mi3GxKdZxEBEuzYOeQ9xpYfqnFmWzojCssRAuR7ycxwpoRQgp965vuW426xUAQhCV5rCaWElQ7XsaA== + dependencies: + "@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" @@ -3669,6 +4049,17 @@ "@smithy/util-middleware" "^2.0.2" tslib "^2.5.0" +"@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== + 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" + "@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" @@ -3680,6 +4071,17 @@ "@smithy/url-parser" "^2.0.9" tslib "^2.5.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== + dependencies: + "@smithy/node-config-provider" "^2.1.3" + "@smithy/property-provider" "^2.0.13" + "@smithy/types" "^2.4.0" + "@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" @@ -3736,6 +4138,17 @@ "@smithy/util-base64" "^2.0.0" tslib "^2.5.0" +"@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== + dependencies: + "@smithy/protocol-http" "^3.0.8" + "@smithy/querystring-builder" "^2.0.12" + "@smithy/types" "^2.4.0" + "@smithy/util-base64" "^2.0.0" + 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" @@ -3746,6 +4159,16 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@smithy/hash-node@^2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.12.tgz#514586ca3f54840322273029eef66c41d9001e39" + integrity sha512-fDZnTr5j9t5qcbeJ037aMZXxMka13Znqwrgy3PAqYj6Dm3XHXHftTH3q+NWgayUxl1992GFtQt1RuEzRMy3NnQ== + dependencies: + "@smithy/types" "^2.4.0" + "@smithy/util-buffer-from" "^2.0.0" + "@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" @@ -3765,6 +4188,14 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@smithy/invalid-dependency@^2.0.12": + 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== + dependencies: + "@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" @@ -3798,6 +4229,15 @@ "@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== + dependencies: + "@smithy/protocol-http" "^3.0.8" + "@smithy/types" "^2.4.0" + 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" @@ -3809,6 +4249,19 @@ "@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== + dependencies: + "@smithy/middleware-serde" "^2.0.12" + "@smithy/node-config-provider" "^2.1.3" + "@smithy/shared-ini-file-loader" "^2.2.2" + "@smithy/types" "^2.4.0" + "@smithy/url-parser" "^2.0.12" + "@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" @@ -3823,6 +4276,28 @@ tslib "^2.5.0" uuid "^8.3.2" +"@smithy/middleware-retry@^2.0.18": + version "2.0.18" + resolved "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.18.tgz#37982552a1d3815148797831df025e470423fc5e" + integrity sha512-VyrHQRldGSb3v9oFOB5yPxmLT7U2sQic2ytylOnYlnsmVOLlFIaI6sW22c+w2675yq+XZ6HOuzV7x2OBYCWRNA== + dependencies: + "@smithy/node-config-provider" "^2.1.3" + "@smithy/protocol-http" "^3.0.8" + "@smithy/service-error-classification" "^2.0.5" + "@smithy/types" "^2.4.0" + "@smithy/util-middleware" "^2.0.5" + "@smithy/util-retry" "^2.0.5" + tslib "^2.5.0" + uuid "^8.3.2" + +"@smithy/middleware-serde@^2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.12.tgz#edc93c400a5ffec6c068419163f9d880bdff5e5b" + integrity sha512-IBeco157lIScecq2Z+n0gq56i4MTnfKxS7rbfrAORveDJgnbBAaEQgYqMqp/cYqKrpvEXcyTjwKHrBjCCIZh2A== + dependencies: + "@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" @@ -3839,6 +4314,14 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@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== + dependencies: + "@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" @@ -3849,6 +4332,16 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@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== + dependencies: + "@smithy/property-provider" "^2.0.13" + "@smithy/shared-ini-file-loader" "^2.2.2" + "@smithy/types" "^2.4.0" + tslib "^2.5.0" + "@smithy/node-http-handler@^1.0.2": version "1.1.0" resolved "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-1.1.0.tgz#887cee930b520e08043c9f41e463f8d8f5dae127" @@ -3871,6 +4364,17 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@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== + dependencies: + "@smithy/abort-controller" "^2.0.12" + "@smithy/protocol-http" "^3.0.8" + "@smithy/querystring-builder" "^2.0.12" + "@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" @@ -3879,6 +4383,14 @@ "@smithy/types" "^2.3.3" tslib "^2.5.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== + dependencies: + "@smithy/types" "^2.4.0" + tslib "^2.5.0" + "@smithy/protocol-http@^1.2.0": version "1.2.0" resolved "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-1.2.0.tgz#a554e4dabb14508f0bc2cdef9c3710e2b294be04" @@ -3895,6 +4407,14 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@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== + dependencies: + "@smithy/types" "^2.4.0" + tslib "^2.5.0" + "@smithy/querystring-builder@^1.1.0": version "1.1.0" resolved "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-1.1.0.tgz#de6306104640ade34e59be33949db6cc64aa9d7f" @@ -3904,6 +4424,15 @@ "@smithy/util-uri-escape" "^1.1.0" tslib "^2.5.0" +"@smithy/querystring-builder@^2.0.12": + 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== + dependencies: + "@smithy/types" "^2.4.0" + "@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" @@ -3913,6 +4442,14 @@ "@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" + integrity sha512-fytyTcXaMzPBuNtPlhj5v6dbl4bJAnwKZFyyItAGt4Tgm9HFPZNo7a9r1SKPr/qdxUEBzvL9Rh+B9SkTX3kFxg== + dependencies: + "@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" @@ -3928,6 +4465,13 @@ 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" + integrity sha512-M0SeJnEgD2ywJyV99Fb1yKFzmxDe9JfpJiYTVSRMyRLc467BPU0qsuuDPzMCdB1mU8M8u1rVOdkqdoyFN8UFTw== + 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" @@ -3936,6 +4480,14 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@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== + dependencies: + "@smithy/types" "^2.4.0" + 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" @@ -3950,6 +4502,16 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@smithy/smithy-client@^2.1.12": + 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== + dependencies: + "@smithy/middleware-stack" "^2.0.6" + "@smithy/types" "^2.4.0" + "@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" @@ -3974,6 +4536,22 @@ dependencies: tslib "^2.5.0" +"@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": + version "2.0.12" + resolved "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.12.tgz#a4cdd1b66176e48f10d119298f8f90b06b7e8a01" + integrity sha512-qgkW2mZqRvlNUcBkxYB/gYacRaAdck77Dk3/g2iw0S9F0EYthIS3loGfly8AwoWpIvHKhkTsCXXQfzksgZ4zIA== + dependencies: + "@smithy/querystring-parser" "^2.0.12" + "@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" @@ -4031,6 +4609,17 @@ 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== + dependencies: + "@smithy/property-provider" "^2.0.13" + "@smithy/smithy-client" "^2.1.12" + "@smithy/types" "^2.4.0" + bowser "^2.11.0" + 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" @@ -4044,6 +4633,28 @@ "@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== + dependencies: + "@smithy/config-resolver" "^2.0.16" + "@smithy/credential-provider-imds" "^2.0.18" + "@smithy/node-config-provider" "^2.1.3" + "@smithy/property-provider" "^2.0.13" + "@smithy/smithy-client" "^2.1.12" + "@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" @@ -4059,6 +4670,14 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@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== + dependencies: + "@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" @@ -4068,6 +4687,15 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@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== + dependencies: + "@smithy/service-error-classification" "^2.0.5" + "@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" @@ -4082,6 +4710,20 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@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== + dependencies: + "@smithy/fetch-http-handler" "^2.2.4" + "@smithy/node-http-handler" "^2.1.8" + "@smithy/types" "^2.4.0" + "@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-uri-escape@^1.1.0": version "1.1.0" resolved "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-1.1.0.tgz#a8c5edaf19c0efdb9b51661e840549cf600a1808" From 85c570ebbca57fcb01f6f0aec451405794add7bb Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 2 Nov 2023 11:00:21 -0700 Subject: [PATCH 02/12] fix unit test Signed-off-by: Francis --- .../test/aws-logs/log-retention-provider.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts b/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts index c2bf5255e2731..2f19548514963 100644 --- a/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts +++ b/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts @@ -73,7 +73,7 @@ describe('log retention provider', () => { expect(cloudwatchLogsMock).toHaveReceivedCommandWith(PutRetentionPolicyCommand, { logGroupName: 'group', - retentionInDays: 29, + retentionInDays: 30, }); expect(cloudwatchLogsMock).toHaveReceivedCommandWith(CreateLogGroupCommand, { From bafe6e2f93301ca23a813c19d6ee5f9fecdd37c8 Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 2 Nov 2023 13:09:57 -0700 Subject: [PATCH 03/12] snaps Signed-off-by: Francis --- .../index.d.ts | 14 -- .../index.js | 191 --------------- .../index.ts | 228 ----------------- .../index.js | 1 + .../aws-cdk-lambda-log-retention.assets.json | 10 +- ...aws-cdk-lambda-log-retention.template.json | 2 +- .../integ.json | 1 + .../manifest.json | 4 +- .../aws-lambda/test/integ.log-retention.ts | 5 +- .../index.d.ts | 14 -- .../index.js | 192 --------------- .../index.ts | 229 ------------------ .../index.js | 1 + .../aws-cdk-log-retention-integ.assets.json | 10 +- .../aws-cdk-log-retention-integ.template.json | 2 +- .../integ.json | 1 + .../manifest.json | 13 +- .../test/aws-logs/test/integ.log-retention.ts | 7 +- .../custom-resource-handlers/package.json | 2 +- .../aws-logs/log-retention-provider.test.ts | 1 + .../aws-logs/test/log-retention.test.ts | 2 +- 21 files changed, 34 insertions(+), 896 deletions(-) delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.d.ts delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.js delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.ts create mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.d.ts delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.js delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.ts create mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.d.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.d.ts deleted file mode 100644 index 60193f14b4d6d..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -interface LogRetentionEvent extends Omit { - ResourceProperties: { - ServiceToken: string; - LogGroupName: string; - LogGroupRegion?: string; - RetentionInDays?: string; - SdkRetry?: { - maxRetries?: string; - }; - RemovalPolicy?: string; - }; -} -export declare function handler(event: LogRetentionEvent, context: AWSLambda.Context): Promise; -export {}; diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.js deleted file mode 100644 index a0a20fdbf18bd..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.js +++ /dev/null @@ -1,191 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.handler = void 0; -/* eslint-disable no-console */ -// eslint-disable-next-line import/no-extraneous-dependencies -const Logs = require("@aws-sdk/client-cloudwatch-logs"); -/** - * Creates a log group and doesn't throw if it exists. - */ -async function createLogGroupSafe(logGroupName, client, withDelay) { - await withDelay(async () => { - try { - const params = { logGroupName }; - const command = new Logs.CreateLogGroupCommand(params); - await client.send(command); - } - catch (error) { - if (error.name === 'ResourceAlreadyExistsException') { - // The log group is already created by the lambda execution - return; - } - throw error; - } - }); -} -/** - * Deletes a log group and doesn't throw if it does not exist. - */ -async function deleteLogGroup(logGroupName, client, withDelay) { - await withDelay(async () => { - try { - const params = { logGroupName }; - const command = new Logs.DeleteLogGroupCommand(params); - await client.send(command); - } - catch (error) { - if (error.name === 'ResourceNotFoundException') { - // The log group doesn't exist - return; - } - throw error; - } - }); -} -/** - * Puts or deletes a retention policy on a log group. - */ -async function setRetentionPolicy(logGroupName, client, withDelay, retentionInDays) { - await withDelay(async () => { - if (!retentionInDays) { - const params = { logGroupName }; - const deleteCommand = new Logs.DeleteRetentionPolicyCommand(params); - await client.send(deleteCommand); - } - else { - const params = { logGroupName, retentionInDays }; - const putCommand = new Logs.PutRetentionPolicyCommand(params); - await client.send(putCommand); - } - }); -} -async function handler(event, context) { - try { - console.log(JSON.stringify({ ...event, ResponseURL: '...' })); - // The target log group - const logGroupName = event.ResourceProperties.LogGroupName; - // The region of the target log group - const logGroupRegion = event.ResourceProperties.LogGroupRegion; - // Parse to AWS SDK retry options - const maxRetries = parseIntOptional(event.ResourceProperties.SdkRetry?.maxRetries) ?? 5; - const withDelay = makeWithDelay(maxRetries); - const sdkConfig = { - logger: console, - region: logGroupRegion, - maxAttempts: Math.max(5, maxRetries), // Use a minimum for SDK level retries, because it might include retryable failures that withDelay isn't checking for - }; - const client = new Logs.CloudWatchLogsClient(sdkConfig); - if (event.RequestType === 'Create' || event.RequestType === 'Update') { - // Act on the target log group - await createLogGroupSafe(logGroupName, client, withDelay); - await setRetentionPolicy(logGroupName, client, withDelay, parseIntOptional(event.ResourceProperties.RetentionInDays)); - // Configure the Log Group for the Custom Resource function itself - if (event.RequestType === 'Create') { - const clientForCustomResourceFunction = new Logs.CloudWatchLogsClient({ - logger: console, - region: process.env.AWS_REGION, - }); - // Set a retention policy of 1 day on the logs of this very function. - // Due to the async nature of the log group creation, the log group for this function might - // still be not created yet at this point. Therefore we attempt to create it. - // In case it is being created, createLogGroupSafe will handle the conflict. - await createLogGroupSafe(`/aws/lambda/${context.functionName}`, clientForCustomResourceFunction, withDelay); - // If createLogGroupSafe fails, the log group is not created even after multiple attempts. - // In this case we have nothing to set the retention policy on but an exception will skip - // the next line. - await setRetentionPolicy(`/aws/lambda/${context.functionName}`, clientForCustomResourceFunction, withDelay, 1); - } - } - // When the requestType is delete, delete the log group if the removal policy is delete - if (event.RequestType === 'Delete' && event.ResourceProperties.RemovalPolicy === 'destroy') { - await deleteLogGroup(logGroupName, client, withDelay); - // else retain the log group - } - await respond('SUCCESS', 'OK', logGroupName); - } - catch (e) { - console.log(e); - await respond('FAILED', e.message, event.ResourceProperties.LogGroupName); - } - function respond(responseStatus, reason, physicalResourceId) { - const responseBody = JSON.stringify({ - Status: responseStatus, - Reason: reason, - PhysicalResourceId: physicalResourceId, - StackId: event.StackId, - RequestId: event.RequestId, - LogicalResourceId: event.LogicalResourceId, - Data: { - // Add log group name as part of the response so that it's available via Fn::GetAtt - LogGroupName: event.ResourceProperties.LogGroupName, - }, - }); - console.log('Responding', responseBody); - // eslint-disable-next-line @typescript-eslint/no-require-imports - const parsedUrl = require('url').parse(event.ResponseURL); - const requestOptions = { - hostname: parsedUrl.hostname, - path: parsedUrl.path, - method: 'PUT', - headers: { - 'content-type': '', - 'content-length': Buffer.byteLength(responseBody, 'utf8'), - }, - }; - return new Promise((resolve, reject) => { - try { - // eslint-disable-next-line @typescript-eslint/no-require-imports - const request = require('https').request(requestOptions, resolve); - request.on('error', reject); - request.write(responseBody); - request.end(); - } - catch (e) { - reject(e); - } - }); - } -} -exports.handler = handler; -function parseIntOptional(value, base = 10) { - if (value === undefined) { - return undefined; - } - return parseInt(value, base); -} -function makeWithDelay(maxRetries, delayBase = 100, delayCap = 10 * 1000) { - // If we try to update the log group, then due to the async nature of - // Lambda logging there could be a race condition when the same log group is - // already being created by the lambda execution. This can sometime result in - // an error "OperationAbortedException: A conflicting operation is currently - // in progress...Please try again." - // To avoid an error, we do as requested and try again. - return async (block) => { - let attempts = 0; - do { - try { - return await block(); - } - catch (error) { - if (error.name === 'OperationAbortedException' - || error.name === 'ThrottlingException' // There is no class to check with instanceof, see https://github.com/aws/aws-sdk-js-v3/issues/5140 - ) { - if (attempts < maxRetries) { - attempts++; - await new Promise(resolve => setTimeout(resolve, calculateDelay(attempts, delayBase, delayCap))); - continue; - } - else { - // The log group is still being changed by another execution but we are out of retries - throw new Error('Out of attempts to change log group'); - } - } - throw error; - } - } while (true); // exit happens on retry count check - }; -} -function calculateDelay(attempt, base, cap) { - return Math.round(Math.random() * Math.min(cap, base * 2 ** attempt)); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwrQkFBK0I7QUFDL0IsNkRBQTZEO0FBQzdELHdEQUF3RDtBQWV4RDs7R0FFRztBQUNILEtBQUssVUFBVSxrQkFBa0IsQ0FBQyxZQUFvQixFQUFFLE1BQWlDLEVBQUUsU0FBd0Q7SUFDakosTUFBTSxTQUFTLENBQUMsS0FBSyxJQUFJLEVBQUU7UUFDekIsSUFBSTtZQUNGLE1BQU0sTUFBTSxHQUFHLEVBQUUsWUFBWSxFQUFFLENBQUM7WUFDaEMsTUFBTSxPQUFPLEdBQUcsSUFBSSxJQUFJLENBQUMscUJBQXFCLENBQUMsTUFBTSxDQUFDLENBQUM7WUFDdkQsTUFBTSxNQUFNLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1NBRTVCO1FBQUMsT0FBTyxLQUFVLEVBQUU7WUFDbkIsSUFBSSxLQUFLLENBQUMsSUFBSSxLQUFLLGdDQUFnQyxFQUFFO2dCQUNuRCwyREFBMkQ7Z0JBQzNELE9BQU87YUFDUjtZQUVELE1BQU0sS0FBSyxDQUFDO1NBQ2I7SUFDSCxDQUFDLENBQUMsQ0FBQztBQUNMLENBQUM7QUFFRDs7R0FFRztBQUNILEtBQUssVUFBVSxjQUFjLENBQUMsWUFBb0IsRUFBRSxNQUFpQyxFQUFFLFNBQXdEO0lBQzdJLE1BQU0sU0FBUyxDQUFDLEtBQUssSUFBSSxFQUFFO1FB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ICAgICAgIHRocm93IG5ldyBFcnJvcignT3V0IG9mIGF0dGVtcHRzIHRvIGNoYW5nZSBsb2cgZ3JvdXAnKTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgdGhyb3cgZXJyb3I7XG4gICAgICB9XG4gICAgfSB3aGlsZSAodHJ1ZSk7IC8vIGV4aXQgaGFwcGVucyBvbiByZXRyeSBjb3VudCBjaGVja1xuICB9O1xufVxuXG5mdW5jdGlvbiBjYWxjdWxhdGVEZWxheShhdHRlbXB0OiBudW1iZXIsIGJhc2U6IG51bWJlciwgY2FwOiBudW1iZXIpOiBudW1iZXIge1xuICByZXR1cm4gTWF0aC5yb3VuZChNYXRoLnJhbmRvbSgpICogTWF0aC5taW4oY2FwLCBiYXNlICogMiAqKiBhdHRlbXB0KSk7XG59XG4iXX0= \ No newline at end of file diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.ts deleted file mode 100644 index 9422e81f7ef80..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5/index.ts +++ /dev/null @@ -1,228 +0,0 @@ -/* eslint-disable no-console */ -// eslint-disable-next-line import/no-extraneous-dependencies -import * as Logs from '@aws-sdk/client-cloudwatch-logs'; - -interface LogRetentionEvent extends Omit { - ResourceProperties: { - ServiceToken: string; - LogGroupName: string; - LogGroupRegion?: string; - RetentionInDays?: string; - SdkRetry?: { - maxRetries?: string; - }; - RemovalPolicy?: string - }; -} - -/** - * Creates a log group and doesn't throw if it exists. - */ -async function createLogGroupSafe(logGroupName: string, client: Logs.CloudWatchLogsClient, withDelay: (block: () => Promise) => Promise) { - await withDelay(async () => { - try { - const params = { logGroupName }; - const command = new Logs.CreateLogGroupCommand(params); - await client.send(command); - - } catch (error: any) { - if (error.name === 'ResourceAlreadyExistsException') { - // The log group is already created by the lambda execution - return; - } - - throw error; - } - }); -} - -/** - * Deletes a log group and doesn't throw if it does not exist. - */ -async function deleteLogGroup(logGroupName: string, client: Logs.CloudWatchLogsClient, withDelay: (block: () => Promise) => Promise) { - await withDelay(async () => { - try { - const params = { logGroupName }; - const command = new Logs.DeleteLogGroupCommand(params); - await client.send(command); - - } catch (error: any) { - if (error.name === 'ResourceNotFoundException') { - // The log group doesn't exist - return; - } - - throw error; - } - }); -} - -/** - * Puts or deletes a retention policy on a log group. - */ -async function setRetentionPolicy( - logGroupName: string, - client: Logs.CloudWatchLogsClient, - withDelay: (block: () => Promise) => Promise, - retentionInDays?: number, -) { - - await withDelay(async () => { - if (!retentionInDays) { - const params = { logGroupName }; - const deleteCommand = new Logs.DeleteRetentionPolicyCommand(params); - await client.send(deleteCommand); - } else { - const params = { logGroupName, retentionInDays }; - const putCommand = new Logs.PutRetentionPolicyCommand(params); - await client.send(putCommand); - } - }); -} - -export async function handler(event: LogRetentionEvent, context: AWSLambda.Context) { - try { - console.log(JSON.stringify({ ...event, ResponseURL: '...' })); - - // The target log group - const logGroupName = event.ResourceProperties.LogGroupName; - - // The region of the target log group - const logGroupRegion = event.ResourceProperties.LogGroupRegion; - - // Parse to AWS SDK retry options - const maxRetries = parseIntOptional(event.ResourceProperties.SdkRetry?.maxRetries) ?? 5; - const withDelay = makeWithDelay(maxRetries); - - const sdkConfig: Logs.CloudWatchLogsClientConfig = { - logger: console, - region: logGroupRegion, - maxAttempts: Math.max(5, maxRetries), // Use a minimum for SDK level retries, because it might include retryable failures that withDelay isn't checking for - }; - const client = new Logs.CloudWatchLogsClient(sdkConfig); - - if (event.RequestType === 'Create' || event.RequestType === 'Update') { - // Act on the target log group - await createLogGroupSafe(logGroupName, client, withDelay); - await setRetentionPolicy(logGroupName, client, withDelay, parseIntOptional(event.ResourceProperties.RetentionInDays)); - - // Configure the Log Group for the Custom Resource function itself - if (event.RequestType === 'Create') { - const clientForCustomResourceFunction = new Logs.CloudWatchLogsClient({ - logger: console, - region: process.env.AWS_REGION, - }); - // Set a retention policy of 1 day on the logs of this very function. - // Due to the async nature of the log group creation, the log group for this function might - // still be not created yet at this point. Therefore we attempt to create it. - // In case it is being created, createLogGroupSafe will handle the conflict. - await createLogGroupSafe(`/aws/lambda/${context.functionName}`, clientForCustomResourceFunction, withDelay); - // If createLogGroupSafe fails, the log group is not created even after multiple attempts. - // In this case we have nothing to set the retention policy on but an exception will skip - // the next line. - await setRetentionPolicy(`/aws/lambda/${context.functionName}`, clientForCustomResourceFunction, withDelay, 1); - } - } - - // When the requestType is delete, delete the log group if the removal policy is delete - if (event.RequestType === 'Delete' && event.ResourceProperties.RemovalPolicy === 'destroy') { - await deleteLogGroup(logGroupName, client, withDelay); - // else retain the log group - } - - await respond('SUCCESS', 'OK', logGroupName); - } catch (e: any) { - console.log(e); - await respond('FAILED', e.message, event.ResourceProperties.LogGroupName); - } - - function respond(responseStatus: string, reason: string, physicalResourceId: string) { - const responseBody = JSON.stringify({ - Status: responseStatus, - Reason: reason, - PhysicalResourceId: physicalResourceId, - StackId: event.StackId, - RequestId: event.RequestId, - LogicalResourceId: event.LogicalResourceId, - Data: { - // Add log group name as part of the response so that it's available via Fn::GetAtt - LogGroupName: event.ResourceProperties.LogGroupName, - }, - }); - - console.log('Responding', responseBody); - - // eslint-disable-next-line @typescript-eslint/no-require-imports - const parsedUrl = require('url').parse(event.ResponseURL); - const requestOptions = { - hostname: parsedUrl.hostname, - path: parsedUrl.path, - method: 'PUT', - headers: { - 'content-type': '', - 'content-length': Buffer.byteLength(responseBody, 'utf8'), - }, - }; - - return new Promise((resolve, reject) => { - try { - // eslint-disable-next-line @typescript-eslint/no-require-imports - const request = require('https').request(requestOptions, resolve); - request.on('error', reject); - request.write(responseBody); - request.end(); - } catch (e) { - reject(e); - } - }); - } -} - -function parseIntOptional(value?: string, base = 10): number | undefined { - if (value === undefined) { - return undefined; - } - - return parseInt(value, base); -} - -function makeWithDelay( - maxRetries: number, - delayBase: number = 100, - delayCap = 10 * 1000, // 10s -): (block: () => Promise) => Promise { - // If we try to update the log group, then due to the async nature of - // Lambda logging there could be a race condition when the same log group is - // already being created by the lambda execution. This can sometime result in - // an error "OperationAbortedException: A conflicting operation is currently - // in progress...Please try again." - // To avoid an error, we do as requested and try again. - - return async (block: () => Promise) => { - let attempts = 0; - do { - try { - return await block(); - } catch (error: any) { - if ( - error.name === 'OperationAbortedException' - || error.name === 'ThrottlingException' // There is no class to check with instanceof, see https://github.com/aws/aws-sdk-js-v3/issues/5140 - ) { - if (attempts < maxRetries ) { - attempts++; - await new Promise(resolve => setTimeout(resolve, calculateDelay(attempts, delayBase, delayCap))); - continue; - } else { - // The log group is still being changed by another execution but we are out of retries - throw new Error('Out of attempts to change log group'); - } - } - throw error; - } - } while (true); // exit happens on retry count check - }; -} - -function calculateDelay(attempt: number, base: number, cap: number): number { - return Math.round(Math.random() * Math.min(cap, base * 2 ** attempt)); -} diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js new file mode 100644 index 0000000000000..ae6165a46ea1e --- /dev/null +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js @@ -0,0 +1 @@ +"use strict";var h=Object.create;var d=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var b=(e,o)=>{for(var n in o)d(e,n,{get:o[n],enumerable:!0})},p=(e,o,n,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of f(o))!P.call(e,r)&&r!==n&&d(e,r,{get:()=>o[r],enumerable:!(t=w(o,r))||t.enumerable});return e};var S=(e,o,n)=>(n=e!=null?h(C(e)):{},p(o||!e||!e.__esModule?d(n,"default",{value:e,enumerable:!0}):n,e)),G=e=>p(d({},"__esModule",{value:!0}),e);var q={};b(q,{handler:()=>E});module.exports=G(q);var i=S(require("@aws-sdk/client-cloudwatch-logs"));async function R(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.CreateLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceAlreadyExistsException")return;throw t}})}async function x(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.DeleteLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceNotFoundException")return;throw t}})}async function y(e,o,n,t){await n(async()=>{if(t){let r={logGroupName:e,retentionInDays:t},s=new i.PutRetentionPolicyCommand(r);await o.send(s)}else{let r={logGroupName:e},s=new i.DeleteRetentionPolicyCommand(r);await o.send(s)}})}async function E(e,o){try{console.log(JSON.stringify({...e,ResponseURL:"..."}));let t=e.ResourceProperties.LogGroupName,r=e.ResourceProperties.LogGroupRegion,s=L(e.ResourceProperties.SdkRetry?.maxRetries)??5,a=I(s),m={logger:console,region:r,maxAttempts:Math.max(5,s)},c=new i.CloudWatchLogsClient(m);if((e.RequestType==="Create"||e.RequestType==="Update")&&(await R(t,c,a),await y(t,c,a,L(e.ResourceProperties.RetentionInDays)),e.RequestType==="Create")){let g=new i.CloudWatchLogsClient({logger:console,region:process.env.AWS_REGION});await R(`/aws/lambda/${o.functionName}`,g,a),await y(`/aws/lambda/${o.functionName}`,g,a,1)}e.RequestType==="Delete"&&e.ResourceProperties.RemovalPolicy==="destroy"&&await x(t,c,a),await n("SUCCESS","OK",t)}catch(t){console.log(t),await n("FAILED",t.message,e.ResourceProperties.LogGroupName)}function n(t,r,s){let a=JSON.stringify({Status:t,Reason:r,PhysicalResourceId:s,StackId:e.StackId,RequestId:e.RequestId,LogicalResourceId:e.LogicalResourceId,Data:{LogGroupName:e.ResourceProperties.LogGroupName}});console.log("Responding",a);let m=require("url").parse(e.ResponseURL),c={hostname:m.hostname,path:m.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(a,"utf8")}};return new Promise((g,l)=>{try{let u=require("https").request(c,g);u.on("error",l),u.write(a),u.end()}catch(u){l(u)}})}}function L(e,o=10){if(e!==void 0)return parseInt(e,o)}function I(e,o=100,n=10*1e3){return async t=>{let r=0;do try{return await t()}catch(s){if(s.name==="OperationAbortedException"||s.name==="ThrottlingException")if(rsetTimeout(a,k(r,o,n)));continue}else throw new Error("Out of attempts to change log group");throw s}while(!0)}}function k(e,o,n){return Math.round(Math.random()*Math.min(n,o*2**e))}0&&(module.exports={handler}); diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json index 6f47ae9c1d55b..f5a9880f4dbcd 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json @@ -1,20 +1,20 @@ { "version": "34.0.0", "files": { - "06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5": { + "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035": { "source": { - "path": "asset.06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5", + "path": "asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035", "packaging": "zip" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5.zip", + "objectKey": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "ae4250a12645a55da8ca502256f2aabaa01a4a35f789304b8674a67bfcd65ccb": { + "00fc9d2f2833918b3b2e6cf17583cf6f3cf81667bcacdcbce56992efebc45d78": { "source": { "path": "aws-cdk-lambda-log-retention.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "ae4250a12645a55da8ca502256f2aabaa01a4a35f789304b8674a67bfcd65ccb.json", + "objectKey": "00fc9d2f2833918b3b2e6cf17583cf6f3cf81667bcacdcbce56992efebc45d78.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/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json index 3b0acf4246140..3de33af2a32cb 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json @@ -138,7 +138,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5.zip" + "S3Key": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip" }, "Role": { "Fn::GetAtt": [ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/integ.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/integ.json index 0fcf17e8dab7d..66015365d7480 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/integ.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/integ.json @@ -5,6 +5,7 @@ "stacks": [ "aws-cdk-lambda-log-retention" ], + "diffAssets": true, "assertionStack": "LambdaLogRetentionInteg/DefaultTest/DeployAssert", "assertionStackName": "LambdaLogRetentionIntegDefaultTestDeployAssert90E53934" } diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json index 0f2d7a3911f9c..94b1157469ffc 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json @@ -14,10 +14,11 @@ "environment": "aws://unknown-account/unknown-region", "properties": { "templateFile": "aws-cdk-lambda-log-retention.template.json", + "terminationProtection": false, "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}/ae4250a12645a55da8ca502256f2aabaa01a4a35f789304b8674a67bfcd65ccb.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/00fc9d2f2833918b3b2e6cf17583cf6f3cf81667bcacdcbce56992efebc45d78.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ @@ -133,6 +134,7 @@ "environment": "aws://unknown-account/unknown-region", "properties": { "templateFile": "LambdaLogRetentionIntegDefaultTestDeployAssert90E53934.template.json", + "terminationProtection": false, "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}", diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.ts index 793f904111f15..ceedc94aa95d4 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.ts @@ -29,5 +29,8 @@ new lambda.Function(stack, 'OneYear', { logRetention: logs.RetentionDays.ONE_YEAR, }); -new IntegTest(app, 'LambdaLogRetentionInteg', { testCases: [stack] }); +new IntegTest(app, 'LambdaLogRetentionInteg', { + testCases: [stack], + diffAssets: true, +}); app.synth(); diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.d.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.d.ts deleted file mode 100644 index 60193f14b4d6d..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -interface LogRetentionEvent extends Omit { - ResourceProperties: { - ServiceToken: string; - LogGroupName: string; - LogGroupRegion?: string; - RetentionInDays?: string; - SdkRetry?: { - maxRetries?: string; - }; - RemovalPolicy?: string; - }; -} -export declare function handler(event: LogRetentionEvent, context: AWSLambda.Context): Promise; -export {}; diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.js deleted file mode 100644 index 8d4f5cf13f88d..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.js +++ /dev/null @@ -1,192 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.handler = void 0; -/* eslint-disable no-console */ -// eslint-disable-next-line import/no-extraneous-dependencies -const Logs = require("@aws-sdk/client-cloudwatch-logs"); -/** - * Creates a log group and doesn't throw if it exists. - */ -async function createLogGroupSafe(logGroupName, client, withDelay) { - await withDelay(async () => { - try { - const params = { logGroupName }; - const command = new Logs.CreateLogGroupCommand(params); - await client.send(command); - } - catch (error) { - if (error instanceof Logs.ResourceAlreadyExistsException || error.name === 'ResourceAlreadyExistsException') { - // The log group is already created by the lambda execution - return; - } - throw error; - } - }); -} -/** - * Deletes a log group and doesn't throw if it does not exist. - */ -async function deleteLogGroup(logGroupName, client, withDelay) { - await withDelay(async () => { - try { - const params = { logGroupName }; - const command = new Logs.DeleteLogGroupCommand(params); - await client.send(command); - } - catch (error) { - if (error instanceof Logs.ResourceNotFoundException || error.name === 'ResourceNotFoundException') { - // The log group doesn't exist - return; - } - throw error; - } - }); -} -/** - * Puts or deletes a retention policy on a log group. - */ -async function setRetentionPolicy(logGroupName, client, withDelay, retentionInDays) { - await withDelay(async () => { - if (!retentionInDays) { - const params = { logGroupName }; - const deleteCommand = new Logs.DeleteRetentionPolicyCommand(params); - await client.send(deleteCommand); - } - else { - const params = { logGroupName, retentionInDays }; - const putCommand = new Logs.PutRetentionPolicyCommand(params); - await client.send(putCommand); - } - }); -} -async function handler(event, context) { - try { - console.log(JSON.stringify({ ...event, ResponseURL: '...' })); - // The target log group - const logGroupName = event.ResourceProperties.LogGroupName; - // The region of the target log group - const logGroupRegion = event.ResourceProperties.LogGroupRegion; - // Parse to AWS SDK retry options - const maxRetries = parseIntOptional(event.ResourceProperties.SdkRetry?.maxRetries) ?? 5; - const withDelay = makeWithDelay(maxRetries); - const sdkConfig = { - logger: console, - region: logGroupRegion, - maxAttempts: Math.max(5, maxRetries), // Use a minimum for SDK level retries, because it might include retryable failures that withDelay isn't checking for - }; - const client = new Logs.CloudWatchLogsClient(sdkConfig); - if (event.RequestType === 'Create' || event.RequestType === 'Update') { - // Act on the target log group - await createLogGroupSafe(logGroupName, client, withDelay); - await setRetentionPolicy(logGroupName, client, withDelay, parseIntOptional(event.ResourceProperties.RetentionInDays)); - // Configure the Log Group for the Custom Resource function itself - if (event.RequestType === 'Create') { - const clientForCustomResourceFunction = new Logs.CloudWatchLogsClient({ - logger: console, - region: process.env.AWS_REGION, - }); - // Set a retention policy of 1 day on the logs of this very function. - // Due to the async nature of the log group creation, the log group for this function might - // still be not created yet at this point. Therefore we attempt to create it. - // In case it is being created, createLogGroupSafe will handle the conflict. - await createLogGroupSafe(`/aws/lambda/${context.functionName}`, clientForCustomResourceFunction, withDelay); - // If createLogGroupSafe fails, the log group is not created even after multiple attempts. - // In this case we have nothing to set the retention policy on but an exception will skip - // the next line. - await setRetentionPolicy(`/aws/lambda/${context.functionName}`, clientForCustomResourceFunction, withDelay, 1); - } - } - // When the requestType is delete, delete the log group if the removal policy is delete - if (event.RequestType === 'Delete' && event.ResourceProperties.RemovalPolicy === 'destroy') { - await deleteLogGroup(logGroupName, client, withDelay); - // else retain the log group - } - await respond('SUCCESS', 'OK', logGroupName); - } - catch (e) { - console.log(e); - await respond('FAILED', e.message, event.ResourceProperties.LogGroupName); - } - function respond(responseStatus, reason, physicalResourceId) { - const responseBody = JSON.stringify({ - Status: responseStatus, - Reason: reason, - PhysicalResourceId: physicalResourceId, - StackId: event.StackId, - RequestId: event.RequestId, - LogicalResourceId: event.LogicalResourceId, - Data: { - // Add log group name as part of the response so that it's available via Fn::GetAtt - LogGroupName: event.ResourceProperties.LogGroupName, - }, - }); - console.log('Responding', responseBody); - // eslint-disable-next-line @typescript-eslint/no-require-imports - const parsedUrl = require('url').parse(event.ResponseURL); - const requestOptions = { - hostname: parsedUrl.hostname, - path: parsedUrl.path, - method: 'PUT', - headers: { - 'content-type': '', - 'content-length': Buffer.byteLength(responseBody, 'utf8'), - }, - }; - return new Promise((resolve, reject) => { - try { - // eslint-disable-next-line @typescript-eslint/no-require-imports - const request = require('https').request(requestOptions, resolve); - request.on('error', reject); - request.write(responseBody); - request.end(); - } - catch (e) { - reject(e); - } - }); - } -} -exports.handler = handler; -function parseIntOptional(value, base = 10) { - if (value === undefined) { - return undefined; - } - return parseInt(value, base); -} -function makeWithDelay(maxRetries, delayBase = 100, delayCap = 10 * 1000) { - // If we try to update the log group, then due to the async nature of - // Lambda logging there could be a race condition when the same log group is - // already being created by the lambda execution. This can sometime result in - // an error "OperationAbortedException: A conflicting operation is currently - // in progress...Please try again." - // To avoid an error, we do as requested and try again. - return async (block) => { - let attempts = 0; - do { - try { - return await block(); - } - catch (error) { - if (error instanceof Logs.OperationAbortedException - || error.name === 'OperationAbortedException' - || error.name === 'ThrottlingException' // There is no class to check with instanceof, see https://github.com/aws/aws-sdk-js-v3/issues/5140 - ) { - if (attempts < maxRetries) { - attempts++; - await new Promise(resolve => setTimeout(resolve, calculateDelay(attempts, delayBase, delayCap))); - continue; - } - else { - // The log group is still being changed by another execution but we are out of retries - throw new Error('Out of attempts to change log group'); - } - } - throw error; - } - } while (true); // exit happens on retry count check - }; -} -function calculateDelay(attempt, base, cap) { - return Math.round(Math.random() * Math.min(cap, base * 2 ** attempt)); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwrQkFBK0I7QUFDL0IsNkRBQTZEO0FBQzdELHdEQUF3RDtBQWV4RDs7R0FFRztBQUNILEtBQUssVUFBVSxrQkFBa0IsQ0FBQyxZQUFvQixFQUFFLE1BQWlDLEVBQUUsU0FBd0Q7SUFDakosTUFBTSxTQUFTLENBQUMsS0FBSyxJQUFJLEVBQUU7UUFDekIsSUFBSTtZQUNGLE1BQU0sTUFBTSxHQUFHLEVBQUUsWUFBWSxFQUFFLENBQUM7WUFDaEMsTUFBTSxPQUFPLEdBQUcsSUFBSSxJQUFJLENBQUMscUJBQXFCLENBQUMsTUFBTSxDQUFDLENBQUM7WUFDdkQsTUFBTSxNQUFNLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1NBRTVCO1FBQUMsT0FBTyxLQUFVLEVBQUU7WUFDbkIsSUFBSSxLQUFLLFlBQVksSUFBSSxDQUFDLDhCQUE4QixJQUFJLEtBQUssQ0FBQyxJQUFJLEtBQUssZ0NBQWdDLEVBQUU7Z0JBQzNHLDJEQUEyRDtnQkFDM0QsT0FBTzthQUNSO1lBRUQsTUFBTSxLQUFLLENBQUM7U0FDYjtJQUNILENBQUMsQ0FBQyxDQUFDO0FBQ0wsQ0FBQztBQUVEOztHQUVHO0FB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djMvaXNzdWVzLzUxNDBcbiAgICAgICAgKSB7XG4gICAgICAgICAgaWYgKGF0dGVtcHRzIDwgbWF4UmV0cmllcyApIHtcbiAgICAgICAgICAgIGF0dGVtcHRzKys7XG4gICAgICAgICAgICBhd2FpdCBuZXcgUHJvbWlzZShyZXNvbHZlID0+IHNldFRpbWVvdXQocmVzb2x2ZSwgY2FsY3VsYXRlRGVsYXkoYXR0ZW1wdHMsIGRlbGF5QmFzZSwgZGVsYXlDYXApKSk7XG4gICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgLy8gVGhlIGxvZyBncm91cCBpcyBzdGlsbCBiZWluZyBjaGFuZ2VkIGJ5IGFub3RoZXIgZXhlY3V0aW9uIGJ1dCB3ZSBhcmUgb3V0IG9mIHJldHJpZXNcbiAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcignT3V0IG9mIGF0dGVtcHRzIHRvIGNoYW5nZSBsb2cgZ3JvdXAnKTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgdGhyb3cgZXJyb3I7XG4gICAgICB9XG4gICAgfSB3aGlsZSAodHJ1ZSk7IC8vIGV4aXQgaGFwcGVucyBvbiByZXRyeSBjb3VudCBjaGVja1xuICB9O1xufVxuXG5mdW5jdGlvbiBjYWxjdWxhdGVEZWxheShhdHRlbXB0OiBudW1iZXIsIGJhc2U6IG51bWJlciwgY2FwOiBudW1iZXIpOiBudW1iZXIge1xuICByZXR1cm4gTWF0aC5yb3VuZChNYXRoLnJhbmRvbSgpICogTWF0aC5taW4oY2FwLCBiYXNlICogMiAqKiBhdHRlbXB0KSk7XG59XG4iXX0= \ No newline at end of file diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.ts deleted file mode 100644 index 88843fe3fa016..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0/index.ts +++ /dev/null @@ -1,229 +0,0 @@ -/* eslint-disable no-console */ -// eslint-disable-next-line import/no-extraneous-dependencies -import * as Logs from '@aws-sdk/client-cloudwatch-logs'; - -interface LogRetentionEvent extends Omit { - ResourceProperties: { - ServiceToken: string; - LogGroupName: string; - LogGroupRegion?: string; - RetentionInDays?: string; - SdkRetry?: { - maxRetries?: string; - }; - RemovalPolicy?: string - }; -} - -/** - * Creates a log group and doesn't throw if it exists. - */ -async function createLogGroupSafe(logGroupName: string, client: Logs.CloudWatchLogsClient, withDelay: (block: () => Promise) => Promise) { - await withDelay(async () => { - try { - const params = { logGroupName }; - const command = new Logs.CreateLogGroupCommand(params); - await client.send(command); - - } catch (error: any) { - if (error instanceof Logs.ResourceAlreadyExistsException || error.name === 'ResourceAlreadyExistsException') { - // The log group is already created by the lambda execution - return; - } - - throw error; - } - }); -} - -/** - * Deletes a log group and doesn't throw if it does not exist. - */ -async function deleteLogGroup(logGroupName: string, client: Logs.CloudWatchLogsClient, withDelay: (block: () => Promise) => Promise) { - await withDelay(async () => { - try { - const params = { logGroupName }; - const command = new Logs.DeleteLogGroupCommand(params); - await client.send(command); - - } catch (error: any) { - if (error instanceof Logs.ResourceNotFoundException || error.name === 'ResourceNotFoundException') { - // The log group doesn't exist - return; - } - - throw error; - } - }); -} - -/** - * Puts or deletes a retention policy on a log group. - */ -async function setRetentionPolicy( - logGroupName: string, - client: Logs.CloudWatchLogsClient, - withDelay: (block: () => Promise) => Promise, - retentionInDays?: number, -) { - - await withDelay(async () => { - if (!retentionInDays) { - const params = { logGroupName }; - const deleteCommand = new Logs.DeleteRetentionPolicyCommand(params); - await client.send(deleteCommand); - } else { - const params = { logGroupName, retentionInDays }; - const putCommand = new Logs.PutRetentionPolicyCommand(params); - await client.send(putCommand); - } - }); -} - -export async function handler(event: LogRetentionEvent, context: AWSLambda.Context) { - try { - console.log(JSON.stringify({ ...event, ResponseURL: '...' })); - - // The target log group - const logGroupName = event.ResourceProperties.LogGroupName; - - // The region of the target log group - const logGroupRegion = event.ResourceProperties.LogGroupRegion; - - // Parse to AWS SDK retry options - const maxRetries = parseIntOptional(event.ResourceProperties.SdkRetry?.maxRetries) ?? 5; - const withDelay = makeWithDelay(maxRetries); - - const sdkConfig: Logs.CloudWatchLogsClientConfig = { - logger: console, - region: logGroupRegion, - maxAttempts: Math.max(5, maxRetries), // Use a minimum for SDK level retries, because it might include retryable failures that withDelay isn't checking for - }; - const client = new Logs.CloudWatchLogsClient(sdkConfig); - - if (event.RequestType === 'Create' || event.RequestType === 'Update') { - // Act on the target log group - await createLogGroupSafe(logGroupName, client, withDelay); - await setRetentionPolicy(logGroupName, client, withDelay, parseIntOptional(event.ResourceProperties.RetentionInDays)); - - // Configure the Log Group for the Custom Resource function itself - if (event.RequestType === 'Create') { - const clientForCustomResourceFunction = new Logs.CloudWatchLogsClient({ - logger: console, - region: process.env.AWS_REGION, - }); - // Set a retention policy of 1 day on the logs of this very function. - // Due to the async nature of the log group creation, the log group for this function might - // still be not created yet at this point. Therefore we attempt to create it. - // In case it is being created, createLogGroupSafe will handle the conflict. - await createLogGroupSafe(`/aws/lambda/${context.functionName}`, clientForCustomResourceFunction, withDelay); - // If createLogGroupSafe fails, the log group is not created even after multiple attempts. - // In this case we have nothing to set the retention policy on but an exception will skip - // the next line. - await setRetentionPolicy(`/aws/lambda/${context.functionName}`, clientForCustomResourceFunction, withDelay, 1); - } - } - - // When the requestType is delete, delete the log group if the removal policy is delete - if (event.RequestType === 'Delete' && event.ResourceProperties.RemovalPolicy === 'destroy') { - await deleteLogGroup(logGroupName, client, withDelay); - // else retain the log group - } - - await respond('SUCCESS', 'OK', logGroupName); - } catch (e: any) { - console.log(e); - await respond('FAILED', e.message, event.ResourceProperties.LogGroupName); - } - - function respond(responseStatus: string, reason: string, physicalResourceId: string) { - const responseBody = JSON.stringify({ - Status: responseStatus, - Reason: reason, - PhysicalResourceId: physicalResourceId, - StackId: event.StackId, - RequestId: event.RequestId, - LogicalResourceId: event.LogicalResourceId, - Data: { - // Add log group name as part of the response so that it's available via Fn::GetAtt - LogGroupName: event.ResourceProperties.LogGroupName, - }, - }); - - console.log('Responding', responseBody); - - // eslint-disable-next-line @typescript-eslint/no-require-imports - const parsedUrl = require('url').parse(event.ResponseURL); - const requestOptions = { - hostname: parsedUrl.hostname, - path: parsedUrl.path, - method: 'PUT', - headers: { - 'content-type': '', - 'content-length': Buffer.byteLength(responseBody, 'utf8'), - }, - }; - - return new Promise((resolve, reject) => { - try { - // eslint-disable-next-line @typescript-eslint/no-require-imports - const request = require('https').request(requestOptions, resolve); - request.on('error', reject); - request.write(responseBody); - request.end(); - } catch (e) { - reject(e); - } - }); - } -} - -function parseIntOptional(value?: string, base = 10): number | undefined { - if (value === undefined) { - return undefined; - } - - return parseInt(value, base); -} - -function makeWithDelay( - maxRetries: number, - delayBase: number = 100, - delayCap = 10 * 1000, // 10s -): (block: () => Promise) => Promise { - // If we try to update the log group, then due to the async nature of - // Lambda logging there could be a race condition when the same log group is - // already being created by the lambda execution. This can sometime result in - // an error "OperationAbortedException: A conflicting operation is currently - // in progress...Please try again." - // To avoid an error, we do as requested and try again. - - return async (block: () => Promise) => { - let attempts = 0; - do { - try { - return await block(); - } catch (error: any) { - if ( - error instanceof Logs.OperationAbortedException - || error.name === 'OperationAbortedException' - || error.name === 'ThrottlingException' // There is no class to check with instanceof, see https://github.com/aws/aws-sdk-js-v3/issues/5140 - ) { - if (attempts < maxRetries ) { - attempts++; - await new Promise(resolve => setTimeout(resolve, calculateDelay(attempts, delayBase, delayCap))); - continue; - } else { - // The log group is still being changed by another execution but we are out of retries - throw new Error('Out of attempts to change log group'); - } - } - throw error; - } - } while (true); // exit happens on retry count check - }; -} - -function calculateDelay(attempt: number, base: number, cap: number): number { - return Math.round(Math.random() * Math.min(cap, base * 2 ** attempt)); -} diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js new file mode 100644 index 0000000000000..ae6165a46ea1e --- /dev/null +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js @@ -0,0 +1 @@ +"use strict";var h=Object.create;var d=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var b=(e,o)=>{for(var n in o)d(e,n,{get:o[n],enumerable:!0})},p=(e,o,n,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of f(o))!P.call(e,r)&&r!==n&&d(e,r,{get:()=>o[r],enumerable:!(t=w(o,r))||t.enumerable});return e};var S=(e,o,n)=>(n=e!=null?h(C(e)):{},p(o||!e||!e.__esModule?d(n,"default",{value:e,enumerable:!0}):n,e)),G=e=>p(d({},"__esModule",{value:!0}),e);var q={};b(q,{handler:()=>E});module.exports=G(q);var i=S(require("@aws-sdk/client-cloudwatch-logs"));async function R(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.CreateLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceAlreadyExistsException")return;throw t}})}async function x(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.DeleteLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceNotFoundException")return;throw t}})}async function y(e,o,n,t){await n(async()=>{if(t){let r={logGroupName:e,retentionInDays:t},s=new i.PutRetentionPolicyCommand(r);await o.send(s)}else{let r={logGroupName:e},s=new i.DeleteRetentionPolicyCommand(r);await o.send(s)}})}async function E(e,o){try{console.log(JSON.stringify({...e,ResponseURL:"..."}));let t=e.ResourceProperties.LogGroupName,r=e.ResourceProperties.LogGroupRegion,s=L(e.ResourceProperties.SdkRetry?.maxRetries)??5,a=I(s),m={logger:console,region:r,maxAttempts:Math.max(5,s)},c=new i.CloudWatchLogsClient(m);if((e.RequestType==="Create"||e.RequestType==="Update")&&(await R(t,c,a),await y(t,c,a,L(e.ResourceProperties.RetentionInDays)),e.RequestType==="Create")){let g=new i.CloudWatchLogsClient({logger:console,region:process.env.AWS_REGION});await R(`/aws/lambda/${o.functionName}`,g,a),await y(`/aws/lambda/${o.functionName}`,g,a,1)}e.RequestType==="Delete"&&e.ResourceProperties.RemovalPolicy==="destroy"&&await x(t,c,a),await n("SUCCESS","OK",t)}catch(t){console.log(t),await n("FAILED",t.message,e.ResourceProperties.LogGroupName)}function n(t,r,s){let a=JSON.stringify({Status:t,Reason:r,PhysicalResourceId:s,StackId:e.StackId,RequestId:e.RequestId,LogicalResourceId:e.LogicalResourceId,Data:{LogGroupName:e.ResourceProperties.LogGroupName}});console.log("Responding",a);let m=require("url").parse(e.ResponseURL),c={hostname:m.hostname,path:m.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(a,"utf8")}};return new Promise((g,l)=>{try{let u=require("https").request(c,g);u.on("error",l),u.write(a),u.end()}catch(u){l(u)}})}}function L(e,o=10){if(e!==void 0)return parseInt(e,o)}function I(e,o=100,n=10*1e3){return async t=>{let r=0;do try{return await t()}catch(s){if(s.name==="OperationAbortedException"||s.name==="ThrottlingException")if(rsetTimeout(a,k(r,o,n)));continue}else throw new Error("Out of attempts to change log group");throw s}while(!0)}}function k(e,o,n){return Math.round(Math.random()*Math.min(n,o*2**e))}0&&(module.exports={handler}); diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json index aa83ca70a7bc6..870e1d61b46c0 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json @@ -1,20 +1,20 @@ { "version": "34.0.0", "files": { - "a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0": { + "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035": { "source": { - "path": "asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0", + "path": "asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035", "packaging": "zip" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0.zip", + "objectKey": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "95ac8f29ff36a7123923f19e8eaa5b99b557919ded4582cc165b70fe6feab2fb": { + "61e8d34dc6a5d5d2e0f3f9a6553fc91f4cfc4c79afc3d6d0ad6494e1bd34eeb5": { "source": { "path": "aws-cdk-log-retention-integ.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "95ac8f29ff36a7123923f19e8eaa5b99b557919ded4582cc165b70fe6feab2fb.json", + "objectKey": "61e8d34dc6a5d5d2e0f3f9a6553fc91f4cfc4c79afc3d6d0ad6494e1bd34eeb5.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-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json index bd3a898a7916d..c6e9e258ab849 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json @@ -125,7 +125,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0.zip" + "S3Key": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip" }, "Role": { "Fn::GetAtt": [ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/integ.json b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/integ.json index ce84f84f5ee6b..a38de5a162b53 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/integ.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/integ.json @@ -5,6 +5,7 @@ "stacks": [ "aws-cdk-log-retention-integ" ], + "diffAssets": true, "assertionStack": "LogRetentionInteg/DefaultTest/DeployAssert", "assertionStackName": "LogRetentionIntegDefaultTestDeployAssert6ACC5A74" } diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json index cd6c6e18b2082..162d95063727d 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json @@ -14,10 +14,11 @@ "environment": "aws://unknown-account/unknown-region", "properties": { "templateFile": "aws-cdk-log-retention-integ.template.json", + "terminationProtection": false, "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}/95ac8f29ff36a7123923f19e8eaa5b99b557919ded4582cc165b70fe6feab2fb.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/61e8d34dc6a5d5d2e0f3f9a6553fc91f4cfc4c79afc3d6d0ad6494e1bd34eeb5.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ @@ -74,15 +75,6 @@ "type": "aws:cdk:logicalId", "data": "CheckBootstrapVersion" } - ], - "MyLambda3E5A551B4": [ - { - "type": "aws:cdk:logicalId", - "data": "MyLambda3E5A551B4", - "trace": [ - "!!DESTRUCTIVE_CHANGES: WILL_DESTROY" - ] - } ] }, "displayName": "aws-cdk-log-retention-integ" @@ -100,6 +92,7 @@ "environment": "aws://unknown-account/unknown-region", "properties": { "templateFile": "LogRetentionIntegDefaultTestDeployAssert6ACC5A74.template.json", + "terminationProtection": false, "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}", diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.ts index 11b6c6bcdc518..5e591072e9f56 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.ts @@ -22,5 +22,8 @@ class LogRetentionIntegStack extends Stack { const app = new App(); const stack = new LogRetentionIntegStack(app, 'aws-cdk-log-retention-integ'); -new IntegTest(app, 'LogRetentionInteg', { testCases: [stack] }); -app.synth(); \ No newline at end of file +new IntegTest(app, 'LogRetentionInteg', { + testCases: [stack], + diffAssets: true, +}); +app.synth(); diff --git a/packages/@aws-cdk/custom-resource-handlers/package.json b/packages/@aws-cdk/custom-resource-handlers/package.json index 85347afc3eeb0..2bafb65111d31 100644 --- a/packages/@aws-cdk/custom-resource-handlers/package.json +++ b/packages/@aws-cdk/custom-resource-handlers/package.json @@ -31,6 +31,7 @@ "@aws-sdk/client-ecs": "^3.421.0", "@aws-sdk/client-kinesis": "^3.421.0", "@aws-sdk/client-kms": "^3.421.0", + "@aws-sdk/client-cloudwatch-logs": "^3.441.0", "@types/jest": "^29.5.5", "aws-sdk-client-mock": "^3.0.0", "aws-sdk-client-mock-jest": "^3.0.0", @@ -46,7 +47,6 @@ "@aws-sdk/client-synthetics": "^3.421.0", "@aws-sdk/client-ecr": "^3.421.0", "@aws-sdk/client-s3": "^3.421.0", - "@aws-sdk/client-cloudwatch-logs": "^3.441.0", "aws-sdk": "^2.1466.0" }, "repository": { diff --git a/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts b/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts index 2f19548514963..b37c84c360d13 100644 --- a/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts +++ b/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts @@ -1,3 +1,4 @@ +// eslint-disable-next-line import/no-extraneous-dependencies import { CloudWatchLogsClient, CloudWatchLogsClientResolvedConfig, CreateLogGroupCommand, DeleteLogGroupCommand, DeleteRetentionPolicyCommand, OperationAbortedException, PutRetentionPolicyCommand, ResourceAlreadyExistsException, ServiceInputTypes, ServiceOutputTypes } from '@aws-sdk/client-cloudwatch-logs'; import { AwsStub, mockClient } from 'aws-sdk-client-mock'; import 'aws-sdk-client-mock-jest'; diff --git a/packages/aws-cdk-lib/aws-logs/test/log-retention.test.ts b/packages/aws-cdk-lib/aws-logs/test/log-retention.test.ts index e6b477b5cab99..1ec370074f687 100644 --- a/packages/aws-cdk-lib/aws-logs/test/log-retention.test.ts +++ b/packages/aws-cdk-lib/aws-logs/test/log-retention.test.ts @@ -517,7 +517,7 @@ describe('log retention', () => { stack.node.setContext(cxapi.ASSET_RESOURCE_METADATA_ENABLED_CONTEXT, true); stack.node.setContext(cxapi.DISABLE_ASSET_STAGING_CONTEXT, true); - const assetLocation = path.join(__dirname, '../', '/lib', '/log-retention-provider'); + const assetLocation = path.join(__dirname, '..', '..', 'custom-resource-handlers', 'dist', 'aws-logs', 'log-retention-provider'); // WHEN new LogRetention(stack, 'MyLambda', { From af37d2d87f28d8e7b8f883a8a6dd5730aec5fc6e Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 2 Nov 2023 19:20:06 -0700 Subject: [PATCH 04/12] rename provider to handler Signed-off-by: Francis --- .../{log-retention-provider => log-retention-handler}/index.ts | 0 ...g-retention-provider.test.ts => log-retention-handler.test.ts} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename packages/@aws-cdk/custom-resource-handlers/lib/aws-logs/{log-retention-provider => log-retention-handler}/index.ts (100%) rename packages/@aws-cdk/custom-resource-handlers/test/aws-logs/{log-retention-provider.test.ts => log-retention-handler.test.ts} (100%) diff --git a/packages/@aws-cdk/custom-resource-handlers/lib/aws-logs/log-retention-provider/index.ts b/packages/@aws-cdk/custom-resource-handlers/lib/aws-logs/log-retention-handler/index.ts similarity index 100% rename from packages/@aws-cdk/custom-resource-handlers/lib/aws-logs/log-retention-provider/index.ts rename to packages/@aws-cdk/custom-resource-handlers/lib/aws-logs/log-retention-handler/index.ts diff --git a/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts b/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-handler.test.ts similarity index 100% rename from packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-provider.test.ts rename to packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-handler.test.ts From c19b5313411aedfb8a4a5d80728b163f6d6d97c8 Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 2 Nov 2023 20:04:03 -0700 Subject: [PATCH 05/12] snaps Signed-off-by: Francis --- .../index.js | 1 + .../index.js | 1 - .../aws-cdk-log-retention-integ.assets.json | 10 +++++----- .../aws-cdk-log-retention-integ.template.json | 2 +- .../test/integ.log-retention.js.snapshot/manifest.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js new file mode 100644 index 0000000000000..8da212e5ed494 --- /dev/null +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js @@ -0,0 +1 @@ +"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.handler=void 0;var i=require("@aws-sdk/client-cloudwatch-logs");async function l(e,t,r){await r(async()=>{try{let o={logGroupName:e},n=new i.CreateLogGroupCommand(o);await t.send(n)}catch(o){if(o.name==="ResourceAlreadyExistsException")return;throw o}})}async function w(e,t,r){await r(async()=>{try{let o={logGroupName:e},n=new i.DeleteLogGroupCommand(o);await t.send(n)}catch(o){if(o.name==="ResourceNotFoundException")return;throw o}})}async function g(e,t,r,o){await r(async()=>{if(o){let n={logGroupName:e,retentionInDays:o},a=new i.PutRetentionPolicyCommand(n);await t.send(a)}else{let n={logGroupName:e},a=new i.DeleteRetentionPolicyCommand(n);await t.send(a)}})}async function y(e,t){try{console.log(JSON.stringify({...e,ResponseURL:"..."}));let o=e.ResourceProperties.LogGroupName,n=e.ResourceProperties.LogGroupRegion,a=R(e.ResourceProperties.SdkRetry?.maxRetries)??5,s=h(a),d={logger:console,region:n,maxAttempts:Math.max(5,a)},c=new i.CloudWatchLogsClient(d);if((e.RequestType==="Create"||e.RequestType==="Update")&&(await l(o,c,s),await g(o,c,s,R(e.ResourceProperties.RetentionInDays)),e.RequestType==="Create")){let p=new i.CloudWatchLogsClient({logger:console,region:process.env.AWS_REGION});await l(`/aws/lambda/${t.functionName}`,p,s),await g(`/aws/lambda/${t.functionName}`,p,s,1)}e.RequestType==="Delete"&&e.ResourceProperties.RemovalPolicy==="destroy"&&await w(o,c,s),await r("SUCCESS","OK",o)}catch(o){console.log(o),await r("FAILED",o.message,e.ResourceProperties.LogGroupName)}function r(o,n,a){let s=JSON.stringify({Status:o,Reason:n,PhysicalResourceId:a,StackId:e.StackId,RequestId:e.RequestId,LogicalResourceId:e.LogicalResourceId,Data:{LogGroupName:e.ResourceProperties.LogGroupName}});console.log("Responding",s);let d=require("url").parse(e.ResponseURL),c={hostname:d.hostname,path:d.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(s,"utf8")}};return new Promise((p,m)=>{try{let u=require("https").request(c,p);u.on("error",m),u.write(s),u.end()}catch(u){m(u)}})}}exports.handler=y;function R(e,t=10){if(e!==void 0)return parseInt(e,t)}function h(e,t=100,r=10*1e3){return async o=>{let n=0;do try{return await o()}catch(a){if(a.name==="OperationAbortedException"||a.name==="ThrottlingException")if(nsetTimeout(s,f(n,t,r)));continue}else throw new Error("Out of attempts to change log group");throw a}while(!0)}}function f(e,t,r){return Math.round(Math.random()*Math.min(r,t*2**e))} diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js deleted file mode 100644 index ae6165a46ea1e..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var h=Object.create;var d=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var b=(e,o)=>{for(var n in o)d(e,n,{get:o[n],enumerable:!0})},p=(e,o,n,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of f(o))!P.call(e,r)&&r!==n&&d(e,r,{get:()=>o[r],enumerable:!(t=w(o,r))||t.enumerable});return e};var S=(e,o,n)=>(n=e!=null?h(C(e)):{},p(o||!e||!e.__esModule?d(n,"default",{value:e,enumerable:!0}):n,e)),G=e=>p(d({},"__esModule",{value:!0}),e);var q={};b(q,{handler:()=>E});module.exports=G(q);var i=S(require("@aws-sdk/client-cloudwatch-logs"));async function R(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.CreateLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceAlreadyExistsException")return;throw t}})}async function x(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.DeleteLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceNotFoundException")return;throw t}})}async function y(e,o,n,t){await n(async()=>{if(t){let r={logGroupName:e,retentionInDays:t},s=new i.PutRetentionPolicyCommand(r);await o.send(s)}else{let r={logGroupName:e},s=new i.DeleteRetentionPolicyCommand(r);await o.send(s)}})}async function E(e,o){try{console.log(JSON.stringify({...e,ResponseURL:"..."}));let t=e.ResourceProperties.LogGroupName,r=e.ResourceProperties.LogGroupRegion,s=L(e.ResourceProperties.SdkRetry?.maxRetries)??5,a=I(s),m={logger:console,region:r,maxAttempts:Math.max(5,s)},c=new i.CloudWatchLogsClient(m);if((e.RequestType==="Create"||e.RequestType==="Update")&&(await R(t,c,a),await y(t,c,a,L(e.ResourceProperties.RetentionInDays)),e.RequestType==="Create")){let g=new i.CloudWatchLogsClient({logger:console,region:process.env.AWS_REGION});await R(`/aws/lambda/${o.functionName}`,g,a),await y(`/aws/lambda/${o.functionName}`,g,a,1)}e.RequestType==="Delete"&&e.ResourceProperties.RemovalPolicy==="destroy"&&await x(t,c,a),await n("SUCCESS","OK",t)}catch(t){console.log(t),await n("FAILED",t.message,e.ResourceProperties.LogGroupName)}function n(t,r,s){let a=JSON.stringify({Status:t,Reason:r,PhysicalResourceId:s,StackId:e.StackId,RequestId:e.RequestId,LogicalResourceId:e.LogicalResourceId,Data:{LogGroupName:e.ResourceProperties.LogGroupName}});console.log("Responding",a);let m=require("url").parse(e.ResponseURL),c={hostname:m.hostname,path:m.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(a,"utf8")}};return new Promise((g,l)=>{try{let u=require("https").request(c,g);u.on("error",l),u.write(a),u.end()}catch(u){l(u)}})}}function L(e,o=10){if(e!==void 0)return parseInt(e,o)}function I(e,o=100,n=10*1e3){return async t=>{let r=0;do try{return await t()}catch(s){if(s.name==="OperationAbortedException"||s.name==="ThrottlingException")if(rsetTimeout(a,k(r,o,n)));continue}else throw new Error("Out of attempts to change log group");throw s}while(!0)}}function k(e,o,n){return Math.round(Math.random()*Math.min(n,o*2**e))}0&&(module.exports={handler}); diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json index 870e1d61b46c0..ecf4160087ca7 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json @@ -1,20 +1,20 @@ { "version": "34.0.0", "files": { - "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035": { + "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b": { "source": { - "path": "asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035", + "path": "asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b", "packaging": "zip" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip", + "objectKey": "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "61e8d34dc6a5d5d2e0f3f9a6553fc91f4cfc4c79afc3d6d0ad6494e1bd34eeb5": { + "294b49806cf4c247d00855b715c04e270d6f5745a22ed130278fa4a96a37489a": { "source": { "path": "aws-cdk-log-retention-integ.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "61e8d34dc6a5d5d2e0f3f9a6553fc91f4cfc4c79afc3d6d0ad6494e1bd34eeb5.json", + "objectKey": "294b49806cf4c247d00855b715c04e270d6f5745a22ed130278fa4a96a37489a.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-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json index c6e9e258ab849..5ca36ec7a41fa 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json @@ -125,7 +125,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip" + "S3Key": "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b.zip" }, "Role": { "Fn::GetAtt": [ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json index 162d95063727d..366be6a5e42fe 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json @@ -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}/61e8d34dc6a5d5d2e0f3f9a6553fc91f4cfc4c79afc3d6d0ad6494e1bd34eeb5.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/294b49806cf4c247d00855b715c04e270d6f5745a22ed130278fa4a96a37489a.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ From 15b4236eea2c21bcc09adec5562ac577623d9a9d Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 2 Nov 2023 20:09:25 -0700 Subject: [PATCH 06/12] snaps Signed-off-by: Francis --- .../index.js | 1 + .../index.js | 1 - .../aws-cdk-lambda-log-retention.assets.json | 10 +++++----- .../aws-cdk-lambda-log-retention.template.json | 2 +- .../test/integ.log-retention.js.snapshot/manifest.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js new file mode 100644 index 0000000000000..8da212e5ed494 --- /dev/null +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js @@ -0,0 +1 @@ +"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.handler=void 0;var i=require("@aws-sdk/client-cloudwatch-logs");async function l(e,t,r){await r(async()=>{try{let o={logGroupName:e},n=new i.CreateLogGroupCommand(o);await t.send(n)}catch(o){if(o.name==="ResourceAlreadyExistsException")return;throw o}})}async function w(e,t,r){await r(async()=>{try{let o={logGroupName:e},n=new i.DeleteLogGroupCommand(o);await t.send(n)}catch(o){if(o.name==="ResourceNotFoundException")return;throw o}})}async function g(e,t,r,o){await r(async()=>{if(o){let n={logGroupName:e,retentionInDays:o},a=new i.PutRetentionPolicyCommand(n);await t.send(a)}else{let n={logGroupName:e},a=new i.DeleteRetentionPolicyCommand(n);await t.send(a)}})}async function y(e,t){try{console.log(JSON.stringify({...e,ResponseURL:"..."}));let o=e.ResourceProperties.LogGroupName,n=e.ResourceProperties.LogGroupRegion,a=R(e.ResourceProperties.SdkRetry?.maxRetries)??5,s=h(a),d={logger:console,region:n,maxAttempts:Math.max(5,a)},c=new i.CloudWatchLogsClient(d);if((e.RequestType==="Create"||e.RequestType==="Update")&&(await l(o,c,s),await g(o,c,s,R(e.ResourceProperties.RetentionInDays)),e.RequestType==="Create")){let p=new i.CloudWatchLogsClient({logger:console,region:process.env.AWS_REGION});await l(`/aws/lambda/${t.functionName}`,p,s),await g(`/aws/lambda/${t.functionName}`,p,s,1)}e.RequestType==="Delete"&&e.ResourceProperties.RemovalPolicy==="destroy"&&await w(o,c,s),await r("SUCCESS","OK",o)}catch(o){console.log(o),await r("FAILED",o.message,e.ResourceProperties.LogGroupName)}function r(o,n,a){let s=JSON.stringify({Status:o,Reason:n,PhysicalResourceId:a,StackId:e.StackId,RequestId:e.RequestId,LogicalResourceId:e.LogicalResourceId,Data:{LogGroupName:e.ResourceProperties.LogGroupName}});console.log("Responding",s);let d=require("url").parse(e.ResponseURL),c={hostname:d.hostname,path:d.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(s,"utf8")}};return new Promise((p,m)=>{try{let u=require("https").request(c,p);u.on("error",m),u.write(s),u.end()}catch(u){m(u)}})}}exports.handler=y;function R(e,t=10){if(e!==void 0)return parseInt(e,t)}function h(e,t=100,r=10*1e3){return async o=>{let n=0;do try{return await o()}catch(a){if(a.name==="OperationAbortedException"||a.name==="ThrottlingException")if(nsetTimeout(s,f(n,t,r)));continue}else throw new Error("Out of attempts to change log group");throw a}while(!0)}}function f(e,t,r){return Math.round(Math.random()*Math.min(r,t*2**e))} diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js deleted file mode 100644 index ae6165a46ea1e..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var h=Object.create;var d=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var b=(e,o)=>{for(var n in o)d(e,n,{get:o[n],enumerable:!0})},p=(e,o,n,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of f(o))!P.call(e,r)&&r!==n&&d(e,r,{get:()=>o[r],enumerable:!(t=w(o,r))||t.enumerable});return e};var S=(e,o,n)=>(n=e!=null?h(C(e)):{},p(o||!e||!e.__esModule?d(n,"default",{value:e,enumerable:!0}):n,e)),G=e=>p(d({},"__esModule",{value:!0}),e);var q={};b(q,{handler:()=>E});module.exports=G(q);var i=S(require("@aws-sdk/client-cloudwatch-logs"));async function R(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.CreateLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceAlreadyExistsException")return;throw t}})}async function x(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.DeleteLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceNotFoundException")return;throw t}})}async function y(e,o,n,t){await n(async()=>{if(t){let r={logGroupName:e,retentionInDays:t},s=new i.PutRetentionPolicyCommand(r);await o.send(s)}else{let r={logGroupName:e},s=new i.DeleteRetentionPolicyCommand(r);await o.send(s)}})}async function E(e,o){try{console.log(JSON.stringify({...e,ResponseURL:"..."}));let t=e.ResourceProperties.LogGroupName,r=e.ResourceProperties.LogGroupRegion,s=L(e.ResourceProperties.SdkRetry?.maxRetries)??5,a=I(s),m={logger:console,region:r,maxAttempts:Math.max(5,s)},c=new i.CloudWatchLogsClient(m);if((e.RequestType==="Create"||e.RequestType==="Update")&&(await R(t,c,a),await y(t,c,a,L(e.ResourceProperties.RetentionInDays)),e.RequestType==="Create")){let g=new i.CloudWatchLogsClient({logger:console,region:process.env.AWS_REGION});await R(`/aws/lambda/${o.functionName}`,g,a),await y(`/aws/lambda/${o.functionName}`,g,a,1)}e.RequestType==="Delete"&&e.ResourceProperties.RemovalPolicy==="destroy"&&await x(t,c,a),await n("SUCCESS","OK",t)}catch(t){console.log(t),await n("FAILED",t.message,e.ResourceProperties.LogGroupName)}function n(t,r,s){let a=JSON.stringify({Status:t,Reason:r,PhysicalResourceId:s,StackId:e.StackId,RequestId:e.RequestId,LogicalResourceId:e.LogicalResourceId,Data:{LogGroupName:e.ResourceProperties.LogGroupName}});console.log("Responding",a);let m=require("url").parse(e.ResponseURL),c={hostname:m.hostname,path:m.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(a,"utf8")}};return new Promise((g,l)=>{try{let u=require("https").request(c,g);u.on("error",l),u.write(a),u.end()}catch(u){l(u)}})}}function L(e,o=10){if(e!==void 0)return parseInt(e,o)}function I(e,o=100,n=10*1e3){return async t=>{let r=0;do try{return await t()}catch(s){if(s.name==="OperationAbortedException"||s.name==="ThrottlingException")if(rsetTimeout(a,k(r,o,n)));continue}else throw new Error("Out of attempts to change log group");throw s}while(!0)}}function k(e,o,n){return Math.round(Math.random()*Math.min(n,o*2**e))}0&&(module.exports={handler}); diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json index f5a9880f4dbcd..ead1d61385897 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json @@ -1,20 +1,20 @@ { "version": "34.0.0", "files": { - "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035": { + "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b": { "source": { - "path": "asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035", + "path": "asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b", "packaging": "zip" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip", + "objectKey": "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "00fc9d2f2833918b3b2e6cf17583cf6f3cf81667bcacdcbce56992efebc45d78": { + "596810dd9445989de7c33ab03a5c813f676547ce96712cfc40d91d1005e3fc20": { "source": { "path": "aws-cdk-lambda-log-retention.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "00fc9d2f2833918b3b2e6cf17583cf6f3cf81667bcacdcbce56992efebc45d78.json", + "objectKey": "596810dd9445989de7c33ab03a5c813f676547ce96712cfc40d91d1005e3fc20.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/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json index 3de33af2a32cb..2237ec4e1ef38 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json @@ -138,7 +138,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip" + "S3Key": "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b.zip" }, "Role": { "Fn::GetAtt": [ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json index 94b1157469ffc..e556d2e5236dc 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json @@ -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}/00fc9d2f2833918b3b2e6cf17583cf6f3cf81667bcacdcbce56992efebc45d78.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/596810dd9445989de7c33ab03a5c813f676547ce96712cfc40d91d1005e3fc20.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ From 89808cec4addd20fe0b97121a1a6e982e585fd53 Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 2 Nov 2023 20:20:53 -0700 Subject: [PATCH 07/12] fix path Signed-off-by: Francis --- .../test/aws-logs/log-retention-handler.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-handler.test.ts b/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-handler.test.ts index b37c84c360d13..19885852868c0 100644 --- a/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-handler.test.ts +++ b/packages/@aws-cdk/custom-resource-handlers/test/aws-logs/log-retention-handler.test.ts @@ -3,7 +3,7 @@ import { CloudWatchLogsClient, CloudWatchLogsClientResolvedConfig, CreateLogGrou import { AwsStub, mockClient } from 'aws-sdk-client-mock'; import 'aws-sdk-client-mock-jest'; import * as nock from 'nock'; -import * as provider from '../../lib/aws-logs/log-retention-provider/index'; +import * as provider from '../../lib/aws-logs/log-retention-handler/index'; const cloudwatchLogsMock = mockClient(CloudWatchLogsClient); const OPERATION_ABORTED = new OperationAbortedException({ message: '', $metadata: {} }); From 25d2604231c761bf5062858065a10e3cfed1780c Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 2 Nov 2023 20:44:21 -0700 Subject: [PATCH 08/12] fix path Signed-off-by: Francis --- packages/aws-cdk-lib/aws-logs/lib/log-retention.ts | 2 +- packages/aws-cdk-lib/aws-logs/test/log-retention.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/aws-logs/lib/log-retention.ts b/packages/aws-cdk-lib/aws-logs/lib/log-retention.ts index 5a1c0527cdb5e..a1c5432560c8f 100644 --- a/packages/aws-cdk-lib/aws-logs/lib/log-retention.ts +++ b/packages/aws-cdk-lib/aws-logs/lib/log-retention.ts @@ -148,7 +148,7 @@ class LogRetentionFunction extends Construct implements cdk.ITaggable { super(scope, id); const asset = new s3_assets.Asset(this, 'Code', { - path: path.join(__dirname, '..', '..', 'custom-resource-handlers', 'dist', 'aws-logs', 'log-retention-provider'), + path: path.join(__dirname, '..', '..', 'custom-resource-handlers', 'dist', 'aws-logs', 'log-retention-handler'), }); const role = props.role || new iam.Role(this, 'ServiceRole', { diff --git a/packages/aws-cdk-lib/aws-logs/test/log-retention.test.ts b/packages/aws-cdk-lib/aws-logs/test/log-retention.test.ts index 1ec370074f687..cb26deba0c4d2 100644 --- a/packages/aws-cdk-lib/aws-logs/test/log-retention.test.ts +++ b/packages/aws-cdk-lib/aws-logs/test/log-retention.test.ts @@ -517,7 +517,7 @@ describe('log retention', () => { stack.node.setContext(cxapi.ASSET_RESOURCE_METADATA_ENABLED_CONTEXT, true); stack.node.setContext(cxapi.DISABLE_ASSET_STAGING_CONTEXT, true); - const assetLocation = path.join(__dirname, '..', '..', 'custom-resource-handlers', 'dist', 'aws-logs', 'log-retention-provider'); + const assetLocation = path.join(__dirname, '..', '..', 'custom-resource-handlers', 'dist', 'aws-logs', 'log-retention-handler'); // WHEN new LogRetention(stack, 'MyLambda', { From f718f0579b1c836b6ac0457d2d2a8b3f9eab40a9 Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 2 Nov 2023 21:34:27 -0700 Subject: [PATCH 09/12] snaps Signed-off-by: Francis --- .../index.js | 1 - .../index.js | 1 + .../aws-cdk-log-retention-integ.assets.json | 10 +++++----- .../aws-cdk-log-retention-integ.template.json | 2 +- .../test/integ.log-retention.js.snapshot/manifest.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js create mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js deleted file mode 100644 index 8da212e5ed494..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.handler=void 0;var i=require("@aws-sdk/client-cloudwatch-logs");async function l(e,t,r){await r(async()=>{try{let o={logGroupName:e},n=new i.CreateLogGroupCommand(o);await t.send(n)}catch(o){if(o.name==="ResourceAlreadyExistsException")return;throw o}})}async function w(e,t,r){await r(async()=>{try{let o={logGroupName:e},n=new i.DeleteLogGroupCommand(o);await t.send(n)}catch(o){if(o.name==="ResourceNotFoundException")return;throw o}})}async function g(e,t,r,o){await r(async()=>{if(o){let n={logGroupName:e,retentionInDays:o},a=new i.PutRetentionPolicyCommand(n);await t.send(a)}else{let n={logGroupName:e},a=new i.DeleteRetentionPolicyCommand(n);await t.send(a)}})}async function y(e,t){try{console.log(JSON.stringify({...e,ResponseURL:"..."}));let o=e.ResourceProperties.LogGroupName,n=e.ResourceProperties.LogGroupRegion,a=R(e.ResourceProperties.SdkRetry?.maxRetries)??5,s=h(a),d={logger:console,region:n,maxAttempts:Math.max(5,a)},c=new i.CloudWatchLogsClient(d);if((e.RequestType==="Create"||e.RequestType==="Update")&&(await l(o,c,s),await g(o,c,s,R(e.ResourceProperties.RetentionInDays)),e.RequestType==="Create")){let p=new i.CloudWatchLogsClient({logger:console,region:process.env.AWS_REGION});await l(`/aws/lambda/${t.functionName}`,p,s),await g(`/aws/lambda/${t.functionName}`,p,s,1)}e.RequestType==="Delete"&&e.ResourceProperties.RemovalPolicy==="destroy"&&await w(o,c,s),await r("SUCCESS","OK",o)}catch(o){console.log(o),await r("FAILED",o.message,e.ResourceProperties.LogGroupName)}function r(o,n,a){let s=JSON.stringify({Status:o,Reason:n,PhysicalResourceId:a,StackId:e.StackId,RequestId:e.RequestId,LogicalResourceId:e.LogicalResourceId,Data:{LogGroupName:e.ResourceProperties.LogGroupName}});console.log("Responding",s);let d=require("url").parse(e.ResponseURL),c={hostname:d.hostname,path:d.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(s,"utf8")}};return new Promise((p,m)=>{try{let u=require("https").request(c,p);u.on("error",m),u.write(s),u.end()}catch(u){m(u)}})}}exports.handler=y;function R(e,t=10){if(e!==void 0)return parseInt(e,t)}function h(e,t=100,r=10*1e3){return async o=>{let n=0;do try{return await o()}catch(a){if(a.name==="OperationAbortedException"||a.name==="ThrottlingException")if(nsetTimeout(s,f(n,t,r)));continue}else throw new Error("Out of attempts to change log group");throw a}while(!0)}}function f(e,t,r){return Math.round(Math.random()*Math.min(r,t*2**e))} diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js new file mode 100644 index 0000000000000..ae6165a46ea1e --- /dev/null +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js @@ -0,0 +1 @@ +"use strict";var h=Object.create;var d=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var b=(e,o)=>{for(var n in o)d(e,n,{get:o[n],enumerable:!0})},p=(e,o,n,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of f(o))!P.call(e,r)&&r!==n&&d(e,r,{get:()=>o[r],enumerable:!(t=w(o,r))||t.enumerable});return e};var S=(e,o,n)=>(n=e!=null?h(C(e)):{},p(o||!e||!e.__esModule?d(n,"default",{value:e,enumerable:!0}):n,e)),G=e=>p(d({},"__esModule",{value:!0}),e);var q={};b(q,{handler:()=>E});module.exports=G(q);var i=S(require("@aws-sdk/client-cloudwatch-logs"));async function R(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.CreateLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceAlreadyExistsException")return;throw t}})}async function x(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.DeleteLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceNotFoundException")return;throw t}})}async function y(e,o,n,t){await n(async()=>{if(t){let r={logGroupName:e,retentionInDays:t},s=new i.PutRetentionPolicyCommand(r);await o.send(s)}else{let r={logGroupName:e},s=new i.DeleteRetentionPolicyCommand(r);await o.send(s)}})}async function E(e,o){try{console.log(JSON.stringify({...e,ResponseURL:"..."}));let t=e.ResourceProperties.LogGroupName,r=e.ResourceProperties.LogGroupRegion,s=L(e.ResourceProperties.SdkRetry?.maxRetries)??5,a=I(s),m={logger:console,region:r,maxAttempts:Math.max(5,s)},c=new i.CloudWatchLogsClient(m);if((e.RequestType==="Create"||e.RequestType==="Update")&&(await R(t,c,a),await y(t,c,a,L(e.ResourceProperties.RetentionInDays)),e.RequestType==="Create")){let g=new i.CloudWatchLogsClient({logger:console,region:process.env.AWS_REGION});await R(`/aws/lambda/${o.functionName}`,g,a),await y(`/aws/lambda/${o.functionName}`,g,a,1)}e.RequestType==="Delete"&&e.ResourceProperties.RemovalPolicy==="destroy"&&await x(t,c,a),await n("SUCCESS","OK",t)}catch(t){console.log(t),await n("FAILED",t.message,e.ResourceProperties.LogGroupName)}function n(t,r,s){let a=JSON.stringify({Status:t,Reason:r,PhysicalResourceId:s,StackId:e.StackId,RequestId:e.RequestId,LogicalResourceId:e.LogicalResourceId,Data:{LogGroupName:e.ResourceProperties.LogGroupName}});console.log("Responding",a);let m=require("url").parse(e.ResponseURL),c={hostname:m.hostname,path:m.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(a,"utf8")}};return new Promise((g,l)=>{try{let u=require("https").request(c,g);u.on("error",l),u.write(a),u.end()}catch(u){l(u)}})}}function L(e,o=10){if(e!==void 0)return parseInt(e,o)}function I(e,o=100,n=10*1e3){return async t=>{let r=0;do try{return await t()}catch(s){if(s.name==="OperationAbortedException"||s.name==="ThrottlingException")if(rsetTimeout(a,k(r,o,n)));continue}else throw new Error("Out of attempts to change log group");throw s}while(!0)}}function k(e,o,n){return Math.round(Math.random()*Math.min(n,o*2**e))}0&&(module.exports={handler}); diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json index ecf4160087ca7..870e1d61b46c0 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.assets.json @@ -1,20 +1,20 @@ { "version": "34.0.0", "files": { - "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b": { + "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035": { "source": { - "path": "asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b", + "path": "asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035", "packaging": "zip" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b.zip", + "objectKey": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "294b49806cf4c247d00855b715c04e270d6f5745a22ed130278fa4a96a37489a": { + "61e8d34dc6a5d5d2e0f3f9a6553fc91f4cfc4c79afc3d6d0ad6494e1bd34eeb5": { "source": { "path": "aws-cdk-log-retention-integ.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "294b49806cf4c247d00855b715c04e270d6f5745a22ed130278fa4a96a37489a.json", + "objectKey": "61e8d34dc6a5d5d2e0f3f9a6553fc91f4cfc4c79afc3d6d0ad6494e1bd34eeb5.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-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json index 5ca36ec7a41fa..c6e9e258ab849 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/aws-cdk-log-retention-integ.template.json @@ -125,7 +125,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b.zip" + "S3Key": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip" }, "Role": { "Fn::GetAtt": [ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json index 366be6a5e42fe..162d95063727d 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-retention.js.snapshot/manifest.json @@ -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}/294b49806cf4c247d00855b715c04e270d6f5745a22ed130278fa4a96a37489a.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/61e8d34dc6a5d5d2e0f3f9a6553fc91f4cfc4c79afc3d6d0ad6494e1bd34eeb5.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ From 1cc62d17f35833ed36d71c6ee57835443bfc0d5a Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 2 Nov 2023 21:42:17 -0700 Subject: [PATCH 10/12] snaps Signed-off-by: Francis --- .../index.js | 1 - .../index.js | 1 + .../aws-cdk-lambda-log-retention.assets.json | 10 +++++----- .../aws-cdk-lambda-log-retention.template.json | 2 +- .../test/integ.log-retention.js.snapshot/manifest.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js create mode 100644 packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js deleted file mode 100644 index 8da212e5ed494..0000000000000 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b/index.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.handler=void 0;var i=require("@aws-sdk/client-cloudwatch-logs");async function l(e,t,r){await r(async()=>{try{let o={logGroupName:e},n=new i.CreateLogGroupCommand(o);await t.send(n)}catch(o){if(o.name==="ResourceAlreadyExistsException")return;throw o}})}async function w(e,t,r){await r(async()=>{try{let o={logGroupName:e},n=new i.DeleteLogGroupCommand(o);await t.send(n)}catch(o){if(o.name==="ResourceNotFoundException")return;throw o}})}async function g(e,t,r,o){await r(async()=>{if(o){let n={logGroupName:e,retentionInDays:o},a=new i.PutRetentionPolicyCommand(n);await t.send(a)}else{let n={logGroupName:e},a=new i.DeleteRetentionPolicyCommand(n);await t.send(a)}})}async function y(e,t){try{console.log(JSON.stringify({...e,ResponseURL:"..."}));let o=e.ResourceProperties.LogGroupName,n=e.ResourceProperties.LogGroupRegion,a=R(e.ResourceProperties.SdkRetry?.maxRetries)??5,s=h(a),d={logger:console,region:n,maxAttempts:Math.max(5,a)},c=new i.CloudWatchLogsClient(d);if((e.RequestType==="Create"||e.RequestType==="Update")&&(await l(o,c,s),await g(o,c,s,R(e.ResourceProperties.RetentionInDays)),e.RequestType==="Create")){let p=new i.CloudWatchLogsClient({logger:console,region:process.env.AWS_REGION});await l(`/aws/lambda/${t.functionName}`,p,s),await g(`/aws/lambda/${t.functionName}`,p,s,1)}e.RequestType==="Delete"&&e.ResourceProperties.RemovalPolicy==="destroy"&&await w(o,c,s),await r("SUCCESS","OK",o)}catch(o){console.log(o),await r("FAILED",o.message,e.ResourceProperties.LogGroupName)}function r(o,n,a){let s=JSON.stringify({Status:o,Reason:n,PhysicalResourceId:a,StackId:e.StackId,RequestId:e.RequestId,LogicalResourceId:e.LogicalResourceId,Data:{LogGroupName:e.ResourceProperties.LogGroupName}});console.log("Responding",s);let d=require("url").parse(e.ResponseURL),c={hostname:d.hostname,path:d.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(s,"utf8")}};return new Promise((p,m)=>{try{let u=require("https").request(c,p);u.on("error",m),u.write(s),u.end()}catch(u){m(u)}})}}exports.handler=y;function R(e,t=10){if(e!==void 0)return parseInt(e,t)}function h(e,t=100,r=10*1e3){return async o=>{let n=0;do try{return await o()}catch(a){if(a.name==="OperationAbortedException"||a.name==="ThrottlingException")if(nsetTimeout(s,f(n,t,r)));continue}else throw new Error("Out of attempts to change log group");throw a}while(!0)}}function f(e,t,r){return Math.round(Math.random()*Math.min(r,t*2**e))} diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js new file mode 100644 index 0000000000000..ae6165a46ea1e --- /dev/null +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js @@ -0,0 +1 @@ +"use strict";var h=Object.create;var d=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var b=(e,o)=>{for(var n in o)d(e,n,{get:o[n],enumerable:!0})},p=(e,o,n,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of f(o))!P.call(e,r)&&r!==n&&d(e,r,{get:()=>o[r],enumerable:!(t=w(o,r))||t.enumerable});return e};var S=(e,o,n)=>(n=e!=null?h(C(e)):{},p(o||!e||!e.__esModule?d(n,"default",{value:e,enumerable:!0}):n,e)),G=e=>p(d({},"__esModule",{value:!0}),e);var q={};b(q,{handler:()=>E});module.exports=G(q);var i=S(require("@aws-sdk/client-cloudwatch-logs"));async function R(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.CreateLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceAlreadyExistsException")return;throw t}})}async function x(e,o,n){await n(async()=>{try{let t={logGroupName:e},r=new i.DeleteLogGroupCommand(t);await o.send(r)}catch(t){if(t.name==="ResourceNotFoundException")return;throw t}})}async function y(e,o,n,t){await n(async()=>{if(t){let r={logGroupName:e,retentionInDays:t},s=new i.PutRetentionPolicyCommand(r);await o.send(s)}else{let r={logGroupName:e},s=new i.DeleteRetentionPolicyCommand(r);await o.send(s)}})}async function E(e,o){try{console.log(JSON.stringify({...e,ResponseURL:"..."}));let t=e.ResourceProperties.LogGroupName,r=e.ResourceProperties.LogGroupRegion,s=L(e.ResourceProperties.SdkRetry?.maxRetries)??5,a=I(s),m={logger:console,region:r,maxAttempts:Math.max(5,s)},c=new i.CloudWatchLogsClient(m);if((e.RequestType==="Create"||e.RequestType==="Update")&&(await R(t,c,a),await y(t,c,a,L(e.ResourceProperties.RetentionInDays)),e.RequestType==="Create")){let g=new i.CloudWatchLogsClient({logger:console,region:process.env.AWS_REGION});await R(`/aws/lambda/${o.functionName}`,g,a),await y(`/aws/lambda/${o.functionName}`,g,a,1)}e.RequestType==="Delete"&&e.ResourceProperties.RemovalPolicy==="destroy"&&await x(t,c,a),await n("SUCCESS","OK",t)}catch(t){console.log(t),await n("FAILED",t.message,e.ResourceProperties.LogGroupName)}function n(t,r,s){let a=JSON.stringify({Status:t,Reason:r,PhysicalResourceId:s,StackId:e.StackId,RequestId:e.RequestId,LogicalResourceId:e.LogicalResourceId,Data:{LogGroupName:e.ResourceProperties.LogGroupName}});console.log("Responding",a);let m=require("url").parse(e.ResponseURL),c={hostname:m.hostname,path:m.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(a,"utf8")}};return new Promise((g,l)=>{try{let u=require("https").request(c,g);u.on("error",l),u.write(a),u.end()}catch(u){l(u)}})}}function L(e,o=10){if(e!==void 0)return parseInt(e,o)}function I(e,o=100,n=10*1e3){return async t=>{let r=0;do try{return await t()}catch(s){if(s.name==="OperationAbortedException"||s.name==="ThrottlingException")if(rsetTimeout(a,k(r,o,n)));continue}else throw new Error("Out of attempts to change log group");throw s}while(!0)}}function k(e,o,n){return Math.round(Math.random()*Math.min(n,o*2**e))}0&&(module.exports={handler}); diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json index ead1d61385897..f5a9880f4dbcd 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.assets.json @@ -1,20 +1,20 @@ { "version": "34.0.0", "files": { - "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b": { + "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035": { "source": { - "path": "asset.637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b", + "path": "asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035", "packaging": "zip" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b.zip", + "objectKey": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "596810dd9445989de7c33ab03a5c813f676547ce96712cfc40d91d1005e3fc20": { + "00fc9d2f2833918b3b2e6cf17583cf6f3cf81667bcacdcbce56992efebc45d78": { "source": { "path": "aws-cdk-lambda-log-retention.template.json", "packaging": "file" @@ -22,7 +22,7 @@ "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "596810dd9445989de7c33ab03a5c813f676547ce96712cfc40d91d1005e3fc20.json", + "objectKey": "00fc9d2f2833918b3b2e6cf17583cf6f3cf81667bcacdcbce56992efebc45d78.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/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json index 2237ec4e1ef38..3de33af2a32cb 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/aws-cdk-lambda-log-retention.template.json @@ -138,7 +138,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "637731f11faad09b19689379b70bead89ef540c48275ab08ca95e29a61d36b2b.zip" + "S3Key": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip" }, "Role": { "Fn::GetAtt": [ diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json index e556d2e5236dc..94b1157469ffc 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.log-retention.js.snapshot/manifest.json @@ -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}/596810dd9445989de7c33ab03a5c813f676547ce96712cfc40d91d1005e3fc20.json", + "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/00fc9d2f2833918b3b2e6cf17583cf6f3cf81667bcacdcbce56992efebc45d78.json", "requiresBootstrapStackVersion": 6, "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version", "additionalDependencies": [ From 6effb1273ff4704e5f674955a068db0f30111a0b Mon Sep 17 00:00:00 2001 From: Francis Date: Wed, 8 Nov 2023 22:31:21 -0800 Subject: [PATCH 11/12] snaps Signed-off-by: Francis --- ...efaultTestDeployAssertD40B5C28.assets.json | 10 +- ...aultTestDeployAssertD40B5C28.template.json | 4 +- .../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 .../index.js | 2563 ++++++++++++----- ...cdk-integ-lambda-nodejs-latest.assets.json | 10 +- ...k-integ-lambda-nodejs-latest.template.json | 2 +- .../integ.latest.js.snapshot/manifest.json | 4 +- .../test/integ.latest.js.snapshot/tree.json | 2 +- yarn.lock | 141 + 18 files changed, 2018 insertions(+), 872 deletions(-) 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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/index.js rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741}/node_modules/.yarn-integrity (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741}/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741}/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741}/node_modules/delay/license (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741}/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741}/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741}/package.json (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611 => asset.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741}/yarn.lock (100%) rename packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/{asset.9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.bundle => asset.e7a77a480d6ecc875e791cead1bff764ebb5df141c46219196902068f9d3f7d2.bundle}/index.js (93%) 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..85953a13b9053 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", "files": { - "9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6": { + "e7a77a480d6ecc875e791cead1bff764ebb5df141c46219196902068f9d3f7d2": { "source": { - "path": "asset.9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.bundle", + "path": "asset.e7a77a480d6ecc875e791cead1bff764ebb5df141c46219196902068f9d3f7d2.bundle", "packaging": "zip" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.zip", + "objectKey": "e7a77a480d6ecc875e791cead1bff764ebb5df141c46219196902068f9d3f7d2.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "3da52fc9b54324b9855c8de5350958d6a73c4cbc840beb487bff66940a3589f5": { + "dc7b7144a6c082520ee22a82a975680d81966193e339f3cdb9b0b613664a7357": { "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": "dc7b7144a6c082520ee22a82a975680d81966193e339f3cdb9b0b613664a7357.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..d16260f066b07 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": "1699511260187" }, "UpdateReplacePolicy": "Delete", "DeletionPolicy": "Delete" @@ -127,7 +127,7 @@ "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" }, - "S3Key": "9fc28fa3b4e7ac7d75bc59996f5e02c3c7f6f4434a7f284ba5b69d87c1da83f6.zip" + "S3Key": "e7a77a480d6ecc875e791cead1bff764ebb5df141c46219196902068f9d3f7d2.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.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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/index.js b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/index.js new file mode 100644 index 0000000000000..6d257865e31fe --- /dev/null +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.latest.js.snapshot/asset.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/index.js @@ -0,0 +1,77 @@ +"use strict";var LG=Object.create;var sd=Object.defineProperty;var jG=Object.getOwnPropertyDescriptor;var UG=Object.getOwnPropertyNames;var zG=Object.getPrototypeOf,GG=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),ka=(e,n)=>{for(var t in n)sd(e,t,{get:n[t],enumerable:!0})},av=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of UG(n))!GG.call(e,o)&&o!==t&&sd(e,o,{get:()=>n[o],enumerable:!(r=jG(n,o))||r.enumerable});return e};var Aa=(e,n,t)=>(t=e!=null?LG(zG(e)):{},av(n||!e||!e.__esModule?sd(t,"default",{value:e,enumerable:!0}):t,e)),O=e=>av(sd({},"__esModule",{value:!0}),e);var U={};ka(U,{__addDisposableResource:()=>Av,__assign:()=>id,__asyncDelegator:()=>Sv,__asyncGenerator:()=>Cv,__asyncValues:()=>Ev,__await:()=>uo,__awaiter:()=>pv,__classPrivateFieldGet:()=>xv,__classPrivateFieldIn:()=>kv,__classPrivateFieldSet:()=>wv,__createBinding:()=>cd,__decorate:()=>lv,__disposeResources:()=>Iv,__esDecorate:()=>HG,__exportStar:()=>yv,__extends:()=>cv,__generator:()=>fv,__importDefault:()=>vv,__importStar:()=>Pv,__makeTemplateObject:()=>bv,__metadata:()=>mv,__param:()=>uv,__propKey:()=>KG,__read:()=>$y,__rest:()=>dv,__runInitializers:()=>$G,__setFunctionName:()=>VG,__spread:()=>_v,__spreadArray:()=>hv,__spreadArrays:()=>gv,__values:()=>ad,default:()=>YG});function cv(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");Hy(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function dv(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 uv(e,n){return function(t,r){n(t,r,e)}}function HG(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 L in r)b[L]=L==="access"?{}:r[L];for(var L in r.access)b.access[L]=r.access[L];b.addInitializer=function(V){if(_)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(V||null))};var j=(0,t[C])(i==="accessor"?{get:c.get,set:c.set}:c[u],b);if(i==="accessor"){if(j===void 0)continue;if(j===null||typeof j!="object")throw new TypeError("Object expected");(y=a(j.get))&&(c.get=y),(y=a(j.set))&&(c.set=y),(y=a(j.init))&&o.unshift(y)}else(y=a(j))&&(i==="field"?o.unshift(y):c[u]=y)}l&&Object.defineProperty(l,r.name,c),_=!0}function $G(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 $y(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 _v(){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 uo?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 Sv(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:uo(e[o](a)),done:!1}:s?s(a):a}:s}}function Ev(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 ad=="function"?ad(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 bv(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}function Pv(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)&&cd(n,e,t);return XG(n,e),n}function vv(e){return e&&e.__esModule?e:{default:e}}function xv(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 wv(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 kv(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 Av(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 Iv(e){function n(r){e.error=e.hasError?new WG(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 Hy,id,cd,XG,WG,YG,z=ze(()=>{Hy=function(e,n){return Hy=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])},Hy(e,n)};id=function(){return id=Object.assign||function(n){for(var t,r=1,o=arguments.length;r{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.resolveHttpHandlerRuntimeConfig=mo.getHttpHandlerExtensionConfiguration=void 0;var QG=e=>{let n=e.httpHandler;return{setHttpHandler(t){n=t},httpHandler(){return n},updateHttpClientConfig(t,r){n.updateHttpClientConfig(t,r)},httpHandlerConfigs(){return n.httpHandlerConfigs()}}};mo.getHttpHandlerExtensionConfiguration=QG;var JG=e=>({httpHandler:e.httpHandler()});mo.resolveHttpHandlerRuntimeConfig=JG});var Rv=m(Ky=>{"use strict";Object.defineProperty(Ky,"__esModule",{value:!0});var ZG=(z(),O(U));ZG.__exportStar(Nv(),Ky)});var Tv=m(Ov=>{"use strict";Object.defineProperty(Ov,"__esModule",{value:!0})});var qv=m(Ia=>{"use strict";Object.defineProperty(Ia,"__esModule",{value:!0});Ia.HttpAuthLocation=void 0;var e2;(function(e){e.HEADER="header",e.QUERY="query"})(e2=Ia.HttpAuthLocation||(Ia.HttpAuthLocation={}))});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 Xv=m(Vv=>{"use strict";Object.defineProperty(Vv,"__esModule",{value:!0})});var Wv=m(Na=>{"use strict";Object.defineProperty(Na,"__esModule",{value:!0});var Vy=(z(),O(U));Vy.__exportStar(Hv(),Na);Vy.__exportStar(Kv(),Na);Vy.__exportStar(Xv(),Na)});var Qv=m(Yv=>{"use strict";Object.defineProperty(Yv,"__esModule",{value:!0})});var Zv=m(Jv=>{"use strict";Object.defineProperty(Jv,"__esModule",{value:!0})});var ex=m(Ra=>{"use strict";Object.defineProperty(Ra,"__esModule",{value:!0});Ra.EndpointURLScheme=void 0;var t2;(function(e){e.HTTP="http",e.HTTPS="https"})(t2=Ra.EndpointURLScheme||(Ra.EndpointURLScheme={}))});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 lx=m(dx=>{"use strict";Object.defineProperty(dx,"__esModule",{value:!0})});var ux=m(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});var Oa=(z(),O(U));Oa.__exportStar(nx(),Mr);Oa.__exportStar(ox(),Mr);Oa.__exportStar(ix(),Mr);Oa.__exportStar(cx(),Mr);Oa.__exportStar(lx(),Mr)});var px=m(mx=>{"use strict";Object.defineProperty(mx,"__esModule",{value:!0})});var Wy=m(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.resolveChecksumRuntimeConfig=Cn.getChecksumConfiguration=Cn.AlgorithmId=void 0;var Xy;(function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"})(Xy=Cn.AlgorithmId||(Cn.AlgorithmId={}));var n2=e=>{let n=[];return e.sha256!==void 0&&n.push({algorithmId:()=>Xy.SHA256,checksumConstructor:()=>e.sha256}),e.md5!=null&&n.push({algorithmId:()=>Xy.MD5,checksumConstructor:()=>e.md5}),{_checksumAlgorithms:n,addChecksumAlgorithm(t){this._checksumAlgorithms.push(t)},checksumAlgorithms(){return this._checksumAlgorithms}}};Cn.getChecksumConfiguration=n2;var r2=e=>{let n={};return e.checksumAlgorithms().forEach(t=>{n[t.algorithmId()]=t.checksumConstructor()}),n};Cn.resolveChecksumRuntimeConfig=r2});var yx=m(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.resolveDefaultRuntimeConfig=po.getDefaultClientConfiguration=void 0;var fx=Wy(),o2=e=>({...(0,fx.getChecksumConfiguration)(e)});po.getDefaultClientConfiguration=o2;var s2=e=>({...(0,fx.resolveChecksumRuntimeConfig)(e)});po.resolveDefaultRuntimeConfig=s2});var gx=m(_x=>{"use strict";Object.defineProperty(_x,"__esModule",{value:!0})});var Cx=m(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.AlgorithmId=void 0;var hx=(z(),O(U));hx.__exportStar(yx(),fo);hx.__exportStar(gx(),fo);var i2=Wy();Object.defineProperty(fo,"AlgorithmId",{enumerable:!0,get:function(){return i2.AlgorithmId}})});var Sx=m(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.FieldPosition=void 0;var a2;(function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"})(a2=Ta.FieldPosition||(Ta.FieldPosition={}))});var bx=m(Ex=>{"use strict";Object.defineProperty(Ex,"__esModule",{value:!0})});var vx=m(Px=>{"use strict";Object.defineProperty(Px,"__esModule",{value:!0})});var wx=m(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});var xx=(z(),O(U));xx.__exportStar(bx(),dd);xx.__exportStar(vx(),dd)});var Ax=m(kx=>{"use strict";Object.defineProperty(kx,"__esModule",{value:!0})});var Ix=m(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});ld.SMITHY_CONTEXT_KEY=void 0;ld.SMITHY_CONTEXT_KEY="__smithy_context"});var Rx=m(Nx=>{"use strict";Object.defineProperty(Nx,"__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 $x=m(Hx=>{"use strict";Object.defineProperty(Hx,"__esModule",{value:!0})});var Vx=m(Kx=>{"use strict";Object.defineProperty(Kx,"__esModule",{value:!0})});var Wx=m(Xx=>{"use strict";Object.defineProperty(Xx,"__esModule",{value:!0})});var Qx=m(Yx=>{"use strict";Object.defineProperty(Yx,"__esModule",{value:!0})});var Jx=m(qa=>{"use strict";Object.defineProperty(qa,"__esModule",{value:!0});qa.RequestHandlerProtocol=void 0;var c2;(function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"})(c2=qa.RequestHandlerProtocol||(qa.RequestHandlerProtocol={}))});var ew=m(Zx=>{"use strict";Object.defineProperty(Zx,"__esModule",{value:!0})});var nw=m(tw=>{"use strict";Object.defineProperty(tw,"__esModule",{value:!0})});var ow=m(rw=>{"use strict";Object.defineProperty(rw,"__esModule",{value:!0})});var iw=m(sw=>{"use strict";Object.defineProperty(sw,"__esModule",{value:!0})});var cw=m(aw=>{"use strict";Object.defineProperty(aw,"__esModule",{value:!0})});var x=m(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});var pe=(z(),O(U));pe.__exportStar(Tv(),le);pe.__exportStar(qv(),le);pe.__exportStar(Mv(),le);pe.__exportStar(Fv(),le);pe.__exportStar(jv(),le);pe.__exportStar(zv(),le);pe.__exportStar(Wv(),le);pe.__exportStar(Qv(),le);pe.__exportStar(Zv(),le);pe.__exportStar(ex(),le);pe.__exportStar(ux(),le);pe.__exportStar(px(),le);pe.__exportStar(Cx(),le);pe.__exportStar(Sx(),le);pe.__exportStar(wx(),le);pe.__exportStar(Ax(),le);pe.__exportStar(Ix(),le);pe.__exportStar(Rx(),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($x(),le);pe.__exportStar(Vx(),le);pe.__exportStar(Wx(),le);pe.__exportStar(Qx(),le);pe.__exportStar(Jx(),le);pe.__exportStar(ew(),le);pe.__exportStar(nw(),le);pe.__exportStar(ow(),le);pe.__exportStar(iw(),le);pe.__exportStar(cw(),le)});var dw=m(ud=>{"use strict";Object.defineProperty(ud,"__esModule",{value:!0});ud.Field=void 0;var d2=x(),Yy=class{constructor({name:n,kind:t=d2.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}};ud.Field=Yy});var lw=m(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});md.Fields=void 0;var Qy=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)}};md.Fields=Qy});var mw=m(uw=>{"use strict";Object.defineProperty(uw,"__esModule",{value:!0})});var pw=m(pd=>{"use strict";Object.defineProperty(pd,"__esModule",{value:!0});pd.HttpRequest=void 0;var Jy=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=l2(n.query)),n}};pd.HttpRequest=Jy;function l2(e){return Object.keys(e).reduce((n,t)=>{let r=e[t];return{...n,[t]:Array.isArray(r)?[...r]:r}},{})}});var fw=m(fd=>{"use strict";Object.defineProperty(fd,"__esModule",{value:!0});fd.HttpResponse=void 0;var Zy=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"}};fd.HttpResponse=Zy});var yw=m(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.isValidHostname=void 0;function u2(e){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(e)}yd.isValidHostname=u2});var gw=m(_w=>{"use strict";Object.defineProperty(_w,"__esModule",{value:!0})});var we=m(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});var Xn=(z(),O(U));Xn.__exportStar(Rv(),Lt);Xn.__exportStar(dw(),Lt);Xn.__exportStar(lw(),Lt);Xn.__exportStar(mw(),Lt);Xn.__exportStar(pw(),Lt);Xn.__exportStar(fw(),Lt);Xn.__exportStar(yw(),Lt);Xn.__exportStar(gw(),Lt)});var Cw=m(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.getAddExpectContinuePlugin=Sn.addExpectContinueMiddlewareOptions=Sn.addExpectContinueMiddleware=void 0;var m2=we();function hw(e){return n=>async t=>{let{request:r}=t;return m2.HttpRequest.isInstance(r)&&r.body&&e.runtime==="node"&&(r.headers={...r.headers,Expect:"100-continue"}),n({...t,request:r})}}Sn.addExpectContinueMiddleware=hw;Sn.addExpectContinueMiddlewareOptions={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0};var p2=e=>({applyToStack:n=>{n.add(hw(e),Sn.addExpectContinueMiddlewareOptions)}});Sn.getAddExpectContinuePlugin=p2});var Ba=m(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.getHostHeaderPlugin=St.hostHeaderMiddlewareOptions=St.hostHeaderMiddleware=St.resolveHostHeaderConfig=void 0;var f2=we();function y2(e){return e}St.resolveHostHeaderConfig=y2;var _2=e=>n=>async t=>{if(!f2.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)};St.hostHeaderMiddleware=_2;St.hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0};var g2=e=>({applyToStack:n=>{n.add((0,St.hostHeaderMiddleware)(e),St.hostHeaderMiddlewareOptions)}});St.getHostHeaderPlugin=g2});var Sw=m(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});jt.getLoggerPlugin=jt.loggerMiddlewareOptions=jt.loggerMiddleware=void 0;var h2=()=>(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,...L}=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(L),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}};jt.loggerMiddleware=h2;jt.loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0};var C2=e=>({applyToStack:n=>{n.add((0,jt.loggerMiddleware)(),jt.loggerMiddlewareOptions)}});jt.getLoggerPlugin=C2});var Ma=m(e_=>{"use strict";Object.defineProperty(e_,"__esModule",{value:!0});var S2=(z(),O(U));S2.__exportStar(Sw(),e_)});var Da=m(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.getRecursionDetectionPlugin=Ut.addRecursionDetectionMiddlewareOptions=Ut.recursionDetectionMiddleware=void 0;var E2=we(),Ew="X-Amzn-Trace-Id",b2="AWS_LAMBDA_FUNCTION_NAME",P2="_X_AMZN_TRACE_ID",v2=e=>n=>async t=>{let{request:r}=t;if(!E2.HttpRequest.isInstance(r)||e.runtime!=="node"||r.headers.hasOwnProperty(Ew))return n(t);let o=process.env[b2],s=process.env[P2],a=i=>typeof i=="string"&&i.length>0;return a(o)&&a(s)&&(r.headers[Ew]=s),n({...t,request:r})};Ut.recursionDetectionMiddleware=v2;Ut.addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"};var x2=e=>({applyToStack:n=>{n.add((0,Ut.recursionDetectionMiddleware)(e),Ut.addRecursionDetectionMiddlewareOptions)}});Ut.getRecursionDetectionPlugin=x2});var bw=m(_d=>{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.NoOpLogger=void 0;var t_=class{trace(){}debug(){}info(){}warn(){}error(){}};_d.NoOpLogger=t_});var xw=m(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.constructStack=void 0;var w2=()=>{let e=[],n=[],t=!1,r=new Set,o=y=>y.sort((_,C)=>Pw[C.step]-Pw[_.step]||vw[C.priority||"normal"]-vw[_.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(j=>{let V={...j,before:[],after:[]};V.name&&(b[V.name]=V),_.push(V)}),n.forEach(j=>{let V={...j,before:[],after:[]};V.name&&(b[V.name]=V),C.push(V)}),C.forEach(j=>{if(j.toMiddleware){let V=b[j.toMiddleware];if(V===void 0){if(y)return;throw new Error(`${j.toMiddleware} is not found when adding ${j.name||"anonymous"} middleware ${j.relation} ${j.toMiddleware}`)}j.relation==="after"&&V.after.push(j),j.relation==="before"&&V.before.push(j)}}),o(_).map(u).reduce((j,V)=>(j.push(...V),j),[])},c={add:(y,_={})=>{let{name:C,override:b}=_,L={step:"initialize",priority:"normal",middleware:y,..._};if(C){if(r.has(C)){if(!b)throw new Error(`Duplicate middleware name '${C}'`);let j=e.findIndex(me=>me.name===C),V=e[j];if(V.step!==L.step||V.priority!==L.priority)throw new Error(`"${C}" middleware with ${V.priority} priority in ${V.step} step cannot be overridden by same-name middleware with ${L.priority} priority in ${L.step} step.`);e.splice(j,1)}r.add(C)}e.push(L)},addRelativeTo:(y,_)=>{let{name:C,override:b}=_,L={middleware:y,..._};if(C){if(r.has(C)){if(!b)throw new Error(`Duplicate middleware name '${C}'`);let j=n.findIndex(me=>me.name===C),V=n[j];if(V.toMiddleware!==L.toMiddleware||V.relation!==L.relation)throw new Error(`"${C}" middleware ${V.relation} "${V.toMiddleware}" middleware cannot be overridden by same-name middleware ${L.relation} "${L.toMiddleware}" middleware.`);n.splice(j,1)}r.add(C)}n.push(L)},clone:()=>i((0,yo.constructStack)()),use:y=>{y.applyToStack(c)},remove:y=>typeof y=="string"?s(y):a(y),removeByTag:y=>{let _=!1,C=b=>{let{tags:L,name:j}=b;return L&&L.includes(y)?(j&&r.delete(j),_=!0,!1):!0};return e=e.filter(C),n=n.filter(C),_},concat:y=>{var _,C;let b=i((0,yo.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};yo.constructStack=w2;var Pw={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},vw={high:3,normal:2,low:1}});var r_=m(n_=>{"use strict";Object.defineProperty(n_,"__esModule",{value:!0});var k2=(z(),O(U));k2.__exportStar(xw(),n_)});var ww=m(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.Client=void 0;var A2=r_(),o_=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()}};gd.Client=o_});var Cd=m(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});hd.isArrayBuffer=void 0;var I2=e=>typeof ArrayBuffer=="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]";hd.isArrayBuffer=I2});var Dr=m(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.fromString=_o.fromArrayBuffer=void 0;var N2=Cd(),s_=require("buffer"),R2=(e,n=0,t=e.byteLength-n)=>{if(!(0,N2.isArrayBuffer)(e))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`);return s_.Buffer.from(e,n,t)};_o.fromArrayBuffer=R2;var O2=(e,n)=>{if(typeof e!="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`);return n?s_.Buffer.from(e,n):s_.Buffer.from(e)};_o.fromString=O2});var kw=m(Sd=>{"use strict";Object.defineProperty(Sd,"__esModule",{value:!0});Sd.fromBase64=void 0;var T2=Dr(),q2=/^[A-Za-z0-9+/]*={0,2}$/,B2=e=>{if(e.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!q2.exec(e))throw new TypeError("Invalid base64 string.");let n=(0,T2.fromString)(e,"base64");return new Uint8Array(n.buffer,n.byteOffset,n.byteLength)};Sd.fromBase64=B2});var Aw=m(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});Ed.toBase64=void 0;var M2=Dr(),D2=e=>(0,M2.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("base64");Ed.toBase64=D2});var go=m(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});var Iw=(z(),O(U));Iw.__exportStar(kw(),bd);Iw.__exportStar(Aw(),bd)});var i_=m(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.fromUtf8=void 0;var F2=Dr(),L2=e=>{let n=(0,F2.fromString)(e,"utf8");return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT)};Pd.fromUtf8=L2});var Nw=m(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});vd.toUint8Array=void 0;var j2=i_(),U2=e=>typeof e=="string"?(0,j2.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e);vd.toUint8Array=U2});var Rw=m(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.toUtf8=void 0;var z2=Dr(),G2=e=>(0,z2.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("utf8");xd.toUtf8=G2});var Et=m(Fa=>{"use strict";Object.defineProperty(Fa,"__esModule",{value:!0});var a_=(z(),O(U));a_.__exportStar(i_(),Fa);a_.__exportStar(Nw(),Fa);a_.__exportStar(Rw(),Fa)});var Bw=m(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.transformFromString=ho.transformToString=void 0;var Tw=go(),qw=Et(),Ow=c_();function H2(e,n="utf-8"){return n==="base64"?(0,Tw.toBase64)(e):(0,qw.toUtf8)(e)}ho.transformToString=H2;function $2(e,n){return n==="base64"?Ow.Uint8ArrayBlobAdapter.mutate((0,Tw.fromBase64)(e)):Ow.Uint8ArrayBlobAdapter.mutate((0,qw.fromUtf8)(e))}ho.transformFromString=$2});var c_=m(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.Uint8ArrayBlobAdapter=void 0;var Mw=Bw(),d_=class e extends Uint8Array{static fromString(n,t="utf-8"){switch(typeof n){case"string":return(0,Mw.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,Mw.transformToString)(this,n)}};wd.Uint8ArrayBlobAdapter=d_});var Dw=m(kd=>{"use strict";Object.defineProperty(kd,"__esModule",{value:!0});kd.getAwsChunkedEncodingStream=void 0;var K2=require("stream"),V2=(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 K2.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};kd.getAwsChunkedEncodingStream=V2});var l_=m(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});Ad.escapeUri=void 0;var X2=e=>encodeURIComponent(e).replace(/[!'()*]/g,W2);Ad.escapeUri=X2;var W2=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`});var Fw=m(Id=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});Id.escapeUriPath=void 0;var Y2=l_(),Q2=e=>e.split("/").map(Y2.escapeUri).join("/");Id.escapeUriPath=Q2});var u_=m(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});var Lw=(z(),O(U));Lw.__exportStar(l_(),Nd);Lw.__exportStar(Fw(),Nd)});var p_=m(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});Rd.buildQueryString=void 0;var m_=u_();function J2(e){let n=[];for(let t of Object.keys(e).sort()){let r=e[t];if(t=(0,m_.escapeUri)(t),Array.isArray(r))for(let o=0,s=r.length;o{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.NODEJS_TIMEOUT_ERROR_CODES=void 0;Od.NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","EPIPE","ETIMEDOUT"]});var f_=m(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});Td.getTransformedHeaders=void 0;var Z2=e=>{let n={};for(let t of Object.keys(e)){let r=e[t];n[t]=Array.isArray(r)?r.join(","):r}return n};Td.getTransformedHeaders=Z2});var Uw=m(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});qd.setConnectionTimeout=void 0;var eH=(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)})};qd.setConnectionTimeout=eH});var zw=m(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.setSocketKeepAlive=void 0;var tH=(e,{keepAlive:n,keepAliveMsecs:t})=>{n===!0&&e.on("socket",r=>{r.setKeepAlive(n,t||0)})};Bd.setSocketKeepAlive=tH});var Gw=m(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.setSocketTimeout=void 0;var nH=(e,n,t=0)=>{e.setTimeout(t,()=>{e.destroy(),n(Object.assign(new Error(`Connection timed out after ${t} ms`),{name:"TimeoutError"}))})};Md.setSocketTimeout=nH});var y_=m(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.writeRequestBody=void 0;var rH=require("stream"),Hw=1e3;async function oH(e,n,t=Hw){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(Hw,t)))}),new Promise(u=>{e.on("continue",()=>{clearTimeout(a),u()}),e.on("error",()=>{i=!0,clearTimeout(a),u()})})]),i||sH(e,n.body)}Dd.writeRequestBody=oH;function sH(e,n){n instanceof rH.Readable?n.pipe(e):n?e.end(Buffer.from(n)):e.end()}});var Vw=m(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.NodeHttpHandler=Co.DEFAULT_REQUEST_TIMEOUT=void 0;var iH=we(),aH=p_(),$w=require("http"),Kw=require("https"),cH=jw(),dH=f_(),lH=Uw(),uH=zw(),mH=Gw(),pH=y_();Co.DEFAULT_REQUEST_TIMEOUT=0;var __=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 $w.Agent({keepAlive:i,maxSockets:u}),httpsAgent:a||new Kw.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,aH.buildQueryString)(n.query||{}),_;if(n.username!=null||n.password!=null){let me=(s=n.username)!==null&&s!==void 0?s:"",Ft=(a=n.password)!==null&&a!==void 0?a:"";_=`${me}:${Ft}`}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:_},j=(c?Kw.request:$w.request)(b,me=>{let Ft=new iH.HttpResponse({statusCode:me.statusCode||-1,reason:me.statusMessage,headers:(0,dH.getTransformedHeaders)(me.headers),body:me});u({response:Ft})});j.on("error",me=>{cH.NODEJS_TIMEOUT_ERROR_CODES.includes(me.code)?l(Object.assign(me,{name:"TimeoutError"})):l(me)}),(0,lH.setConnectionTimeout)(j,l,this.config.connectionTimeout),(0,mH.setSocketTimeout)(j,l,this.config.requestTimeout),t&&(t.onabort=()=>{j.abort();let me=new Error("Request aborted");me.name="AbortError",l(me)});let V=b.agent;typeof V=="object"&&"keepAlive"in V&&(0,uH.setSocketKeepAlive)(j,{keepAlive:V.keepAlive,keepAliveMsecs:V.keepAliveMsecs}),i=(0,pH.writeRequestBody)(j,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:{}}};Co.NodeHttpHandler=__});var Xw=m(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.NodeHttp2ConnectionPool=void 0;var g_=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())}};Fd.NodeHttp2ConnectionPool=g_});var Ww=m(Ld=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});Ld.NodeHttp2ConnectionManager=void 0;var fH=(z(),O(U)),yH=fH.__importDefault(require("http2")),_H=Xw(),h_=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=yH.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 _H.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()}};Ld.NodeHttp2ConnectionManager=h_});var Qw=m(jd=>{"use strict";Object.defineProperty(jd,"__esModule",{value:!0});jd.NodeHttp2Handler=void 0;var gH=we(),hH=p_(),Yw=require("http2"),CH=f_(),SH=Ww(),EH=y_(),C_=class{constructor(n){this.metadata={handlerProtocol:"h2"},this.connectionManager=new SH.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:L,port:j,protocol:V,query:me}=n,Ft="";if(n.username!=null||n.password!=null){let qe=(i=n.username)!==null&&i!==void 0?i:"",wa=(u=n.password)!==null&&u!==void 0?u:"";Ft=`${qe}:${wa}@`}let sv=`${V}//${Ft}${b}${j?`:${j}`:""}`,DG={destination:new URL(sv)},Br=this.connectionManager.lease(DG,{requestTimeout:(l=this.config)===null||l===void 0?void 0:l.sessionTimeout,disableConcurrentStreams:o||!1}),lo=qe=>{o&&this.destroySession(Br),c=!0,C(qe)},iv=(0,hH.buildQueryString)(me||{}),Gy=n.path;iv&&(Gy+=`?${iv}`),n.fragment&&(Gy+=`#${n.fragment}`);let Tt=Br.request({...n.headers,[Yw.constants.HTTP2_HEADER_PATH]:Gy,[Yw.constants.HTTP2_HEADER_METHOD]:L});Br.ref(),Tt.on("response",qe=>{let wa=new gH.HttpResponse({statusCode:qe[":status"]||-1,headers:(0,CH.getTransformedHeaders)(qe),body:Tt});c=!0,_({response:wa}),o&&(Br.close(),this.connectionManager.deleteSession(sv,Br))}),r&&Tt.setTimeout(r,()=>{Tt.close();let qe=new Error(`Stream timed out because of no activity for ${r} ms`);qe.name="TimeoutError",lo(qe)}),t&&(t.onabort=()=>{Tt.close();let qe=new Error("Request aborted");qe.name="AbortError",lo(qe)}),Tt.on("frameError",(qe,wa,FG)=>{lo(new Error(`Frame type id ${qe} in stream id ${FG} has failed with code ${wa}.`))}),Tt.on("error",lo),Tt.on("aborted",()=>{lo(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${Tt.rstCode}.`))}),Tt.on("close",()=>{Br.unref(),o&&Br.destroy(),c||lo(new Error("Unexpected error: http2 request did not get a response"))}),y=(0,EH.writeRequestBody)(Tt,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()}};jd.NodeHttp2Handler=C_});var Jw=m(Ud=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});Ud.Collector=void 0;var bH=require("stream"),S_=class extends bH.Writable{constructor(){super(...arguments),this.bufferedBytes=[]}_write(n,t,r){this.bufferedBytes.push(n),r()}};Ud.Collector=S_});var Zw=m(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.streamCollector=void 0;var PH=Jw(),vH=e=>new Promise((n,t)=>{let r=new PH.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)})});zd.streamCollector=vH});var So=m(La=>{"use strict";Object.defineProperty(La,"__esModule",{value:!0});var E_=(z(),O(U));E_.__exportStar(Vw(),La);E_.__exportStar(Qw(),La);E_.__exportStar(Zw(),La)});var tk=m(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.sdkStreamMixin=void 0;var xH=So(),wH=Dr(),b_=require("stream"),kH=require("util"),ek="The stream has already been transformed.",AH=e=>{var n,t;if(!(e instanceof b_.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(ek);return r=!0,await(0,xH.streamCollector)(e)};return Object.assign(e,{transformToByteArray:o,transformToString:async s=>{let a=await o();return s===void 0||Buffer.isEncoding(s)?(0,wH.fromArrayBuffer)(a.buffer,a.byteOffset,a.byteLength).toString(s):new kH.TextDecoder(s).decode(a)},transformToWebStream:()=>{if(r)throw new Error(ek);if(e.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof b_.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,b_.Readable.toWeb(e)}})};Gd.sdkStreamMixin=AH});var v_=m(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});var P_=(z(),O(U));P_.__exportStar(c_(),ja);P_.__exportStar(Dw(),ja);P_.__exportStar(tk(),ja)});var nk=m(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.collectBody=void 0;var x_=v_(),IH=async(e=new Uint8Array,n)=>{if(e instanceof Uint8Array)return x_.Uint8ArrayBlobAdapter.mutate(e);if(!e)return x_.Uint8ArrayBlobAdapter.mutate(new Uint8Array);let t=n.streamCollector(e);return x_.Uint8ArrayBlobAdapter.mutate(await t)};Hd.collectBody=IH});var rk=m($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});$d.Command=void 0;var NH=r_(),w_=class{constructor(){this.middlewareStack=(0,NH.constructStack)()}};$d.Command=w_});var ok=m(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.SENSITIVE_STRING=void 0;Kd.SENSITIVE_STRING="***SensitiveInformation***"});var sk=m(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.createAggregatedClient=void 0;var RH=(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}};Vd.createAggregatedClient=RH});var A_=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 OH=e=>{switch(e){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${e}"`)}};$.parseBoolean=OH;var TH=e=>{if(e!=null){if(typeof e=="number"){if((e===0||e===1)&&$.logger.warn(Xd(`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(Xd(`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=TH;var qH=e=>{if(e!=null){if(typeof e=="string"){let n=parseFloat(e);if(!Number.isNaN(n))return String(n)!==String(e)&&$.logger.warn(Xd(`Expected number but observed string: ${e}`)),n}if(typeof e=="number")return e;throw new TypeError(`Expected number, got ${typeof e}: ${e}`)}};$.expectNumber=qH;var BH=Math.ceil(2**127*(2-2**-23)),MH=e=>{let n=(0,$.expectNumber)(e);if(n!==void 0&&!Number.isNaN(n)&&n!==1/0&&n!==-1/0&&Math.abs(n)>BH)throw new TypeError(`Expected 32-bit float, got ${e}`);return n};$.expectFloat32=MH;var DH=e=>{if(e!=null){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}};$.expectLong=DH;$.expectInt=$.expectLong;var FH=e=>k_(e,32);$.expectInt32=FH;var LH=e=>k_(e,16);$.expectShort=LH;var jH=e=>k_(e,8);$.expectByte=jH;var k_=(e,n)=>{let t=(0,$.expectLong)(e);if(t!==void 0&&UH(t,n)!==t)throw new TypeError(`Expected ${n}-bit integer, got ${e}`);return t},UH=(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]}},zH=(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=zH;var GH=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=GH;var HH=e=>{if(e!=null){if(typeof e=="string")return e;if(["boolean","number","bigint"].includes(typeof e))return $.logger.warn(Xd(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}};$.expectString=HH;var $H=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=$H;var KH=e=>typeof e=="string"?(0,$.expectNumber)(Eo(e)):(0,$.expectNumber)(e);$.strictParseDouble=KH;$.strictParseFloat=$.strictParseDouble;var VH=e=>typeof e=="string"?(0,$.expectFloat32)(Eo(e)):(0,$.expectFloat32)(e);$.strictParseFloat32=VH;var XH=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,Eo=e=>{let n=e.match(XH);if(n===null||n[0].length!==e.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(e)},WH=e=>typeof e=="string"?ik(e):(0,$.expectNumber)(e);$.limitedParseDouble=WH;$.handleFloat=$.limitedParseDouble;$.limitedParseFloat=$.limitedParseDouble;var YH=e=>typeof e=="string"?ik(e):(0,$.expectFloat32)(e);$.limitedParseFloat32=YH;var ik=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}`)}},QH=e=>typeof e=="string"?(0,$.expectLong)(Eo(e)):(0,$.expectLong)(e);$.strictParseLong=QH;$.strictParseInt=$.strictParseLong;var JH=e=>typeof e=="string"?(0,$.expectInt32)(Eo(e)):(0,$.expectInt32)(e);$.strictParseInt32=JH;var ZH=e=>typeof e=="string"?(0,$.expectShort)(Eo(e)):(0,$.expectShort)(e);$.strictParseShort=ZH;var e$=e=>typeof e=="string"?(0,$.expectByte)(Eo(e)):(0,$.expectByte)(e);$.strictParseByte=e$;var Xd=e=>String(new TypeError(e).stack||e).split(` +`).slice(0,5).filter(n=>!n.includes("stackTraceWarning")).join(` +`);$.logger={warn:console.warn}});var ak=m(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.parseEpochTimestamp=bt.parseRfc7231DateTime=bt.parseRfc3339DateTimeWithOffset=bt.parseRfc3339DateTime=bt.dateToUtcString=void 0;var Wn=A_(),t$=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],N_=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function n$(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`${t$[r]}, ${u} ${N_[t]} ${n} ${l}:${c}:${y} GMT`}bt.dateToUtcString=n$;var r$=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),o$=e=>{if(e==null)return;if(typeof e!="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");let n=r$.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,Wn.strictParseShort)(bo(r)),y=zt(o,"month",1,12),_=zt(s,"day",1,31);return Ua(c,y,_,{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l})};bt.parseRfc3339DateTime=o$;var s$=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),i$=e=>{if(e==null)return;if(typeof e!="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");let n=s$.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,Wn.strictParseShort)(bo(r)),_=zt(o,"month",1,12),C=zt(s,"day",1,31),b=Ua(y,_,C,{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l});return c.toUpperCase()!="Z"&&b.setTime(b.getTime()-C$(c)),b};bt.parseRfc3339DateTimeWithOffset=i$;var a$=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$/),c$=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$/),d$=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})$/),l$=e=>{if(e==null)return;if(typeof e!="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let n=a$.exec(e);if(n){let[t,r,o,s,a,i,u,l]=n;return Ua((0,Wn.strictParseShort)(bo(s)),I_(o),zt(r,"day",1,31),{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l})}if(n=c$.exec(e),n){let[t,r,o,s,a,i,u,l]=n;return f$(Ua(m$(s),I_(o),zt(r,"day",1,31),{hours:a,minutes:i,seconds:u,fractionalMilliseconds:l}))}if(n=d$.exec(e),n){let[t,r,o,s,a,i,u,l]=n;return Ua((0,Wn.strictParseShort)(bo(l)),I_(r),zt(o.trimLeft(),"day",1,31),{hours:s,minutes:a,seconds:i,fractionalMilliseconds:u})}throw new TypeError("Invalid RFC-7231 date-time value")};bt.parseRfc7231DateTime=l$;var u$=e=>{if(e==null)return;let n;if(typeof e=="number")n=e;else if(typeof e=="string")n=(0,Wn.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))};bt.parseEpochTimestamp=u$;var Ua=(e,n,t,r)=>{let o=n-1;return _$(e,o,t),new Date(Date.UTC(e,o,t,zt(r.hours,"hour",0,23),zt(r.minutes,"minute",0,59),zt(r.seconds,"seconds",0,60),h$(r.fractionalMilliseconds)))},m$=e=>{let n=new Date().getUTCFullYear(),t=Math.floor(n/100)*100+(0,Wn.strictParseShort)(bo(e));return te.getTime()-new Date().getTime()>p$?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,I_=e=>{let n=N_.indexOf(e);if(n<0)throw new TypeError(`Invalid month: ${e}`);return n+1},y$=[31,28,31,30,31,30,31,31,30,31,30,31],_$=(e,n,t)=>{let r=y$[n];if(n===1&&g$(e)&&(r=29),t>r)throw new TypeError(`Invalid day for ${N_[n]} in ${e}: ${t}`)},g$=e=>e%4===0&&(e%100!==0||e%400===0),zt=(e,n,t,r)=>{let o=(0,Wn.strictParseByte)(bo(e));if(or)throw new TypeError(`${n} must be between ${t} and ${r}, inclusive`);return o},h$=e=>e==null?0:(0,Wn.strictParseFloat32)("0."+e)*1e3,C$=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},bo=e=>{let n=0;for(;n{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.decorateServiceException=Po.ServiceException=void 0;var R_=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}};Po.ServiceException=R_;var S$=(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};Po.decorateServiceException=S$});var ck=m(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.withBaseException=Fr.throwDefaultError=void 0;var E$=O_(),b$=({output:e,parsedBody:n,exceptionCtor:t,errorCode:r})=>{let o=v$(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)};Fr.throwDefaultError=b$;var P$=e=>({output:n,parsedBody:t,errorCode:r})=>{(0,Fr.throwDefaultError)({output:n,parsedBody:t,exceptionCtor:e,errorCode:r})};Fr.withBaseException=P$;var v$=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 dk=m(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.loadConfigsForDefaultMode=void 0;var x$=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{}}};Wd.loadConfigsForDefaultMode=x$});var uk=m(Yd=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});Yd.emitWarningIfUnsupportedVersion=void 0;var lk=!1,w$=e=>{e&&!lk&&parseInt(e.substring(1,e.indexOf(".")))<14&&(lk=!0)};Yd.emitWarningIfUnsupportedVersion=w$});var mk=m(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.resolveChecksumRuntimeConfig=Yn.getChecksumConfiguration=Yn.AlgorithmId=void 0;var T_=x();Object.defineProperty(Yn,"AlgorithmId",{enumerable:!0,get:function(){return T_.AlgorithmId}});var k$=e=>{let n=[];for(let t in T_.AlgorithmId){let r=T_.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}}};Yn.getChecksumConfiguration=k$;var A$=e=>{let n={};return e.checksumAlgorithms().forEach(t=>{n[t.algorithmId()]=t.checksumConstructor()}),n};Yn.resolveChecksumRuntimeConfig=A$});var pk=m(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.resolveRetryRuntimeConfig=vo.getRetryConfiguration=void 0;var I$=e=>{let n=e.retryStrategy;return{setRetryStrategy(t){n=t},retryStrategy(){return n}}};vo.getRetryConfiguration=I$;var N$=e=>{let n={};return n.retryStrategy=e.retryStrategy(),n};vo.resolveRetryRuntimeConfig=N$});var _k=m(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.resolveDefaultRuntimeConfig=En.getDefaultClientConfiguration=En.getDefaultExtensionConfiguration=void 0;var fk=mk(),yk=pk(),R$=e=>({...(0,fk.getChecksumConfiguration)(e),...(0,yk.getRetryConfiguration)(e)});En.getDefaultExtensionConfiguration=R$;En.getDefaultClientConfiguration=En.getDefaultExtensionConfiguration;var O$=e=>({...(0,fk.resolveChecksumRuntimeConfig)(e),...(0,yk.resolveRetryRuntimeConfig)(e)});En.resolveDefaultRuntimeConfig=O$});var gk=m(q_=>{"use strict";Object.defineProperty(q_,"__esModule",{value:!0});var T$=(z(),O(U));T$.__exportStar(_k(),q_)});var B_=m(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.extendedEncodeURIComponent=void 0;function q$(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16).toUpperCase()})}Qd.extendedEncodeURIComponent=q$});var hk=m(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.getArrayIfSingleItem=void 0;var B$=e=>Array.isArray(e)?e:[e];Jd.getArrayIfSingleItem=B$});var Ck=m(za=>{"use strict";Object.defineProperty(za,"__esModule",{value:!0});za.getValueFromTextNode=void 0;var M$=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,za.getValueFromTextNode)(e[t]));return e};za.getValueFromTextNode=M$});var Sk=m(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.LazyJsonString=Gt.StringWrapper=void 0;var D$=function(){let e=Object.getPrototypeOf(this).constructor,n=Function.bind.apply(String,[null,...arguments]),t=new n;return Object.setPrototypeOf(t,e.prototype),t};Gt.StringWrapper=D$;Gt.StringWrapper.prototype=Object.create(String.prototype,{constructor:{value:Gt.StringWrapper,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(Gt.StringWrapper,String);var M_=class e extends Gt.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))}};Gt.LazyJsonString=M_});var Pk=m(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.take=Qn.convertMap=Qn.map=void 0;function Ek(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,j$(r,o,s);s=n}for(let a of Object.keys(s)){if(!Array.isArray(s[a])){r[a]=s[a];continue}bk(r,null,s,a)}return r}Qn.map=Ek;var F$=e=>{let n={};for(let[t,r]of Object.entries(e||{}))n[t]=[,r];return n};Qn.convertMap=F$;var L$=(e,n)=>{let t={};for(let r in n)bk(t,e,n,r);return t};Qn.take=L$;var j$=(e,n,t)=>Ek(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),{})),bk=(e,n,t,r)=>{if(n!==null){let a=t[r];typeof a=="function"&&(a=[,a]);let[i=U$,u=z$,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)}},U$=e=>e!=null,z$=e=>e});var xk=m(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.resolvedPath=void 0;var vk=B_(),G$=(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,vk.extendedEncodeURIComponent)(i)).join("/"):(0,vk.extendedEncodeURIComponent)(a))}else throw new Error("No value provided for input HTTP label: "+t+".");return e};Zd.resolvedPath=G$});var wk=m(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.serializeFloat=void 0;var H$=e=>{if(e!==e)return"NaN";switch(e){case 1/0:return"Infinity";case-1/0:return"-Infinity";default:return e}};el.serializeFloat=H$});var kk=m(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});Ga._json=void 0;var $$=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,Ga._json)(e[t]));return n}return e};Ga._json=$$});var Ak=m(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.splitEvery=void 0;function K$(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 Re=(z(),O(U));Re.__exportStar(bw(),ke);Re.__exportStar(ww(),ke);Re.__exportStar(nk(),ke);Re.__exportStar(rk(),ke);Re.__exportStar(ok(),ke);Re.__exportStar(sk(),ke);Re.__exportStar(ak(),ke);Re.__exportStar(ck(),ke);Re.__exportStar(dk(),ke);Re.__exportStar(uk(),ke);Re.__exportStar(gk(),ke);Re.__exportStar(O_(),ke);Re.__exportStar(B_(),ke);Re.__exportStar(hk(),ke);Re.__exportStar(Ck(),ke);Re.__exportStar(Sk(),ke);Re.__exportStar(Pk(),ke);Re.__exportStar(A_(),ke);Re.__exportStar(xk(),ke);Re.__exportStar(wk(),ke);Re.__exportStar(kk(),ke);Re.__exportStar(Ak(),ke)});var Nk=m(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.getCheckContentLengthHeaderPlugin=bn.checkContentLengthHeaderMiddlewareOptions=bn.checkContentLengthHeader=void 0;var V$=we(),X$=E(),W$="content-length";function Ik(){return(e,n)=>async t=>{var r;let{request:o}=t;if(V$.HttpRequest.isInstance(o)&&!o.headers[W$]){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 X$.NoOpLogger)?n.logger.warn(s):console.warn(s)}return e({...t})}}bn.checkContentLengthHeader=Ik;bn.checkContentLengthHeaderMiddlewareOptions={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0};var Y$=e=>({applyToStack:n=>{n.add(Ik(),bn.checkContentLengthHeaderMiddlewareOptions)}});bn.getCheckContentLengthHeaderPlugin=Y$});var Rk=m(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});nl.resolveS3Config=void 0;var Q$=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}};nl.resolveS3Config=Q$});var Tk=m(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.getThrow200ExceptionsPlugin=Ht.throw200ExceptionsMiddlewareOptions=Ht.throw200ExceptionsMiddleware=void 0;var J$=we(),Z$=e=>n=>async t=>{let r=await n(t),{response:o}=r;if(!J$.HttpResponse.isInstance(o))return r;let{statusCode:s,body:a}=o;if(s<200||s>=300)return r;let i=await Ok(a,e),u=await eK(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};Ht.throw200ExceptionsMiddleware=Z$;var Ok=(e=new Uint8Array,n)=>e instanceof Uint8Array?Promise.resolve(e):n.streamCollector(e)||Promise.resolve(new Uint8Array),eK=(e,n)=>Ok(e,n).then(t=>n.utf8Encoder(t));Ht.throw200ExceptionsMiddlewareOptions={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0};var tK=e=>({applyToStack:n=>{n.addRelativeTo((0,Ht.throw200ExceptionsMiddleware)(e),Ht.throw200ExceptionsMiddlewareOptions)}});Ht.getThrow200ExceptionsPlugin=tK});var D_=m(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.build=Jn.parse=Jn.validate=void 0;var nK=e=>typeof e=="string"&&e.indexOf("arn:")===0&&e.split(":").length>=6;Jn.validate=nK;var rK=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(":")}};Jn.parse=rK;var oK=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}`};Jn.build=oK});var Bk=m(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.getValidateBucketNamePlugin=Pn.validateBucketNameMiddlewareOptions=Pn.validateBucketNameMiddleware=void 0;var sK=D_();function qk(){return e=>async n=>{let{input:{Bucket:t}}=n;if(typeof t=="string"&&!(0,sK.validate)(t)&&t.indexOf("/")>=0){let r=new Error(`Bucket name shouldn't contain '/', received '${t}'`);throw r.name="InvalidBucketName",r}return e({...n})}}Pn.validateBucketNameMiddleware=qk;Pn.validateBucketNameMiddlewareOptions={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0};var iK=e=>({applyToStack:n=>{n.add(qk(),Pn.validateBucketNameMiddlewareOptions)}});Pn.getValidateBucketNamePlugin=iK});var wo=m(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});var rl=(z(),O(U));rl.__exportStar(Nk(),xo);rl.__exportStar(Rk(),xo);rl.__exportStar(Tk(),xo);rl.__exportStar(Bk(),xo)});var Ha=m(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.ProviderError=void 0;var F_=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)}};ol.ProviderError=F_});var Mk=m(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.CredentialsProviderError=void 0;var aK=Ha(),L_=class e extends aK.ProviderError{constructor(n,t=!0){super(n,t),this.tryNextLink=t,this.name="CredentialsProviderError",Object.setPrototypeOf(this,e.prototype)}};sl.CredentialsProviderError=L_});var Dk=m(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});il.TokenProviderError=void 0;var cK=Ha(),j_=class e extends cK.ProviderError{constructor(n,t=!0){super(n,t),this.tryNextLink=t,this.name="TokenProviderError",Object.setPrototypeOf(this,e.prototype)}};il.TokenProviderError=j_});var Fk=m(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.chain=void 0;var dK=Ha(),lK=(...e)=>async()=>{if(e.length===0)throw new dK.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};al.chain=lK});var Lk=m(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.fromStatic=void 0;var uK=e=>()=>Promise.resolve(e);cl.fromStatic=uK});var jk=m(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});dl.memoize=void 0;var mK=(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))};dl.memoize=mK});var ge=m(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});var ko=(z(),O(U));ko.__exportStar(Mk(),Zn);ko.__exportStar(Ha(),Zn);ko.__exportStar(Dk(),Zn);ko.__exportStar(Fk(),Zn);ko.__exportStar(Lk(),Zn);ko.__exportStar(jk(),Zn)});var H_={};ka(H_,{__assign:()=>z_,__asyncDelegator:()=>xK,__asyncGenerator:()=>vK,__asyncValues:()=>wK,__await:()=>$a,__awaiter:()=>hK,__classPrivateFieldGet:()=>NK,__classPrivateFieldSet:()=>RK,__createBinding:()=>SK,__decorate:()=>yK,__exportStar:()=>EK,__extends:()=>pK,__generator:()=>CK,__importDefault:()=>IK,__importStar:()=>AK,__makeTemplateObject:()=>kK,__metadata:()=>gK,__param:()=>_K,__read:()=>Uk,__rest:()=>fK,__spread:()=>bK,__spreadArrays:()=>PK,__values:()=>G_});function pK(e,n){U_(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function fK(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 _K(e,n){return function(t,r){n(t,r,e)}}function gK(e,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,n)}function hK(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 CK(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 Uk(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 bK(){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 $a?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 xK(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:$a(e[o](a)),done:o==="return"}:s?s(a):a}:s}}function wK(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 G_=="function"?G_(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 kK(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 IK(e){return e&&e.__esModule?e:{default:e}}function NK(e,n){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return n.get(e)}function RK(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 U_,z_,$_=ze(()=>{U_=function(e,n){return U_=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])},U_(e,n)};z_=function(){return z_=Object.assign||function(n){for(var t,r=1,o=arguments.length;r{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.toUtf8=Ao.fromUtf8=void 0;var OK=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)};Ao.fromUtf8=OK;var TK=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};Ao.toUtf8=TK});var Gk=m(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.toUtf8=Io.fromUtf8=void 0;function qK(e){return new TextEncoder().encode(e)}Io.fromUtf8=qK;function BK(e){return new TextDecoder("utf-8").decode(e)}Io.toUtf8=BK});var Kk=m(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.toUtf8=No.fromUtf8=void 0;var Hk=zk(),$k=Gk(),MK=e=>typeof TextEncoder=="function"?(0,$k.fromUtf8)(e):(0,Hk.fromUtf8)(e);No.fromUtf8=MK;var DK=e=>typeof TextDecoder=="function"?(0,$k.toUtf8)(e):(0,Hk.toUtf8)(e);No.toUtf8=DK});var Vk=m(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.convertToBuffer=void 0;var FK=Kk(),LK=typeof Buffer<"u"&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:FK.fromUtf8;function jK(e){return e instanceof Uint8Array?e:typeof e=="string"?LK(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}ll.convertToBuffer=jK});var Xk=m(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.isEmptyData=void 0;function UK(e){return typeof e=="string"?e.length===0:e.byteLength===0}ul.isEmptyData=UK});var Wk=m(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.numToUint8=void 0;function zK(e){return new Uint8Array([(e&4278190080)>>24,(e&16711680)>>16,(e&65280)>>8,e&255])}ml.numToUint8=zK});var Yk=m(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});pl.uint32ArrayFrom=void 0;function GK(e){if(!Uint32Array.from){for(var n=new Uint32Array(e.length),t=0;t{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.uint32ArrayFrom=$t.numToUint8=$t.isEmptyData=$t.convertToBuffer=void 0;var HK=Vk();Object.defineProperty($t,"convertToBuffer",{enumerable:!0,get:function(){return HK.convertToBuffer}});var $K=Xk();Object.defineProperty($t,"isEmptyData",{enumerable:!0,get:function(){return $K.isEmptyData}});var KK=Wk();Object.defineProperty($t,"numToUint8",{enumerable:!0,get:function(){return KK.numToUint8}});var VK=Yk();Object.defineProperty($t,"uint32ArrayFrom",{enumerable:!0,get:function(){return VK.uint32ArrayFrom}})});var Zk=m(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});fl.AwsCrc32=void 0;var Qk=($_(),O(H_)),K_=Ka(),Jk=Va(),XK=function(){function e(){this.crc32=new Jk.Crc32}return e.prototype.update=function(n){(0,K_.isEmptyData)(n)||this.crc32.update((0,K_.convertToBuffer)(n))},e.prototype.digest=function(){return Qk.__awaiter(this,void 0,void 0,function(){return Qk.__generator(this,function(n){return[2,(0,K_.numToUint8)(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new Jk.Crc32},e}();fl.AwsCrc32=XK});var Va=m(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});er.AwsCrc32=er.Crc32=er.crc32=void 0;var WK=($_(),O(H_)),YK=Ka();function QK(e){return new eA().update(e).digest()}er.crc32=QK;var eA=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(n){var t,r;try{for(var o=WK.__values(n),s=o.next();!s.done;s=o.next()){var a=s.value;this.checksum=this.checksum>>>8^ZK[(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}();er.Crc32=eA;var JK=[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],ZK=(0,YK.uint32ArrayFrom)(JK),eV=Zk();Object.defineProperty(er,"AwsCrc32",{enumerable:!0,get:function(){return eV.AwsCrc32}})});var Oo=m(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.toHex=Ro.fromHex=void 0;var tA={},V_={};for(let e=0;e<256;e++){let n=e.toString(16).toLowerCase();n.length===1&&(n=`0${n}`),tA[e]=n,V_[n]=e}function tV(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(yl,"__esModule",{value:!0});yl.Int64=void 0;var rV=Oo(),X_=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&&nA(t),new e(t)}valueOf(){let n=this.bytes.slice(0),t=n[0]&128;return t&&nA(n),parseInt((0,rV.toHex)(n),16)*(t?-1:1)}toString(){return String(this.valueOf())}};yl.Int64=X_;function nA(e){for(let n=0;n<8;n++)e[n]^=255;for(let n=7;n>-1&&(e[n]++,e[n]===0);n--);}});var J_=m(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.HeaderMarshaller=void 0;var To=Oo(),Y_=W_(),Q_=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(Y_.Int64.fromNumber(n.value.valueOf()).bytes,1),c;case"uuid":if(!mV.test(n.value))throw new Error(`Invalid UUID received: ${n.value}`);let y=new Uint8Array(17);return y[0]=9,y.set((0,To.fromHex)(n.value.replace(/\-/g,"")),1),y}}parse(n){let t={},r=0;for(;r{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.splitMessage=void 0;var pV=Va(),sA=4,tr=sA*2,Lr=4,fV=tr+Lr*2;function yV({byteLength:e,byteOffset:n,buffer:t}){if(e{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});hl.EventStreamCodec=void 0;var _V=Va(),gV=J_(),hV=iA(),Z_=class{constructor(n,t){this.headerMarshaller=new gV.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 _V.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,hV.splitMessage)(n);return{headers:this.headerMarshaller.parse(t),body:r}}formatHeaders(n){return this.headerMarshaller.format(n)}};hl.EventStreamCodec=Z_});var dA=m(cA=>{"use strict";Object.defineProperty(cA,"__esModule",{value:!0})});var lA=m(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.MessageDecoderStream=void 0;var eg=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)}};Cl.MessageDecoderStream=eg});var uA=m(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.MessageEncoderStream=void 0;var tg=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))}};Sl.MessageEncoderStream=tg});var mA=m(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.SmithyMessageDecoderStream=void 0;var ng=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)}}};El.SmithyMessageDecoderStream=ng});var pA=m(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.SmithyMessageEncoderStream=void 0;var rg=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)}};bl.SmithyMessageEncoderStream=rg});var og=m(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});var nr=(z(),O(U));nr.__exportStar(aA(),Kt);nr.__exportStar(J_(),Kt);nr.__exportStar(W_(),Kt);nr.__exportStar(dA(),Kt);nr.__exportStar(lA(),Kt);nr.__exportStar(uA(),Kt);nr.__exportStar(mA(),Kt);nr.__exportStar(pA(),Kt)});var yA=m(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.getSmithyContext=void 0;var fA=x(),CV=e=>e[fA.SMITHY_CONTEXT_KEY]||(e[fA.SMITHY_CONTEXT_KEY]={});Pl.getSmithyContext=CV});var _A=m(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.normalizeProvider=void 0;var SV=e=>{if(typeof e=="function")return e;let n=Promise.resolve(e);return()=>n};vl.normalizeProvider=SV});var jr=m(xl=>{"use strict";Object.defineProperty(xl,"__esModule",{value:!0});var gA=(z(),O(U));gA.__exportStar(yA(),xl);gA.__exportStar(_A(),xl)});var Ur=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 ig=m(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.clearCredentialCache=rr.getSigningKey=rr.createScope=void 0;var EV=Oo(),bV=Et(),sg=Ur(),qo={},wl=[],PV=(e,n,t)=>`${e}/${n}/${t}/${sg.KEY_TYPE_IDENTIFIER}`;rr.createScope=PV;var vV=async(e,n,t,r,o)=>{let s=await hA(e,n.secretAccessKey,n.accessKeyId),a=`${t}:${r}:${o}:${(0,EV.toHex)(s)}:${n.sessionToken}`;if(a in qo)return qo[a];for(wl.push(a);wl.length>sg.MAX_CACHE_SIZE;)delete qo[wl.shift()];let i=`AWS4${n.secretAccessKey}`;for(let u of[t,r,o,sg.KEY_TYPE_IDENTIFIER])i=await hA(e,i,u);return qo[a]=i};rr.getSigningKey=vV;var xV=()=>{wl.length=0,Object.keys(qo).forEach(e=>{delete qo[e]})};rr.clearCredentialCache=xV;var hA=(e,n,t)=>{let r=new e(n);return r.update((0,bV.toUint8Array)(t)),r.digest()}});var cg=m(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.getCanonicalHeaders=void 0;var ag=Ur(),wV=({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 ag.ALWAYS_UNSIGNABLE_HEADERS||n!=null&&n.has(s)||ag.PROXY_HEADER_PATTERN.test(s)||ag.SEC_HEADER_PATTERN.test(s))&&(!t||t&&!t.has(s))||(r[s]=e[o].trim().replace(/\s+/g," "))}return r};kl.getCanonicalHeaders=wV});var dg=m(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.getCanonicalQuery=void 0;var Al=u_(),kV=Ur(),AV=({query:e={}})=>{let n=[],t={};for(let r of Object.keys(e).sort()){if(r.toLowerCase()===kV.SIGNATURE_HEADER)continue;n.push(r);let o=e[r];typeof o=="string"?t[r]=`${(0,Al.escapeUri)(r)}=${(0,Al.escapeUri)(o)}`:Array.isArray(o)&&(t[r]=o.slice(0).reduce((s,a)=>s.concat([`${(0,Al.escapeUri)(r)}=${(0,Al.escapeUri)(a)}`]),[]).sort().join("&"))}return n.map(r=>t[r]).filter(r=>r).join("&")};Il.getCanonicalQuery=AV});var lg=m(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.getPayloadHash=void 0;var IV=Cd(),NV=Oo(),RV=Et(),CA=Ur(),OV=async({headers:e,body:n},t)=>{for(let r of Object.keys(e))if(r.toLowerCase()===CA.SHA256_HEADER)return e[r];if(n==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if(typeof n=="string"||ArrayBuffer.isView(n)||(0,IV.isArrayBuffer)(n)){let r=new t;return r.update((0,RV.toUint8Array)(n)),(0,NV.toHex)(await r.digest())}return CA.UNSIGNED_PAYLOAD};Nl.getPayloadHash=OV});var SA=m(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.deleteHeader=or.getHeaderValue=or.hasHeader=void 0;var TV=(e,n)=>{e=e.toLowerCase();for(let t of Object.keys(n))if(e===t.toLowerCase())return!0;return!1};or.hasHeader=TV;var qV=(e,n)=>{e=e.toLowerCase();for(let t of Object.keys(n))if(e===t.toLowerCase())return n[t]};or.getHeaderValue=qV;var BV=(e,n)=>{e=e.toLowerCase();for(let t of Object.keys(n))e===t.toLowerCase()&&delete n[t]};or.deleteHeader=BV});var ug=m(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.cloneQuery=zr.cloneRequest=void 0;var MV=({headers:e,query:n,...t})=>({...t,headers:{...e},query:n?(0,zr.cloneQuery)(n):void 0});zr.cloneRequest=MV;var DV=e=>Object.keys(e).reduce((n,t)=>{let r=e[t];return{...n,[t]:Array.isArray(r)?[...r]:r}},{});zr.cloneQuery=DV});var mg=m(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.moveHeadersToQuery=void 0;var FV=ug(),LV=(e,n={})=>{var t;let{headers:r,query:o={}}=typeof e.clone=="function"?e.clone():(0,FV.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=LV});var pg=m(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.prepareRequest=void 0;var jV=ug(),UV=Ur(),zV=e=>{e=typeof e.clone=="function"?e.clone():(0,jV.cloneRequest)(e);for(let n of Object.keys(e.headers))UV.GENERATED_HEADERS.indexOf(n.toLowerCase())>-1&&delete e.headers[n];return e};Ol.prepareRequest=zV});var EA=m(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});Gr.toDate=Gr.iso8601=void 0;var GV=e=>(0,Gr.toDate)(e).toISOString().replace(/\.\d{3}Z$/,"Z");Gr.iso8601=GV;var HV=e=>typeof e=="number"?new Date(e*1e3):typeof e=="string"?Number(e)?new Date(Number(e)*1e3):new Date(e):e;Gr.toDate=HV});var wA=m(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});Ml.SignatureV4=void 0;var $V=og(),Tl=Oo(),bA=jr(),Xa=Et(),Xe=Ur(),ql=ig(),PA=cg(),KV=dg(),fg=lg(),VV=SA(),XV=mg(),vA=pg(),WV=EA(),yg=class{constructor({applyChecksum:n,credentials:t,region:r,service:o,sha256:s,uriEscapePath:a=!0}){this.headerMarshaller=new $V.HeaderMarshaller(Xa.toUtf8,Xa.fromUtf8),this.service=o,this.sha256=s,this.uriEscapePath=a,this.applyChecksum=typeof n=="boolean"?n:!0,this.regionProvider=(0,bA.normalizeProvider)(r),this.credentialProvider=(0,bA.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}=Bl(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,ql.createScope)(C,y,l??this.service),L=(0,XV.moveHeadersToQuery)((0,vA.prepareRequest)(n),{unhoistableHeaders:a});c.sessionToken&&(L.query[Xe.TOKEN_QUERY_PARAM]=c.sessionToken),L.query[Xe.ALGORITHM_QUERY_PARAM]=Xe.ALGORITHM_IDENTIFIER,L.query[Xe.CREDENTIAL_QUERY_PARAM]=`${c.accessKeyId}/${b}`,L.query[Xe.AMZ_DATE_QUERY_PARAM]=_,L.query[Xe.EXPIRES_QUERY_PARAM]=o.toString(10);let j=(0,PA.getCanonicalHeaders)(L,s,i);return L.query[Xe.SIGNED_HEADERS_QUERY_PARAM]=xA(j),L.query[Xe.SIGNATURE_QUERY_PARAM]=await this.getSignature(_,b,this.getSigningKey(c,y,C,l),this.createCanonicalRequest(L,j,await(0,fg.getPayloadHash)(n,this.sha256))),L}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}=Bl(r),c=(0,ql.createScope)(u,i,a??this.service),y=await(0,fg.getPayloadHash)({headers:{},body:t},this.sha256),_=new this.sha256;_.update(n);let C=(0,Tl.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}=Bl(t),u=new this.sha256(await this.getSigningKey(s,a,i,o));return u.update((0,Xa.toUint8Array)(n)),(0,Tl.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,vA.prepareRequest)(n),{longDate:c,shortDate:y}=Bl(t),_=(0,ql.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,fg.getPayloadHash)(l,this.sha256);!(0,VV.hasHeader)(Xe.SHA256_HEADER,l.headers)&&this.applyChecksum&&(l.headers[Xe.SHA256_HEADER]=C);let b=(0,PA.getCanonicalHeaders)(l,o,r),L=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=${xA(b)}, Signature=${L}`,l}createCanonicalRequest(n,t,r){let o=Object.keys(t).sort();return`${n.method} +${this.getCanonicalPath(n)} +${(0,KV.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,Xa.toUint8Array)(r));let s=await o.digest();return`${Xe.ALGORITHM_IDENTIFIER} +${n} +${t} +${(0,Tl.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,Xa.toUint8Array)(s)),(0,Tl.toHex)(await a.digest())}getSigningKey(n,t,r,o){return(0,ql.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")}};Ml.SignatureV4=yg;var Bl=e=>{let n=(0,WV.iso8601)(e).replace(/[\-:]/g,"");return{longDate:n,shortDate:n.slice(0,8)}},xA=e=>Object.keys(e).sort().join(";")});var _g=m(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.prepareRequest=ct.moveHeadersToQuery=ct.getPayloadHash=ct.getCanonicalQuery=ct.getCanonicalHeaders=void 0;var kA=(z(),O(U));kA.__exportStar(wA(),ct);var YV=cg();Object.defineProperty(ct,"getCanonicalHeaders",{enumerable:!0,get:function(){return YV.getCanonicalHeaders}});var QV=dg();Object.defineProperty(ct,"getCanonicalQuery",{enumerable:!0,get:function(){return QV.getCanonicalQuery}});var JV=lg();Object.defineProperty(ct,"getPayloadHash",{enumerable:!0,get:function(){return JV.getPayloadHash}});var ZV=mg();Object.defineProperty(ct,"moveHeadersToQuery",{enumerable:!0,get:function(){return ZV.moveHeadersToQuery}});var e6=pg();Object.defineProperty(ct,"prepareRequest",{enumerable:!0,get:function(){return e6.prepareRequest}});kA.__exportStar(ig(),ct)});var IA=m(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.resolveSigV4AuthConfig=Mo.resolveAwsAuthConfig=void 0;var t6=ge(),gg=_g(),Bo=jr(),n6=3e5,r6=e=>{let n=e.credentials?AA(e.credentials):e.credentialDefaultProvider(e),{signingEscapePath:t=!0,systemClockOffset:r=e.systemClockOffset||0,sha256:o}=e,s;return e.signer?s=(0,Bo.normalizeProvider)(e.signer):e.regionInfoProvider?s=()=>(0,Bo.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||gg.SignatureV4;return new y(c)}):s=async a=>{a=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await(0,Bo.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||gg.SignatureV4;return new c(l)},{...e,systemClockOffset:r,signingEscapePath:t,credentials:n,signer:s}};Mo.resolveAwsAuthConfig=r6;var o6=e=>{let n=e.credentials?AA(e.credentials):e.credentialDefaultProvider(e),{signingEscapePath:t=!0,systemClockOffset:r=e.systemClockOffset||0,sha256:o}=e,s;return e.signer?s=(0,Bo.normalizeProvider)(e.signer):s=(0,Bo.normalizeProvider)(new gg.SignatureV4({credentials:n,region:e.region,service:e.signingName,sha256:o,uriEscapePath:t})),{...e,systemClockOffset:r,signingEscapePath:t,credentials:n,signer:s}};Mo.resolveSigV4AuthConfig=o6;var AA=e=>typeof e=="function"?(0,t6.memoize)(e,n=>n.expiration!==void 0&&n.expiration.getTime()-Date.now()n.expiration!==void 0):(0,Bo.normalizeProvider)(e)});var hg=m(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});Dl.getSkewCorrectedDate=void 0;var s6=e=>new Date(Date.now()+e);Dl.getSkewCorrectedDate=s6});var NA=m(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});Fl.isClockSkewed=void 0;var i6=hg(),a6=(e,n)=>Math.abs((0,i6.getSkewCorrectedDate)(n).getTime()-e)>=3e5;Fl.isClockSkewed=a6});var RA=m(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});Ll.getUpdatedSystemClockOffset=void 0;var c6=NA(),d6=(e,n)=>{let t=Date.parse(e);return(0,c6.isClockSkewed)(t,n)?t-Date.now():n};Ll.getUpdatedSystemClockOffset=d6});var BA=m(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.getSigV4AuthPlugin=ft.getAwsAuthPlugin=ft.awsAuthMiddlewareOptions=ft.awsAuthMiddleware=void 0;var qA=we(),l6=hg(),OA=RA(),u6=e=>(n,t)=>async function(r){var o,s,a,i;if(!qA.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,l6.getSkewCorrectedDate)(e.systemClockOffset),signingRegion:l||t.signing_region,signingService:t.signing_service})}).catch(C=>{var b;let L=(b=C.ServerTime)!==null&&b!==void 0?b:TA(C.$response);throw L&&(e.systemClockOffset=(0,OA.getUpdatedSystemClockOffset)(L,e.systemClockOffset)),C}),_=TA(y.response);return _&&(e.systemClockOffset=(0,OA.getUpdatedSystemClockOffset)(_,e.systemClockOffset)),y};ft.awsAuthMiddleware=u6;var TA=e=>{var n,t,r;return qA.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};ft.awsAuthMiddlewareOptions={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0};var m6=e=>({applyToStack:n=>{n.addRelativeTo((0,ft.awsAuthMiddleware)(e),ft.awsAuthMiddlewareOptions)}});ft.getAwsAuthPlugin=m6;ft.getSigV4AuthPlugin=ft.getAwsAuthPlugin});var vn=m(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});var MA=(z(),O(U));MA.__exportStar(IA(),jl);MA.__exportStar(BA(),jl)});var DA=m(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});Ul.resolveUserAgentConfig=void 0;function p6(e){return{...e,customUserAgent:typeof e.customUserAgent=="string"?[[e.customUserAgent]]:e.customUserAgent}}Ul.resolveUserAgentConfig=p6});var FA=m((Gwe,f6)=>{f6.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 Cg=m(qt=>{"use strict";Object.defineProperty(qt,"__esModule",{value:!0});qt.getUserAgentPrefix=qt.useDefaultPartitionInfo=qt.setPartitionInfo=qt.partition=void 0;var y6=(z(),O(U)),LA=y6.__importDefault(FA()),jA=LA.default,UA="",_6=e=>{let{partitions:n}=jA;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}};qt.partition=_6;var g6=(e,n="")=>{jA=e,UA=n};qt.setPartitionInfo=g6;var h6=()=>{(0,qt.setPartitionInfo)(LA.default,"")};qt.useDefaultPartitionInfo=h6;var C6=()=>UA;qt.getUserAgentPrefix=C6});var Gl=m(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.isIpAddress=void 0;var S6=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}$"),E6=e=>S6.test(e)||e.startsWith("[")&&e.endsWith("]");zl.isIpAddress=E6});var zA=m(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});Hl.debugId=void 0;Hl.debugId="endpoints"});var GA=m($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.toDebugString=void 0;function Sg(e){return typeof e!="object"||e==null?e:"ref"in e?`$${Sg(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(Sg).join(", ")})`:JSON.stringify(e,null,2)}$l.toDebugString=Sg});var Wa=m(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});var HA=(z(),O(U));HA.__exportStar(zA(),Kl);HA.__exportStar(GA(),Kl)});var $A=m(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.EndpointError=void 0;var Eg=class extends Error{constructor(n){super(n),this.name="EndpointError"}};Vl.EndpointError=Eg});var VA=m(KA=>{"use strict";Object.defineProperty(KA,"__esModule",{value:!0})});var WA=m(XA=>{"use strict";Object.defineProperty(XA,"__esModule",{value:!0})});var QA=m(YA=>{"use strict";Object.defineProperty(YA,"__esModule",{value:!0})});var ZA=m(JA=>{"use strict";Object.defineProperty(JA,"__esModule",{value:!0})});var tI=m(eI=>{"use strict";Object.defineProperty(eI,"__esModule",{value:!0})});var Pt=m(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});var Do=(z(),O(U));Do.__exportStar($A(),sr);Do.__exportStar(VA(),sr);Do.__exportStar(WA(),sr);Do.__exportStar(QA(),sr);Do.__exportStar(ZA(),sr);Do.__exportStar(tI(),sr)});var bg=m(Ya=>{"use strict";Object.defineProperty(Ya,"__esModule",{value:!0});Ya.isValidHostLabel=void 0;var b6=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),P6=(e,n=!1)=>{if(!n)return b6.test(e);let t=e.split(".");for(let r of t)if(!(0,Ya.isValidHostLabel)(r))return!1;return!0};Ya.isValidHostLabel=P6});var nI=m(Qa=>{"use strict";Object.defineProperty(Qa,"__esModule",{value:!0});Qa.isVirtualHostableS3Bucket=void 0;var v6=Gl(),x6=bg(),w6=(e,n=!1)=>{if(n){for(let t of e.split("."))if(!(0,Qa.isVirtualHostableS3Bucket)(t))return!1;return!0}return!(!(0,x6.isValidHostLabel)(e)||e.length<3||e.length>63||e!==e.toLowerCase()||(0,v6.isIpAddress)(e))};Qa.isVirtualHostableS3Bucket=w6});var rI=m(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.parseArn=void 0;var k6=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}};Xl.parseArn=k6});var oI=m(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});var Pg=(z(),O(U));Pg.__exportStar(nI(),Ja);Pg.__exportStar(rI(),Ja);Pg.__exportStar(Cg(),Ja)});var sI=m(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.booleanEquals=void 0;var A6=(e,n)=>e===n;Wl.booleanEquals=A6});var aI=m(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.getAttrPathList=void 0;var iI=Pt(),I6=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 iI.EndpointError(`Path: '${e}' does not end with ']'`);let s=r.slice(o+1,-1);if(Number.isNaN(parseInt(s)))throw new iI.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};Yl.getAttrPathList=I6});var cI=m(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.getAttr=void 0;var N6=Pt(),R6=aI(),O6=(e,n)=>(0,R6.getAttrPathList)(n).reduce((t,r)=>{if(typeof t!="object")throw new N6.EndpointError(`Index '${r}' in '${n}' not found in '${JSON.stringify(e)}'`);return Array.isArray(t)?t[parseInt(r)]:t[r]},e);Ql.getAttr=O6});var dI=m(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});Jl.isSet=void 0;var T6=e=>e!=null;Jl.isSet=T6});var lI=m(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.not=void 0;var q6=e=>!e;Zl.not=q6});var mI=m(uI=>{"use strict";Object.defineProperty(uI,"__esModule",{value:!0})});var pI=m(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.HttpAuthLocation=void 0;var B6=x();Object.defineProperty(eu,"HttpAuthLocation",{enumerable:!0,get:function(){return B6.HttpAuthLocation}})});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 EI=m(SI=>{"use strict";Object.defineProperty(SI,"__esModule",{value:!0})});var PI=m(bI=>{"use strict";Object.defineProperty(bI,"__esModule",{value:!0})});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 AI=m(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.HostAddressType=void 0;var M6;(function(e){e.AAAA="AAAA",e.A="A"})(M6=Za.HostAddressType||(Za.HostAddressType={}))});var NI=m(II=>{"use strict";Object.defineProperty(II,"__esModule",{value:!0})});var RI=m(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.EndpointURLScheme=void 0;var D6=x();Object.defineProperty(tu,"EndpointURLScheme",{enumerable:!0,get:function(){return D6.EndpointURLScheme}})});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 UI=m(jI=>{"use strict";Object.defineProperty(jI,"__esModule",{value:!0})});var GI=m(zI=>{"use strict";Object.defineProperty(zI,"__esModule",{value:!0})});var $I=m(HI=>{"use strict";Object.defineProperty(HI,"__esModule",{value:!0})});var VI=m(KI=>{"use strict";Object.defineProperty(KI,"__esModule",{value:!0})});var XI=m(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});var ec=(z(),O(U));ec.__exportStar(LI(),Hr);ec.__exportStar(UI(),Hr);ec.__exportStar(GI(),Hr);ec.__exportStar($I(),Hr);ec.__exportStar(VI(),Hr)});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 eN=m(ZI=>{"use strict";Object.defineProperty(ZI,"__esModule",{value:!0})});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 iN=m(sN=>{"use strict";Object.defineProperty(sN,"__esModule",{value:!0})});var cN=m(aN=>{"use strict";Object.defineProperty(aN,"__esModule",{value:!0})});var lN=m(dN=>{"use strict";Object.defineProperty(dN,"__esModule",{value:!0})});var mN=m(uN=>{"use strict";Object.defineProperty(uN,"__esModule",{value:!0})});var fN=m(pN=>{"use strict";Object.defineProperty(pN,"__esModule",{value:!0})});var _N=m(yN=>{"use strict";Object.defineProperty(yN,"__esModule",{value:!0})});var hN=m(gN=>{"use strict";Object.defineProperty(gN,"__esModule",{value:!0})});var CN=m(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.RequestHandlerProtocol=void 0;var F6=x();Object.defineProperty(nu,"RequestHandlerProtocol",{enumerable:!0,get:function(){return F6.RequestHandlerProtocol}})});var EN=m(SN=>{"use strict";Object.defineProperty(SN,"__esModule",{value:!0})});var PN=m(bN=>{"use strict";Object.defineProperty(bN,"__esModule",{value:!0})});var xN=m(vN=>{"use strict";Object.defineProperty(vN,"__esModule",{value:!0})});var wN=m(fe=>{"use strict";Object.defineProperty(fe,"__esModule",{value:!0});var _e=(z(),O(U));_e.__exportStar(mI(),fe);_e.__exportStar(pI(),fe);_e.__exportStar(yI(),fe);_e.__exportStar(gI(),fe);_e.__exportStar(CI(),fe);_e.__exportStar(EI(),fe);_e.__exportStar(PI(),fe);_e.__exportStar(xI(),fe);_e.__exportStar(kI(),fe);_e.__exportStar(AI(),fe);_e.__exportStar(NI(),fe);_e.__exportStar(RI(),fe);_e.__exportStar(TI(),fe);_e.__exportStar(BI(),fe);_e.__exportStar(DI(),fe);_e.__exportStar(XI(),fe);_e.__exportStar(YI(),fe);_e.__exportStar(JI(),fe);_e.__exportStar(eN(),fe);_e.__exportStar(nN(),fe);_e.__exportStar(oN(),fe);_e.__exportStar(iN(),fe);_e.__exportStar(cN(),fe);_e.__exportStar(lN(),fe);_e.__exportStar(mN(),fe);_e.__exportStar(fN(),fe);_e.__exportStar(_N(),fe);_e.__exportStar(hN(),fe);_e.__exportStar(CN(),fe);_e.__exportStar(EN(),fe);_e.__exportStar(PN(),fe);_e.__exportStar(xN(),fe)});var kN=m(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.parseURL=void 0;var xg=wN(),L6=Gl(),vg={[xg.EndpointURLScheme.HTTP]:80,[xg.EndpointURLScheme.HTTPS]:443},j6=e=>{let n=(()=>{try{if(e instanceof URL)return e;if(typeof e=="object"&&"hostname"in e){let{hostname:_,port:C,protocol:b="",path:L="",query:j={}}=e,V=new URL(`${b}//${_}${C?`:${C}`:""}${L}`);return V.search=Object.entries(j).map(([me,Ft])=>`${me}=${Ft}`).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(xg.EndpointURLScheme).includes(u))return null;let l=(0,L6.isIpAddress)(o),c=t.includes(`${r}:${vg[u]}`)||typeof e=="string"&&e.includes(`${r}:${vg[u]}`),y=`${r}${c?`:${vg[u]}`:""}`;return{scheme:u,authority:y,path:s,normalizedPath:s.endsWith("/")?s:`${s}/`,isIp:l}};ru.parseURL=j6});var AN=m(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.stringEquals=void 0;var U6=(e,n)=>e===n;ou.stringEquals=U6});var IN=m(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.substring=void 0;var z6=(e,n,t,r)=>n>=t||e.length{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.uriEncode=void 0;var G6=e=>encodeURIComponent(e).replace(/[!*'()]/g,n=>`%${n.charCodeAt(0).toString(16).toUpperCase()}`);iu.uriEncode=G6});var wg=m(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.aws=void 0;var Vt=(z(),O(U));yt.aws=Vt.__importStar(oI());Vt.__exportStar(sI(),yt);Vt.__exportStar(cI(),yt);Vt.__exportStar(dI(),yt);Vt.__exportStar(bg(),yt);Vt.__exportStar(lI(),yt);Vt.__exportStar(kN(),yt);Vt.__exportStar(AN(),yt);Vt.__exportStar(IN(),yt);Vt.__exportStar(NN(),yt)});var kg=m(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.evaluateTemplate=void 0;var H6=wg(),$6=(e,n)=>{let t=[],r={...n.endpointParams,...n.referenceRecord},o=0;for(;o{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.getReferenceValue=void 0;var K6=({ref:e},n)=>({...n.endpointParams,...n.referenceRecord})[e];cu.getReferenceValue=K6});var tc=m(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.evaluateExpression=void 0;var V6=Pt(),X6=Ag(),W6=kg(),Y6=RN(),Q6=(e,n,t)=>{if(typeof e=="string")return(0,W6.evaluateTemplate)(e,t);if(e.fn)return(0,X6.callFunction)(e,t);if(e.ref)return(0,Y6.getReferenceValue)(e,t);throw new V6.EndpointError(`'${n}': ${String(e)} is not a string, function or reference.`)};du.evaluateExpression=Q6});var Ag=m(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.callFunction=void 0;var J6=(z(),O(U)),Z6=J6.__importStar(wg()),eX=tc(),tX=({fn:e,argv:n},t)=>{let r=n.map(o=>["boolean","number"].includes(typeof o)?o:(0,eX.evaluateExpression)(o,"arg",t));return e.split(".").reduce((o,s)=>o[s],Z6)(...r)};lu.callFunction=tX});var ON=m(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.evaluateCondition=void 0;var Ig=Wa(),nX=Pt(),rX=Ag(),oX=({assign:e,...n},t)=>{var r,o;if(e&&e in t.referenceRecord)throw new nX.EndpointError(`'${e}' is already defined in Reference Record.`);let s=(0,rX.callFunction)(n,t);return(o=(r=t.logger)===null||r===void 0?void 0:r.debug)===null||o===void 0||o.call(r,Ig.debugId,`evaluateCondition: ${(0,Ig.toDebugString)(n)} = ${(0,Ig.toDebugString)(s)}`),{result:s===""?!0:!!s,...e!=null&&{toAssign:{name:e,value:s}}}};uu.evaluateCondition=oX});var pu=m(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});mu.evaluateConditions=void 0;var TN=Wa(),sX=ON(),iX=(e=[],n)=>{var t,r;let o={};for(let s of e){let{result:a,toAssign:i}=(0,sX.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,TN.debugId,`assign: ${i.name} := ${(0,TN.toDebugString)(i.value)}`))}return{result:!0,referenceRecord:o}};mu.evaluateConditions=iX});var qN=m(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.getEndpointHeaders=void 0;var aX=Pt(),cX=tc(),dX=(e,n)=>Object.entries(e).reduce((t,[r,o])=>({...t,[r]:o.map(s=>{let a=(0,cX.evaluateExpression)(s,"Header value entry",n);if(typeof a!="string")throw new aX.EndpointError(`Header '${r}' value '${a}' is not a string`);return a})}),{});fu.getEndpointHeaders=dX});var MN=m(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});nc.getEndpointProperty=void 0;var BN=Pt(),lX=kg(),uX=Ng(),mX=(e,n)=>{if(Array.isArray(e))return e.map(t=>(0,nc.getEndpointProperty)(t,n));switch(typeof e){case"string":return(0,lX.evaluateTemplate)(e,n);case"object":if(e===null)throw new BN.EndpointError(`Unexpected endpoint property: ${e}`);return(0,uX.getEndpointProperties)(e,n);case"boolean":return e;default:throw new BN.EndpointError(`Unexpected endpoint property type: ${typeof e}`)}};nc.getEndpointProperty=mX});var Ng=m(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});yu.getEndpointProperties=void 0;var pX=MN(),fX=(e,n)=>Object.entries(e).reduce((t,[r,o])=>({...t,[r]:(0,pX.getEndpointProperty)(o,n)}),{});yu.getEndpointProperties=fX});var DN=m(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});_u.getEndpointUrl=void 0;var yX=Pt(),_X=tc(),gX=(e,n)=>{let t=(0,_X.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 yX.EndpointError(`Endpoint URL must be a string, got ${typeof t}`)};_u.getEndpointUrl=gX});var LN=m(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});gu.evaluateEndpointRule=void 0;var FN=Wa(),hX=pu(),CX=qN(),SX=Ng(),EX=DN(),bX=(e,n)=>{var t,r;let{conditions:o,endpoint:s}=e,{result:a,referenceRecord:i}=(0,hX.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,FN.debugId,`Resolving endpoint from template: ${(0,FN.toDebugString)(s)}`),{...y!=null&&{headers:(0,CX.getEndpointHeaders)(y,u)},...c!=null&&{properties:(0,SX.getEndpointProperties)(c,u)},url:(0,EX.getEndpointUrl)(l,u)}};gu.evaluateEndpointRule=bX});var jN=m(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.evaluateErrorRule=void 0;var PX=Pt(),vX=pu(),xX=tc(),wX=(e,n)=>{let{conditions:t,error:r}=e,{result:o,referenceRecord:s}=(0,vX.evaluateConditions)(t,n);if(o)throw new PX.EndpointError((0,xX.evaluateExpression)(r,"Error",{...n,referenceRecord:{...n.referenceRecord,...s}}))};hu.evaluateErrorRule=wX});var UN=m(Cu=>{"use strict";Object.defineProperty(Cu,"__esModule",{value:!0});Cu.evaluateTreeRule=void 0;var kX=pu(),AX=Rg(),IX=(e,n)=>{let{conditions:t,rules:r}=e,{result:o,referenceRecord:s}=(0,kX.evaluateConditions)(t,n);if(o)return(0,AX.evaluateRules)(r,{...n,referenceRecord:{...n.referenceRecord,...s}})};Cu.evaluateTreeRule=IX});var Rg=m(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});Su.evaluateRules=void 0;var zN=Pt(),NX=LN(),RX=jN(),OX=UN(),TX=(e,n)=>{for(let t of e)if(t.type==="endpoint"){let r=(0,NX.evaluateEndpointRule)(t,n);if(r)return r}else if(t.type==="error")(0,RX.evaluateErrorRule)(t,n);else if(t.type==="tree"){let r=(0,OX.evaluateTreeRule)(t,n);if(r)return r}else throw new zN.EndpointError(`Unknown endpoint rule: ${t}`);throw new zN.EndpointError("Rules evaluation failed")};Su.evaluateRules=TX});var GN=m(Og=>{"use strict";Object.defineProperty(Og,"__esModule",{value:!0});var qX=(z(),O(U));qX.__exportStar(Rg(),Og)});var HN=m(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});bu.resolveEndpoint=void 0;var Eu=Wa(),BX=Pt(),MX=GN(),DX=(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,`${Eu.debugId} Initial EndpointParams: ${(0,Eu.toDebugString)(u)}`);let _=Object.entries(c).filter(([,L])=>L.default!=null).map(([L,j])=>[L,j.default]);if(_.length>0)for(let[L,j]of _)u[L]=(o=u[L])!==null&&o!==void 0?o:j;let C=Object.entries(c).filter(([,L])=>L.required).map(([L])=>L);for(let L of C)if(u[L]==null)throw new BX.EndpointError(`Missing required parameter: '${L}'`);let b=(0,MX.evaluateRules)(y,{endpointParams:u,logger:l,referenceRecord:{}});if(!((s=n.endpointParams)===null||s===void 0)&&s.Endpoint)try{let L=new URL(n.endpointParams.Endpoint),{protocol:j,port:V}=L;b.url.protocol=j,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,`${Eu.debugId} Resolved endpoint: ${(0,Eu.toDebugString)(b)}`),b};bu.resolveEndpoint=DX});var Lo=m(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});var Pu=(z(),O(U));Pu.__exportStar(Cg(),Fo);Pu.__exportStar(Gl(),Fo);Pu.__exportStar(HN(),Fo);Pu.__exportStar(Pt(),Fo)});var $N=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 KN=m(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.getUserAgentPlugin=Xt.getUserAgentMiddlewareOptions=Xt.userAgentMiddleware=void 0;var FX=Lo(),LX=we(),dt=$N(),jX=e=>(n,t)=>async r=>{var o,s;let{request:a}=r;if(!LX.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(Tg))||[],l=(await e.defaultUserAgentProvider()).map(Tg),c=((s=e==null?void 0:e.customUserAgent)===null||s===void 0?void 0:s.map(Tg))||[],y=(0,FX.getUserAgentPrefix)(),_=(y?[y]:[]).concat([...l,...u,...c]).join(dt.SPACE),C=[...l.filter(b=>b.startsWith("aws-sdk-")),...c].join(dt.SPACE);return e.runtime!=="browser"?(C&&(i[dt.X_AMZ_USER_AGENT]=i[dt.X_AMZ_USER_AGENT]?`${i[dt.USER_AGENT]} ${C}`:C),i[dt.USER_AGENT]=_):i[dt.X_AMZ_USER_AGENT]=_,n({...r,request:a})};Xt.userAgentMiddleware=jX;var Tg=e=>{var n;let t=e[0].split(dt.UA_NAME_SEPARATOR).map(i=>i.replace(dt.UA_NAME_ESCAPE_REGEX,dt.UA_ESCAPE_CHAR)).join(dt.UA_NAME_SEPARATOR),r=(n=e[1])===null||n===void 0?void 0:n.replace(dt.UA_VALUE_ESCAPE_REGEX,dt.UA_ESCAPE_CHAR),o=t.indexOf(dt.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}`}},"")};Xt.getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var UX=e=>({applyToStack:n=>{n.add((0,Xt.userAgentMiddleware)(e),Xt.getUserAgentMiddlewareOptions)}});Xt.getUserAgentPlugin=UX});var rc=m(vu=>{"use strict";Object.defineProperty(vu,"__esModule",{value:!0});var VN=(z(),O(U));VN.__exportStar(DA(),vu);VN.__exportStar(KN(),vu)});var XN=m($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.booleanSelector=$r.SelectorType=void 0;var zX;(function(e){e.ENV="env",e.CONFIG="shared config entry"})(zX=$r.SelectorType||($r.SelectorType={}));var GX=(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]}.`)}};$r.booleanSelector=GX});var oc=m(qg=>{"use strict";Object.defineProperty(qg,"__esModule",{value:!0});var HX=(z(),O(U));HX.__exportStar(XN(),qg)});var WN=m(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=vt.DEFAULT_USE_DUALSTACK_ENDPOINT=vt.CONFIG_USE_DUALSTACK_ENDPOINT=vt.ENV_USE_DUALSTACK_ENDPOINT=void 0;var xu=oc();vt.ENV_USE_DUALSTACK_ENDPOINT="AWS_USE_DUALSTACK_ENDPOINT";vt.CONFIG_USE_DUALSTACK_ENDPOINT="use_dualstack_endpoint";vt.DEFAULT_USE_DUALSTACK_ENDPOINT=!1;vt.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,xu.booleanSelector)(e,vt.ENV_USE_DUALSTACK_ENDPOINT,xu.SelectorType.ENV),configFileSelector:e=>(0,xu.booleanSelector)(e,vt.CONFIG_USE_DUALSTACK_ENDPOINT,xu.SelectorType.CONFIG),default:!1}});var YN=m(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=xt.DEFAULT_USE_FIPS_ENDPOINT=xt.CONFIG_USE_FIPS_ENDPOINT=xt.ENV_USE_FIPS_ENDPOINT=void 0;var wu=oc();xt.ENV_USE_FIPS_ENDPOINT="AWS_USE_FIPS_ENDPOINT";xt.CONFIG_USE_FIPS_ENDPOINT="use_fips_endpoint";xt.DEFAULT_USE_FIPS_ENDPOINT=!1;xt.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,wu.booleanSelector)(e,xt.ENV_USE_FIPS_ENDPOINT,wu.SelectorType.ENV),configFileSelector:e=>(0,wu.booleanSelector)(e,xt.CONFIG_USE_FIPS_ENDPOINT,wu.SelectorType.CONFIG),default:!1}});var JN=m(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.resolveCustomEndpointsConfig=void 0;var QN=jr(),$X=e=>{var n,t;let{endpoint:r,urlParser:o}=e;return{...e,tls:(n=e.tls)!==null&&n!==void 0?n:!0,endpoint:(0,QN.normalizeProvider)(typeof r=="string"?o(r):r),isCustomEndpoint:!0,useDualstackEndpoint:(0,QN.normalizeProvider)((t=e.useDualstackEndpoint)!==null&&t!==void 0?t:!1)}};ku.resolveCustomEndpointsConfig=$X});var ZN=m(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.getEndpointFromRegion=void 0;var KX=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}`)};Au.getEndpointFromRegion=KX});var tR=m(Iu=>{"use strict";Object.defineProperty(Iu,"__esModule",{value:!0});Iu.resolveEndpointsConfig=void 0;var eR=jr(),VX=ZN(),XX=e=>{var n,t;let r=(0,eR.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,eR.normalizeProvider)(typeof o=="string"?a(o):o):()=>(0,VX.getEndpointFromRegion)({...e,useDualstackEndpoint:r,useFipsEndpoint:s}),isCustomEndpoint:!!o,useDualstackEndpoint:r}};Iu.resolveEndpointsConfig=XX});var nR=m(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});var Nu=(z(),O(U));Nu.__exportStar(WN(),jo);Nu.__exportStar(YN(),jo);Nu.__exportStar(JN(),jo);Nu.__exportStar(tR(),jo)});var rR=m(wt=>{"use strict";Object.defineProperty(wt,"__esModule",{value:!0});wt.NODE_REGION_CONFIG_FILE_OPTIONS=wt.NODE_REGION_CONFIG_OPTIONS=wt.REGION_INI_NAME=wt.REGION_ENV_NAME=void 0;wt.REGION_ENV_NAME="AWS_REGION";wt.REGION_INI_NAME="region";wt.NODE_REGION_CONFIG_OPTIONS={environmentVariableSelector:e=>e[wt.REGION_ENV_NAME],configFileSelector:e=>e[wt.REGION_INI_NAME],default:()=>{throw new Error("Region is missing")}};wt.NODE_REGION_CONFIG_FILE_OPTIONS={preferredFile:"credentials"}});var Bg=m(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});Ru.isFipsRegion=void 0;var WX=e=>typeof e=="string"&&(e.startsWith("fips-")||e.endsWith("-fips"));Ru.isFipsRegion=WX});var oR=m(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.getRealRegion=void 0;var YX=Bg(),QX=e=>(0,YX.isFipsRegion)(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;Ou.getRealRegion=QX});var iR=m(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});Tu.resolveRegionConfig=void 0;var sR=oR(),JX=Bg(),ZX=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,sR.getRealRegion)(n);let r=await n();return(0,sR.getRealRegion)(r)},useFipsEndpoint:async()=>{let r=typeof n=="string"?n:await n();return(0,JX.isFipsRegion)(r)?!0:typeof t!="function"?Promise.resolve(!!t):t()}}};Tu.resolveRegionConfig=ZX});var cR=m(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});var aR=(z(),O(U));aR.__exportStar(rR(),qu);aR.__exportStar(iR(),qu)});var lR=m(dR=>{"use strict";Object.defineProperty(dR,"__esModule",{value:!0})});var mR=m(uR=>{"use strict";Object.defineProperty(uR,"__esModule",{value:!0})});var pR=m(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});Bu.getHostnameFromVariants=void 0;var eW=(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};Bu.getHostnameFromVariants=eW});var fR=m(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.getResolvedHostname=void 0;var tW=(e,{regionHostname:n,partitionHostname:t})=>n||(t?t.replace("{region}",e):void 0);Mu.getResolvedHostname=tW});var yR=m(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.getResolvedPartition=void 0;var nW=(e,{partitionHash:n})=>{var t;return(t=Object.keys(n||{}).find(r=>n[r].regions.includes(e)))!==null&&t!==void 0?t:"aws"};Du.getResolvedPartition=nW});var _R=m(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.getResolvedSigningRegion=void 0;var rW=(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)}};Fu.getResolvedSigningRegion=rW});var hR=m(Lu=>{"use strict";Object.defineProperty(Lu,"__esModule",{value:!0});Lu.getRegionInfo=void 0;var gR=pR(),oW=fR(),sW=yR(),iW=_R(),aW=(e,{useFipsEndpoint:n=!1,useDualstackEndpoint:t=!1,signingService:r,regionHash:o,partitionHash:s})=>{var a,i,u,l,c,y;let _=(0,sW.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},L=(0,gR.getHostnameFromVariants)((u=o[C])===null||u===void 0?void 0:u.variants,b),j=(0,gR.getHostnameFromVariants)((l=s[_])===null||l===void 0?void 0:l.variants,b),V=(0,oW.getResolvedHostname)(C,{regionHostname:L,partitionHostname:j});if(V===void 0)throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:C,useFipsEndpoint:n,useDualstackEndpoint:t}}`);let me=(0,iW.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}}};Lu.getRegionInfo=aW});var CR=m(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});var Mg=(z(),O(U));Mg.__exportStar(lR(),sc);Mg.__exportStar(mR(),sc);Mg.__exportStar(hR(),sc)});var Wt=m(ic=>{"use strict";Object.defineProperty(ic,"__esModule",{value:!0});var Dg=(z(),O(U));Dg.__exportStar(nR(),ic);Dg.__exportStar(cR(),ic);Dg.__exportStar(CR(),ic)});var SR=m(ju=>{"use strict";Object.defineProperty(ju,"__esModule",{value:!0});ju.resolveEventStreamSerdeConfig=void 0;var cW=e=>({...e,eventStreamMarshaller:e.eventStreamSerdeProvider(e)});ju.resolveEventStreamSerdeConfig=cW});var ER=m(Fg=>{"use strict";Object.defineProperty(Fg,"__esModule",{value:!0});var dW=(z(),O(U));dW.__exportStar(SR(),Fg)});var ac=m(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.getContentLengthPlugin=xn.contentLengthMiddlewareOptions=xn.contentLengthMiddleware=void 0;var lW=we(),bR="content-length";function PR(e){return n=>async t=>{let r=t.request;if(lW.HttpRequest.isInstance(r)){let{body:o,headers:s}=r;if(o&&Object.keys(s).map(a=>a.toLowerCase()).indexOf(bR)===-1)try{let a=e(o);r.headers={...r.headers,[bR]:String(a)}}catch{}}return n({...t,request:r})}}xn.contentLengthMiddleware=PR;xn.contentLengthMiddlewareOptions={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0};var uW=e=>({applyToStack:n=>{n.add(PR(e.bodyLengthChecker),xn.contentLengthMiddlewareOptions)}});xn.getContentLengthPlugin=uW});var vR=m(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt.isArnBucketName=lt.isDnsCompatibleBucketName=lt.S3_HOSTNAME_PATTERN=lt.DOT_PATTERN=lt.resolveParamsForS3=void 0;var mW=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,lt.isArnBucketName)(n)){if(e.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!(0,lt.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};lt.resolveParamsForS3=mW;var pW=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,fW=/(\d+\.){3}\d+/,yW=/\.\./;lt.DOT_PATTERN=/\./;lt.S3_HOSTNAME_PATTERN=/^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./;var _W=e=>pW.test(e)&&!fW.test(e)&&!yW.test(e);lt.isDnsCompatibleBucketName=_W;var gW=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};lt.isArnBucketName=gW});var xR=m(Lg=>{"use strict";Object.defineProperty(Lg,"__esModule",{value:!0});var hW=(z(),O(U));hW.__exportStar(vR(),Lg)});var wR=m(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.createConfigValueProvider=void 0;var CW=(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};Uu.createConfigValueProvider=CW});var jg=m(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Kr.resolveParams=Kr.getEndpointFromInstructions=void 0;var SW=xR(),EW=wR(),bW=async(e,n,t,r)=>{let o=await(0,Kr.resolveParams)(e,n,t);if(typeof t.endpointProvider!="function")throw new Error("config.endpointProvider is not set.");return t.endpointProvider(o,r)};Kr.getEndpointFromInstructions=bW;var PW=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};Kr.resolveParams=PW});var kR=m(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.parseQueryString=void 0;function vW(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}zu.parseQueryString=vW});var Vr=m(cc=>{"use strict";Object.defineProperty(cc,"__esModule",{value:!0});cc.parseUrl=void 0;var xW=kR(),wW=e=>{if(typeof e=="string")return(0,cc.parseUrl)(new URL(e));let{hostname:n,pathname:t,port:r,protocol:o,search:s}=e,a;return s&&(a=(0,xW.parseQueryString)(s)),{hostname:n,port:r?parseInt(r):void 0,protocol:o,path:t,query:a}};cc.parseUrl=wW});var Ug=m(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.toEndpointV1=void 0;var AR=Vr(),kW=e=>typeof e=="object"?"url"in e?(0,AR.parseUrl)(e.url):e:(0,AR.parseUrl)(e);Gu.toEndpointV1=kW});var NR=m(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});var IR=(z(),O(U));IR.__exportStar(jg(),Hu);IR.__exportStar(Ug(),Hu)});var zg=m($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.endpointMiddleware=void 0;var AW=jg(),IW=({config:e,instructions:n})=>(t,r)=>async o=>{var s,a;let i=await(0,AW.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})};$u.endpointMiddleware=IW});var Gg=m(Ku=>{"use strict";Object.defineProperty(Ku,"__esModule",{value:!0});Ku.deserializerMiddleware=void 0;var NW=(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}};Ku.deserializerMiddleware=NW});var Hg=m(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});Vu.serializerMiddleware=void 0;var RW=(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})};Vu.serializerMiddleware=RW});var RR=m(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.getSerdePlugin=Yt.serializerMiddlewareOption=Yt.deserializerMiddlewareOption=void 0;var OW=Gg(),TW=Hg();Yt.deserializerMiddlewareOption={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0};Yt.serializerMiddlewareOption={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function qW(e,n,t){return{applyToStack:r=>{r.add((0,OW.deserializerMiddleware)(e,t),Yt.deserializerMiddlewareOption),r.add((0,TW.serializerMiddleware)(e,n),Yt.serializerMiddlewareOption)}}}Yt.getSerdePlugin=qW});var w=m(dc=>{"use strict";Object.defineProperty(dc,"__esModule",{value:!0});var $g=(z(),O(U));$g.__exportStar(Gg(),dc);$g.__exportStar(RR(),dc);$g.__exportStar(Hg(),dc)});var OR=m(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.getEndpointPlugin=Xr.endpointMiddlewareOptions=void 0;var BW=w(),MW=zg();Xr.endpointMiddlewareOptions={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:BW.serializerMiddlewareOption.name};var DW=(e,n)=>({applyToStack:t=>{t.addRelativeTo((0,MW.endpointMiddleware)({config:e,instructions:n}),Xr.endpointMiddlewareOptions)}});Xr.getEndpointPlugin=DW});var TR=m(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});Xu.resolveEndpointConfig=void 0;var Kg=jr(),FW=Ug(),LW=e=>{var n,t,r;let o=(n=e.tls)!==null&&n!==void 0?n:!0,{endpoint:s}=e,a=s!=null?async()=>(0,FW.toEndpointV1)(await(0,Kg.normalizeProvider)(s)()):void 0;return{...e,endpoint:a,tls:o,isCustomEndpoint:!!s,useDualstackEndpoint:(0,Kg.normalizeProvider)((t=e.useDualstackEndpoint)!==null&&t!==void 0?t:!1),useFipsEndpoint:(0,Kg.normalizeProvider)((r=e.useFipsEndpoint)!==null&&r!==void 0?r:!1)}};Xu.resolveEndpointConfig=LW});var BR=m(qR=>{"use strict";Object.defineProperty(qR,"__esModule",{value:!0})});var v=m(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});var lc=(z(),O(U));lc.__exportStar(NR(),Wr);lc.__exportStar(zg(),Wr);lc.__exportStar(OR(),Wr);lc.__exportStar(TR(),Wr);lc.__exportStar(BR(),Wr)});var Wu=m(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.DEFAULT_RETRY_MODE=wn.DEFAULT_MAX_ATTEMPTS=wn.RETRY_MODES=void 0;var MR;(function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"})(MR=wn.RETRY_MODES||(wn.RETRY_MODES={}));wn.DEFAULT_MAX_ATTEMPTS=3;wn.DEFAULT_RETRY_MODE=MR.STANDARD});var DR=m(kt=>{"use strict";Object.defineProperty(kt,"__esModule",{value:!0});kt.NODEJS_TIMEOUT_ERROR_CODES=kt.TRANSIENT_ERROR_STATUS_CODES=kt.TRANSIENT_ERROR_CODES=kt.THROTTLING_ERROR_CODES=kt.CLOCK_SKEW_ERROR_CODES=void 0;kt.CLOCK_SKEW_ERROR_CODES=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"];kt.THROTTLING_ERROR_CODES=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"];kt.TRANSIENT_ERROR_CODES=["TimeoutError","RequestTimeout","RequestTimeoutException"];kt.TRANSIENT_ERROR_STATUS_CODES=[500,502,503,504];kt.NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"]});var mc=m(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.isServerError=_t.isTransientError=_t.isThrottlingError=_t.isClockSkewError=_t.isRetryableByTrait=void 0;var uc=DR(),jW=e=>e.$retryable!==void 0;_t.isRetryableByTrait=jW;var UW=e=>uc.CLOCK_SKEW_ERROR_CODES.includes(e.name);_t.isClockSkewError=UW;var zW=e=>{var n,t;return((n=e.$metadata)===null||n===void 0?void 0:n.httpStatusCode)===429||uc.THROTTLING_ERROR_CODES.includes(e.name)||((t=e.$retryable)===null||t===void 0?void 0:t.throttling)==!0};_t.isThrottlingError=zW;var GW=e=>{var n;return uc.TRANSIENT_ERROR_CODES.includes(e.name)||uc.NODEJS_TIMEOUT_ERROR_CODES.includes((e==null?void 0:e.code)||"")||uc.TRANSIENT_ERROR_STATUS_CODES.includes(((n=e.$metadata)===null||n===void 0?void 0:n.httpStatusCode)||0)};_t.isTransientError=GW;var HW=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,_t.isTransientError)(e)}return!1};_t.isServerError=HW});var Xg=m(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.DefaultRateLimiter=void 0;var $W=mc(),Vg=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,$W.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))}};Yu.DefaultRateLimiter=Vg});var Uo=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 LR=m(Qu=>{"use strict";Object.defineProperty(Qu,"__esModule",{value:!0});Qu.getDefaultRetryBackoffStrategy=void 0;var FR=Uo(),KW=()=>{let e=FR.DEFAULT_RETRY_DELAY_BASE;return{computeNextBackoffDelay:r=>Math.floor(Math.min(FR.MAXIMUM_RETRY_DELAY,Math.random()*2**r*e)),setDelayBase:r=>{e=r}}};Qu.getDefaultRetryBackoffStrategy=KW});var jR=m(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Ju.createDefaultRetryToken=void 0;var VW=Uo(),XW=({retryDelay:e,retryCount:n,retryCost:t})=>({getRetryCount:()=>n,getRetryDelay:()=>Math.min(VW.MAXIMUM_RETRY_DELAY,e),getRetryCost:()=>t});Ju.createDefaultRetryToken=XW});var em=m(Zu=>{"use strict";Object.defineProperty(Zu,"__esModule",{value:!0});Zu.StandardRetryStrategy=void 0;var Wg=Wu(),ir=Uo(),WW=LR(),UR=jR(),Yg=class{constructor(n){this.maxAttempts=n,this.mode=Wg.RETRY_MODES.STANDARD,this.capacity=ir.INITIAL_RETRY_TOKENS,this.retryBackoffStrategy=(0,WW.getDefaultRetryBackoffStrategy)(),this.maxAttemptsProvider=typeof n=="function"?n:async()=>n}async acquireInitialRetryToken(n){return(0,UR.createDefaultRetryToken)({retryDelay:ir.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"?ir.THROTTLING_RETRY_DELAY_BASE:ir.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,UR.createDefaultRetryToken)({retryDelay:a,retryCount:n.getRetryCount()+1,retryCost:i})}throw new Error("No retry token available")}recordSuccess(n){var t;this.capacity=Math.max(ir.INITIAL_RETRY_TOKENS,this.capacity+((t=n.getRetryCost())!==null&&t!==void 0?t:ir.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 ${Wg.DEFAULT_MAX_ATTEMPTS}`),Wg.DEFAULT_MAX_ATTEMPTS}}shouldRetry(n,t,r){return n.getRetryCount()+1=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(n){return n==="TRANSIENT"?ir.TIMEOUT_RETRY_COST:ir.RETRY_COST}isRetryableError(n){return n==="THROTTLING"||n==="TRANSIENT"}};Zu.StandardRetryStrategy=Yg});var zR=m(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});tm.AdaptiveRetryStrategy=void 0;var YW=Wu(),QW=Xg(),JW=em(),Qg=class{constructor(n,t){this.maxAttemptsProvider=n,this.mode=YW.RETRY_MODES.ADAPTIVE;let{rateLimiter:r}=t??{};this.rateLimiter=r??new QW.DefaultRateLimiter,this.standardRetryStrategy=new JW.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)}};tm.AdaptiveRetryStrategy=Qg});var GR=m(nm=>{"use strict";Object.defineProperty(nm,"__esModule",{value:!0});nm.ConfiguredRetryStrategy=void 0;var ZW=Uo(),e8=em(),Jg=class extends e8.StandardRetryStrategy{constructor(n,t=ZW.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}};nm.ConfiguredRetryStrategy=Jg});var $R=m(HR=>{"use strict";Object.defineProperty(HR,"__esModule",{value:!0})});var At=m(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});var Yr=(z(),O(U));Yr.__exportStar(zR(),kn);Yr.__exportStar(GR(),kn);Yr.__exportStar(Xg(),kn);Yr.__exportStar(em(),kn);Yr.__exportStar(Wu(),kn);Yr.__exportStar(Uo(),kn);Yr.__exportStar($R(),kn)});function pc(){return rm>om.length-16&&(KR.default.randomFillSync(om),rm=0),om.slice(rm,rm+=16)}var KR,om,rm,Zg=ze(()=>{KR=Aa(require("crypto")),om=new Uint8Array(256),rm=om.length});var VR,XR=ze(()=>{VR=/^(?:[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 t8(e){return typeof e=="string"&&VR.test(e)}var ar,fc=ze(()=>{XR();ar=t8});function n8(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(!ar(t))throw TypeError("Stringified UUID is invalid");return t}var We,cr,yc=ze(()=>{fc();We=[];for(let e=0;e<256;++e)We.push((e+256).toString(16).substr(1));cr=n8});function r8(e,n,t){let r=n&&t||0,o=n||new Array(16);e=e||{};let s=e.node||WR,a=e.clockseq!==void 0?e.clockseq:eh;if(s==null||a==null){let _=e.random||(e.rng||pc)();s==null&&(s=WR=[_[0]|1,_[1],_[2],_[3],_[4],_[5]]),a==null&&(a=eh=(_[6]<<8|_[7])&16383)}let i=e.msecs!==void 0?e.msecs:Date.now(),u=e.nsecs!==void 0?e.nsecs:nh+1,l=i-th+(u-nh)/1e4;if(l<0&&e.clockseq===void 0&&(a=a+1&16383),(l<0||i>th)&&e.nsecs===void 0&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");th=i,nh=u,eh=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||cr(o)}var WR,eh,th,nh,YR,QR=ze(()=>{Zg();yc();th=0,nh=0;YR=r8});function o8(e){if(!ar(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 sm,rh=ze(()=>{fc();sm=o8});function s8(e){e=unescape(encodeURIComponent(e));let n=[];for(let t=0;t{yc();rh();i8="6ba7b810-9dad-11d1-80b4-00c04fd430c8",a8="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function c8(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),JR.default.createHash("md5").update(e).digest()}var JR,ZR,eO=ze(()=>{JR=Aa(require("crypto"));ZR=c8});var d8,tO,nO=ze(()=>{oh();eO();d8=im("v3",48,ZR),tO=d8});function l8(e,n,t){e=e||{};let r=e.random||(e.rng||pc)();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 cr(r)}var rO,oO=ze(()=>{Zg();yc();rO=l8});function u8(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),sO.default.createHash("sha1").update(e).digest()}var sO,iO,aO=ze(()=>{sO=Aa(require("crypto"));iO=u8});var m8,cO,dO=ze(()=>{oh();aO();m8=im("v5",80,iO),cO=m8});var lO,uO=ze(()=>{lO="00000000-0000-0000-0000-000000000000"});function p8(e){if(!ar(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var mO,pO=ze(()=>{fc();mO=p8});var sh={};ka(sh,{NIL:()=>lO,parse:()=>sm,stringify:()=>cr,v1:()=>YR,v3:()=>tO,v4:()=>rO,v5:()=>cO,validate:()=>ar,version:()=>mO});var ih=ze(()=>{QR();nO();oO();dO();uO();pO();fc();yc();rh()});var fO=m(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});am.getDefaultRetryQuota=void 0;var ah=At(),f8=(e,n)=>{var t,r,o;let s=e,a=(t=n==null?void 0:n.noRetryIncrement)!==null&&t!==void 0?t:ah.NO_RETRY_INCREMENT,i=(r=n==null?void 0:n.retryCost)!==null&&r!==void 0?r:ah.RETRY_COST,u=(o=n==null?void 0:n.timeoutRetryCost)!==null&&o!==void 0?o:ah.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 L=c(b);return l-=L,L},releaseRetryTokens:b=>{l+=b??a,l=Math.min(l,s)}})};am.getDefaultRetryQuota=f8});var ch=m(cm=>{"use strict";Object.defineProperty(cm,"__esModule",{value:!0});cm.defaultDelayDecider=void 0;var y8=At(),_8=(e,n)=>Math.floor(Math.min(y8.MAXIMUM_RETRY_DELAY,Math.random()*2**n*e));cm.defaultDelayDecider=_8});var dh=m(lm=>{"use strict";Object.defineProperty(lm,"__esModule",{value:!0});lm.defaultRetryDecider=void 0;var dm=mc(),g8=e=>e?(0,dm.isRetryableByTrait)(e)||(0,dm.isClockSkewError)(e)||(0,dm.isThrottlingError)(e)||(0,dm.isTransientError)(e):!1;lm.defaultRetryDecider=g8});var lh=m(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.asSdkError=void 0;var h8=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}`);um.asSdkError=h8});var ph=m(mm=>{"use strict";Object.defineProperty(mm,"__esModule",{value:!0});mm.StandardRetryStrategy=void 0;var uh=we(),C8=mc(),Qr=At(),S8=(ih(),O(sh)),E8=fO(),b8=ch(),P8=dh(),v8=lh(),mh=class{constructor(n,t){var r,o,s;this.maxAttemptsProvider=n,this.mode=Qr.RETRY_MODES.STANDARD,this.retryDecider=(r=t==null?void 0:t.retryDecider)!==null&&r!==void 0?r:P8.defaultRetryDecider,this.delayDecider=(o=t==null?void 0:t.delayDecider)!==null&&o!==void 0?o:b8.defaultDelayDecider,this.retryQuota=(s=t==null?void 0:t.retryQuota)!==null&&s!==void 0?s:(0,E8.getDefaultRetryQuota)(Qr.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}}};mm.StandardRetryStrategy=mh;var x8=e=>{if(!uh.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 _O=m(pm=>{"use strict";Object.defineProperty(pm,"__esModule",{value:!0});pm.AdaptiveRetryStrategy=void 0;var yO=At(),w8=ph(),fh=class extends w8.StandardRetryStrategy{constructor(n,t){let{rateLimiter:r,...o}=t??{};super(n,o),this.rateLimiter=r??new yO.DefaultRateLimiter,this.mode=yO.RETRY_MODES.ADAPTIVE}async retry(n,t){return super.retry(n,t,{beforeRequest:async()=>this.rateLimiter.getSendToken(),afterRequest:r=>{this.rateLimiter.updateClientSendingRate(r)}})}};pm.AdaptiveRetryStrategy=fh});var hO=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 gO=jr(),zo=At();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:zo.DEFAULT_MAX_ATTEMPTS};var k8=e=>{var n;let{retryStrategy:t}=e,r=(0,gO.normalizeProvider)((n=e.maxAttempts)!==null&&n!==void 0?n:zo.DEFAULT_MAX_ATTEMPTS);return{...e,maxAttempts:r,retryStrategy:async()=>t||(await(0,gO.normalizeProvider)(e.retryMode)()===zo.RETRY_MODES.ADAPTIVE?new zo.AdaptiveRetryStrategy(r):new zo.StandardRetryStrategy(r))}};Oe.resolveRetryConfig=k8;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:zo.DEFAULT_RETRY_MODE}});var SO=m(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.getOmitRetryHeadersPlugin=Qt.omitRetryHeadersMiddlewareOptions=Qt.omitRetryHeadersMiddleware=void 0;var A8=we(),CO=At(),I8=()=>e=>async n=>{let{request:t}=n;return A8.HttpRequest.isInstance(t)&&(delete t.headers[CO.INVOCATION_ID_HEADER],delete t.headers[CO.REQUEST_HEADER]),e(n)};Qt.omitRetryHeadersMiddleware=I8;Qt.omitRetryHeadersMiddlewareOptions={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0};var N8=e=>({applyToStack:n=>{n.addRelativeTo((0,Qt.omitRetryHeadersMiddleware)(),Qt.omitRetryHeadersMiddlewareOptions)}});Qt.getOmitRetryHeadersPlugin=N8});var bO=m(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.getRetryAfterHint=gt.getRetryPlugin=gt.retryMiddlewareOptions=gt.retryMiddleware=void 0;var _h=we(),yh=mc(),EO=At(),R8=(ih(),O(sh)),O8=lh(),T8=e=>(n,t)=>async r=>{let o=await e.retryStrategy(),s=await e.maxAttempts();if(q8(o)){o=o;let a=await o.acquireInitialRetryToken(t.partition_id),i=new Error,u=0,l=0,{request:c}=r;for(_h.HttpRequest.isInstance(c)&&(c.headers[EO.INVOCATION_ID_HEADER]=(0,R8.v4)());;)try{_h.HttpRequest.isInstance(c)&&(c.headers[EO.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 _=B8(y);i=(0,O8.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)};gt.retryMiddleware=T8;var q8=e=>typeof e.acquireInitialRetryToken<"u"&&typeof e.refreshRetryTokenForRetry<"u"&&typeof e.recordSuccess<"u",B8=e=>{let n={errorType:M8(e)},t=(0,gt.getRetryAfterHint)(e.$response);return t&&(n.retryAfterHint=t),n},M8=e=>(0,yh.isThrottlingError)(e)?"THROTTLING":(0,yh.isTransientError)(e)?"TRANSIENT":(0,yh.isServerError)(e)?"SERVER_ERROR":"CLIENT_ERROR";gt.retryMiddlewareOptions={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};var D8=e=>({applyToStack:n=>{n.add((0,gt.retryMiddleware)(e),gt.retryMiddlewareOptions)}});gt.getRetryPlugin=D8;var F8=e=>{if(!_h.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)};gt.getRetryAfterHint=F8});var In=m(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});var Jr=(z(),O(U));Jr.__exportStar(_O(),An);Jr.__exportStar(ph(),An);Jr.__exportStar(hO(),An);Jr.__exportStar(ch(),An);Jr.__exportStar(SO(),An);Jr.__exportStar(dh(),An);Jr.__exportStar(bO(),An)});var PO=m(fm=>{"use strict";Object.defineProperty(fm,"__esModule",{value:!0});fm.resolveClientEndpointParameters=void 0;var L8=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"});fm.resolveClientEndpointParameters=L8});var vO=m((fNe,j8)=>{j8.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 xO=m(ym=>{"use strict";Object.defineProperty(ym,"__esModule",{value:!0});ym.resolveStsAuthConfig=void 0;var U8=vn(),z8=(e,{stsClientCtor:n})=>(0,U8.resolveAwsAuthConfig)({...e,stsClientCtor:n});ym.resolveStsAuthConfig=z8});var wO=m(_m=>{"use strict";Object.defineProperty(_m,"__esModule",{value:!0});_m.resolveClientEndpointParameters=void 0;var G8=e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"});_m.resolveClientEndpointParameters=G8});var kO=m((gNe,H8)=>{H8.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 gm=m(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.STSServiceException=Go.__ServiceException=void 0;var AO=E();Object.defineProperty(Go,"__ServiceException",{enumerable:!0,get:function(){return AO.ServiceException}});var gh=class e extends AO.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,e.prototype)}};Go.STSServiceException=gh});var lr=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 wh=E(),dr=gm(),hh=class e extends dr.STSServiceException{constructor(n){super({name:"ExpiredTokenException",$fault:"client",...n}),this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.ExpiredTokenException=hh;var Ch=class e extends dr.STSServiceException{constructor(n){super({name:"MalformedPolicyDocumentException",$fault:"client",...n}),this.name="MalformedPolicyDocumentException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.MalformedPolicyDocumentException=Ch;var Sh=class e extends dr.STSServiceException{constructor(n){super({name:"PackedPolicyTooLargeException",$fault:"client",...n}),this.name="PackedPolicyTooLargeException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.PackedPolicyTooLargeException=Sh;var Eh=class e extends dr.STSServiceException{constructor(n){super({name:"RegionDisabledException",$fault:"client",...n}),this.name="RegionDisabledException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.RegionDisabledException=Eh;var bh=class e extends dr.STSServiceException{constructor(n){super({name:"IDPRejectedClaimException",$fault:"client",...n}),this.name="IDPRejectedClaimException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.IDPRejectedClaimException=bh;var Ph=class e extends dr.STSServiceException{constructor(n){super({name:"InvalidIdentityTokenException",$fault:"client",...n}),this.name="InvalidIdentityTokenException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.InvalidIdentityTokenException=Ph;var vh=class e extends dr.STSServiceException{constructor(n){super({name:"IDPCommunicationErrorException",$fault:"client",...n}),this.name="IDPCommunicationErrorException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.IDPCommunicationErrorException=vh;var xh=class e extends dr.STSServiceException{constructor(n){super({name:"InvalidAuthorizationMessageException",$fault:"client",...n}),this.name="InvalidAuthorizationMessageException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};ae.InvalidAuthorizationMessageException=xh;var $8=e=>({...e,...e.SecretAccessKey&&{SecretAccessKey:wh.SENSITIVE_STRING}});ae.CredentialsFilterSensitiveLog=$8;var K8=e=>({...e,...e.Credentials&&{Credentials:(0,ae.CredentialsFilterSensitiveLog)(e.Credentials)}});ae.AssumeRoleResponseFilterSensitiveLog=K8;var V8=e=>({...e,...e.SAMLAssertion&&{SAMLAssertion:wh.SENSITIVE_STRING}});ae.AssumeRoleWithSAMLRequestFilterSensitiveLog=V8;var X8=e=>({...e,...e.Credentials&&{Credentials:(0,ae.CredentialsFilterSensitiveLog)(e.Credentials)}});ae.AssumeRoleWithSAMLResponseFilterSensitiveLog=X8;var W8=e=>({...e,...e.WebIdentityToken&&{WebIdentityToken:wh.SENSITIVE_STRING}});ae.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=W8;var Y8=e=>({...e,...e.Credentials&&{Credentials:(0,ae.CredentialsFilterSensitiveLog)(e.Credentials)}});ae.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=Y8;var Q8=e=>({...e,...e.Credentials&&{Credentials:(0,ae.CredentialsFilterSensitiveLog)(e.Credentials)}});ae.GetFederationTokenResponseFilterSensitiveLog=Q8;var J8=e=>({...e,...e.Credentials&&{Credentials:(0,ae.CredentialsFilterSensitiveLog)(e.Credentials)}});ae.GetSessionTokenResponseFilterSensitiveLog=J8});var hm=m(Nn=>{"use strict";var IO=":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",Z8=IO+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",NO="["+IO+"]["+Z8+"]*",e4=new RegExp("^"+NO+"$"),t4=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")};Nn.isExist=function(e){return typeof e<"u"};Nn.isEmptyObject=function(e){return Object.keys(e).length===0};Nn.merge=function(e,n,t){if(n){let r=Object.keys(n),o=r.length;for(let s=0;s{"use strict";var kh=hm(),r4={allowBooleanAttributes:!1,unpairedTags:[]};BO.validate=function(e,n){n=Object.assign({},r4,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--),!u4(u)){let y;return u.trim().length===0?y="Invalid space after '<'.":y="Tag '"+u+"' is an invalid name.",Fe("InvalidTag",y,ut(e,s))}let l=i4(e,s);if(l===!1)return Fe("InvalidAttr","Attributes for '"+u+"' have open quote.",ut(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 _=qO(c,n);if(_===!0)r=!0;else return Fe(_.err.code,_.err.msg,ut(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.",ut(e,a));{let y=t.pop();if(u!==y.tagName){let _=ut(e,y.tagStartPos);return Fe("InvalidTag","Expected closing tag '"+y.tagName+"' (opened in line "+_.line+", col "+_.col+") instead of closing tag '"+u+"'.",ut(e,a))}t.length==0&&(o=!0)}}else return Fe("InvalidTag","Closing tag '"+u+"' doesn't have proper closing.",ut(e,s));else{let y=qO(c,n);if(y!==!0)return Fe(y.err.code,y.err.msg,ut(e,s-c.length+y.err.line));if(o===!0)return Fe("InvalidXml","Multiple possible root nodes found.",ut(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 RO(e){return e===" "||e===" "||e===` +`||e==="\r"}function OO(e,n){let t=n;for(;n5&&r==="xml")return Fe("InvalidXml","XML declaration allowed only at the start of the document.",ut(e,n));if(e[n]=="?"&&e[n+1]==">"){n++;break}else continue}return n}function TO(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 o4='"',s4="'";function i4(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 a4=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function qO(e,n){let t=kh.getAllMatches(e,a4),r={};for(let o=0;o{var MO={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}},m4=function(e){return Object.assign({},MO,e)};Ih.buildOptions=m4;Ih.defaultOptions=MO});var LO=m((PNe,FO)=>{"use strict";var Nh=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})}};FO.exports=Nh});var UO=m((vNe,jO)=>{var p4=hm();function f4(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 y4(e,n){let t="";for(;n{var b4=/^[-+]?0x[a-fA-F0-9]+$/,P4=/^([\-\+])?(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 v4={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function x4(e,n={}){if(n=Object.assign({},v4,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&&b4.test(t))return Number.parseInt(t,16);{let r=P4.exec(t);if(r){let o=r[1],s=r[2],a=w4(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 w4(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}zO.exports=x4});var $O=m((kNe,HO)=>{"use strict";var qh=hm(),gc=LO(),k4=UO(),A4=GO(),wNe="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,qh.nameRegexp),Rh=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=I4,this.parseXml=q4,this.parseTextData=N4,this.resolveNameSpace=R4,this.buildAttributesMap=T4,this.isItStopNode=F4,this.replaceEntitiesValue=M4,this.readStopNodeData=j4,this.saveTextToParentTag=D4,this.addChild=B4}};function I4(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?Th(e,this.options.parseTagValue,this.options.numberParseOptions):e.trim()===e?Th(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function R4(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 O4=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function T4(e,n,t){if(!this.options.ignoreAttributes&&typeof e=="string"){let r=qh.getAllMatches(e,O4),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=Oh(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 gc(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=Zr(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=k4(e,s);this.docTypeEntities=i.entities,s=i.i}else if(e.substr(s+1,2)==="!["){let i=Zr(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=Oh(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 L=this.readStopNodeData(e,u,y+1);if(!L)throw new Error(`Unexpected end of ${u}`);s=L.i,C=L.tagContent}let b=new gc(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 gc(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 gc(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 B4(e,n,t){let r=this.options.updateTag(n.tagname,t,n[":@"]);r===!1||(typeof r=="string"&&(n.tagname=r),e.addChild(n))}var M4=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 D4(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 F4(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 L4(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=Zr(e,"?>",t+1,"StopNode is not closed.");else if(e.substr(t+1,3)==="!--")t=Zr(e,"-->",t+3,"StopNode is not closed.");else if(e.substr(t+1,2)==="![")t=Zr(e,"]]>",t,"StopNode is not closed.")-2;else{let s=Oh(e,t,">");s&&((s&&s.tagName)===n&&s.tagExp[s.tagExp.length-1]!=="/"&&o++,t=s.closeIndex)}}function Th(e,n,t){if(n&&typeof e=="string"){let r=e.trim();return r==="true"?!0:r==="false"?!1:A4(e,t)}else return qh.isExist(e)?e:""}HO.exports=Rh});var XO=m(VO=>{"use strict";function U4(e,n){return KO(e,n)}function KO(e,n,t){let r,o={};for(let s=0;s0&&(o[n.textNodeName]=r):r!==void 0&&(o[n.textNodeName]=r),o}function z4(e){let n=Object.keys(e);for(let t=0;t{var{buildOptions:$4}=DO(),K4=$O(),{prettify:V4}=XO(),X4=Ah(),Bh=class{constructor(n){this.externalEntities={},this.options=$4(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=X4.validate(n,t);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}let r=new K4(this.options);r.addExternalEntities(this.externalEntities);let o=r.parseXml(n);return this.options.preserveOrder||o===void 0?o:V4(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}};WO.exports=Bh});var tT=m((NNe,eT)=>{var W4=` +`;function Y4(e,n){let t="";return n.format&&n.indentBy.length>0&&(t=W4),JO(e,n,"",t)}function JO(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=QO(i[":@"],n),L=u==="?xml"?"":r,j=i[u][0][n.textNodeName];j=j.length!==0?" "+j:"",o+=L+`<${u}${j}${b}?>`,s=!0;continue}let c=r;c!==""&&(c+=n.indentBy);let y=QO(i[":@"],n),_=r+`<${u}${y}`,C=JO(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 Q4(e){let n=Object.keys(e);for(let t=0;t0&&n.processEntities)for(let t=0;t{"use strict";var Z4=tT(),e5={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 ur(e){this.options=Object.assign({},e5,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=r5),this.processTextOrObjNode=t5,this.options.format?(this.indentate=n5,this.tagEndChar=`> +`,this.newLine=` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}ur.prototype.build=function(e){return this.options.preserveOrder?Z4(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)};ur.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}};ur.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 o5=Ah(),s5=YO(),i5=rT();oT.exports={XMLParser:s5,XMLValidator:o5,XMLBuilder:i5}});var On=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 a5=we(),Z=E(),c5=Mh(),mr=lr(),d5=gm(),l5=async(e,n)=>{let t=yr,r;return r=gr({...M5(e,n),Action:"AssumeRole",Version:"2011-06-15"}),fr(n,t,"/",void 0,r)};ye.se_AssumeRoleCommand=l5;var u5=async(e,n)=>{let t=yr,r;return r=gr({...D5(e,n),Action:"AssumeRoleWithSAML",Version:"2011-06-15"}),fr(n,t,"/",void 0,r)};ye.se_AssumeRoleWithSAMLCommand=u5;var m5=async(e,n)=>{let t=yr,r;return r=gr({...F5(e,n),Action:"AssumeRoleWithWebIdentity",Version:"2011-06-15"}),fr(n,t,"/",void 0,r)};ye.se_AssumeRoleWithWebIdentityCommand=m5;var p5=async(e,n)=>{let t=yr,r;return r=gr({...L5(e,n),Action:"DecodeAuthorizationMessage",Version:"2011-06-15"}),fr(n,t,"/",void 0,r)};ye.se_DecodeAuthorizationMessageCommand=p5;var f5=async(e,n)=>{let t=yr,r;return r=gr({...j5(e,n),Action:"GetAccessKeyInfo",Version:"2011-06-15"}),fr(n,t,"/",void 0,r)};ye.se_GetAccessKeyInfoCommand=f5;var y5=async(e,n)=>{let t=yr,r;return r=gr({...U5(e,n),Action:"GetCallerIdentity",Version:"2011-06-15"}),fr(n,t,"/",void 0,r)};ye.se_GetCallerIdentityCommand=y5;var _5=async(e,n)=>{let t=yr,r;return r=gr({...z5(e,n),Action:"GetFederationToken",Version:"2011-06-15"}),fr(n,t,"/",void 0,r)};ye.se_GetFederationTokenCommand=_5;var g5=async(e,n)=>{let t=yr,r;return r=gr({...G5(e,n),Action:"GetSessionToken",Version:"2011-06-15"}),fr(n,t,"/",void 0,r)};ye.se_GetSessionTokenCommand=g5;var h5=async(e,n)=>{if(e.statusCode>=300)return C5(e,n);let t=await Rn(e.body,n),r={};return r=W5(t.AssumeRoleResult,n),{$metadata:tt(e),...r}};ye.de_AssumeRoleCommand=h5;var C5=async(e,n)=>{let t={...e,body:await _r(e.body,n)},r=hr(e,t.body);switch(r){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await Dh(t,n);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await Cm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Sm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await hc(t,n);default:let o=t.body;return pr({output:e,parsedBody:o.Error,errorCode:r})}},S5=async(e,n)=>{if(e.statusCode>=300)return E5(e,n);let t=await Rn(e.body,n),r={};return r=Y5(t.AssumeRoleWithSAMLResult,n),{$metadata:tt(e),...r}};ye.de_AssumeRoleWithSAMLCommand=S5;var E5=async(e,n)=>{let t={...e,body:await _r(e.body,n)},r=hr(e,t.body);switch(r){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await Dh(t,n);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await sT(t,n);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await iT(t,n);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await Cm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Sm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await hc(t,n);default:let o=t.body;return pr({output:e,parsedBody:o.Error,errorCode:r})}},b5=async(e,n)=>{if(e.statusCode>=300)return P5(e,n);let t=await Rn(e.body,n),r={};return r=Q5(t.AssumeRoleWithWebIdentityResult,n),{$metadata:tt(e),...r}};ye.de_AssumeRoleWithWebIdentityCommand=b5;var P5=async(e,n)=>{let t={...e,body:await _r(e.body,n)},r=hr(e,t.body);switch(r){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await Dh(t,n);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await q5(t,n);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await sT(t,n);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await iT(t,n);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await Cm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Sm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await hc(t,n);default:let o=t.body;return pr({output:e,parsedBody:o.Error,errorCode:r})}},v5=async(e,n)=>{if(e.statusCode>=300)return x5(e,n);let t=await Rn(e.body,n),r={};return r=J5(t.DecodeAuthorizationMessageResult,n),{$metadata:tt(e),...r}};ye.de_DecodeAuthorizationMessageCommand=v5;var x5=async(e,n)=>{let t={...e,body:await _r(e.body,n)},r=hr(e,t.body);switch(r){case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await B5(t,n);default:let o=t.body;return pr({output:e,parsedBody:o.Error,errorCode:r})}},w5=async(e,n)=>{if(e.statusCode>=300)return k5(e,n);let t=await Rn(e.body,n),r={};return r=tY(t.GetAccessKeyInfoResult,n),{$metadata:tt(e),...r}};ye.de_GetAccessKeyInfoCommand=w5;var k5=async(e,n)=>{let t={...e,body:await _r(e.body,n)},r=hr(e,t.body),o=t.body;return pr({output:e,parsedBody:o.Error,errorCode:r})},A5=async(e,n)=>{if(e.statusCode>=300)return I5(e,n);let t=await Rn(e.body,n),r={};return r=nY(t.GetCallerIdentityResult,n),{$metadata:tt(e),...r}};ye.de_GetCallerIdentityCommand=A5;var I5=async(e,n)=>{let t={...e,body:await _r(e.body,n)},r=hr(e,t.body),o=t.body;return pr({output:e,parsedBody:o.Error,errorCode:r})},N5=async(e,n)=>{if(e.statusCode>=300)return R5(e,n);let t=await Rn(e.body,n),r={};return r=rY(t.GetFederationTokenResult,n),{$metadata:tt(e),...r}};ye.de_GetFederationTokenCommand=N5;var R5=async(e,n)=>{let t={...e,body:await _r(e.body,n)},r=hr(e,t.body);switch(r){case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await Cm(t,n);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Sm(t,n);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await hc(t,n);default:let o=t.body;return pr({output:e,parsedBody:o.Error,errorCode:r})}},O5=async(e,n)=>{if(e.statusCode>=300)return T5(e,n);let t=await Rn(e.body,n),r={};return r=oY(t.GetSessionTokenResult,n),{$metadata:tt(e),...r}};ye.de_GetSessionTokenCommand=O5;var T5=async(e,n)=>{let t={...e,body:await _r(e.body,n)},r=hr(e,t.body);switch(r){case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await hc(t,n);default:let o=t.body;return pr({output:e,parsedBody:o.Error,errorCode:r})}},Dh=async(e,n)=>{let t=e.body,r=Z5(t.Error,n),o=new mr.ExpiredTokenException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},q5=async(e,n)=>{let t=e.body,r=sY(t.Error,n),o=new mr.IDPCommunicationErrorException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},sT=async(e,n)=>{let t=e.body,r=iY(t.Error,n),o=new mr.IDPRejectedClaimException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},B5=async(e,n)=>{let t=e.body,r=aY(t.Error,n),o=new mr.InvalidAuthorizationMessageException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},iT=async(e,n)=>{let t=e.body,r=cY(t.Error,n),o=new mr.InvalidIdentityTokenException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},Cm=async(e,n)=>{let t=e.body,r=dY(t.Error,n),o=new mr.MalformedPolicyDocumentException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},Sm=async(e,n)=>{let t=e.body,r=lY(t.Error,n),o=new mr.PackedPolicyTooLargeException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},hc=async(e,n)=>{let t=e.body,r=uY(t.Error,n),o=new mr.RegionDisabledException({$metadata:tt(e),...r});return(0,Z.decorateServiceException)(o,t)},M5=(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=Em(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=aT(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=X5(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=K5(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},D5=(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=Em(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},F5=(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=Em(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},L5=(e,n)=>{let t={};return e.EncodedMessage!=null&&(t.EncodedMessage=e.EncodedMessage),t},j5=(e,n)=>{let t={};return e.AccessKeyId!=null&&(t.AccessKeyId=e.AccessKeyId),t},U5=(e,n)=>({}),z5=(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=Em(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=aT(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},G5=(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},Em=(e,n)=>{let t={},r=1;for(let o of e){if(o===null)continue;let s=H5(o,n);Object.entries(s).forEach(([a,i])=>{t[`member.${r}.${a}`]=i}),r++}return t},H5=(e,n)=>{let t={};return e.arn!=null&&(t.arn=e.arn),t},$5=(e,n)=>{let t={};return e.ProviderArn!=null&&(t.ProviderArn=e.ProviderArn),e.ContextAssertion!=null&&(t.ContextAssertion=e.ContextAssertion),t},K5=(e,n)=>{let t={},r=1;for(let o of e){if(o===null)continue;let s=$5(o,n);Object.entries(s).forEach(([a,i])=>{t[`member.${r}.${a}`]=i}),r++}return t},V5=(e,n)=>{let t={};return e.Key!=null&&(t.Key=e.Key),e.Value!=null&&(t.Value=e.Value),t},X5=(e,n)=>{let t={},r=1;for(let o of e)o!==null&&(t[`member.${r}`]=o,r++);return t},aT=(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},Fh=(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},W5=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=Cc(e.Credentials,n)),e.AssumedRoleUser!==void 0&&(t.AssumedRoleUser=Fh(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},Y5=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=Cc(e.Credentials,n)),e.AssumedRoleUser!==void 0&&(t.AssumedRoleUser=Fh(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},Q5=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=Cc(e.Credentials,n)),e.SubjectFromWebIdentityToken!==void 0&&(t.SubjectFromWebIdentityToken=(0,Z.expectString)(e.SubjectFromWebIdentityToken)),e.AssumedRoleUser!==void 0&&(t.AssumedRoleUser=Fh(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},Cc=(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},J5=(e,n)=>{let t={};return e.DecodedMessage!==void 0&&(t.DecodedMessage=(0,Z.expectString)(e.DecodedMessage)),t},Z5=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},eY=(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},tY=(e,n)=>{let t={};return e.Account!==void 0&&(t.Account=(0,Z.expectString)(e.Account)),t},nY=(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},rY=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=Cc(e.Credentials,n)),e.FederatedUser!==void 0&&(t.FederatedUser=eY(e.FederatedUser,n)),e.PackedPolicySize!==void 0&&(t.PackedPolicySize=(0,Z.strictParseInt32)(e.PackedPolicySize)),t},oY=(e,n)=>{let t={};return e.Credentials!==void 0&&(t.Credentials=Cc(e.Credentials,n)),t},sY=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},iY=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},aY=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},cY=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},dY=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},lY=(e,n)=>{let t={};return e.message!==void 0&&(t.message=(0,Z.expectString)(e.message)),t},uY=(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"]}),mY=(e,n)=>(0,Z.collectBody)(e,n).then(t=>n.utf8Encoder(t)),pr=(0,Z.withBaseException)(d5.STSServiceException),fr=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 a5.HttpRequest(l)},yr={"content-type":"application/x-www-form-urlencoded"},Rn=(e,n)=>mY(e,n).then(t=>{if(t.length){let r=new c5.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{}}),_r=async(e,n)=>{let t=await Rn(e,n);return t.Error&&(t.Error.message=t.Error.message??t.Error.Message),t},gr=e=>Object.entries(e).map(([n,t])=>(0,Z.extendedEncodeURIComponent)(n)+"="+(0,Z.extendedEncodeURIComponent)(t)).join("&"),hr=(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 bm=m(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.AssumeRoleCommand=Ho.$Command=void 0;var pY=vn(),fY=v(),yY=w(),dT=E();Object.defineProperty(Ho,"$Command",{enumerable:!0,get:function(){return dT.Command}});var _Y=x(),gY=lr(),cT=On(),Lh=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,yY.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,fY.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,pY.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"AssumeRoleCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:gY.AssumeRoleResponseFilterSensitiveLog,[_Y.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,cT.se_AssumeRoleCommand)(n,t)}deserialize(n,t){return(0,cT.de_AssumeRoleCommand)(n,t)}};Ho.AssumeRoleCommand=Lh});var Pm=m($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.AssumeRoleWithWebIdentityCommand=$o.$Command=void 0;var hY=v(),CY=w(),mT=E();Object.defineProperty($o,"$Command",{enumerable:!0,get:function(){return mT.Command}});var SY=x(),lT=lr(),uT=On(),jh=class e extends mT.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,CY.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,hY.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"AssumeRoleWithWebIdentityCommand",inputFilterSensitiveLog:lT.AssumeRoleWithWebIdentityRequestFilterSensitiveLog,outputFilterSensitiveLog:lT.AssumeRoleWithWebIdentityResponseFilterSensitiveLog,[SY.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,uT.se_AssumeRoleWithWebIdentityCommand)(n,t)}deserialize(n,t){return(0,uT.de_AssumeRoleWithWebIdentityCommand)(n,t)}};$o.AssumeRoleWithWebIdentityCommand=jh});var Uh=m(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.decorateDefaultCredentialProvider=Jt.getDefaultRoleAssumerWithWebIdentity=Jt.getDefaultRoleAssumer=void 0;var EY=bm(),bY=Pm(),pT="us-east-1",fT=e=>typeof e!="function"?e===void 0?pT:e:async()=>{try{return await e()}catch{return pT}},PY=(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:fT(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}}};Jt.getDefaultRoleAssumer=PY;var vY=(e,n)=>{let t;return async r=>{if(!t){let{logger:s,region:a,requestHandler:i}=e;t=new n({logger:s,region:fT(a||e.region),...i?{requestHandler:i}:{}})}let{Credentials:o}=await t.send(new bY.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}}};Jt.getDefaultRoleAssumerWithWebIdentity=vY;var xY=e=>n=>e({roleAssumer:(0,Jt.getDefaultRoleAssumer)(n,n.stsClientCtor),roleAssumerWithWebIdentity:(0,Jt.getDefaultRoleAssumerWithWebIdentity)(n,n.stsClientCtor),...n});Jt.decorateDefaultCredentialProvider=xY});var yT=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 wY=ge();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 kY=()=>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 wY.CredentialsProviderError("Unable to find environment variable credentials.")};nt.fromEnv=kY});var _T=m(zh=>{"use strict";Object.defineProperty(zh,"__esModule",{value:!0});var AY=(z(),O(U));AY.__exportStar(yT(),zh)});var Sc=m(vm=>{"use strict";Object.defineProperty(vm,"__esModule",{value:!0});vm.getHomeDir=void 0;var IY=require("os"),NY=require("path"),Gh={},RY=()=>process&&process.geteuid?`${process.geteuid()}`:"DEFAULT",OY=()=>{let{HOME:e,USERPROFILE:n,HOMEPATH:t,HOMEDRIVE:r=`C:${NY.sep}`}=process.env;if(e)return e;if(n)return n;if(t)return`${r}${t}`;let o=RY();return Gh[o]||(Gh[o]=(0,IY.homedir)()),Gh[o]};vm.getHomeDir=OY});var gT=m(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.getProfileName=Zt.DEFAULT_PROFILE=Zt.ENV_PROFILE=void 0;Zt.ENV_PROFILE="AWS_PROFILE";Zt.DEFAULT_PROFILE="default";var TY=e=>e.profile||process.env[Zt.ENV_PROFILE]||Zt.DEFAULT_PROFILE;Zt.getProfileName=TY});var Hh=m(xm=>{"use strict";Object.defineProperty(xm,"__esModule",{value:!0});xm.getSSOTokenFilepath=void 0;var qY=require("crypto"),BY=require("path"),MY=Sc(),DY=e=>{let t=(0,qY.createHash)("sha1").update(e).digest("hex");return(0,BY.join)((0,MY.getHomeDir)(),".aws","sso","cache",`${t}.json`)};xm.getSSOTokenFilepath=DY});var hT=m(wm=>{"use strict";Object.defineProperty(wm,"__esModule",{value:!0});wm.getSSOTokenFromFile=void 0;var FY=require("fs"),LY=Hh(),{readFile:jY}=FY.promises,UY=async e=>{let n=(0,LY.getSSOTokenFilepath)(e),t=await jY(n,"utf8");return JSON.parse(t)};wm.getSSOTokenFromFile=UY});var $h=m(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.getConfigFilepath=eo.ENV_CONFIG_PATH=void 0;var zY=require("path"),GY=Sc();eo.ENV_CONFIG_PATH="AWS_CONFIG_FILE";var HY=()=>process.env[eo.ENV_CONFIG_PATH]||(0,zY.join)((0,GY.getHomeDir)(),".aws","config");eo.getConfigFilepath=HY});var CT=m(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.getCredentialsFilepath=to.ENV_CREDENTIALS_PATH=void 0;var $Y=require("path"),KY=Sc();to.ENV_CREDENTIALS_PATH="AWS_SHARED_CREDENTIALS_FILE";var VY=()=>process.env[to.ENV_CREDENTIALS_PATH]||(0,$Y.join)((0,KY.getHomeDir)(),".aws","credentials");to.getCredentialsFilepath=VY});var ET=m(km=>{"use strict";Object.defineProperty(km,"__esModule",{value:!0});km.getProfileData=void 0;var ST=/^profile\s(["'])?([^\1]+)\1$/,XY=e=>Object.entries(e).filter(([n])=>ST.test(n)).reduce((n,[t,r])=>({...n,[ST.exec(t)[2]]:r}),{...e.default&&{default:e.default}});km.getProfileData=XY});var Kh=m(Am=>{"use strict";Object.defineProperty(Am,"__esModule",{value:!0});Am.parseIni=void 0;var WY=["__proto__","profile __proto__"],YY=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),WY.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};Am.parseIni=YY});var Xh=m(Im=>{"use strict";Object.defineProperty(Im,"__esModule",{value:!0});Im.slurpFile=void 0;var QY=require("fs"),{readFile:JY}=QY.promises,Vh={},ZY=(e,n)=>((!Vh[e]||n!=null&&n.ignoreCache)&&(Vh[e]=JY(e,"utf8")),Vh[e]);Im.slurpFile=ZY});var Wh=m(Nm=>{"use strict";Object.defineProperty(Nm,"__esModule",{value:!0});Nm.loadSharedConfigFiles=void 0;var e9=$h(),t9=CT(),n9=ET(),bT=Kh(),PT=Xh(),vT=()=>({}),r9=async(e={})=>{let{filepath:n=(0,t9.getCredentialsFilepath)(),configFilepath:t=(0,e9.getConfigFilepath)()}=e,r=await Promise.all([(0,PT.slurpFile)(t,{ignoreCache:e.ignoreCache}).then(bT.parseIni).then(n9.getProfileData).catch(vT),(0,PT.slurpFile)(n,{ignoreCache:e.ignoreCache}).then(bT.parseIni).catch(vT)]);return{configFile:r[0],credentialsFile:r[1]}};Nm.loadSharedConfigFiles=r9});var wT=m(Rm=>{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});Rm.getSsoSessionData=void 0;var xT=/^sso-session\s(["'])?([^\1]+)\1$/,o9=e=>Object.entries(e).filter(([n])=>xT.test(n)).reduce((n,[t,r])=>({...n,[xT.exec(t)[2]]:r}),{});Rm.getSsoSessionData=o9});var kT=m(Om=>{"use strict";Object.defineProperty(Om,"__esModule",{value:!0});Om.loadSsoSessionData=void 0;var s9=$h(),i9=wT(),a9=Kh(),c9=Xh(),d9=()=>({}),l9=async(e={})=>{var n;return(0,c9.slurpFile)((n=e.configFilepath)!==null&&n!==void 0?n:(0,s9.getConfigFilepath)()).then(a9.parseIni).then(i9.getSsoSessionData).catch(d9)};Om.loadSsoSessionData=l9});var AT=m(Tm=>{"use strict";Object.defineProperty(Tm,"__esModule",{value:!0});Tm.mergeConfigFiles=void 0;var u9=(...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};Tm.mergeConfigFiles=u9});var IT=m(qm=>{"use strict";Object.defineProperty(qm,"__esModule",{value:!0});qm.parseKnownFiles=void 0;var m9=Wh(),p9=AT(),f9=async e=>{let n=await(0,m9.loadSharedConfigFiles)(e);return(0,p9.mergeConfigFiles)(n.configFile,n.credentialsFile)};qm.parseKnownFiles=f9});var RT=m(NT=>{"use strict";Object.defineProperty(NT,"__esModule",{value:!0})});var Bt=m(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});var Cr=(z(),O(U));Cr.__exportStar(Sc(),en);Cr.__exportStar(gT(),en);Cr.__exportStar(Hh(),en);Cr.__exportStar(hT(),en);Cr.__exportStar(Wh(),en);Cr.__exportStar(kT(),en);Cr.__exportStar(IT(),en);Cr.__exportStar(RT(),en)});var OT=m(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.fromEnv=rt.ENV_EXPIRATION=rt.ENV_SESSION=rt.ENV_SECRET=rt.ENV_KEY=void 0;var y9=ge();rt.ENV_KEY="AWS_ACCESS_KEY_ID";rt.ENV_SECRET="AWS_SECRET_ACCESS_KEY";rt.ENV_SESSION="AWS_SESSION_TOKEN";rt.ENV_EXPIRATION="AWS_CREDENTIAL_EXPIRATION";var _9=()=>async()=>{let e=process.env[rt.ENV_KEY],n=process.env[rt.ENV_SECRET],t=process.env[rt.ENV_SESSION],r=process.env[rt.ENV_EXPIRATION];if(e&&n)return{accessKeyId:e,secretAccessKey:n,...t&&{sessionToken:t},...r&&{expiration:new Date(r)}};throw new y9.CredentialsProviderError("Unable to find environment variable credentials.")};rt.fromEnv=_9});var TT=m(Yh=>{"use strict";Object.defineProperty(Yh,"__esModule",{value:!0});var g9=(z(),O(U));g9.__exportStar(OT(),Yh)});var Mm=m(Bm=>{"use strict";Object.defineProperty(Bm,"__esModule",{value:!0});Bm.httpRequest=void 0;var Qh=ge(),h9=require("buffer"),C9=require("http");function S9(e){return new Promise((n,t)=>{var r;let o=(0,C9.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 Qh.ProviderError("Unable to connect to instance metadata service"),s)),o.destroy()}),o.on("timeout",()=>{t(new Qh.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 Qh.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(h9.Buffer.concat(i)),o.destroy()})}),o.end()})}Bm.httpRequest=S9});var Jh=m(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.fromImdsCredentials=Ko.isImdsCredentials=void 0;var E9=e=>!!e&&typeof e=="object"&&typeof e.AccessKeyId=="string"&&typeof e.SecretAccessKey=="string"&&typeof e.Token=="string"&&typeof e.Expiration=="string";Ko.isImdsCredentials=E9;var b9=e=>({accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:new Date(e.Expiration)});Ko.fromImdsCredentials=b9});var Dm=m(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.providerConfigFromInit=tn.DEFAULT_MAX_RETRIES=tn.DEFAULT_TIMEOUT=void 0;tn.DEFAULT_TIMEOUT=1e3;tn.DEFAULT_MAX_RETRIES=0;var P9=({maxRetries:e=tn.DEFAULT_MAX_RETRIES,timeout:n=tn.DEFAULT_TIMEOUT})=>({maxRetries:e,timeout:n});tn.providerConfigFromInit=P9});var Zh=m(Fm=>{"use strict";Object.defineProperty(Fm,"__esModule",{value:!0});Fm.retry=void 0;var v9=(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 Lm=ge(),x9=require("url"),w9=Mm(),qT=Jh(),k9=Dm(),A9=Zh();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 I9=(e={})=>{let{timeout:n,maxRetries:t}=(0,k9.providerConfigFromInit)(e);return()=>(0,A9.retry)(async()=>{let r=await q9(),o=JSON.parse(await N9(n,r));if(!(0,qT.isImdsCredentials)(o))throw new Lm.CredentialsProviderError("Invalid response received from instance metadata service.");return(0,qT.fromImdsCredentials)(o)},t)};Ge.fromContainerMetadata=I9;var N9=async(e,n)=>(process.env[Ge.ENV_CMDS_AUTH_TOKEN]&&(n.headers={...n.headers,Authorization:process.env[Ge.ENV_CMDS_AUTH_TOKEN]}),(await(0,w9.httpRequest)({...n,timeout:e})).toString()),R9="169.254.170.2",O9={localhost:!0,"127.0.0.1":!0},T9={"http:":!0,"https:":!0},q9=async()=>{if(process.env[Ge.ENV_CMDS_RELATIVE_URI])return{hostname:R9,path:process.env[Ge.ENV_CMDS_RELATIVE_URI]};if(process.env[Ge.ENV_CMDS_FULL_URI]){let e=(0,x9.parse)(process.env[Ge.ENV_CMDS_FULL_URI]);if(!e.hostname||!(e.hostname in O9))throw new Lm.CredentialsProviderError(`${e.hostname} is not a valid container metadata service hostname`,!1);if(!e.protocol||!(e.protocol in T9))throw new Lm.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 Lm.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 MT=m(jm=>{"use strict";Object.defineProperty(jm,"__esModule",{value:!0});jm.fromEnv=void 0;var B9=ge(),M9=e=>async()=>{try{let n=e(process.env);if(n===void 0)throw new Error;return n}catch(n){throw new B9.CredentialsProviderError(n.message||`Cannot load config from environment variables with getter: ${e}`)}};jm.fromEnv=M9});var FT=m(Um=>{"use strict";Object.defineProperty(Um,"__esModule",{value:!0});Um.fromSharedConfigFiles=void 0;var D9=ge(),DT=Bt(),F9=(e,{preferredFile:n="config",...t}={})=>async()=>{let r=(0,DT.getProfileName)(t),{configFile:o,credentialsFile:s}=await(0,DT.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 D9.CredentialsProviderError(l.message||`Cannot load config for profile ${r} in SDK configuration files with getter: ${e}`)}};Um.fromSharedConfigFiles=F9});var LT=m(zm=>{"use strict";Object.defineProperty(zm,"__esModule",{value:!0});zm.fromStatic=void 0;var L9=ge(),j9=e=>typeof e=="function",U9=e=>j9(e)?async()=>await e():(0,L9.fromStatic)(e);zm.fromStatic=U9});var UT=m(Gm=>{"use strict";Object.defineProperty(Gm,"__esModule",{value:!0});Gm.loadConfig=void 0;var jT=ge(),z9=MT(),G9=FT(),H9=LT(),$9=({environmentVariableSelector:e,configFileSelector:n,default:t},r={})=>(0,jT.memoize)((0,jT.chain)((0,z9.fromEnv)(e),(0,G9.fromSharedConfigFiles)(n,r),(0,H9.fromStatic)(t)));Gm.loadConfig=$9});var Sr=m(eC=>{"use strict";Object.defineProperty(eC,"__esModule",{value:!0});var K9=(z(),O(U));K9.__exportStar(UT(),eC)});var zT=m(Ec=>{"use strict";Object.defineProperty(Ec,"__esModule",{value:!0});Ec.Endpoint=void 0;var V9;(function(e){e.IPv4="http://169.254.169.254",e.IPv6="http://[fd00:ec2::254]"})(V9=Ec.Endpoint||(Ec.Endpoint={}))});var GT=m(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.ENDPOINT_CONFIG_OPTIONS=nn.CONFIG_ENDPOINT_NAME=nn.ENV_ENDPOINT_NAME=void 0;nn.ENV_ENDPOINT_NAME="AWS_EC2_METADATA_SERVICE_ENDPOINT";nn.CONFIG_ENDPOINT_NAME="ec2_metadata_service_endpoint";nn.ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>e[nn.ENV_ENDPOINT_NAME],configFileSelector:e=>e[nn.CONFIG_ENDPOINT_NAME],default:void 0}});var tC=m(bc=>{"use strict";Object.defineProperty(bc,"__esModule",{value:!0});bc.EndpointMode=void 0;var X9;(function(e){e.IPv4="IPv4",e.IPv6="IPv6"})(X9=bc.EndpointMode||(bc.EndpointMode={}))});var HT=m(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.ENDPOINT_MODE_CONFIG_OPTIONS=rn.CONFIG_ENDPOINT_MODE_NAME=rn.ENV_ENDPOINT_MODE_NAME=void 0;var W9=tC();rn.ENV_ENDPOINT_MODE_NAME="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";rn.CONFIG_ENDPOINT_MODE_NAME="ec2_metadata_service_endpoint_mode";rn.ENDPOINT_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[rn.ENV_ENDPOINT_MODE_NAME],configFileSelector:e=>e[rn.CONFIG_ENDPOINT_MODE_NAME],default:W9.EndpointMode.IPv4}});var rC=m(Hm=>{"use strict";Object.defineProperty(Hm,"__esModule",{value:!0});Hm.getInstanceMetadataEndpoint=void 0;var KT=Sr(),Y9=Vr(),$T=zT(),Q9=GT(),nC=tC(),J9=HT(),Z9=async()=>(0,Y9.parseUrl)(await e7()||await t7());Hm.getInstanceMetadataEndpoint=Z9;var e7=async()=>(0,KT.loadConfig)(Q9.ENDPOINT_CONFIG_OPTIONS)(),t7=async()=>{let e=await(0,KT.loadConfig)(J9.ENDPOINT_MODE_CONFIG_OPTIONS)();switch(e){case nC.EndpointMode.IPv4:return $T.Endpoint.IPv4;case nC.EndpointMode.IPv6:return $T.Endpoint.IPv6;default:throw new Error(`Unsupported endpoint mode: ${e}. Select from ${Object.values(nC.EndpointMode)}`)}}});var VT=m($m=>{"use strict";Object.defineProperty($m,"__esModule",{value:!0});$m.getExtendedInstanceMetadataCredentials=void 0;var n7=5*60,r7=5*60,o7="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html",s7=(e,n)=>{var t;let r=n7+Math.floor(Math.random()*r7),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: "+o7);let s=(t=e.originalExpiration)!==null&&t!==void 0?t:e.expiration;return{...e,...s?{originalExpiration:s}:{},expiration:o}};$m.getExtendedInstanceMetadataCredentials=s7});var WT=m(Km=>{"use strict";Object.defineProperty(Km,"__esModule",{value:!0});Km.staticStabilityProvider=void 0;var XT=VT(),i7=(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(Vm,"__esModule",{value:!0});Vm.fromInstanceMetadata=void 0;var a7=ge(),oC=Mm(),YT=Jh(),c7=Dm(),QT=Zh(),d7=rC(),l7=WT(),JT="/latest/meta-data/iam/security-credentials/",u7="/latest/api/token",m7=(e={})=>(0,l7.staticStabilityProvider)(p7(e),{logger:e.logger});Vm.fromInstanceMetadata=m7;var p7=e=>{let n=!1,{timeout:t,maxRetries:r}=(0,c7.providerConfigFromInit)(e),o=async(s,a)=>{let i=(await(0,QT.retry)(async()=>{let u;try{u=await y7(a)}catch(l){throw l.statusCode===401&&(n=!1),l}return u},s)).trim();return(0,QT.retry)(async()=>{let u;try{u=await _7(i,a)}catch(l){throw l.statusCode===401&&(n=!1),l}return u},s)};return async()=>{let s=await(0,d7.getInstanceMetadataEndpoint)();if(n)return o(r,{...s,timeout:t});{let a;try{a=(await f7({...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})}}},f7=async e=>(0,oC.httpRequest)({...e,path:u7,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),y7=async e=>(await(0,oC.httpRequest)({...e,path:JT})).toString(),_7=async(e,n)=>{let t=JSON.parse((await(0,oC.httpRequest)({...n,path:JT+e})).toString());if(!(0,YT.isImdsCredentials)(t))throw new a7.CredentialsProviderError("Invalid response received from instance metadata service.");return(0,YT.fromImdsCredentials)(t)}});var tq=m(eq=>{"use strict";Object.defineProperty(eq,"__esModule",{value:!0})});var Wm=m(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.getInstanceMetadataEndpoint=on.httpRequest=void 0;var Xm=(z(),O(U));Xm.__exportStar(BT(),on);Xm.__exportStar(ZT(),on);Xm.__exportStar(Dm(),on);Xm.__exportStar(tq(),on);var g7=Mm();Object.defineProperty(on,"httpRequest",{enumerable:!0,get:function(){return g7.httpRequest}});var h7=rC();Object.defineProperty(on,"getInstanceMetadataEndpoint",{enumerable:!0,get:function(){return h7.getInstanceMetadataEndpoint}})});var rq=m(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.resolveCredentialSource=void 0;var C7=TT(),nq=Wm(),S7=ge(),E7=(e,n)=>{let t={EcsContainer:nq.fromContainerMetadata,Ec2InstanceMetadata:nq.fromInstanceMetadata,Environment:C7.fromEnv};if(e in t)return t[e]();throw new S7.CredentialsProviderError(`Unsupported credential source in profile ${n}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`)};Ym.resolveCredentialSource=E7});var oq=m(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.resolveAssumeRoleCredentials=Vo.isAssumeRoleProfile=void 0;var sC=ge(),b7=Bt(),P7=rq(),v7=iC(),x7=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&&(w7(e)||k7(e));Vo.isAssumeRoleProfile=x7;var w7=e=>typeof e.source_profile=="string"&&typeof e.credential_source>"u",k7=e=>typeof e.credential_source=="string"&&typeof e.source_profile>"u",A7=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,b7.getProfileName)(t)}. Profiles visited: `+Object.keys(r).join(", "),!1);let a=s?(0,v7.resolveProfileData)(s,n,t,{...r,[s]:!0}):(0,P7.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)};Vo.resolveAssumeRoleCredentials=A7});var sq=m(Qm=>{"use strict";Object.defineProperty(Qm,"__esModule",{value:!0});Qm.getValidatedProcessCredentials=void 0;var I7=(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(Jm,"__esModule",{value:!0});Jm.resolveProcessCredentials=void 0;var aC=ge(),N7=require("child_process"),R7=require("util"),O7=sq(),T7=async(e,n)=>{let t=n[e];if(n[e]){let r=t.credential_process;if(r!==void 0){let o=(0,R7.promisify)(N7.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,O7.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.`)};Jm.resolveProcessCredentials=T7});var cq=m(Zm=>{"use strict";Object.defineProperty(Zm,"__esModule",{value:!0});Zm.fromProcess=void 0;var aq=Bt(),q7=iq(),B7=(e={})=>async()=>{let n=await(0,aq.parseKnownFiles)(e);return(0,q7.resolveProcessCredentials)((0,aq.getProfileName)(e),n)};Zm.fromProcess=B7});var dq=m(cC=>{"use strict";Object.defineProperty(cC,"__esModule",{value:!0});var M7=(z(),O(U));M7.__exportStar(cq(),cC)});var lq=m(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.resolveProcessCredentials=Xo.isProcessProfile=void 0;var D7=dq(),F7=e=>!!e&&typeof e=="object"&&typeof e.credential_process=="string";Xo.isProcessProfile=F7;var L7=async(e,n)=>(0,D7.fromProcess)({...e,profile:n})();Xo.resolveProcessCredentials=L7});var dC=m(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.isSsoProfile=void 0;var j7=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");ep.isSsoProfile=j7});var uq=m(tp=>{"use strict";Object.defineProperty(tp,"__esModule",{value:!0});tp.resolveClientEndpointParameters=void 0;var U7=e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"});tp.resolveClientEndpointParameters=U7});var mq=m((ORe,z7)=>{z7.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((np,pq)=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});np.isCrtAvailable=void 0;var G7=()=>{try{return typeof require=="function"&&typeof pq<"u"&&require("aws-crt")?["md/crt-avail"]:null}catch{return null}};np.isCrtAvailable=G7});var Pc=m(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.defaultUserAgent=sn.UA_APP_ID_INI_NAME=sn.UA_APP_ID_ENV_NAME=void 0;var H7=Sr(),yq=require("os"),lC=require("process"),$7=fq();sn.UA_APP_ID_ENV_NAME="AWS_SDK_UA_APP_ID";sn.UA_APP_ID_INI_NAME="sdk-ua-app-id";var K7=({serviceId:e,clientVersion:n})=>{let t=[["aws-sdk-js",n],["ua","2.0"],[`os/${(0,yq.platform)()}`,(0,yq.release)()],["lang/js"],["md/nodejs",`${lC.versions.node}`]],r=(0,$7.isCrtAvailable)();r&&t.push(r),e&&t.push([`api/${e}`,n]),lC.env.AWS_EXECUTION_ENV&&t.push([`exec-env/${lC.env.AWS_EXECUTION_ENV}`]);let o=(0,H7.loadConfig)({environmentVariableSelector:a=>a[sn.UA_APP_ID_ENV_NAME],configFileSelector:a=>a[sn.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}};sn.defaultUserAgent=K7});var vc=m(rp=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});rp.Hash=void 0;var uC=Dr(),V7=Et(),X7=require("buffer"),_q=require("crypto"),mC=class{constructor(n,t){this.algorithmIdentifier=n,this.secret=t,this.reset()}update(n,t){this.hash.update((0,V7.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)}};rp.Hash=mC;function gq(e,n){return X7.Buffer.isBuffer(e)?e:typeof e=="string"?(0,uC.fromString)(e,n):ArrayBuffer.isView(e)?(0,uC.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength):(0,uC.fromArrayBuffer)(e)}});var Cq=m(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});op.calculateBodyLength=void 0;var hq=require("fs"),W7=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}`)};op.calculateBodyLength=W7});var xc=m(pC=>{"use strict";Object.defineProperty(pC,"__esModule",{value:!0});var Y7=(z(),O(U));Y7.__exportStar(Cq(),pC)});var Oq=m(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.ruleSet=void 0;var Iq="required",qn="fn",Bn="argv",Yo="ref",Sq="isSet",Tn="tree",Wo="error",wc="endpoint",fC="PartitionResult",Eq={[Iq]:!1,type:"String"},bq={[Iq]:!0,default:!1,type:"Boolean"},Pq={[Yo]:"Endpoint"},Nq={[qn]:"booleanEquals",[Bn]:[{[Yo]:"UseFIPS"},!0]},Rq={[qn]:"booleanEquals",[Bn]:[{[Yo]:"UseDualStack"},!0]},an={},vq={[qn]:"booleanEquals",[Bn]:[!0,{[qn]:"getAttr",[Bn]:[{[Yo]:fC},"supportsFIPS"]}]},xq={[qn]:"booleanEquals",[Bn]:[!0,{[qn]:"getAttr",[Bn]:[{[Yo]:fC},"supportsDualStack"]}]},wq=[Nq],kq=[Rq],Aq=[{[Yo]:"Region"}],Q7={version:"1.0",parameters:{Region:Eq,UseDualStack:bq,UseFIPS:bq,Endpoint:Eq},rules:[{conditions:[{[qn]:Sq,[Bn]:[Pq]}],type:Tn,rules:[{conditions:wq,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Wo},{conditions:kq,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Wo},{endpoint:{url:Pq,properties:an,headers:an},type:wc}]},{conditions:[{[qn]:Sq,[Bn]:Aq}],type:Tn,rules:[{conditions:[{[qn]:"aws.partition",[Bn]:Aq,assign:fC}],type:Tn,rules:[{conditions:[Nq,Rq],type:Tn,rules:[{conditions:[vq,xq],type:Tn,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:an,headers:an},type:wc}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Wo}]},{conditions:wq,type:Tn,rules:[{conditions:[vq],type:Tn,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:an,headers:an},type:wc}]},{error:"FIPS is enabled but this partition does not support FIPS",type:Wo}]},{conditions:kq,type:Tn,rules:[{conditions:[xq],type:Tn,rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:an,headers:an},type:wc}]},{error:"DualStack is enabled but this partition does not support DualStack",type:Wo}]},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:an,headers:an},type:wc}]}]},{error:"Invalid Configuration: Missing Region",type:Wo}]};sp.ruleSet=Q7});var Tq=m(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.defaultEndpointResolver=void 0;var J7=Lo(),Z7=Oq(),eQ=(e,n={})=>(0,J7.resolveEndpoint)(Z7.ruleSet,{endpointParams:e,logger:n.logger});ip.defaultEndpointResolver=eQ});var Mq=m(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.getRuntimeConfig=void 0;var tQ=E(),nQ=Vr(),qq=go(),Bq=Et(),rQ=Tq(),oQ=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)??rQ.defaultEndpointResolver,extensions:(e==null?void 0:e.extensions)??[],logger:(e==null?void 0:e.logger)??new tQ.NoOpLogger,serviceId:(e==null?void 0:e.serviceId)??"SSO",urlParser:(e==null?void 0:e.urlParser)??nQ.parseUrl,utf8Decoder:(e==null?void 0:e.utf8Decoder)??Bq.fromUtf8,utf8Encoder:(e==null?void 0:e.utf8Encoder)??Bq.toUtf8});ap.getRuntimeConfig=oQ});var Dq=m(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.IMDS_REGION_PATH=mt.DEFAULTS_MODE_OPTIONS=mt.ENV_IMDS_DISABLED=mt.AWS_DEFAULT_REGION_ENV=mt.AWS_REGION_ENV=mt.AWS_EXECUTION_ENV=void 0;mt.AWS_EXECUTION_ENV="AWS_EXECUTION_ENV";mt.AWS_REGION_ENV="AWS_REGION";mt.AWS_DEFAULT_REGION_ENV="AWS_DEFAULT_REGION";mt.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";mt.DEFAULTS_MODE_OPTIONS=["in-region","cross-region","mobile","standard","legacy"];mt.IMDS_REGION_PATH="/latest/meta-data/placement/region"});var Fq=m(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.NODE_DEFAULTS_MODE_CONFIG_OPTIONS=void 0;var sQ="AWS_DEFAULTS_MODE",iQ="defaults_mode";cp.NODE_DEFAULTS_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[sQ],configFileSelector:e=>e[iQ],default:"legacy"}});var Uq=m(dp=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});dp.resolveDefaultsModeConfig=void 0;var aQ=Wt(),Lq=Wm(),jq=Sr(),cQ=ge(),Er=Dq(),dQ=Fq(),lQ=({region:e=(0,jq.loadConfig)(aQ.NODE_REGION_CONFIG_OPTIONS),defaultsMode:n=(0,jq.loadConfig)(dQ.NODE_DEFAULTS_MODE_CONFIG_OPTIONS)}={})=>(0,cQ.memoize)(async()=>{let t=typeof n=="function"?await n():n;switch(t==null?void 0:t.toLowerCase()){case"auto":return uQ(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 ${Er.DEFAULTS_MODE_OPTIONS.join(", ")}, got ${t}`)}});dp.resolveDefaultsModeConfig=lQ;var uQ=async e=>{if(e){let n=typeof e=="function"?await e():e,t=await mQ();return t?n===t?"in-region":"cross-region":"standard"}return"standard"},mQ=async()=>{var e;if(process.env[Er.AWS_EXECUTION_ENV]&&(process.env[Er.AWS_REGION_ENV]||process.env[Er.AWS_DEFAULT_REGION_ENV]))return(e=process.env[Er.AWS_REGION_ENV])!==null&&e!==void 0?e:process.env[Er.AWS_DEFAULT_REGION_ENV];if(!process.env[Er.ENV_IMDS_DISABLED])try{let n=await(0,Lq.getInstanceMetadataEndpoint)();return(await(0,Lq.httpRequest)({...n,path:Er.IMDS_REGION_PATH})).toString()}catch{}}});var kc=m(yC=>{"use strict";Object.defineProperty(yC,"__esModule",{value:!0});var pQ=(z(),O(U));pQ.__exportStar(Uq(),yC)});var Hq=m(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.getRuntimeConfig=void 0;var fQ=(z(),O(U)),yQ=fQ.__importDefault(mq()),_Q=Pc(),lp=Wt(),gQ=vc(),zq=In(),Ac=Sr(),Gq=So(),hQ=xc(),CQ=At(),SQ=Mq(),EQ=E(),bQ=kc(),PQ=E(),vQ=e=>{(0,PQ.emitWarningIfUnsupportedVersion)(process.version);let n=(0,bQ.resolveDefaultsModeConfig)(e),t=()=>n().then(EQ.loadConfigsForDefaultMode),r=(0,SQ.getRuntimeConfig)(e);return{...r,...e,runtime:"node",defaultsMode:n,bodyLengthChecker:(e==null?void 0:e.bodyLengthChecker)??hQ.calculateBodyLength,defaultUserAgentProvider:(e==null?void 0:e.defaultUserAgentProvider)??(0,_Q.defaultUserAgent)({serviceId:r.serviceId,clientVersion:yQ.default.version}),maxAttempts:(e==null?void 0:e.maxAttempts)??(0,Ac.loadConfig)(zq.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(e==null?void 0:e.region)??(0,Ac.loadConfig)(lp.NODE_REGION_CONFIG_OPTIONS,lp.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(e==null?void 0:e.requestHandler)??new Gq.NodeHttpHandler(t),retryMode:(e==null?void 0:e.retryMode)??(0,Ac.loadConfig)({...zq.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||CQ.DEFAULT_RETRY_MODE}),sha256:(e==null?void 0:e.sha256)??gQ.Hash.bind(null,"sha256"),streamCollector:(e==null?void 0:e.streamCollector)??Gq.streamCollector,useDualstackEndpoint:(e==null?void 0:e.useDualstackEndpoint)??(0,Ac.loadConfig)(lp.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(e==null?void 0:e.useFipsEndpoint)??(0,Ac.loadConfig)(lp.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};up.getRuntimeConfig=vQ});var $q=m(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.resolveAwsRegionExtensionConfiguration=Qo.getAwsRegionExtensionConfiguration=void 0;var xQ=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}}};Qo.getAwsRegionExtensionConfiguration=xQ;var wQ=e=>({region:e.region()});Qo.resolveAwsRegionExtensionConfiguration=wQ});var Kq=m(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});It.NODE_REGION_CONFIG_FILE_OPTIONS=It.NODE_REGION_CONFIG_OPTIONS=It.REGION_INI_NAME=It.REGION_ENV_NAME=void 0;It.REGION_ENV_NAME="AWS_REGION";It.REGION_INI_NAME="region";It.NODE_REGION_CONFIG_OPTIONS={environmentVariableSelector:e=>e[It.REGION_ENV_NAME],configFileSelector:e=>e[It.REGION_INI_NAME],default:()=>{throw new Error("Region is missing")}};It.NODE_REGION_CONFIG_FILE_OPTIONS={preferredFile:"credentials"}});var _C=m(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0});mp.isFipsRegion=void 0;var kQ=e=>typeof e=="string"&&(e.startsWith("fips-")||e.endsWith("-fips"));mp.isFipsRegion=kQ});var Vq=m(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});pp.getRealRegion=void 0;var AQ=_C(),IQ=e=>(0,AQ.isFipsRegion)(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;pp.getRealRegion=IQ});var Wq=m(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.resolveRegionConfig=void 0;var Xq=Vq(),NQ=_C(),RQ=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,NQ.isFipsRegion)(r)?!0:typeof t!="function"?Promise.resolve(!!t):t()}}};fp.resolveRegionConfig=RQ});var Qq=m(yp=>{"use strict";Object.defineProperty(yp,"__esModule",{value:!0});var Yq=(z(),O(U));Yq.__exportStar(Kq(),yp);Yq.__exportStar(Wq(),yp)});var gp=m(_p=>{"use strict";Object.defineProperty(_p,"__esModule",{value:!0});var Jq=(z(),O(U));Jq.__exportStar($q(),_p);Jq.__exportStar(Qq(),_p)});var n1=m(hp=>{"use strict";Object.defineProperty(hp,"__esModule",{value:!0});hp.resolveRuntimeExtensions=void 0;var Zq=gp(),e1=we(),t1=E(),gC=e=>e,OQ=(e,n)=>{let t={...gC((0,Zq.getAwsRegionExtensionConfiguration)(e)),...gC((0,t1.getDefaultExtensionConfiguration)(e)),...gC((0,e1.getHttpHandlerExtensionConfiguration)(e))};return n.forEach(r=>r.configure(t)),{...e,...(0,Zq.resolveAwsRegionExtensionConfiguration)(t),...(0,t1.resolveDefaultRuntimeConfig)(t),...(0,e1.resolveHttpHandlerRuntimeConfig)(t)}};hp.resolveRuntimeExtensions=OQ});var Ic=m(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.SSOClient=Jo.__Client=void 0;var r1=Ba(),TQ=Ma(),qQ=Da(),o1=rc(),BQ=Wt(),MQ=ac(),DQ=v(),s1=In(),i1=E();Object.defineProperty(Jo,"__Client",{enumerable:!0,get:function(){return i1.Client}});var FQ=uq(),LQ=Hq(),jQ=n1(),hC=class extends i1.Client{constructor(...[n]){let t=(0,LQ.getRuntimeConfig)(n||{}),r=(0,FQ.resolveClientEndpointParameters)(t),o=(0,BQ.resolveRegionConfig)(r),s=(0,DQ.resolveEndpointConfig)(o),a=(0,s1.resolveRetryConfig)(s),i=(0,r1.resolveHostHeaderConfig)(a),u=(0,o1.resolveUserAgentConfig)(i),l=(0,jQ.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,MQ.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,r1.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,TQ.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,qQ.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,o1.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};Jo.SSOClient=hC});var Cp=m(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.SSOServiceException=Zo.__ServiceException=void 0;var a1=E();Object.defineProperty(Zo,"__ServiceException",{enumerable:!0,get:function(){return a1.ServiceException}});var CC=class e extends a1.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,e.prototype)}};Zo.SSOServiceException=CC});var no=m(Ne=>{"use strict";Object.defineProperty(Ne,"__esModule",{value:!0});Ne.LogoutRequestFilterSensitiveLog=Ne.ListAccountsRequestFilterSensitiveLog=Ne.ListAccountRolesRequestFilterSensitiveLog=Ne.GetRoleCredentialsResponseFilterSensitiveLog=Ne.RoleCredentialsFilterSensitiveLog=Ne.GetRoleCredentialsRequestFilterSensitiveLog=Ne.UnauthorizedException=Ne.TooManyRequestsException=Ne.ResourceNotFoundException=Ne.InvalidRequestException=void 0;var es=E(),Sp=Cp(),SC=class e extends Sp.SSOServiceException{constructor(n){super({name:"InvalidRequestException",$fault:"client",...n}),this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Ne.InvalidRequestException=SC;var EC=class e extends Sp.SSOServiceException{constructor(n){super({name:"ResourceNotFoundException",$fault:"client",...n}),this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Ne.ResourceNotFoundException=EC;var bC=class e extends Sp.SSOServiceException{constructor(n){super({name:"TooManyRequestsException",$fault:"client",...n}),this.name="TooManyRequestsException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Ne.TooManyRequestsException=bC;var PC=class e extends Sp.SSOServiceException{constructor(n){super({name:"UnauthorizedException",$fault:"client",...n}),this.name="UnauthorizedException",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};Ne.UnauthorizedException=PC;var UQ=e=>({...e,...e.accessToken&&{accessToken:es.SENSITIVE_STRING}});Ne.GetRoleCredentialsRequestFilterSensitiveLog=UQ;var zQ=e=>({...e,...e.secretAccessKey&&{secretAccessKey:es.SENSITIVE_STRING},...e.sessionToken&&{sessionToken:es.SENSITIVE_STRING}});Ne.RoleCredentialsFilterSensitiveLog=zQ;var GQ=e=>({...e,...e.roleCredentials&&{roleCredentials:(0,Ne.RoleCredentialsFilterSensitiveLog)(e.roleCredentials)}});Ne.GetRoleCredentialsResponseFilterSensitiveLog=GQ;var HQ=e=>({...e,...e.accessToken&&{accessToken:es.SENSITIVE_STRING}});Ne.ListAccountRolesRequestFilterSensitiveLog=HQ;var $Q=e=>({...e,...e.accessToken&&{accessToken:es.SENSITIVE_STRING}});Ne.ListAccountsRequestFilterSensitiveLog=$Q;var KQ=e=>({...e,...e.accessToken&&{accessToken:es.SENSITIVE_STRING}});Ne.LogoutRequestFilterSensitiveLog=KQ});var Nc=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 Ep=we(),ee=E(),bp=no(),VQ=Cp(),XQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,ee.map)({},kp,{"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 Ep.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};He.se_GetRoleCredentialsCommand=XQ;var WQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,ee.map)({},kp,{"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 Ep.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};He.se_ListAccountRolesCommand=WQ;var YQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,ee.map)({},kp,{"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 Ep.HttpRequest({protocol:r,hostname:t,port:o,method:"GET",headers:a,path:i,query:u,body:l})};He.se_ListAccountsCommand=YQ;var QQ=async(e,n)=>{let{hostname:t,protocol:r="https",port:o,path:s}=await n.endpoint(),a=(0,ee.map)({},kp,{"x-amz-sso_bearer_token":e.accessToken}),i=`${s!=null&&s.endsWith("/")?s.slice(0,-1):s||""}/logout`,u;return new Ep.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})};He.se_LogoutCommand=QQ;var JQ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ZQ(e,n);let t=(0,ee.map)({$metadata:br(e)}),r=(0,ee.expectNonNull)((0,ee.expectObject)(await Ap(e.body,n)),"body"),o=(0,ee.take)(r,{roleCredentials:ee._json});return Object.assign(t,o),t};He.de_GetRoleCredentialsCommand=JQ;var ZQ=async(e,n)=>{let t={...e,body:await Ip(e.body,n)},r=Np(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await vp(t,n);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await vC(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await xp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await wp(t,n);default:let o=t.body;return Pp({output:e,parsedBody:o,errorCode:r})}},eJ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return tJ(e,n);let t=(0,ee.map)({$metadata:br(e)}),r=(0,ee.expectNonNull)((0,ee.expectObject)(await Ap(e.body,n)),"body"),o=(0,ee.take)(r,{nextToken:ee.expectString,roleList:ee._json});return Object.assign(t,o),t};He.de_ListAccountRolesCommand=eJ;var tJ=async(e,n)=>{let t={...e,body:await Ip(e.body,n)},r=Np(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await vp(t,n);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await vC(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await xp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await wp(t,n);default:let o=t.body;return Pp({output:e,parsedBody:o,errorCode:r})}},nJ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return rJ(e,n);let t=(0,ee.map)({$metadata:br(e)}),r=(0,ee.expectNonNull)((0,ee.expectObject)(await Ap(e.body,n)),"body"),o=(0,ee.take)(r,{accountList:ee._json,nextToken:ee.expectString});return Object.assign(t,o),t};He.de_ListAccountsCommand=nJ;var rJ=async(e,n)=>{let t={...e,body:await Ip(e.body,n)},r=Np(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await vp(t,n);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await vC(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await xp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await wp(t,n);default:let o=t.body;return Pp({output:e,parsedBody:o,errorCode:r})}},oJ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return sJ(e,n);let t=(0,ee.map)({$metadata:br(e)});return await(0,ee.collectBody)(e.body,n),t};He.de_LogoutCommand=oJ;var sJ=async(e,n)=>{let t={...e,body:await Ip(e.body,n)},r=Np(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await vp(t,n);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await xp(t,n);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await wp(t,n);default:let o=t.body;return Pp({output:e,parsedBody:o,errorCode:r})}},Pp=(0,ee.withBaseException)(VQ.SSOServiceException),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 bp.InvalidRequestException({$metadata:br(e),...t});return(0,ee.decorateServiceException)(s,e.body)},vC=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 bp.ResourceNotFoundException({$metadata:br(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 bp.TooManyRequestsException({$metadata:br(e),...t});return(0,ee.decorateServiceException)(s,e.body)},wp=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 bp.UnauthorizedException({$metadata:br(e),...t});return(0,ee.decorateServiceException)(s,e.body)},br=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"]}),iJ=(e,n)=>(0,ee.collectBody)(e,n).then(t=>n.utf8Encoder(t)),kp=e=>e!=null&&e!==""&&(!Object.getOwnPropertyNames(e).includes("length")||e.length!=0)&&(!Object.getOwnPropertyNames(e).includes("size")||e.size!=0),Ap=(e,n)=>iJ(e,n).then(t=>t.length?JSON.parse(t):{}),Ip=async(e,n)=>{let t=await Ap(e,n);return t.message=t.message??t.Message,t},Np=(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 wC=m(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.GetRoleCredentialsCommand=ts.$Command=void 0;var aJ=v(),cJ=w(),l1=E();Object.defineProperty(ts,"$Command",{enumerable:!0,get:function(){return l1.Command}});var dJ=x(),c1=no(),d1=Nc(),xC=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,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:"GetRoleCredentialsCommand",inputFilterSensitiveLog:c1.GetRoleCredentialsRequestFilterSensitiveLog,outputFilterSensitiveLog:c1.GetRoleCredentialsResponseFilterSensitiveLog,[dJ.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)}};ts.GetRoleCredentialsCommand=xC});var Rp=m(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});ns.ListAccountRolesCommand=ns.$Command=void 0;var lJ=v(),uJ=w(),m1=E();Object.defineProperty(ns,"$Command",{enumerable:!0,get:function(){return m1.Command}});var mJ=x(),pJ=no(),u1=Nc(),kC=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,uJ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,lJ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"ListAccountRolesCommand",inputFilterSensitiveLog:pJ.ListAccountRolesRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[mJ.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)}};ns.ListAccountRolesCommand=kC});var Op=m(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});rs.ListAccountsCommand=rs.$Command=void 0;var fJ=v(),yJ=w(),f1=E();Object.defineProperty(rs,"$Command",{enumerable:!0,get:function(){return f1.Command}});var _J=x(),gJ=no(),p1=Nc(),AC=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,yJ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,fJ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"ListAccountsCommand",inputFilterSensitiveLog:gJ.ListAccountsRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[_J.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)}};rs.ListAccountsCommand=AC});var NC=m(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});os.LogoutCommand=os.$Command=void 0;var hJ=v(),CJ=w(),_1=E();Object.defineProperty(os,"$Command",{enumerable:!0,get:function(){return _1.Command}});var SJ=x(),EJ=no(),y1=Nc(),IC=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,CJ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,hJ.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"SSOClient",commandName:"LogoutCommand",inputFilterSensitiveLog:EJ.LogoutRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[SJ.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)}};os.LogoutCommand=IC});var g1=m(qp=>{"use strict";Object.defineProperty(qp,"__esModule",{value:!0});qp.SSO=void 0;var bJ=E(),PJ=wC(),vJ=Rp(),xJ=Op(),wJ=NC(),kJ=Ic(),AJ={GetRoleCredentialsCommand:PJ.GetRoleCredentialsCommand,ListAccountRolesCommand:vJ.ListAccountRolesCommand,ListAccountsCommand:xJ.ListAccountsCommand,LogoutCommand:wJ.LogoutCommand},Tp=class extends kJ.SSOClient{};qp.SSO=Tp;(0,bJ.createAggregatedClient)(AJ,Tp)});var h1=m(ss=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});var Bp=(z(),O(U));Bp.__exportStar(wC(),ss);Bp.__exportStar(Rp(),ss);Bp.__exportStar(Op(),ss);Bp.__exportStar(NC(),ss)});var S1=m(C1=>{"use strict";Object.defineProperty(C1,"__esModule",{value:!0})});var E1=m(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});Mp.paginateListAccountRoles=void 0;var IJ=Rp(),NJ=Ic(),RJ=async(e,n,...t)=>await e.send(new IJ.ListAccountRolesCommand(n),...t);async function*OJ(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 RJ(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.paginateListAccountRoles=OJ});var b1=m(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});Dp.paginateListAccounts=void 0;var TJ=Op(),qJ=Ic(),BJ=async(e,n,...t)=>await e.send(new TJ.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 qJ.SSOClient)s=await BJ(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}Dp.paginateListAccounts=MJ});var P1=m(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});var RC=(z(),O(U));RC.__exportStar(S1(),Rc);RC.__exportStar(E1(),Rc);RC.__exportStar(b1(),Rc)});var v1=m(OC=>{"use strict";Object.defineProperty(OC,"__esModule",{value:!0});var DJ=(z(),O(U));DJ.__exportStar(no(),OC)});var x1=m(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.SSOServiceException=void 0;var Oc=(z(),O(U));Oc.__exportStar(Ic(),Mn);Oc.__exportStar(g1(),Mn);Oc.__exportStar(h1(),Mn);Oc.__exportStar(P1(),Mn);Oc.__exportStar(v1(),Mn);var FJ=Cp();Object.defineProperty(Mn,"SSOServiceException",{enumerable:!0,get:function(){return FJ.SSOServiceException}})});var jp=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=Ba(),LJ=Ma(),jJ=Da(),k1=rc(),UJ=Wt(),zJ=ac(),GJ=v(),A1=In(),HJ=E(),$J=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"}},KJ={version:"3.387.0"},VJ=Pc(),Fp=Wt(),XJ=vc(),I1=In(),Tc=Sr(),N1=So(),WJ=xc(),YJ=At(),QJ=E(),JJ=Vr(),R1=go(),O1=Et(),ZJ=Lo(),j1="required",Dn="fn",Fn="argv",is="ref",TC="PartitionResult",cn="tree",qc="error",Bc="endpoint",T1={[j1]:!1,type:"String"},q1={[j1]:!0,default:!1,type:"Boolean"},U1={[is]:"Endpoint"},z1={[Dn]:"booleanEquals",[Fn]:[{[is]:"UseFIPS"},!0]},G1={[Dn]:"booleanEquals",[Fn]:[{[is]:"UseDualStack"},!0]},dn={},B1={[Dn]:"booleanEquals",[Fn]:[!0,{[Dn]:"getAttr",[Fn]:[{[is]:TC},"supportsFIPS"]}]},M1={[Dn]:"booleanEquals",[Fn]:[!0,{[Dn]:"getAttr",[Fn]:[{[is]:TC},"supportsDualStack"]}]},D1=[U1],F1=[z1],L1=[G1],eZ={version:"1.0",parameters:{Region:T1,UseDualStack:q1,UseFIPS:q1,Endpoint:T1},rules:[{conditions:[{[Dn]:"aws.partition",[Fn]:[{[is]:"Region"}],assign:TC}],type:cn,rules:[{conditions:[{[Dn]:"isSet",[Fn]:D1},{[Dn]:"parseURL",[Fn]:D1,assign:"url"}],type:cn,rules:[{conditions:F1,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:qc},{type:cn,rules:[{conditions:L1,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:qc},{endpoint:{url:U1,properties:dn,headers:dn},type:Bc}]}]},{conditions:[z1,G1],type:cn,rules:[{conditions:[B1,M1],type:cn,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:dn,headers:dn},type:Bc}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:qc}]},{conditions:F1,type:cn,rules:[{conditions:[B1],type:cn,rules:[{type:cn,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:dn,headers:dn},type:Bc}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:qc}]},{conditions:L1,type:cn,rules:[{conditions:[M1],type:cn,rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:dn,headers:dn},type:Bc}]},{error:"DualStack is enabled but this partition does not support DualStack",type:qc}]},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:dn,headers:dn},type:Bc}]}]},tZ=eZ,nZ=(e,n={})=>(0,ZJ.resolveEndpoint)(tZ,{endpointParams:e,logger:n.logger}),rZ=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:R1.fromBase64,base64Encoder:(t=e==null?void 0:e.base64Encoder)!==null&&t!==void 0?t:R1.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:nZ,logger:(s=e==null?void 0:e.logger)!==null&&s!==void 0?s:new QJ.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:JJ.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}},oZ=E(),sZ=kc(),iZ=E(),aZ=e=>{var n,t,r,o,s,a,i,u,l,c;(0,iZ.emitWarningIfUnsupportedVersion)(process.version);let y=(0,sZ.resolveDefaultsModeConfig)(e),_=()=>y().then(oZ.loadConfigsForDefaultMode),C=rZ(e);return{...C,...e,runtime:"node",defaultsMode:y,bodyLengthChecker:(n=e==null?void 0:e.bodyLengthChecker)!==null&&n!==void 0?n:WJ.calculateBodyLength,defaultUserAgentProvider:(t=e==null?void 0:e.defaultUserAgentProvider)!==null&&t!==void 0?t:(0,VJ.defaultUserAgent)({serviceId:C.serviceId,clientVersion:KJ.version}),maxAttempts:(r=e==null?void 0:e.maxAttempts)!==null&&r!==void 0?r:(0,Tc.loadConfig)(I1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(o=e==null?void 0:e.region)!==null&&o!==void 0?o:(0,Tc.loadConfig)(Fp.NODE_REGION_CONFIG_OPTIONS,Fp.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(s=e==null?void 0:e.requestHandler)!==null&&s!==void 0?s:new N1.NodeHttpHandler(_),retryMode:(a=e==null?void 0:e.retryMode)!==null&&a!==void 0?a:(0,Tc.loadConfig)({...I1.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await _()).retryMode||YJ.DEFAULT_RETRY_MODE}),sha256:(i=e==null?void 0:e.sha256)!==null&&i!==void 0?i:XJ.Hash.bind(null,"sha256"),streamCollector:(u=e==null?void 0:e.streamCollector)!==null&&u!==void 0?u:N1.streamCollector,useDualstackEndpoint:(l=e==null?void 0:e.useDualstackEndpoint)!==null&&l!==void 0?l:(0,Tc.loadConfig)(Fp.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(c=e==null?void 0:e.useFipsEndpoint)!==null&&c!==void 0?c:(0,Tc.loadConfig)(Fp.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}},H1=class extends HJ.Client{constructor(...[e]){let n=aZ(e||{}),t=$J(n),r=(0,UJ.resolveRegionConfig)(t),o=(0,GJ.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,zJ.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,w1.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,LJ.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,jJ.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,k1.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};Ee.SSOOIDCClient=H1;var cZ=E(),dZ=v(),lZ=w(),uZ=E(),qC=we(),N=E(),mZ=E(),ht=class $1 extends mZ.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,$1.prototype)}},K1=class V1 extends ht{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 ht{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 ht{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 ht{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 ht{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 pZ=class nB extends ht{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 ht{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 ht{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 ht{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 ht{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 ht{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 fZ=class pB extends ht{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}},yZ=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 qC.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})},_Z=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 qC.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})},gZ=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 qC.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,body:u})},hZ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return CZ(e,n);let t=(0,N.map)({$metadata:it(e)}),r=(0,N.expectNonNull)((0,N.expectObject)(await Lp(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},CZ=async(e,n)=>{let t={...e,body:await FC(e.body,n)},r=LC(e,t.body);switch(r){case"AccessDeniedException":case"com.amazonaws.ssooidc#AccessDeniedException":throw await vZ(t,n);case"AuthorizationPendingException":case"com.amazonaws.ssooidc#AuthorizationPendingException":throw await xZ(t,n);case"ExpiredTokenException":case"com.amazonaws.ssooidc#ExpiredTokenException":throw await wZ(t,n);case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await MC(t,n);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await fB(t,n);case"InvalidGrantException":case"com.amazonaws.ssooidc#InvalidGrantException":throw await AZ(t,n);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await DC(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 IZ(t,n);default:let o=t.body;return BC({output:e,parsedBody:o,errorCode:r})}},SZ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return EZ(e,n);let t=(0,N.map)({$metadata:it(e)}),r=(0,N.expectNonNull)((0,N.expectObject)(await Lp(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},EZ=async(e,n)=>{let t={...e,body:await FC(e.body,n)},r=LC(e,t.body);switch(r){case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await MC(t,n);case"InvalidClientMetadataException":case"com.amazonaws.ssooidc#InvalidClientMetadataException":throw await kZ(t,n);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await DC(t,n);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await yB(t,n);default:let o=t.body;return BC({output:e,parsedBody:o,errorCode:r})}},bZ=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return PZ(e,n);let t=(0,N.map)({$metadata:it(e)}),r=(0,N.expectNonNull)((0,N.expectObject)(await Lp(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},PZ=async(e,n)=>{let t={...e,body:await FC(e.body,n)},r=LC(e,t.body);switch(r){case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await MC(t,n);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await fB(t,n);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await DC(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 BC({output:e,parsedBody:o,errorCode:r})}},BC=(0,N.withBaseException)(ht),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 K1({$metadata:it(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 X1({$metadata:it(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 Y1({$metadata:it(e),...t});return(0,N.decorateServiceException)(s,e.body)},MC=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:it(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:it(e),...t});return(0,N.decorateServiceException)(s,e.body)},kZ=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 fZ({$metadata:it(e),...t});return(0,N.decorateServiceException)(s,e.body)},AZ=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 pZ({$metadata:it(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 rB({$metadata:it(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:it(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:it(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:it(e),...t});return(0,N.decorateServiceException)(s,e.body)},IZ=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:it(e),...t});return(0,N.decorateServiceException)(s,e.body)},it=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"]}},NZ=(e,n)=>(0,N.collectBody)(e,n).then(t=>n.utf8Encoder(t)),Lp=(e,n)=>NZ(e,n).then(t=>t.length?JSON.parse(t):{}),FC=async(e,n)=>{var t;let r=await Lp(e,n);return r.message=(t=r.message)!==null&&t!==void 0?t:r.Message,r},LC=(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 uZ.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,lZ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,dZ.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 yZ(n,t)}deserialize(n,t){return hZ(n,t)}};Ee.CreateTokenCommand=hB;var RZ=v(),OZ=w(),TZ=E(),qZ=class SB extends TZ.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,OZ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,RZ.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 _Z(n,t)}deserialize(n,t){return SZ(n,t)}},BZ=v(),MZ=w(),DZ=E(),FZ=class EB 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,MZ.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,BZ.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 gZ(n,t)}deserialize(n,t){return bZ(n,t)}},LZ={CreateTokenCommand:hB,RegisterClientCommand:qZ,StartDeviceAuthorizationCommand:FZ},jZ=class extends H1{};(0,cZ.createAggregatedClient)(LZ,jZ)});var Up=m(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});as.REFRESH_MESSAGE=as.EXPIRE_WINDOW_MS=void 0;as.EXPIRE_WINDOW_MS=5*60*1e3;as.REFRESH_MESSAGE="To refresh this SSO session run 'aws sso login' with the corresponding profile."});var bB=m(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.getSsoOidcClient=void 0;var UZ=jp(),jC={},zZ=e=>{if(jC[e])return jC[e];let n=new UZ.SSOOIDCClient({region:e});return jC[e]=n,n};zp.getSsoOidcClient=zZ});var PB=m(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});Gp.getNewSsoOidcToken=void 0;var GZ=jp(),HZ=bB(),$Z=(e,n)=>(0,HZ.getSsoOidcClient)(n).send(new GZ.CreateTokenCommand({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}));Gp.getNewSsoOidcToken=$Z});var vB=m(Hp=>{"use strict";Object.defineProperty(Hp,"__esModule",{value:!0});Hp.validateTokenExpiry=void 0;var KZ=ge(),VZ=Up(),XZ=e=>{if(e.expiration&&e.expiration.getTime(){"use strict";Object.defineProperty($p,"__esModule",{value:!0});$p.validateTokenKey=void 0;var WZ=ge(),YZ=Up(),QZ=(e,n,t=!1)=>{if(typeof n>"u")throw new WZ.TokenProviderError(`Value not present for '${e}' in SSO Token${t?". Cannot refresh":""}. ${YZ.REFRESH_MESSAGE}`,!1)};$p.validateTokenKey=QZ});var wB=m(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});Kp.writeSSOTokenToFile=void 0;var JZ=Bt(),ZZ=require("fs"),{writeFile:eee}=ZZ.promises,tee=(e,n)=>{let t=(0,JZ.getSSOTokenFilepath)(e),r=JSON.stringify(n,null,2);return eee(t,r)};Kp.writeSSOTokenToFile=tee});var UC=m(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});Xp.fromSso=void 0;var Mc=ge(),Vp=Bt(),kB=Up(),nee=PB(),AB=vB(),ro=xB(),ree=wB(),IB=new Date(0),oee=(e={})=>async()=>{let n=await(0,Vp.parseKnownFiles)(e),t=(0,Vp.getProfileName)(e),r=n[t];if(r){if(!r.sso_session)throw new Mc.TokenProviderError(`Profile '${t}' is missing required property 'sso_session'.`)}else throw new Mc.TokenProviderError(`Profile '${t}' could not be found in shared credentials file.`,!1);let o=r.sso_session,a=(await(0,Vp.loadSsoSessionData)(e))[o];if(!a)throw new Mc.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 Mc.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,Vp.getSSOTokenFromFile)(o)}catch{throw new Mc.TokenProviderError(`The SSO session token associated with profile=${t} was not found or is invalid. ${kB.REFRESH_MESSAGE}`,!1)}(0,ro.validateTokenKey)("accessToken",l.accessToken),(0,ro.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,ro.validateTokenKey)("clientId",l.clientId,!0),(0,ro.validateTokenKey)("clientSecret",l.clientSecret,!0),(0,ro.validateTokenKey)("refreshToken",l.refreshToken,!0);try{IB.setTime(Date.now());let C=await(0,nee.getNewSsoOidcToken)(l,u);(0,ro.validateTokenKey)("accessToken",C.accessToken),(0,ro.validateTokenKey)("expiresIn",C.expiresIn);let b=new Date(Date.now()+C.expiresIn*1e3);try{await(0,ree.writeSSOTokenToFile)(o,{...l,accessToken:C.accessToken,expiresAt:b.toISOString(),refreshToken:C.refreshToken})}catch{}return{token:C.accessToken,expiration:b}}catch{return(0,AB.validateTokenExpiry)(_),_}};Xp.fromSso=oee});var NB=m(Wp=>{"use strict";Object.defineProperty(Wp,"__esModule",{value:!0});Wp.fromStatic=void 0;var see=ge(),iee=({token:e})=>async()=>{if(!e||!e.token)throw new see.TokenProviderError("Please pass a valid token to fromStatic",!1);return e};Wp.fromStatic=iee});var RB=m(Yp=>{"use strict";Object.defineProperty(Yp,"__esModule",{value:!0});Yp.nodeProvider=void 0;var zC=ge(),aee=UC(),cee=(e={})=>(0,zC.memoize)((0,zC.chain)((0,aee.fromSso)(e),async()=>{throw new zC.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);Yp.nodeProvider=cee});var OB=m(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});var Qp=(z(),O(U));Qp.__exportStar(jp(),cs);Qp.__exportStar(UC(),cs);Qp.__exportStar(NB(),cs);Qp.__exportStar(RB(),cs)});var qB=m(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});Jp.resolveSSOCredentials=void 0;var TB=x1(),dee=OB(),Dc=ge(),lee=Bt(),Fc=!1,uee=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 j=await(0,dee.fromSso)({profile:a})();i={accessToken:j.token,expiresAt:new Date(j.expiration).toISOString()}}catch(j){throw new Dc.CredentialsProviderError(j.message,Fc)}else try{i=await(0,lee.getSSOTokenFromFile)(e)}catch{throw new Dc.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${u}`,Fc)}if(new Date(i.expiresAt).getTime()-Date.now()<=0)throw new Dc.CredentialsProviderError(`The SSO session associated with this profile has expired. ${u}`,Fc);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(j){throw Dc.CredentialsProviderError.from(j,Fc)}let{roleCredentials:{accessKeyId:_,secretAccessKey:C,sessionToken:b,expiration:L}={}}=y;if(!_||!C||!b||!L)throw new Dc.CredentialsProviderError("SSO returns an invalid temporary credential.",Fc);return{accessKeyId:_,secretAccessKey:C,sessionToken:b,expiration:new Date(L)}};Jp.resolveSSOCredentials=uee});var GC=m(Zp=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.validateSsoProfile=void 0;var mee=ge(),pee=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 mee.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};Zp.validateSsoProfile=pee});var MB=m(ef=>{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});ef.fromSSO=void 0;var Lc=ge(),HC=Bt(),fee=dC(),BB=qB(),yee=GC(),_ee=(e={})=>async()=>{let{ssoStartUrl:n,ssoAccountId:t,ssoRegion:r,ssoRoleName:o,ssoClient:s,ssoSession:a}=e,i=(0,HC.getProfileName)(e);if(!n&&!t&&!r&&!o&&!a){let l=(await(0,HC.parseKnownFiles)(e))[i];if(!l)throw new Lc.CredentialsProviderError(`Profile ${i} was not found.`);if(!(0,fee.isSsoProfile)(l))throw new Lc.CredentialsProviderError(`Profile ${i} is not configured with SSO credentials.`);if(l!=null&&l.sso_session){let j=(await(0,HC.loadSsoSessionData)(e))[l.sso_session],V=` configurations in profile ${i} and sso-session ${l.sso_session}`;if(r&&r!==j.sso_region)throw new Lc.CredentialsProviderError("Conflicting SSO region"+V,!1);if(n&&n!==j.sso_start_url)throw new Lc.CredentialsProviderError("Conflicting SSO start_url"+V,!1);l.sso_region=j.sso_region,l.sso_start_url=j.sso_start_url}let{sso_start_url:c,sso_account_id:y,sso_region:_,sso_role_name:C,sso_session:b}=(0,yee.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 Lc.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})}};ef.fromSSO=_ee});var FB=m(DB=>{"use strict";Object.defineProperty(DB,"__esModule",{value:!0})});var nf=m(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});var tf=(z(),O(U));tf.__exportStar(MB(),ds);tf.__exportStar(dC(),ds);tf.__exportStar(FB(),ds);tf.__exportStar(GC(),ds)});var jB=m(ls=>{"use strict";Object.defineProperty(ls,"__esModule",{value:!0});ls.resolveSsoCredentials=ls.isSsoProfile=void 0;var LB=nf(),gee=nf();Object.defineProperty(ls,"isSsoProfile",{enumerable:!0,get:function(){return gee.isSsoProfile}});var hee=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})()};ls.resolveSsoCredentials=hee});var UB=m(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});us.resolveStaticCredentials=us.isStaticCredsProfile=void 0;var Cee=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;us.isStaticCredsProfile=Cee;var See=e=>Promise.resolve({accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token});us.resolveStaticCredentials=See});var $C=m(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.fromWebToken=void 0;var Eee=ge(),bee=e=>()=>{let{roleArn:n,roleSessionName:t,webIdentityToken:r,providerId:o,policyArns:s,policy:a,durationSeconds:i,roleAssumerWithWebIdentity:u}=e;if(!u)throw new Eee.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})};rf.fromWebToken=bee});var zB=m(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});of.fromTokenFile=void 0;var Pee=ge(),vee=require("fs"),xee=$C(),wee="AWS_WEB_IDENTITY_TOKEN_FILE",kee="AWS_ROLE_ARN",Aee="AWS_ROLE_SESSION_NAME",Iee=(e={})=>async()=>{var n,t,r;let o=(n=e==null?void 0:e.webIdentityTokenFile)!==null&&n!==void 0?n:process.env[wee],s=(t=e==null?void 0:e.roleArn)!==null&&t!==void 0?t:process.env[kee],a=(r=e==null?void 0:e.roleSessionName)!==null&&r!==void 0?r:process.env[Aee];if(!o||!s)throw new Pee.CredentialsProviderError("Web identity configuration not specified");return(0,xee.fromWebToken)({...e,webIdentityToken:(0,vee.readFileSync)(o,{encoding:"ascii"}),roleArn:s,roleSessionName:a})()};of.fromTokenFile=Iee});var HB=m(sf=>{"use strict";Object.defineProperty(sf,"__esModule",{value:!0});var GB=(z(),O(U));GB.__exportStar(zB(),sf);GB.__exportStar($C(),sf)});var $B=m(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});ms.resolveWebIdentityCredentials=ms.isWebIdentityProfile=void 0;var Nee=HB(),Ree=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;ms.isWebIdentityProfile=Ree;var Oee=async(e,n)=>(0,Nee.fromTokenFile)({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:n.roleAssumerWithWebIdentity})();ms.resolveWebIdentityCredentials=Oee});var iC=m(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.resolveProfileData=void 0;var Tee=ge(),KB=oq(),VB=lq(),XB=jB(),af=UB(),WB=$B(),qee=async(e,n,t,r={})=>{let o=n[e];if(Object.keys(r).length>0&&(0,af.isStaticCredsProfile)(o))return(0,af.resolveStaticCredentials)(o);if((0,KB.isAssumeRoleProfile)(o))return(0,KB.resolveAssumeRoleCredentials)(e,n,t,r);if((0,af.isStaticCredsProfile)(o))return(0,af.resolveStaticCredentials)(o);if((0,WB.isWebIdentityProfile)(o))return(0,WB.resolveWebIdentityCredentials)(o,t);if((0,VB.isProcessProfile)(o))return(0,VB.resolveProcessCredentials)(t,e);if((0,XB.isSsoProfile)(o))return(0,XB.resolveSsoCredentials)(o);throw new Tee.CredentialsProviderError(`Profile ${e} could not be found or parsed in shared credentials file.`)};cf.resolveProfileData=qee});var QB=m(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.fromIni=void 0;var YB=Bt(),Bee=iC(),Mee=(e={})=>async()=>{let n=await(0,YB.parseKnownFiles)(e);return(0,Bee.resolveProfileData)((0,YB.getProfileName)(e),n,e)};df.fromIni=Mee});var JB=m(KC=>{"use strict";Object.defineProperty(KC,"__esModule",{value:!0});var Dee=(z(),O(U));Dee.__exportStar(QB(),KC)});var ZB=m(lf=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});lf.getValidatedProcessCredentials=void 0;var Fee=(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(uf,"__esModule",{value:!0});uf.resolveProcessCredentials=void 0;var VC=ge(),Lee=require("child_process"),jee=require("util"),Uee=ZB(),zee=async(e,n)=>{let t=n[e];if(n[e]){let r=t.credential_process;if(r!==void 0){let o=(0,jee.promisify)(Lee.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,Uee.getValidatedProcessCredentials)(e,a)}catch(s){throw new VC.CredentialsProviderError(s.message)}}else throw new VC.CredentialsProviderError(`Profile ${e} did not contain credential_process.`)}else throw new VC.CredentialsProviderError(`Profile ${e} could not be found in shared credentials file.`)};uf.resolveProcessCredentials=zee});var nM=m(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.fromProcess=void 0;var tM=Bt(),Gee=eM(),Hee=(e={})=>async()=>{let n=await(0,tM.parseKnownFiles)(e);return(0,Gee.resolveProcessCredentials)((0,tM.getProfileName)(e),n)};mf.fromProcess=Hee});var rM=m(XC=>{"use strict";Object.defineProperty(XC,"__esModule",{value:!0});var $ee=(z(),O(U));$ee.__exportStar(nM(),XC)});var WC=m(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});pf.fromWebToken=void 0;var Kee=ge(),Vee=e=>()=>{let{roleArn:n,roleSessionName:t,webIdentityToken:r,providerId:o,policyArns:s,policy:a,durationSeconds:i,roleAssumerWithWebIdentity:u}=e;if(!u)throw new Kee.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})};pf.fromWebToken=Vee});var oM=m(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});ff.fromTokenFile=void 0;var Xee=ge(),Wee=require("fs"),Yee=WC(),Qee="AWS_WEB_IDENTITY_TOKEN_FILE",Jee="AWS_ROLE_ARN",Zee="AWS_ROLE_SESSION_NAME",ete=(e={})=>async()=>{var n,t,r;let o=(n=e==null?void 0:e.webIdentityTokenFile)!==null&&n!==void 0?n:process.env[Qee],s=(t=e==null?void 0:e.roleArn)!==null&&t!==void 0?t:process.env[Jee],a=(r=e==null?void 0:e.roleSessionName)!==null&&r!==void 0?r:process.env[Zee];if(!o||!s)throw new Xee.CredentialsProviderError("Web identity configuration not specified");return(0,Yee.fromWebToken)({...e,webIdentityToken:(0,Wee.readFileSync)(o,{encoding:"ascii"}),roleArn:s,roleSessionName:a})()};ff.fromTokenFile=ete});var iM=m(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});var sM=(z(),O(U));sM.__exportStar(oM(),yf);sM.__exportStar(WC(),yf)});var aM=m(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.remoteProvider=oo.ENV_IMDS_DISABLED=void 0;var _f=Wm(),tte=ge();oo.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";var nte=e=>process.env[_f.ENV_CMDS_RELATIVE_URI]||process.env[_f.ENV_CMDS_FULL_URI]?(0,_f.fromContainerMetadata)(e):process.env[oo.ENV_IMDS_DISABLED]?async()=>{throw new tte.CredentialsProviderError("EC2 Instance Metadata Service access disabled")}:(0,_f.fromInstanceMetadata)(e);oo.remoteProvider=nte});var cM=m(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});gf.defaultProvider=void 0;var rte=_T(),ote=JB(),ste=rM(),ite=nf(),ate=iM(),YC=ge(),cte=Bt(),dte=aM(),lte=(e={})=>(0,YC.memoize)((0,YC.chain)(...e.profile||process.env[cte.ENV_PROFILE]?[]:[(0,rte.fromEnv)()],(0,ite.fromSSO)(e),(0,ote.fromIni)(e),(0,ste.fromProcess)(e),(0,ate.fromTokenFile)(e),(0,dte.remoteProvider)(e),async()=>{throw new YC.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);gf.defaultProvider=lte});var JC=m(QC=>{"use strict";Object.defineProperty(QC,"__esModule",{value:!0});var ute=(z(),O(U));ute.__exportStar(cM(),QC)});var NM=m(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});hf.ruleSet=void 0;var SM="required",se="type",he="fn",Ce="argv",Pr="ref",dM=!1,mte=!0,so="booleanEquals",ln="tree",Ye="stringEquals",EM="sigv4",bM="sts",PM="us-east-1",Ae="endpoint",lM="https://sts.{Region}.{PartitionResult#dnsSuffix}",ps="error",eS="getAttr",uM={[SM]:!1,[se]:"String"},ZC={[SM]:!0,default:!1,[se]:"Boolean"},vM={[Pr]:"Endpoint"},mM={[he]:"isSet",[Ce]:[{[Pr]:"Region"}]},Qe={[Pr]:"Region"},pM={[he]:"aws.partition",[Ce]:[Qe],assign:"PartitionResult"},xM={[Pr]:"UseFIPS"},wM={[Pr]:"UseDualStack"},ot={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:EM,signingName:bM,signingRegion:PM}]},headers:{}},Ct={},fM={conditions:[{[he]:Ye,[Ce]:[Qe,"aws-global"]}],[Ae]:ot,[se]:Ae},kM={[he]:so,[Ce]:[xM,!0]},AM={[he]:so,[Ce]:[wM,!0]},yM={[he]:so,[Ce]:[!0,{[he]:eS,[Ce]:[{[Pr]:"PartitionResult"},"supportsFIPS"]}]},IM={[Pr]:"PartitionResult"},_M={[he]:so,[Ce]:[!0,{[he]:eS,[Ce]:[IM,"supportsDualStack"]}]},gM=[{[he]:"isSet",[Ce]:[vM]}],hM=[kM],CM=[AM],pte={version:"1.0",parameters:{Region:uM,UseDualStack:ZC,UseFIPS:ZC,Endpoint:uM,UseGlobalEndpoint:ZC},rules:[{conditions:[{[he]:so,[Ce]:[{[Pr]:"UseGlobalEndpoint"},mte]},{[he]:"not",[Ce]:gM},mM,pM,{[he]:so,[Ce]:[xM,dM]},{[he]:so,[Ce]:[wM,dM]}],[se]:ln,rules:[{conditions:[{[he]:Ye,[Ce]:[Qe,"ap-northeast-1"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"ap-south-1"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"ap-southeast-1"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"ap-southeast-2"]}],endpoint:ot,[se]:Ae},fM,{conditions:[{[he]:Ye,[Ce]:[Qe,"ca-central-1"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"eu-central-1"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"eu-north-1"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"eu-west-1"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"eu-west-2"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"eu-west-3"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"sa-east-1"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,PM]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"us-east-2"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"us-west-1"]}],endpoint:ot,[se]:Ae},{conditions:[{[he]:Ye,[Ce]:[Qe,"us-west-2"]}],endpoint:ot,[se]:Ae},{endpoint:{url:lM,properties:{authSchemes:[{name:EM,signingName:bM,signingRegion:"{Region}"}]},headers:Ct},[se]:Ae}]},{conditions:gM,[se]:ln,rules:[{conditions:hM,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[se]:ps},{conditions:CM,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[se]:ps},{endpoint:{url:vM,properties:Ct,headers:Ct},[se]:Ae}]},{conditions:[mM],[se]:ln,rules:[{conditions:[pM],[se]:ln,rules:[{conditions:[kM,AM],[se]:ln,rules:[{conditions:[yM,_M],[se]:ln,rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Ct,headers:Ct},[se]:Ae}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[se]:ps}]},{conditions:hM,[se]:ln,rules:[{conditions:[yM],[se]:ln,rules:[{conditions:[{[he]:Ye,[Ce]:["aws-us-gov",{[he]:eS,[Ce]:[IM,"name"]}]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:Ct,headers:Ct},[se]:Ae},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:Ct,headers:Ct},[se]:Ae}]},{error:"FIPS is enabled but this partition does not support FIPS",[se]:ps}]},{conditions:CM,[se]:ln,rules:[{conditions:[_M],[se]:ln,rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Ct,headers:Ct},[se]:Ae}]},{error:"DualStack is enabled but this partition does not support DualStack",[se]:ps}]},fM,{endpoint:{url:lM,properties:Ct,headers:Ct},[se]:Ae}]}]},{error:"Invalid Configuration: Missing Region",[se]:ps}]};hf.ruleSet=pte});var RM=m(Cf=>{"use strict";Object.defineProperty(Cf,"__esModule",{value:!0});Cf.defaultEndpointResolver=void 0;var fte=Lo(),yte=NM(),_te=(e,n={})=>(0,fte.resolveEndpoint)(yte.ruleSet,{endpointParams:e,logger:n.logger});Cf.defaultEndpointResolver=_te});var qM=m(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.getRuntimeConfig=void 0;var gte=E(),hte=Vr(),OM=go(),TM=Et(),Cte=RM(),Ste=e=>({apiVersion:"2011-06-15",base64Decoder:(e==null?void 0:e.base64Decoder)??OM.fromBase64,base64Encoder:(e==null?void 0:e.base64Encoder)??OM.toBase64,disableHostPrefix:(e==null?void 0:e.disableHostPrefix)??!1,endpointProvider:(e==null?void 0:e.endpointProvider)??Cte.defaultEndpointResolver,extensions:(e==null?void 0:e.extensions)??[],logger:(e==null?void 0:e.logger)??new gte.NoOpLogger,serviceId:(e==null?void 0:e.serviceId)??"STS",urlParser:(e==null?void 0:e.urlParser)??hte.parseUrl,utf8Decoder:(e==null?void 0:e.utf8Decoder)??TM.fromUtf8,utf8Encoder:(e==null?void 0:e.utf8Encoder)??TM.toUtf8});Sf.getRuntimeConfig=Ste});var DM=m(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.getRuntimeConfig=void 0;var Ete=(z(),O(U)),bte=Ete.__importDefault(kO()),Pte=Uh(),vte=JC(),xte=Pc(),Ef=Wt(),wte=vc(),BM=In(),jc=Sr(),MM=So(),kte=xc(),Ate=At(),Ite=qM(),Nte=E(),Rte=kc(),Ote=E(),Tte=e=>{(0,Ote.emitWarningIfUnsupportedVersion)(process.version);let n=(0,Rte.resolveDefaultsModeConfig)(e),t=()=>n().then(Nte.loadConfigsForDefaultMode),r=(0,Ite.getRuntimeConfig)(e);return{...r,...e,runtime:"node",defaultsMode:n,bodyLengthChecker:(e==null?void 0:e.bodyLengthChecker)??kte.calculateBodyLength,credentialDefaultProvider:(e==null?void 0:e.credentialDefaultProvider)??(0,Pte.decorateDefaultCredentialProvider)(vte.defaultProvider),defaultUserAgentProvider:(e==null?void 0:e.defaultUserAgentProvider)??(0,xte.defaultUserAgent)({serviceId:r.serviceId,clientVersion:bte.default.version}),maxAttempts:(e==null?void 0:e.maxAttempts)??(0,jc.loadConfig)(BM.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(e==null?void 0:e.region)??(0,jc.loadConfig)(Ef.NODE_REGION_CONFIG_OPTIONS,Ef.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(e==null?void 0:e.requestHandler)??new MM.NodeHttpHandler(t),retryMode:(e==null?void 0:e.retryMode)??(0,jc.loadConfig)({...BM.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||Ate.DEFAULT_RETRY_MODE}),sha256:(e==null?void 0:e.sha256)??wte.Hash.bind(null,"sha256"),streamCollector:(e==null?void 0:e.streamCollector)??MM.streamCollector,useDualstackEndpoint:(e==null?void 0:e.useDualstackEndpoint)??(0,jc.loadConfig)(Ef.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(e==null?void 0:e.useFipsEndpoint)??(0,jc.loadConfig)(Ef.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};bf.getRuntimeConfig=Tte});var UM=m(Pf=>{"use strict";Object.defineProperty(Pf,"__esModule",{value:!0});Pf.resolveRuntimeExtensions=void 0;var FM=gp(),LM=we(),jM=E(),tS=e=>e,qte=(e,n)=>{let t={...tS((0,FM.getAwsRegionExtensionConfiguration)(e)),...tS((0,jM.getDefaultExtensionConfiguration)(e)),...tS((0,LM.getHttpHandlerExtensionConfiguration)(e))};return n.forEach(r=>r.configure(t)),{...e,...(0,FM.resolveAwsRegionExtensionConfiguration)(t),...(0,jM.resolveDefaultRuntimeConfig)(t),...(0,LM.resolveHttpHandlerRuntimeConfig)(t)}};Pf.resolveRuntimeExtensions=qte});var vf=m(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.STSClient=fs.__Client=void 0;var zM=Ba(),Bte=Ma(),Mte=Da(),Dte=xO(),GM=rc(),Fte=Wt(),Lte=ac(),jte=v(),HM=In(),$M=E();Object.defineProperty(fs,"__Client",{enumerable:!0,get:function(){return $M.Client}});var Ute=wO(),zte=DM(),Gte=UM(),nS=class e extends $M.Client{constructor(...[n]){let t=(0,zte.getRuntimeConfig)(n||{}),r=(0,Ute.resolveClientEndpointParameters)(t),o=(0,Fte.resolveRegionConfig)(r),s=(0,jte.resolveEndpointConfig)(o),a=(0,HM.resolveRetryConfig)(s),i=(0,zM.resolveHostHeaderConfig)(a),u=(0,Dte.resolveStsAuthConfig)(i,{stsClientCtor:e}),l=(0,GM.resolveUserAgentConfig)(u),c=(0,Gte.resolveRuntimeExtensions)(l,(n==null?void 0:n.extensions)||[]);super(c),this.config=c,this.middlewareStack.use((0,HM.getRetryPlugin)(this.config)),this.middlewareStack.use((0,Lte.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,zM.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,Bte.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,Mte.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,GM.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};fs.STSClient=nS});var oS=m(ys=>{"use strict";Object.defineProperty(ys,"__esModule",{value:!0});ys.AssumeRoleWithSAMLCommand=ys.$Command=void 0;var Hte=v(),$te=w(),XM=E();Object.defineProperty(ys,"$Command",{enumerable:!0,get:function(){return XM.Command}});var Kte=x(),KM=lr(),VM=On(),rS=class e extends XM.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,Hte.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"AssumeRoleWithSAMLCommand",inputFilterSensitiveLog:KM.AssumeRoleWithSAMLRequestFilterSensitiveLog,outputFilterSensitiveLog:KM.AssumeRoleWithSAMLResponseFilterSensitiveLog,[Kte.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,VM.se_AssumeRoleWithSAMLCommand)(n,t)}deserialize(n,t){return(0,VM.de_AssumeRoleWithSAMLCommand)(n,t)}};ys.AssumeRoleWithSAMLCommand=rS});var iS=m(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.DecodeAuthorizationMessageCommand=_s.$Command=void 0;var Vte=vn(),Xte=v(),Wte=w(),YM=E();Object.defineProperty(_s,"$Command",{enumerable:!0,get:function(){return YM.Command}});var Yte=x(),WM=On(),sS=class e extends YM.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,Wte.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Xte.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Vte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"DecodeAuthorizationMessageCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Yte.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,WM.se_DecodeAuthorizationMessageCommand)(n,t)}deserialize(n,t){return(0,WM.de_DecodeAuthorizationMessageCommand)(n,t)}};_s.DecodeAuthorizationMessageCommand=sS});var cS=m(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});gs.GetAccessKeyInfoCommand=gs.$Command=void 0;var Qte=vn(),Jte=v(),Zte=w(),JM=E();Object.defineProperty(gs,"$Command",{enumerable:!0,get:function(){return JM.Command}});var ene=x(),QM=On(),aS=class e extends JM.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,Zte.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Jte.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Qte.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetAccessKeyInfoCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[ene.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,QM.se_GetAccessKeyInfoCommand)(n,t)}deserialize(n,t){return(0,QM.de_GetAccessKeyInfoCommand)(n,t)}};gs.GetAccessKeyInfoCommand=aS});var lS=m(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.GetCallerIdentityCommand=hs.$Command=void 0;var tne=vn(),nne=v(),rne=w(),eD=E();Object.defineProperty(hs,"$Command",{enumerable:!0,get:function(){return eD.Command}});var one=x(),ZM=On(),dS=class e extends eD.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,rne.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,nne.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,tne.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetCallerIdentityCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[one.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,ZM.se_GetCallerIdentityCommand)(n,t)}deserialize(n,t){return(0,ZM.de_GetCallerIdentityCommand)(n,t)}};hs.GetCallerIdentityCommand=dS});var mS=m(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.GetFederationTokenCommand=Cs.$Command=void 0;var sne=vn(),ine=v(),ane=w(),nD=E();Object.defineProperty(Cs,"$Command",{enumerable:!0,get:function(){return nD.Command}});var cne=x(),dne=lr(),tD=On(),uS=class e extends nD.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,ane.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ine.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,sne.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetFederationTokenCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:dne.GetFederationTokenResponseFilterSensitiveLog,[cne.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,tD.se_GetFederationTokenCommand)(n,t)}deserialize(n,t){return(0,tD.de_GetFederationTokenCommand)(n,t)}};Cs.GetFederationTokenCommand=uS});var fS=m(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.GetSessionTokenCommand=Ss.$Command=void 0;var lne=vn(),une=v(),mne=w(),oD=E();Object.defineProperty(Ss,"$Command",{enumerable:!0,get:function(){return oD.Command}});var pne=x(),fne=lr(),rD=On(),pS=class e extends oD.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,mne.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,une.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,lne.getAwsAuthPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"STSClient",commandName:"GetSessionTokenCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:fne.GetSessionTokenResponseFilterSensitiveLog,[pne.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,rD.se_GetSessionTokenCommand)(n,t)}deserialize(n,t){return(0,rD.de_GetSessionTokenCommand)(n,t)}};Ss.GetSessionTokenCommand=pS});var sD=m(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.STS=void 0;var yne=E(),_ne=bm(),gne=oS(),hne=Pm(),Cne=iS(),Sne=cS(),Ene=lS(),bne=mS(),Pne=fS(),vne=vf(),xne={AssumeRoleCommand:_ne.AssumeRoleCommand,AssumeRoleWithSAMLCommand:gne.AssumeRoleWithSAMLCommand,AssumeRoleWithWebIdentityCommand:hne.AssumeRoleWithWebIdentityCommand,DecodeAuthorizationMessageCommand:Cne.DecodeAuthorizationMessageCommand,GetAccessKeyInfoCommand:Sne.GetAccessKeyInfoCommand,GetCallerIdentityCommand:Ene.GetCallerIdentityCommand,GetFederationTokenCommand:bne.GetFederationTokenCommand,GetSessionTokenCommand:Pne.GetSessionTokenCommand},xf=class extends vne.STSClient{};wf.STS=xf;(0,yne.createAggregatedClient)(xne,xf)});var iD=m(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});var vr=(z(),O(U));vr.__exportStar(bm(),un);vr.__exportStar(oS(),un);vr.__exportStar(Pm(),un);vr.__exportStar(iS(),un);vr.__exportStar(cS(),un);vr.__exportStar(lS(),un);vr.__exportStar(mS(),un);vr.__exportStar(fS(),un)});var aD=m(yS=>{"use strict";Object.defineProperty(yS,"__esModule",{value:!0});var wne=(z(),O(U));wne.__exportStar(lr(),yS)});var uD=m(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.decorateDefaultCredentialProvider=mn.getDefaultRoleAssumerWithWebIdentity=mn.getDefaultRoleAssumer=void 0;var cD=Uh(),dD=vf(),lD=(e,n)=>n?class extends e{constructor(r){super(r);for(let o of n)this.middlewareStack.use(o)}}:e,kne=(e={},n)=>(0,cD.getDefaultRoleAssumer)(e,lD(dD.STSClient,n));mn.getDefaultRoleAssumer=kne;var Ane=(e={},n)=>(0,cD.getDefaultRoleAssumerWithWebIdentity)(e,lD(dD.STSClient,n));mn.getDefaultRoleAssumerWithWebIdentity=Ane;var Ine=e=>n=>e({roleAssumer:(0,mn.getDefaultRoleAssumer)(n),roleAssumerWithWebIdentity:(0,mn.getDefaultRoleAssumerWithWebIdentity)(n),...n});mn.decorateDefaultCredentialProvider=Ine});var mD=m(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.STSServiceException=void 0;var Uc=(z(),O(U));Uc.__exportStar(vf(),Ln);Uc.__exportStar(sD(),Ln);Uc.__exportStar(iD(),Ln);Uc.__exportStar(aD(),Ln);Uc.__exportStar(uD(),Ln);var Nne=gm();Object.defineProperty(Ln,"STSServiceException",{enumerable:!0,get:function(){return Nne.STSServiceException}})});var pD=m(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS=pn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME=pn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME=void 0;var kf=oc();pn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME="AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS";pn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME="s3_disable_multiregion_access_points";pn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,kf.booleanSelector)(e,pn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME,kf.SelectorType.ENV),configFileSelector:e=>(0,kf.booleanSelector)(e,pn.NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME,kf.SelectorType.CONFIG),default:!1}});var fD=m(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.NODE_USE_ARN_REGION_CONFIG_OPTIONS=fn.NODE_USE_ARN_REGION_INI_NAME=fn.NODE_USE_ARN_REGION_ENV_NAME=void 0;var Af=oc();fn.NODE_USE_ARN_REGION_ENV_NAME="AWS_S3_USE_ARN_REGION";fn.NODE_USE_ARN_REGION_INI_NAME="s3_use_arn_region";fn.NODE_USE_ARN_REGION_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,Af.booleanSelector)(e,fn.NODE_USE_ARN_REGION_ENV_NAME,Af.SelectorType.ENV),configFileSelector:e=>(0,Af.booleanSelector)(e,fn.NODE_USE_ARN_REGION_INI_NAME,Af.SelectorType.CONFIG),default:!1}});var hS=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 Rne=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,One=/(\d+\.){3}\d+/,Tne=/\.\./;ne.DOT_PATTERN=/\./;ne.S3_HOSTNAME_PATTERN=/^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./;var yD=/^s3(-external-1)?\.amazonaws\.com$/,gS="amazonaws.com",qne=e=>typeof e.bucketName=="string";ne.isBucketNameOptions=qne;var Bne=e=>Rne.test(e)&&!One.test(e)&&!Tne.test(e);ne.isDnsCompatibleBucketName=Bne;var _D=e=>{let n=e.match(ne.S3_HOSTNAME_PATTERN);return[n[4],e.replace(new RegExp(`^${n[0]}`),"")]},Mne=e=>yD.test(e)?["us-east-1",gS]:_D(e);ne.getSuffix=Mne;var Dne=e=>yD.test(e)?[e.replace(`.${gS}`,""),gS]:_D(e);ne.getSuffixForArnEndpoint=Dne;var Fne=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=Fne;var Lne=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=Lne;var jne=e=>{if(e!=="s3")throw new Error("Expect 's3' in Accesspoint ARN service component")};ne.validateS3Service=jne;var Une=e=>{if(e!=="s3-outposts")throw new Error("Expect 's3-posts' in Outpost ARN service component")};ne.validateOutpostService=Une;var zne=(e,n)=>{if(e!==n.clientPartition)throw new Error(`Partition in ARN is incompatible, got "${e}" but expected "${n.clientPartition}"`)};ne.validatePartition=zne;var Gne=(e,n)=>{if(e==="")throw new Error("ARN region is empty");if(n.useFipsEndpoint)if(n.allowFipsRegion){if(!_S(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&&!_S(e,n.clientRegion||"")&&!_S(e,n.clientSigningRegion||""))throw new Error(`Region in ARN is incompatible, got ${e} but expected ${n.clientRegion}`)};ne.validateRegion=Gne;var Hne=e=>{if(["s3-external-1","aws-global"].includes(e))throw new Error(`Client region ${e} is not regional`)};ne.validateRegionalClient=Hne;var _S=(e,n)=>e===n,$ne=e=>{if(!/[0-9]{12}/.exec(e))throw new Error("Access point ARN accountID does not match regex '[0-9]{12}'")};ne.validateAccountId=$ne;var Kne=(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=Kne;var Vne=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=Vne;var Xne=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=Xne;var Wne=e=>{if(e)throw new Error("Dualstack endpoint is not supported with Outpost or Multi-region Access Point ARN.")};ne.validateNoDualstack=Wne;var Yne=e=>{if(e)throw new Error("FIPS region is not supported with Outpost.")};ne.validateNoFIPS=Yne;var Qne=e=>{try{e.split(".").forEach(n=>{(0,ne.validateDNSHostLabel)(n)})}catch{throw new Error(`"${e}" is not a DNS compatible name.`)}};ne.validateMrapAlias=Qne});var CS=m(If=>{"use strict";Object.defineProperty(If,"__esModule",{value:!0});If.bucketHostname=void 0;var Se=hS(),Jne=e=>((0,Se.validateCustomEndpoint)(e),(0,Se.isBucketNameOptions)(e)?Zne(e):ere(e));If.bucketHostname=Jne;var Zne=({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,Se.getSuffix)(t);return a||!(0,Se.isDnsCompatibleBucketName)(r)||i&&Se.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}`})},ere=e=>{let{isCustomEndpoint:n,baseHostname:t,clientRegion:r}=e,o=n?t:(0,Se.getSuffixForArnEndpoint)(t)[1],{pathStyleEndpoint:s,accelerateEndpoint:a=!1,fipsEndpoint:i=!1,tlsCompatible:u=!0,bucketName:l,clientPartition:c="aws"}=e;(0,Se.validateArnEndpointOptions)({pathStyleEndpoint:s,accelerateEndpoint:a,tlsCompatible:u});let{service:y,partition:_,accountId:C,region:b,resource:L}=l;(0,Se.validateService)(y),(0,Se.validatePartition)(_,{clientPartition:c}),(0,Se.validateAccountId)(C);let{accesspointName:j,outpostId:V}=(0,Se.getArnResources)(L);return y==="s3-object-lambda"?tre({...e,tlsCompatible:u,bucketName:l,accesspointName:j,hostnameSuffix:o}):b===""?nre({...e,clientRegion:r,mrapAlias:j,hostnameSuffix:o}):V?rre({...e,clientRegion:r,outpostId:V,accesspointName:j,hostnameSuffix:o}):ore({...e,clientRegion:r,accesspointName:j,hostnameSuffix:o})},tre=({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,Se.validateRegionalClient)(o),(0,Se.validateRegion)(c,{useArnRegion:r,clientRegion:o,clientSigningRegion:s,allowFipsRegion:!0,useFipsEndpoint:n}),(0,Se.validateNoDualstack)(e);let _=`${a}-${l}`;(0,Se.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}},nre=({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,Se.validateMrapAlias)(r),(0,Se.validateNoDualstack)(n),{bucketEndpoint:!0,hostname:`${r}${t?"":".accesspoint.s3-global"}.${o}`,signingRegion:"*"}},rre=({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,Se.validateRegionalClient)(n),(0,Se.validateRegion)(r.region,{useArnRegion:e,clientRegion:n,clientSigningRegion:t,useFipsEndpoint:a});let y=`${u}-${r.accountId}`;(0,Se.validateDNSHostLabel)(y,{tlsCompatible:i});let _=e?r.region:n,C=e?r.region:t;return(0,Se.validateOutpostService)(r.service),(0,Se.validateDNSHostLabel)(o,{tlsCompatible:i}),(0,Se.validateNoDualstack)(s),(0,Se.validateNoFIPS)(a),{bucketEndpoint:!0,hostname:`${`${y}.${o}`}${l?"":`.s3-outposts.${_}`}.${c}`,signingRegion:C,signingService:"s3-outposts"}},ore=({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,Se.validateRegionalClient)(n),(0,Se.validateRegion)(r.region,{useArnRegion:e,clientRegion:n,clientSigningRegion:t,allowFipsRegion:!0,useFipsEndpoint:s});let c=`${i}-${r.accountId}`;(0,Se.validateDNSHostLabel)(c,{tlsCompatible:a});let y=e?r.region:n,_=e?r.region:t;return(0,Se.validateS3Service)(r.service),{bucketEndpoint:!0,hostname:`${c}${u?"":`.s3-accesspoint${s?"-fips":""}${o?".dualstack":""}.${y}`}.${l}`,signingRegion:_}}});var CD=m(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.getBucketEndpointPlugin=yn.bucketEndpointMiddlewareOptions=yn.bucketEndpointMiddleware=void 0;var gD=D_(),sre=we(),hD=CS(),ire=e=>(n,t)=>async r=>{let{Bucket:o}=r.input,s=e.bucketEndpoint,a=r.request;if(sre.HttpRequest.isInstance(a)){if(e.bucketEndpoint)a.hostname=o;else if((0,gD.validate)(o)){let i=(0,gD.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:L,signingRegion:j,signingService:V}=(0,hD.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()});j&&j!==_&&(t.signing_region=j),V&&V!=="s3"&&(t.signing_service=V),a.hostname=b,s=L}else{let i=await e.region(),u=await e.useDualstackEndpoint(),l=await e.useFipsEndpoint(),{hostname:c,bucketEndpoint:y}=(0,hD.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})};yn.bucketEndpointMiddleware=ire;yn.bucketEndpointMiddlewareOptions={tags:["BUCKET_ENDPOINT"],name:"bucketEndpointMiddleware",relation:"before",toMiddleware:"hostHeaderMiddleware",override:!0};var are=e=>({applyToStack:n=>{n.addRelativeTo((0,yn.bucketEndpointMiddleware)(e),yn.bucketEndpointMiddlewareOptions)}});yn.getBucketEndpointPlugin=are});var SD=m(Nf=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});Nf.resolveBucketEndpointConfig=void 0;function cre(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)}}Nf.resolveBucketEndpointConfig=cre});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 zc=(z(),O(U));zc.__exportStar(pD(),ve);zc.__exportStar(fD(),ve);zc.__exportStar(CD(),ve);zc.__exportStar(CS(),ve);zc.__exportStar(SD(),ve);var jn=hS();Object.defineProperty(ve,"getArnResources",{enumerable:!0,get:function(){return jn.getArnResources}});Object.defineProperty(ve,"getSuffixForArnEndpoint",{enumerable:!0,get:function(){return jn.getSuffixForArnEndpoint}});Object.defineProperty(ve,"validateOutpostService",{enumerable:!0,get:function(){return jn.validateOutpostService}});Object.defineProperty(ve,"validatePartition",{enumerable:!0,get:function(){return jn.validatePartition}});Object.defineProperty(ve,"validateAccountId",{enumerable:!0,get:function(){return jn.validateAccountId}});Object.defineProperty(ve,"validateRegion",{enumerable:!0,get:function(){return jn.validateRegion}});Object.defineProperty(ve,"validateDNSHostLabel",{enumerable:!0,get:function(){return jn.validateDNSHostLabel}});Object.defineProperty(ve,"validateNoDualstack",{enumerable:!0,get:function(){return jn.validateNoDualstack}});Object.defineProperty(ve,"validateNoFIPS",{enumerable:!0,get:function(){return jn.validateNoFIPS}})});var bD=m(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});Rf.getChunkedStream=void 0;function dre(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(Es,"__esModule",{value:!0});Es.getMessageUnmarshaller=Es.getUnmarshalledStream=void 0;function lre(e,n){let t=PD(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)}}}}Es.getUnmarshalledStream=lre;function PD(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}`)}}Es.getMessageUnmarshaller=PD});var ES=m(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});Of.EventStreamMarshaller=void 0;var Gc=og(),ure=bD(),mre=vD(),SS=class{constructor({utf8Encoder:n,utf8Decoder:t}){this.eventStreamCodec=new Gc.EventStreamCodec(n,t),this.utfEncoder=n}deserialize(n,t){let r=(0,ure.getChunkedStream)(n);return new Gc.SmithyMessageDecoderStream({messageStream:new Gc.MessageDecoderStream({inputStream:r,decoder:this.eventStreamCodec}),deserializer:(0,mre.getMessageUnmarshaller)(t,this.utfEncoder)})}serialize(n,t){return new Gc.MessageEncoderStream({messageStream:new Gc.SmithyMessageEncoderStream({inputStream:n,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}};Of.EventStreamMarshaller=SS});var xD=m(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.eventStreamSerdeProvider=void 0;var pre=ES(),fre=e=>new pre.EventStreamMarshaller(e);Tf.eventStreamSerdeProvider=fre});var kD=m(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});var wD=(z(),O(U));wD.__exportStar(ES(),qf);wD.__exportStar(xD(),qf)});var AD=m(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});Bf.readabletoIterable=void 0;async function*yre(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}}Bf.readabletoIterable=yre});var PS=m(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});Mf.EventStreamMarshaller=void 0;var _re=kD(),gre=require("stream"),hre=AD(),bS=class{constructor({utf8Encoder:n,utf8Decoder:t}){this.universalMarshaller=new _re.EventStreamMarshaller({utf8Decoder:t,utf8Encoder:n})}deserialize(n,t){let r=typeof n[Symbol.asyncIterator]=="function"?n:(0,hre.readabletoIterable)(n);return this.universalMarshaller.deserialize(r,t)}serialize(n,t){return gre.Readable.from(this.universalMarshaller.serialize(n,t))}};Mf.EventStreamMarshaller=bS});var ID=m(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});Df.eventStreamSerdeProvider=void 0;var Cre=PS(),Sre=e=>new Cre.EventStreamMarshaller(e);Df.eventStreamSerdeProvider=Sre});var RD=m(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});var ND=(z(),O(U));ND.__exportStar(PS(),Ff);ND.__exportStar(ID(),Ff)});var xS=m(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.HashCalculator=void 0;var Ere=Et(),bre=require("stream"),vS=class extends bre.Writable{constructor(n,t){super(t),this.hash=n}_write(n,t,r){try{this.hash.update((0,Ere.toUint8Array)(n))}catch(o){return r(o)}r()}};Lf.HashCalculator=vS});var OD=m(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});jf.fileStreamHasher=void 0;var Pre=require("fs"),vre=xS(),xre=(e,n)=>new Promise((t,r)=>{if(!wre(n)){r(new Error("Unable to calculate hash for non-file streams."));return}let o=(0,Pre.createReadStream)(n.path,{start:n.start,end:n.end}),s=new e,a=new vre.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)})});jf.fileStreamHasher=xre;var wre=e=>typeof e.path=="string"});var TD=m(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.readableStreamHasher=void 0;var kre=xS(),Are=(e,n)=>{if(n.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let t=new e,r=new kre.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)})})};Uf.readableStreamHasher=Are});var BD=m(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});var qD=(z(),O(U));qD.__exportStar(OD(),zf);qD.__exportStar(TD(),zf)});var Hf=m(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});Gf.signatureV4CrtContainer=void 0;Gf.signatureV4CrtContainer={CrtSignerV4:null}});var MD=m($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.loadCrt=void 0;var Ire=Hf();function Nre(){if(!Ire.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{}}$f.loadCrt=Nre});var DD=m(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});Kf.SignatureV4MultiRegion=void 0;var Rre=_g(),Ore=MD(),Tre=Hf(),wS=class{constructor(n){this.sigv4Signer=new Rre.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,Ore.loadCrt)(),n=Tre.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}};Kf.SignatureV4MultiRegion=wS});var LD=m(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});var FD=(z(),O(U));FD.__exportStar(DD(),Vf);FD.__exportStar(Hf(),Vf)});var YF=m(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});Zf.ruleSet=void 0;var ZS="required",g="type",S="conditions",k="fn",A="argv",oe="ref",Je="assign",W="url",Y="properties",zn="authSchemes",Gn="disableDoubleEncoding",Hn="signingName",kr="signingRegion",Q="headers",jD=!1,_n=!0,gn="isSet",G="tree",st="booleanEquals",X="error",Qf="aws.partition",Te="stringEquals",Me="getAttr",Nt="name",Hc="substring",TF="hardwareType",qF="regionPrefix",UD="bucketAliasSuffix",YS="outpostId",io="isValidHostLabel",Dt="not",BF="parseURL",eE="s3-outposts",H="endpoint",zD="aws.isVirtualHostableS3Bucket",Ps="s3",MF="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",DF="{url#scheme}://{Bucket}.{url#authority}{url#path}",FF="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",GD="https://{Bucket}.s3.{partitionResult#dnsSuffix}",LF="aws.parseArn",jF="bucketArn",UF="arnType",Jf="",tE="s3-object-lambda",zF="accesspoint",nE="accessPointName",HD="{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",$D="mrapPartition",KD="outpostType",VD="arnPrefix",GF="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",XD="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",QS="{url#scheme}://{url#authority}{url#path}",WD="https://s3.{partitionResult#dnsSuffix}",kS={[ZS]:!1,[g]:"String"},bs={[ZS]:!0,default:!1,[g]:"Boolean"},AS={[ZS]:!1,[g]:"Boolean"},Mt={[k]:st,[A]:[{[oe]:"Accelerate"},!0]},Ie={[k]:st,[A]:[{[oe]:"UseFIPS"},!0]},be={[k]:st,[A]:[{[oe]:"UseDualStack"},!0]},Be={[k]:gn,[A]:[{[oe]:"Endpoint"}]},HF={[k]:Qf,[A]:[{[oe]:"Region"}],[Je]:"partitionResult"},YD={[k]:Te,[A]:[{[k]:Me,[A]:[{[oe]:"partitionResult"},Nt]},"aws-cn"]},$F={[k]:gn,[A]:[{[oe]:"Bucket"}]},Un={[oe]:"Bucket"},QD={[oe]:TF},JD={[S]:[{[k]:Dt,[A]:[Be]}],[X]:"Expected a endpoint to be specified but no endpoint was found",[g]:X},re={[k]:Dt,[A]:[Be]},at={[k]:BF,[A]:[{[oe]:"Endpoint"}],[Je]:"url"},Xf={[zn]:[{[Gn]:!0,[Nt]:"sigv4",[Hn]:eE,[kr]:"{Region}"}]},ce={},IS={[k]:st,[A]:[{[oe]:"ForcePathStyle"},!1]},qre={[oe]:"ForcePathStyle"},Le={[k]:st,[A]:[{[oe]:"Accelerate"},!1]},Ue={[k]:Te,[A]:[{[oe]:"Region"},"aws-global"]},$e={[zn]:[{[Gn]:!0,[Nt]:"sigv4",[Hn]:Ps,[kr]:"us-east-1"}]},ue={[k]:Dt,[A]:[Ue]},Ke={[k]:st,[A]:[{[oe]:"UseGlobalEndpoint"},!0]},ZD={[W]:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:{[zn]:[{[Gn]:!0,[Nt]:"sigv4",[Hn]:Ps,[kr]:"{Region}"}]},[Q]:{}},je={[zn]:[{[Gn]:!0,[Nt]:"sigv4",[Hn]:Ps,[kr]:"{Region}"}]},Ve={[k]:st,[A]:[{[oe]:"UseGlobalEndpoint"},!1]},de={[k]:st,[A]:[{[oe]:"UseDualStack"},!1]},eF={[W]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},ie={[k]:st,[A]:[{[oe]:"UseFIPS"},!1]},tF={[W]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},nF={[W]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},NS={[k]:st,[A]:[{[k]:Me,[A]:[{[oe]:"url"},"isIp"]},!0]},KF={[oe]:"url"},RS={[k]:st,[A]:[{[k]:Me,[A]:[KF,"isIp"]},!1]},OS={[W]:MF,[Y]:je,[Q]:{}},JS={[W]:DF,[Y]:je,[Q]:{}},rF={[H]:JS,[g]:H},TS={[W]:FF,[Y]:je,[Q]:{}},oF={[W]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},Wf={[X]:"Invalid region: region was not a valid DNS name.",[g]:X},pt={[oe]:jF},VF={[oe]:UF},qS={[k]:Me,[A]:[pt,"service"]},rE={[oe]:nE},sF={[S]:[be],[X]:"S3 Object Lambda does not support Dual-stack",[g]:X},iF={[S]:[Mt],[X]:"S3 Object Lambda does not support S3 Accelerate",[g]:X},aF={[S]:[{[k]:gn,[A]:[{[oe]:"DisableAccessPoints"}]},{[k]:st,[A]:[{[oe]:"DisableAccessPoints"},!0]}],[X]:"Access points are not supported for this operation",[g]:X},BS={[S]:[{[k]:gn,[A]:[{[oe]:"UseArnRegion"}]},{[k]:st,[A]:[{[oe]:"UseArnRegion"},!1]},{[k]:Dt,[A]:[{[k]:Te,[A]:[{[k]:Me,[A]:[pt,"region"]},"{Region}"]}]}],[X]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",[g]:X},XF={[k]:Me,[A]:[{[oe]:"bucketPartition"},Nt]},WF={[k]:Me,[A]:[pt,"accountId"]},MS={[zn]:[{[Gn]:!0,[Nt]:"sigv4",[Hn]:tE,[kr]:"{bucketArn#region}"}]},cF={[X]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",[g]:X},DS={[X]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",[g]:X},FS={[X]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",[g]:X},LS={[X]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",[g]:X},dF={[X]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",[g]:X},lF={[X]:"Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided",[g]:X},$c={[zn]:[{[Gn]:!0,[Nt]:"sigv4",[Hn]:Ps,[kr]:"{bucketArn#region}"}]},uF={[zn]:[{[Gn]:!0,[Nt]:"sigv4",[Hn]:eE,[kr]:"{bucketArn#region}"}]},mF={[k]:LF,[A]:[Un]},pF={[W]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:je,[Q]:{}},fF={[W]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:je,[Q]:{}},yF={[W]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:je,[Q]:{}},jS={[W]:GF,[Y]:je,[Q]:{}},_F={[W]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[Y]:je,[Q]:{}},gF={[oe]:"UseObjectLambdaEndpoint"},US={[zn]:[{[Gn]:!0,[Nt]:"sigv4",[Hn]:tE,[kr]:"{Region}"}]},hF={[W]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},CF={[W]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},SF={[W]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},zS={[W]:QS,[Y]:je,[Q]:{}},EF={[W]:"https://s3.{Region}.{partitionResult#dnsSuffix}",[Y]:je,[Q]:{}},GS=[{[oe]:"Region"}],Bre=[{[oe]:"Endpoint"}],bF=[Un],PF=[{[k]:io,[A]:[{[oe]:YS},!1]}],vF=[{[k]:Te,[A]:[{[oe]:qF},"beta"]}],Kc=[Be,at],xF=[$F],xr=[HF],wF=[{[k]:io,[A]:[{[oe]:"Region"},!1]}],wr=[{[k]:Te,[A]:[{[oe]:"Region"},"us-east-1"]}],HS=[{[k]:Te,[A]:[VF,zF]}],kF=[{[k]:Me,[A]:[pt,"resourceId[1]"],[Je]:nE},{[k]:Dt,[A]:[{[k]:Te,[A]:[rE,Jf]}]}],Mre=[pt,"resourceId[1]"],AF=[be],$S=[Mt],KS=[{[k]:Dt,[A]:[{[k]:Te,[A]:[{[k]:Me,[A]:[pt,"region"]},Jf]}]}],IF=[{[k]:Dt,[A]:[{[k]:gn,[A]:[{[k]:Me,[A]:[pt,"resourceId[2]"]}]}]}],Dre=[pt,"resourceId[2]"],VS=[{[k]:Qf,[A]:[{[k]:Me,[A]:[pt,"region"]}],[Je]:"bucketPartition"}],NF=[{[k]:Te,[A]:[XF,{[k]:Me,[A]:[{[oe]:"partitionResult"},Nt]}]}],XS=[{[k]:io,[A]:[{[k]:Me,[A]:[pt,"region"]},!0]}],WS=[{[k]:io,[A]:[WF,!1]}],RF=[{[k]:io,[A]:[rE,!1]}],Yf=[Ie],OF=[{[k]:io,[A]:[{[oe]:"Region"},!0]}],Fre={version:"1.0",parameters:{Bucket:kS,Region:kS,UseFIPS:bs,UseDualStack:bs,Endpoint:kS,ForcePathStyle:bs,Accelerate:bs,UseGlobalEndpoint:bs,UseObjectLambdaEndpoint:AS,DisableAccessPoints:AS,DisableMultiRegionAccessPoints:bs,UseArnRegion:AS},rules:[{[S]:[{[k]:gn,[A]:GS}],[g]:G,rules:[{[S]:[Mt,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,Mt],error:"A custom endpoint cannot be combined with S3 Accelerate",[g]:X},{[S]:[Ie,HF,YD],error:"Partition does not support FIPS",[g]:X},{[S]:[$F,{[k]:Hc,[A]:[Un,49,50,_n],[Je]:TF},{[k]:Hc,[A]:[Un,8,12,_n],[Je]:qF},{[k]:Hc,[A]:[Un,0,7,_n],[Je]:UD},{[k]:Hc,[A]:[Un,32,49,_n],[Je]:YS},{[k]:Qf,[A]:GS,[Je]:"regionPartition"},{[k]:Te,[A]:[{[oe]:UD},"--op-s3"]}],[g]:G,rules:[{[S]:PF,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[QD,"e"]}],[g]:G,rules:[{[S]:vF,[g]:G,rules:[JD,{[S]:Kc,endpoint:{[W]:"https://{Bucket}.ec2.{url#authority}",[Y]:Xf,[Q]:ce},[g]:H}]},{endpoint:{[W]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[Y]:Xf,[Q]:ce},[g]:H}]},{[S]:[{[k]:Te,[A]:[QD,"o"]}],[g]:G,rules:[{[S]:vF,[g]:G,rules:[JD,{[S]:Kc,endpoint:{[W]:"https://{Bucket}.op-{outpostId}.{url#authority}",[Y]:Xf,[Q]:ce},[g]:H}]},{endpoint:{[W]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[Y]:Xf,[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]:xF,[g]:G,rules:[{[S]:[Be,{[k]:Dt,[A]:[{[k]:gn,[A]:[{[k]:BF,[A]:Bre}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",[g]:X},{[S]:[IS,{[k]:zD,[A]:[Un,jD]}],[g]:G,rules:[{[S]:xr,[g]:G,rules:[{[S]:wF,[g]:G,rules:[{[S]:[Mt,YD],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:ZD,[g]:H}]},{[S]:[be,Ie,Le,re,ue,Ve],endpoint:ZD,[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:eF,[g]:H}]},{[S]:[de,Ie,Le,re,ue,Ve],endpoint:eF,[g]:H},{[S]:[be,ie,Mt,re,Ue],endpoint:{[W]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",[Y]:$e,[Q]:ce},[g]:H},{[S]:[be,ie,Mt,re,ue,Ke],[g]:G,rules:[{endpoint:tF,[g]:H}]},{[S]:[be,ie,Mt,re,ue,Ve],endpoint:tF,[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:nF,[g]:H}]},{[S]:[be,ie,Le,re,ue,Ve],endpoint:nF,[g]:H},{[S]:[de,ie,Le,Be,at,NS,Ue],endpoint:{[W]:MF,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,ie,Le,Be,at,RS,Ue],endpoint:{[W]:DF,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,ie,Le,Be,at,NS,ue,Ke],[g]:G,rules:[{[S]:wr,endpoint:OS,[g]:H},{endpoint:OS,[g]:H}]},{[S]:[de,ie,Le,Be,at,RS,ue,Ke],[g]:G,rules:[{[S]:wr,endpoint:JS,[g]:H},rF]},{[S]:[de,ie,Le,Be,at,NS,ue,Ve],endpoint:OS,[g]:H},{[S]:[de,ie,Le,Be,at,RS,ue,Ve],endpoint:JS,[g]:H},{[S]:[de,ie,Mt,re,Ue],endpoint:{[W]:FF,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,ie,Mt,re,ue,Ke],[g]:G,rules:[{[S]:wr,endpoint:TS,[g]:H},{endpoint:TS,[g]:H}]},{[S]:[de,ie,Mt,re,ue,Ve],endpoint:TS,[g]:H},{[S]:[de,ie,Le,re,Ue],endpoint:{[W]:GD,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,ie,Le,re,ue,Ke],[g]:G,rules:[{[S]:wr,endpoint:{[W]:GD,[Y]:je,[Q]:ce},[g]:H},{endpoint:oF,[g]:H}]},{[S]:[de,ie,Le,re,ue,Ve],endpoint:oF,[g]:H}]},Wf]}]},{[S]:[Be,at,{[k]:Te,[A]:[{[k]:Me,[A]:[KF,"scheme"]},"http"]},{[k]:zD,[A]:[Un,_n]},IS,ie,de,Le],[g]:G,rules:[{[S]:xr,[g]:G,rules:[{[S]:wF,[g]:G,rules:[rF]},Wf]}]},{[S]:[IS,{[k]:LF,[A]:bF,[Je]:jF}],[g]:G,rules:[{[S]:[{[k]:Me,[A]:[pt,"resourceId[0]"],[Je]:UF},{[k]:Dt,[A]:[{[k]:Te,[A]:[VF,Jf]}]}],[g]:G,rules:[{[S]:[{[k]:Te,[A]:[qS,tE]}],[g]:G,rules:[{[S]:HS,[g]:G,rules:[{[S]:kF,[g]:G,rules:[sF,iF,{[S]:KS,[g]:G,rules:[aF,{[S]:IF,[g]:G,rules:[BS,{[S]:VS,[g]:G,rules:[{[S]:xr,[g]:G,rules:[{[S]:NF,[g]:G,rules:[{[S]:XS,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[WF,Jf]}],error:"Invalid ARN: Missing account id",[g]:X},{[S]:WS,[g]:G,rules:[{[S]:RF,[g]:G,rules:[{[S]:Kc,endpoint:{[W]:HD,[Y]:MS,[Q]:ce},[g]:H},{[S]:Yf,endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:MS,[Q]:ce},[g]:H},{endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:MS,[Q]:ce},[g]:H}]},cF]},DS]},FS]},LS]}]}]},dF]},{error:"Invalid ARN: bucket ARN is missing a region",[g]:X}]},lF]},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",[g]:X}]},{[S]:HS,[g]:G,rules:[{[S]:kF,[g]:G,rules:[{[S]:KS,[g]:G,rules:[{[S]:HS,[g]:G,rules:[{[S]:KS,[g]:G,rules:[aF,{[S]:IF,[g]:G,rules:[BS,{[S]:VS,[g]:G,rules:[{[S]:xr,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[XF,"{partitionResult#name}"]}],[g]:G,rules:[{[S]:XS,[g]:G,rules:[{[S]:[{[k]:Te,[A]:[qS,Ps]}],[g]:G,rules:[{[S]:WS,[g]:G,rules:[{[S]:RF,[g]:G,rules:[{[S]:$S,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]:$c,[Q]:ce},[g]:H},{[S]:[Ie,de],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:$c,[Q]:ce},[g]:H},{[S]:[ie,be],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:$c,[Q]:ce},[g]:H},{[S]:[ie,de,Be,at],endpoint:{[W]:HD,[Y]:$c,[Q]:ce},[g]:H},{[S]:[ie,de],endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:$c,[Q]:ce},[g]:H}]},cF]},DS]},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",[g]:X}]},FS]},LS]}]}]},dF]}]}]},{[S]:[{[k]:io,[A]:[rE,_n]}],[g]:G,rules:[{[S]:AF,error:"S3 MRAP does not support dual-stack",[g]:X},{[S]:Yf,error:"S3 MRAP does not support FIPS",[g]:X},{[S]:$S,error:"S3 MRAP does not support S3 Accelerate",[g]:X},{[S]:[{[k]:st,[A]:[{[oe]:"DisableMultiRegionAccessPoints"},_n]}],error:"Invalid configuration: Multi-Region Access Point ARNs are disabled.",[g]:X},{[S]:[{[k]:Qf,[A]:GS,[Je]:$D}],[g]:G,rules:[{[S]:[{[k]:Te,[A]:[{[k]:Me,[A]:[{[oe]:$D},Nt]},{[k]:Me,[A]:[pt,"partition"]}]}],[g]:G,rules:[{endpoint:{[W]:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",[Y]:{[zn]:[{[Gn]:_n,name:"sigv4a",[Hn]:Ps,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}]},lF]},{[S]:[{[k]:Te,[A]:[qS,eE]}],[g]:G,rules:[{[S]:AF,error:"S3 Outposts does not support Dual-stack",[g]:X},{[S]:Yf,error:"S3 Outposts does not support FIPS",[g]:X},{[S]:$S,error:"S3 Outposts does not support S3 Accelerate",[g]:X},{[S]:[{[k]:gn,[A]:[{[k]:Me,[A]:[pt,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",[g]:X},{[S]:[{[k]:Me,[A]:Mre,[Je]:YS}],[g]:G,rules:[{[S]:PF,[g]:G,rules:[BS,{[S]:VS,[g]:G,rules:[{[S]:xr,[g]:G,rules:[{[S]:NF,[g]:G,rules:[{[S]:XS,[g]:G,rules:[{[S]:WS,[g]:G,rules:[{[S]:[{[k]:Me,[A]:Dre,[Je]:KD}],[g]:G,rules:[{[S]:[{[k]:Me,[A]:[pt,"resourceId[3]"],[Je]:nE}],[g]:G,rules:[{[S]:[{[k]:Te,[A]:[{[oe]:KD},zF]}],[g]:G,rules:[{[S]:Kc,endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",[Y]:uF,[Q]:ce},[g]:H},{endpoint:{[W]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",[Y]:uF,[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}]},DS]},FS]},LS]}]}]},{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]:Hc,[A]:[Un,0,4,jD],[Je]:VD},{[k]:Te,[A]:[{[oe]:VD},"arn:"]},{[k]:Dt,[A]:[{[k]:gn,[A]:[mF]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",[g]:X},{[S]:[{[k]:st,[A]:[qre,_n]},mF],error:"Path-style addressing cannot be used with ARN buckets",[g]:X},{[S]:[{[k]:"uriEncode",[A]:bF,[Je]:"uri_encoded_bucket"}],[g]:G,rules:[{[S]:xr,[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:pF,[g]:H}]},{[S]:[be,re,Ie,ue,Ve],endpoint:pF,[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:fF,[g]:H}]},{[S]:[de,re,Ie,ue,Ve],endpoint:fF,[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:yF,[g]:H}]},{[S]:[be,re,ie,ue,Ve],endpoint:yF,[g]:H},{[S]:[de,Be,at,ie,Ue],endpoint:{[W]:GF,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,Be,at,ie,ue,Ke],[g]:G,rules:[{[S]:wr,endpoint:jS,[g]:H},{endpoint:jS,[g]:H}]},{[S]:[de,Be,at,ie,ue,Ve],endpoint:jS,[g]:H},{[S]:[de,re,ie,Ue],endpoint:{[W]:XD,[Y]:$e,[Q]:ce},[g]:H},{[S]:[de,re,ie,ue,Ke],[g]:G,rules:[{[S]:wr,endpoint:{[W]:XD,[Y]:je,[Q]:ce},[g]:H},{endpoint:_F,[g]:H}]},{[S]:[de,re,ie,ue,Ve],endpoint:_F,[g]:H}]},{error:"Path-style addressing cannot be used with S3 Accelerate",[g]:X}]}]}]},{[S]:[{[k]:gn,[A]:[gF]},{[k]:st,[A]:[gF,_n]}],[g]:G,rules:[{[S]:xr,[g]:G,rules:[{[S]:OF,[g]:G,rules:[sF,iF,{[S]:Kc,endpoint:{[W]:QS,[Y]:US,[Q]:ce},[g]:H},{[S]:Yf,endpoint:{[W]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",[Y]:US,[Q]:ce},[g]:H},{endpoint:{[W]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",[Y]:US,[Q]:ce},[g]:H}]},Wf]}]},{[S]:[{[k]:Dt,[A]:xF}],[g]:G,rules:[{[S]:xr,[g]:G,rules:[{[S]:OF,[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:hF,[g]:H}]},{[S]:[Ie,be,re,ue,Ve],endpoint:hF,[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:CF,[g]:H}]},{[S]:[Ie,de,re,ue,Ve],endpoint:CF,[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:SF,[g]:H}]},{[S]:[ie,be,re,ue,Ve],endpoint:SF,[g]:H},{[S]:[ie,de,Be,at,Ue],endpoint:{[W]:QS,[Y]:$e,[Q]:ce},[g]:H},{[S]:[ie,de,Be,at,ue,Ke],[g]:G,rules:[{[S]:wr,endpoint:zS,[g]:H},{endpoint:zS,[g]:H}]},{[S]:[ie,de,Be,at,ue,Ve],endpoint:zS,[g]:H},{[S]:[ie,de,re,Ue],endpoint:{[W]:WD,[Y]:$e,[Q]:ce},[g]:H},{[S]:[ie,de,re,ue,Ke],[g]:G,rules:[{[S]:wr,endpoint:{[W]:WD,[Y]:je,[Q]:ce},[g]:H},{endpoint:EF,[g]:H}]},{[S]:[ie,de,re,ue,Ve],endpoint:EF,[g]:H}]},Wf]}]}]},{error:"A region must be set when sending requests to S3.",[g]:X}]};Zf.ruleSet=Fre});var QF=m(ey=>{"use strict";Object.defineProperty(ey,"__esModule",{value:!0});ey.defaultEndpointResolver=void 0;var Lre=Lo(),jre=YF(),Ure=(e,n={})=>(0,Lre.resolveEndpoint)(jre.ruleSet,{endpointParams:e,logger:n.logger});ey.defaultEndpointResolver=Ure});var tL=m(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});ty.getRuntimeConfig=void 0;var zre=LD(),Gre=E(),Hre=Vr(),JF=go(),ZF=v_(),eL=Et(),$re=QF(),Kre=e=>({apiVersion:"2006-03-01",base64Decoder:(e==null?void 0:e.base64Decoder)??JF.fromBase64,base64Encoder:(e==null?void 0:e.base64Encoder)??JF.toBase64,disableHostPrefix:(e==null?void 0:e.disableHostPrefix)??!1,endpointProvider:(e==null?void 0:e.endpointProvider)??$re.defaultEndpointResolver,extensions:(e==null?void 0:e.extensions)??[],getAwsChunkedEncodingStream:(e==null?void 0:e.getAwsChunkedEncodingStream)??ZF.getAwsChunkedEncodingStream,logger:(e==null?void 0:e.logger)??new Gre.NoOpLogger,sdkStreamMixin:(e==null?void 0:e.sdkStreamMixin)??ZF.sdkStreamMixin,serviceId:(e==null?void 0:e.serviceId)??"S3",signerConstructor:(e==null?void 0:e.signerConstructor)??zre.SignatureV4MultiRegion,signingEscapePath:(e==null?void 0:e.signingEscapePath)??!1,urlParser:(e==null?void 0:e.urlParser)??Hre.parseUrl,useArnRegion:(e==null?void 0:e.useArnRegion)??!1,utf8Decoder:(e==null?void 0:e.utf8Decoder)??eL.fromUtf8,utf8Encoder:(e==null?void 0:e.utf8Encoder)??eL.toUtf8});ty.getRuntimeConfig=Kre});var oL=m(ry=>{"use strict";Object.defineProperty(ry,"__esModule",{value:!0});ry.getRuntimeConfig=void 0;var Vre=(z(),O(U)),Xre=Vre.__importDefault(vO()),Wre=mD(),Yre=JC(),Qre=ED(),Jre=Pc(),ny=Wt(),Zre=RD(),oE=vc(),eoe=BD(),nL=In(),vs=Sr(),rL=So(),toe=xc(),noe=At(),roe=tL(),ooe=E(),soe=kc(),ioe=E(),aoe=e=>{(0,ioe.emitWarningIfUnsupportedVersion)(process.version);let n=(0,soe.resolveDefaultsModeConfig)(e),t=()=>n().then(ooe.loadConfigsForDefaultMode),r=(0,roe.getRuntimeConfig)(e);return{...r,...e,runtime:"node",defaultsMode:n,bodyLengthChecker:(e==null?void 0:e.bodyLengthChecker)??toe.calculateBodyLength,credentialDefaultProvider:(e==null?void 0:e.credentialDefaultProvider)??(0,Wre.decorateDefaultCredentialProvider)(Yre.defaultProvider),defaultUserAgentProvider:(e==null?void 0:e.defaultUserAgentProvider)??(0,Jre.defaultUserAgent)({serviceId:r.serviceId,clientVersion:Xre.default.version}),eventStreamSerdeProvider:(e==null?void 0:e.eventStreamSerdeProvider)??Zre.eventStreamSerdeProvider,maxAttempts:(e==null?void 0:e.maxAttempts)??(0,vs.loadConfig)(nL.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),md5:(e==null?void 0:e.md5)??oE.Hash.bind(null,"md5"),region:(e==null?void 0:e.region)??(0,vs.loadConfig)(ny.NODE_REGION_CONFIG_OPTIONS,ny.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(e==null?void 0:e.requestHandler)??new rL.NodeHttpHandler(t),retryMode:(e==null?void 0:e.retryMode)??(0,vs.loadConfig)({...nL.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||noe.DEFAULT_RETRY_MODE}),sha1:(e==null?void 0:e.sha1)??oE.Hash.bind(null,"sha1"),sha256:(e==null?void 0:e.sha256)??oE.Hash.bind(null,"sha256"),streamCollector:(e==null?void 0:e.streamCollector)??rL.streamCollector,streamHasher:(e==null?void 0:e.streamHasher)??eoe.readableStreamHasher,useArnRegion:(e==null?void 0:e.useArnRegion)??(0,vs.loadConfig)(Qre.NODE_USE_ARN_REGION_CONFIG_OPTIONS),useDualstackEndpoint:(e==null?void 0:e.useDualstackEndpoint)??(0,vs.loadConfig)(ny.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(e==null?void 0:e.useFipsEndpoint)??(0,vs.loadConfig)(ny.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};ry.getRuntimeConfig=aoe});var cL=m(oy=>{"use strict";Object.defineProperty(oy,"__esModule",{value:!0});oy.resolveRuntimeExtensions=void 0;var sL=gp(),iL=we(),aL=E(),sE=e=>e,coe=(e,n)=>{let t={...sE((0,sL.getAwsRegionExtensionConfiguration)(e)),...sE((0,aL.getDefaultExtensionConfiguration)(e)),...sE((0,iL.getHttpHandlerExtensionConfiguration)(e))};return n.forEach(r=>r.configure(t)),{...e,...(0,sL.resolveAwsRegionExtensionConfiguration)(t),...(0,aL.resolveDefaultRuntimeConfig)(t),...(0,iL.resolveHttpHandlerRuntimeConfig)(t)}};oy.resolveRuntimeExtensions=coe});var Vc=m(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.S3Client=xs.__Client=void 0;var doe=Cw(),dL=Ba(),loe=Ma(),uoe=Da(),lL=wo(),uL=vn(),mL=rc(),moe=Wt(),poe=ER(),foe=ac(),yoe=v(),pL=In(),fL=E();Object.defineProperty(xs,"__Client",{enumerable:!0,get:function(){return fL.Client}});var _oe=PO(),goe=oL(),hoe=cL(),iE=class extends fL.Client{constructor(...[n]){let t=(0,goe.getRuntimeConfig)(n||{}),r=(0,_oe.resolveClientEndpointParameters)(t),o=(0,moe.resolveRegionConfig)(r),s=(0,yoe.resolveEndpointConfig)(o),a=(0,pL.resolveRetryConfig)(s),i=(0,dL.resolveHostHeaderConfig)(a),u=(0,uL.resolveAwsAuthConfig)(i),l=(0,lL.resolveS3Config)(u),c=(0,mL.resolveUserAgentConfig)(l),y=(0,poe.resolveEventStreamSerdeConfig)(c),_=(0,hoe.resolveRuntimeExtensions)(y,(n==null?void 0:n.extensions)||[]);super(_),this.config=_,this.middlewareStack.use((0,pL.getRetryPlugin)(this.config)),this.middlewareStack.use((0,foe.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,dL.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,loe.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,uoe.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,uL.getAwsAuthPlugin)(this.config)),this.middlewareStack.use((0,lL.getValidateBucketNamePlugin)(this.config)),this.middlewareStack.use((0,doe.getAddExpectContinuePlugin)(this.config)),this.middlewareStack.use((0,mL.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}};xs.S3Client=iE});var yL=m(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.escapeAttribute=void 0;function Coe(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}sy.escapeAttribute=Coe});var _L=m(iy=>{"use strict";Object.defineProperty(iy,"__esModule",{value:!0});iy.escapeElement=void 0;function Soe(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}iy.escapeElement=Soe});var cE=m(ay=>{"use strict";Object.defineProperty(ay,"__esModule",{value:!0});ay.XmlText=void 0;var Eoe=_L(),aE=class{constructor(n){this.value=n}toString(){return(0,Eoe.escapeElement)(""+this.value)}};ay.XmlText=aE});var gL=m(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});cy.XmlNode=void 0;var boe=yL(),Poe=cE(),dE=class e{static of(n,t,r){let o=new e(n);return t!==void 0&&o.addChildNode(new Poe.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,boe.escapeAttribute)(""+s)}"`)}return t+=n?`>${this.children.map(o=>o.toString()).join("")}`:"/>"}};cy.XmlNode=dE});var CL=m(dy=>{"use strict";Object.defineProperty(dy,"__esModule",{value:!0});var hL=(z(),O(U));hL.__exportStar(gL(),dy);hL.__exportStar(cE(),dy)});var Xc=m(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.S3ServiceException=ws.__ServiceException=void 0;var SL=E();Object.defineProperty(ws,"__ServiceException",{enumerable:!0,get:function(){return SL.ServiceException}});var lE=class e extends SL.ServiceException{constructor(n){super(n),Object.setPrototypeOf(this,e.prototype)}};ws.S3ServiceException=lE});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(),Ar=Xc();h.RequestCharged={requester:"requester"};h.RequestPayer={requester:"requester"};var uE=class e extends Ar.S3ServiceException{constructor(n){super({name:"NoSuchUpload",$fault:"client",...n}),this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NoSuchUpload=uE;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 mE=class e extends Ar.S3ServiceException{constructor(n){super({name:"ObjectNotInActiveTierError",$fault:"client",...n}),this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.ObjectNotInActiveTierError=mE;var pE=class e extends Ar.S3ServiceException{constructor(n){super({name:"BucketAlreadyExists",$fault:"client",...n}),this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.BucketAlreadyExists=pE;var fE=class e extends Ar.S3ServiceException{constructor(n){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...n}),this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.BucketAlreadyOwnedByYou=fE;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 voe;(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])})(voe=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 xoe;(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])})(xoe=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 woe;(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])})(woe=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 koe;(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])})(koe=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 yE=class e extends Ar.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=yE;var _E=class e extends Ar.S3ServiceException{constructor(n){super({name:"NoSuchKey",$fault:"client",...n}),this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NoSuchKey=_E;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 gE=class e extends Ar.S3ServiceException{constructor(n){super({name:"NotFound",$fault:"client",...n}),this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NotFound=gE;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 hE=class e extends Ar.S3ServiceException{constructor(n){super({name:"NoSuchBucket",$fault:"client",...n}),this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};h.NoSuchBucket=hE;h.ObjectVersionStorageClass={STANDARD:"STANDARD"};h.MFADelete={Disabled:"Disabled",Enabled:"Enabled"};var Aoe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING}});h.CompleteMultipartUploadOutputFilterSensitiveLog=Aoe;var Ioe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.CompleteMultipartUploadRequestFilterSensitiveLog=Ioe;var Noe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.CopyObjectOutputFilterSensitiveLog=Noe;var Roe=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=Roe;var Ooe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.CreateMultipartUploadOutputFilterSensitiveLog=Ooe;var Toe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING},...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.CreateMultipartUploadRequestFilterSensitiveLog=Toe;var qoe=e=>({...e,...e.KMSMasterKeyID&&{KMSMasterKeyID:Pe.SENSITIVE_STRING}});h.ServerSideEncryptionByDefaultFilterSensitiveLog=qoe;var Boe=e=>({...e,...e.ApplyServerSideEncryptionByDefault&&{ApplyServerSideEncryptionByDefault:(0,h.ServerSideEncryptionByDefaultFilterSensitiveLog)(e.ApplyServerSideEncryptionByDefault)}});h.ServerSideEncryptionRuleFilterSensitiveLog=Boe;var Moe=e=>({...e,...e.Rules&&{Rules:e.Rules.map(n=>(0,h.ServerSideEncryptionRuleFilterSensitiveLog)(n))}});h.ServerSideEncryptionConfigurationFilterSensitiveLog=Moe;var Doe=e=>({...e,...e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:(0,h.ServerSideEncryptionConfigurationFilterSensitiveLog)(e.ServerSideEncryptionConfiguration)}});h.GetBucketEncryptionOutputFilterSensitiveLog=Doe;var Foe=e=>({...e,...e.KeyId&&{KeyId:Pe.SENSITIVE_STRING}});h.SSEKMSFilterSensitiveLog=Foe;var Loe=e=>({...e,...e.SSEKMS&&{SSEKMS:(0,h.SSEKMSFilterSensitiveLog)(e.SSEKMS)}});h.InventoryEncryptionFilterSensitiveLog=Loe;var joe=e=>({...e,...e.Encryption&&{Encryption:(0,h.InventoryEncryptionFilterSensitiveLog)(e.Encryption)}});h.InventoryS3BucketDestinationFilterSensitiveLog=joe;var Uoe=e=>({...e,...e.S3BucketDestination&&{S3BucketDestination:(0,h.InventoryS3BucketDestinationFilterSensitiveLog)(e.S3BucketDestination)}});h.InventoryDestinationFilterSensitiveLog=Uoe;var zoe=e=>({...e,...e.Destination&&{Destination:(0,h.InventoryDestinationFilterSensitiveLog)(e.Destination)}});h.InventoryConfigurationFilterSensitiveLog=zoe;var Goe=e=>({...e,...e.InventoryConfiguration&&{InventoryConfiguration:(0,h.InventoryConfigurationFilterSensitiveLog)(e.InventoryConfiguration)}});h.GetBucketInventoryConfigurationOutputFilterSensitiveLog=Goe;var Hoe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING}});h.GetObjectOutputFilterSensitiveLog=Hoe;var $oe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.GetObjectRequestFilterSensitiveLog=$oe;var Koe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.GetObjectAttributesRequestFilterSensitiveLog=Koe;var Voe=e=>({...e});h.GetObjectTorrentOutputFilterSensitiveLog=Voe;var Xoe=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING}});h.HeadObjectOutputFilterSensitiveLog=Xoe;var Woe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.HeadObjectRequestFilterSensitiveLog=Woe;var Yoe=e=>({...e,...e.InventoryConfigurationList&&{InventoryConfigurationList:e.InventoryConfigurationList.map(n=>(0,h.InventoryConfigurationFilterSensitiveLog)(n))}});h.ListBucketInventoryConfigurationsOutputFilterSensitiveLog=Yoe;var Qoe=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING}});h.ListPartsRequestFilterSensitiveLog=Qoe;var Joe=e=>({...e,...e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:(0,h.ServerSideEncryptionConfigurationFilterSensitiveLog)(e.ServerSideEncryptionConfiguration)}});h.PutBucketEncryptionRequestFilterSensitiveLog=Joe;var Zoe=e=>({...e,...e.InventoryConfiguration&&{InventoryConfiguration:(0,h.InventoryConfigurationFilterSensitiveLog)(e.InventoryConfiguration)}});h.PutBucketInventoryConfigurationRequestFilterSensitiveLog=Zoe;var ese=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.PutObjectOutputFilterSensitiveLog=ese;var tse=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Pe.SENSITIVE_STRING},...e.SSEKMSKeyId&&{SSEKMSKeyId:Pe.SENSITIVE_STRING},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Pe.SENSITIVE_STRING}});h.PutObjectRequestFilterSensitiveLog=tse});var Nr=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 Ir=E(),nse=Xc(),CE=class e extends nse.S3ServiceException{constructor(n){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...n}),this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,e.prototype)}};J.ObjectAlreadyInActiveTierError=CE;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 rse;(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])})(rse=J.SelectObjectContentEventStream||(J.SelectObjectContentEventStream={}));var ose=e=>({...e,...e.KMSKeyId&&{KMSKeyId:Ir.SENSITIVE_STRING}});J.EncryptionFilterSensitiveLog=ose;var sse=e=>({...e,...e.Encryption&&{Encryption:(0,J.EncryptionFilterSensitiveLog)(e.Encryption)}});J.S3LocationFilterSensitiveLog=sse;var ise=e=>({...e,...e.S3&&{S3:(0,J.S3LocationFilterSensitiveLog)(e.S3)}});J.OutputLocationFilterSensitiveLog=ise;var ase=e=>({...e,...e.OutputLocation&&{OutputLocation:(0,J.OutputLocationFilterSensitiveLog)(e.OutputLocation)}});J.RestoreRequestFilterSensitiveLog=ase;var cse=e=>({...e,...e.RestoreRequest&&{RestoreRequest:(0,J.RestoreRequestFilterSensitiveLog)(e.RestoreRequest)}});J.RestoreObjectRequestFilterSensitiveLog=cse;var dse=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=dse;var lse=e=>({...e,...e.Payload&&{Payload:"STREAMING_CONTENT"}});J.SelectObjectContentOutputFilterSensitiveLog=lse;var use=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Ir.SENSITIVE_STRING}});J.SelectObjectContentRequestFilterSensitiveLog=use;var mse=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Ir.SENSITIVE_STRING}});J.UploadPartOutputFilterSensitiveLog=mse;var pse=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Ir.SENSITIVE_STRING}});J.UploadPartRequestFilterSensitiveLog=pse;var fse=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Ir.SENSITIVE_STRING}});J.UploadPartCopyOutputFilterSensitiveLog=fse;var yse=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:Ir.SENSITIVE_STRING},...e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:Ir.SENSITIVE_STRING}});J.UploadPartCopyRequestFilterSensitiveLog=yse;var _se=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:Ir.SENSITIVE_STRING}});J.WriteGetObjectResponseRequestFilterSensitiveLog=_se});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=CL(),T=we(),d=E(),gse=Mh(),Rt=Ze(),hse=Nr(),Cse=Xc(),Sse=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=Sse;var Ese=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=xL(e.MultipartUpload,n));let c;return e.MultipartUpload!==void 0&&(c=xL(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=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-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=bse;var Pse=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=kL(e.CreateBucketConfiguration,n));let l;return e.CreateBucketConfiguration!==void 0&&(l=kL(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=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-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=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;return new T.HttpRequest({protocol:r,hostname:t,port:o,method:"DELETE",headers:a,path:i,body:u})};p.se_DeleteBucketCommand=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)({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=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}),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=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)({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=Ase;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":[,""],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=Ise;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)({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=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)({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=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)({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=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)({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=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)({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=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)({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=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)({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=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)({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=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-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=Fse;var Lse=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 T.HttpRequest({protocol:r,hostname:t,port:o,method:"POST",headers:a,path:i,query:u,body:l})};p.se_DeleteObjectsCommand=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||""}/{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=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)({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=Use;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,"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=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-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=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)({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=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-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=$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)({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=Kse;var Vse=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=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)({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=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)({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=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)({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=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=(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=Qse;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)({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=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)({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=Zse;var eie=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=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)({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=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)({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=nie;var rie=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=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}),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=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-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=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-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=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}),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=aie;var cie=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=cie;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-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=die;var lie=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=lie;var uie=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=uie;var mie=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=mie;var pie=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=pie;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-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=fie;var yie=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=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-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=_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-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=gie;var hie=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=hie;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-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=Cie;var Sie=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=Sie;var Eie=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=Eie;var bie=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=bie;var Pie=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=Pie;var vie=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=vie;var xie=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=xie;var wie=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=wie;var kie=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=kie;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-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=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-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 T.HttpRequest({protocol:r,hostname:t,port:o,method:"PUT",headers:a,path:i,query:u,body:l})};p.se_PutBucketAccelerateConfigurationCommand=Iie;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-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=ly(e.AccessControlPolicy,n));let c;return e.AccessControlPolicy!==void 0&&(c=ly(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=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","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=bL(e.AnalyticsConfiguration,n));let c;return e.AnalyticsConfiguration!==void 0&&(c=bL(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=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-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=wL(e.CORSConfiguration,n));let c;return e.CORSConfiguration!==void 0&&(c=wL(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=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)({encryption:[,""]}),l;e.ServerSideEncryptionConfiguration!==void 0&&(l=UL(e.ServerSideEncryptionConfiguration,n));let c;return e.ServerSideEncryptionConfiguration!==void 0&&(c=UL(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=Tie;var qie=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=IL(e.IntelligentTieringConfiguration,n));let c;return e.IntelligentTieringConfiguration!==void 0&&(c=IL(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=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-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=NL(e.InventoryConfiguration,n));let c;return e.InventoryConfiguration!==void 0&&(c=NL(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=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/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=PL(e.LifecycleConfiguration,n));let c;return e.LifecycleConfiguration!==void 0&&(c=PL(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=Mie;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","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=vL(e.BucketLoggingStatus,n));let c;return e.BucketLoggingStatus!==void 0&&(c=vL(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=Die;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-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=RL(e.MetricsConfiguration,n));let c;return e.MetricsConfiguration!==void 0&&(c=RL(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=Fie;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-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=OL(e.NotificationConfiguration,n));let c;return e.NotificationConfiguration!==void 0&&(c=OL(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=Lie;var jie=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=ML(e.OwnershipControls,n));let c;return e.OwnershipControls!==void 0&&(c=ML(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=jie;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":"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=Uie;var zie=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=FL(e.ReplicationConfiguration,n));let c;return e.ReplicationConfiguration!==void 0&&(c=FL(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=zie;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)({requestPayment:[,""]}),l;e.RequestPaymentConfiguration!==void 0&&(l=LL(e.RequestPaymentConfiguration,n));let c;return e.RequestPaymentConfiguration!==void 0&&(c=LL(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=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","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=Wc(e.Tagging,n));let c;return e.Tagging!==void 0&&(c=Wc(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=Hie;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","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=zL(e.VersioningConfiguration,n));let c;return e.VersioningConfiguration!==void 0&&(c=zL(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=$ie;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":"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=GL(e.WebsiteConfiguration,n));let c;return e.WebsiteConfiguration!==void 0&&(c=GL(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=Kie;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":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=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","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=ly(e.AccessControlPolicy,n));let c;return e.AccessControlPolicy!==void 0&&(c=ly(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=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","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=qL(e.LegalHold,n));let c;return e.LegalHold!==void 0&&(c=qL(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=Wie;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-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=TL(e.ObjectLockConfiguration,n));let c;return e.ObjectLockConfiguration!==void 0&&(c=TL(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=Yie;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-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=BL(e.Retention,n));let c;return e.Retention!==void 0&&(c=BL(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=Qie;var Jie=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=Wc(e.Tagging,n));let c;return e.Tagging!==void 0&&(c=Wc(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=Jie;var Zie=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=DL(e.PublicAccessBlockConfiguration,n));let c;return e.PublicAccessBlockConfiguration!==void 0&&(c=DL(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=Zie;var eae=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=jL(e.RestoreRequest,n));let c;return e.RestoreRequest!==void 0&&(c=jL(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=eae;var tae=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=XL(e.InputSerialization,n).withName("InputSerialization");c.addChildNode(y)}if(e.OutputSerialization!==void 0){let y=WL(e.OutputSerialization,n).withName("OutputSerialization");c.addChildNode(y)}if(e.RequestProgress!==void 0){let y=ime(e.RequestProgress,n).withName("RequestProgress");c.addChildNode(y)}if(e.ScanRange!==void 0){let y=ume(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=tae;var nae=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=nae;var rae=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=rae;var oae=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=oae;var sae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return iae(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=sae;var iae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await Ole(t,n);default:let o=t.body;return B({output:e,parsedBody:o,errorCode:r})}},aae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return cae(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=aae;var cae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},dae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return lae(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=Vme(r,n),t};p.de_CopyObjectCommand=dae;var lae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await qle(t,n);default:let o=t.body;return B({output:e,parsedBody:o,errorCode:r})}},uae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return mae(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=uae;var mae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await Ile(t,n);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await Nle(t,n);default:let o=t.body;return B({output:e,parsedBody:o,errorCode:r})}},pae=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return fae(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=pae;var fae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_DeleteBucketCommand=yae;var _ae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_DeleteBucketAnalyticsConfigurationCommand=gae;var hae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_DeleteBucketCorsCommand=Cae;var Sae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketEncryptionCommand=Eae;var bae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Pae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return vae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketIntelligentTieringConfigurationCommand=Pae;var vae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketInventoryConfigurationCommand=xae;var wae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_DeleteBucketLifecycleCommand=kae;var Aae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Iae=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_DeleteBucketMetricsConfigurationCommand=Iae;var Nae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_DeleteBucketOwnershipControlsCommand=Rae;var Oae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Tae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return qae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketPolicyCommand=Tae;var qae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Bae=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_DeleteBucketReplicationCommand=Bae;var Mae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Dae=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_DeleteBucketTaggingCommand=Dae;var Fae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Lae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return jae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeleteBucketWebsiteCommand=Lae;var jae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Uae=async(e,n)=>{if(e.statusCode!==204&&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"])],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=Uae;var zae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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),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=Zme((0,d.getArrayIfSingleItem)(r.Deleted),n)),r.Error===""?t.Errors=[]:r.Error!==void 0&&(t.Errors=cpe((0,d.getArrayIfSingleItem)(r.Error),n)),t};p.de_DeleteObjectsCommand=Gae;var Hae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},$ae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Kae(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=$ae;var Kae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Vae=async(e,n)=>{if(e.statusCode!==204&&e.statusCode>=300)return Xae(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_DeletePublicAccessBlockCommand=Vae;var Xae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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),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=Wae;var Yae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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 te(e.body,n)),"body");return r.AccessControlList===""?t.Grants=[]:r.AccessControlList!==void 0&&r.AccessControlList.Grant!==void 0&&(t.Grants=ej((0,d.getArrayIfSingleItem)(r.AccessControlList.Grant),n)),r.Owner!==void 0&&(t.Owner=Rr(r.Owner,n)),t};p.de_GetBucketAclCommand=Qae;var Jae=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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 te(e.body,n));return t.AnalyticsConfiguration=QL(r,n),t};p.de_GetBucketAnalyticsConfigurationCommand=Zae;var ece=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.CORSRule===""?t.CORSRules=[]:r.CORSRule!==void 0&&(t.CORSRules=Yme((0,d.getArrayIfSingleItem)(r.CORSRule),n)),t};p.de_GetBucketCorsCommand=tce;var nce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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 te(e.body,n));return t.ServerSideEncryptionConfiguration=bfe(r,n),t};p.de_GetBucketEncryptionCommand=rce;var oce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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 te(e.body,n));return t.IntelligentTieringConfiguration=nj(r,n),t};p.de_GetBucketIntelligentTieringConfigurationCommand=sce;var ice=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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.expectObject)(await te(e.body,n));return t.InventoryConfiguration=rj(r,n),t};p.de_GetBucketInventoryConfigurationCommand=ace;var cce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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 te(e.body,n)),"body");return r.Rule===""?t.Rules=[]:r.Rule!==void 0&&(t.Rules=Tpe((0,d.getArrayIfSingleItem)(r.Rule),n)),t};p.de_GetBucketLifecycleConfigurationCommand=dce;var lce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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 te(e.body,n)),"body");return r.LocationConstraint!==void 0&&(t.LocationConstraint=(0,d.expectString)(r.LocationConstraint)),t};p.de_GetBucketLocationCommand=uce;var mce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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 te(e.body,n)),"body");return r.LoggingEnabled!==void 0&&(t.LoggingEnabled=qpe(r.LoggingEnabled,n)),t};p.de_GetBucketLoggingCommand=pce;var fce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)}),r=(0,d.expectObject)(await te(e.body,n));return t.MetricsConfiguration=oj(r,n),t};p.de_GetBucketMetricsConfigurationCommand=yce;var _ce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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 te(e.body,n)),"body");return r.EventBridgeConfiguration!==void 0&&(t.EventBridgeConfiguration=dpe(r.EventBridgeConfiguration,n)),r.CloudFunctionConfiguration===""?t.LambdaFunctionConfigurations=[]:r.CloudFunctionConfiguration!==void 0&&(t.LambdaFunctionConfigurations=Ape((0,d.getArrayIfSingleItem)(r.CloudFunctionConfiguration),n)),r.QueueConfiguration===""?t.QueueConfigurations=[]:r.QueueConfiguration!==void 0&&(t.QueueConfigurations=cfe((0,d.getArrayIfSingleItem)(r.QueueConfiguration),n)),r.TopicConfiguration===""?t.TopicConfigurations=[]:r.TopicConfiguration!==void 0&&(t.TopicConfigurations=Dfe((0,d.getArrayIfSingleItem)(r.TopicConfiguration),n)),t};p.de_GetBucketNotificationConfigurationCommand=gce;var hce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)}),r=(0,d.expectObject)(await te(e.body,n));return t.OwnershipControls=Jpe(r,n),t};p.de_GetBucketOwnershipControlsCommand=Cce;var Sce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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=await cj(e.body,n);return t.Policy=(0,d.expectString)(r),t};p.de_GetBucketPolicyCommand=Ece;var bce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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 te(e.body,n));return t.PolicyStatus=ofe(r,n),t};p.de_GetBucketPolicyStatusCommand=Pce;var vce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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 te(e.body,n));return t.ReplicationConfiguration=mfe(r,n),t};p.de_GetBucketReplicationCommand=xce;var wce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)}),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=kce;var Ace=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Ice=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Nce(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=ao((0,d.getArrayIfSingleItem)(r.TagSet.Tag),n)),t};p.de_GetBucketTaggingCommand=Ice;var Nce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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.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=Rce;var Oce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.ErrorDocument!==void 0&&(t.ErrorDocument=ape(r.ErrorDocument,n)),r.IndexDocument!==void 0&&(t.IndexDocument=_pe(r.IndexDocument,n)),r.RedirectAllRequestsTo!==void 0&&(t.RedirectAllRequestsTo=lfe(r.RedirectAllRequestsTo,n)),r.RoutingRules===""?t.RoutingRules=[]:r.RoutingRules!==void 0&&r.RoutingRules.RoutingRule!==void 0&&(t.RoutingRules=Cfe((0,d.getArrayIfSingleItem)(r.RoutingRules.RoutingRule),n)),t};p.de_GetBucketWebsiteCommand=Tce;var qce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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"]],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=Bce;var Mce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await Rle(t,n);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await uy(t,n);default:let o=t.body;return B({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),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=ej((0,d.getArrayIfSingleItem)(r.AccessControlList.Grant),n)),r.Owner!==void 0&&(t.Owner=Rr(r.Owner,n)),t};p.de_GetObjectAclCommand=Dce;var Fce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await uy(t,n);default:let o=t.body;return B({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),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=Gme(r.Checksum,n)),r.ETag!==void 0&&(t.ETag=(0,d.expectString)(r.ETag)),r.ObjectParts!==void 0&&(t.ObjectParts=fpe(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=Lce;var jce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await uy(t,n);default:let o=t.body;return B({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.expectObject)(await te(e.body,n));return t.LegalHold=Kpe(r,n),t};p.de_GetObjectLegalHoldCommand=Uce;var zce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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.expectObject)(await te(e.body,n));return t.ObjectLockConfiguration=$pe(r,n),t};p.de_GetObjectLockConfigurationCommand=Gce;var Hce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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.expectObject)(await te(e.body,n));return t.Retention=Vpe(r,n),t};p.de_GetObjectRetentionCommand=$ce;var Kce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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),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=ao((0,d.getArrayIfSingleItem)(r.TagSet.Tag),n)),t};p.de_GetObjectTaggingCommand=Vce;var Xce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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=e.body;return n.sdkStreamMixin(r),t.Body=r,t};p.de_GetObjectTorrentCommand=Wce;var Yce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)}),r=(0,d.expectObject)(await te(e.body,n));return t.PublicAccessBlockConfiguration=ife(r,n),t};p.de_GetPublicAccessBlockCommand=Qce;var Jce=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_HeadBucketCommand=Zce;var ede=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"NotFound":case"com.amazonaws.s3#NotFound":throw await $L(t,n);default:let o=t.body;return B({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),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=tde;var nde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"NotFound":case"com.amazonaws.s3#NotFound":throw await $L(t,n);default:let o=t.body;return B({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)}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.AnalyticsConfiguration===""?t.AnalyticsConfigurationList=[]:r.AnalyticsConfiguration!==void 0&&(t.AnalyticsConfigurationList=Dme((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=rde;var ode=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)}),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=hpe((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=sde;var ide=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)}),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=Spe((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=ade;var cde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)}),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=Dpe((0,d.getArrayIfSingleItem)(r.MetricsConfiguration),n)),r.NextContinuationToken!==void 0&&(t.NextContinuationToken=(0,d.expectString)(r.NextContinuationToken)),t};p.de_ListBucketMetricsConfigurationsCommand=dde;var lde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)}),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=zme((0,d.getArrayIfSingleItem)(r.Buckets.Bucket),n)),r.Owner!==void 0&&(t.Owner=Rr(r.Owner,n)),t};p.de_ListBucketsCommand=ude;var mde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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),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=my((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=jpe((0,d.getArrayIfSingleItem)(r.Upload),n)),t};p.de_ListMultipartUploadsCommand=pde;var fde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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),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=my((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.Contents===""?t.Contents=[]:r.Contents!==void 0&&(t.Contents=sj((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=yde;var _de=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await HL(t,n);default:let o=t.body;return B({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"]]}),r=(0,d.expectNonNull)((0,d.expectObject)(await te(e.body,n)),"body");return r.CommonPrefixes===""?t.CommonPrefixes=[]:r.CommonPrefixes!==void 0&&(t.CommonPrefixes=my((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.Contents===""?t.Contents=[]:r.Contents!==void 0&&(t.Contents=sj((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=gde;var hde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await HL(t,n);default:let o=t.body;return B({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),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=my((0,d.getArrayIfSingleItem)(r.CommonPrefixes),n)),r.DeleteMarker===""?t.DeleteMarkers=[]:r.DeleteMarker!==void 0&&(t.DeleteMarkers=npe((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=Qpe((0,d.getArrayIfSingleItem)(r.Version),n)),t};p.de_ListObjectVersionsCommand=Cde;var Sde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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),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=tj(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=nfe((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=Ede;var bde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_PutBucketAccelerateConfigurationCommand=Pde;var vde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_PutBucketAclCommand=xde;var wde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_PutBucketAnalyticsConfigurationCommand=kde;var Ade=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Ide=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_PutBucketCorsCommand=Ide;var Nde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_PutBucketEncryptionCommand=Rde;var Ode=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_PutBucketIntelligentTieringConfigurationCommand=Tde;var qde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_PutBucketInventoryConfigurationCommand=Bde;var Mde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_PutBucketLifecycleConfigurationCommand=Dde;var Fde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketLoggingCommand=Lde;var jde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketMetricsConfigurationCommand=Ude;var zde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_PutBucketNotificationConfigurationCommand=Gde;var Hde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketOwnershipControlsCommand=$de;var Kde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketPolicyCommand=Vde;var Xde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketReplicationCommand=Wde;var Yde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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_PutBucketRequestPaymentCommand=Qde;var Jde=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketTaggingCommand=Zde;var ele=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketVersioningCommand=tle;var nle=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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)});return await(0,d.collectBody)(e.body,n),t};p.de_PutBucketWebsiteCommand=rle;var ole=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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),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=sle;var ile=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({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),RequestCharged:[,e.headers["x-amz-request-charged"]]});return await(0,d.collectBody)(e.body,n),t};p.de_PutObjectAclCommand=ale;var cle=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await uy(t,n);default:let o=t.body;return B({output:e,parsedBody:o,errorCode:r})}},dle=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return lle(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=dle;var lle=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},ule=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return mle(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=ule;var mle=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},ple=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return fle(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=ple;var fle=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},yle=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return _le(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=yle;var _le=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},gle=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return hle(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_PutPublicAccessBlockCommand=gle;var hle=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Cle=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Sle(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=Cle;var Sle=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body);switch(r){case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await Tle(t,n);default:let o=t.body;return B({output:e,parsedBody:o,errorCode:r})}},Ele=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return ble(e,n);let t=(0,d.map)({$metadata:I(e)}),r=e.body;return t.Payload=Ble(r,n),t};p.de_SelectObjectContentCommand=Ele;var ble=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},Ple=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return vle(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=Ple;var vle=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},xle=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return wle(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=Xme(r,n),t};p.de_UploadPartCopyCommand=xle;var wle=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},kle=async(e,n)=>{if(e.statusCode!==200&&e.statusCode>=300)return Ale(e,n);let t=(0,d.map)({$metadata:I(e)});return await(0,d.collectBody)(e.body,n),t};p.de_WriteGetObjectResponseCommand=kle;var Ale=async(e,n)=>{let t={...e,body:await M(e.body,n)},r=D(e,t.body),o=t.body;return B({output:e,parsedBody:o,errorCode:r})},B=(0,d.withBaseException)(Cse.S3ServiceException),Ile=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)},Nle=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)},Rle=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)},HL=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)},uy=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)},Ole=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)},$L=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)},Tle=async(e,n)=>{let t=(0,d.map)({}),r=e.body,o=new hse.ObjectAlreadyInActiveTierError({$metadata:I(e),...t});return(0,d.decorateServiceException)(o,e.body)},qle=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)},Ble=(e,n)=>n.eventStreamMarshaller.deserialize(e,async t=>t.Records!=null?{Records:await Lle(t.Records,n)}:t.Stats!=null?{Stats:await jle(t.Stats,n)}:t.Progress!=null?{Progress:await Fle(t.Progress,n)}:t.Cont!=null?{Cont:await Mle(t.Cont,n)}:t.End!=null?{End:await Dle(t.End,n)}:{$unknown:e}),Mle=async(e,n)=>{let t={},r=await te(e.body,n);return Object.assign(t,Kme(r,n)),t},Dle=async(e,n)=>{let t={},r=await te(e.body,n);return Object.assign(t,spe(r,n)),t},Fle=async(e,n)=>{let t={},r=await te(e.body,n);return t.Details=sfe(r,n),t},Lle=async(e,n)=>{let t={};return t.Payload=e.body,t},jle=async(e,n)=>{let t={},r=await te(e.body,n);return t.Details=Ife(r,n),t},Ule=(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},ly=(e,n)=>{let t=new f.XmlNode("AccessControlPolicy");if(e.Grants!=null){let r=VL(e.Grants,n),o=new f.XmlNode("AccessControlList");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.Owner!=null){let r=Kue(e.Owner,n).withName("Owner");t.addChildNode(r)}return t},zle=(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},Gle=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("AllowedHeader",t).withName("member")),Hle=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("AllowedMethod",t).withName("member")),$le=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("AllowedOrigin",t).withName("member")),Kle=(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&&As(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),t},bL=(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=Xle(e.Filter,n).withName("Filter");t.addChildNode(r)}if(e.StorageClassAnalysis!=null){let r=Sme(e.StorageClassAnalysis,n).withName("StorageClassAnalysis");t.addChildNode(r)}return t},Vle=(e,n)=>{let t=new f.XmlNode("AnalyticsExportDestination");if(e.S3BucketDestination!=null){let r=Wle(e.S3BucketDestination,n).withName("S3BucketDestination");t.addChildNode(r)}return t},Xle=(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=ks(r,n).withName("Tag");t.addChildNode(o)},And:r=>{let o=Kle(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},Wle=(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},PL=(e,n)=>{let t=new f.XmlNode("BucketLifecycleConfiguration");return e.Rules!=null&&Tue(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},vL=(e,n)=>{let t=new f.XmlNode("BucketLoggingStatus");if(e.LoggingEnabled!=null){let r=que(e.LoggingEnabled,n).withName("LoggingEnabled");t.addChildNode(r)}return t},xL=(e,n)=>{let t=new f.XmlNode("CompletedMultipartUpload");return e.Parts!=null&&Qle(e.Parts,n).map(o=>{o=o.withName("Part"),t.addChildNode(o)}),t},Yle=(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},Qle=(e,n)=>e.filter(t=>t!=null).map(t=>Yle(t,n).withName("member")),Jle=(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},wL=(e,n)=>{let t=new f.XmlNode("CORSConfiguration");return e.CORSRules!=null&&eue(e.CORSRules,n).map(o=>{o=o.withName("CORSRule"),t.addChildNode(o)}),t},Zle=(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&&Gle(e.AllowedHeaders,n).map(o=>{o=o.withName("AllowedHeader"),t.addChildNode(o)}),e.AllowedMethods!=null&&Hle(e.AllowedMethods,n).map(o=>{o=o.withName("AllowedMethod"),t.addChildNode(o)}),e.AllowedOrigins!=null&&$le(e.AllowedOrigins,n).map(o=>{o=o.withName("AllowedOrigin"),t.addChildNode(o)}),e.ExposeHeaders!=null&&uue(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},eue=(e,n)=>e.filter(t=>t!=null).map(t=>Zle(t,n).withName("member")),kL=(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},tue=(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},nue=(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},rue=(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&&Gue(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},oue=(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},sue=(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=zle(e.AccessControlTranslation,n).withName("AccessControlTranslation");t.addChildNode(r)}if(e.EncryptionConfiguration!=null){let r=aue(e.EncryptionConfiguration,n).withName("EncryptionConfiguration");t.addChildNode(r)}if(e.ReplicationTime!=null){let r=sme(e.ReplicationTime,n).withName("ReplicationTime");t.addChildNode(r)}if(e.Metrics!=null){let r=Mue(e.Metrics,n).withName("Metrics");t.addChildNode(r)}return t},iue=(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},aue=(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},cue=(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},due=(e,n)=>new f.XmlNode("EventBridgeConfiguration"),SE=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("Event",t).withName("member")),lue=(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},uue=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("ExposeHeader",t).withName("member")),mue=(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},pue=(e,n)=>e.filter(t=>t!=null).map(t=>mue(t,n).withName("member")),fue=(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},yue=(e,n)=>{let t=new f.XmlNode("Grant");if(e.Grantee!=null){let r=KL(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},KL=(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},VL=(e,n)=>e.filter(t=>t!=null).map(t=>yue(t,n).withName("Grant")),_ue=(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},XL=(e,n)=>{let t=new f.XmlNode("InputSerialization");if(e.CSV!=null){let r=tue(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=xue(e.JSON,n).withName("JSON");t.addChildNode(r)}if(e.Parquet!=null){let r=Wue(e.Parquet,n).withName("Parquet");t.addChildNode(r)}return t},gue=(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&&As(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),t},IL=(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=hue(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&&xme(e.Tierings,n).map(o=>{o=o.withName("Tiering"),t.addChildNode(o)}),t},hue=(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=ks(e.Tag,n).withName("Tag");t.addChildNode(r)}if(e.And!=null){let r=gue(e.And,n).withName("And");t.addChildNode(r)}return t},NL=(e,n)=>{let t=new f.XmlNode("InventoryConfiguration");if(e.Destination!=null){let r=Cue(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=Eue(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=bue(e.OptionalFields,n),o=new f.XmlNode("OptionalFields");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.Schedule!=null){let r=vue(e.Schedule,n).withName("Schedule");t.addChildNode(r)}return t},Cue=(e,n)=>{let t=new f.XmlNode("InventoryDestination");if(e.S3BucketDestination!=null){let r=Pue(e.S3BucketDestination,n).withName("S3BucketDestination");t.addChildNode(r)}return t},Sue=(e,n)=>{let t=new f.XmlNode("InventoryEncryption");if(e.SSES3!=null){let r=Cme(e.SSES3,n).withName("SSE-S3");t.addChildNode(r)}if(e.SSEKMS!=null){let r=gme(e.SSEKMS,n).withName("SSE-KMS");t.addChildNode(r)}return t},Eue=(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},bue=(e,n)=>e.filter(t=>t!=null).map(t=>f.XmlNode.of("InventoryOptionalField",t).withName("Field")),Pue=(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=Sue(e.Encryption,n).withName("Encryption");t.addChildNode(r)}return t},vue=(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},xue=(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},wue=(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},kue=(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&&SE(e.Events,n).map(o=>{o=o.withName("Event"),t.addChildNode(o)}),e.Filter!=null){let r=EE(e.Filter,n).withName("Filter");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("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},Nue=(e,n)=>{let t=new f.XmlNode("LifecycleRule");if(e.Expiration!=null){let r=Iue(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=Oue(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&&Ime(e.Transitions,n).map(o=>{o=o.withName("Transition"),t.addChildNode(o)}),e.NoncurrentVersionTransitions!=null&&Uue(e.NoncurrentVersionTransitions,n).map(o=>{o=o.withName("NoncurrentVersionTransition"),t.addChildNode(o)}),e.NoncurrentVersionExpiration!=null){let r=Lue(e.NoncurrentVersionExpiration,n).withName("NoncurrentVersionExpiration");t.addChildNode(r)}if(e.AbortIncompleteMultipartUpload!=null){let r=Ule(e.AbortIncompleteMultipartUpload,n).withName("AbortIncompleteMultipartUpload");t.addChildNode(r)}return t},Rue=(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&&As(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},Oue=(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=ks(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=Rue(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},Tue=(e,n)=>e.filter(t=>t!=null).map(t=>Nue(t,n).withName("member")),que=(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=Pme(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},Bue=(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},Mue=(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=YL(e.EventThreshold,n).withName("EventThreshold");t.addChildNode(r)}return t},Due=(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&&As(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},RL=(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=Fue(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},Fue=(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=ks(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=Due(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},Lue=(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},jue=(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},Uue=(e,n)=>e.filter(t=>t!=null).map(t=>jue(t,n).withName("member")),OL=(e,n)=>{let t=new f.XmlNode("NotificationConfiguration");if(e.TopicConfigurations!=null&&kme(e.TopicConfigurations,n).map(o=>{o=o.withName("TopicConfiguration"),t.addChildNode(o)}),e.QueueConfigurations!=null&&Que(e.QueueConfigurations,n).map(o=>{o=o.withName("QueueConfiguration"),t.addChildNode(o)}),e.LambdaFunctionConfigurations!=null&&Aue(e.LambdaFunctionConfigurations,n).map(o=>{o=o.withName("CloudFunctionConfiguration"),t.addChildNode(o)}),e.EventBridgeConfiguration!=null){let r=due(e.EventBridgeConfiguration,n).withName("EventBridgeConfiguration");t.addChildNode(r)}return t},EE=(e,n)=>{let t=new f.XmlNode("NotificationConfigurationFilter");if(e.Key!=null){let r=dme(e.Key,n).withName("S3Key");t.addChildNode(r)}return t},zue=(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},Gue=(e,n)=>e.filter(t=>t!=null).map(t=>zue(t,n).withName("member")),TL=(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=Hue(e.Rule,n).withName("Rule");t.addChildNode(r)}return t},qL=(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},BL=(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},Hue=(e,n)=>{let t=new f.XmlNode("ObjectLockRule");if(e.DefaultRetention!=null){let r=rue(e.DefaultRetention,n).withName("DefaultRetention");t.addChildNode(r)}return t},$ue=(e,n)=>{let t=new f.XmlNode("OutputLocation");if(e.S3!=null){let r=lme(e.S3,n).withName("S3");t.addChildNode(r)}return t},WL=(e,n)=>{let t=new f.XmlNode("OutputSerialization");if(e.CSV!=null){let r=nue(e.CSV,n).withName("CSV");t.addChildNode(r)}if(e.JSON!=null){let r=wue(e.JSON,n).withName("JSON");t.addChildNode(r)}return t},Kue=(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},ML=(e,n)=>{let t=new f.XmlNode("OwnershipControls");return e.Rules!=null&&Xue(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},Vue=(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},Xue=(e,n)=>e.filter(t=>t!=null).map(t=>Vue(t,n).withName("member")),Wue=(e,n)=>new f.XmlNode("ParquetInput"),DL=(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},Yue=(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&&SE(e.Events,n).map(o=>{o=o.withName("Event"),t.addChildNode(o)}),e.Filter!=null){let r=EE(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},Que=(e,n)=>e.filter(t=>t!=null).map(t=>Yue(t,n).withName("member")),Jue=(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},Zue=(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},eme=(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},FL=(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&&ome(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},tme=(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=rme(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=_me(e.SourceSelectionCriteria,n).withName("SourceSelectionCriteria");t.addChildNode(r)}if(e.ExistingObjectReplication!=null){let r=lue(e.ExistingObjectReplication,n).withName("ExistingObjectReplication");t.addChildNode(r)}if(e.Destination!=null){let r=sue(e.Destination,n).withName("Destination");t.addChildNode(r)}if(e.DeleteMarkerReplication!=null){let r=oue(e.DeleteMarkerReplication,n).withName("DeleteMarkerReplication");t.addChildNode(r)}return t},nme=(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&&As(e.Tags,n).map(o=>{o=o.withName("Tag"),t.addChildNode(o)}),t},rme=(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=ks(r,n).withName("Tag");t.addChildNode(o)},And:r=>{let o=nme(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},ome=(e,n)=>e.filter(t=>t!=null).map(t=>tme(t,n).withName("member")),sme=(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=YL(e.Time,n).withName("Time");t.addChildNode(r)}return t},YL=(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},LL=(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},ime=(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},jL=(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=fue(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=mme(e.SelectParameters,n).withName("SelectParameters");t.addChildNode(r)}if(e.OutputLocation!=null){let r=$ue(e.OutputLocation,n).withName("OutputLocation");t.addChildNode(r)}return t},ame=(e,n)=>{let t=new f.XmlNode("RoutingRule");if(e.Condition!=null){let r=Jle(e.Condition,n).withName("Condition");t.addChildNode(r)}if(e.Redirect!=null){let r=Jue(e.Redirect,n).withName("Redirect");t.addChildNode(r)}return t},cme=(e,n)=>e.filter(t=>t!=null).map(t=>ame(t,n).withName("RoutingRule")),dme=(e,n)=>{let t=new f.XmlNode("S3KeyFilter");return e.FilterRules!=null&&pue(e.FilterRules,n).map(o=>{o=o.withName("FilterRule"),t.addChildNode(o)}),t},lme=(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=iue(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=VL(e.AccessControlList,n),o=new f.XmlNode("AccessControlList");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}if(e.Tagging!=null){let r=Wc(e.Tagging,n).withName("Tagging");t.addChildNode(r)}if(e.UserMetadata!=null){let r=Nme(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},ume=(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},mme=(e,n)=>{let t=new f.XmlNode("SelectParameters");if(e.InputSerialization!=null){let r=XL(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=WL(e.OutputSerialization,n).withName("OutputSerialization");t.addChildNode(r)}return t},pme=(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},UL=(e,n)=>{let t=new f.XmlNode("ServerSideEncryptionConfiguration");return e.Rules!=null&&yme(e.Rules,n).map(o=>{o=o.withName("Rule"),t.addChildNode(o)}),t},fme=(e,n)=>{let t=new f.XmlNode("ServerSideEncryptionRule");if(e.ApplyServerSideEncryptionByDefault!=null){let r=pme(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},yme=(e,n)=>e.filter(t=>t!=null).map(t=>fme(t,n).withName("member")),_me=(e,n)=>{let t=new f.XmlNode("SourceSelectionCriteria");if(e.SseKmsEncryptedObjects!=null){let r=hme(e.SseKmsEncryptedObjects,n).withName("SseKmsEncryptedObjects");t.addChildNode(r)}if(e.ReplicaModifications!=null){let r=eme(e.ReplicaModifications,n).withName("ReplicaModifications");t.addChildNode(r)}return t},gme=(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},hme=(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},Cme=(e,n)=>new f.XmlNode("SSE-S3"),Sme=(e,n)=>{let t=new f.XmlNode("StorageClassAnalysis");if(e.DataExport!=null){let r=Eme(e.DataExport,n).withName("DataExport");t.addChildNode(r)}return t},Eme=(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=Vle(e.Destination,n).withName("Destination");t.addChildNode(r)}return t},ks=(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},Wc=(e,n)=>{let t=new f.XmlNode("Tagging");if(e.TagSet!=null){let r=As(e.TagSet,n),o=new f.XmlNode("TagSet");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}return t},As=(e,n)=>e.filter(t=>t!=null).map(t=>ks(t,n).withName("Tag")),bme=(e,n)=>{let t=new f.XmlNode("TargetGrant");if(e.Grantee!=null){let r=KL(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},Pme=(e,n)=>e.filter(t=>t!=null).map(t=>bme(t,n).withName("Grant")),vme=(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},xme=(e,n)=>e.filter(t=>t!=null).map(t=>vme(t,n).withName("member")),wme=(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&&SE(e.Events,n).map(o=>{o=o.withName("Event"),t.addChildNode(o)}),e.Filter!=null){let r=EE(e.Filter,n).withName("Filter");t.addChildNode(r)}return t},kme=(e,n)=>e.filter(t=>t!=null).map(t=>wme(t,n).withName("member")),Ame=(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},Ime=(e,n)=>e.filter(t=>t!=null).map(t=>Ame(t,n).withName("member")),Nme=(e,n)=>e.filter(t=>t!=null).map(t=>Bue(t,n).withName("MetadataEntry")),zL=(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},GL=(e,n)=>{let t=new f.XmlNode("WebsiteConfiguration");if(e.ErrorDocument!=null){let r=cue(e.ErrorDocument,n).withName("ErrorDocument");t.addChildNode(r)}if(e.IndexDocument!=null){let r=_ue(e.IndexDocument,n).withName("IndexDocument");t.addChildNode(r)}if(e.RedirectAllRequestsTo!=null){let r=Zue(e.RedirectAllRequestsTo,n).withName("RedirectAllRequestsTo");t.addChildNode(r)}if(e.RoutingRules!=null){let r=cme(e.RoutingRules,n),o=new f.XmlNode("RoutingRules");r.map(s=>{o.addChildNode(s)}),t.addChildNode(o)}return t},Rme=(e,n)=>{let t={};return e.DaysAfterInitiation!==void 0&&(t.DaysAfterInitiation=(0,d.strictParseInt32)(e.DaysAfterInitiation)),t},Ome=(e,n)=>{let t={};return e.Owner!==void 0&&(t.Owner=(0,d.expectString)(e.Owner)),t},Tme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),qme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),Bme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),Mme=(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=ao((0,d.getArrayIfSingleItem)(e.Tag),n)),t},QL=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Filter===""||e.Filter!==void 0&&(t.Filter=Lme((0,d.expectUnion)(e.Filter),n)),e.StorageClassAnalysis!==void 0&&(t.StorageClassAnalysis=Nfe(e.StorageClassAnalysis,n)),t},Dme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>QL(t,n)),Fme=(e,n)=>{let t={};return e.S3BucketDestination!==void 0&&(t.S3BucketDestination=jme(e.S3BucketDestination,n)),t},Lme=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:Is(e.Tag,n)}:e.And!==void 0?{And:Mme(e.And,n)}:{$unknown:Object.entries(e)[0]},jme=(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},Ume=(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},zme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Ume(t,n)),Gme=(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},JL=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),Hme=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),t},my=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Hme(t,n)),$me=(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},Kme=(e,n)=>({}),Vme=(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},Xme=(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},Wme=(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=Tme((0,d.getArrayIfSingleItem)(e.AllowedHeader),n)),e.AllowedMethod===""?t.AllowedMethods=[]:e.AllowedMethod!==void 0&&(t.AllowedMethods=qme((0,d.getArrayIfSingleItem)(e.AllowedMethod),n)),e.AllowedOrigin===""?t.AllowedOrigins=[]:e.AllowedOrigin!==void 0&&(t.AllowedOrigins=Bme((0,d.getArrayIfSingleItem)(e.AllowedOrigin),n)),e.ExposeHeader===""?t.ExposeHeaders=[]:e.ExposeHeader!==void 0&&(t.ExposeHeaders=upe((0,d.getArrayIfSingleItem)(e.ExposeHeader),n)),e.MaxAgeSeconds!==void 0&&(t.MaxAgeSeconds=(0,d.strictParseInt32)(e.MaxAgeSeconds)),t},Yme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Wme(t,n)),Qme=(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},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.DeleteMarker!==void 0&&(t.DeleteMarker=(0,d.parseBoolean)(e.DeleteMarker)),e.DeleteMarkerVersionId!==void 0&&(t.DeleteMarkerVersionId=(0,d.expectString)(e.DeleteMarkerVersionId)),t},Zme=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Jme(t,n)),epe=(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},tpe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},npe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>epe(t,n)),rpe=(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=Ome(e.AccessControlTranslation,n)),e.EncryptionConfiguration!==void 0&&(t.EncryptionConfiguration=ope(e.EncryptionConfiguration,n)),e.ReplicationTime!==void 0&&(t.ReplicationTime=gfe(e.ReplicationTime,n)),e.Metrics!==void 0&&(t.Metrics=Bpe(e.Metrics,n)),t},ope=(e,n)=>{let t={};return e.ReplicaKmsKeyID!==void 0&&(t.ReplicaKmsKeyID=(0,d.expectString)(e.ReplicaKmsKeyID)),t},spe=(e,n)=>({}),ipe=(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},ape=(e,n)=>{let t={};return e.Key!==void 0&&(t.Key=(0,d.expectString)(e.Key)),t},cpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>ipe(t,n)),dpe=(e,n)=>({}),bE=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),lpe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},upe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),mpe=(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},ppe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>mpe(t,n)),fpe=(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=rfe((0,d.getArrayIfSingleItem)(e.Part),n)),t},ype=(e,n)=>{let t={};return e.Grantee!==void 0&&(t.Grantee=ZL(e.Grantee,n)),e.Permission!==void 0&&(t.Permission=(0,d.expectString)(e.Permission)),t},ZL=(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},ej=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>ype(t,n)),_pe=(e,n)=>{let t={};return e.Suffix!==void 0&&(t.Suffix=(0,d.expectString)(e.Suffix)),t},tj=(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},gpe=(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=ao((0,d.getArrayIfSingleItem)(e.Tag),n)),t},nj=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Filter!==void 0&&(t.Filter=Cpe(e.Filter,n)),e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.Tiering===""?t.Tierings=[]:e.Tiering!==void 0&&(t.Tierings=Bfe((0,d.getArrayIfSingleItem)(e.Tiering),n)),t},hpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>nj(t,n)),Cpe=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),e.Tag!==void 0&&(t.Tag=Is(e.Tag,n)),e.And!==void 0&&(t.And=gpe(e.And,n)),t},rj=(e,n)=>{let t={};return e.Destination!==void 0&&(t.Destination=Epe(e.Destination,n)),e.IsEnabled!==void 0&&(t.IsEnabled=(0,d.parseBoolean)(e.IsEnabled)),e.Filter!==void 0&&(t.Filter=Ppe(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=vpe((0,d.getArrayIfSingleItem)(e.OptionalFields.Field),n)),e.Schedule!==void 0&&(t.Schedule=wpe(e.Schedule,n)),t},Spe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>rj(t,n)),Epe=(e,n)=>{let t={};return e.S3BucketDestination!==void 0&&(t.S3BucketDestination=xpe(e.S3BucketDestination,n)),t},bpe=(e,n)=>{let t={};return e["SSE-S3"]!==void 0&&(t.SSES3=Afe(e["SSE-S3"],n)),e["SSE-KMS"]!==void 0&&(t.SSEKMS=wfe(e["SSE-KMS"],n)),t},Ppe=(e,n)=>{let t={};return e.Prefix!==void 0&&(t.Prefix=(0,d.expectString)(e.Prefix)),t},vpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>(0,d.expectString)(t)),xpe=(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=bpe(e.Encryption,n)),t},wpe=(e,n)=>{let t={};return e.Frequency!==void 0&&(t.Frequency=(0,d.expectString)(e.Frequency)),t},kpe=(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=bE((0,d.getArrayIfSingleItem)(e.Event),n)),e.Filter!==void 0&&(t.Filter=PE(e.Filter,n)),t},Ape=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>kpe(t,n)),Ipe=(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},Npe=(e,n)=>{let t={};return e.Expiration!==void 0&&(t.Expiration=Ipe(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=Ope((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=Lfe((0,d.getArrayIfSingleItem)(e.Transition),n)),e.NoncurrentVersionTransition===""?t.NoncurrentVersionTransitions=[]:e.NoncurrentVersionTransition!==void 0&&(t.NoncurrentVersionTransitions=Gpe((0,d.getArrayIfSingleItem)(e.NoncurrentVersionTransition),n)),e.NoncurrentVersionExpiration!==void 0&&(t.NoncurrentVersionExpiration=Upe(e.NoncurrentVersionExpiration,n)),e.AbortIncompleteMultipartUpload!==void 0&&(t.AbortIncompleteMultipartUpload=Rme(e.AbortIncompleteMultipartUpload,n)),t},Rpe=(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=ao((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},Ope=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:Is(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:Rpe(e.And,n)}:{$unknown:Object.entries(e)[0]},Tpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Npe(t,n)),qpe=(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=Tfe((0,d.getArrayIfSingleItem)(e.TargetGrants.Grant),n)),e.TargetPrefix!==void 0&&(t.TargetPrefix=(0,d.expectString)(e.TargetPrefix)),t},Bpe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.EventThreshold!==void 0&&(t.EventThreshold=ij(e.EventThreshold,n)),t},Mpe=(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=ao((0,d.getArrayIfSingleItem)(e.Tag),n)),e.AccessPointArn!==void 0&&(t.AccessPointArn=(0,d.expectString)(e.AccessPointArn)),t},oj=(e,n)=>{let t={};return e.Id!==void 0&&(t.Id=(0,d.expectString)(e.Id)),e.Filter===""||e.Filter!==void 0&&(t.Filter=Fpe((0,d.expectUnion)(e.Filter),n)),t},Dpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>oj(t,n)),Fpe=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:Is(e.Tag,n)}:e.AccessPointArn!==void 0?{AccessPointArn:(0,d.expectString)(e.AccessPointArn)}:e.And!==void 0?{And:Mpe(e.And,n)}:{$unknown:Object.entries(e)[0]},Lpe=(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=tj(e.Initiator,n)),e.ChecksumAlgorithm!==void 0&&(t.ChecksumAlgorithm=(0,d.expectString)(e.ChecksumAlgorithm)),t},jpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Lpe(t,n)),Upe=(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},zpe=(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},Gpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>zpe(t,n)),PE=(e,n)=>{let t={};return e.S3Key!==void 0&&(t.Key=Sfe(e.S3Key,n)),t},Hpe=(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=JL((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=aj(e.RestoreStatus,n)),t},sj=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Hpe(t,n)),$pe=(e,n)=>{let t={};return e.ObjectLockEnabled!==void 0&&(t.ObjectLockEnabled=(0,d.expectString)(e.ObjectLockEnabled)),e.Rule!==void 0&&(t.Rule=Xpe(e.Rule,n)),t},Kpe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},Vpe=(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},Xpe=(e,n)=>{let t={};return e.DefaultRetention!==void 0&&(t.DefaultRetention=Qme(e.DefaultRetention,n)),t},Wpe=(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},Ype=(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=JL((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=aj(e.RestoreStatus,n)),t},Qpe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Ype(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},Jpe=(e,n)=>{let t={};return e.Rule===""?t.Rules=[]:e.Rule!==void 0&&(t.Rules=efe((0,d.getArrayIfSingleItem)(e.Rule),n)),t},Zpe=(e,n)=>{let t={};return e.ObjectOwnership!==void 0&&(t.ObjectOwnership=(0,d.expectString)(e.ObjectOwnership)),t},efe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Zpe(t,n)),tfe=(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},nfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>tfe(t,n)),rfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Wpe(t,n)),ofe=(e,n)=>{let t={};return e.IsPublic!==void 0&&(t.IsPublic=(0,d.parseBoolean)(e.IsPublic)),t},sfe=(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},ife=(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},afe=(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=bE((0,d.getArrayIfSingleItem)(e.Event),n)),e.Filter!==void 0&&(t.Filter=PE(e.Filter,n)),t},cfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>afe(t,n)),dfe=(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},lfe=(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},ufe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},mfe=(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=_fe((0,d.getArrayIfSingleItem)(e.Rule),n)),t},pfe=(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=yfe((0,d.expectUnion)(e.Filter),n)),e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.SourceSelectionCriteria!==void 0&&(t.SourceSelectionCriteria=xfe(e.SourceSelectionCriteria,n)),e.ExistingObjectReplication!==void 0&&(t.ExistingObjectReplication=lpe(e.ExistingObjectReplication,n)),e.Destination!==void 0&&(t.Destination=rpe(e.Destination,n)),e.DeleteMarkerReplication!==void 0&&(t.DeleteMarkerReplication=tpe(e.DeleteMarkerReplication,n)),t},ffe=(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=ao((0,d.getArrayIfSingleItem)(e.Tag),n)),t},yfe=(e,n)=>e.Prefix!==void 0?{Prefix:(0,d.expectString)(e.Prefix)}:e.Tag!==void 0?{Tag:Is(e.Tag,n)}:e.And!==void 0?{And:ffe(e.And,n)}:{$unknown:Object.entries(e)[0]},_fe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>pfe(t,n)),gfe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),e.Time!==void 0&&(t.Time=ij(e.Time,n)),t},ij=(e,n)=>{let t={};return e.Minutes!==void 0&&(t.Minutes=(0,d.strictParseInt32)(e.Minutes)),t},aj=(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},hfe=(e,n)=>{let t={};return e.Condition!==void 0&&(t.Condition=$me(e.Condition,n)),e.Redirect!==void 0&&(t.Redirect=dfe(e.Redirect,n)),t},Cfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>hfe(t,n)),Sfe=(e,n)=>{let t={};return e.FilterRule===""?t.FilterRules=[]:e.FilterRule!==void 0&&(t.FilterRules=ppe((0,d.getArrayIfSingleItem)(e.FilterRule),n)),t},Efe=(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},bfe=(e,n)=>{let t={};return e.Rule===""?t.Rules=[]:e.Rule!==void 0&&(t.Rules=vfe((0,d.getArrayIfSingleItem)(e.Rule),n)),t},Pfe=(e,n)=>{let t={};return e.ApplyServerSideEncryptionByDefault!==void 0&&(t.ApplyServerSideEncryptionByDefault=Efe(e.ApplyServerSideEncryptionByDefault,n)),e.BucketKeyEnabled!==void 0&&(t.BucketKeyEnabled=(0,d.parseBoolean)(e.BucketKeyEnabled)),t},vfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Pfe(t,n)),xfe=(e,n)=>{let t={};return e.SseKmsEncryptedObjects!==void 0&&(t.SseKmsEncryptedObjects=kfe(e.SseKmsEncryptedObjects,n)),e.ReplicaModifications!==void 0&&(t.ReplicaModifications=ufe(e.ReplicaModifications,n)),t},wfe=(e,n)=>{let t={};return e.KeyId!==void 0&&(t.KeyId=(0,d.expectString)(e.KeyId)),t},kfe=(e,n)=>{let t={};return e.Status!==void 0&&(t.Status=(0,d.expectString)(e.Status)),t},Afe=(e,n)=>({}),Ife=(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},Nfe=(e,n)=>{let t={};return e.DataExport!==void 0&&(t.DataExport=Rfe(e.DataExport,n)),t},Rfe=(e,n)=>{let t={};return e.OutputSchemaVersion!==void 0&&(t.OutputSchemaVersion=(0,d.expectString)(e.OutputSchemaVersion)),e.Destination!==void 0&&(t.Destination=Fme(e.Destination,n)),t},Is=(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},ao=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Is(t,n)),Ofe=(e,n)=>{let t={};return e.Grantee!==void 0&&(t.Grantee=ZL(e.Grantee,n)),e.Permission!==void 0&&(t.Permission=(0,d.expectString)(e.Permission)),t},Tfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Ofe(t,n)),qfe=(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},Bfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>qfe(t,n)),Mfe=(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=bE((0,d.getArrayIfSingleItem)(e.Event),n)),e.Filter!==void 0&&(t.Filter=PE(e.Filter,n)),t},Dfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Mfe(t,n)),Ffe=(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},Lfe=(e,n)=>(e||[]).filter(t=>t!=null).map(t=>Ffe(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"]}),cj=(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)=>cj(e,n).then(t=>{if(t.length){let r=new gse.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{}}),M=async(e,n)=>{let t=await te(e,n);return t.Error&&(t.Error.message=t.Error.message??t.Error.Message),t},D=(e,n)=>{if((n==null?void 0:n.Code)!==void 0)return n.Code;if(e.statusCode==404)return"NotFound"}});var xE=m(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.AbortMultipartUploadCommand=Ns.$Command=void 0;var jfe=v(),Ufe=w(),lj=E();Object.defineProperty(Ns,"$Command",{enumerable:!0,get:function(){return lj.Command}});var zfe=x(),dj=q(),vE=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,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:"AbortMultipartUploadCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[zfe.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,dj.se_AbortMultipartUploadCommand)(n,t)}deserialize(n,t){return(0,dj.de_AbortMultipartUploadCommand)(n,t)}};Ns.AbortMultipartUploadCommand=vE});var Ot=m($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.getSsecPlugin=$n.ssecMiddlewareOptions=$n.ssecMiddleware=void 0;function uj(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})}}$n.ssecMiddleware=uj;$n.ssecMiddlewareOptions={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0};var Gfe=e=>({applyToStack:n=>{n.add(uj(e),$n.ssecMiddlewareOptions)}});$n.getSsecPlugin=Gfe});var kE=m(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.CompleteMultipartUploadCommand=Rs.$Command=void 0;var Hfe=wo(),$fe=Ot(),Kfe=v(),Vfe=w(),fj=E();Object.defineProperty(Rs,"$Command",{enumerable:!0,get:function(){return fj.Command}});var Xfe=x(),mj=Ze(),pj=q(),wE=class e extends fj.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())),this.middlewareStack.use((0,Hfe.getThrow200ExceptionsPlugin)(t)),this.middlewareStack.use((0,$fe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CompleteMultipartUploadCommand",inputFilterSensitiveLog:mj.CompleteMultipartUploadRequestFilterSensitiveLog,outputFilterSensitiveLog:mj.CompleteMultipartUploadOutputFilterSensitiveLog,[Xfe.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,pj.se_CompleteMultipartUploadCommand)(n,t)}deserialize(n,t){return(0,pj.de_CompleteMultipartUploadCommand)(n,t)}};Rs.CompleteMultipartUploadCommand=wE});var IE=m(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.CopyObjectCommand=Os.$Command=void 0;var Wfe=wo(),Yfe=Ot(),Qfe=v(),Jfe=w(),gj=E();Object.defineProperty(Os,"$Command",{enumerable:!0,get:function(){return gj.Command}});var Zfe=x(),yj=Ze(),_j=q(),AE=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,Jfe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Qfe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Wfe.getThrow200ExceptionsPlugin)(t)),this.middlewareStack.use((0,Yfe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CopyObjectCommand",inputFilterSensitiveLog:yj.CopyObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:yj.CopyObjectOutputFilterSensitiveLog,[Zfe.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,_j.se_CopyObjectCommand)(n,t)}deserialize(n,t){return(0,_j.de_CopyObjectCommand)(n,t)}};Os.CopyObjectCommand=AE});var Cj=m(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.getLocationConstraintPlugin=Kn.locationConstraintMiddlewareOptions=Kn.locationConstraintMiddleware=void 0;function hj(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)}}Kn.locationConstraintMiddleware=hj;Kn.locationConstraintMiddlewareOptions={step:"initialize",tags:["LOCATION_CONSTRAINT","CREATE_BUCKET_CONFIGURATION"],name:"locationConstraintMiddleware",override:!0};var eye=e=>({applyToStack:n=>{n.add(hj(e),Kn.locationConstraintMiddlewareOptions)}});Kn.getLocationConstraintPlugin=eye});var RE=m(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.CreateBucketCommand=Ts.$Command=void 0;var tye=Cj(),nye=v(),rye=w(),Ej=E();Object.defineProperty(Ts,"$Command",{enumerable:!0,get:function(){return Ej.Command}});var oye=x(),Sj=q(),NE=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,rye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,nye.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,tye.getLocationConstraintPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CreateBucketCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[oye.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,Sj.se_CreateBucketCommand)(n,t)}deserialize(n,t){return(0,Sj.de_CreateBucketCommand)(n,t)}};Ts.CreateBucketCommand=NE});var TE=m(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.CreateMultipartUploadCommand=qs.$Command=void 0;var sye=Ot(),iye=v(),aye=w(),vj=E();Object.defineProperty(qs,"$Command",{enumerable:!0,get:function(){return vj.Command}});var cye=x(),bj=Ze(),Pj=q(),OE=class e extends vj.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,aye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,iye.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,sye.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"CreateMultipartUploadCommand",inputFilterSensitiveLog:bj.CreateMultipartUploadRequestFilterSensitiveLog,outputFilterSensitiveLog:bj.CreateMultipartUploadOutputFilterSensitiveLog,[cye.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,Pj.se_CreateMultipartUploadCommand)(n,t)}deserialize(n,t){return(0,Pj.de_CreateMultipartUploadCommand)(n,t)}};qs.CreateMultipartUploadCommand=OE});var BE=m(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});Bs.DeleteBucketAnalyticsConfigurationCommand=Bs.$Command=void 0;var dye=v(),lye=w(),wj=E();Object.defineProperty(Bs,"$Command",{enumerable:!0,get:function(){return wj.Command}});var uye=x(),xj=q(),qE=class e extends wj.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,lye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,dye.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,[uye.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,xj.se_DeleteBucketAnalyticsConfigurationCommand)(n,t)}deserialize(n,t){return(0,xj.de_DeleteBucketAnalyticsConfigurationCommand)(n,t)}};Bs.DeleteBucketAnalyticsConfigurationCommand=qE});var DE=m(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.DeleteBucketCommand=Ms.$Command=void 0;var mye=v(),pye=w(),Aj=E();Object.defineProperty(Ms,"$Command",{enumerable:!0,get:function(){return Aj.Command}});var fye=x(),kj=q(),ME=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,pye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,mye.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,[fye.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,kj.se_DeleteBucketCommand)(n,t)}deserialize(n,t){return(0,kj.de_DeleteBucketCommand)(n,t)}};Ms.DeleteBucketCommand=ME});var LE=m(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.DeleteBucketCorsCommand=Ds.$Command=void 0;var yye=v(),_ye=w(),Nj=E();Object.defineProperty(Ds,"$Command",{enumerable:!0,get:function(){return Nj.Command}});var gye=x(),Ij=q(),FE=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,_ye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,yye.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,[gye.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,Ij.se_DeleteBucketCorsCommand)(n,t)}deserialize(n,t){return(0,Ij.de_DeleteBucketCorsCommand)(n,t)}};Ds.DeleteBucketCorsCommand=FE});var UE=m(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs.DeleteBucketEncryptionCommand=Fs.$Command=void 0;var hye=v(),Cye=w(),Oj=E();Object.defineProperty(Fs,"$Command",{enumerable:!0,get:function(){return Oj.Command}});var Sye=x(),Rj=q(),jE=class e extends Oj.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,hye.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,[Sye.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,Rj.se_DeleteBucketEncryptionCommand)(n,t)}deserialize(n,t){return(0,Rj.de_DeleteBucketEncryptionCommand)(n,t)}};Fs.DeleteBucketEncryptionCommand=jE});var GE=m(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.DeleteBucketIntelligentTieringConfigurationCommand=Ls.$Command=void 0;var Eye=v(),bye=w(),qj=E();Object.defineProperty(Ls,"$Command",{enumerable:!0,get:function(){return qj.Command}});var Pye=x(),Tj=q(),zE=class e extends qj.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,bye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Eye.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,[Pye.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,Tj.se_DeleteBucketIntelligentTieringConfigurationCommand)(n,t)}deserialize(n,t){return(0,Tj.de_DeleteBucketIntelligentTieringConfigurationCommand)(n,t)}};Ls.DeleteBucketIntelligentTieringConfigurationCommand=zE});var $E=m(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.DeleteBucketInventoryConfigurationCommand=js.$Command=void 0;var vye=v(),xye=w(),Mj=E();Object.defineProperty(js,"$Command",{enumerable:!0,get:function(){return Mj.Command}});var wye=x(),Bj=q(),HE=class e extends Mj.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,xye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,vye.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,[wye.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,Bj.se_DeleteBucketInventoryConfigurationCommand)(n,t)}deserialize(n,t){return(0,Bj.de_DeleteBucketInventoryConfigurationCommand)(n,t)}};js.DeleteBucketInventoryConfigurationCommand=HE});var VE=m(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});Us.DeleteBucketLifecycleCommand=Us.$Command=void 0;var kye=v(),Aye=w(),Fj=E();Object.defineProperty(Us,"$Command",{enumerable:!0,get:function(){return Fj.Command}});var Iye=x(),Dj=q(),KE=class e extends Fj.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,Aye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,kye.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,[Iye.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,Dj.se_DeleteBucketLifecycleCommand)(n,t)}deserialize(n,t){return(0,Dj.de_DeleteBucketLifecycleCommand)(n,t)}};Us.DeleteBucketLifecycleCommand=KE});var WE=m(zs=>{"use strict";Object.defineProperty(zs,"__esModule",{value:!0});zs.DeleteBucketMetricsConfigurationCommand=zs.$Command=void 0;var Nye=v(),Rye=w(),jj=E();Object.defineProperty(zs,"$Command",{enumerable:!0,get:function(){return jj.Command}});var Oye=x(),Lj=q(),XE=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,Rye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Nye.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,[Oye.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,Lj.se_DeleteBucketMetricsConfigurationCommand)(n,t)}deserialize(n,t){return(0,Lj.de_DeleteBucketMetricsConfigurationCommand)(n,t)}};zs.DeleteBucketMetricsConfigurationCommand=XE});var QE=m(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.DeleteBucketOwnershipControlsCommand=Gs.$Command=void 0;var Tye=v(),qye=w(),zj=E();Object.defineProperty(Gs,"$Command",{enumerable:!0,get:function(){return zj.Command}});var Bye=x(),Uj=q(),YE=class e extends zj.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,qye.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:"DeleteBucketOwnershipControlsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Bye.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,Uj.se_DeleteBucketOwnershipControlsCommand)(n,t)}deserialize(n,t){return(0,Uj.de_DeleteBucketOwnershipControlsCommand)(n,t)}};Gs.DeleteBucketOwnershipControlsCommand=YE});var ZE=m(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});Hs.DeleteBucketPolicyCommand=Hs.$Command=void 0;var Mye=v(),Dye=w(),Hj=E();Object.defineProperty(Hs,"$Command",{enumerable:!0,get:function(){return Hj.Command}});var Fye=x(),Gj=q(),JE=class e extends Hj.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,Dye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Mye.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,[Fye.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,Gj.se_DeleteBucketPolicyCommand)(n,t)}deserialize(n,t){return(0,Gj.de_DeleteBucketPolicyCommand)(n,t)}};Hs.DeleteBucketPolicyCommand=JE});var t0=m($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.DeleteBucketReplicationCommand=$s.$Command=void 0;var Lye=v(),jye=w(),Kj=E();Object.defineProperty($s,"$Command",{enumerable:!0,get:function(){return Kj.Command}});var Uye=x(),$j=q(),e0=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,jye.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:"DeleteBucketReplicationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Uye.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,$j.se_DeleteBucketReplicationCommand)(n,t)}deserialize(n,t){return(0,$j.de_DeleteBucketReplicationCommand)(n,t)}};$s.DeleteBucketReplicationCommand=e0});var r0=m(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.DeleteBucketTaggingCommand=Ks.$Command=void 0;var zye=v(),Gye=w(),Xj=E();Object.defineProperty(Ks,"$Command",{enumerable:!0,get:function(){return Xj.Command}});var Hye=x(),Vj=q(),n0=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,Gye.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,zye.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,[Hye.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,Vj.se_DeleteBucketTaggingCommand)(n,t)}deserialize(n,t){return(0,Vj.de_DeleteBucketTaggingCommand)(n,t)}};Ks.DeleteBucketTaggingCommand=n0});var s0=m(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs.DeleteBucketWebsiteCommand=Vs.$Command=void 0;var $ye=v(),Kye=w(),Yj=E();Object.defineProperty(Vs,"$Command",{enumerable:!0,get:function(){return Yj.Command}});var Vye=x(),Wj=q(),o0=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,Kye.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:"DeleteBucketWebsiteCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Vye.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,Wj.se_DeleteBucketWebsiteCommand)(n,t)}deserialize(n,t){return(0,Wj.de_DeleteBucketWebsiteCommand)(n,t)}};Vs.DeleteBucketWebsiteCommand=o0});var a0=m(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.DeleteObjectCommand=Xs.$Command=void 0;var Xye=v(),Wye=w(),Jj=E();Object.defineProperty(Xs,"$Command",{enumerable:!0,get:function(){return Jj.Command}});var Yye=x(),Qj=q(),i0=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,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:"DeleteObjectCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Yye.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,Qj.se_DeleteObjectCommand)(n,t)}deserialize(n,t){return(0,Qj.de_DeleteObjectCommand)(n,t)}};Xs.DeleteObjectCommand=i0});var Ws=m(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});Or.ChecksumLocation=Or.ChecksumAlgorithm=void 0;var Qye;(function(e){e.MD5="MD5",e.CRC32="CRC32",e.CRC32C="CRC32C",e.SHA1="SHA1",e.SHA256="SHA256"})(Qye=Or.ChecksumAlgorithm||(Or.ChecksumAlgorithm={}));var Jye;(function(e){e.HEADER="header",e.TRAILER="trailer"})(Jye=Or.ChecksumLocation||(Or.ChecksumLocation={}))});var c0=m(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.PRIORITY_ORDER_ALGORITHMS=Ys.CLIENT_SUPPORTED_ALGORITHMS=void 0;var Tr=Ws();Ys.CLIENT_SUPPORTED_ALGORITHMS=[Tr.ChecksumAlgorithm.CRC32,Tr.ChecksumAlgorithm.CRC32C,Tr.ChecksumAlgorithm.SHA1,Tr.ChecksumAlgorithm.SHA256];Ys.PRIORITY_ORDER_ALGORITHMS=[Tr.ChecksumAlgorithm.CRC32,Tr.ChecksumAlgorithm.CRC32C,Tr.ChecksumAlgorithm.SHA1,Tr.ChecksumAlgorithm.SHA256]});var eU=m(py=>{"use strict";Object.defineProperty(py,"__esModule",{value:!0});py.getChecksumAlgorithmForRequest=void 0;var Zye=Ws(),Zj=c0(),e_e=(e,{requestChecksumRequired:n,requestAlgorithmMember:t})=>{if(!t||!e[t])return n?Zye.ChecksumAlgorithm.MD5:void 0;let r=e[t];if(!Zj.CLIENT_SUPPORTED_ALGORITHMS.includes(r))throw new Error(`The checksum algorithm "${r}" is not supported by the client. Select one of ${Zj.CLIENT_SUPPORTED_ALGORITHMS}.`);return r};py.getChecksumAlgorithmForRequest=e_e});var d0=m(fy=>{"use strict";Object.defineProperty(fy,"__esModule",{value:!0});fy.getChecksumLocationName=void 0;var t_e=Ws(),n_e=e=>e===t_e.ChecksumAlgorithm.MD5?"content-md5":`x-amz-checksum-${e.toLowerCase()}`;fy.getChecksumLocationName=n_e});var tU=m(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.hasHeader=void 0;var r_e=(e,n)=>{let t=e.toLowerCase();for(let r of Object.keys(n))if(t===r.toLowerCase())return!0;return!1};yy.hasHeader=r_e});var gy=m(_y=>{"use strict";Object.defineProperty(_y,"__esModule",{value:!0});_y.isStreaming=void 0;var o_e=Cd(),s_e=e=>e!==void 0&&typeof e!="string"&&!ArrayBuffer.isView(e)&&!(0,o_e.isArrayBuffer)(e);_y.isStreaming=s_e});var p0={};ka(p0,{__assign:()=>u0,__asyncDelegator:()=>h_e,__asyncGenerator:()=>g_e,__asyncValues:()=>C_e,__await:()=>Yc,__awaiter:()=>u_e,__classPrivateFieldGet:()=>P_e,__classPrivateFieldSet:()=>v_e,__createBinding:()=>p_e,__decorate:()=>c_e,__exportStar:()=>f_e,__extends:()=>i_e,__generator:()=>m_e,__importDefault:()=>b_e,__importStar:()=>E_e,__makeTemplateObject:()=>S_e,__metadata:()=>l_e,__param:()=>d_e,__read:()=>nU,__rest:()=>a_e,__spread:()=>y_e,__spreadArrays:()=>__e,__values:()=>m0});function i_e(e,n){l0(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function a_e(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 d_e(e,n){return function(t,r){n(t,r,e)}}function l_e(e,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,n)}function u_e(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 m_e(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 nU(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 y_e(){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 Yc?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 h_e(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:Yc(e[o](a)),done:o==="return"}:s?s(a):a}:s}}function C_e(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 m0=="function"?m0(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 S_e(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}function E_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 b_e(e){return e&&e.__esModule?e:{default:e}}function P_e(e,n){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return n.get(e)}function v_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 l0,u0,f0=ze(()=>{l0=function(e,n){return l0=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])},l0(e,n)};u0=function(){return u0=Object.assign||function(n){for(var t,r=1,o=arguments.length;r{"use strict";Object.defineProperty(hy,"__esModule",{value:!0});hy.AwsCrc32c=void 0;var rU=(f0(),O(p0)),y0=Ka(),oU=_0(),x_e=function(){function e(){this.crc32c=new oU.Crc32c}return e.prototype.update=function(n){(0,y0.isEmptyData)(n)||this.crc32c.update((0,y0.convertToBuffer)(n))},e.prototype.digest=function(){return rU.__awaiter(this,void 0,void 0,function(){return rU.__generator(this,function(n){return[2,(0,y0.numToUint8)(this.crc32c.digest())]})})},e.prototype.reset=function(){this.crc32c=new oU.Crc32c},e}();hy.AwsCrc32c=x_e});var _0=m(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});qr.AwsCrc32c=qr.Crc32c=qr.crc32c=void 0;var w_e=(f0(),O(p0)),k_e=Ka();function A_e(e){return new iU().update(e).digest()}qr.crc32c=A_e;var iU=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(n){var t,r;try{for(var o=w_e.__values(n),s=o.next();!s.done;s=o.next()){var a=s.value;this.checksum=this.checksum>>>8^N_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}();qr.Crc32c=iU;var I_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],N_e=(0,k_e.uint32ArrayFrom)(I_e),R_e=sU();Object.defineProperty(qr,"AwsCrc32c",{enumerable:!0,get:function(){return R_e.AwsCrc32c}})});var g0=m(Cy=>{"use strict";Object.defineProperty(Cy,"__esModule",{value:!0});Cy.selectChecksumAlgorithmFunction=void 0;var O_e=Va(),T_e=_0(),Qc=Ws(),q_e=(e,n)=>({[Qc.ChecksumAlgorithm.MD5]:n.md5,[Qc.ChecksumAlgorithm.CRC32]:O_e.AwsCrc32,[Qc.ChecksumAlgorithm.CRC32C]:T_e.AwsCrc32c,[Qc.ChecksumAlgorithm.SHA1]:n.sha1,[Qc.ChecksumAlgorithm.SHA256]:n.sha256})[e];Cy.selectChecksumAlgorithmFunction=q_e});var h0=m(Sy=>{"use strict";Object.defineProperty(Sy,"__esModule",{value:!0});Sy.stringHasher=void 0;var B_e=Et(),M_e=(e,n)=>{let t=new e;return t.update((0,B_e.toUint8Array)(n||"")),t.digest()};Sy.stringHasher=M_e});var C0=m(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});Ey.flexibleChecksumsMiddleware=void 0;var D_e=we(),F_e=eU(),L_e=d0(),j_e=tU(),U_e=gy(),z_e=g0(),G_e=h0(),H_e=(e,n)=>t=>async r=>{if(!D_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,F_e.getChecksumAlgorithmForRequest)(l,{requestChecksumRequired:c,requestAlgorithmMember:y}),C=s,b=a;if(_){let j=(0,L_e.getChecksumLocationName)(_),V=(0,z_e.selectChecksumAlgorithmFunction)(_,e);if((0,U_e.isStreaming)(s)){let{getAwsChunkedEncodingStream:me,bodyLengthChecker:Ft}=e;C=me(s,{base64Encoder:i,bodyLengthChecker:Ft,checksumLocationName:j,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":j},delete b["content-length"]}else if(!(0,j_e.hasHeader)(j,a)){let me=await(0,G_e.stringHasher)(V,s);b={...a,[j]:i(me)}}}return await t({...r,request:{...o,headers:b,body:C}})};Ey.flexibleChecksumsMiddleware=H_e});var aU=m(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});by.createReadStreamOnBuffer=void 0;var $_e=require("stream");function K_e(e){let n=new $_e.Transform;return n.push(e),n.push(null),n}by.createReadStreamOnBuffer=K_e});var cU=m(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.getChecksum=void 0;var V_e=gy(),X_e=h0(),W_e=async(e,{streamHasher:n,checksumAlgorithmFn:t,base64Encoder:r})=>{let o=(0,V_e.isStreaming)(e)?n(t,e):(0,X_e.stringHasher)(t,e);return r(await o)};Py.getChecksum=W_e});var lU=m(vy=>{"use strict";Object.defineProperty(vy,"__esModule",{value:!0});vy.getChecksumAlgorithmListForResponse=void 0;var dU=c0(),Y_e=(e=[])=>{let n=[];for(let t of dU.PRIORITY_ORDER_ALGORITHMS)!e.includes(t)||!dU.CLIENT_SUPPORTED_ALGORITHMS.includes(t)||n.push(t);return n};vy.getChecksumAlgorithmListForResponse=Y_e});var uU=m(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.validateChecksumFromResponse=void 0;var Q_e=cU(),J_e=lU(),Z_e=d0(),ege=g0(),tge=async(e,{config:n,responseAlgorithms:t})=>{let r=(0,J_e.getChecksumAlgorithmListForResponse)(t),{body:o,headers:s}=e;for(let a of r){let i=(0,Z_e.getChecksumLocationName)(a),u=s[i];if(u){let l=(0,ege.selectChecksumAlgorithmFunction)(a,n),{streamHasher:c,base64Encoder:y}=n,_=await(0,Q_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}".`)}}};xy.validateChecksumFromResponse=tge});var pU=m(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Qs.flexibleChecksumsResponseMiddleware=Qs.flexibleChecksumsResponseMiddlewareOptions=void 0;var nge=we(),rge=gy(),mU=aU(),oge=uU();Qs.flexibleChecksumsResponseMiddlewareOptions={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0};var sge=(e,n)=>t=>async r=>{if(!nge.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,rge.isStreaming)(a.body);c&&(i=await e.streamCollector(a.body),a.body=(0,mU.createReadStreamOnBuffer)(i)),await(0,oge.validateChecksumFromResponse)(s.response,{config:e,responseAlgorithms:l}),c&&i&&(a.body=(0,mU.createReadStreamOnBuffer)(i))}return s};Qs.flexibleChecksumsResponseMiddleware=sge});var yU=m(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.getFlexibleChecksumsPlugin=co.flexibleChecksumsMiddlewareOptions=void 0;var ige=C0(),fU=pU();co.flexibleChecksumsMiddlewareOptions={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0};var age=(e,n)=>({applyToStack:t=>{t.add((0,ige.flexibleChecksumsMiddleware)(e,n),co.flexibleChecksumsMiddlewareOptions),t.addRelativeTo((0,fU.flexibleChecksumsResponseMiddleware)(e,n),fU.flexibleChecksumsResponseMiddlewareOptions)}});co.getFlexibleChecksumsPlugin=age});var xe=m(Jc=>{"use strict";Object.defineProperty(Jc,"__esModule",{value:!0});var S0=(z(),O(U));S0.__exportStar(Ws(),Jc);S0.__exportStar(C0(),Jc);S0.__exportStar(yU(),Jc)});var b0=m(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.DeleteObjectsCommand=Js.$Command=void 0;var cge=xe(),dge=v(),lge=w(),gU=E();Object.defineProperty(Js,"$Command",{enumerable:!0,get:function(){return gU.Command}});var uge=x(),_U=q(),E0=class e extends gU.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())),this.middlewareStack.use((0,cge.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,[uge.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,_U.se_DeleteObjectsCommand)(n,t)}deserialize(n,t){return(0,_U.de_DeleteObjectsCommand)(n,t)}};Js.DeleteObjectsCommand=E0});var v0=m(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Zs.DeleteObjectTaggingCommand=Zs.$Command=void 0;var mge=v(),pge=w(),CU=E();Object.defineProperty(Zs,"$Command",{enumerable:!0,get:function(){return CU.Command}});var fge=x(),hU=q(),P0=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,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:"DeleteObjectTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[fge.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,hU.se_DeleteObjectTaggingCommand)(n,t)}deserialize(n,t){return(0,hU.de_DeleteObjectTaggingCommand)(n,t)}};Zs.DeleteObjectTaggingCommand=P0});var w0=m(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.DeletePublicAccessBlockCommand=ei.$Command=void 0;var yge=v(),_ge=w(),EU=E();Object.defineProperty(ei,"$Command",{enumerable:!0,get:function(){return EU.Command}});var gge=x(),SU=q(),x0=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,_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:"DeletePublicAccessBlockCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[gge.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,SU.se_DeletePublicAccessBlockCommand)(n,t)}deserialize(n,t){return(0,SU.de_DeletePublicAccessBlockCommand)(n,t)}};ei.DeletePublicAccessBlockCommand=x0});var A0=m(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.GetBucketAccelerateConfigurationCommand=ti.$Command=void 0;var hge=v(),Cge=w(),PU=E();Object.defineProperty(ti,"$Command",{enumerable:!0,get:function(){return PU.Command}});var Sge=x(),bU=q(),k0=class e extends PU.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:"GetBucketAccelerateConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Sge.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,bU.se_GetBucketAccelerateConfigurationCommand)(n,t)}deserialize(n,t){return(0,bU.de_GetBucketAccelerateConfigurationCommand)(n,t)}};ti.GetBucketAccelerateConfigurationCommand=k0});var N0=m(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.GetBucketAclCommand=ni.$Command=void 0;var Ege=v(),bge=w(),xU=E();Object.defineProperty(ni,"$Command",{enumerable:!0,get:function(){return xU.Command}});var Pge=x(),vU=q(),I0=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,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:"GetBucketAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Pge.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,vU.se_GetBucketAclCommand)(n,t)}deserialize(n,t){return(0,vU.de_GetBucketAclCommand)(n,t)}};ni.GetBucketAclCommand=I0});var O0=m(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.GetBucketAnalyticsConfigurationCommand=ri.$Command=void 0;var vge=v(),xge=w(),kU=E();Object.defineProperty(ri,"$Command",{enumerable:!0,get:function(){return kU.Command}});var wge=x(),wU=q(),R0=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,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:"GetBucketAnalyticsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[wge.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,wU.se_GetBucketAnalyticsConfigurationCommand)(n,t)}deserialize(n,t){return(0,wU.de_GetBucketAnalyticsConfigurationCommand)(n,t)}};ri.GetBucketAnalyticsConfigurationCommand=R0});var q0=m(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.GetBucketCorsCommand=oi.$Command=void 0;var kge=v(),Age=w(),IU=E();Object.defineProperty(oi,"$Command",{enumerable:!0,get:function(){return IU.Command}});var Ige=x(),AU=q(),T0=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,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:"GetBucketCorsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Ige.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)}};oi.GetBucketCorsCommand=T0});var M0=m(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.GetBucketEncryptionCommand=si.$Command=void 0;var Nge=v(),Rge=w(),RU=E();Object.defineProperty(si,"$Command",{enumerable:!0,get:function(){return RU.Command}});var Oge=x(),Tge=Ze(),NU=q(),B0=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,Rge.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Nge.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetBucketEncryptionCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:Tge.GetBucketEncryptionOutputFilterSensitiveLog,[Oge.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,NU.se_GetBucketEncryptionCommand)(n,t)}deserialize(n,t){return(0,NU.de_GetBucketEncryptionCommand)(n,t)}};si.GetBucketEncryptionCommand=B0});var F0=m(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.GetBucketIntelligentTieringConfigurationCommand=ii.$Command=void 0;var qge=v(),Bge=w(),TU=E();Object.defineProperty(ii,"$Command",{enumerable:!0,get:function(){return TU.Command}});var Mge=x(),OU=q(),D0=class e extends TU.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,qge.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,[Mge.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,OU.se_GetBucketIntelligentTieringConfigurationCommand)(n,t)}deserialize(n,t){return(0,OU.de_GetBucketIntelligentTieringConfigurationCommand)(n,t)}};ii.GetBucketIntelligentTieringConfigurationCommand=D0});var j0=m(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.GetBucketInventoryConfigurationCommand=ai.$Command=void 0;var Dge=v(),Fge=w(),BU=E();Object.defineProperty(ai,"$Command",{enumerable:!0,get:function(){return BU.Command}});var Lge=x(),jge=Ze(),qU=q(),L0=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,Fge.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:"GetBucketInventoryConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:jge.GetBucketInventoryConfigurationOutputFilterSensitiveLog,[Lge.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,qU.se_GetBucketInventoryConfigurationCommand)(n,t)}deserialize(n,t){return(0,qU.de_GetBucketInventoryConfigurationCommand)(n,t)}};ai.GetBucketInventoryConfigurationCommand=L0});var z0=m(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.GetBucketLifecycleConfigurationCommand=ci.$Command=void 0;var Uge=v(),zge=w(),DU=E();Object.defineProperty(ci,"$Command",{enumerable:!0,get:function(){return DU.Command}});var Gge=x(),MU=q(),U0=class e extends DU.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,Uge.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,[Gge.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,MU.se_GetBucketLifecycleConfigurationCommand)(n,t)}deserialize(n,t){return(0,MU.de_GetBucketLifecycleConfigurationCommand)(n,t)}};ci.GetBucketLifecycleConfigurationCommand=U0});var H0=m(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.GetBucketLocationCommand=di.$Command=void 0;var Hge=v(),$ge=w(),LU=E();Object.defineProperty(di,"$Command",{enumerable:!0,get:function(){return LU.Command}});var Kge=x(),FU=q(),G0=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,$ge.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:"GetBucketLocationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Kge.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,FU.se_GetBucketLocationCommand)(n,t)}deserialize(n,t){return(0,FU.de_GetBucketLocationCommand)(n,t)}};di.GetBucketLocationCommand=G0});var K0=m(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.GetBucketLoggingCommand=li.$Command=void 0;var Vge=v(),Xge=w(),UU=E();Object.defineProperty(li,"$Command",{enumerable:!0,get:function(){return UU.Command}});var Wge=x(),jU=q(),$0=class e extends UU.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:"GetBucketLoggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Wge.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,jU.se_GetBucketLoggingCommand)(n,t)}deserialize(n,t){return(0,jU.de_GetBucketLoggingCommand)(n,t)}};li.GetBucketLoggingCommand=$0});var X0=m(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.GetBucketMetricsConfigurationCommand=ui.$Command=void 0;var Yge=v(),Qge=w(),GU=E();Object.defineProperty(ui,"$Command",{enumerable:!0,get:function(){return GU.Command}});var Jge=x(),zU=q(),V0=class e extends GU.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,Yge.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,[Jge.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,zU.se_GetBucketMetricsConfigurationCommand)(n,t)}deserialize(n,t){return(0,zU.de_GetBucketMetricsConfigurationCommand)(n,t)}};ui.GetBucketMetricsConfigurationCommand=V0});var Y0=m(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.GetBucketNotificationConfigurationCommand=mi.$Command=void 0;var Zge=v(),ehe=w(),$U=E();Object.defineProperty(mi,"$Command",{enumerable:!0,get:function(){return $U.Command}});var the=x(),HU=q(),W0=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,ehe.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:"GetBucketNotificationConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[the.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,HU.se_GetBucketNotificationConfigurationCommand)(n,t)}deserialize(n,t){return(0,HU.de_GetBucketNotificationConfigurationCommand)(n,t)}};mi.GetBucketNotificationConfigurationCommand=W0});var J0=m(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.GetBucketOwnershipControlsCommand=pi.$Command=void 0;var nhe=v(),rhe=w(),VU=E();Object.defineProperty(pi,"$Command",{enumerable:!0,get:function(){return VU.Command}});var ohe=x(),KU=q(),Q0=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,rhe.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:"GetBucketOwnershipControlsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[ohe.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,KU.se_GetBucketOwnershipControlsCommand)(n,t)}deserialize(n,t){return(0,KU.de_GetBucketOwnershipControlsCommand)(n,t)}};pi.GetBucketOwnershipControlsCommand=Q0});var eb=m(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.GetBucketPolicyCommand=fi.$Command=void 0;var she=v(),ihe=w(),WU=E();Object.defineProperty(fi,"$Command",{enumerable:!0,get:function(){return WU.Command}});var ahe=x(),XU=q(),Z0=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,ihe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,she.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,[ahe.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,XU.se_GetBucketPolicyCommand)(n,t)}deserialize(n,t){return(0,XU.de_GetBucketPolicyCommand)(n,t)}};fi.GetBucketPolicyCommand=Z0});var nb=m(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.GetBucketPolicyStatusCommand=yi.$Command=void 0;var che=v(),dhe=w(),QU=E();Object.defineProperty(yi,"$Command",{enumerable:!0,get:function(){return QU.Command}});var lhe=x(),YU=q(),tb=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,dhe.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:"GetBucketPolicyStatusCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[lhe.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,YU.se_GetBucketPolicyStatusCommand)(n,t)}deserialize(n,t){return(0,YU.de_GetBucketPolicyStatusCommand)(n,t)}};yi.GetBucketPolicyStatusCommand=tb});var ob=m(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.GetBucketReplicationCommand=_i.$Command=void 0;var uhe=v(),mhe=w(),ZU=E();Object.defineProperty(_i,"$Command",{enumerable:!0,get:function(){return ZU.Command}});var phe=x(),JU=q(),rb=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,mhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,uhe.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,[phe.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,JU.se_GetBucketReplicationCommand)(n,t)}deserialize(n,t){return(0,JU.de_GetBucketReplicationCommand)(n,t)}};_i.GetBucketReplicationCommand=rb});var ib=m(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.GetBucketRequestPaymentCommand=gi.$Command=void 0;var fhe=v(),yhe=w(),tz=E();Object.defineProperty(gi,"$Command",{enumerable:!0,get:function(){return tz.Command}});var _he=x(),ez=q(),sb=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,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:"GetBucketRequestPaymentCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[_he.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,ez.se_GetBucketRequestPaymentCommand)(n,t)}deserialize(n,t){return(0,ez.de_GetBucketRequestPaymentCommand)(n,t)}};gi.GetBucketRequestPaymentCommand=sb});var cb=m(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.GetBucketTaggingCommand=hi.$Command=void 0;var ghe=v(),hhe=w(),rz=E();Object.defineProperty(hi,"$Command",{enumerable:!0,get:function(){return rz.Command}});var Che=x(),nz=q(),ab=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,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:"GetBucketTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Che.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,nz.se_GetBucketTaggingCommand)(n,t)}deserialize(n,t){return(0,nz.de_GetBucketTaggingCommand)(n,t)}};hi.GetBucketTaggingCommand=ab});var lb=m(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.GetBucketVersioningCommand=Ci.$Command=void 0;var She=v(),Ehe=w(),sz=E();Object.defineProperty(Ci,"$Command",{enumerable:!0,get:function(){return sz.Command}});var bhe=x(),oz=q(),db=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,Ehe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,She.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,[bhe.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,oz.se_GetBucketVersioningCommand)(n,t)}deserialize(n,t){return(0,oz.de_GetBucketVersioningCommand)(n,t)}};Ci.GetBucketVersioningCommand=db});var mb=m(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.GetBucketWebsiteCommand=Si.$Command=void 0;var Phe=v(),vhe=w(),az=E();Object.defineProperty(Si,"$Command",{enumerable:!0,get:function(){return az.Command}});var xhe=x(),iz=q(),ub=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,vhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Phe.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,[xhe.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,iz.se_GetBucketWebsiteCommand)(n,t)}deserialize(n,t){return(0,iz.de_GetBucketWebsiteCommand)(n,t)}};Si.GetBucketWebsiteCommand=ub});var fb=m(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.GetObjectAclCommand=Ei.$Command=void 0;var whe=v(),khe=w(),dz=E();Object.defineProperty(Ei,"$Command",{enumerable:!0,get:function(){return dz.Command}});var Ahe=x(),cz=q(),pb=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,khe.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:"GetObjectAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Ahe.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,cz.se_GetObjectAclCommand)(n,t)}deserialize(n,t){return(0,cz.de_GetObjectAclCommand)(n,t)}};Ei.GetObjectAclCommand=pb});var _b=m(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.GetObjectAttributesCommand=bi.$Command=void 0;var Ihe=Ot(),Nhe=v(),Rhe=w(),uz=E();Object.defineProperty(bi,"$Command",{enumerable:!0,get:function(){return uz.Command}});var Ohe=x(),The=Ze(),lz=q(),yb=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,Rhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Nhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Ihe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"GetObjectAttributesCommand",inputFilterSensitiveLog:The.GetObjectAttributesRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[Ohe.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,lz.se_GetObjectAttributesCommand)(n,t)}deserialize(n,t){return(0,lz.de_GetObjectAttributesCommand)(n,t)}};bi.GetObjectAttributesCommand=yb});var hb=m(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.GetObjectCommand=Pi.$Command=void 0;var qhe=xe(),Bhe=Ot(),Mhe=v(),Dhe=w(),fz=E();Object.defineProperty(Pi,"$Command",{enumerable:!0,get:function(){return fz.Command}});var Fhe=x(),mz=Ze(),pz=q(),gb=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,Dhe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,Mhe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,Bhe.getSsecPlugin)(t)),this.middlewareStack.use((0,qhe.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:mz.GetObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:mz.GetObjectOutputFilterSensitiveLog,[Fhe.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,pz.se_GetObjectCommand)(n,t)}deserialize(n,t){return(0,pz.de_GetObjectCommand)(n,t)}};Pi.GetObjectCommand=gb});var Sb=m(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.GetObjectLegalHoldCommand=vi.$Command=void 0;var Lhe=v(),jhe=w(),_z=E();Object.defineProperty(vi,"$Command",{enumerable:!0,get:function(){return _z.Command}});var Uhe=x(),yz=q(),Cb=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,jhe.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:"GetObjectLegalHoldCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Uhe.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,yz.se_GetObjectLegalHoldCommand)(n,t)}deserialize(n,t){return(0,yz.de_GetObjectLegalHoldCommand)(n,t)}};vi.GetObjectLegalHoldCommand=Cb});var bb=m(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.GetObjectLockConfigurationCommand=xi.$Command=void 0;var zhe=v(),Ghe=w(),hz=E();Object.defineProperty(xi,"$Command",{enumerable:!0,get:function(){return hz.Command}});var Hhe=x(),gz=q(),Eb=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,Ghe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,zhe.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,[Hhe.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,gz.se_GetObjectLockConfigurationCommand)(n,t)}deserialize(n,t){return(0,gz.de_GetObjectLockConfigurationCommand)(n,t)}};xi.GetObjectLockConfigurationCommand=Eb});var vb=m(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.GetObjectRetentionCommand=wi.$Command=void 0;var $he=v(),Khe=w(),Sz=E();Object.defineProperty(wi,"$Command",{enumerable:!0,get:function(){return Sz.Command}});var Vhe=x(),Cz=q(),Pb=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,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:"GetObjectRetentionCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Vhe.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,Cz.se_GetObjectRetentionCommand)(n,t)}deserialize(n,t){return(0,Cz.de_GetObjectRetentionCommand)(n,t)}};wi.GetObjectRetentionCommand=Pb});var wb=m(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.GetObjectTaggingCommand=ki.$Command=void 0;var Xhe=v(),Whe=w(),bz=E();Object.defineProperty(ki,"$Command",{enumerable:!0,get:function(){return bz.Command}});var Yhe=x(),Ez=q(),xb=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,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:"GetObjectTaggingCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[Yhe.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)}};ki.GetObjectTaggingCommand=xb});var Ab=m(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.GetObjectTorrentCommand=Ai.$Command=void 0;var Qhe=v(),Jhe=w(),vz=E();Object.defineProperty(Ai,"$Command",{enumerable:!0,get:function(){return vz.Command}});var Zhe=x(),eCe=Ze(),Pz=q(),kb=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,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:"GetObjectTorrentCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:eCe.GetObjectTorrentOutputFilterSensitiveLog,[Zhe.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,Pz.se_GetObjectTorrentCommand)(n,t)}deserialize(n,t){return(0,Pz.de_GetObjectTorrentCommand)(n,t)}};Ai.GetObjectTorrentCommand=kb});var Nb=m(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.GetPublicAccessBlockCommand=Ii.$Command=void 0;var tCe=v(),nCe=w(),wz=E();Object.defineProperty(Ii,"$Command",{enumerable:!0,get:function(){return wz.Command}});var rCe=x(),xz=q(),Ib=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,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:"GetPublicAccessBlockCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[rCe.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,xz.se_GetPublicAccessBlockCommand)(n,t)}deserialize(n,t){return(0,xz.de_GetPublicAccessBlockCommand)(n,t)}};Ii.GetPublicAccessBlockCommand=Ib});var Zc=m(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.HeadBucketCommand=Ni.$Command=void 0;var oCe=v(),sCe=w(),Az=E();Object.defineProperty(Ni,"$Command",{enumerable:!0,get:function(){return Az.Command}});var iCe=x(),kz=q(),Rb=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,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:"HeadBucketCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[iCe.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,kz.se_HeadBucketCommand)(n,t)}deserialize(n,t){return(0,kz.de_HeadBucketCommand)(n,t)}};Ni.HeadBucketCommand=Rb});var ed=m(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.HeadObjectCommand=Ri.$Command=void 0;var aCe=Ot(),cCe=v(),dCe=w(),Rz=E();Object.defineProperty(Ri,"$Command",{enumerable:!0,get:function(){return Rz.Command}});var lCe=x(),Iz=Ze(),Nz=q(),Ob=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,dCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,cCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,aCe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"HeadObjectCommand",inputFilterSensitiveLog:Iz.HeadObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:Iz.HeadObjectOutputFilterSensitiveLog,[lCe.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,Nz.se_HeadObjectCommand)(n,t)}deserialize(n,t){return(0,Nz.de_HeadObjectCommand)(n,t)}};Ri.HeadObjectCommand=Ob});var qb=m(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.ListBucketAnalyticsConfigurationsCommand=Oi.$Command=void 0;var uCe=v(),mCe=w(),Tz=E();Object.defineProperty(Oi,"$Command",{enumerable:!0,get:function(){return Tz.Command}});var pCe=x(),Oz=q(),Tb=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,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:"ListBucketAnalyticsConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[pCe.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,Oz.se_ListBucketAnalyticsConfigurationsCommand)(n,t)}deserialize(n,t){return(0,Oz.de_ListBucketAnalyticsConfigurationsCommand)(n,t)}};Oi.ListBucketAnalyticsConfigurationsCommand=Tb});var Mb=m(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.ListBucketIntelligentTieringConfigurationsCommand=Ti.$Command=void 0;var fCe=v(),yCe=w(),Bz=E();Object.defineProperty(Ti,"$Command",{enumerable:!0,get:function(){return Bz.Command}});var _Ce=x(),qz=q(),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,yCe.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:"ListBucketIntelligentTieringConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[_Ce.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,qz.se_ListBucketIntelligentTieringConfigurationsCommand)(n,t)}deserialize(n,t){return(0,qz.de_ListBucketIntelligentTieringConfigurationsCommand)(n,t)}};Ti.ListBucketIntelligentTieringConfigurationsCommand=Bb});var Fb=m(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.ListBucketInventoryConfigurationsCommand=qi.$Command=void 0;var gCe=v(),hCe=w(),Dz=E();Object.defineProperty(qi,"$Command",{enumerable:!0,get:function(){return Dz.Command}});var CCe=x(),SCe=Ze(),Mz=q(),Db=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,hCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,gCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListBucketInventoryConfigurationsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:SCe.ListBucketInventoryConfigurationsOutputFilterSensitiveLog,[CCe.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,Mz.se_ListBucketInventoryConfigurationsCommand)(n,t)}deserialize(n,t){return(0,Mz.de_ListBucketInventoryConfigurationsCommand)(n,t)}};qi.ListBucketInventoryConfigurationsCommand=Db});var jb=m(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.ListBucketMetricsConfigurationsCommand=Bi.$Command=void 0;var ECe=v(),bCe=w(),Lz=E();Object.defineProperty(Bi,"$Command",{enumerable:!0,get:function(){return Lz.Command}});var PCe=x(),Fz=q(),Lb=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,bCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,ECe.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,[PCe.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,Fz.se_ListBucketMetricsConfigurationsCommand)(n,t)}deserialize(n,t){return(0,Fz.de_ListBucketMetricsConfigurationsCommand)(n,t)}};Bi.ListBucketMetricsConfigurationsCommand=Lb});var zb=m(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.ListBucketsCommand=Mi.$Command=void 0;var vCe=v(),xCe=w(),Uz=E();Object.defineProperty(Mi,"$Command",{enumerable:!0,get:function(){return Uz.Command}});var wCe=x(),jz=q(),Ub=class e extends Uz.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,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:"ListBucketsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[wCe.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,jz.se_ListBucketsCommand)(n,t)}deserialize(n,t){return(0,jz.de_ListBucketsCommand)(n,t)}};Mi.ListBucketsCommand=Ub});var Hb=m(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.ListMultipartUploadsCommand=Di.$Command=void 0;var kCe=v(),ACe=w(),Gz=E();Object.defineProperty(Di,"$Command",{enumerable:!0,get:function(){return Gz.Command}});var ICe=x(),zz=q(),Gb=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,ACe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,kCe.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,[ICe.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,zz.se_ListMultipartUploadsCommand)(n,t)}deserialize(n,t){return(0,zz.de_ListMultipartUploadsCommand)(n,t)}};Di.ListMultipartUploadsCommand=Gb});var Kb=m(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.ListObjectsCommand=Fi.$Command=void 0;var NCe=v(),RCe=w(),$z=E();Object.defineProperty(Fi,"$Command",{enumerable:!0,get:function(){return $z.Command}});var OCe=x(),Hz=q(),$b=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,RCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,NCe.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,[OCe.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,Hz.se_ListObjectsCommand)(n,t)}deserialize(n,t){return(0,Hz.de_ListObjectsCommand)(n,t)}};Fi.ListObjectsCommand=$b});var wy=m(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.ListObjectsV2Command=Li.$Command=void 0;var TCe=v(),qCe=w(),Vz=E();Object.defineProperty(Li,"$Command",{enumerable:!0,get:function(){return Vz.Command}});var BCe=x(),Kz=q(),Vb=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,qCe.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:"ListObjectsV2Command",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[BCe.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,Kz.se_ListObjectsV2Command)(n,t)}deserialize(n,t){return(0,Kz.de_ListObjectsV2Command)(n,t)}};Li.ListObjectsV2Command=Vb});var Wb=m(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});ji.ListObjectVersionsCommand=ji.$Command=void 0;var MCe=v(),DCe=w(),Wz=E();Object.defineProperty(ji,"$Command",{enumerable:!0,get:function(){return Wz.Command}});var FCe=x(),Xz=q(),Xb=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,DCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,MCe.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,[FCe.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,Xz.se_ListObjectVersionsCommand)(n,t)}deserialize(n,t){return(0,Xz.de_ListObjectVersionsCommand)(n,t)}};ji.ListObjectVersionsCommand=Xb});var ky=m(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.ListPartsCommand=Ui.$Command=void 0;var LCe=Ot(),jCe=v(),UCe=w(),Qz=E();Object.defineProperty(Ui,"$Command",{enumerable:!0,get:function(){return Qz.Command}});var zCe=x(),GCe=Ze(),Yz=q(),Yb=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,UCe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,jCe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,LCe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"ListPartsCommand",inputFilterSensitiveLog:GCe.ListPartsRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[zCe.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,Yz.se_ListPartsCommand)(n,t)}deserialize(n,t){return(0,Yz.de_ListPartsCommand)(n,t)}};Ui.ListPartsCommand=Yb});var Jb=m(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.PutBucketAccelerateConfigurationCommand=zi.$Command=void 0;var HCe=xe(),$Ce=v(),KCe=w(),Zz=E();Object.defineProperty(zi,"$Command",{enumerable:!0,get:function(){return Zz.Command}});var VCe=x(),Jz=q(),Qb=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,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,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,[VCe.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,Jz.se_PutBucketAccelerateConfigurationCommand)(n,t)}deserialize(n,t){return(0,Jz.de_PutBucketAccelerateConfigurationCommand)(n,t)}};zi.PutBucketAccelerateConfigurationCommand=Qb});var eP=m(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Gi.PutBucketAclCommand=Gi.$Command=void 0;var XCe=xe(),WCe=v(),YCe=w(),t3=E();Object.defineProperty(Gi,"$Command",{enumerable:!0,get:function(){return t3.Command}});var QCe=x(),e3=q(),Zb=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,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:"PutBucketAclCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[QCe.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,e3.se_PutBucketAclCommand)(n,t)}deserialize(n,t){return(0,e3.de_PutBucketAclCommand)(n,t)}};Gi.PutBucketAclCommand=Zb});var nP=m(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.PutBucketAnalyticsConfigurationCommand=Hi.$Command=void 0;var JCe=v(),ZCe=w(),r3=E();Object.defineProperty(Hi,"$Command",{enumerable:!0,get:function(){return r3.Command}});var eSe=x(),n3=q(),tP=class e extends r3.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()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketAnalyticsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[eSe.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,n3.se_PutBucketAnalyticsConfigurationCommand)(n,t)}deserialize(n,t){return(0,n3.de_PutBucketAnalyticsConfigurationCommand)(n,t)}};Hi.PutBucketAnalyticsConfigurationCommand=tP});var oP=m($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});$i.PutBucketCorsCommand=$i.$Command=void 0;var tSe=xe(),nSe=v(),rSe=w(),s3=E();Object.defineProperty($i,"$Command",{enumerable:!0,get:function(){return s3.Command}});var oSe=x(),o3=q(),rP=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,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:"PutBucketCorsCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[oSe.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,o3.se_PutBucketCorsCommand)(n,t)}deserialize(n,t){return(0,o3.de_PutBucketCorsCommand)(n,t)}};$i.PutBucketCorsCommand=rP});var iP=m(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.PutBucketEncryptionCommand=Ki.$Command=void 0;var sSe=xe(),iSe=v(),aSe=w(),a3=E();Object.defineProperty(Ki,"$Command",{enumerable:!0,get:function(){return a3.Command}});var cSe=x(),dSe=Ze(),i3=q(),sP=class e extends a3.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,aSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,iSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,sSe.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:dSe.PutBucketEncryptionRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[cSe.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,i3.se_PutBucketEncryptionCommand)(n,t)}deserialize(n,t){return(0,i3.de_PutBucketEncryptionCommand)(n,t)}};Ki.PutBucketEncryptionCommand=sP});var cP=m(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.PutBucketIntelligentTieringConfigurationCommand=Vi.$Command=void 0;var lSe=v(),uSe=w(),d3=E();Object.defineProperty(Vi,"$Command",{enumerable:!0,get:function(){return d3.Command}});var mSe=x(),c3=q(),aP=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,uSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,lSe.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,[mSe.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,c3.se_PutBucketIntelligentTieringConfigurationCommand)(n,t)}deserialize(n,t){return(0,c3.de_PutBucketIntelligentTieringConfigurationCommand)(n,t)}};Vi.PutBucketIntelligentTieringConfigurationCommand=aP});var lP=m(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});Xi.PutBucketInventoryConfigurationCommand=Xi.$Command=void 0;var pSe=v(),fSe=w(),u3=E();Object.defineProperty(Xi,"$Command",{enumerable:!0,get:function(){return u3.Command}});var ySe=x(),_Se=Ze(),l3=q(),dP=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,fSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,pSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketInventoryConfigurationCommand",inputFilterSensitiveLog:_Se.PutBucketInventoryConfigurationRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[ySe.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,l3.se_PutBucketInventoryConfigurationCommand)(n,t)}deserialize(n,t){return(0,l3.de_PutBucketInventoryConfigurationCommand)(n,t)}};Xi.PutBucketInventoryConfigurationCommand=dP});var mP=m(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});Wi.PutBucketLifecycleConfigurationCommand=Wi.$Command=void 0;var gSe=xe(),hSe=v(),CSe=w(),p3=E();Object.defineProperty(Wi,"$Command",{enumerable:!0,get:function(){return p3.Command}});var SSe=x(),m3=q(),uP=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,CSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,hSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,gSe.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,[SSe.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,m3.se_PutBucketLifecycleConfigurationCommand)(n,t)}deserialize(n,t){return(0,m3.de_PutBucketLifecycleConfigurationCommand)(n,t)}};Wi.PutBucketLifecycleConfigurationCommand=uP});var fP=m(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.PutBucketLoggingCommand=Yi.$Command=void 0;var ESe=xe(),bSe=v(),PSe=w(),y3=E();Object.defineProperty(Yi,"$Command",{enumerable:!0,get:function(){return y3.Command}});var vSe=x(),f3=q(),pP=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,PSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,bSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,ESe.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,[vSe.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,f3.se_PutBucketLoggingCommand)(n,t)}deserialize(n,t){return(0,f3.de_PutBucketLoggingCommand)(n,t)}};Yi.PutBucketLoggingCommand=pP});var _P=m(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.PutBucketMetricsConfigurationCommand=Qi.$Command=void 0;var xSe=v(),wSe=w(),g3=E();Object.defineProperty(Qi,"$Command",{enumerable:!0,get:function(){return g3.Command}});var kSe=x(),_3=q(),yP=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()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutBucketMetricsConfigurationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[kSe.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,_3.se_PutBucketMetricsConfigurationCommand)(n,t)}deserialize(n,t){return(0,_3.de_PutBucketMetricsConfigurationCommand)(n,t)}};Qi.PutBucketMetricsConfigurationCommand=yP});var hP=m(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});Ji.PutBucketNotificationConfigurationCommand=Ji.$Command=void 0;var ASe=v(),ISe=w(),C3=E();Object.defineProperty(Ji,"$Command",{enumerable:!0,get:function(){return C3.Command}});var NSe=x(),h3=q(),gP=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,ASe.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,[NSe.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,h3.se_PutBucketNotificationConfigurationCommand)(n,t)}deserialize(n,t){return(0,h3.de_PutBucketNotificationConfigurationCommand)(n,t)}};Ji.PutBucketNotificationConfigurationCommand=gP});var SP=m(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.PutBucketOwnershipControlsCommand=Zi.$Command=void 0;var RSe=xe(),OSe=v(),TSe=w(),E3=E();Object.defineProperty(Zi,"$Command",{enumerable:!0,get:function(){return E3.Command}});var qSe=x(),S3=q(),CP=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,TSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,OSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,RSe.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,[qSe.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,S3.se_PutBucketOwnershipControlsCommand)(n,t)}deserialize(n,t){return(0,S3.de_PutBucketOwnershipControlsCommand)(n,t)}};Zi.PutBucketOwnershipControlsCommand=CP});var bP=m(ea=>{"use strict";Object.defineProperty(ea,"__esModule",{value:!0});ea.PutBucketPolicyCommand=ea.$Command=void 0;var BSe=xe(),MSe=v(),DSe=w(),P3=E();Object.defineProperty(ea,"$Command",{enumerable:!0,get:function(){return P3.Command}});var FSe=x(),b3=q(),EP=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,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:"PutBucketPolicyCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[FSe.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,b3.se_PutBucketPolicyCommand)(n,t)}deserialize(n,t){return(0,b3.de_PutBucketPolicyCommand)(n,t)}};ea.PutBucketPolicyCommand=EP});var vP=m(ta=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});ta.PutBucketReplicationCommand=ta.$Command=void 0;var LSe=xe(),jSe=v(),USe=w(),x3=E();Object.defineProperty(ta,"$Command",{enumerable:!0,get:function(){return x3.Command}});var zSe=x(),v3=q(),PP=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,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:"PutBucketReplicationCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[zSe.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,v3.se_PutBucketReplicationCommand)(n,t)}deserialize(n,t){return(0,v3.de_PutBucketReplicationCommand)(n,t)}};ta.PutBucketReplicationCommand=PP});var wP=m(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.PutBucketRequestPaymentCommand=na.$Command=void 0;var GSe=xe(),HSe=v(),$Se=w(),k3=E();Object.defineProperty(na,"$Command",{enumerable:!0,get:function(){return k3.Command}});var KSe=x(),w3=q(),xP=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,$Se.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,HSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,GSe.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,[KSe.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,w3.se_PutBucketRequestPaymentCommand)(n,t)}deserialize(n,t){return(0,w3.de_PutBucketRequestPaymentCommand)(n,t)}};na.PutBucketRequestPaymentCommand=xP});var AP=m(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.PutBucketTaggingCommand=ra.$Command=void 0;var VSe=xe(),XSe=v(),WSe=w(),I3=E();Object.defineProperty(ra,"$Command",{enumerable:!0,get:function(){return I3.Command}});var YSe=x(),A3=q(),kP=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,WSe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,XSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,VSe.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,[YSe.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)}};ra.PutBucketTaggingCommand=kP});var NP=m(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.PutBucketVersioningCommand=oa.$Command=void 0;var QSe=xe(),JSe=v(),ZSe=w(),R3=E();Object.defineProperty(oa,"$Command",{enumerable:!0,get:function(){return R3.Command}});var eEe=x(),N3=q(),IP=class e extends R3.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,JSe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,QSe.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,[eEe.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,N3.se_PutBucketVersioningCommand)(n,t)}deserialize(n,t){return(0,N3.de_PutBucketVersioningCommand)(n,t)}};oa.PutBucketVersioningCommand=IP});var OP=m(sa=>{"use strict";Object.defineProperty(sa,"__esModule",{value:!0});sa.PutBucketWebsiteCommand=sa.$Command=void 0;var tEe=xe(),nEe=v(),rEe=w(),T3=E();Object.defineProperty(sa,"$Command",{enumerable:!0,get:function(){return T3.Command}});var oEe=x(),O3=q(),RP=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,rEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,nEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,tEe.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,[oEe.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,O3.se_PutBucketWebsiteCommand)(n,t)}deserialize(n,t){return(0,O3.de_PutBucketWebsiteCommand)(n,t)}};sa.PutBucketWebsiteCommand=RP});var qP=m(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});ia.PutObjectAclCommand=ia.$Command=void 0;var sEe=xe(),iEe=v(),aEe=w(),B3=E();Object.defineProperty(ia,"$Command",{enumerable:!0,get:function(){return B3.Command}});var cEe=x(),q3=q(),TP=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,aEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,iEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,sEe.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,[cEe.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,q3.se_PutObjectAclCommand)(n,t)}deserialize(n,t){return(0,q3.de_PutObjectAclCommand)(n,t)}};ia.PutObjectAclCommand=TP});var MP=m(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.PutObjectCommand=aa.$Command=void 0;var dEe=xe(),lEe=wo(),uEe=Ot(),mEe=v(),pEe=w(),F3=E();Object.defineProperty(aa,"$Command",{enumerable:!0,get:function(){return F3.Command}});var fEe=x(),M3=Ze(),D3=q(),BP=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,pEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,mEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,lEe.getCheckContentLengthHeaderPlugin)(t)),this.middlewareStack.use((0,uEe.getSsecPlugin)(t)),this.middlewareStack.use((0,dEe.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:M3.PutObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:M3.PutObjectOutputFilterSensitiveLog,[fEe.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,D3.se_PutObjectCommand)(n,t)}deserialize(n,t){return(0,D3.de_PutObjectCommand)(n,t)}};aa.PutObjectCommand=BP});var FP=m(ca=>{"use strict";Object.defineProperty(ca,"__esModule",{value:!0});ca.PutObjectLegalHoldCommand=ca.$Command=void 0;var yEe=xe(),_Ee=v(),gEe=w(),j3=E();Object.defineProperty(ca,"$Command",{enumerable:!0,get:function(){return j3.Command}});var hEe=x(),L3=q(),DP=class e extends j3.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:!0}));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"PutObjectLegalHoldCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[hEe.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,L3.se_PutObjectLegalHoldCommand)(n,t)}deserialize(n,t){return(0,L3.de_PutObjectLegalHoldCommand)(n,t)}};ca.PutObjectLegalHoldCommand=DP});var jP=m(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.PutObjectLockConfigurationCommand=da.$Command=void 0;var CEe=xe(),SEe=v(),EEe=w(),z3=E();Object.defineProperty(da,"$Command",{enumerable:!0,get:function(){return z3.Command}});var bEe=x(),U3=q(),LP=class e extends z3.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,EEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,SEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,CEe.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,[bEe.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,U3.se_PutObjectLockConfigurationCommand)(n,t)}deserialize(n,t){return(0,U3.de_PutObjectLockConfigurationCommand)(n,t)}};da.PutObjectLockConfigurationCommand=LP});var zP=m(la=>{"use strict";Object.defineProperty(la,"__esModule",{value:!0});la.PutObjectRetentionCommand=la.$Command=void 0;var PEe=xe(),vEe=v(),xEe=w(),H3=E();Object.defineProperty(la,"$Command",{enumerable:!0,get:function(){return H3.Command}});var wEe=x(),G3=q(),UP=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,xEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,vEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,PEe.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,[wEe.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,G3.se_PutObjectRetentionCommand)(n,t)}deserialize(n,t){return(0,G3.de_PutObjectRetentionCommand)(n,t)}};la.PutObjectRetentionCommand=UP});var HP=m(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.PutObjectTaggingCommand=ua.$Command=void 0;var kEe=xe(),AEe=v(),IEe=w(),K3=E();Object.defineProperty(ua,"$Command",{enumerable:!0,get:function(){return K3.Command}});var NEe=x(),$3=q(),GP=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,IEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,AEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,kEe.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,[NEe.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,$3.se_PutObjectTaggingCommand)(n,t)}deserialize(n,t){return(0,$3.de_PutObjectTaggingCommand)(n,t)}};ua.PutObjectTaggingCommand=GP});var KP=m(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.PutPublicAccessBlockCommand=ma.$Command=void 0;var REe=xe(),OEe=v(),TEe=w(),X3=E();Object.defineProperty(ma,"$Command",{enumerable:!0,get:function(){return X3.Command}});var qEe=x(),V3=q(),$P=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,TEe.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:"PutPublicAccessBlockCommand",inputFilterSensitiveLog:c=>c,outputFilterSensitiveLog:c=>c,[qEe.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,V3.se_PutPublicAccessBlockCommand)(n,t)}deserialize(n,t){return(0,V3.de_PutPublicAccessBlockCommand)(n,t)}};ma.PutPublicAccessBlockCommand=$P});var XP=m(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.RestoreObjectCommand=pa.$Command=void 0;var BEe=xe(),MEe=v(),DEe=w(),Y3=E();Object.defineProperty(pa,"$Command",{enumerable:!0,get:function(){return Y3.Command}});var FEe=x(),LEe=Nr(),W3=q(),VP=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,DEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,MEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,BEe.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:LEe.RestoreObjectRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[FEe.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,W3.se_RestoreObjectCommand)(n,t)}deserialize(n,t){return(0,W3.de_RestoreObjectCommand)(n,t)}};pa.RestoreObjectCommand=VP});var YP=m(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});fa.SelectObjectContentCommand=fa.$Command=void 0;var jEe=Ot(),UEe=v(),zEe=w(),Z3=E();Object.defineProperty(fa,"$Command",{enumerable:!0,get:function(){return Z3.Command}});var GEe=x(),Q3=Nr(),J3=q(),WP=class e extends Z3.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,zEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,UEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,jEe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"SelectObjectContentCommand",inputFilterSensitiveLog:Q3.SelectObjectContentRequestFilterSensitiveLog,outputFilterSensitiveLog:Q3.SelectObjectContentOutputFilterSensitiveLog,[GEe.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,J3.se_SelectObjectContentCommand)(n,t)}deserialize(n,t){return(0,J3.de_SelectObjectContentCommand)(n,t)}};fa.SelectObjectContentCommand=WP});var JP=m(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});ya.UploadPartCommand=ya.$Command=void 0;var HEe=xe(),$Ee=Ot(),KEe=v(),VEe=w(),nG=E();Object.defineProperty(ya,"$Command",{enumerable:!0,get:function(){return nG.Command}});var XEe=x(),eG=Nr(),tG=q(),QP=class e extends nG.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,VEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,KEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,$Ee.getSsecPlugin)(t)),this.middlewareStack.use((0,HEe.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:eG.UploadPartRequestFilterSensitiveLog,outputFilterSensitiveLog:eG.UploadPartOutputFilterSensitiveLog,[XEe.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,tG.se_UploadPartCommand)(n,t)}deserialize(n,t){return(0,tG.de_UploadPartCommand)(n,t)}};ya.UploadPartCommand=QP});var ev=m(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});_a.UploadPartCopyCommand=_a.$Command=void 0;var WEe=wo(),YEe=Ot(),QEe=v(),JEe=w(),sG=E();Object.defineProperty(_a,"$Command",{enumerable:!0,get:function(){return sG.Command}});var ZEe=x(),rG=Nr(),oG=q(),ZP=class e extends sG.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,JEe.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,QEe.getEndpointPlugin)(t,e.getEndpointParameterInstructions())),this.middlewareStack.use((0,WEe.getThrow200ExceptionsPlugin)(t)),this.middlewareStack.use((0,YEe.getSsecPlugin)(t));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"UploadPartCopyCommand",inputFilterSensitiveLog:rG.UploadPartCopyRequestFilterSensitiveLog,outputFilterSensitiveLog:rG.UploadPartCopyOutputFilterSensitiveLog,[ZEe.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,oG.se_UploadPartCopyCommand)(n,t)}deserialize(n,t){return(0,oG.de_UploadPartCopyCommand)(n,t)}};_a.UploadPartCopyCommand=ZP});var nv=m(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});ga.WriteGetObjectResponseCommand=ga.$Command=void 0;var e0e=v(),t0e=w(),aG=E();Object.defineProperty(ga,"$Command",{enumerable:!0,get:function(){return aG.Command}});var n0e=x(),r0e=Nr(),iG=q(),tv=class e extends aG.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,t0e.getSerdePlugin)(t,this.serialize,this.deserialize)),this.middlewareStack.use((0,e0e.getEndpointPlugin)(t,e.getEndpointParameterInstructions()));let o=n.concat(this.middlewareStack),{logger:s}=t,u={logger:s,clientName:"S3Client",commandName:"WriteGetObjectResponseCommand",inputFilterSensitiveLog:r0e.WriteGetObjectResponseRequestFilterSensitiveLog,outputFilterSensitiveLog:c=>c,[n0e.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,iG.se_WriteGetObjectResponseCommand)(n,t)}deserialize(n,t){return(0,iG.de_WriteGetObjectResponseCommand)(n,t)}};ga.WriteGetObjectResponseCommand=tv});var cG=m(Iy=>{"use strict";Object.defineProperty(Iy,"__esModule",{value:!0});Iy.S3=void 0;var o0e=E(),s0e=xE(),i0e=kE(),a0e=IE(),c0e=RE(),d0e=TE(),l0e=BE(),u0e=DE(),m0e=LE(),p0e=UE(),f0e=GE(),y0e=$E(),_0e=VE(),g0e=WE(),h0e=QE(),C0e=ZE(),S0e=t0(),E0e=r0(),b0e=s0(),P0e=a0(),v0e=b0(),x0e=v0(),w0e=w0(),k0e=A0(),A0e=N0(),I0e=O0(),N0e=q0(),R0e=M0(),O0e=F0(),T0e=j0(),q0e=z0(),B0e=H0(),M0e=K0(),D0e=X0(),F0e=Y0(),L0e=J0(),j0e=eb(),U0e=nb(),z0e=ob(),G0e=ib(),H0e=cb(),$0e=lb(),K0e=mb(),V0e=fb(),X0e=_b(),W0e=hb(),Y0e=Sb(),Q0e=bb(),J0e=vb(),Z0e=wb(),ebe=Ab(),tbe=Nb(),nbe=Zc(),rbe=ed(),obe=qb(),sbe=Mb(),ibe=Fb(),abe=jb(),cbe=zb(),dbe=Hb(),lbe=Kb(),ube=wy(),mbe=Wb(),pbe=ky(),fbe=Jb(),ybe=eP(),_be=nP(),gbe=oP(),hbe=iP(),Cbe=cP(),Sbe=lP(),Ebe=mP(),bbe=fP(),Pbe=_P(),vbe=hP(),xbe=SP(),wbe=bP(),kbe=vP(),Abe=wP(),Ibe=AP(),Nbe=NP(),Rbe=OP(),Obe=qP(),Tbe=MP(),qbe=FP(),Bbe=jP(),Mbe=zP(),Dbe=HP(),Fbe=KP(),Lbe=XP(),jbe=YP(),Ube=JP(),zbe=ev(),Gbe=nv(),Hbe=Vc(),$be={AbortMultipartUploadCommand:s0e.AbortMultipartUploadCommand,CompleteMultipartUploadCommand:i0e.CompleteMultipartUploadCommand,CopyObjectCommand:a0e.CopyObjectCommand,CreateBucketCommand:c0e.CreateBucketCommand,CreateMultipartUploadCommand:d0e.CreateMultipartUploadCommand,DeleteBucketCommand:u0e.DeleteBucketCommand,DeleteBucketAnalyticsConfigurationCommand:l0e.DeleteBucketAnalyticsConfigurationCommand,DeleteBucketCorsCommand:m0e.DeleteBucketCorsCommand,DeleteBucketEncryptionCommand:p0e.DeleteBucketEncryptionCommand,DeleteBucketIntelligentTieringConfigurationCommand:f0e.DeleteBucketIntelligentTieringConfigurationCommand,DeleteBucketInventoryConfigurationCommand:y0e.DeleteBucketInventoryConfigurationCommand,DeleteBucketLifecycleCommand:_0e.DeleteBucketLifecycleCommand,DeleteBucketMetricsConfigurationCommand:g0e.DeleteBucketMetricsConfigurationCommand,DeleteBucketOwnershipControlsCommand:h0e.DeleteBucketOwnershipControlsCommand,DeleteBucketPolicyCommand:C0e.DeleteBucketPolicyCommand,DeleteBucketReplicationCommand:S0e.DeleteBucketReplicationCommand,DeleteBucketTaggingCommand:E0e.DeleteBucketTaggingCommand,DeleteBucketWebsiteCommand:b0e.DeleteBucketWebsiteCommand,DeleteObjectCommand:P0e.DeleteObjectCommand,DeleteObjectsCommand:v0e.DeleteObjectsCommand,DeleteObjectTaggingCommand:x0e.DeleteObjectTaggingCommand,DeletePublicAccessBlockCommand:w0e.DeletePublicAccessBlockCommand,GetBucketAccelerateConfigurationCommand:k0e.GetBucketAccelerateConfigurationCommand,GetBucketAclCommand:A0e.GetBucketAclCommand,GetBucketAnalyticsConfigurationCommand:I0e.GetBucketAnalyticsConfigurationCommand,GetBucketCorsCommand:N0e.GetBucketCorsCommand,GetBucketEncryptionCommand:R0e.GetBucketEncryptionCommand,GetBucketIntelligentTieringConfigurationCommand:O0e.GetBucketIntelligentTieringConfigurationCommand,GetBucketInventoryConfigurationCommand:T0e.GetBucketInventoryConfigurationCommand,GetBucketLifecycleConfigurationCommand:q0e.GetBucketLifecycleConfigurationCommand,GetBucketLocationCommand:B0e.GetBucketLocationCommand,GetBucketLoggingCommand:M0e.GetBucketLoggingCommand,GetBucketMetricsConfigurationCommand:D0e.GetBucketMetricsConfigurationCommand,GetBucketNotificationConfigurationCommand:F0e.GetBucketNotificationConfigurationCommand,GetBucketOwnershipControlsCommand:L0e.GetBucketOwnershipControlsCommand,GetBucketPolicyCommand:j0e.GetBucketPolicyCommand,GetBucketPolicyStatusCommand:U0e.GetBucketPolicyStatusCommand,GetBucketReplicationCommand:z0e.GetBucketReplicationCommand,GetBucketRequestPaymentCommand:G0e.GetBucketRequestPaymentCommand,GetBucketTaggingCommand:H0e.GetBucketTaggingCommand,GetBucketVersioningCommand:$0e.GetBucketVersioningCommand,GetBucketWebsiteCommand:K0e.GetBucketWebsiteCommand,GetObjectCommand:W0e.GetObjectCommand,GetObjectAclCommand:V0e.GetObjectAclCommand,GetObjectAttributesCommand:X0e.GetObjectAttributesCommand,GetObjectLegalHoldCommand:Y0e.GetObjectLegalHoldCommand,GetObjectLockConfigurationCommand:Q0e.GetObjectLockConfigurationCommand,GetObjectRetentionCommand:J0e.GetObjectRetentionCommand,GetObjectTaggingCommand:Z0e.GetObjectTaggingCommand,GetObjectTorrentCommand:ebe.GetObjectTorrentCommand,GetPublicAccessBlockCommand:tbe.GetPublicAccessBlockCommand,HeadBucketCommand:nbe.HeadBucketCommand,HeadObjectCommand:rbe.HeadObjectCommand,ListBucketAnalyticsConfigurationsCommand:obe.ListBucketAnalyticsConfigurationsCommand,ListBucketIntelligentTieringConfigurationsCommand:sbe.ListBucketIntelligentTieringConfigurationsCommand,ListBucketInventoryConfigurationsCommand:ibe.ListBucketInventoryConfigurationsCommand,ListBucketMetricsConfigurationsCommand:abe.ListBucketMetricsConfigurationsCommand,ListBucketsCommand:cbe.ListBucketsCommand,ListMultipartUploadsCommand:dbe.ListMultipartUploadsCommand,ListObjectsCommand:lbe.ListObjectsCommand,ListObjectsV2Command:ube.ListObjectsV2Command,ListObjectVersionsCommand:mbe.ListObjectVersionsCommand,ListPartsCommand:pbe.ListPartsCommand,PutBucketAccelerateConfigurationCommand:fbe.PutBucketAccelerateConfigurationCommand,PutBucketAclCommand:ybe.PutBucketAclCommand,PutBucketAnalyticsConfigurationCommand:_be.PutBucketAnalyticsConfigurationCommand,PutBucketCorsCommand:gbe.PutBucketCorsCommand,PutBucketEncryptionCommand:hbe.PutBucketEncryptionCommand,PutBucketIntelligentTieringConfigurationCommand:Cbe.PutBucketIntelligentTieringConfigurationCommand,PutBucketInventoryConfigurationCommand:Sbe.PutBucketInventoryConfigurationCommand,PutBucketLifecycleConfigurationCommand:Ebe.PutBucketLifecycleConfigurationCommand,PutBucketLoggingCommand:bbe.PutBucketLoggingCommand,PutBucketMetricsConfigurationCommand:Pbe.PutBucketMetricsConfigurationCommand,PutBucketNotificationConfigurationCommand:vbe.PutBucketNotificationConfigurationCommand,PutBucketOwnershipControlsCommand:xbe.PutBucketOwnershipControlsCommand,PutBucketPolicyCommand:wbe.PutBucketPolicyCommand,PutBucketReplicationCommand:kbe.PutBucketReplicationCommand,PutBucketRequestPaymentCommand:Abe.PutBucketRequestPaymentCommand,PutBucketTaggingCommand:Ibe.PutBucketTaggingCommand,PutBucketVersioningCommand:Nbe.PutBucketVersioningCommand,PutBucketWebsiteCommand:Rbe.PutBucketWebsiteCommand,PutObjectCommand:Tbe.PutObjectCommand,PutObjectAclCommand:Obe.PutObjectAclCommand,PutObjectLegalHoldCommand:qbe.PutObjectLegalHoldCommand,PutObjectLockConfigurationCommand:Bbe.PutObjectLockConfigurationCommand,PutObjectRetentionCommand:Mbe.PutObjectRetentionCommand,PutObjectTaggingCommand:Dbe.PutObjectTaggingCommand,PutPublicAccessBlockCommand:Fbe.PutPublicAccessBlockCommand,RestoreObjectCommand:Lbe.RestoreObjectCommand,SelectObjectContentCommand:jbe.SelectObjectContentCommand,UploadPartCommand:Ube.UploadPartCommand,UploadPartCopyCommand:zbe.UploadPartCopyCommand,WriteGetObjectResponseCommand:Gbe.WriteGetObjectResponseCommand},Ay=class extends Hbe.S3Client{};Iy.S3=Ay;(0,o0e.createAggregatedClient)($be,Ay)});var dG=m(R=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0});var F=(z(),O(U));F.__exportStar(xE(),R);F.__exportStar(kE(),R);F.__exportStar(IE(),R);F.__exportStar(RE(),R);F.__exportStar(TE(),R);F.__exportStar(BE(),R);F.__exportStar(DE(),R);F.__exportStar(LE(),R);F.__exportStar(UE(),R);F.__exportStar(GE(),R);F.__exportStar($E(),R);F.__exportStar(VE(),R);F.__exportStar(WE(),R);F.__exportStar(QE(),R);F.__exportStar(ZE(),R);F.__exportStar(t0(),R);F.__exportStar(r0(),R);F.__exportStar(s0(),R);F.__exportStar(a0(),R);F.__exportStar(v0(),R);F.__exportStar(b0(),R);F.__exportStar(w0(),R);F.__exportStar(A0(),R);F.__exportStar(N0(),R);F.__exportStar(O0(),R);F.__exportStar(q0(),R);F.__exportStar(M0(),R);F.__exportStar(F0(),R);F.__exportStar(j0(),R);F.__exportStar(z0(),R);F.__exportStar(H0(),R);F.__exportStar(K0(),R);F.__exportStar(X0(),R);F.__exportStar(Y0(),R);F.__exportStar(J0(),R);F.__exportStar(eb(),R);F.__exportStar(nb(),R);F.__exportStar(ob(),R);F.__exportStar(ib(),R);F.__exportStar(cb(),R);F.__exportStar(lb(),R);F.__exportStar(mb(),R);F.__exportStar(fb(),R);F.__exportStar(_b(),R);F.__exportStar(hb(),R);F.__exportStar(Sb(),R);F.__exportStar(bb(),R);F.__exportStar(vb(),R);F.__exportStar(wb(),R);F.__exportStar(Ab(),R);F.__exportStar(Nb(),R);F.__exportStar(Zc(),R);F.__exportStar(ed(),R);F.__exportStar(qb(),R);F.__exportStar(Mb(),R);F.__exportStar(Fb(),R);F.__exportStar(jb(),R);F.__exportStar(zb(),R);F.__exportStar(Hb(),R);F.__exportStar(Wb(),R);F.__exportStar(Kb(),R);F.__exportStar(wy(),R);F.__exportStar(ky(),R);F.__exportStar(Jb(),R);F.__exportStar(eP(),R);F.__exportStar(nP(),R);F.__exportStar(oP(),R);F.__exportStar(iP(),R);F.__exportStar(cP(),R);F.__exportStar(lP(),R);F.__exportStar(mP(),R);F.__exportStar(fP(),R);F.__exportStar(_P(),R);F.__exportStar(hP(),R);F.__exportStar(SP(),R);F.__exportStar(bP(),R);F.__exportStar(vP(),R);F.__exportStar(wP(),R);F.__exportStar(AP(),R);F.__exportStar(NP(),R);F.__exportStar(OP(),R);F.__exportStar(qP(),R);F.__exportStar(MP(),R);F.__exportStar(FP(),R);F.__exportStar(jP(),R);F.__exportStar(zP(),R);F.__exportStar(HP(),R);F.__exportStar(KP(),R);F.__exportStar(XP(),R);F.__exportStar(YP(),R);F.__exportStar(JP(),R);F.__exportStar(ev(),R);F.__exportStar(nv(),R)});var uG=m(lG=>{"use strict";Object.defineProperty(lG,"__esModule",{value:!0})});var mG=m(Ny=>{"use strict";Object.defineProperty(Ny,"__esModule",{value:!0});Ny.paginateListObjectsV2=void 0;var Kbe=wy(),Vbe=Vc(),Xbe=async(e,n,...t)=>await e.send(new Kbe.ListObjectsV2Command(n),...t);async function*Wbe(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 Vbe.S3Client)s=await Xbe(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}Ny.paginateListObjectsV2=Wbe});var pG=m(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0});Ry.paginateListParts=void 0;var Ybe=ky(),Qbe=Vc(),Jbe=async(e,n,...t)=>await e.send(new Ybe.ListPartsCommand(n),...t);async function*Zbe(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 Qbe.S3Client)s=await Jbe(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}Ry.paginateListParts=Zbe});var fG=m(td=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});var rv=(z(),O(U));rv.__exportStar(uG(),td);rv.__exportStar(mG(),td);rv.__exportStar(pG(),td)});var ov=m(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0});Oy.sleep=void 0;var ePe=e=>new Promise(n=>setTimeout(n,e*1e3));Oy.sleep=ePe});var qy=m(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.checkExceptions=Vn.WaiterState=Vn.waiterServiceDefaults=void 0;Vn.waiterServiceDefaults={minDelay:2,maxDelay:120};var Ty;(function(e){e.ABORTED="ABORTED",e.FAILURE="FAILURE",e.SUCCESS="SUCCESS",e.RETRY="RETRY",e.TIMEOUT="TIMEOUT"})(Ty=Vn.WaiterState||(Vn.WaiterState={}));var tPe=e=>{if(e.state===Ty.ABORTED){let n=new Error(`${JSON.stringify({...e,reason:"Request was aborted"})}`);throw n.name="AbortError",n}else if(e.state===Ty.TIMEOUT){let n=new Error(`${JSON.stringify({...e,reason:"Waiter has timed out"})}`);throw n.name="TimeoutError",n}else if(e.state!==Ty.SUCCESS)throw new Error(`${JSON.stringify({result:e})}`);return e};Vn.checkExceptions=tPe});var yG=m(My=>{"use strict";Object.defineProperty(My,"__esModule",{value:!0});My.runPolling=void 0;var nPe=ov(),By=qy(),rPe=(e,n,t,r)=>{if(r>t)return n;let o=e*2**(r-1);return oPe(e,o)},oPe=(e,n)=>e+Math.random()*(n-e),sPe=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!==By.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:By.WaiterState.ABORTED};let b=rPe(e,n,C,y);if(Date.now()+b*1e3>_)return{state:By.WaiterState.TIMEOUT};await(0,nPe.sleep)(b);let{state:L,reason:j}=await i(o,a);if(L!==By.WaiterState.RETRY)return{state:L,reason:j};y+=1}};My.runPolling=sPe});var _G=m(Dy=>{"use strict";Object.defineProperty(Dy,"__esModule",{value:!0});Dy.validateWaiterOptions=void 0;var iPe=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(Fy,"__esModule",{value:!0});var gG=(z(),O(U));gG.__exportStar(ov(),Fy);gG.__exportStar(_G(),Fy)});var EG=m(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});Ly.createWaiter=void 0;var aPe=yG(),cPe=hG(),SG=qy(),CG=async e=>new Promise(n=>{e.onabort=()=>n({state:SG.WaiterState.ABORTED})}),dPe=async(e,n,t)=>{let r={...SG.waiterServiceDefaults,...e};(0,cPe.validateWaiterOptions)(r);let o=[(0,aPe.runPolling)(r,n,t)];return e.abortController&&o.push(CG(e.abortController.signal)),e.abortSignal&&o.push(CG(e.abortSignal)),Promise.race(o)};Ly.createWaiter=dPe});var nd=m(jy=>{"use strict";Object.defineProperty(jy,"__esModule",{value:!0});var bG=(z(),O(U));bG.__exportStar(EG(),jy);bG.__exportStar(qy(),jy)});var vG=m(Ca=>{"use strict";Object.defineProperty(Ca,"__esModule",{value:!0});Ca.waitUntilBucketExists=Ca.waitForBucketExists=void 0;var ha=nd(),lPe=Zc(),PG=async(e,n)=>{let t;try{return t=await e.send(new lPe.HeadBucketCommand(n)),{state:ha.WaiterState.SUCCESS,reason:t}}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:ha.WaiterState.RETRY,reason:t}}return{state:ha.WaiterState.RETRY,reason:t}},uPe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,ha.createWaiter)({...t,...e},n,PG)};Ca.waitForBucketExists=uPe;var mPe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,ha.createWaiter)({...t,...e},n,PG);return(0,ha.checkExceptions)(r)};Ca.waitUntilBucketExists=mPe});var wG=m(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});Sa.waitUntilBucketNotExists=Sa.waitForBucketNotExists=void 0;var rd=nd(),pPe=Zc(),xG=async(e,n)=>{let t;try{t=await e.send(new pPe.HeadBucketCommand(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}},fPe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,rd.createWaiter)({...t,...e},n,xG)};Sa.waitForBucketNotExists=fPe;var yPe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,rd.createWaiter)({...t,...e},n,xG);return(0,rd.checkExceptions)(r)};Sa.waitUntilBucketNotExists=yPe});var AG=m(ba=>{"use strict";Object.defineProperty(ba,"__esModule",{value:!0});ba.waitUntilObjectExists=ba.waitForObjectExists=void 0;var Ea=nd(),_Pe=ed(),kG=async(e,n)=>{let t;try{return t=await e.send(new _Pe.HeadObjectCommand(n)),{state:Ea.WaiterState.SUCCESS,reason:t}}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:Ea.WaiterState.RETRY,reason:t}}return{state:Ea.WaiterState.RETRY,reason:t}},gPe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,Ea.createWaiter)({...t,...e},n,kG)};ba.waitForObjectExists=gPe;var hPe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,Ea.createWaiter)({...t,...e},n,kG);return(0,Ea.checkExceptions)(r)};ba.waitUntilObjectExists=hPe});var NG=m(Pa=>{"use strict";Object.defineProperty(Pa,"__esModule",{value:!0});Pa.waitUntilObjectNotExists=Pa.waitForObjectNotExists=void 0;var od=nd(),CPe=ed(),IG=async(e,n)=>{let t;try{t=await e.send(new CPe.HeadObjectCommand(n))}catch(r){if(t=r,r.name&&r.name=="NotFound")return{state:od.WaiterState.SUCCESS,reason:t}}return{state:od.WaiterState.RETRY,reason:t}},SPe=async(e,n)=>{let t={minDelay:5,maxDelay:120};return(0,od.createWaiter)({...t,...e},n,IG)};Pa.waitForObjectNotExists=SPe;var EPe=async(e,n)=>{let t={minDelay:5,maxDelay:120},r=await(0,od.createWaiter)({...t,...e},n,IG);return(0,od.checkExceptions)(r)};Pa.waitUntilObjectNotExists=EPe});var RG=m(va=>{"use strict";Object.defineProperty(va,"__esModule",{value:!0});var Uy=(z(),O(U));Uy.__exportStar(vG(),va);Uy.__exportStar(wG(),va);Uy.__exportStar(AG(),va);Uy.__exportStar(NG(),va)});var TG=m(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});var OG=(z(),O(U));OG.__exportStar(Ze(),zy);OG.__exportStar(Nr(),zy)});var qG=m(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.S3ServiceException=void 0;var xa=(z(),O(U));xa.__exportStar(Vc(),hn);xa.__exportStar(cG(),hn);xa.__exportStar(dG(),hn);xa.__exportStar(fG(),hn);xa.__exportStar(RG(),hn);xa.__exportStar(TG(),hn);var bPe=Xc();Object.defineProperty(hn,"S3ServiceException",{enumerable:!0,get:function(){return bPe.S3ServiceException}})});var xPe={};ka(xPe,{handler:()=>vPe});module.exports=O(xPe);var BG=Aa(qG()),MG=Aa(require("delay")),PPe=new BG.S3;async function vPe(){console.log(PPe),await(0,MG.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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/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.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741/yarn.lock 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.e7a77a480d6ecc875e791cead1bff764ebb5df141c46219196902068f9d3f7d2.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.e7a77a480d6ecc875e791cead1bff764ebb5df141c46219196902068f9d3f7d2.bundle/index.js index 08e4eaa737824..7c6bb829774aa 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.e7a77a480d6ecc875e791cead1bff764ebb5df141c46219196902068f9d3f7d2.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 }); } }); @@ -9581,8 +9587,8 @@ var require_sdk_stream_mixin = __commonJS({ if (encoding === void 0 || Buffer.isEncoding(encoding)) { return (0, util_buffer_from_1.fromArrayBuffer)(buf.buffer, buf.byteOffset, buf.byteLength).toString(encoding); } else { - const decoder = new util_1.TextDecoder(encoding); - return decoder.decode(buf); + const decoder2 = new util_1.TextDecoder(encoding); + return decoder2.decode(buf); } }, transformToWebStream: () => { @@ -10822,9 +10828,9 @@ var require_package = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js +// ../../../node_modules/@aws-sdk/client-sts/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) { + "../../../node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveStsAuthConfig = void 0; @@ -14056,9 +14062,9 @@ var require_defaultStsRoleAssumers = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js +// ../../../node_modules/@aws-sdk/credential-provider-node/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) { + "../../../node_modules/@aws-sdk/credential-provider-node/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; @@ -14086,9 +14092,9 @@ var require_fromEnv = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +// ../../../node_modules/@aws-sdk/credential-provider-node/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) { + "../../../node_modules/@aws-sdk/credential-provider-node/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)); @@ -14403,6 +14409,46 @@ var require_dist_cjs38 = __commonJS({ } }); +// ../../../node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js +var require_fromEnv2 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/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) } + }; + } + throw new property_provider_1.CredentialsProviderError("Unable to find environment variable credentials."); + }; + exports.fromEnv = fromEnv; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +var require_dist_cjs39 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/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_fromEnv2(), 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) { @@ -14573,7 +14619,7 @@ var require_fromContainerMetadata = __commonJS({ }); // ../../../node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js -var require_fromEnv2 = __commonJS({ +var require_fromEnv3 = __commonJS({ "../../../node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -14642,7 +14688,7 @@ var require_configLoader = __commonJS({ Object.defineProperty(exports, "__esModule", { value: true }); exports.loadConfig = void 0; var property_provider_1 = require_dist_cjs6(); - var fromEnv_1 = require_fromEnv2(); + var fromEnv_1 = require_fromEnv3(); 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))); @@ -14651,7 +14697,7 @@ var require_configLoader = __commonJS({ }); // ../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js -var require_dist_cjs39 = __commonJS({ +var require_dist_cjs40 = __commonJS({ "../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -14727,7 +14773,7 @@ var require_getInstanceMetadataEndpoint = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getInstanceMetadataEndpoint = void 0; - var node_config_provider_1 = require_dist_cjs39(); + var node_config_provider_1 = require_dist_cjs40(); var url_parser_1 = require_dist_cjs24(); var Endpoint_1 = require_Endpoint(); var EndpointConfigOptions_1 = require_EndpointConfigOptions(); @@ -14913,7 +14959,7 @@ var require_types6 = __commonJS({ }); // ../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js -var require_dist_cjs40 = __commonJS({ +var require_dist_cjs41 = __commonJS({ "../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -14940,8 +14986,8 @@ var require_resolveCredentialSource = __commonJS({ "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 credential_provider_env_1 = require_dist_cjs39(); + var credential_provider_imds_1 = require_dist_cjs41(); var property_provider_1 = require_dist_cjs6(); var resolveCredentialSource = (credentialSource, profileName) => { const sourceProvidersMap = { @@ -15007,9 +15053,9 @@ var require_resolveAssumeRoleCredentials = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +// ../../../node_modules/@aws-sdk/credential-provider-ini/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) { + "../../../node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getValidatedProcessCredentials = void 0; @@ -15038,9 +15084,9 @@ var require_getValidatedProcessCredentials = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +// ../../../node_modules/@aws-sdk/credential-provider-ini/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) { + "../../../node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveProcessCredentials = void 0; @@ -15077,9 +15123,9 @@ var require_resolveProcessCredentials = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +// ../../../node_modules/@aws-sdk/credential-provider-ini/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) { + "../../../node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fromProcess = void 0; @@ -15093,9 +15139,9 @@ var require_fromProcess = __commonJS({ } }); -// ../../../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) { +// ../../../node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +var require_dist_cjs42 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/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)); @@ -15109,7 +15155,7 @@ var require_resolveProcessCredentials2 = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveProcessCredentials = exports.isProcessProfile = void 0; - var credential_provider_process_1 = require_dist_cjs41(); + var credential_provider_process_1 = require_dist_cjs42(); 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)({ @@ -15273,12 +15319,12 @@ var require_is_crt_available = __commonJS({ }); // ../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js -var require_dist_cjs42 = __commonJS({ +var require_dist_cjs43 = __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 node_config_provider_1 = require_dist_cjs40(); var os_1 = require("os"); var process_1 = require("process"); var is_crt_available_1 = require_is_crt_available(); @@ -15321,7 +15367,7 @@ var require_dist_cjs42 = __commonJS({ }); // ../../../node_modules/@smithy/hash-node/dist-cjs/index.js -var require_dist_cjs43 = __commonJS({ +var require_dist_cjs44 = __commonJS({ "../../../node_modules/@smithy/hash-node/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -15393,7 +15439,7 @@ var require_calculateBodyLength = __commonJS({ }); // ../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js -var require_dist_cjs44 = __commonJS({ +var require_dist_cjs45 = __commonJS({ "../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -15521,8 +15567,8 @@ var require_resolveDefaultsModeConfig = __commonJS({ 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 credential_provider_imds_1 = require_dist_cjs41(); + var node_config_provider_1 = require_dist_cjs40(); var property_provider_1 = require_dist_cjs6(); var constants_1 = require_constants7(); var defaultsModeConfig_1 = require_defaultsModeConfig(); @@ -15576,7 +15622,7 @@ var require_resolveDefaultsModeConfig = __commonJS({ }); // ../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js -var require_dist_cjs45 = __commonJS({ +var require_dist_cjs46 = __commonJS({ "../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -15593,17 +15639,17 @@ var require_runtimeConfig = __commonJS({ 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 util_user_agent_node_1 = require_dist_cjs43(); var config_resolver_1 = require_dist_cjs21(); - var hash_node_1 = require_dist_cjs43(); + var hash_node_1 = require_dist_cjs44(); var middleware_retry_1 = require_dist_cjs29(); - var node_config_provider_1 = require_dist_cjs39(); + var node_config_provider_1 = require_dist_cjs40(); var node_http_handler_1 = require_dist_cjs33(); - var util_body_length_node_1 = require_dist_cjs44(); + var util_body_length_node_1 = require_dist_cjs45(); 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 util_defaults_mode_node_1 = require_dist_cjs46(); var smithy_client_2 = require_dist_cjs35(); var getRuntimeConfig = (config) => { (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); @@ -15761,7 +15807,7 @@ var require_regionConfig2 = __commonJS({ }); // ../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js -var require_dist_cjs46 = __commonJS({ +var require_dist_cjs47 = __commonJS({ "../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -15777,7 +15823,7 @@ var require_runtimeExtensions = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveRuntimeExtensions = void 0; - var region_config_resolver_1 = require_dist_cjs46(); + var region_config_resolver_1 = require_dist_cjs47(); var protocol_http_1 = require_dist_cjs2(); var smithy_client_1 = require_dist_cjs35(); var asPartial = (t) => t; @@ -16707,7 +16753,7 @@ var require_models = __commonJS({ }); // ../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js -var require_dist_cjs47 = __commonJS({ +var require_dist_cjs48 = __commonJS({ "../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -16725,9 +16771,9 @@ var require_dist_cjs47 = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +// ../../../node_modules/@aws-sdk/credential-provider-sso/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/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.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; @@ -16750,13 +16796,13 @@ var require_client_sso_oidc_node = __commonJS({ }; }; var package_default = { version: "3.387.0" }; - var util_user_agent_node_1 = require_dist_cjs42(); + var util_user_agent_node_1 = require_dist_cjs43(); var config_resolver_2 = require_dist_cjs21(); - var hash_node_1 = require_dist_cjs43(); + var hash_node_1 = require_dist_cjs44(); var middleware_retry_2 = require_dist_cjs29(); - var node_config_provider_1 = require_dist_cjs39(); + var node_config_provider_1 = require_dist_cjs40(); var node_http_handler_1 = require_dist_cjs33(); - var util_body_length_node_1 = require_dist_cjs44(); + var util_body_length_node_1 = require_dist_cjs45(); var util_retry_1 = require_dist_cjs28(); var smithy_client_2 = require_dist_cjs35(); var url_parser_1 = require_dist_cjs24(); @@ -16806,7 +16852,7 @@ var require_client_sso_oidc_node = __commonJS({ }; }; var smithy_client_3 = require_dist_cjs35(); - var util_defaults_mode_node_1 = require_dist_cjs45(); + var util_defaults_mode_node_1 = require_dist_cjs46(); var smithy_client_4 = require_dist_cjs35(); var getRuntimeConfig2 = (config) => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; @@ -17632,9 +17678,9 @@ var require_client_sso_oidc_node = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +// ../../../node_modules/@aws-sdk/credential-provider-sso/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/@aws-sdk/credential-provider-sso/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; @@ -17643,9 +17689,9 @@ var require_constants8 = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +// ../../../node_modules/@aws-sdk/credential-provider-sso/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/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getSsoOidcClient = void 0; @@ -17663,9 +17709,9 @@ var require_getSsoOidcClient = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +// ../../../node_modules/@aws-sdk/credential-provider-sso/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/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getNewSsoOidcToken = void 0; @@ -17684,9 +17730,9 @@ var require_getNewSsoOidcToken = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +// ../../../node_modules/@aws-sdk/credential-provider-sso/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/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateTokenExpiry = void 0; @@ -17701,9 +17747,9 @@ var require_validateTokenExpiry = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +// ../../../node_modules/@aws-sdk/credential-provider-sso/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/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateTokenKey = void 0; @@ -17718,9 +17764,9 @@ var require_validateTokenKey = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +// ../../../node_modules/@aws-sdk/credential-provider-sso/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/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.writeSSOTokenToFile = void 0; @@ -17736,9 +17782,9 @@ var require_writeSSOTokenToFile = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +// ../../../node_modules/@aws-sdk/credential-provider-sso/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/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fromSso = void 0; @@ -17820,9 +17866,9 @@ var require_fromSso = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +// ../../../node_modules/@aws-sdk/credential-provider-sso/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) { + "../../../node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fromStatic = void 0; @@ -17837,9 +17883,9 @@ var require_fromStatic3 = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +// ../../../node_modules/@aws-sdk/credential-provider-sso/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/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.nodeProvider = void 0; @@ -17852,9 +17898,9 @@ var require_nodeProvider = __commonJS({ } }); -// ../../../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/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +var require_dist_cjs49 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-sso/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)); @@ -17871,8 +17917,8 @@ var require_resolveSSOCredentials = __commonJS({ "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 client_sso_1 = require_dist_cjs48(); + var token_providers_1 = require_dist_cjs49(); var property_provider_1 = require_dist_cjs6(); var shared_ini_file_loader_1 = require_dist_cjs38(); var SHOULD_FAIL_CREDENTIAL_CHAIN = false; @@ -18013,7 +18059,7 @@ var require_types7 = __commonJS({ }); // ../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js -var require_dist_cjs49 = __commonJS({ +var require_dist_cjs50 = __commonJS({ "../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -18031,8 +18077,8 @@ var require_resolveSsoCredentials = __commonJS({ "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(); + var credential_provider_sso_1 = require_dist_cjs50(); + var credential_provider_sso_2 = require_dist_cjs50(); Object.defineProperty(exports, "isSsoProfile", { enumerable: true, get: function() { return credential_provider_sso_2.isSsoProfile; } }); @@ -18067,9 +18113,9 @@ var require_resolveStaticCredentials = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +// ../../../node_modules/@aws-sdk/credential-provider-ini/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/credential-provider-ini/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; @@ -18093,9 +18139,9 @@ var require_fromWebToken = __commonJS({ } }); -// ../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +// ../../../node_modules/@aws-sdk/credential-provider-ini/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) { + "../../../node_modules/@aws-sdk/credential-provider-ini/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; @@ -18124,9 +18170,9 @@ var require_fromTokenFile = __commonJS({ } }); -// ../../../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) { +// ../../../node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +var require_dist_cjs51 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-ini/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)); @@ -18141,7 +18187,7 @@ var require_resolveWebIdentityCredentials = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveWebIdentityCredentials = exports.isWebIdentityProfile = void 0; - var credential_provider_web_identity_1 = require_dist_cjs50(); + var credential_provider_web_identity_1 = require_dist_cjs51(); 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)({ @@ -18209,7 +18255,7 @@ var require_fromIni = __commonJS({ }); // ../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js -var require_dist_cjs51 = __commonJS({ +var require_dist_cjs52 = __commonJS({ "../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -18218,13 +18264,177 @@ var require_dist_cjs51 = __commonJS({ } }); +// ../../../node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +var require_getValidatedProcessCredentials2 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-node/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.`); + } + 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) } + }; + }; + exports.getValidatedProcessCredentials = getValidatedProcessCredentials; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +var require_resolveProcessCredentials3 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-node/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_getValidatedProcessCredentials2(); + 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.resolveProcessCredentials = resolveProcessCredentials; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +var require_fromProcess2 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-node/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_resolveProcessCredentials3(); + 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-node/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +var require_dist_cjs53 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-node/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_fromProcess2(), exports); + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +var require_fromWebToken2 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-node/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); + } + 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.fromWebToken = fromWebToken; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +var require_fromTokenFile2 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-node/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_fromWebToken2(); + 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.fromTokenFile = fromTokenFile; + } +}); + +// ../../../node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +var require_dist_cjs54 = __commonJS({ + "../../../node_modules/@aws-sdk/credential-provider-node/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_fromTokenFile2(), exports); + tslib_1.__exportStar(require_fromWebToken2(), 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 credential_provider_imds_1 = require_dist_cjs41(); var property_provider_1 = require_dist_cjs6(); exports.ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; var remoteProvider = (init) => { @@ -18249,10 +18459,10 @@ var require_defaultProvider = __commonJS({ 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 credential_provider_ini_1 = require_dist_cjs52(); + var credential_provider_process_1 = require_dist_cjs53(); + var credential_provider_sso_1 = require_dist_cjs50(); + var credential_provider_web_identity_1 = require_dist_cjs54(); var property_provider_1 = require_dist_cjs6(); var shared_ini_file_loader_1 = require_dist_cjs38(); var remoteProvider_1 = require_remoteProvider(); @@ -18264,7 +18474,7 @@ var require_defaultProvider = __commonJS({ }); // ../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js -var require_dist_cjs52 = __commonJS({ +var require_dist_cjs55 = __commonJS({ "../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -18375,18 +18585,18 @@ var require_runtimeConfig2 = __commonJS({ 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 credential_provider_node_1 = require_dist_cjs55(); + var util_user_agent_node_1 = require_dist_cjs43(); var config_resolver_1 = require_dist_cjs21(); - var hash_node_1 = require_dist_cjs43(); + var hash_node_1 = require_dist_cjs44(); var middleware_retry_1 = require_dist_cjs29(); - var node_config_provider_1 = require_dist_cjs39(); + var node_config_provider_1 = require_dist_cjs40(); var node_http_handler_1 = require_dist_cjs33(); - var util_body_length_node_1 = require_dist_cjs44(); + var util_body_length_node_1 = require_dist_cjs45(); 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 util_defaults_mode_node_1 = require_dist_cjs46(); var smithy_client_2 = require_dist_cjs35(); var getRuntimeConfig = (config) => { (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); @@ -18424,7 +18634,7 @@ var require_runtimeExtensions2 = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveRuntimeExtensions = void 0; - var region_config_resolver_1 = require_dist_cjs46(); + var region_config_resolver_1 = require_dist_cjs47(); var protocol_http_1 = require_dist_cjs2(); var smithy_client_1 = require_dist_cjs35(); var asPartial = (t) => t; @@ -18964,7 +19174,7 @@ var require_defaultRoleAssumers = __commonJS({ }); // ../../../node_modules/@aws-sdk/client-sts/dist-cjs/index.js -var require_dist_cjs53 = __commonJS({ +var require_dist_cjs56 = __commonJS({ "../../../node_modules/@aws-sdk/client-sts/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -19068,19 +19278,19 @@ var require_runtimeConfig3 = __commonJS({ 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 client_sts_1 = require_dist_cjs56(); + var credential_provider_node_1 = require_dist_cjs55(); + var util_user_agent_node_1 = require_dist_cjs43(); var config_resolver_1 = require_dist_cjs21(); - var hash_node_1 = require_dist_cjs43(); + var hash_node_1 = require_dist_cjs44(); var middleware_retry_1 = require_dist_cjs29(); - var node_config_provider_1 = require_dist_cjs39(); + var node_config_provider_1 = require_dist_cjs40(); var node_http_handler_1 = require_dist_cjs33(); - var util_body_length_node_1 = require_dist_cjs44(); + var util_body_length_node_1 = require_dist_cjs45(); 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 util_defaults_mode_node_1 = require_dist_cjs46(); var smithy_client_2 = require_dist_cjs35(); var getRuntimeConfig = (config) => { (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); @@ -19118,7 +19328,7 @@ var require_runtimeExtensions3 = __commonJS({ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveRuntimeExtensions = void 0; - var region_config_resolver_1 = require_dist_cjs46(); + var region_config_resolver_1 = require_dist_cjs47(); var protocol_http_1 = require_dist_cjs2(); var smithy_client_1 = require_dist_cjs35(); var asPartial = (t) => t; @@ -24659,7 +24869,7 @@ var require_models3 = __commonJS({ }); // ../../../node_modules/@aws-sdk/client-sfn/dist-cjs/index.js -var require_dist_cjs54 = __commonJS({ +var require_dist_cjs57 = __commonJS({ "../../../node_modules/@aws-sdk/client-sfn/dist-cjs/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -26545,8 +26755,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 +30227,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 +30285,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) @@ -31414,7 +31624,7 @@ var init_parameter_types = __esm({ "use strict"; zlib = __toESM(require("zlib")); typeCoercionStateMachine = () => { - const encoded = "W/AsNQqBjQMAhF6rOQqxm1SVvYGOm2d/3QGYwXkAQE/15YOph+ONkbl63Zwitwh1JKPl+MSgleEdaTF4Nn6MsA+YgqfuSovB3/AjF34IMA9b4A+RQjqccJELH+KfW117/n5a/1X/ev62dCXqTeS44AAmk1csOiFirf2DSvMCt/PbWSETVQg+osK2qvT/6f7d9kytz4g1EDhceLZBkidKgW/ghkv9oQkwvfmW6h+vKfUouSrptvPLkSS4NJ/AITLASiv7pb5a1afoYt+npiTbYSxZjEj7Pt2SeCJ3BPLB2IV8OL9PV2Znglm7e8CjMfDLKXMQEUXOMvevKmm3e7T2tIzqRc0aQzpA6QAoundRCNGl53/fl5ll1qsfjk8HiIAiWEyKGlLK1bYRiEgZyYgcJo2UabMtvHPeu6ZwuLuJmKwCQMAqR7PKVMlMKfUw3nvf++7fh2BiyhSAoCSSonUpVWNKPclq2ZPte7HcACBlxlRPUo/q2nX7lW9Wur3Tifqzh77GUUnDoePUF2DghPQoLINT71VlcKGCC3ECwIBa+plVjWCjATIAzJAxitqwzjA82u4eLQYNh/A/ZxgVTE/PdIXHd+lYG9asfmLPBiJGYDjb7rb3fb91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SaczDM9lALAdmhVQe5K7NF2saLBpNzRY3Er8Fg0/Yk0Kv5YyN46KT+WMh8fniYAk//f8DSjX3Ge5wpa9aYRpYBgyRTvGAnlKufGjU9D+G/mAdAo/9ntGmYBmapiA3+VETdhpy2ItAiYFspWb12yRHD7rt7DbIrF9ZHSf1Mgp/j/SzECbJQDaSY6XkowIeVMGEKW3ddQNCyzHTZfAlQkZKDweuefrQNTKUcs3fzpWz7BjvpMmnLlRJHX0fvBMNuoVwd6DPFILYxHVBQSVlDXJqZGKEgJccv6JU4TcmQDPXob9pAboyfWt+2jsL40JPswcPQzEUC1/2E2do/0mZ4yCPGR1HaEnbJGgq4InuBARvTarqEq6jmwvsZAAujDiO6OXB0CxyvI52a4Tcx0ZkPfaIlz61TQDYG/MkmgemNk4/7k/gH5TvSuwXCq2Tf7Ic5uIThUCaubBoGfm8QFy8pPJpaHTtdcueKWVMaHABDQYuzzNKeznUiwJ3/zh65+/wzch/DxBPpGjugdFyB3lA++dVoFWCOz7ZChP+yjQm31H5TPECI4NpzbgBQb52PPvo3/sQ/lnduLqz1BZMJNADcUrTYtczc4vH+EUoK+5ksM5vNud7GG6CsLbUOKnlPJiE1krAk3pwEeSYy1L5SvtXKhuQRjwFLjr/WdVUPVJaaKYYgVpReq02HWq5O4hl6fMHwr7+OL4oJ/MtMtFvw+45B05CcxVrgffGACstDwsyCo45yw5fIIDuWKZCttXzUuIykmNUpGBIMXkDtXGMdCNbhL+pCZpjU8FQ1Zp80NIkJ2HbidtKH9nOpUnopJOjkjRTE7h3Olz//pxBnb52+f7Nq6xDCAqWePzXymgG7F4kQ3B8VQZvThZDwI="; const decoded = JSON.parse(zlib.brotliDecompressSync(Buffer.from(encoded, "base64")).toString()); typeCoercionStateMachine = () => decoded; return decoded; @@ -31428,9 +31638,9 @@ __export(coerce_api_parameters_exports, { Coercer: () => Coercer, coerceApiParameters: () => coerceApiParameters }); -function coerceApiParameters(service, action, parameters = {}) { +function coerceApiParameters(v3service, action, parameters = {}) { const typeMachine = typeCoercionStateMachine(); - return new Coercer(typeMachine).coerceApiParameters(service, action, parameters); + return new Coercer(typeMachine).coerceApiParameters(v3service, action, parameters); } function coerceValueToUint8Array(x) { if (x instanceof Uint8Array) { @@ -31460,8 +31670,8 @@ var init_coerce_api_parameters = __esm({ constructor(typeMachine) { this.typeMachine = typeMachine; } - coerceApiParameters(service, action, parameters = {}) { - const actionState = this.progress(action.toLowerCase(), this.progress(service.toLowerCase(), 0)); + coerceApiParameters(v3service, action, parameters = {}) { + const actionState = this.progress(action.toLowerCase(), this.progress(v3service.toLowerCase(), 0)); return this.recurse(parameters, actionState); } testCoerce(value) { @@ -31524,574 +31734,1438 @@ var init_find_client_constructor = __esm({ } }); -// ../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(); - } -}); - -// ../sdk-v2-to-v3-adapter/lib/index.js -var require_lib5 = __commonJS({ - "../sdk-v2-to-v3-adapter/lib/index.js"(exports) { - "use strict"; - var __createBinding3 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { - return m[k]; - } }; - } - Object.defineProperty(o, k2, desc); - } : function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - o[k2] = m[k]; - }); - var __exportStar3 = exports && exports.__exportStar || function(m, exports2) { - for (var p in m) - if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) - __createBinding3(exports2, m, p); - }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getV3ClientPackageName = 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; - } }); +// ../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" + } + }; + } +}); + +// ../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"; + } +}); + +// ../sdk-v2-to-v3-adapter/lib/api-call.ts +var api_call_exports = {}; +__export(api_call_exports, { + ApiCall: () => ApiCall, + coerceSdkv3Response: () => coerceSdkv3Response, + flatten: () => flatten +}); +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; + } +} +async function coerceSdkv3Response(value) { + if (value && typeof value === "object" && typeof value.transformToString === "function") { + return value.transformToString(); + } + if (Buffer.isBuffer(value)) { + return value.toString("utf8"); + } + if (ArrayBuffer.isView(value)) { + return decoder.decode(value.buffer); + } + if (Array.isArray(value)) { + const ret = []; + for (const x of value) { + ret.push(await coerceSdkv3Response(x)); + } + return ret; + } + if (value && typeof value === "object") { + for (const key of Object.keys(value)) { + value[key] = await coerceSdkv3Response(value[key]); + } + return value; + } + return value; +} +var ApiCall, decoder; +var init_api_call = __esm({ + "../sdk-v2-to-v3-adapter/lib/api-call.ts"() { + "use strict"; + 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; + } + 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.`); + } + } + initializeClient(options) { + if (!this.v3Package) { + this.initializePackage(); + } + 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(); + } + 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 Command; + } + 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}`); + } + } + }; + decoder = new TextDecoder(); + } +}); + +// ../sdk-v2-to-v3-adapter/lib/index.js +var require_lib5 = __commonJS({ + "../sdk-v2-to-v3-adapter/lib/index.js"(exports) { + "use strict"; + var __createBinding3 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { + if (k2 === void 0) + k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { + return m[k]; + } }; + } + Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + if (k2 === void 0) + k2 = k; + o[k2] = m[k]; + }); + var __exportStar3 = exports && exports.__exportStar || function(m, exports2) { + for (var p in m) + if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) + __createBinding3(exports2, m, p); + }; + Object.defineProperty(exports, "__esModule", { value: true }); + 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; + } }); var find_client_constructor_1 = (init_find_client_constructor(), __toCommonJS(find_client_constructor_exports)); 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; + } }); + Object.defineProperty(exports, "normalizeActionName", { enumerable: true, get: function() { + return sdk_info_1.normalizeActionName; } }); - __exportStar3((init_sdk_v3_helpers(), __toCommonJS(sdk_v3_helpers_exports)), exports); + __exportStar3((init_api_call(), __toCommonJS(api_call_exports)), exports); } }); @@ -32110,11 +33184,12 @@ var import_helpers_internal = __toESM(require_helpers_internal()); // lib/assertions/providers/lambda-handler/base.ts var https = __toESM(require("https")); var url = __toESM(require("url")); -var import_client_sfn = __toESM(require_dist_cjs54()); +var import_client_sfn = __toESM(require_dist_cjs57()); 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 +33201,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 +33334,6 @@ var AssertionHandler = class extends CustomResourceHandler { } }; var MatchCreator = class { - parsedObj; constructor(obj) { this.parsedObj = { matcher: obj @@ -32377,11 +33448,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 +33463,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); + } + 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 tryJsonParse(v); + return x; } function tryJsonParse(v) { if (typeof v !== "string") { @@ -32410,17 +33488,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 +33507,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 +33536,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/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..32967f08c69b6 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", "files": { - "857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611": { + "8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741": { "source": { - "path": "asset.857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611", + "path": "asset.8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741", "packaging": "zip" }, "destinations": { "current_account-current_region": { "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", - "objectKey": "857be83e8ab6a1d9b812ae68df0a948fd5fcd6ee578ae2c7793512fdbe647611.zip", + "objectKey": "8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741.zip", "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" } } }, - "c4746f0c802eaab3400ada26a1c3bd653cb078794db01d0ad2cf3cc7b9cd53e3": { + "1379b3d0a6b332710b46946dc37c7cee7f10ee39c6f21847495213d652178a0f": { "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": "1379b3d0a6b332710b46946dc37c7cee7f10ee39c6f21847495213d652178a0f.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..cef6a862ee0a5 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": "8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741.zip" }, "Environment": { "Variables": { 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..501dc17bee619 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 @@ -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}/1379b3d0a6b332710b46946dc37c7cee7f10ee39c6f21847495213d652178a0f.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}/dc7b7144a6c082520ee22a82a975680d81966193e339f3cdb9b0b613664a7357.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..5bd4f3d575bf4 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": "8b74e8b5925e743296f47264a1d280e895424cbb5d2cc612a77a3a9e9def7741.zip" }, "environment": { "variables": { diff --git a/yarn.lock b/yarn.lock index 180bda4fbeb34..7d14bd2a59f5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1346,6 +1346,48 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@aws-sdk/client-sso@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.441.0.tgz#4e35b42bdaf4f10f60d4d1f697f39d67635b467c" + integrity sha512-gndGymu4cEIN7WWhQ67RO0JMda09EGBlay2L8IKCHBK/65Y34FHUX1tCNbO2qezEzsi6BPW5o2n53Rd9QqpHUw== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/core" "3.441.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-sso@3.445.0": version "3.445.0" resolved "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.445.0.tgz#6ab3aeeb75046c94646a0f242d0e0676bd7f6cce" @@ -1432,6 +1474,52 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" +"@aws-sdk/client-sts@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.441.0.tgz#9fcc8ece0274e53fc4234e97d7091f1afe2ade43" + integrity sha512-GL0Cw2v7XL1cn0T+Sk5VHLlgBJoUdMsysXsHa1mFdk0l6XHMAAnwXVXiNnjmoDSPrG0psz7dL2AKzPVRXbIUjA== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/core" "3.441.0" + "@aws-sdk/credential-provider-node" "3.441.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-sts@3.445.0": version "3.445.0" resolved "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.445.0.tgz#1286ba3702997ae00cb28eca890116c63a451526" @@ -1521,6 +1609,13 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.5.0" +"@aws-sdk/core@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/core/-/core-3.441.0.tgz#178d060a26e77bac1aee9e954254c2e6b7250fc5" + integrity sha512-gV0eQwR0VnSPUYAbgDkbBtfXbSpZgl/K6UB13DP1IFFjQYbF/BxYwvcQe4jHoPOBifSgjEbl8MfOOeIyI7k9vg== + dependencies: + "@smithy/smithy-client" "^2.1.12" + "@aws-sdk/core@3.445.0": version "3.445.0" resolved "https://registry.npmjs.org/@aws-sdk/core/-/core-3.445.0.tgz#1df472d976a02533784b6fe606f1cc4d524cbb29" @@ -1576,6 +1671,22 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@aws-sdk/credential-provider-ini@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.441.0.tgz#b7479042eca9d41c713d2664c7d4a4eb169b7b1b" + integrity sha512-SQipQYxYqDUuSOfIhDmaTdwPTcndGQotGZXWJl56mMWqAhU8MkwjK+oMf3VgRt/umJC0QwUCF5HUHIj7gSB1JA== + dependencies: + "@aws-sdk/credential-provider-env" "3.433.0" + "@aws-sdk/credential-provider-process" "3.433.0" + "@aws-sdk/credential-provider-sso" "3.441.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-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" @@ -1609,6 +1720,23 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@aws-sdk/credential-provider-node@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.441.0.tgz#b286d47c43b48988c7ee4f014dc823afabe5cb16" + integrity sha512-WB9p37yHq6fGJt6Vll29ijHbkh9VDbPM/n5ns73bTAgFD7R0ht5kPmdmHGQA6m3RKjcHLPbymQ3lXykkMwWf/Q== + dependencies: + "@aws-sdk/credential-provider-env" "3.433.0" + "@aws-sdk/credential-provider-ini" "3.441.0" + "@aws-sdk/credential-provider-process" "3.433.0" + "@aws-sdk/credential-provider-sso" "3.441.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.445.0": version "3.445.0" resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.445.0.tgz#570d0a66c175c2719c417a75fdca4939b7123a4a" @@ -1661,6 +1789,19 @@ "@smithy/types" "^2.3.3" tslib "^2.5.0" +"@aws-sdk/credential-provider-sso@3.441.0": + version "3.441.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.441.0.tgz#ef116fdcc5489088acdfea33036666293d1723cb" + integrity sha512-pTg16G+62mWCE8yGKuQnEBqPdpG5g71remf2jUqXaI1c7GCzbnkQDV9eD4DaAGOvzIs0wo9zAQnS2kVDPFlCYA== + dependencies: + "@aws-sdk/client-sso" "3.441.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-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" From 41312207c7c88bbd11cd79650c7997d0c10f9828 Mon Sep 17 00:00:00 2001 From: Francis Date: Fri, 17 Nov 2023 09:44:24 -0800 Subject: [PATCH 12/12] dependencies Signed-off-by: Francis --- packages/@aws-cdk/custom-resource-handlers/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/custom-resource-handlers/package.json b/packages/@aws-cdk/custom-resource-handlers/package.json index eebc63b013246..4fcee006102d1 100644 --- a/packages/@aws-cdk/custom-resource-handlers/package.json +++ b/packages/@aws-cdk/custom-resource-handlers/package.json @@ -37,7 +37,7 @@ "@aws-sdk/client-account": "3.451.0", "@aws-sdk/client-amplify": "3.451.0", "@aws-sdk/s3-request-presigner": "3.451.0", - "@aws-sdk/client-cloudwatch-logs": "3.451.0", + "@aws-sdk/client-cloudwatch-logs": "3.421.0", "@smithy/util-stream": "^2.0.20", "@types/jest": "^29.5.8", "aws-sdk-client-mock": "^3.0.0",