@ndlib/ndlib-cdk2 1.0.24 → 1.0.26
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/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/CHANGELOG.md +76 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/LICENSE +201 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/README.md +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js +31 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js +108 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/LICENSE.txt +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/README.md +142 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/index.js +51 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/package.json +37 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.d.ts +37 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.html +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.js +218 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.html +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.js +284 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/package.json +28 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/index.ts +92 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/tsconfig.json +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/credentialDefaultProvider.js +29 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/credentialDefaultProvider.js +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/credentialDefaultProvider.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js +29 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/credentialDefaultProvider.js +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/credentialDefaultProvider.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/CHANGELOG.md +261 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/api-extractor.json +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/emitWarningIfUnsupportedVersion.js +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +60 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/index.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +82 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getDateHeader.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/index.js +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/isClockSkewed.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/coercing-serializers.js +53 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/common.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/index.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/awsExpectUnion.js +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +51 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +57 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/emitWarningIfUnsupportedVersion.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +95 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/index.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/coercing-serializers.d.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/awsExpectUnion.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/emitWarningIfUnsupportedVersion.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +55 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/index.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/isClockSkewed.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/coercing-serializers.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/awsExpectUnion.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +158 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.integ.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.js +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/scripts/lint.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +70 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +25 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/index.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +134 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/index.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +244 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +37 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +32 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/index.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.spec.ts +76 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.ts +72 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/common.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/index.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +60 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +64 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.json +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.json +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.json +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/loadSts.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-es/loadSts.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/loadSts.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/loadSts.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/loadSts.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/loadSts.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/loadSts.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/loadSts.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-cjs/loadSsoOidc.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/loadSsoOidc.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/loadSsoOidc.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/loadSsoOidc.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/LICENSE +201 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/README.md +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +468 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js +62 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +182 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +43 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Message.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js +690 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/index.js +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +31 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +31 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/package.json +61 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CHANGELOG.md +229 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/LICENSE.md +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/README.md +505 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/bin/uuid +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v35.js +64 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js +29 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v35.js +64 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js +79 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5-browser.js +223 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js +45 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng-browser.js +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js +39 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js +107 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js +78 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js +37 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/package.json +135 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/wrapper.mjs +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js +589 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js +152 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts +94 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js +1011 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js +585 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js +148 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts +94 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js +995 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js.map +1 -0
- package/lib/newman-runner.js +1 -1
- package/lib/static-host/static-host.js +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HttpResponse, SerdeContext } from "@smithy/types";
|
|
2
|
+
export declare const parseJsonBody: (
|
|
3
|
+
streamBody: any,
|
|
4
|
+
context: SerdeContext
|
|
5
|
+
) => any;
|
|
6
|
+
export declare const parseJsonErrorBody: (
|
|
7
|
+
errorBody: any,
|
|
8
|
+
context: SerdeContext
|
|
9
|
+
) => Promise<any>;
|
|
10
|
+
export declare const loadRestJsonErrorCode: (
|
|
11
|
+
output: HttpResponse,
|
|
12
|
+
data: any
|
|
13
|
+
) => string | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HttpResponse, SerdeContext } from "@smithy/types";
|
|
2
|
+
export declare const parseXmlBody: (
|
|
3
|
+
streamBody: any,
|
|
4
|
+
context: SerdeContext
|
|
5
|
+
) => any;
|
|
6
|
+
export declare const parseXmlErrorBody: (
|
|
7
|
+
errorBody: any,
|
|
8
|
+
context: SerdeContext
|
|
9
|
+
) => Promise<any>;
|
|
10
|
+
export declare const loadRestXmlErrorCode: (
|
|
11
|
+
output: HttpResponse,
|
|
12
|
+
data: any
|
|
13
|
+
) => string | undefined;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { Kinesis } from "@aws-sdk/client-kinesis";
|
|
2
|
+
import { S3 } from "@aws-sdk/client-s3";
|
|
3
|
+
import { TranscribeStreaming } from "@aws-sdk/client-transcribe-streaming";
|
|
4
|
+
import { WebSocketFetchHandler } from "@aws-sdk/middleware-websocket";
|
|
5
|
+
import { XhrHttpHandler } from "@aws-sdk/xhr-http-handler";
|
|
6
|
+
import { FetchHttpHandler } from "@smithy/fetch-http-handler";
|
|
7
|
+
import { NodeHttp2Handler, NodeHttpHandler } from "@smithy/node-http-handler";
|
|
8
|
+
import { Agent } from "https";
|
|
9
|
+
|
|
10
|
+
describe("request handler initialization", () => {
|
|
11
|
+
describe("http", () => {
|
|
12
|
+
it("should init with instances", async () => {
|
|
13
|
+
let instance: NodeHttpHandler;
|
|
14
|
+
let agentInstance: Agent;
|
|
15
|
+
const client = new S3({
|
|
16
|
+
requestHandler: (instance = new NodeHttpHandler({
|
|
17
|
+
requestTimeout: 2_000,
|
|
18
|
+
httpsAgent: (agentInstance = new Agent({ maxSockets: 25 })),
|
|
19
|
+
})),
|
|
20
|
+
});
|
|
21
|
+
expect(client.config.requestHandler).toBe(instance);
|
|
22
|
+
(instance as any).config = await (instance as any).configProvider;
|
|
23
|
+
expect((instance as any).config.httpsAgent).toBe(agentInstance);
|
|
24
|
+
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
|
25
|
+
expect(agentInstance.maxSockets).toEqual(25);
|
|
26
|
+
});
|
|
27
|
+
it("should init with Agent pass-through", async () => {
|
|
28
|
+
let instance: NodeHttpHandler;
|
|
29
|
+
const client = new S3({
|
|
30
|
+
requestHandler: (instance = new NodeHttpHandler({
|
|
31
|
+
requestTimeout: 2_000,
|
|
32
|
+
httpsAgent: { maxSockets: 25 },
|
|
33
|
+
})),
|
|
34
|
+
});
|
|
35
|
+
expect(client.config.requestHandler).toBe(instance);
|
|
36
|
+
(instance as any).config = await (instance as any).configProvider;
|
|
37
|
+
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
|
38
|
+
expect((instance as any).config.httpsAgent.maxSockets).toEqual(25);
|
|
39
|
+
});
|
|
40
|
+
it("should init with ctor pass-through with Agent instance", async () => {
|
|
41
|
+
let agentInstance: Agent;
|
|
42
|
+
const client = new S3({
|
|
43
|
+
requestHandler: {
|
|
44
|
+
requestTimeout: 2_000,
|
|
45
|
+
httpsAgent: (agentInstance = new Agent({ maxSockets: 25 })),
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
expect(client.config.requestHandler).toBeInstanceOf(NodeHttpHandler);
|
|
49
|
+
const instance = client.config.requestHandler;
|
|
50
|
+
(instance as any).config = await (instance as any).configProvider;
|
|
51
|
+
expect((instance as any).config.httpsAgent).toBe(agentInstance);
|
|
52
|
+
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
|
53
|
+
expect(agentInstance.maxSockets).toEqual(25);
|
|
54
|
+
});
|
|
55
|
+
it("should init with ctor and Agent pass-through", async () => {
|
|
56
|
+
const client = new S3({
|
|
57
|
+
requestHandler: {
|
|
58
|
+
requestTimeout: 2_000,
|
|
59
|
+
httpsAgent: {
|
|
60
|
+
maxSockets: 25,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
expect(client.config.requestHandler).toBeInstanceOf(NodeHttpHandler);
|
|
65
|
+
const instance = client.config.requestHandler;
|
|
66
|
+
(instance as any).config = await (instance as any).configProvider;
|
|
67
|
+
expect((instance as any).config.httpsAgent).toBeInstanceOf(Agent);
|
|
68
|
+
const agentInstance = (instance as any).config.httpsAgent;
|
|
69
|
+
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
|
70
|
+
expect(agentInstance.maxSockets).toEqual(25);
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
describe("http2", () => {
|
|
75
|
+
it("should init with instances", async () => {
|
|
76
|
+
let instance: NodeHttp2Handler;
|
|
77
|
+
const client = new Kinesis({
|
|
78
|
+
requestHandler: (instance = new NodeHttp2Handler({
|
|
79
|
+
requestTimeout: 2_000,
|
|
80
|
+
})),
|
|
81
|
+
});
|
|
82
|
+
expect(client.config.requestHandler).toBe(instance);
|
|
83
|
+
(instance as any).config = await (instance as any).configProvider;
|
|
84
|
+
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
|
85
|
+
});
|
|
86
|
+
it("should init with ctor pass-through", async () => {
|
|
87
|
+
const client = new Kinesis({
|
|
88
|
+
requestHandler: {
|
|
89
|
+
requestTimeout: 2_000,
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
expect(client.config.requestHandler).toBeInstanceOf(NodeHttp2Handler);
|
|
93
|
+
const instance = client.config.requestHandler;
|
|
94
|
+
(instance as any).config = await (instance as any).configProvider;
|
|
95
|
+
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
describe("fetch", () => {
|
|
100
|
+
it("should init with instances", async () => {
|
|
101
|
+
let instance: FetchHttpHandler;
|
|
102
|
+
const handler = FetchHttpHandler.create((instance = new FetchHttpHandler({ requestTimeout: 2_000 })));
|
|
103
|
+
expect(handler).toBe(instance);
|
|
104
|
+
expect((instance as any).config.requestTimeout).toEqual(2_000);
|
|
105
|
+
});
|
|
106
|
+
it("should init with ctor pass-through", async () => {
|
|
107
|
+
const handler = FetchHttpHandler.create({ requestTimeout: 2_000 });
|
|
108
|
+
expect(handler).toBeInstanceOf(FetchHttpHandler);
|
|
109
|
+
expect((handler as any).config.requestTimeout).toEqual(2_000);
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
describe("websocket", () => {
|
|
114
|
+
it("should init with instances", async () => {
|
|
115
|
+
let instance: WebSocketFetchHandler;
|
|
116
|
+
const handler = WebSocketFetchHandler.create(
|
|
117
|
+
(instance = new WebSocketFetchHandler({ connectionTimeout: 2_000 }))
|
|
118
|
+
);
|
|
119
|
+
const client = new TranscribeStreaming({
|
|
120
|
+
requestHandler: handler,
|
|
121
|
+
});
|
|
122
|
+
expect(client.config.requestHandler).toBe(instance);
|
|
123
|
+
expect(handler).toBe(instance);
|
|
124
|
+
expect((await (handler as any).configPromise).connectionTimeout).toEqual(2_000);
|
|
125
|
+
});
|
|
126
|
+
it("should init with ctor pass-through", async () => {
|
|
127
|
+
const handler = WebSocketFetchHandler.create({ connectionTimeout: 2_000 });
|
|
128
|
+
const client = new TranscribeStreaming({
|
|
129
|
+
requestHandler: handler,
|
|
130
|
+
});
|
|
131
|
+
expect(client.config.requestHandler).toBe(handler);
|
|
132
|
+
expect(handler).toBeInstanceOf(WebSocketFetchHandler);
|
|
133
|
+
expect((await (handler as any).configPromise).connectionTimeout).toEqual(2_000);
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
describe("xhr", () => {
|
|
138
|
+
it("should init with instances", async () => {
|
|
139
|
+
let instance: XhrHttpHandler;
|
|
140
|
+
const handler = XhrHttpHandler.create((instance = new XhrHttpHandler({ requestTimeout: 2_000 })));
|
|
141
|
+
const client = new S3({
|
|
142
|
+
requestHandler: instance,
|
|
143
|
+
});
|
|
144
|
+
expect(client.config.requestHandler).toBe(handler);
|
|
145
|
+
expect(handler).toBe(instance);
|
|
146
|
+
expect((handler as any).config.requestTimeout).toEqual(2_000);
|
|
147
|
+
});
|
|
148
|
+
it("should init with ctor pass-through", async () => {
|
|
149
|
+
const handler = XhrHttpHandler.create({ requestTimeout: 2_000 });
|
|
150
|
+
const client = new S3({
|
|
151
|
+
requestHandler: handler,
|
|
152
|
+
});
|
|
153
|
+
expect(client.config.requestHandler).toBe(handler);
|
|
154
|
+
expect(handler).toBeInstanceOf(XhrHttpHandler);
|
|
155
|
+
expect((handler as any).config.requestTimeout).toEqual(2_000);
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
});
|
package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/scripts/lint.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const fs = require("fs");
|
|
2
|
+
const path = require("path");
|
|
3
|
+
const assert = require("assert");
|
|
4
|
+
|
|
5
|
+
const root = path.join(__dirname, "..");
|
|
6
|
+
|
|
7
|
+
const pkgJson = require(path.join(root, "package.json"));
|
|
8
|
+
const srcFolders = fs.readdirSync(path.join(root, "src"));
|
|
9
|
+
|
|
10
|
+
assert(pkgJson.exports === undefined, "We cannot support package.json exports yet.");
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* We probably can't enable package.json exports until
|
|
14
|
+
* dropping support for Node.js 14.x and TypeScript 4.6.
|
|
15
|
+
*/
|
|
16
|
+
process.exit(0);
|
|
17
|
+
|
|
18
|
+
for (const srcFolder of srcFolders) {
|
|
19
|
+
if (fs.lstatSync(path.join(root, "src", srcFolder)).isDirectory()) {
|
|
20
|
+
if (!pkgJson.exports["./" + srcFolder]) {
|
|
21
|
+
throw new Error(`${srcFolder} is missing exports statement in package.json`);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
describe("emitWarningIfUnsupportedVersion", () => {
|
|
2
|
+
let emitWarningIfUnsupportedVersion;
|
|
3
|
+
const emitWarning = process.emitWarning;
|
|
4
|
+
const supportedVersion = "16.0.0";
|
|
5
|
+
|
|
6
|
+
beforeEach(() => {
|
|
7
|
+
const module = require("./emitWarningIfUnsupportedVersion");
|
|
8
|
+
emitWarningIfUnsupportedVersion = module.emitWarningIfUnsupportedVersion;
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
afterEach(() => {
|
|
12
|
+
jest.clearAllMocks();
|
|
13
|
+
jest.resetModules();
|
|
14
|
+
process.emitWarning = emitWarning;
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
describe(`emits warning for Node.js <${supportedVersion}`, () => {
|
|
18
|
+
const getPreviousMajorVersion = (major: number) => (major === 0 ? 0 : major - 1);
|
|
19
|
+
|
|
20
|
+
const getPreviousMinorVersion = ([major, minor]: [number, number]) =>
|
|
21
|
+
minor === 0 ? [getPreviousMajorVersion(major), 9] : [major, minor - 1];
|
|
22
|
+
|
|
23
|
+
const getPreviousPatchVersion = ([major, minor, patch]: [number, number, number]) =>
|
|
24
|
+
patch === 0 ? [...getPreviousMinorVersion([major, minor]), 9] : [major, minor, patch - 1];
|
|
25
|
+
|
|
26
|
+
const [major, minor, patch] = supportedVersion.split(".").map(Number);
|
|
27
|
+
it.each(
|
|
28
|
+
[
|
|
29
|
+
getPreviousPatchVersion([major, minor, patch]),
|
|
30
|
+
[...getPreviousMinorVersion([major, minor]), 0],
|
|
31
|
+
[getPreviousMajorVersion(major), 0, 0],
|
|
32
|
+
].map((arr) => `v${arr.join(".")}`)
|
|
33
|
+
)(`%s`, async (unsupportedVersion) => {
|
|
34
|
+
process.emitWarning = jest.fn();
|
|
35
|
+
emitWarningIfUnsupportedVersion(unsupportedVersion);
|
|
36
|
+
|
|
37
|
+
// Verify that the warning was emitted.
|
|
38
|
+
expect(process.emitWarning).toHaveBeenCalledTimes(1);
|
|
39
|
+
expect(process.emitWarning).toHaveBeenCalledWith(
|
|
40
|
+
`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
|
41
|
+
no longer support Node.js 14.x on May 1, 2024.
|
|
42
|
+
|
|
43
|
+
To continue receiving updates to AWS services, bug fixes, and security
|
|
44
|
+
updates please upgrade to an active Node.js LTS version.
|
|
45
|
+
|
|
46
|
+
More information can be found at: https://a.co/dzr2AJd`
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
// Verify that the warning emits only once.
|
|
50
|
+
emitWarningIfUnsupportedVersion(unsupportedVersion);
|
|
51
|
+
expect(process.emitWarning).toHaveBeenCalledTimes(1);
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
describe(`emits no warning for Node.js >=${supportedVersion}`, () => {
|
|
56
|
+
const [major, minor, patch] = supportedVersion.split(".").map(Number);
|
|
57
|
+
it.each(
|
|
58
|
+
[
|
|
59
|
+
[major, minor, patch],
|
|
60
|
+
[major, minor, patch + 1],
|
|
61
|
+
[major, minor + 1, 0],
|
|
62
|
+
[major + 1, 0, 0],
|
|
63
|
+
].map((arr) => `v${arr.join(".")}`)
|
|
64
|
+
)(`%s`, async (unsupportedVersion) => {
|
|
65
|
+
process.emitWarning = jest.fn();
|
|
66
|
+
emitWarningIfUnsupportedVersion(unsupportedVersion);
|
|
67
|
+
expect(process.emitWarning).not.toHaveBeenCalled();
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Stores whether the warning was already emitted.
|
|
2
|
+
let warningEmitted = false;
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*
|
|
7
|
+
* Emits warning if the provided Node.js version string is
|
|
8
|
+
* pending deprecation by AWS SDK JSv3.
|
|
9
|
+
*
|
|
10
|
+
* @param version - The Node.js version string.
|
|
11
|
+
*/
|
|
12
|
+
export const emitWarningIfUnsupportedVersion = (version: string) => {
|
|
13
|
+
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
14
|
+
warningEmitted = true;
|
|
15
|
+
process.emitWarning(
|
|
16
|
+
`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
|
17
|
+
no longer support Node.js 14.x on May 1, 2024.
|
|
18
|
+
|
|
19
|
+
To continue receiving updates to AWS services, bug fixes, and security
|
|
20
|
+
updates please upgrade to an active Node.js LTS version.
|
|
21
|
+
|
|
22
|
+
More information can be found at: https://a.co/dzr2AJd`
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
};
|
package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./emitWarningIfUnsupportedVersion";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "./AwsSdkSigV4Signer";
|
|
2
|
+
|
|
3
|
+
describe(AwsSdkSigV4Signer.name, () => {
|
|
4
|
+
it("sets clockSkewCorrected metadata in error handler if systemClockOffset was updated", async () => {
|
|
5
|
+
const signer = new AwsSdkSigV4Signer();
|
|
6
|
+
|
|
7
|
+
let error: Error | any;
|
|
8
|
+
try {
|
|
9
|
+
signer.errorHandler({
|
|
10
|
+
config: {
|
|
11
|
+
systemClockOffset: 30 * 60 * 1000,
|
|
12
|
+
},
|
|
13
|
+
})(
|
|
14
|
+
Object.assign(new Error("uh oh"), {
|
|
15
|
+
$metadata: {},
|
|
16
|
+
$response: {
|
|
17
|
+
headers: {
|
|
18
|
+
date: new Date().toISOString(),
|
|
19
|
+
},
|
|
20
|
+
statusCode: 500,
|
|
21
|
+
},
|
|
22
|
+
})
|
|
23
|
+
);
|
|
24
|
+
} catch (e) {
|
|
25
|
+
error = e as Error;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
expect((error as any).$metadata.clockSkewCorrected).toBe(true);
|
|
29
|
+
});
|
|
30
|
+
});
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { HttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import { ServiceException } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
AuthScheme,
|
|
5
|
+
AwsCredentialIdentity,
|
|
6
|
+
HandlerExecutionContext,
|
|
7
|
+
HttpRequest as IHttpRequest,
|
|
8
|
+
HttpResponse,
|
|
9
|
+
HttpSigner,
|
|
10
|
+
RequestSigner,
|
|
11
|
+
} from "@smithy/types";
|
|
12
|
+
|
|
13
|
+
import { getDateHeader, getSkewCorrectedDate, getUpdatedSystemClockOffset } from "../utils";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
const throwSigningPropertyError = <T>(name: string, property: T | undefined): T | never => {
|
|
19
|
+
if (!property) {
|
|
20
|
+
throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`);
|
|
21
|
+
}
|
|
22
|
+
return property;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
interface AwsSdkSigV4Config {
|
|
29
|
+
systemClockOffset: number;
|
|
30
|
+
signer: (authScheme?: AuthScheme) => Promise<RequestSigner>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
interface AwsSdkSigV4AuthSigningProperties {
|
|
37
|
+
config: AwsSdkSigV4Config;
|
|
38
|
+
signer: RequestSigner;
|
|
39
|
+
signingRegion?: string;
|
|
40
|
+
signingName?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
interface AwsSdkSigV4Exception extends ServiceException {
|
|
47
|
+
ServerTime?: string;
|
|
48
|
+
$metadata: ServiceException["$metadata"] & {
|
|
49
|
+
clockSkewCorrected?: boolean;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
const validateSigningProperties = async (
|
|
57
|
+
signingProperties: Record<string, unknown>
|
|
58
|
+
): Promise<AwsSdkSigV4AuthSigningProperties> => {
|
|
59
|
+
const context = throwSigningPropertyError(
|
|
60
|
+
"context",
|
|
61
|
+
signingProperties.context as HandlerExecutionContext | undefined
|
|
62
|
+
);
|
|
63
|
+
const config = throwSigningPropertyError("config", signingProperties.config as AwsSdkSigV4Config | undefined);
|
|
64
|
+
const authScheme = context.endpointV2?.properties?.authSchemes?.[0];
|
|
65
|
+
const signerFunction = throwSigningPropertyError(
|
|
66
|
+
"signer",
|
|
67
|
+
config.signer as ((authScheme?: AuthScheme) => Promise<RequestSigner>) | undefined
|
|
68
|
+
);
|
|
69
|
+
const signer = await signerFunction(authScheme);
|
|
70
|
+
const signingRegion: string | undefined = signingProperties?.signingRegion as string | undefined;
|
|
71
|
+
const signingName = signingProperties?.signingName as string | undefined;
|
|
72
|
+
return {
|
|
73
|
+
config,
|
|
74
|
+
signer,
|
|
75
|
+
signingRegion,
|
|
76
|
+
signingName,
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
export class AwsSdkSigV4Signer implements HttpSigner {
|
|
84
|
+
async sign(
|
|
85
|
+
httpRequest: IHttpRequest,
|
|
86
|
+
/**
|
|
87
|
+
* `identity` is bound in {@link resolveAWSSDKSigV4Config}
|
|
88
|
+
*/
|
|
89
|
+
identity: AwsCredentialIdentity,
|
|
90
|
+
signingProperties: Record<string, unknown>
|
|
91
|
+
): Promise<IHttpRequest> {
|
|
92
|
+
if (!HttpRequest.isInstance(httpRequest)) {
|
|
93
|
+
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
94
|
+
}
|
|
95
|
+
const { config, signer, signingRegion, signingName } = await validateSigningProperties(signingProperties);
|
|
96
|
+
|
|
97
|
+
const signedRequest = await signer.sign(httpRequest, {
|
|
98
|
+
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
99
|
+
signingRegion: signingRegion,
|
|
100
|
+
signingService: signingName,
|
|
101
|
+
});
|
|
102
|
+
return signedRequest;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
errorHandler(signingProperties: Record<string, unknown>): (error: Error) => never {
|
|
106
|
+
return (error: Error) => {
|
|
107
|
+
const serverTime: string | undefined =
|
|
108
|
+
(error as AwsSdkSigV4Exception).ServerTime ?? getDateHeader((error as AwsSdkSigV4Exception).$response);
|
|
109
|
+
if (serverTime) {
|
|
110
|
+
const config = throwSigningPropertyError("config", signingProperties.config as AwsSdkSigV4Config | undefined);
|
|
111
|
+
const initialSystemClockOffset = config.systemClockOffset;
|
|
112
|
+
config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
|
|
113
|
+
const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;
|
|
114
|
+
if (clockSkewCorrected && (error as AwsSdkSigV4Exception).$metadata) {
|
|
115
|
+
(error as AwsSdkSigV4Exception).$metadata.clockSkewCorrected = true;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
throw error;
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
successHandler(httpResponse: HttpResponse | unknown, signingProperties: Record<string, unknown>): void {
|
|
123
|
+
const dateHeader = getDateHeader(httpResponse);
|
|
124
|
+
if (dateHeader) {
|
|
125
|
+
const config = throwSigningPropertyError("config", signingProperties.config as AwsSdkSigV4Config | undefined);
|
|
126
|
+
config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @deprecated renamed to {@link AwsSdkSigV4Signer}
|
|
133
|
+
*/
|
|
134
|
+
export const AWSSDKSigV4Signer = AwsSdkSigV4Signer;
|