@mavogel/awscdk-rootmail 0.0.56 → 0.0.58
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/package.json +42 -42
- package/node_modules/@aws-sdk/client-route-53/package.json +42 -42
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +4 -12
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +19 -19
- package/node_modules/@aws-sdk/client-s3/package.json +56 -56
- package/node_modules/@aws-sdk/client-ses/package.json +40 -40
- package/node_modules/@aws-sdk/client-ssm/package.json +40 -40
- package/node_modules/@aws-sdk/client-sso/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +38 -38
- package/node_modules/@aws-sdk/client-sts/package.json +38 -38
- package/node_modules/@aws-sdk/core/README.md +35 -1
- package/node_modules/@aws-sdk/core/client.js +5 -0
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +5 -437
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +226 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +228 -0
- package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-types/index.d.ts +22 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/httpAuthSchemes.js +5 -0
- package/node_modules/@aws-sdk/core/package.json +44 -7
- package/node_modules/@aws-sdk/core/protocols.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +8 -9
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-route53/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-signing/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -4
- package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +2 -2
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +3 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +3 -4
- package/node_modules/@smithy/chunked-blob-reader/package.json +1 -2
- package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -3
- package/node_modules/@smithy/config-resolver/package.json +6 -7
- package/node_modules/@smithy/core/package.json +10 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -8
- package/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js +25 -569
- package/node_modules/@smithy/eventstream-codec/package.json +5 -6
- package/node_modules/@smithy/eventstream-serde-browser/package.json +4 -5
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +3 -4
- package/node_modules/@smithy/eventstream-serde-node/package.json +5 -6
- package/node_modules/@smithy/eventstream-serde-universal/package.json +6 -7
- package/node_modules/@smithy/fetch-http-handler/README.md +7 -0
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -9
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +10 -3
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +11 -6
- package/node_modules/@smithy/fetch-http-handler/package.json +8 -25
- package/node_modules/@smithy/hash-blob-browser/package.json +7 -24
- package/node_modules/@smithy/hash-node/package.json +6 -7
- package/node_modules/@smithy/hash-stream-node/package.json +6 -7
- package/node_modules/@smithy/invalid-dependency/package.json +2 -3
- package/node_modules/@smithy/is-array-buffer/package.json +2 -3
- package/node_modules/@smithy/md5-js/package.json +6 -7
- package/node_modules/@smithy/middleware-content-length/package.json +5 -6
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -9
- package/node_modules/@smithy/middleware-retry/package.json +10 -11
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +1 -1
- package/node_modules/@smithy/middleware-serde/package.json +4 -5
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +7 -4
- package/node_modules/@smithy/middleware-stack/package.json +3 -4
- package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -1
- package/node_modules/@smithy/node-config-provider/package.json +6 -7
- package/node_modules/@smithy/node-http-handler/README.md +5 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +46 -15
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +39 -12
- package/node_modules/@smithy/node-http-handler/package.json +7 -8
- package/node_modules/@smithy/property-provider/package.json +3 -4
- package/node_modules/@smithy/protocol-http/package.json +3 -4
- package/node_modules/@smithy/querystring-builder/package.json +4 -5
- package/node_modules/@smithy/querystring-parser/package.json +3 -4
- package/node_modules/@smithy/service-error-classification/package.json +3 -4
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -5
- package/node_modules/@smithy/signature-v4/package.json +9 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js +1 -1
- package/node_modules/@smithy/smithy-client/package.json +8 -9
- package/node_modules/@smithy/types/dist-types/client.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +5 -5
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +9 -1
- package/node_modules/@smithy/types/package.json +2 -3
- package/node_modules/@smithy/url-parser/package.json +3 -4
- package/node_modules/@smithy/util-base64/package.json +5 -6
- package/node_modules/@smithy/util-body-length-browser/package.json +1 -2
- package/node_modules/@smithy/util-body-length-node/package.json +3 -4
- package/node_modules/@smithy/util-buffer-from/package.json +4 -5
- package/node_modules/@smithy/util-config-provider/package.json +3 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -6
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -9
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +1 -1
- package/node_modules/@smithy/util-endpoints/package.json +5 -6
- package/node_modules/@smithy/util-hex-encoding/package.json +2 -3
- package/node_modules/@smithy/util-middleware/package.json +4 -5
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/util-retry/package.json +5 -6
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +8 -2
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +8 -2
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +1 -1
- package/node_modules/@smithy/util-stream/package.json +13 -29
- package/node_modules/@smithy/util-uri-escape/package.json +2 -3
- package/node_modules/@smithy/util-utf8/package.json +3 -4
- package/node_modules/@smithy/util-waiter/package.json +4 -5
- package/node_modules/cdk-nag/.jsii +2 -2
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/package.json +3 -3
- package/package.json +10 -10
- package/node_modules/@aws-sdk/core/CHANGELOG.md +0 -315
- package/node_modules/@aws-sdk/core/api-extractor.json +0 -4
- package/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/client/index.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +0 -1
- package/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +0 -158
- package/node_modules/@aws-sdk/core/jest.config.integ.js +0 -4
- package/node_modules/@aws-sdk/core/jest.config.js +0 -6
- package/node_modules/@aws-sdk/core/scripts/lint.js +0 -24
- package/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +0 -70
- package/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +0 -26
- package/node_modules/@aws-sdk/core/src/client/index.ts +0 -1
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +0 -30
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +0 -134
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/index.ts +0 -2
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +0 -244
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +0 -1
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +0 -7
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +0 -17
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +0 -8
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +0 -37
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +0 -18
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +0 -3
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +0 -32
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +0 -12
- package/node_modules/@aws-sdk/core/src/index.ts +0 -3
- package/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.spec.ts +0 -76
- package/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.ts +0 -72
- package/node_modules/@aws-sdk/core/src/protocols/common.ts +0 -5
- package/node_modules/@aws-sdk/core/src/protocols/index.ts +0 -4
- package/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +0 -30
- package/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +0 -17
- package/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +0 -60
- package/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.spec.ts +0 -60
- package/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +0 -64
- package/node_modules/@aws-sdk/core/tsconfig.cjs.json +0 -9
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +0 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.json +0 -9
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +0 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.json +0 -9
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +0 -1
- /package/node_modules/@aws-sdk/core/dist-es/{client → submodules/client}/emitWarningIfUnsupportedVersion.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{client → submodules/client}/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/coercing-serializers.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/common.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/json/awsExpectUnion.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/json/parseJsonBody.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/xml/parseXmlBody.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{client → submodules/client}/emitWarningIfUnsupportedVersion.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{client → submodules/client}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/coercing-serializers.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/common.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/json/awsExpectUnion.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/json/parseJsonBody.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/xml/parseXmlBody.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{client → submodules/client}/emitWarningIfUnsupportedVersion.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{client → submodules/client}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/coercing-serializers.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/common.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/json/awsExpectUnion.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/json/parseJsonBody.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/xml/parseXmlBody.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InvokeFunction, InvokeMethod } from "../client";
|
|
1
|
+
import type { InvokeFunction, InvokeMethod, InvokeMethodOptionalArgs } from "../client";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*
|
|
@@ -46,8 +46,8 @@ export type RecursiveRequired<T> = T extends Function ? T : [T] extends [object]
|
|
|
46
46
|
*/
|
|
47
47
|
type NarrowClientIOTypes<ClientType extends object> = {
|
|
48
48
|
[key in keyof ClientType]: [ClientType[key]] extends [
|
|
49
|
-
|
|
50
|
-
] ? InvokeFunction<NoUndefined<InputTypes>, NoUndefined<OutputTypes>, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : ClientType[key];
|
|
49
|
+
InvokeMethodOptionalArgs<infer FunctionInputTypes, infer FunctionOutputTypes>
|
|
50
|
+
] ? InvokeMethodOptionalArgs<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : [ClientType[key]] extends [InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>] ? InvokeFunction<NoUndefined<InputTypes>, NoUndefined<OutputTypes>, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : ClientType[key];
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
53
|
* @internal
|
|
@@ -56,7 +56,7 @@ type NarrowClientIOTypes<ClientType extends object> = {
|
|
|
56
56
|
*/
|
|
57
57
|
type UncheckedClientOutputTypes<ClientType extends object> = {
|
|
58
58
|
[key in keyof ClientType]: [ClientType[key]] extends [
|
|
59
|
-
|
|
60
|
-
] ? InvokeFunction<NoUndefined<InputTypes>, RecursiveRequired<OutputTypes>, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : ClientType[key];
|
|
59
|
+
InvokeMethodOptionalArgs<infer FunctionInputTypes, infer FunctionOutputTypes>
|
|
60
|
+
] ? InvokeMethodOptionalArgs<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : [ClientType[key]] extends [InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>] ? InvokeFunction<NoUndefined<InputTypes>, RecursiveRequired<OutputTypes>, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : ClientType[key];
|
|
61
61
|
};
|
|
62
62
|
export {};
|
|
@@ -31,6 +31,18 @@ export interface InvokeMethod<InputType extends object, OutputType extends Metad
|
|
|
31
31
|
(input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void;
|
|
32
32
|
(input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise<OutputType> | void;
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*
|
|
37
|
+
* Signature that appears on aggregated clients' methods when argument is optional.
|
|
38
|
+
*/
|
|
39
|
+
export interface InvokeMethodOptionalArgs<InputType extends object, OutputType extends MetadataBearer> {
|
|
40
|
+
(): Promise<OutputType>;
|
|
41
|
+
(input: InputType, options?: any): Promise<OutputType>;
|
|
42
|
+
(input: InputType, cb: (err: any, data?: OutputType) => void): void;
|
|
43
|
+
(input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void;
|
|
44
|
+
(input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise<OutputType> | void;
|
|
45
|
+
}
|
|
34
46
|
/**
|
|
35
47
|
* A general interface for service clients, idempotent to browser or node clients
|
|
36
48
|
* This type corresponds to SmithyClient(https://github.com/aws/aws-sdk-js-v3/blob/main/packages/smithy-client/src/client.ts).
|
|
@@ -34,7 +34,7 @@ export interface HttpResponse extends HttpMessage {
|
|
|
34
34
|
* @public
|
|
35
35
|
*
|
|
36
36
|
* Represents an HTTP message with headers and an optional static or streaming
|
|
37
|
-
* body.
|
|
37
|
+
* body. body: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream;
|
|
38
38
|
*/
|
|
39
39
|
export interface HttpMessage {
|
|
40
40
|
headers: HeaderBag;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InvokeFunction, InvokeMethod } from "../client";
|
|
1
|
+
import { InvokeFunction, InvokeMethod, InvokeMethodOptionalArgs } from "../client";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*
|
|
@@ -55,6 +55,10 @@ export type RecursiveRequired<T> = T extends Function ? T : [
|
|
|
55
55
|
type NarrowClientIOTypes<ClientType extends object> = {
|
|
56
56
|
[key in keyof ClientType]: [
|
|
57
57
|
ClientType[key]
|
|
58
|
+
] extends [
|
|
59
|
+
InvokeMethodOptionalArgs<infer FunctionInputTypes, infer FunctionOutputTypes>
|
|
60
|
+
] ? InvokeMethodOptionalArgs<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : [
|
|
61
|
+
ClientType[key]
|
|
58
62
|
] extends [
|
|
59
63
|
InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>
|
|
60
64
|
] ? InvokeFunction<NoUndefined<InputTypes>, NoUndefined<OutputTypes>, ConfigType> : [
|
|
@@ -71,6 +75,10 @@ type NarrowClientIOTypes<ClientType extends object> = {
|
|
|
71
75
|
type UncheckedClientOutputTypes<ClientType extends object> = {
|
|
72
76
|
[key in keyof ClientType]: [
|
|
73
77
|
ClientType[key]
|
|
78
|
+
] extends [
|
|
79
|
+
InvokeMethodOptionalArgs<infer FunctionInputTypes, infer FunctionOutputTypes>
|
|
80
|
+
] ? InvokeMethodOptionalArgs<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : [
|
|
81
|
+
ClientType[key]
|
|
74
82
|
] extends [
|
|
75
83
|
InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>
|
|
76
84
|
] ? InvokeFunction<NoUndefined<InputTypes>, RecursiveRequired<OutputTypes>, ConfigType> : [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.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 types",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
|
-
"node": ">=
|
|
30
|
+
"node": ">=16.0.0"
|
|
31
31
|
},
|
|
32
32
|
"typesVersions": {
|
|
33
33
|
"<=4.0": {
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"directory": "packages/types"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@tsconfig/recommended": "1.0.1",
|
|
50
49
|
"concurrently": "7.0.0",
|
|
51
50
|
"downlevel-dts": "0.10.1",
|
|
52
51
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/url-parser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.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 url-parser",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/querystring-parser": "^
|
|
26
|
-
"@smithy/types": "^
|
|
25
|
+
"@smithy/querystring-parser": "^3.0.0",
|
|
26
|
+
"@smithy/types": "^3.0.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"typesVersions": {
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"directory": "packages/url-parser"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@tsconfig/recommended": "1.0.1",
|
|
47
46
|
"concurrently": "7.0.0",
|
|
48
47
|
"downlevel-dts": "0.10.1",
|
|
49
48
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-base64",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "A Base64 <-> UInt8Array converter",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -22,13 +22,12 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/util-buffer-from": "^
|
|
26
|
-
"@smithy/util-utf8": "^
|
|
25
|
+
"@smithy/util-buffer-from": "^3.0.0",
|
|
26
|
+
"@smithy/util-utf8": "^3.0.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@types/node": "^14.14.31",
|
|
30
|
+
"@types/node": "^16.18.96",
|
|
32
31
|
"concurrently": "7.0.0",
|
|
33
32
|
"downlevel-dts": "0.10.1",
|
|
34
33
|
"rimraf": "3.0.2",
|
|
@@ -36,7 +35,7 @@
|
|
|
36
35
|
},
|
|
37
36
|
"types": "./dist-types/index.d.ts",
|
|
38
37
|
"engines": {
|
|
39
|
-
"node": ">=
|
|
38
|
+
"node": ">=16.0.0"
|
|
40
39
|
},
|
|
41
40
|
"typesVersions": {
|
|
42
41
|
"<4.0": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-body-length-browser",
|
|
3
3
|
"description": "Determines the length of a request body in browsers",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
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 util-body-length-browser",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"directory": "packages/util-body-length-browser"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@tsconfig/recommended": "1.0.1",
|
|
46
45
|
"concurrently": "7.0.0",
|
|
47
46
|
"downlevel-dts": "0.10.1",
|
|
48
47
|
"rimraf": "3.0.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-body-length-node",
|
|
3
3
|
"description": "Determines the length of a request body in node.js",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
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 util-body-length-node",
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"test": "yarn g:jest"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@
|
|
19
|
-
"@types/node": "^14.14.31",
|
|
18
|
+
"@types/node": "^16.18.96",
|
|
20
19
|
"concurrently": "7.0.0",
|
|
21
20
|
"downlevel-dts": "0.10.1",
|
|
22
21
|
"rimraf": "3.0.2",
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
"tslib": "^2.6.2"
|
|
35
34
|
},
|
|
36
35
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
36
|
+
"node": ">=16.0.0"
|
|
38
37
|
},
|
|
39
38
|
"typesVersions": {
|
|
40
39
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-buffer-from",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.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 util-buffer-from",
|
|
@@ -19,12 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@smithy/is-array-buffer": "^
|
|
22
|
+
"@smithy/is-array-buffer": "^3.0.0",
|
|
23
23
|
"tslib": "^2.6.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@
|
|
27
|
-
"@types/node": "^14.14.31",
|
|
26
|
+
"@types/node": "^16.18.96",
|
|
28
27
|
"concurrently": "7.0.0",
|
|
29
28
|
"downlevel-dts": "0.10.1",
|
|
30
29
|
"rimraf": "3.0.2",
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
"module": "./dist-es/index.js",
|
|
35
34
|
"types": "./dist-types/index.d.ts",
|
|
36
35
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
36
|
+
"node": ">=16.0.0"
|
|
38
37
|
},
|
|
39
38
|
"typesVersions": {
|
|
40
39
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-config-provider",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Utilities package for configuration providers",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -27,15 +27,14 @@
|
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@types/node": "^14.14.31",
|
|
30
|
+
"@types/node": "^16.18.96",
|
|
32
31
|
"concurrently": "7.0.0",
|
|
33
32
|
"downlevel-dts": "0.10.1",
|
|
34
33
|
"rimraf": "3.0.2",
|
|
35
34
|
"typedoc": "0.23.23"
|
|
36
35
|
},
|
|
37
36
|
"engines": {
|
|
38
|
-
"node": ">=
|
|
37
|
+
"node": ">=16.0.0"
|
|
39
38
|
},
|
|
40
39
|
"typesVersions": {
|
|
41
40
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
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 util-defaults-mode-browser",
|
|
@@ -22,15 +22,14 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/property-provider": "^
|
|
26
|
-
"@smithy/smithy-client": "^
|
|
27
|
-
"@smithy/types": "^
|
|
25
|
+
"@smithy/property-provider": "^3.0.0",
|
|
26
|
+
"@smithy/smithy-client": "^3.0.1",
|
|
27
|
+
"@smithy/types": "^3.0.0",
|
|
28
28
|
"bowser": "^2.11.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@
|
|
33
|
-
"@types/node": "^14.14.31",
|
|
32
|
+
"@types/node": "^16.18.96",
|
|
34
33
|
"concurrently": "7.0.0",
|
|
35
34
|
"downlevel-dts": "0.10.1",
|
|
36
35
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
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 util-defaults-mode-node",
|
|
@@ -22,17 +22,16 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/config-resolver": "^
|
|
26
|
-
"@smithy/credential-provider-imds": "^
|
|
27
|
-
"@smithy/node-config-provider": "^
|
|
28
|
-
"@smithy/property-provider": "^
|
|
29
|
-
"@smithy/smithy-client": "^
|
|
30
|
-
"@smithy/types": "^
|
|
25
|
+
"@smithy/config-resolver": "^3.0.0",
|
|
26
|
+
"@smithy/credential-provider-imds": "^3.0.0",
|
|
27
|
+
"@smithy/node-config-provider": "^3.0.0",
|
|
28
|
+
"@smithy/property-provider": "^3.0.0",
|
|
29
|
+
"@smithy/smithy-client": "^3.0.1",
|
|
30
|
+
"@smithy/types": "^3.0.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@types/node": "^14.14.31",
|
|
34
|
+
"@types/node": "^16.18.96",
|
|
36
35
|
"concurrently": "7.0.0",
|
|
37
36
|
"downlevel-dts": "0.10.1",
|
|
38
37
|
"rimraf": "3.0.2",
|
|
@@ -278,7 +278,7 @@ var evaluateCondition = /* @__PURE__ */ __name(({ assign, ...fnArgs }, options)
|
|
|
278
278
|
throw new EndpointError(`'${assign}' is already defined in Reference Record.`);
|
|
279
279
|
}
|
|
280
280
|
const value = callFunction(fnArgs, options);
|
|
281
|
-
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, debugId
|
|
281
|
+
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, `${debugId} evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`);
|
|
282
282
|
return {
|
|
283
283
|
result: value === "" ? true : !!value,
|
|
284
284
|
...assign != null && { toAssign: { name: assign, value } }
|
|
@@ -302,7 +302,7 @@ var evaluateConditions = /* @__PURE__ */ __name((conditions = [], options) => {
|
|
|
302
302
|
}
|
|
303
303
|
if (toAssign) {
|
|
304
304
|
conditionsReferenceRecord[toAssign.name] = toAssign.value;
|
|
305
|
-
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, debugId
|
|
305
|
+
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, `${debugId} assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
return { result: true, referenceRecord: conditionsReferenceRecord };
|
|
@@ -379,7 +379,7 @@ var evaluateEndpointRule = /* @__PURE__ */ __name((endpointRule, options) => {
|
|
|
379
379
|
referenceRecord: { ...options.referenceRecord, ...referenceRecord }
|
|
380
380
|
};
|
|
381
381
|
const { url, properties, headers } = endpoint;
|
|
382
|
-
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, debugId
|
|
382
|
+
(_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, `${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`);
|
|
383
383
|
return {
|
|
384
384
|
...headers != void 0 && {
|
|
385
385
|
headers: getEndpointHeaders(headers, endpointRuleOptions)
|
|
@@ -6,7 +6,7 @@ export const evaluateCondition = ({ assign, ...fnArgs }, options) => {
|
|
|
6
6
|
throw new EndpointError(`'${assign}' is already defined in Reference Record.`);
|
|
7
7
|
}
|
|
8
8
|
const value = callFunction(fnArgs, options);
|
|
9
|
-
options.logger?.debug?.(debugId
|
|
9
|
+
options.logger?.debug?.(`${debugId} evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`);
|
|
10
10
|
return {
|
|
11
11
|
result: value === "" ? true : !!value,
|
|
12
12
|
...(assign != null && { toAssign: { name: assign, value } }),
|
|
@@ -15,7 +15,7 @@ export const evaluateConditions = (conditions = [], options) => {
|
|
|
15
15
|
}
|
|
16
16
|
if (toAssign) {
|
|
17
17
|
conditionsReferenceRecord[toAssign.name] = toAssign.value;
|
|
18
|
-
options.logger?.debug?.(debugId
|
|
18
|
+
options.logger?.debug?.(`${debugId} assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
return { result: true, referenceRecord: conditionsReferenceRecord };
|
|
@@ -14,7 +14,7 @@ export const evaluateEndpointRule = (endpointRule, options) => {
|
|
|
14
14
|
referenceRecord: { ...options.referenceRecord, ...referenceRecord },
|
|
15
15
|
};
|
|
16
16
|
const { url, properties, headers } = endpoint;
|
|
17
|
-
options.logger?.debug?.(debugId
|
|
17
|
+
options.logger?.debug?.(`${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`);
|
|
18
18
|
return {
|
|
19
19
|
...(headers != undefined && {
|
|
20
20
|
headers: getEndpointHeaders(headers, endpointRuleOptions),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-endpoints",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,13 +26,12 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/node-config-provider": "^
|
|
30
|
-
"@smithy/types": "^
|
|
29
|
+
"@smithy/node-config-provider": "^3.0.0",
|
|
30
|
+
"@smithy/types": "^3.0.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@types/node": "^14.14.31",
|
|
34
|
+
"@types/node": "^16.18.96",
|
|
36
35
|
"concurrently": "7.0.0",
|
|
37
36
|
"downlevel-dts": "0.10.1",
|
|
38
37
|
"rimraf": "3.0.2",
|
|
@@ -40,7 +39,7 @@
|
|
|
40
39
|
},
|
|
41
40
|
"types": "./dist-types/index.d.ts",
|
|
42
41
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
42
|
+
"node": ">=16.0.0"
|
|
44
43
|
},
|
|
45
44
|
"typesVersions": {
|
|
46
45
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-hex-encoding",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Converts binary buffers to and from lowercase hexadecimal encoding",
|
|
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
|
},
|
|
27
27
|
"types": "./dist-types/index.d.ts",
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": ">=
|
|
29
|
+
"node": ">=16.0.0"
|
|
30
30
|
},
|
|
31
31
|
"typesVersions": {
|
|
32
32
|
"<4.0": {
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"directory": "packages/util-hex-encoding"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@tsconfig/recommended": "1.0.1",
|
|
49
48
|
"concurrently": "7.0.0",
|
|
50
49
|
"downlevel-dts": "0.10.1",
|
|
51
50
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-middleware",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Shared utilities for to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,12 +26,11 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/types": "^
|
|
29
|
+
"@smithy/types": "^3.0.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@
|
|
34
|
-
"@types/node": "^14.14.31",
|
|
33
|
+
"@types/node": "^16.18.96",
|
|
35
34
|
"concurrently": "7.0.0",
|
|
36
35
|
"downlevel-dts": "0.10.1",
|
|
37
36
|
"rimraf": "3.0.2",
|
|
@@ -39,7 +38,7 @@
|
|
|
39
38
|
},
|
|
40
39
|
"types": "./dist-types/index.d.ts",
|
|
41
40
|
"engines": {
|
|
42
|
-
"node": ">=
|
|
41
|
+
"node": ">=16.0.0"
|
|
43
42
|
},
|
|
44
43
|
"typesVersions": {
|
|
45
44
|
"<4.0": {
|
|
@@ -204,6 +204,7 @@ var _StandardRetryStrategy = class _StandardRetryStrategy {
|
|
|
204
204
|
this.retryBackoffStrategy = getDefaultRetryBackoffStrategy();
|
|
205
205
|
this.maxAttemptsProvider = typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts;
|
|
206
206
|
}
|
|
207
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
207
208
|
async acquireInitialRetryToken(retryTokenScope) {
|
|
208
209
|
return createDefaultRetryToken({
|
|
209
210
|
retryDelay: DEFAULT_RETRY_DELAY_BASE,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-retry",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,13 +27,12 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/service-error-classification": "^
|
|
31
|
-
"@smithy/types": "^
|
|
30
|
+
"@smithy/service-error-classification": "^3.0.0",
|
|
31
|
+
"@smithy/types": "^3.0.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@
|
|
36
|
-
"@types/node": "^14.14.31",
|
|
35
|
+
"@types/node": "^16.18.96",
|
|
37
36
|
"concurrently": "7.0.0",
|
|
38
37
|
"downlevel-dts": "0.10.1",
|
|
39
38
|
"rimraf": "3.0.2",
|
|
@@ -41,7 +40,7 @@
|
|
|
41
40
|
},
|
|
42
41
|
"types": "./dist-types/index.d.ts",
|
|
43
42
|
"engines": {
|
|
44
|
-
"node": ">=
|
|
43
|
+
"node": ">=16.0.0"
|
|
45
44
|
},
|
|
46
45
|
"typesVersions": {
|
|
47
46
|
"<4.0": {
|
|
@@ -5,12 +5,18 @@ const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
|
5
5
|
const util_buffer_from_1 = require("@smithy/util-buffer-from");
|
|
6
6
|
const stream_1 = require("stream");
|
|
7
7
|
const util_1 = require("util");
|
|
8
|
+
const sdk_stream_mixin_browser_1 = require("./sdk-stream-mixin.browser");
|
|
8
9
|
const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
9
10
|
const sdkStreamMixin = (stream) => {
|
|
10
11
|
var _a, _b;
|
|
11
12
|
if (!(stream instanceof stream_1.Readable)) {
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
try {
|
|
14
|
+
return (0, sdk_stream_mixin_browser_1.sdkStreamMixin)(stream);
|
|
15
|
+
}
|
|
16
|
+
catch (e) {
|
|
17
|
+
const name = ((_b = (_a = stream === null || stream === void 0 ? void 0 : stream.__proto__) === null || _a === void 0 ? void 0 : _a.constructor) === null || _b === void 0 ? void 0 : _b.name) || stream;
|
|
18
|
+
throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${name}`);
|
|
19
|
+
}
|
|
14
20
|
}
|
|
15
21
|
let transformed = false;
|
|
16
22
|
const transformToByteArray = async () => {
|
|
@@ -2,11 +2,17 @@ import { streamCollector } from "@smithy/node-http-handler";
|
|
|
2
2
|
import { fromArrayBuffer } from "@smithy/util-buffer-from";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
4
|
import { TextDecoder } from "util";
|
|
5
|
+
import { sdkStreamMixin as sdkStreamMixinReadableStream } from "./sdk-stream-mixin.browser";
|
|
5
6
|
const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
6
7
|
export const sdkStreamMixin = (stream) => {
|
|
7
8
|
if (!(stream instanceof Readable)) {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
try {
|
|
10
|
+
return sdkStreamMixinReadableStream(stream);
|
|
11
|
+
}
|
|
12
|
+
catch (e) {
|
|
13
|
+
const name = stream?.__proto__?.constructor?.name || stream;
|
|
14
|
+
throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${name}`);
|
|
15
|
+
}
|
|
10
16
|
}
|
|
11
17
|
let transformed = false;
|
|
12
18
|
const transformToByteArray = async () => {
|