@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
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/is-array-buffer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Provides a function for detecting if an argument is an ArrayBuffer",
|
|
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 is-array-buffer",
|
|
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\"",
|
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
15
|
-
"test": "yarn g:
|
|
15
|
+
"test": "yarn g:vitest run",
|
|
16
|
+
"test:watch": "yarn g:vitest watch"
|
|
16
17
|
},
|
|
17
18
|
"author": {
|
|
18
19
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"tslib": "^2.6.2"
|
|
27
28
|
},
|
|
28
29
|
"engines": {
|
|
29
|
-
"node": ">=
|
|
30
|
+
"node": ">=18.0.0"
|
|
30
31
|
},
|
|
31
32
|
"typesVersions": {
|
|
32
33
|
"<4.0": {
|
|
@@ -31,7 +31,10 @@ var DIGEST_LENGTH = 16;
|
|
|
31
31
|
var INIT = [1732584193, 4023233417, 2562383102, 271733878];
|
|
32
32
|
|
|
33
33
|
// src/index.ts
|
|
34
|
-
var
|
|
34
|
+
var Md5 = class {
|
|
35
|
+
static {
|
|
36
|
+
__name(this, "Md5");
|
|
37
|
+
}
|
|
35
38
|
constructor() {
|
|
36
39
|
this.reset();
|
|
37
40
|
}
|
|
@@ -160,8 +163,6 @@ var _Md5 = class _Md5 {
|
|
|
160
163
|
this.finished = false;
|
|
161
164
|
}
|
|
162
165
|
};
|
|
163
|
-
__name(_Md5, "Md5");
|
|
164
|
-
var Md5 = _Md5;
|
|
165
166
|
function cmn(q, a, b, x, s, t) {
|
|
166
167
|
a = (a + q & 4294967295) + (x + t & 4294967295) & 4294967295;
|
|
167
168
|
return (a << s | a >>> 32 - s) + b & 4294967295;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/md5-js",
|
|
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 md5-js",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@smithy/util-base64": "^
|
|
27
|
-
"@smithy/util-hex-encoding": "^
|
|
28
|
-
"@types/node": "^
|
|
26
|
+
"@smithy/util-base64": "^4.0.0",
|
|
27
|
+
"@smithy/util-hex-encoding": "^4.0.0",
|
|
28
|
+
"@types/node": "^18.11.9",
|
|
29
29
|
"concurrently": "7.0.0",
|
|
30
30
|
"downlevel-dts": "0.10.1",
|
|
31
31
|
"hash-test-vectors": "^1.3.2",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"typedoc": "0.23.23"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@smithy/types": "^
|
|
37
|
-
"@smithy/util-utf8": "^
|
|
36
|
+
"@smithy/types": "^4.0.0",
|
|
37
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"typesVersions": {
|
|
@@ -58,5 +58,8 @@
|
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"directory": ".release/package"
|
|
61
|
+
},
|
|
62
|
+
"engines": {
|
|
63
|
+
"node": ">=18.0.0"
|
|
61
64
|
}
|
|
62
65
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-content-length",
|
|
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 middleware-content-length",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/protocol-http": "^
|
|
28
|
-
"@smithy/types": "^
|
|
27
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
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": {
|
|
@@ -32,7 +32,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
32
32
|
|
|
33
33
|
// src/service-customizations/s3.ts
|
|
34
34
|
var resolveParamsForS3 = /* @__PURE__ */ __name(async (endpointParams) => {
|
|
35
|
-
const bucket =
|
|
35
|
+
const bucket = endpointParams?.Bucket || "";
|
|
36
36
|
if (typeof endpointParams.Bucket === "string") {
|
|
37
37
|
endpointParams.Bucket = bucket.replace(/#/g, encodeURIComponent("#")).replace(/\?/g, encodeURIComponent("?"));
|
|
38
38
|
}
|
|
@@ -75,14 +75,14 @@ var createConfigValueProvider = /* @__PURE__ */ __name((configKey, canonicalEndp
|
|
|
75
75
|
if (configKey === "credentialScope" || canonicalEndpointParamKey === "CredentialScope") {
|
|
76
76
|
return async () => {
|
|
77
77
|
const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials;
|
|
78
|
-
const configValue =
|
|
78
|
+
const configValue = credentials?.credentialScope ?? credentials?.CredentialScope;
|
|
79
79
|
return configValue;
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
if (configKey === "accountId" || canonicalEndpointParamKey === "AccountId") {
|
|
83
83
|
return async () => {
|
|
84
84
|
const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials;
|
|
85
|
-
const configValue =
|
|
85
|
+
const configValue = credentials?.accountId ?? credentials?.AccountId;
|
|
86
86
|
return configValue;
|
|
87
87
|
};
|
|
88
88
|
}
|
|
@@ -140,9 +140,8 @@ var getEndpointFromInstructions = /* @__PURE__ */ __name(async (commandInput, in
|
|
|
140
140
|
return endpoint;
|
|
141
141
|
}, "getEndpointFromInstructions");
|
|
142
142
|
var resolveParams = /* @__PURE__ */ __name(async (commandInput, instructionsSupplier, clientConfig) => {
|
|
143
|
-
var _a;
|
|
144
143
|
const endpointParams = {};
|
|
145
|
-
const instructions =
|
|
144
|
+
const instructions = instructionsSupplier?.getEndpointParameterInstructions?.() || {};
|
|
146
145
|
for (const [name, instruction] of Object.entries(instructions)) {
|
|
147
146
|
switch (instruction.type) {
|
|
148
147
|
case "staticContextParams":
|
|
@@ -179,7 +178,6 @@ var endpointMiddleware = /* @__PURE__ */ __name(({
|
|
|
179
178
|
instructions
|
|
180
179
|
}) => {
|
|
181
180
|
return (next, context) => async (args) => {
|
|
182
|
-
var _a, _b, _c;
|
|
183
181
|
if (config.endpoint) {
|
|
184
182
|
(0, import_core.setFeature)(context, "ENDPOINT_OVERRIDE", "N");
|
|
185
183
|
}
|
|
@@ -194,13 +192,13 @@ var endpointMiddleware = /* @__PURE__ */ __name(({
|
|
|
194
192
|
context
|
|
195
193
|
);
|
|
196
194
|
context.endpointV2 = endpoint;
|
|
197
|
-
context.authSchemes =
|
|
198
|
-
const authScheme =
|
|
195
|
+
context.authSchemes = endpoint.properties?.authSchemes;
|
|
196
|
+
const authScheme = context.authSchemes?.[0];
|
|
199
197
|
if (authScheme) {
|
|
200
198
|
context["signing_region"] = authScheme.signingRegion;
|
|
201
199
|
context["signing_service"] = authScheme.signingName;
|
|
202
200
|
const smithyContext = (0, import_util_middleware.getSmithyContext)(context);
|
|
203
|
-
const httpAuthOption =
|
|
201
|
+
const httpAuthOption = smithyContext?.selectedHttpAuthScheme?.httpAuthOption;
|
|
204
202
|
if (httpAuthOption) {
|
|
205
203
|
httpAuthOption.signingProperties = Object.assign(
|
|
206
204
|
httpAuthOption.signingProperties || {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
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 middleware-endpoint",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/core": "^
|
|
28
|
-
"@smithy/middleware-serde": "^
|
|
29
|
-
"@smithy/node-config-provider": "^
|
|
30
|
-
"@smithy/shared-ini-file-loader": "^
|
|
31
|
-
"@smithy/types": "^
|
|
32
|
-
"@smithy/url-parser": "^
|
|
33
|
-
"@smithy/util-middleware": "^
|
|
27
|
+
"@smithy/core": "^3.0.0",
|
|
28
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
29
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
30
|
+
"@smithy/shared-ini-file-loader": "^4.0.0",
|
|
31
|
+
"@smithy/types": "^4.0.0",
|
|
32
|
+
"@smithy/url-parser": "^4.0.0",
|
|
33
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"typedoc": "0.23.23"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">=18.0.0"
|
|
44
44
|
},
|
|
45
45
|
"typesVersions": {
|
|
46
46
|
"<4.0": {
|
|
@@ -54,9 +54,9 @@ var import_uuid = require("uuid");
|
|
|
54
54
|
var import_util_retry = require("@smithy/util-retry");
|
|
55
55
|
var getDefaultRetryQuota = /* @__PURE__ */ __name((initialRetryTokens, options) => {
|
|
56
56
|
const MAX_CAPACITY = initialRetryTokens;
|
|
57
|
-
const noRetryIncrement =
|
|
58
|
-
const retryCost =
|
|
59
|
-
const timeoutRetryCost =
|
|
57
|
+
const noRetryIncrement = options?.noRetryIncrement ?? import_util_retry.NO_RETRY_INCREMENT;
|
|
58
|
+
const retryCost = options?.retryCost ?? import_util_retry.RETRY_COST;
|
|
59
|
+
const timeoutRetryCost = options?.timeoutRetryCost ?? import_util_retry.TIMEOUT_RETRY_COST;
|
|
60
60
|
let availableCapacity = initialRetryTokens;
|
|
61
61
|
const getCapacityAmount = /* @__PURE__ */ __name((error) => error.name === "TimeoutError" ? timeoutRetryCost : retryCost, "getCapacityAmount");
|
|
62
62
|
const hasRetryTokens = /* @__PURE__ */ __name((error) => getCapacityAmount(error) <= availableCapacity, "hasRetryTokens");
|
|
@@ -104,13 +104,16 @@ var asSdkError = /* @__PURE__ */ __name((error) => {
|
|
|
104
104
|
}, "asSdkError");
|
|
105
105
|
|
|
106
106
|
// src/StandardRetryStrategy.ts
|
|
107
|
-
var
|
|
107
|
+
var StandardRetryStrategy = class {
|
|
108
108
|
constructor(maxAttemptsProvider, options) {
|
|
109
109
|
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
110
110
|
this.mode = import_util_retry.RETRY_MODES.STANDARD;
|
|
111
|
-
this.retryDecider =
|
|
112
|
-
this.delayDecider =
|
|
113
|
-
this.retryQuota =
|
|
111
|
+
this.retryDecider = options?.retryDecider ?? defaultRetryDecider;
|
|
112
|
+
this.delayDecider = options?.delayDecider ?? defaultDelayDecider;
|
|
113
|
+
this.retryQuota = options?.retryQuota ?? getDefaultRetryQuota(import_util_retry.INITIAL_RETRY_TOKENS);
|
|
114
|
+
}
|
|
115
|
+
static {
|
|
116
|
+
__name(this, "StandardRetryStrategy");
|
|
114
117
|
}
|
|
115
118
|
shouldRetry(error, attempts, maxAttempts) {
|
|
116
119
|
return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error);
|
|
@@ -138,11 +141,11 @@ var _StandardRetryStrategy = class _StandardRetryStrategy {
|
|
|
138
141
|
if (import_protocol_http.HttpRequest.isInstance(request)) {
|
|
139
142
|
request.headers[import_util_retry.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;
|
|
140
143
|
}
|
|
141
|
-
if (options
|
|
144
|
+
if (options?.beforeRequest) {
|
|
142
145
|
await options.beforeRequest();
|
|
143
146
|
}
|
|
144
147
|
const { response, output } = await next(args);
|
|
145
|
-
if (options
|
|
148
|
+
if (options?.afterRequest) {
|
|
146
149
|
options.afterRequest(response);
|
|
147
150
|
}
|
|
148
151
|
this.retryQuota.releaseRetryTokens(retryTokenAmount);
|
|
@@ -174,8 +177,6 @@ var _StandardRetryStrategy = class _StandardRetryStrategy {
|
|
|
174
177
|
}
|
|
175
178
|
}
|
|
176
179
|
};
|
|
177
|
-
__name(_StandardRetryStrategy, "StandardRetryStrategy");
|
|
178
|
-
var StandardRetryStrategy = _StandardRetryStrategy;
|
|
179
180
|
var getDelayFromRetryAfterHeader = /* @__PURE__ */ __name((response) => {
|
|
180
181
|
if (!import_protocol_http.HttpResponse.isInstance(response))
|
|
181
182
|
return;
|
|
@@ -191,7 +192,10 @@ var getDelayFromRetryAfterHeader = /* @__PURE__ */ __name((response) => {
|
|
|
191
192
|
}, "getDelayFromRetryAfterHeader");
|
|
192
193
|
|
|
193
194
|
// src/AdaptiveRetryStrategy.ts
|
|
194
|
-
var
|
|
195
|
+
var AdaptiveRetryStrategy = class extends StandardRetryStrategy {
|
|
196
|
+
static {
|
|
197
|
+
__name(this, "AdaptiveRetryStrategy");
|
|
198
|
+
}
|
|
195
199
|
constructor(maxAttemptsProvider, options) {
|
|
196
200
|
const { rateLimiter, ...superOptions } = options ?? {};
|
|
197
201
|
super(maxAttemptsProvider, superOptions);
|
|
@@ -209,8 +213,6 @@ var _AdaptiveRetryStrategy = class _AdaptiveRetryStrategy extends StandardRetryS
|
|
|
209
213
|
});
|
|
210
214
|
}
|
|
211
215
|
};
|
|
212
|
-
__name(_AdaptiveRetryStrategy, "AdaptiveRetryStrategy");
|
|
213
|
-
var AdaptiveRetryStrategy = _AdaptiveRetryStrategy;
|
|
214
216
|
|
|
215
217
|
// src/configurations.ts
|
|
216
218
|
var import_util_middleware = require("@smithy/util-middleware");
|
|
@@ -298,7 +300,6 @@ var import_smithy_client = require("@smithy/smithy-client");
|
|
|
298
300
|
|
|
299
301
|
var import_isStreamingPayload = require("./isStreamingPayload/isStreamingPayload");
|
|
300
302
|
var retryMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {
|
|
301
|
-
var _a;
|
|
302
303
|
let retryStrategy = await options.retryStrategy();
|
|
303
304
|
const maxAttempts = await options.maxAttempts();
|
|
304
305
|
if (isRetryStrategyV2(retryStrategy)) {
|
|
@@ -326,7 +327,7 @@ var retryMiddleware = /* @__PURE__ */ __name((options) => (next, context) => asy
|
|
|
326
327
|
const retryErrorInfo = getRetryErrorInfo(e);
|
|
327
328
|
lastError = asSdkError(e);
|
|
328
329
|
if (isRequest && (0, import_isStreamingPayload.isStreamingPayload)(request)) {
|
|
329
|
-
(
|
|
330
|
+
(context.logger instanceof import_smithy_client.NoOpLogger ? console : context.logger)?.warn(
|
|
330
331
|
"An error was encountered in a non-retryable streaming request."
|
|
331
332
|
);
|
|
332
333
|
throw lastError;
|
|
@@ -349,7 +350,7 @@ var retryMiddleware = /* @__PURE__ */ __name((options) => (next, context) => asy
|
|
|
349
350
|
}
|
|
350
351
|
} else {
|
|
351
352
|
retryStrategy = retryStrategy;
|
|
352
|
-
if (retryStrategy
|
|
353
|
+
if (retryStrategy?.mode)
|
|
353
354
|
context.userAgent = [...context.userAgent || [], ["cfg/retry-mode", retryStrategy.mode]];
|
|
354
355
|
return retryStrategy.retry(next, args);
|
|
355
356
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
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 middleware-retry",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@smithy/node-config-provider": "^
|
|
37
|
-
"@smithy/protocol-http": "^
|
|
38
|
-
"@smithy/service-error-classification": "^
|
|
39
|
-
"@smithy/smithy-client": "^
|
|
40
|
-
"@smithy/types": "^
|
|
41
|
-
"@smithy/util-middleware": "^
|
|
42
|
-
"@smithy/util-retry": "^
|
|
36
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
37
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
38
|
+
"@smithy/service-error-classification": "^4.0.0",
|
|
39
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
40
|
+
"@smithy/types": "^4.0.0",
|
|
41
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
42
|
+
"@smithy/util-retry": "^4.0.0",
|
|
43
43
|
"tslib": "^2.6.2",
|
|
44
44
|
"uuid": "^9.0.1"
|
|
45
45
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"typedoc": "0.23.23"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
|
-
"node": ">=
|
|
55
|
+
"node": ">=18.0.0"
|
|
56
56
|
},
|
|
57
57
|
"typesVersions": {
|
|
58
58
|
"<4.0": {
|
|
@@ -56,8 +56,7 @@ var deserializerMiddleware = /* @__PURE__ */ __name((options, deserializer) => (
|
|
|
56
56
|
|
|
57
57
|
// src/serializerMiddleware.ts
|
|
58
58
|
var serializerMiddleware = /* @__PURE__ */ __name((options, serializer) => (next, context) => async (args) => {
|
|
59
|
-
|
|
60
|
-
const endpoint = ((_a = context.endpointV2) == null ? void 0 : _a.url) && options.urlParser ? async () => options.urlParser(context.endpointV2.url) : options.endpoint;
|
|
59
|
+
const endpoint = context.endpointV2?.url && options.urlParser ? async () => options.urlParser(context.endpointV2.url) : options.endpoint;
|
|
61
60
|
if (!endpoint) {
|
|
62
61
|
throw new Error("No valid endpoint provider available.");
|
|
63
62
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-serde",
|
|
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 middleware-serde",
|
|
@@ -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": {
|
|
@@ -82,14 +82,13 @@ var constructStack = /* @__PURE__ */ __name(() => {
|
|
|
82
82
|
return isRemoved;
|
|
83
83
|
}, "removeByReference");
|
|
84
84
|
const cloneTo = /* @__PURE__ */ __name((toStack) => {
|
|
85
|
-
var _a;
|
|
86
85
|
absoluteEntries.forEach((entry) => {
|
|
87
86
|
toStack.add(entry.middleware, { ...entry });
|
|
88
87
|
});
|
|
89
88
|
relativeEntries.forEach((entry) => {
|
|
90
89
|
toStack.addRelativeTo(entry.middleware, { ...entry });
|
|
91
90
|
});
|
|
92
|
-
|
|
91
|
+
toStack.identifyOnResolve?.(stack.identifyOnResolve());
|
|
93
92
|
return toStack;
|
|
94
93
|
}, "cloneTo");
|
|
95
94
|
const expandRelativeMiddlewareList = /* @__PURE__ */ __name((from) => {
|
|
@@ -181,10 +180,7 @@ var constructStack = /* @__PURE__ */ __name(() => {
|
|
|
181
180
|
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
182
181
|
for (const alias of aliases) {
|
|
183
182
|
const toOverrideIndex = absoluteEntries.findIndex(
|
|
184
|
-
(entry2) =>
|
|
185
|
-
var _a;
|
|
186
|
-
return entry2.name === alias || ((_a = entry2.aliases) == null ? void 0 : _a.some((a) => a === alias));
|
|
187
|
-
}
|
|
183
|
+
(entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias)
|
|
188
184
|
);
|
|
189
185
|
if (toOverrideIndex === -1) {
|
|
190
186
|
continue;
|
|
@@ -217,10 +213,7 @@ var constructStack = /* @__PURE__ */ __name(() => {
|
|
|
217
213
|
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
218
214
|
for (const alias of aliases) {
|
|
219
215
|
const toOverrideIndex = relativeEntries.findIndex(
|
|
220
|
-
(entry2) =>
|
|
221
|
-
var _a;
|
|
222
|
-
return entry2.name === alias || ((_a = entry2.aliases) == null ? void 0 : _a.some((a) => a === alias));
|
|
223
|
-
}
|
|
216
|
+
(entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias)
|
|
224
217
|
);
|
|
225
218
|
if (toOverrideIndex === -1) {
|
|
226
219
|
continue;
|
|
@@ -269,11 +262,10 @@ var constructStack = /* @__PURE__ */ __name(() => {
|
|
|
269
262
|
return isRemoved;
|
|
270
263
|
},
|
|
271
264
|
concat: (from) => {
|
|
272
|
-
var _a;
|
|
273
265
|
const cloned = cloneTo(constructStack());
|
|
274
266
|
cloned.use(from);
|
|
275
267
|
cloned.identifyOnResolve(
|
|
276
|
-
identifyOnResolve || cloned.identifyOnResolve() || (
|
|
268
|
+
identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false)
|
|
277
269
|
);
|
|
278
270
|
return cloned;
|
|
279
271
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-stack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
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'",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"module": "./dist-es/index.js",
|
|
27
27
|
"types": "./dist-types/index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/types": "^
|
|
29
|
+
"@smithy/types": "^4.0.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"typedoc": "0.23.23"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
|
-
"node": ">=
|
|
39
|
+
"node": ">=18.0.0"
|
|
40
40
|
},
|
|
41
41
|
"typesVersions": {
|
|
42
42
|
"<4.0": {
|
|
@@ -2,7 +2,13 @@ import { Provider } from "@smithy/types";
|
|
|
2
2
|
import { GetterFromEnv } from "./fromEnv";
|
|
3
3
|
import { GetterFromConfig, SharedConfigInit } from "./fromSharedConfigFiles";
|
|
4
4
|
import { FromStaticConfig } from "./fromStatic";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
5
8
|
export type LocalConfigOptions = SharedConfigInit;
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
6
12
|
export interface LoadedConfigSelectors<T> {
|
|
7
13
|
/**
|
|
8
14
|
* A getter function getting the config values from all the environment
|
|
@@ -19,4 +25,7 @@ export interface LoadedConfigSelectors<T> {
|
|
|
19
25
|
*/
|
|
20
26
|
default: FromStaticConfig<T>;
|
|
21
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
22
31
|
export declare const loadConfig: <T = string>({ environmentVariableSelector, configFileSelector, default: defaultValue }: LoadedConfigSelectors<T>, configuration?: LocalConfigOptions) => Provider<T>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
2
2
|
import { ParsedIniData, Profile, Provider } from "@smithy/types";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export interface SharedConfigInit extends SourceProfileInit {
|
|
4
7
|
/**
|
|
5
8
|
* The preferred shared ini file to load the config. "config" option refers to
|
|
@@ -8,8 +11,12 @@ export interface SharedConfigInit extends SourceProfileInit {
|
|
|
8
11
|
*/
|
|
9
12
|
preferredFile?: "config" | "credentials";
|
|
10
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
11
17
|
export type GetterFromConfig<T> = (profile: Profile, configFile?: ParsedIniData) => T | undefined;
|
|
12
18
|
/**
|
|
13
19
|
* Get config value from the shared config files with inferred profile name.
|
|
20
|
+
* @internal
|
|
14
21
|
*/
|
|
15
22
|
export declare const fromSharedConfigFiles: <T = string>(configSelector: GetterFromConfig<T>, { preferredFile, ...init }?: SharedConfigInit) => Provider<T>;
|
|
@@ -2,7 +2,13 @@ import { Provider } from "@smithy/types";
|
|
|
2
2
|
import { GetterFromEnv } from "./fromEnv";
|
|
3
3
|
import { GetterFromConfig, SharedConfigInit } from "./fromSharedConfigFiles";
|
|
4
4
|
import { FromStaticConfig } from "./fromStatic";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
5
8
|
export type LocalConfigOptions = SharedConfigInit;
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
6
12
|
export interface LoadedConfigSelectors<T> {
|
|
7
13
|
/**
|
|
8
14
|
* A getter function getting the config values from all the environment
|
|
@@ -19,4 +25,7 @@ export interface LoadedConfigSelectors<T> {
|
|
|
19
25
|
*/
|
|
20
26
|
default: FromStaticConfig<T>;
|
|
21
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
22
31
|
export declare const loadConfig: <T = string>({ environmentVariableSelector, configFileSelector, default: defaultValue }: LoadedConfigSelectors<T>, configuration?: LocalConfigOptions) => Provider<T>;
|
package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
2
2
|
import { ParsedIniData, Profile, Provider } from "@smithy/types";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export interface SharedConfigInit extends SourceProfileInit {
|
|
4
7
|
/**
|
|
5
8
|
* The preferred shared ini file to load the config. "config" option refers to
|
|
@@ -8,8 +11,12 @@ export interface SharedConfigInit extends SourceProfileInit {
|
|
|
8
11
|
*/
|
|
9
12
|
preferredFile?: "config" | "credentials";
|
|
10
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
11
17
|
export type GetterFromConfig<T> = (profile: Profile, configFile?: ParsedIniData) => T | undefined;
|
|
12
18
|
/**
|
|
13
19
|
* Get config value from the shared config files with inferred profile name.
|
|
20
|
+
* @internal
|
|
14
21
|
*/
|
|
15
22
|
export declare const fromSharedConfigFiles: <T = string>(configSelector: GetterFromConfig<T>, { preferredFile, ...init }?: SharedConfigInit) => Provider<T>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-config-provider",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
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'",
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/property-provider": "^
|
|
29
|
-
"@smithy/shared-ini-file-loader": "^
|
|
30
|
-
"@smithy/types": "^
|
|
28
|
+
"@smithy/property-provider": "^4.0.0",
|
|
29
|
+
"@smithy/shared-ini-file-loader": "^4.0.0",
|
|
30
|
+
"@smithy/types": "^4.0.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@types/node": "^
|
|
34
|
+
"@types/node": "^18.11.9",
|
|
35
35
|
"concurrently": "7.0.0",
|
|
36
36
|
"downlevel-dts": "0.10.1",
|
|
37
37
|
"rimraf": "3.0.2",
|
|
38
38
|
"typedoc": "0.23.23"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
|
-
"node": ">=
|
|
41
|
+
"node": ">=18.0.0"
|
|
42
42
|
},
|
|
43
43
|
"typesVersions": {
|
|
44
44
|
"<4.0": {
|