cdk-rds-sql 3.3.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +145 -48
- package/.pre-commit-config.yaml +1 -1
- package/README.md +15 -4
- package/lib/database.js +1 -1
- package/lib/handler.js +3 -3
- package/lib/provider.d.ts +3 -3
- package/lib/provider.js +2 -2
- package/lib/role.js +14 -5
- package/lib/schema.js +1 -1
- package/lib/sql.js +1 -1
- package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +30 -0
- package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/{crossPlatformSha256.js → main/crossPlatformSha256.js} +0 -5
- package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/{index.d.ts → main/index.d.ts} +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/{index.js → main/index.js} +1 -3
- package/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts +10 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +40 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts +8 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +27 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts +2 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +3 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +7 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/{ie11Sha256.d.ts → module/webCryptoSha256.d.ts} +3 -2
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +53 -0
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md +10 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json +60 -0
- package/node_modules/@aws-crypto/{ie11-detection → sha256-browser/node_modules/@smithy/util-buffer-from}/LICENSE +4 -5
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md +10 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json +61 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE +201 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md +4 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
- package/node_modules/{@aws-sdk/util-utf8-browser/dist-types/index.d.ts → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts} +0 -1
- package/node_modules/{@aws-sdk/util-utf8-browser/dist-types/ts3.4/index.d.ts → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts} +0 -1
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
- package/node_modules/{@aws-sdk/util-utf8-browser/dist-types/ts3.4/pureJs.d.ts → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts} +1 -2
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +66 -0
- package/node_modules/@aws-crypto/sha256-browser/package.json +11 -11
- package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -4
- package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -1
- package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +3 -15
- package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +7 -0
- package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +20 -0
- package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/main/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts +17 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +121 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts +20 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +95 -0
- package/node_modules/@aws-crypto/sha256-js/build/{constants.js.map → module/constants.js.map} +1 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/index.js +2 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts +12 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +82 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts +5 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +319 -0
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/package.json +11 -7
- package/node_modules/@aws-crypto/sha256-js/tsconfig.json +3 -10
- package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +7 -0
- package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +20 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +5 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map +1 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +69 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map +1 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts +1 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +2 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map +1 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts +4 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +62 -0
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map +1 -0
- package/node_modules/@aws-crypto/supports-web-crypto/package.json +7 -5
- package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +3 -9
- package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +7 -0
- package/node_modules/@aws-crypto/util/CHANGELOG.md +24 -0
- package/node_modules/@aws-crypto/util/build/{convertToBuffer.js → main/convertToBuffer.js} +2 -2
- package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/main/index.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts +2 -0
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/main/numToUint8.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts +2 -0
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +20 -0
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/module/index.d.ts +4 -0
- package/node_modules/@aws-crypto/util/build/module/index.js +7 -0
- package/node_modules/@aws-crypto/util/build/module/index.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts +2 -0
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +9 -0
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts +1 -0
- package/node_modules/@aws-crypto/util/build/module/numToUint8.js +11 -0
- package/node_modules/@aws-crypto/util/build/module/numToUint8.js.map +1 -0
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts +1 -0
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +16 -0
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md +10 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md +10 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE +201 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md +4 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
- package/node_modules/@aws-crypto/util/package.json +8 -7
- package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +1 -1
- package/node_modules/@aws-crypto/util/tsconfig.json +2 -16
- package/node_modules/@aws-crypto/util/tsconfig.module.json +7 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/index.js +35 -108
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/SecretsManagerClient.js +9 -15
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/BatchGetSecretValueCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/CancelRotateSecretCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/CreateSecretCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DeleteResourcePolicyCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DeleteSecretCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DescribeSecretCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetRandomPasswordCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetResourcePolicyCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetSecretValueCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ListSecretVersionIdsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ListSecretsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/PutResourcePolicyCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/PutSecretValueCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RemoveRegionsFromReplicationCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ReplicateSecretToRegionsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RestoreSecretCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RotateSecretCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/StopReplicationToReplicaCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/TagResourceCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UntagResourceCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UpdateSecretCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UpdateSecretVersionStageCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ValidateResourcePolicyCommand.js +1 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/endpoint/endpointResolver.js +7 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/protocols/Aws_json1_1.js +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/SecretsManagerClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/BatchGetSecretValueCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/CancelRotateSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/CreateSecretCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DeleteSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DescribeSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetRandomPasswordCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetSecretValueCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ListSecretVersionIdsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ListSecretsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/PutSecretValueCommand.d.ts +7 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RestoreSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RotateSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/StopReplicationToReplicaCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UpdateSecretCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ValidateResourcePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/SecretsManagerServiceException.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/models_0.d.ts +15 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +4 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +5 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/SecretsManagerClient.d.ts +7 -9
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/SecretsManagerServiceException.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +37 -37
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +13 -31
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +9 -15
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +7 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/models/SSOServiceException.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +7 -9
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/SSOServiceException.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
- package/node_modules/@aws-sdk/client-sso/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +13 -31
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +9 -15
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +7 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +4 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +7 -9
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +38 -36
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +9 -15
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +33 -40
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +9 -15
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +24 -6
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +7 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +4 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +7 -9
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/STSServiceException.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
- package/node_modules/@aws-sdk/client-sts/package.json +36 -36
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +6 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +97 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +10 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +81 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +15 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js +5 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +24 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +8 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +14 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +3 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +25 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +30 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +26 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +18 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +18 -0
- package/node_modules/@aws-sdk/core/dist-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/core/package.json +25 -9
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +8 -3
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +5 -2
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +12 -9
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +4 -8
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +12 -9
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +4 -8
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +73 -22
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +35 -14
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +19 -6
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +5 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +11 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -11
- package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +44 -16
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +39 -16
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +17 -9
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +7 -5
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +54 -23
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +15 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +30 -8
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +16 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +9 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +7 -4
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +9 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +7 -4
- package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +7 -4
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/README.md +35 -2
- package/node_modules/@smithy/core/cbor.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +707 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +391 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +181 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +20 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +82 -0
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -1
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +40 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +43 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +29 -0
- package/node_modules/@smithy/core/package.json +40 -13
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +32 -23
- package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +17 -6
- package/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +11 -9
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +1 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -5
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +17 -3
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
- package/node_modules/@smithy/hash-node/package.json +3 -3
- package/node_modules/@smithy/invalid-dependency/package.json +3 -3
- package/node_modules/@smithy/middleware-content-length/package.json +5 -5
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +23 -2
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +7 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +7 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +10 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.d.ts +4 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +11 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts +4 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +11 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +21 -3
- package/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js +3 -2
- package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -2
- package/node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js +12 -0
- package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/package.json +5 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +119 -54
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +29 -14
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +9 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +27 -13
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +18 -5
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +12 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/package.json +6 -6
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +28 -10
- package/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +2 -3
- package/node_modules/@smithy/property-provider/dist-es/ProviderError.js +15 -4
- package/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +2 -3
- package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +16 -3
- package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +25 -3
- package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +16 -3
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +16 -3
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +25 -3
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +16 -3
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
- package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +31 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +31 -1
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/package.json +3 -3
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/package.json +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +18 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +14 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +5 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +5 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -16
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -2
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -2
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +3 -3
- package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +2 -2
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +3 -3
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +2 -2
- package/node_modules/@smithy/signature-v4/package.json +6 -6
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -4
- package/node_modules/@smithy/smithy-client/dist-es/client.js +22 -4
- package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/date-utils.js +3 -0
- package/node_modules/@smithy/smithy-client/dist-es/ser-utils.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +22 -1
- package/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts +5 -0
- package/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts +2 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +22 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +5 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +2 -0
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/README.md +36 -1
- package/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
- package/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/abort.d.ts +4 -3
- package/node_modules/@smithy/types/dist-types/command.d.ts +14 -1
- package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +11 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +6 -6
- package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +12 -6
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +8 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +4 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +14 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +11 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +6 -6
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +8 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +6 -9
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/waiter.d.ts +3 -3
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +73 -11
- package/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js +49 -0
- package/node_modules/@smithy/util-endpoints/dist-es/index.js +1 -0
- package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +0 -10
- package/node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts +34 -0
- package/node_modules/@smithy/util-endpoints/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts +34 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/util-endpoints/package.json +4 -4
- package/node_modules/@smithy/util-middleware/package.json +3 -3
- package/node_modules/@smithy/util-retry/package.json +4 -4
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +36 -0
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +46 -0
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +7 -1
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +3 -3
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +11 -0
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +17 -0
- package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +9 -0
- package/node_modules/@smithy/util-stream/dist-es/headStream.browser.js +31 -0
- package/node_modules/@smithy/util-stream/dist-es/headStream.js +41 -0
- package/node_modules/@smithy/util-stream/dist-es/index.js +3 -0
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js +3 -3
- package/node_modules/@smithy/util-stream/dist-es/splitStream.browser.js +7 -0
- package/node_modules/@smithy/util-stream/dist-es/splitStream.js +13 -0
- package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +2 -0
- package/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts +8 -0
- package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +9 -0
- package/node_modules/@smithy/util-stream/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/util-stream/dist-types/splitStream.browser.d.ts +5 -0
- package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +8 -0
- package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +12 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +8 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +9 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +8 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +14 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +12 -0
- package/node_modules/@smithy/util-stream/package.json +14 -8
- package/node_modules/@types/aws-lambda/README.md +2 -2
- package/node_modules/@types/aws-lambda/index.d.ts +1 -0
- package/node_modules/@types/aws-lambda/package.json +8 -3
- package/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.ts +3 -1
- package/node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.ts +133 -42
- package/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts +196 -30
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts +1 -1
- package/node_modules/@types/aws-lambda/trigger/lex-v2.d.ts +1 -1
- package/node_modules/@types/aws-lambda/trigger/sqs.d.ts +1 -0
- package/node_modules/@types/aws-lambda/trigger/transfer-family-authorizer.d.ts +2 -1
- package/node_modules/fast-xml-parser/CHANGELOG.md +349 -309
- package/node_modules/fast-xml-parser/README.md +83 -51
- package/node_modules/fast-xml-parser/package.json +8 -5
- package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
- package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
- package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
- package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
- package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
- package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
- package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
- package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
- package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
- package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
- package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
- package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
- package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
- package/node_modules/fast-xml-parser/src/validator.js +2 -0
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +31 -9
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +4 -0
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +25 -12
- package/node_modules/pg/lib/native/query.js +3 -0
- package/node_modules/pg/lib/query.js +5 -0
- package/node_modules/pg/package.json +3 -3
- package/node_modules/tslib/package.json +1 -1
- package/node_modules/tslib/tslib.d.ts +1 -1
- package/node_modules/tslib/tslib.es6.js +19 -10
- package/node_modules/tslib/tslib.es6.mjs +23 -15
- package/node_modules/tslib/tslib.js +19 -11
- package/package.json +24 -18
- package/node_modules/@aws-crypto/ie11-detection/CHANGELOG.md +0 -46
- package/node_modules/@aws-crypto/ie11-detection/README.md +0 -20
- package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.d.ts +0 -19
- package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js +0 -3
- package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/build/Key.d.ts +0 -12
- package/node_modules/@aws-crypto/ie11-detection/build/Key.js +0 -3
- package/node_modules/@aws-crypto/ie11-detection/build/Key.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.d.ts +0 -12
- package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js +0 -3
- package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.d.ts +0 -33
- package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js +0 -3
- package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.d.ts +0 -21
- package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js +0 -32
- package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/build/index.d.ts +0 -5
- package/node_modules/@aws-crypto/ie11-detection/build/index.js +0 -9
- package/node_modules/@aws-crypto/ie11-detection/build/index.js.map +0 -1
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/README.md +0 -142
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/modules/index.js +0 -51
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/package.json +0 -37
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.d.ts +0 -37
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.js +0 -218
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.html +0 -1
- package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.js +0 -284
- package/node_modules/@aws-crypto/ie11-detection/package.json +0 -26
- package/node_modules/@aws-crypto/ie11-detection/src/CryptoOperation.ts +0 -21
- package/node_modules/@aws-crypto/ie11-detection/src/Key.ts +0 -12
- package/node_modules/@aws-crypto/ie11-detection/src/KeyOperation.ts +0 -13
- package/node_modules/@aws-crypto/ie11-detection/src/MsSubtleCrypto.ts +0 -88
- package/node_modules/@aws-crypto/ie11-detection/src/MsWindow.ts +0 -59
- package/node_modules/@aws-crypto/ie11-detection/src/index.ts +0 -5
- package/node_modules/@aws-crypto/ie11-detection/tsconfig.json +0 -17
- package/node_modules/@aws-crypto/sha256-browser/build/constants.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js +0 -80
- package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/README.md +0 -142
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/modules/index.js +0 -51
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/package.json +0 -37
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.d.ts +0 -37
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js +0 -218
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.html +0 -1
- package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.js +0 -284
- package/node_modules/@aws-crypto/sha256-browser/src/ie11Sha256.ts +0 -108
- package/node_modules/@aws-crypto/sha256-js/build/RawSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/jsSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/README.md +0 -142
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/modules/index.js +0 -51
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/package.json +0 -37
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.d.ts +0 -37
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js +0 -218
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.html +0 -1
- package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.js +0 -284
- package/node_modules/@aws-crypto/supports-web-crypto/build/index.js +0 -5
- package/node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js +0 -69
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/README.md +0 -142
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/modules/index.js +0 -51
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/package.json +0 -37
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.d.ts +0 -37
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js +0 -218
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.html +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.js +0 -284
- package/node_modules/@aws-crypto/util/build/convertToBuffer.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/index.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/numToUint8.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js.map +0 -1
- package/node_modules/@aws-crypto/util/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/@aws-crypto/util/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/@aws-crypto/util/node_modules/tslib/README.md +0 -142
- package/node_modules/@aws-crypto/util/node_modules/tslib/modules/index.js +0 -51
- package/node_modules/@aws-crypto/util/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/@aws-crypto/util/node_modules/tslib/package.json +0 -37
- package/node_modules/@aws-crypto/util/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/node_modules/@aws-crypto/util/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.d.ts +0 -37
- package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.es6.js +0 -218
- package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.html +0 -1
- package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.js +0 -284
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js +0 -1
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/configurations.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/constants.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +0 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +0 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +0 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +0 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +0 -1
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/abort.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/auth.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/client.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/command.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/connection.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/dns.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/encode.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/http.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/logger.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/profile.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/request.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/response.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/retry.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/serde.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/signature.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/stream.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/token.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/uri.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/util.js +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js +0 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/crt-availability.js +0 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +0 -1
- package/node_modules/@aws-sdk/util-utf8-browser/README.md +0 -8
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js +0 -9
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js +0 -47
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js +0 -11
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js +0 -4
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js +0 -42
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js +0 -6
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/pureJs.d.ts +0 -17
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/whatwgEncodingApi.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/whatwgEncodingApi.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/package.json +0 -50
- package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-es/cloneRequest.js +0 -12
- package/node_modules/@smithy/signature-v4/dist-types/cloneRequest.d.ts +0 -6
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/cloneRequest.d.ts +0 -6
- package/node_modules/source-map/CHANGELOG.md +0 -301
- /package/node_modules/@aws-crypto/sha256-browser/build/{constants.d.ts → main/constants.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{constants.js → main/constants.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{crossPlatformSha256.d.ts → main/crossPlatformSha256.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{isEmptyData.d.ts → main/isEmptyData.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{isEmptyData.js → main/isEmptyData.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{webCryptoSha256.d.ts → main/webCryptoSha256.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-browser/build/{webCryptoSha256.js → main/webCryptoSha256.js} +0 -0
- /package/node_modules/@aws-crypto/{util/build → sha256-browser/build/module}/isEmptyData.d.ts +0 -0
- /package/node_modules/{@aws-sdk/util-utf8-browser → @aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{RawSha256.d.ts → main/RawSha256.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{RawSha256.js → main/RawSha256.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{constants.d.ts → main/constants.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{constants.js → main/constants.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{index.d.ts → main/index.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{index.js → main/index.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{jsSha256.d.ts → main/jsSha256.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{jsSha256.js → main/jsSha256.js} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{knownHashes.fixture.d.ts → main/knownHashes.fixture.d.ts} +0 -0
- /package/node_modules/@aws-crypto/sha256-js/build/{knownHashes.fixture.js → main/knownHashes.fixture.js} +0 -0
- /package/node_modules/@aws-crypto/supports-web-crypto/build/{index.d.ts → main/index.d.ts} +0 -0
- /package/node_modules/@aws-crypto/supports-web-crypto/build/{supportsWebCrypto.d.ts → main/supportsWebCrypto.d.ts} +0 -0
- /package/node_modules/@aws-crypto/util/build/{convertToBuffer.d.ts → main/convertToBuffer.d.ts} +0 -0
- /package/node_modules/@aws-crypto/util/build/{index.d.ts → main/index.d.ts} +0 -0
- /package/node_modules/@aws-crypto/util/build/{index.js → main/index.js} +0 -0
- /package/node_modules/@aws-crypto/util/build/{isEmptyData.js → main/isEmptyData.js} +0 -0
- /package/node_modules/@aws-crypto/util/build/{numToUint8.d.ts → main/numToUint8.d.ts} +0 -0
- /package/node_modules/@aws-crypto/util/build/{numToUint8.js → main/numToUint8.js} +0 -0
- /package/node_modules/@aws-crypto/util/build/{uint32ArrayFrom.d.ts → main/uint32ArrayFrom.d.ts} +0 -0
- /package/node_modules/@aws-crypto/util/build/{uint32ArrayFrom.js → main/uint32ArrayFrom.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js → @smithy/node-config-provider/dist-cjs/getSelectorName.js} +0 -0
- /package/node_modules/{@aws-sdk/credential-provider-process/dist-cjs/ProcessCredentials.js → @smithy/types/dist-cjs/abort-handler.js} +0 -0
- /package/node_modules/{@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js → @smithy/util-endpoints/dist-cjs/cache/EndpointCache.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-stack",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
7
|
"build:cjs": "node ../../scripts/inline middleware-stack",
|
|
8
8
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
9
9
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
10
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
10
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
11
11
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/types": "^3.
|
|
28
|
+
"@smithy/types": "^3.4.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -29,7 +29,23 @@ module.exports = __toCommonJS(src_exports);
|
|
|
29
29
|
|
|
30
30
|
// src/fromEnv.ts
|
|
31
31
|
var import_property_provider = require("@smithy/property-provider");
|
|
32
|
-
|
|
32
|
+
|
|
33
|
+
// src/getSelectorName.ts
|
|
34
|
+
function getSelectorName(functionString) {
|
|
35
|
+
try {
|
|
36
|
+
const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
|
|
37
|
+
constants.delete("CONFIG");
|
|
38
|
+
constants.delete("CONFIG_PREFIX_SEPARATOR");
|
|
39
|
+
constants.delete("ENV");
|
|
40
|
+
return [...constants].join(", ");
|
|
41
|
+
} catch (e) {
|
|
42
|
+
return functionString;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
__name(getSelectorName, "getSelectorName");
|
|
46
|
+
|
|
47
|
+
// src/fromEnv.ts
|
|
48
|
+
var fromEnv = /* @__PURE__ */ __name((envVarSelector, logger) => async () => {
|
|
33
49
|
try {
|
|
34
50
|
const config = envVarSelector(process.env);
|
|
35
51
|
if (config === void 0) {
|
|
@@ -38,7 +54,8 @@ var fromEnv = /* @__PURE__ */ __name((envVarSelector) => async () => {
|
|
|
38
54
|
return config;
|
|
39
55
|
} catch (e) {
|
|
40
56
|
throw new import_property_provider.CredentialsProviderError(
|
|
41
|
-
e.message || `
|
|
57
|
+
e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`,
|
|
58
|
+
{ logger }
|
|
42
59
|
);
|
|
43
60
|
}
|
|
44
61
|
}, "fromEnv");
|
|
@@ -61,7 +78,8 @@ var fromSharedConfigFiles = /* @__PURE__ */ __name((configSelector, { preferredF
|
|
|
61
78
|
return configValue;
|
|
62
79
|
} catch (e) {
|
|
63
80
|
throw new import_property_provider.CredentialsProviderError(
|
|
64
|
-
e.message || `
|
|
81
|
+
e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`,
|
|
82
|
+
{ logger: init.logger }
|
|
65
83
|
);
|
|
66
84
|
}
|
|
67
85
|
}, "fromSharedConfigFiles");
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CredentialsProviderError } from "@smithy/property-provider";
|
|
2
|
-
|
|
2
|
+
import { getSelectorName } from "./getSelectorName";
|
|
3
|
+
export const fromEnv = (envVarSelector, logger) => async () => {
|
|
3
4
|
try {
|
|
4
5
|
const config = envVarSelector(process.env);
|
|
5
6
|
if (config === undefined) {
|
|
@@ -8,6 +9,6 @@ export const fromEnv = (envVarSelector) => async () => {
|
|
|
8
9
|
return config;
|
|
9
10
|
}
|
|
10
11
|
catch (e) {
|
|
11
|
-
throw new CredentialsProviderError(e.message || `
|
|
12
|
+
throw new CredentialsProviderError(e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, { logger });
|
|
12
13
|
}
|
|
13
14
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CredentialsProviderError } from "@smithy/property-provider";
|
|
2
2
|
import { getProfileName, loadSharedConfigFiles } from "@smithy/shared-ini-file-loader";
|
|
3
|
+
import { getSelectorName } from "./getSelectorName";
|
|
3
4
|
export const fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => {
|
|
4
5
|
const profile = getProfileName(init);
|
|
5
6
|
const { configFile, credentialsFile } = await loadSharedConfigFiles(init);
|
|
@@ -17,7 +18,6 @@ export const fromSharedConfigFiles = (configSelector, { preferredFile = "config"
|
|
|
17
18
|
return configValue;
|
|
18
19
|
}
|
|
19
20
|
catch (e) {
|
|
20
|
-
throw new CredentialsProviderError(e.message ||
|
|
21
|
-
`Cannot load config for profile ${profile} in SDK configuration files with getter: ${configSelector}`);
|
|
21
|
+
throw new CredentialsProviderError(e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`, { logger: init.logger });
|
|
22
22
|
}
|
|
23
23
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export function getSelectorName(functionString) {
|
|
2
|
+
try {
|
|
3
|
+
const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
|
|
4
|
+
constants.delete("CONFIG");
|
|
5
|
+
constants.delete("CONFIG_PREFIX_SEPARATOR");
|
|
6
|
+
constants.delete("ENV");
|
|
7
|
+
return [...constants].join(", ");
|
|
8
|
+
}
|
|
9
|
+
catch (e) {
|
|
10
|
+
return functionString;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Provider } from "@smithy/types";
|
|
1
|
+
import { Logger, Provider } from "@smithy/types";
|
|
2
2
|
export type GetterFromEnv<T> = (env: Record<string, string | undefined>) => T | undefined;
|
|
3
3
|
/**
|
|
4
4
|
* Get config value given the environment variable name or getter from
|
|
5
5
|
* environment variable.
|
|
6
6
|
*/
|
|
7
|
-
export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T
|
|
7
|
+
export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T>, logger?: Logger) => Provider<T>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Attempts to extract the name of the variable that the functional selector is looking for.
|
|
3
|
+
* Improves readability over the raw Function.toString() value.
|
|
4
|
+
* @internal
|
|
5
|
+
* @param functionString - function's string representation.
|
|
6
|
+
*
|
|
7
|
+
* @returns constant value used within the function.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getSelectorName(functionString: string): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Provider } from "@smithy/types";
|
|
1
|
+
import { Logger, Provider } from "@smithy/types";
|
|
2
2
|
export type GetterFromEnv<T> = (env: Record<string, string | undefined>) => T | undefined;
|
|
3
3
|
/**
|
|
4
4
|
* Get config value given the environment variable name or getter from
|
|
5
5
|
* environment variable.
|
|
6
6
|
*/
|
|
7
|
-
export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T
|
|
7
|
+
export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T>, logger?: Logger) => Provider<T>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Attempts to extract the name of the variable that the functional selector is looking for.
|
|
3
|
+
* Improves readability over the raw Function.toString() value.
|
|
4
|
+
* @internal
|
|
5
|
+
* @param functionString - function's string representation.
|
|
6
|
+
*
|
|
7
|
+
* @returns constant value used within the function.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getSelectorName(functionString: string): string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-config-provider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.5",
|
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
7
|
"build:cjs": "node ../../scripts/inline node-config-provider",
|
|
8
8
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
9
9
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
10
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
10
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
11
11
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"module": "./dist-es/index.js",
|
|
25
25
|
"types": "./dist-types/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/property-provider": "^3.
|
|
28
|
-
"@smithy/shared-ini-file-loader": "^3.
|
|
29
|
-
"@smithy/types": "^3.
|
|
27
|
+
"@smithy/property-provider": "^3.1.4",
|
|
28
|
+
"@smithy/shared-ini-file-loader": "^3.1.5",
|
|
29
|
+
"@smithy/types": "^3.4.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -57,45 +57,81 @@ var getTransformedHeaders = /* @__PURE__ */ __name((headers) => {
|
|
|
57
57
|
}, "getTransformedHeaders");
|
|
58
58
|
|
|
59
59
|
// src/set-connection-timeout.ts
|
|
60
|
+
var DEFER_EVENT_LISTENER_TIME = 1e3;
|
|
60
61
|
var setConnectionTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => {
|
|
61
62
|
if (!timeoutInMs) {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
socket.
|
|
63
|
+
return -1;
|
|
64
|
+
}
|
|
65
|
+
const registerTimeout = /* @__PURE__ */ __name((offset) => {
|
|
66
|
+
const timeoutId = setTimeout(() => {
|
|
67
|
+
request.destroy();
|
|
68
|
+
reject(
|
|
69
|
+
Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
|
|
70
|
+
name: "TimeoutError"
|
|
71
|
+
})
|
|
72
|
+
);
|
|
73
|
+
}, timeoutInMs - offset);
|
|
74
|
+
const doWithSocket = /* @__PURE__ */ __name((socket) => {
|
|
75
|
+
if (socket == null ? void 0 : socket.connecting) {
|
|
76
|
+
socket.on("connect", () => {
|
|
77
|
+
clearTimeout(timeoutId);
|
|
78
|
+
});
|
|
79
|
+
} else {
|
|
75
80
|
clearTimeout(timeoutId);
|
|
76
|
-
}
|
|
81
|
+
}
|
|
82
|
+
}, "doWithSocket");
|
|
83
|
+
if (request.socket) {
|
|
84
|
+
doWithSocket(request.socket);
|
|
77
85
|
} else {
|
|
78
|
-
|
|
86
|
+
request.on("socket", doWithSocket);
|
|
79
87
|
}
|
|
80
|
-
});
|
|
88
|
+
}, "registerTimeout");
|
|
89
|
+
if (timeoutInMs < 2e3) {
|
|
90
|
+
registerTimeout(0);
|
|
91
|
+
return 0;
|
|
92
|
+
}
|
|
93
|
+
return setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
|
|
81
94
|
}, "setConnectionTimeout");
|
|
82
95
|
|
|
83
96
|
// src/set-socket-keep-alive.ts
|
|
84
|
-
var
|
|
97
|
+
var DEFER_EVENT_LISTENER_TIME2 = 3e3;
|
|
98
|
+
var setSocketKeepAlive = /* @__PURE__ */ __name((request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME2) => {
|
|
85
99
|
if (keepAlive !== true) {
|
|
86
|
-
return;
|
|
100
|
+
return -1;
|
|
87
101
|
}
|
|
88
|
-
|
|
89
|
-
socket
|
|
90
|
-
|
|
102
|
+
const registerListener = /* @__PURE__ */ __name(() => {
|
|
103
|
+
if (request.socket) {
|
|
104
|
+
request.socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
|
|
105
|
+
} else {
|
|
106
|
+
request.on("socket", (socket) => {
|
|
107
|
+
socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
}, "registerListener");
|
|
111
|
+
if (deferTimeMs === 0) {
|
|
112
|
+
registerListener();
|
|
113
|
+
return 0;
|
|
114
|
+
}
|
|
115
|
+
return setTimeout(registerListener, deferTimeMs);
|
|
91
116
|
}, "setSocketKeepAlive");
|
|
92
117
|
|
|
93
118
|
// src/set-socket-timeout.ts
|
|
119
|
+
var DEFER_EVENT_LISTENER_TIME3 = 3e3;
|
|
94
120
|
var setSocketTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => {
|
|
95
|
-
|
|
96
|
-
request.
|
|
97
|
-
|
|
98
|
-
|
|
121
|
+
const registerTimeout = /* @__PURE__ */ __name((offset) => {
|
|
122
|
+
request.setTimeout(timeoutInMs - offset, () => {
|
|
123
|
+
request.destroy();
|
|
124
|
+
reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" }));
|
|
125
|
+
});
|
|
126
|
+
}, "registerTimeout");
|
|
127
|
+
if (0 < timeoutInMs && timeoutInMs < 6e3) {
|
|
128
|
+
registerTimeout(0);
|
|
129
|
+
return 0;
|
|
130
|
+
}
|
|
131
|
+
return setTimeout(
|
|
132
|
+
registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME3),
|
|
133
|
+
DEFER_EVENT_LISTENER_TIME3
|
|
134
|
+
);
|
|
99
135
|
}, "setSocketTimeout");
|
|
100
136
|
|
|
101
137
|
// src/write-request-body.ts
|
|
@@ -182,10 +218,12 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
|
182
218
|
* @internal
|
|
183
219
|
*
|
|
184
220
|
* @param agent - http(s) agent in use by the NodeHttpHandler instance.
|
|
221
|
+
* @param socketWarningTimestamp - last socket usage check timestamp.
|
|
222
|
+
* @param logger - channel for the warning.
|
|
185
223
|
* @returns timestamp of last emitted warning.
|
|
186
224
|
*/
|
|
187
|
-
static checkSocketUsage(agent, socketWarningTimestamp) {
|
|
188
|
-
var _a, _b;
|
|
225
|
+
static checkSocketUsage(agent, socketWarningTimestamp, logger = console) {
|
|
226
|
+
var _a, _b, _c;
|
|
189
227
|
const { sockets, requests, maxSockets } = agent;
|
|
190
228
|
if (typeof maxSockets !== "number" || maxSockets === Infinity) {
|
|
191
229
|
return socketWarningTimestamp;
|
|
@@ -199,11 +237,11 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
|
199
237
|
const socketsInUse = ((_a = sockets[origin]) == null ? void 0 : _a.length) ?? 0;
|
|
200
238
|
const requestsEnqueued = ((_b = requests[origin]) == null ? void 0 : _b.length) ?? 0;
|
|
201
239
|
if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
240
|
+
(_c = logger == null ? void 0 : logger.warn) == null ? void 0 : _c.call(
|
|
241
|
+
logger,
|
|
242
|
+
`@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.
|
|
243
|
+
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
244
|
+
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`
|
|
207
245
|
);
|
|
208
246
|
return Date.now();
|
|
209
247
|
}
|
|
@@ -229,7 +267,8 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
|
229
267
|
return httpsAgent;
|
|
230
268
|
}
|
|
231
269
|
return new import_https.Agent({ keepAlive, maxSockets, ...httpsAgent });
|
|
232
|
-
})()
|
|
270
|
+
})(),
|
|
271
|
+
logger: console
|
|
233
272
|
};
|
|
234
273
|
}
|
|
235
274
|
destroy() {
|
|
@@ -241,16 +280,17 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
|
241
280
|
if (!this.config) {
|
|
242
281
|
this.config = await this.configProvider;
|
|
243
282
|
}
|
|
244
|
-
let socketCheckTimeoutId;
|
|
245
283
|
return new Promise((_resolve, _reject) => {
|
|
246
284
|
let writeRequestBodyPromise = void 0;
|
|
285
|
+
const timeouts = [];
|
|
247
286
|
const resolve = /* @__PURE__ */ __name(async (arg) => {
|
|
248
287
|
await writeRequestBodyPromise;
|
|
249
|
-
clearTimeout
|
|
288
|
+
timeouts.forEach(clearTimeout);
|
|
250
289
|
_resolve(arg);
|
|
251
290
|
}, "resolve");
|
|
252
291
|
const reject = /* @__PURE__ */ __name(async (arg) => {
|
|
253
292
|
await writeRequestBodyPromise;
|
|
293
|
+
timeouts.forEach(clearTimeout);
|
|
254
294
|
_reject(arg);
|
|
255
295
|
}, "reject");
|
|
256
296
|
if (!this.config) {
|
|
@@ -264,11 +304,17 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
|
264
304
|
}
|
|
265
305
|
const isSSL = request.protocol === "https:";
|
|
266
306
|
const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
|
|
267
|
-
|
|
268
|
-
(
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
307
|
+
timeouts.push(
|
|
308
|
+
setTimeout(
|
|
309
|
+
() => {
|
|
310
|
+
this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(
|
|
311
|
+
agent,
|
|
312
|
+
this.socketWarningTimestamp,
|
|
313
|
+
this.config.logger
|
|
314
|
+
);
|
|
315
|
+
},
|
|
316
|
+
this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2e3) + (this.config.connectionTimeout ?? 1e3)
|
|
317
|
+
)
|
|
272
318
|
);
|
|
273
319
|
const queryString = (0, import_querystring_builder.buildQueryString)(request.query || {});
|
|
274
320
|
let auth = void 0;
|
|
@@ -310,26 +356,38 @@ var _NodeHttpHandler = class _NodeHttpHandler {
|
|
|
310
356
|
reject(err);
|
|
311
357
|
}
|
|
312
358
|
});
|
|
313
|
-
setConnectionTimeout(req, reject, this.config.connectionTimeout);
|
|
314
|
-
setSocketTimeout(req, reject, this.config.requestTimeout);
|
|
315
359
|
if (abortSignal) {
|
|
316
|
-
|
|
317
|
-
req.
|
|
360
|
+
const onAbort = /* @__PURE__ */ __name(() => {
|
|
361
|
+
req.destroy();
|
|
318
362
|
const abortError = new Error("Request aborted");
|
|
319
363
|
abortError.name = "AbortError";
|
|
320
364
|
reject(abortError);
|
|
321
|
-
};
|
|
365
|
+
}, "onAbort");
|
|
366
|
+
if (typeof abortSignal.addEventListener === "function") {
|
|
367
|
+
const signal = abortSignal;
|
|
368
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
369
|
+
req.once("close", () => signal.removeEventListener("abort", onAbort));
|
|
370
|
+
} else {
|
|
371
|
+
abortSignal.onabort = onAbort;
|
|
372
|
+
}
|
|
322
373
|
}
|
|
374
|
+
timeouts.push(setConnectionTimeout(req, reject, this.config.connectionTimeout));
|
|
375
|
+
timeouts.push(setSocketTimeout(req, reject, this.config.requestTimeout));
|
|
323
376
|
const httpAgent = nodeHttpsOptions.agent;
|
|
324
377
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
378
|
+
timeouts.push(
|
|
379
|
+
setSocketKeepAlive(req, {
|
|
380
|
+
// @ts-expect-error keepAlive is not public on httpAgent.
|
|
381
|
+
keepAlive: httpAgent.keepAlive,
|
|
382
|
+
// @ts-expect-error keepAliveMsecs is not public on httpAgent.
|
|
383
|
+
keepAliveMsecs: httpAgent.keepAliveMsecs
|
|
384
|
+
})
|
|
385
|
+
);
|
|
331
386
|
}
|
|
332
|
-
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch(
|
|
387
|
+
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch((e) => {
|
|
388
|
+
timeouts.forEach(clearTimeout);
|
|
389
|
+
return _reject(e);
|
|
390
|
+
});
|
|
333
391
|
});
|
|
334
392
|
}
|
|
335
393
|
updateHttpClientConfig(key, value) {
|
|
@@ -597,12 +655,19 @@ var _NodeHttp2Handler = class _NodeHttp2Handler {
|
|
|
597
655
|
});
|
|
598
656
|
}
|
|
599
657
|
if (abortSignal) {
|
|
600
|
-
|
|
658
|
+
const onAbort = /* @__PURE__ */ __name(() => {
|
|
601
659
|
req.close();
|
|
602
660
|
const abortError = new Error("Request aborted");
|
|
603
661
|
abortError.name = "AbortError";
|
|
604
662
|
rejectWithDestroy(abortError);
|
|
605
|
-
};
|
|
663
|
+
}, "onAbort");
|
|
664
|
+
if (typeof abortSignal.addEventListener === "function") {
|
|
665
|
+
const signal = abortSignal;
|
|
666
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
667
|
+
req.once("close", () => signal.removeEventListener("abort", onAbort));
|
|
668
|
+
} else {
|
|
669
|
+
abortSignal.onabort = onAbort;
|
|
670
|
+
}
|
|
606
671
|
}
|
|
607
672
|
req.on("frameError", (type, code, id) => {
|
|
608
673
|
rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`));
|
|
@@ -16,7 +16,7 @@ export class NodeHttpHandler {
|
|
|
16
16
|
}
|
|
17
17
|
return new NodeHttpHandler(instanceOrOptions);
|
|
18
18
|
}
|
|
19
|
-
static checkSocketUsage(agent, socketWarningTimestamp) {
|
|
19
|
+
static checkSocketUsage(agent, socketWarningTimestamp, logger = console) {
|
|
20
20
|
const { sockets, requests, maxSockets } = agent;
|
|
21
21
|
if (typeof maxSockets !== "number" || maxSockets === Infinity) {
|
|
22
22
|
return socketWarningTimestamp;
|
|
@@ -30,7 +30,9 @@ export class NodeHttpHandler {
|
|
|
30
30
|
const socketsInUse = sockets[origin]?.length ?? 0;
|
|
31
31
|
const requestsEnqueued = requests[origin]?.length ?? 0;
|
|
32
32
|
if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
|
|
33
|
-
|
|
33
|
+
logger?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.
|
|
34
|
+
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
35
|
+
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`);
|
|
34
36
|
return Date.now();
|
|
35
37
|
}
|
|
36
38
|
}
|
|
@@ -72,6 +74,7 @@ export class NodeHttpHandler {
|
|
|
72
74
|
}
|
|
73
75
|
return new hsAgent({ keepAlive, maxSockets, ...httpsAgent });
|
|
74
76
|
})(),
|
|
77
|
+
logger: console,
|
|
75
78
|
};
|
|
76
79
|
}
|
|
77
80
|
destroy() {
|
|
@@ -82,16 +85,17 @@ export class NodeHttpHandler {
|
|
|
82
85
|
if (!this.config) {
|
|
83
86
|
this.config = await this.configProvider;
|
|
84
87
|
}
|
|
85
|
-
let socketCheckTimeoutId;
|
|
86
88
|
return new Promise((_resolve, _reject) => {
|
|
87
89
|
let writeRequestBodyPromise = undefined;
|
|
90
|
+
const timeouts = [];
|
|
88
91
|
const resolve = async (arg) => {
|
|
89
92
|
await writeRequestBodyPromise;
|
|
90
|
-
clearTimeout
|
|
93
|
+
timeouts.forEach(clearTimeout);
|
|
91
94
|
_resolve(arg);
|
|
92
95
|
};
|
|
93
96
|
const reject = async (arg) => {
|
|
94
97
|
await writeRequestBodyPromise;
|
|
98
|
+
timeouts.forEach(clearTimeout);
|
|
95
99
|
_reject(arg);
|
|
96
100
|
};
|
|
97
101
|
if (!this.config) {
|
|
@@ -105,10 +109,10 @@ export class NodeHttpHandler {
|
|
|
105
109
|
}
|
|
106
110
|
const isSSL = request.protocol === "https:";
|
|
107
111
|
const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
|
|
108
|
-
|
|
109
|
-
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp);
|
|
112
|
+
timeouts.push(setTimeout(() => {
|
|
113
|
+
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, this.config.logger);
|
|
110
114
|
}, this.config.socketAcquisitionWarningTimeout ??
|
|
111
|
-
(this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000));
|
|
115
|
+
(this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000)));
|
|
112
116
|
const queryString = buildQueryString(request.query || {});
|
|
113
117
|
let auth = undefined;
|
|
114
118
|
if (request.username != null || request.password != null) {
|
|
@@ -150,24 +154,35 @@ export class NodeHttpHandler {
|
|
|
150
154
|
reject(err);
|
|
151
155
|
}
|
|
152
156
|
});
|
|
153
|
-
setConnectionTimeout(req, reject, this.config.connectionTimeout);
|
|
154
|
-
setSocketTimeout(req, reject, this.config.requestTimeout);
|
|
155
157
|
if (abortSignal) {
|
|
156
|
-
|
|
157
|
-
req.
|
|
158
|
+
const onAbort = () => {
|
|
159
|
+
req.destroy();
|
|
158
160
|
const abortError = new Error("Request aborted");
|
|
159
161
|
abortError.name = "AbortError";
|
|
160
162
|
reject(abortError);
|
|
161
163
|
};
|
|
164
|
+
if (typeof abortSignal.addEventListener === "function") {
|
|
165
|
+
const signal = abortSignal;
|
|
166
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
167
|
+
req.once("close", () => signal.removeEventListener("abort", onAbort));
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
abortSignal.onabort = onAbort;
|
|
171
|
+
}
|
|
162
172
|
}
|
|
173
|
+
timeouts.push(setConnectionTimeout(req, reject, this.config.connectionTimeout));
|
|
174
|
+
timeouts.push(setSocketTimeout(req, reject, this.config.requestTimeout));
|
|
163
175
|
const httpAgent = nodeHttpsOptions.agent;
|
|
164
176
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
165
|
-
setSocketKeepAlive(req, {
|
|
177
|
+
timeouts.push(setSocketKeepAlive(req, {
|
|
166
178
|
keepAlive: httpAgent.keepAlive,
|
|
167
179
|
keepAliveMsecs: httpAgent.keepAliveMsecs,
|
|
168
|
-
});
|
|
180
|
+
}));
|
|
169
181
|
}
|
|
170
|
-
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch(
|
|
182
|
+
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch((e) => {
|
|
183
|
+
timeouts.forEach(clearTimeout);
|
|
184
|
+
return _reject(e);
|
|
185
|
+
});
|
|
171
186
|
});
|
|
172
187
|
}
|
|
173
188
|
updateHttpClientConfig(key, value) {
|
|
@@ -113,12 +113,20 @@ export class NodeHttp2Handler {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
if (abortSignal) {
|
|
116
|
-
|
|
116
|
+
const onAbort = () => {
|
|
117
117
|
req.close();
|
|
118
118
|
const abortError = new Error("Request aborted");
|
|
119
119
|
abortError.name = "AbortError";
|
|
120
120
|
rejectWithDestroy(abortError);
|
|
121
121
|
};
|
|
122
|
+
if (typeof abortSignal.addEventListener === "function") {
|
|
123
|
+
const signal = abortSignal;
|
|
124
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
125
|
+
req.once("close", () => signal.removeEventListener("abort", onAbort));
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
abortSignal.onabort = onAbort;
|
|
129
|
+
}
|
|
122
130
|
}
|
|
123
131
|
req.on("frameError", (type, code, id) => {
|
|
124
132
|
rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`));
|
|
@@ -1,21 +1,35 @@
|
|
|
1
|
+
const DEFER_EVENT_LISTENER_TIME = 1000;
|
|
1
2
|
export const setConnectionTimeout = (request, reject, timeoutInMs = 0) => {
|
|
2
3
|
if (!timeoutInMs) {
|
|
3
|
-
return;
|
|
4
|
+
return -1;
|
|
4
5
|
}
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
const registerTimeout = (offset) => {
|
|
7
|
+
const timeoutId = setTimeout(() => {
|
|
8
|
+
request.destroy();
|
|
9
|
+
reject(Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
|
|
10
|
+
name: "TimeoutError",
|
|
11
|
+
}));
|
|
12
|
+
}, timeoutInMs - offset);
|
|
13
|
+
const doWithSocket = (socket) => {
|
|
14
|
+
if (socket?.connecting) {
|
|
15
|
+
socket.on("connect", () => {
|
|
16
|
+
clearTimeout(timeoutId);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
14
20
|
clearTimeout(timeoutId);
|
|
15
|
-
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
if (request.socket) {
|
|
24
|
+
doWithSocket(request.socket);
|
|
16
25
|
}
|
|
17
26
|
else {
|
|
18
|
-
|
|
27
|
+
request.on("socket", doWithSocket);
|
|
19
28
|
}
|
|
20
|
-
}
|
|
29
|
+
};
|
|
30
|
+
if (timeoutInMs < 2000) {
|
|
31
|
+
registerTimeout(0);
|
|
32
|
+
return 0;
|
|
33
|
+
}
|
|
34
|
+
return setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
|
|
21
35
|
};
|