@mavogel/awscdk-rootmail 0.0.260 → 0.0.261
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 +8 -8
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +499 -372
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogsClient.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/models_0.js +42 -38
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +46 -46
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +722 -565
- package/node_modules/@aws-sdk/client-route-53/dist-es/Route53Client.js +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/models/models_0.js +145 -138
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-route-53/package.json +46 -46
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +489 -369
- package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +18 -16
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +10 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +10 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +22 -22
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +32 -32
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +44 -44
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +13 -13
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +29 -11
- package/node_modules/@aws-sdk/client-s3/package.json +60 -60
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +668 -441
- package/node_modules/@aws-sdk/client-ses/dist-es/SESClient.js +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-es/models/models_0.js +97 -68
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-ses/package.json +44 -44
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1529 -1117
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSMClient.js +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +211 -146
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +108 -80
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +64 -44
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-ssm/package.json +44 -44
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +57 -42
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +8 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +15 -5
- package/node_modules/@aws-sdk/client-sso/package.json +40 -40
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +295 -92
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +58 -28
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +42 -42
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +115 -104
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +16 -16
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-sts/package.json +42 -42
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +18 -22
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +3 -4
- package/node_modules/@aws-sdk/core/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -17
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +11 -18
- package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -5
- package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +1 -2
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +1 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js +1 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +13 -13
- package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +33 -36
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js +3 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js +3 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js +3 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +16 -16
- package/node_modules/@aws-sdk/middleware-ssec/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +13 -17
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -9
- package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +7 -3
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +3 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +8 -8
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +5 -7
- package/node_modules/@aws-sdk/token-providers/package.json +9 -9
- package/node_modules/@aws-sdk/types/package.json +4 -4
- package/node_modules/@aws-sdk/util-arn-parser/package.json +4 -4
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
- package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -8
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +9 -7
- package/node_modules/@aws-sdk/xml-builder/dist-es/XmlNode.js +3 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/XmlText.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/chunked-blob-reader/package.json +6 -2
- package/node_modules/@smithy/chunked-blob-reader-native/package.json +7 -3
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +8 -12
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/package.json +6 -6
- package/node_modules/@smithy/core/dist-cjs/index.js +19 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +10 -10
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +10 -11
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +28 -21
- package/node_modules/@smithy/eventstream-codec/package.json +8 -5
- package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/eventstream-serde-browser/package.json +4 -4
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts +3 -0
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts +3 -0
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/eventstream-serde-node/package.json +5 -5
- package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +6 -6
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +8 -9
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
- package/node_modules/@smithy/hash-blob-browser/package.json +8 -5
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/hash-node/package.json +6 -6
- package/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts +1 -0
- package/node_modules/@smithy/hash-stream-node/package.json +6 -6
- package/node_modules/@smithy/invalid-dependency/package.json +5 -2
- package/node_modules/@smithy/is-array-buffer/package.json +5 -4
- package/node_modules/@smithy/md5-js/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/md5-js/package.json +9 -6
- package/node_modules/@smithy/middleware-content-length/package.json +4 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -9
- package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +18 -17
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -2
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +4 -12
- package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +3 -0
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +3 -0
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/package.json +6 -6
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +36 -36
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +16 -12
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -2
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +3 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +13 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -2
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +3 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +13 -0
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/package.json +4 -4
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +4 -14
- package/node_modules/@smithy/service-error-classification/package.json +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +7 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +3 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +7 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +3 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +6 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +6 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -4
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +9 -0
- package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +13 -9
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +9 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +13 -9
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/package.json +9 -9
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -21
- package/node_modules/@smithy/smithy-client/package.json +9 -9
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/client.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/connection/config.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/encode.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/eventStream.d.ts +31 -2
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/http.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/transfer.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +31 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +8 -0
- package/node_modules/@smithy/types/package.json +2 -2
- package/node_modules/@smithy/url-parser/package.json +6 -3
- package/node_modules/@smithy/util-base64/package.json +8 -7
- package/node_modules/@smithy/util-body-length-browser/package.json +7 -3
- package/node_modules/@smithy/util-body-length-node/package.json +6 -5
- package/node_modules/@smithy/util-buffer-from/package.json +7 -6
- package/node_modules/@smithy/util-config-provider/package.json +6 -5
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +13 -15
- package/node_modules/@smithy/util-endpoints/package.json +5 -5
- package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
- package/node_modules/@smithy/util-middleware/package.json +4 -4
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +27 -21
- package/node_modules/@smithy/util-retry/package.json +5 -5
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
- package/node_modules/@smithy/util-stream/package.json +10 -10
- package/node_modules/@smithy/util-uri-escape/package.json +5 -4
- package/node_modules/@smithy/util-utf8/package.json +6 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -6
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/node_modules/domutils/lib/esm/feeds.d.ts.map +1 -1
- package/node_modules/domutils/lib/esm/feeds.js.map +1 -1
- package/node_modules/domutils/lib/esm/helpers.d.ts.map +1 -1
- package/node_modules/domutils/lib/esm/helpers.js.map +1 -1
- package/node_modules/domutils/lib/esm/index.d.ts.map +1 -1
- package/node_modules/domutils/lib/esm/index.js.map +1 -1
- package/node_modules/domutils/lib/esm/legacy.d.ts.map +1 -1
- package/node_modules/domutils/lib/esm/legacy.js.map +1 -1
- package/node_modules/domutils/lib/esm/manipulation.d.ts.map +1 -1
- package/node_modules/domutils/lib/esm/manipulation.js.map +1 -1
- package/node_modules/domutils/lib/esm/querying.d.ts.map +1 -1
- package/node_modules/domutils/lib/esm/querying.js +3 -1
- package/node_modules/domutils/lib/esm/querying.js.map +1 -1
- package/node_modules/domutils/lib/esm/stringify.d.ts.map +1 -1
- package/node_modules/domutils/lib/esm/stringify.js.map +1 -1
- package/node_modules/domutils/lib/esm/traversal.d.ts.map +1 -1
- package/node_modules/domutils/lib/esm/traversal.js.map +1 -1
- package/node_modules/domutils/lib/feeds.d.ts.map +1 -1
- package/node_modules/domutils/lib/feeds.js.map +1 -1
- package/node_modules/domutils/lib/helpers.d.ts.map +1 -1
- package/node_modules/domutils/lib/helpers.js.map +1 -1
- package/node_modules/domutils/lib/index.d.ts.map +1 -1
- package/node_modules/domutils/lib/index.js.map +1 -1
- package/node_modules/domutils/lib/legacy.d.ts.map +1 -1
- package/node_modules/domutils/lib/legacy.js.map +1 -1
- package/node_modules/domutils/lib/manipulation.d.ts.map +1 -1
- package/node_modules/domutils/lib/manipulation.js.map +1 -1
- package/node_modules/domutils/lib/querying.d.ts.map +1 -1
- package/node_modules/domutils/lib/querying.js +3 -1
- package/node_modules/domutils/lib/querying.js.map +1 -1
- package/node_modules/domutils/lib/stringify.d.ts.map +1 -1
- package/node_modules/domutils/lib/stringify.js.map +1 -1
- package/node_modules/domutils/lib/traversal.d.ts.map +1 -1
- package/node_modules/domutils/lib/traversal.js.map +1 -1
- package/node_modules/domutils/package.json +5 -5
- package/package.json +7 -7
|
@@ -33,7 +33,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
33
33
|
|
|
34
34
|
// src/AbortSignal.ts
|
|
35
35
|
var import_types = require("@smithy/types");
|
|
36
|
-
var
|
|
36
|
+
var AbortSignal = class {
|
|
37
37
|
constructor() {
|
|
38
38
|
this.onabort = null;
|
|
39
39
|
this._aborted = false;
|
|
@@ -42,6 +42,9 @@ var _AbortSignal = class _AbortSignal {
|
|
|
42
42
|
writable: true
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
+
static {
|
|
46
|
+
__name(this, "AbortSignal");
|
|
47
|
+
}
|
|
45
48
|
/**
|
|
46
49
|
* Whether the associated operation has already been cancelled.
|
|
47
50
|
*/
|
|
@@ -59,20 +62,19 @@ var _AbortSignal = class _AbortSignal {
|
|
|
59
62
|
}
|
|
60
63
|
}
|
|
61
64
|
};
|
|
62
|
-
__name(_AbortSignal, "AbortSignal");
|
|
63
|
-
var AbortSignal = _AbortSignal;
|
|
64
65
|
|
|
65
66
|
// src/AbortController.ts
|
|
66
|
-
var
|
|
67
|
+
var AbortController = class {
|
|
67
68
|
constructor() {
|
|
68
69
|
this.signal = new AbortSignal();
|
|
69
70
|
}
|
|
71
|
+
static {
|
|
72
|
+
__name(this, "AbortController");
|
|
73
|
+
}
|
|
70
74
|
abort() {
|
|
71
75
|
this.signal.abort();
|
|
72
76
|
}
|
|
73
77
|
};
|
|
74
|
-
__name(_AbortController, "AbortController");
|
|
75
|
-
var AbortController = _AbortController;
|
|
76
78
|
// Annotate the CommonJS export names for ESM import in node:
|
|
77
79
|
|
|
78
80
|
0 && (module.exports = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/abort-controller",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "A simple abort controller library",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/types": "^
|
|
28
|
+
"@smithy/types": "^4.0.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
32
|
-
"node": ">=
|
|
32
|
+
"node": ">=18.0.0"
|
|
33
33
|
},
|
|
34
34
|
"typesVersions": {
|
|
35
35
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/chunked-blob-reader",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline chunked-blob-reader",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -51,5 +52,8 @@
|
|
|
51
52
|
},
|
|
52
53
|
"publishConfig": {
|
|
53
54
|
"directory": ".release/package"
|
|
55
|
+
},
|
|
56
|
+
"engines": {
|
|
57
|
+
"node": ">=18.0.0"
|
|
54
58
|
}
|
|
55
59
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/chunked-blob-reader-native",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline chunked-blob-reader-native",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
13
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
-
"test": "yarn g:
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"module": "./dist-es/index.js",
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@smithy/util-base64": "^
|
|
26
|
+
"@smithy/util-base64": "^4.0.0",
|
|
26
27
|
"tslib": "^2.6.2"
|
|
27
28
|
},
|
|
28
29
|
"typesVersions": {
|
|
@@ -52,5 +53,8 @@
|
|
|
52
53
|
},
|
|
53
54
|
"publishConfig": {
|
|
54
55
|
"directory": ".release/package"
|
|
56
|
+
},
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=18.0.0"
|
|
55
59
|
}
|
|
56
60
|
}
|
|
@@ -153,12 +153,9 @@ var resolveRegionConfig = /* @__PURE__ */ __name((input) => {
|
|
|
153
153
|
}, "resolveRegionConfig");
|
|
154
154
|
|
|
155
155
|
// src/regionInfo/getHostnameFromVariants.ts
|
|
156
|
-
var getHostnameFromVariants = /* @__PURE__ */ __name((variants = [], { useFipsEndpoint, useDualstackEndpoint }) =>
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack")
|
|
160
|
-
)) == null ? void 0 : _a.hostname;
|
|
161
|
-
}, "getHostnameFromVariants");
|
|
156
|
+
var getHostnameFromVariants = /* @__PURE__ */ __name((variants = [], { useFipsEndpoint, useDualstackEndpoint }) => variants.find(
|
|
157
|
+
({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack")
|
|
158
|
+
)?.hostname, "getHostnameFromVariants");
|
|
162
159
|
|
|
163
160
|
// src/regionInfo/getResolvedHostname.ts
|
|
164
161
|
var getResolvedHostname = /* @__PURE__ */ __name((resolvedRegion, { regionHostname, partitionHostname }) => regionHostname ? regionHostname : partitionHostname ? partitionHostname.replace("{region}", resolvedRegion) : void 0, "getResolvedHostname");
|
|
@@ -187,18 +184,17 @@ var getRegionInfo = /* @__PURE__ */ __name((region, {
|
|
|
187
184
|
regionHash,
|
|
188
185
|
partitionHash
|
|
189
186
|
}) => {
|
|
190
|
-
var _a, _b, _c, _d, _e;
|
|
191
187
|
const partition = getResolvedPartition(region, { partitionHash });
|
|
192
|
-
const resolvedRegion = region in regionHash ? region :
|
|
188
|
+
const resolvedRegion = region in regionHash ? region : partitionHash[partition]?.endpoint ?? region;
|
|
193
189
|
const hostnameOptions = { useFipsEndpoint, useDualstackEndpoint };
|
|
194
|
-
const regionHostname = getHostnameFromVariants(
|
|
195
|
-
const partitionHostname = getHostnameFromVariants(
|
|
190
|
+
const regionHostname = getHostnameFromVariants(regionHash[resolvedRegion]?.variants, hostnameOptions);
|
|
191
|
+
const partitionHostname = getHostnameFromVariants(partitionHash[partition]?.variants, hostnameOptions);
|
|
196
192
|
const hostname = getResolvedHostname(resolvedRegion, { regionHostname, partitionHostname });
|
|
197
193
|
if (hostname === void 0) {
|
|
198
194
|
throw new Error(`Endpoint resolution failed for: ${{ resolvedRegion, useFipsEndpoint, useDualstackEndpoint }}`);
|
|
199
195
|
}
|
|
200
196
|
const signingRegion = getResolvedSigningRegion(hostname, {
|
|
201
|
-
signingRegion:
|
|
197
|
+
signingRegion: regionHash[resolvedRegion]?.signingRegion,
|
|
202
198
|
regionRegex: partitionHash[partition].regionRegex,
|
|
203
199
|
useFipsEndpoint
|
|
204
200
|
});
|
|
@@ -207,7 +203,7 @@ var getRegionInfo = /* @__PURE__ */ __name((region, {
|
|
|
207
203
|
signingService,
|
|
208
204
|
hostname,
|
|
209
205
|
...signingRegion && { signingRegion },
|
|
210
|
-
...
|
|
206
|
+
...regionHash[resolvedRegion]?.signingService && {
|
|
211
207
|
signingService: regionHash[resolvedRegion].signingService
|
|
212
208
|
}
|
|
213
209
|
};
|
package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts
CHANGED
|
@@ -17,6 +17,9 @@ export interface EndpointsInputConfig {
|
|
|
17
17
|
*/
|
|
18
18
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
20
23
|
interface PreviouslyResolved {
|
|
21
24
|
regionInfoProvider: RegionInfoProvider;
|
|
22
25
|
urlParser: UrlParser;
|
|
@@ -44,7 +47,7 @@ export interface EndpointsResolvedConfig extends Required<EndpointsInputConfig>
|
|
|
44
47
|
/**
|
|
45
48
|
* @internal
|
|
46
49
|
*
|
|
47
|
-
* @deprecated endpoints rulesets use
|
|
50
|
+
* @deprecated endpoints rulesets use \@smithy/middleware-endpoint resolveEndpointConfig.
|
|
48
51
|
* All generated clients should migrate to Endpoints 2.0 endpointRuleSet traits.
|
|
49
52
|
*/
|
|
50
53
|
export declare const resolveEndpointsConfig: <T>(input: T & EndpointsInputConfig & PreviouslyResolved) => T & EndpointsResolvedConfig;
|
|
@@ -17,6 +17,9 @@ export interface EndpointsInputConfig {
|
|
|
17
17
|
*/
|
|
18
18
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
20
23
|
interface PreviouslyResolved {
|
|
21
24
|
regionInfoProvider: RegionInfoProvider;
|
|
22
25
|
urlParser: UrlParser;
|
|
@@ -44,7 +47,7 @@ export interface EndpointsResolvedConfig extends Required<EndpointsInputConfig>
|
|
|
44
47
|
/**
|
|
45
48
|
* @internal
|
|
46
49
|
*
|
|
47
|
-
* @deprecated endpoints rulesets use
|
|
50
|
+
* @deprecated endpoints rulesets use \@smithy/middleware-endpoint resolveEndpointConfig.
|
|
48
51
|
* All generated clients should migrate to Endpoints 2.0 endpointRuleSet traits.
|
|
49
52
|
*/
|
|
50
53
|
export declare const resolveEndpointsConfig: <T>(input: T & EndpointsInputConfig & PreviouslyResolved) => T & EndpointsResolvedConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/config-resolver",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline config-resolver",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/node-config-provider": "^
|
|
28
|
-
"@smithy/types": "^
|
|
29
|
-
"@smithy/util-config-provider": "^
|
|
30
|
-
"@smithy/util-middleware": "^
|
|
27
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
28
|
+
"@smithy/types": "^4.0.0",
|
|
29
|
+
"@smithy/util-config-provider": "^4.0.0",
|
|
30
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"typedoc": "0.23.23"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
|
-
"node": ">=
|
|
40
|
+
"node": ">=18.0.0"
|
|
41
41
|
},
|
|
42
42
|
"typesVersions": {
|
|
43
43
|
"<4.0": {
|
|
@@ -60,7 +60,6 @@ function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
|
60
60
|
}
|
|
61
61
|
__name(convertHttpAuthSchemesToMap, "convertHttpAuthSchemesToMap");
|
|
62
62
|
var httpAuthSchemeMiddleware = /* @__PURE__ */ __name((config, mwOptions) => (next, context) => async (args) => {
|
|
63
|
-
var _a;
|
|
64
63
|
const options = config.httpAuthSchemeProvider(
|
|
65
64
|
await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input)
|
|
66
65
|
);
|
|
@@ -78,7 +77,7 @@ var httpAuthSchemeMiddleware = /* @__PURE__ */ __name((config, mwOptions) => (ne
|
|
|
78
77
|
failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` did not have an IdentityProvider configured.`);
|
|
79
78
|
continue;
|
|
80
79
|
}
|
|
81
|
-
const { identityProperties = {}, signingProperties = {} } =
|
|
80
|
+
const { identityProperties = {}, signingProperties = {} } = option.propertiesExtractor?.(config, context) || {};
|
|
82
81
|
option.identityProperties = Object.assign(option.identityProperties || {}, identityProperties);
|
|
83
82
|
option.signingProperties = Object.assign(option.signingProperties || {}, signingProperties);
|
|
84
83
|
smithyContext.selectedHttpAuthScheme = {
|
|
@@ -254,7 +253,7 @@ function setFeature(context, feature, value) {
|
|
|
254
253
|
__name(setFeature, "setFeature");
|
|
255
254
|
|
|
256
255
|
// src/util-identity-and-auth/DefaultIdentityProviderConfig.ts
|
|
257
|
-
var
|
|
256
|
+
var DefaultIdentityProviderConfig = class {
|
|
258
257
|
/**
|
|
259
258
|
* Creates an IdentityProviderConfig with a record of scheme IDs to identity providers.
|
|
260
259
|
*
|
|
@@ -268,17 +267,21 @@ var _DefaultIdentityProviderConfig = class _DefaultIdentityProviderConfig {
|
|
|
268
267
|
}
|
|
269
268
|
}
|
|
270
269
|
}
|
|
270
|
+
static {
|
|
271
|
+
__name(this, "DefaultIdentityProviderConfig");
|
|
272
|
+
}
|
|
271
273
|
getIdentityProvider(schemeId) {
|
|
272
274
|
return this.authSchemes.get(schemeId);
|
|
273
275
|
}
|
|
274
276
|
};
|
|
275
|
-
__name(_DefaultIdentityProviderConfig, "DefaultIdentityProviderConfig");
|
|
276
|
-
var DefaultIdentityProviderConfig = _DefaultIdentityProviderConfig;
|
|
277
277
|
|
|
278
278
|
// src/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.ts
|
|
279
279
|
|
|
280
280
|
|
|
281
|
-
var
|
|
281
|
+
var HttpApiKeyAuthSigner = class {
|
|
282
|
+
static {
|
|
283
|
+
__name(this, "HttpApiKeyAuthSigner");
|
|
284
|
+
}
|
|
282
285
|
async sign(httpRequest, identity, signingProperties) {
|
|
283
286
|
if (!signingProperties) {
|
|
284
287
|
throw new Error(
|
|
@@ -307,12 +310,13 @@ var _HttpApiKeyAuthSigner = class _HttpApiKeyAuthSigner {
|
|
|
307
310
|
return clonedRequest;
|
|
308
311
|
}
|
|
309
312
|
};
|
|
310
|
-
__name(_HttpApiKeyAuthSigner, "HttpApiKeyAuthSigner");
|
|
311
|
-
var HttpApiKeyAuthSigner = _HttpApiKeyAuthSigner;
|
|
312
313
|
|
|
313
314
|
// src/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.ts
|
|
314
315
|
|
|
315
|
-
var
|
|
316
|
+
var HttpBearerAuthSigner = class {
|
|
317
|
+
static {
|
|
318
|
+
__name(this, "HttpBearerAuthSigner");
|
|
319
|
+
}
|
|
316
320
|
async sign(httpRequest, identity, signingProperties) {
|
|
317
321
|
const clonedRequest = import_protocol_http.HttpRequest.clone(httpRequest);
|
|
318
322
|
if (!identity.token) {
|
|
@@ -322,17 +326,16 @@ var _HttpBearerAuthSigner = class _HttpBearerAuthSigner {
|
|
|
322
326
|
return clonedRequest;
|
|
323
327
|
}
|
|
324
328
|
};
|
|
325
|
-
__name(_HttpBearerAuthSigner, "HttpBearerAuthSigner");
|
|
326
|
-
var HttpBearerAuthSigner = _HttpBearerAuthSigner;
|
|
327
329
|
|
|
328
330
|
// src/util-identity-and-auth/httpAuthSchemes/noAuth.ts
|
|
329
|
-
var
|
|
331
|
+
var NoAuthSigner = class {
|
|
332
|
+
static {
|
|
333
|
+
__name(this, "NoAuthSigner");
|
|
334
|
+
}
|
|
330
335
|
async sign(httpRequest, identity, signingProperties) {
|
|
331
336
|
return httpRequest;
|
|
332
337
|
}
|
|
333
338
|
};
|
|
334
|
-
__name(_NoAuthSigner, "NoAuthSigner");
|
|
335
|
-
var NoAuthSigner = _NoAuthSigner;
|
|
336
339
|
|
|
337
340
|
// src/util-identity-and-auth/memoizeIdentityProvider.ts
|
|
338
341
|
var createIsIdentityExpiredFunction = /* @__PURE__ */ __name((expirationMs) => (identity) => doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs, "createIsIdentityExpiredFunction");
|
|
@@ -363,14 +366,14 @@ var memoizeIdentityProvider = /* @__PURE__ */ __name((provider, isExpired, requi
|
|
|
363
366
|
}, "coalesceProvider");
|
|
364
367
|
if (isExpired === void 0) {
|
|
365
368
|
return async (options) => {
|
|
366
|
-
if (!hasResult ||
|
|
369
|
+
if (!hasResult || options?.forceRefresh) {
|
|
367
370
|
resolved = await coalesceProvider(options);
|
|
368
371
|
}
|
|
369
372
|
return resolved;
|
|
370
373
|
};
|
|
371
374
|
}
|
|
372
375
|
return async (options) => {
|
|
373
|
-
if (!hasResult ||
|
|
376
|
+
if (!hasResult || options?.forceRefresh) {
|
|
374
377
|
resolved = await coalesceProvider(options);
|
|
375
378
|
}
|
|
376
379
|
if (isConstant) {
|
|
@@ -164,8 +164,7 @@ function decode(at, to) {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
function bytesToUtf8(bytes, at, to) {
|
|
167
|
-
|
|
168
|
-
if (USE_BUFFER && ((_a = bytes.constructor) == null ? void 0 : _a.name) === "Buffer") {
|
|
167
|
+
if (USE_BUFFER && bytes.constructor?.name === "Buffer") {
|
|
169
168
|
return bytes.toString("utf-8", at, to);
|
|
170
169
|
}
|
|
171
170
|
if (textDecoder) {
|
|
@@ -492,7 +491,6 @@ function encodeHeader(major, value) {
|
|
|
492
491
|
}
|
|
493
492
|
}
|
|
494
493
|
function encode(_input) {
|
|
495
|
-
var _a;
|
|
496
494
|
const encodeStack = [_input];
|
|
497
495
|
while (encodeStack.length) {
|
|
498
496
|
const input = encodeStack.pop();
|
|
@@ -602,7 +600,7 @@ function encode(_input) {
|
|
|
602
600
|
encodeHeader(majorMap, keys.length);
|
|
603
601
|
continue;
|
|
604
602
|
}
|
|
605
|
-
throw new Error(`data type ${
|
|
603
|
+
throw new Error(`data type ${input?.constructor?.name ?? typeof input} not compatible for encoding.`);
|
|
606
604
|
}
|
|
607
605
|
}
|
|
608
606
|
|
|
@@ -112,7 +112,7 @@ var RequestBuilder = class {
|
|
|
112
112
|
*/
|
|
113
113
|
bp(uriLabel) {
|
|
114
114
|
this.resolvePathStack.push((basePath) => {
|
|
115
|
-
this.path = `${
|
|
115
|
+
this.path = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + uriLabel;
|
|
116
116
|
});
|
|
117
117
|
return this;
|
|
118
118
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
|
@@ -54,17 +54,17 @@
|
|
|
54
54
|
},
|
|
55
55
|
"license": "Apache-2.0",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@smithy/middleware-serde": "^
|
|
58
|
-
"@smithy/protocol-http": "^
|
|
59
|
-
"@smithy/types": "^
|
|
60
|
-
"@smithy/util-body-length-browser": "^
|
|
61
|
-
"@smithy/util-middleware": "^
|
|
62
|
-
"@smithy/util-stream": "^
|
|
63
|
-
"@smithy/util-utf8": "^
|
|
57
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
58
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
59
|
+
"@smithy/types": "^4.0.0",
|
|
60
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
61
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
62
|
+
"@smithy/util-stream": "^4.0.0",
|
|
63
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
64
64
|
"tslib": "^2.6.2"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
|
-
"node": ">=
|
|
67
|
+
"node": ">=18.0.0"
|
|
68
68
|
},
|
|
69
69
|
"typesVersions": {
|
|
70
70
|
"<4.0": {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"directory": "packages/core"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@types/node": "^
|
|
90
|
+
"@types/node": "^18.11.9",
|
|
91
91
|
"concurrently": "7.0.0",
|
|
92
92
|
"downlevel-dts": "0.10.1",
|
|
93
93
|
"json-bigint": "^1.0.0",
|
|
@@ -44,13 +44,12 @@ var import_buffer = require("buffer");
|
|
|
44
44
|
var import_http = require("http");
|
|
45
45
|
function httpRequest(options) {
|
|
46
46
|
return new Promise((resolve, reject) => {
|
|
47
|
-
var _a;
|
|
48
47
|
const req = (0, import_http.request)({
|
|
49
48
|
method: "GET",
|
|
50
49
|
...options,
|
|
51
50
|
// Node.js http module doesn't accept hostname with square brackets
|
|
52
51
|
// Refs: https://github.com/nodejs/node/issues/39738
|
|
53
|
-
hostname:
|
|
52
|
+
hostname: options.hostname?.replace(/^\[(.+)\]$/, "$1")
|
|
54
53
|
});
|
|
55
54
|
req.on("error", (err) => {
|
|
56
55
|
reject(Object.assign(new import_property_provider.ProviderError("Unable to connect to instance metadata service"), err));
|
|
@@ -189,16 +188,17 @@ var getCmdsUri = /* @__PURE__ */ __name(async ({ logger }) => {
|
|
|
189
188
|
|
|
190
189
|
// src/error/InstanceMetadataV1FallbackError.ts
|
|
191
190
|
|
|
192
|
-
var
|
|
191
|
+
var InstanceMetadataV1FallbackError = class _InstanceMetadataV1FallbackError extends import_property_provider.CredentialsProviderError {
|
|
193
192
|
constructor(message, tryNextLink = true) {
|
|
194
193
|
super(message, tryNextLink);
|
|
195
194
|
this.tryNextLink = tryNextLink;
|
|
196
195
|
this.name = "InstanceMetadataV1FallbackError";
|
|
197
196
|
Object.setPrototypeOf(this, _InstanceMetadataV1FallbackError.prototype);
|
|
198
197
|
}
|
|
198
|
+
static {
|
|
199
|
+
__name(this, "InstanceMetadataV1FallbackError");
|
|
200
|
+
}
|
|
199
201
|
};
|
|
200
|
-
__name(_InstanceMetadataV1FallbackError, "InstanceMetadataV1FallbackError");
|
|
201
|
-
var InstanceMetadataV1FallbackError = _InstanceMetadataV1FallbackError;
|
|
202
202
|
|
|
203
203
|
// src/utils/getInstanceMetadataEndpoint.ts
|
|
204
204
|
var import_node_config_provider = require("@smithy/node-config-provider");
|
|
@@ -272,7 +272,7 @@ For more information, please visit: ` + STATIC_STABILITY_DOC_URL
|
|
|
272
272
|
|
|
273
273
|
// src/utils/staticStabilityProvider.ts
|
|
274
274
|
var staticStabilityProvider = /* @__PURE__ */ __name((provider, options = {}) => {
|
|
275
|
-
const logger =
|
|
275
|
+
const logger = options?.logger || console;
|
|
276
276
|
let pastCredentials;
|
|
277
277
|
return async () => {
|
|
278
278
|
let credentials;
|
|
@@ -306,8 +306,7 @@ var getInstanceMetadataProvider = /* @__PURE__ */ __name((init = {}) => {
|
|
|
306
306
|
const { logger, profile } = init;
|
|
307
307
|
const { timeout, maxRetries } = providerConfigFromInit(init);
|
|
308
308
|
const getCredentials = /* @__PURE__ */ __name(async (maxRetries2, options) => {
|
|
309
|
-
|
|
310
|
-
const isImdsV1Fallback = disableFetchToken || ((_a = options.headers) == null ? void 0 : _a[X_AWS_EC2_METADATA_TOKEN]) == null;
|
|
309
|
+
const isImdsV1Fallback = disableFetchToken || options.headers?.[X_AWS_EC2_METADATA_TOKEN] == null;
|
|
311
310
|
if (isImdsV1Fallback) {
|
|
312
311
|
let fallbackBlockedFromProfile = false;
|
|
313
312
|
let fallbackBlockedFromProcessEnv = false;
|
|
@@ -378,21 +377,21 @@ var getInstanceMetadataProvider = /* @__PURE__ */ __name((init = {}) => {
|
|
|
378
377
|
return async () => {
|
|
379
378
|
const endpoint = await getInstanceMetadataEndpoint();
|
|
380
379
|
if (disableFetchToken) {
|
|
381
|
-
logger
|
|
380
|
+
logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (no token fetch)");
|
|
382
381
|
return getCredentials(maxRetries, { ...endpoint, timeout });
|
|
383
382
|
} else {
|
|
384
383
|
let token;
|
|
385
384
|
try {
|
|
386
385
|
token = (await getMetadataToken({ ...endpoint, timeout })).toString();
|
|
387
386
|
} catch (error) {
|
|
388
|
-
if (
|
|
387
|
+
if (error?.statusCode === 400) {
|
|
389
388
|
throw Object.assign(error, {
|
|
390
389
|
message: "EC2 Metadata token request returned error"
|
|
391
390
|
});
|
|
392
391
|
} else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) {
|
|
393
392
|
disableFetchToken = true;
|
|
394
393
|
}
|
|
395
|
-
logger
|
|
394
|
+
logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (initial)");
|
|
396
395
|
return getCredentials(maxRetries, { ...endpoint, timeout });
|
|
397
396
|
}
|
|
398
397
|
return getCredentials(maxRetries, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/node-config-provider": "^
|
|
31
|
-
"@smithy/property-provider": "^
|
|
32
|
-
"@smithy/types": "^
|
|
33
|
-
"@smithy/url-parser": "^
|
|
30
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
31
|
+
"@smithy/property-provider": "^4.0.0",
|
|
32
|
+
"@smithy/types": "^4.0.0",
|
|
33
|
+
"@smithy/url-parser": "^4.0.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@types/node": "^
|
|
37
|
+
"@types/node": "^18.11.9",
|
|
38
38
|
"concurrently": "7.0.0",
|
|
39
39
|
"downlevel-dts": "0.10.1",
|
|
40
40
|
"rimraf": "3.0.2",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"types": "./dist-types/index.d.ts",
|
|
44
44
|
"engines": {
|
|
45
|
-
"node": ">=
|
|
45
|
+
"node": ">=18.0.0"
|
|
46
46
|
},
|
|
47
47
|
"typesVersions": {
|
|
48
48
|
"<4.0": {
|