@ndlib/ndlib-cdk2 1.0.28 → 1.0.29
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/README.md +22 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/rds/postgres-stack.d.ts +27 -0
- package/lib/rds/postgres-stack.js +117 -0
- package/package.json +11 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -76
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/LICENSE +0 -201
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/README.md +0 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.d.ts +0 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js +0 -31
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.d.ts +0 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js +0 -108
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/LICENSE.txt +0 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/README.md +0 -142
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/index.js +0 -51
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/package.json +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/package.json +0 -37
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.d.ts +0 -37
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.html +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.js +0 -218
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.html +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.js +0 -284
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/package.json +0 -28
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/tsconfig.json +0 -23
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/credentialDefaultProvider.js +0 -29
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/credentialDefaultProvider.js +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/credentialDefaultProvider.d.ts +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/credentialDefaultProvider.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js +0 -29
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/credentialDefaultProvider.js +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/credentialDefaultProvider.d.ts +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/credentialDefaultProvider.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/CHANGELOG.md +0 -261
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/api-extractor.json +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/emitWarningIfUnsupportedVersion.js +0 -13
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +0 -60
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/index.js +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +0 -82
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getDateHeader.js +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getSkewCorrectedDate.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +0 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/index.js +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/isClockSkewed.js +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/coercing-serializers.js +0 -53
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/common.js +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/index.js +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/awsExpectUnion.js +0 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +0 -51
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +0 -57
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/emitWarningIfUnsupportedVersion.d.ts +0 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/index.d.ts +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -95
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getDateHeader.d.ts +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +0 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +0 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/index.d.ts +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/isClockSkewed.d.ts +0 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/coercing-serializers.d.ts +0 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/awsExpectUnion.d.ts +0 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/emitWarningIfUnsupportedVersion.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -21
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/index.d.ts +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -55
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getDateHeader.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/index.d.ts +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/isClockSkewed.d.ts +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/coercing-serializers.d.ts +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +0 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/awsExpectUnion.d.ts +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +0 -13
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +0 -13
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +0 -158
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.integ.js +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.js +0 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/scripts/lint.js +0 -24
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +0 -70
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +0 -25
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/index.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +0 -30
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +0 -134
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/index.ts +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +0 -244
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +0 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +0 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +0 -37
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +0 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +0 -32
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +0 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/index.ts +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.spec.ts +0 -76
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.ts +0 -72
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/common.ts +0 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/index.ts +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +0 -30
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +0 -60
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +0 -64
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.json +0 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.json +0 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.json +0 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/loadSts.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-es/loadSts.js +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/loadSts.d.ts +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/loadSts.d.ts +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/loadSts.js +0 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/loadSts.js +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/loadSts.d.ts +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/loadSts.d.ts +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-cjs/loadSsoOidc.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/loadSsoOidc.js +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/loadSsoOidc.d.ts +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/loadSsoOidc.d.ts +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/LICENSE +0 -201
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/README.md +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +0 -468
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js +0 -62
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +0 -182
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +0 -43
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Message.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js +0 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js +0 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js +0 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js +0 -690
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/index.js +0 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js +0 -30
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +0 -31
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts +0 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts +0 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts +0 -26
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +0 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts +0 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts +0 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +0 -31
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +0 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +0 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +0 -26
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +0 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +0 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +0 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +0 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts +0 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/package.json +0 -61
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CHANGELOG.md +0 -229
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/LICENSE.md +0 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/README.md +0 -505
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/bin/uuid +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js +0 -19
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v35.js +0 -64
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js +0 -24
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js +0 -29
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v35.js +0 -64
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js +0 -24
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js +0 -79
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5-browser.js +0 -223
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js +0 -23
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js +0 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js +0 -45
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js +0 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng-browser.js +0 -26
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js +0 -24
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js +0 -23
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js +0 -39
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js +0 -107
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js +0 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js +0 -78
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js +0 -37
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js +0 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js +0 -21
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/package.json +0 -135
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/wrapper.mjs +0 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js +0 -589
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js +0 -22
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js +0 -1011
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/package.json +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js +0 -24
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js +0 -585
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js +0 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js +0 -995
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/package.json +0 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js +0 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
|
@@ -1,70 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./emitWarningIfUnsupportedVersion";
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,134 +0,0 @@
|
|
|
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;
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
doesIdentityRequireRefresh,
|
|
3
|
-
isIdentityExpired,
|
|
4
|
-
memoizeIdentityProvider,
|
|
5
|
-
normalizeProvider,
|
|
6
|
-
} from "@smithy/core";
|
|
7
|
-
import { SignatureV4, SignatureV4CryptoInit, SignatureV4Init } from "@smithy/signature-v4";
|
|
8
|
-
import {
|
|
9
|
-
AuthScheme,
|
|
10
|
-
AwsCredentialIdentity,
|
|
11
|
-
AwsCredentialIdentityProvider,
|
|
12
|
-
ChecksumConstructor,
|
|
13
|
-
HashConstructor,
|
|
14
|
-
MemoizedProvider,
|
|
15
|
-
Provider,
|
|
16
|
-
RegionInfo,
|
|
17
|
-
RegionInfoProvider,
|
|
18
|
-
RequestSigner,
|
|
19
|
-
} from "@smithy/types";
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
|
-
export interface AwsSdkSigV4AuthInputConfig {
|
|
25
|
-
/**
|
|
26
|
-
* The credentials used to sign requests.
|
|
27
|
-
*/
|
|
28
|
-
credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* The signer to use when signing requests.
|
|
32
|
-
*/
|
|
33
|
-
signer?: RequestSigner | ((authScheme?: AuthScheme) => Promise<RequestSigner>);
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Whether to escape request path when signing the request.
|
|
37
|
-
*/
|
|
38
|
-
signingEscapePath?: boolean;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* An offset value in milliseconds to apply to all signing times.
|
|
42
|
-
*/
|
|
43
|
-
systemClockOffset?: number;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* The region where you want to sign your request against. This
|
|
47
|
-
* can be different to the region in the endpoint.
|
|
48
|
-
*/
|
|
49
|
-
signingRegion?: string;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* The injectable SigV4-compatible signer class constructor. If not supplied,
|
|
53
|
-
* regular SignatureV4 constructor will be used.
|
|
54
|
-
*
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
signerConstructor?: new (options: SignatureV4Init & SignatureV4CryptoInit) => RequestSigner;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
export interface AwsSdkSigV4PreviouslyResolved {
|
|
64
|
-
credentialDefaultProvider?: (input: any) => MemoizedProvider<AwsCredentialIdentity>;
|
|
65
|
-
region: string | Provider<string>;
|
|
66
|
-
sha256: ChecksumConstructor | HashConstructor;
|
|
67
|
-
signingName?: string;
|
|
68
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
69
|
-
defaultSigningName?: string;
|
|
70
|
-
serviceId: string;
|
|
71
|
-
useFipsEndpoint: Provider<boolean>;
|
|
72
|
-
useDualstackEndpoint: Provider<boolean>;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
export interface AwsSdkSigV4AuthResolvedConfig {
|
|
79
|
-
/**
|
|
80
|
-
* Resolved value for input config {@link AwsSdkSigV4AuthInputConfig.credentials}
|
|
81
|
-
* This provider MAY memoize the loaded credentials for certain period.
|
|
82
|
-
* See {@link MemoizedProvider} for more information.
|
|
83
|
-
*/
|
|
84
|
-
credentials: AwsCredentialIdentityProvider;
|
|
85
|
-
/**
|
|
86
|
-
* Resolved value for input config {@link AwsSdkSigV4AuthInputConfig.signer}
|
|
87
|
-
*/
|
|
88
|
-
signer: (authScheme?: AuthScheme) => Promise<RequestSigner>;
|
|
89
|
-
/**
|
|
90
|
-
* Resolved value for input config {@link AwsSdkSigV4AuthInputConfig.signingEscapePath}
|
|
91
|
-
*/
|
|
92
|
-
signingEscapePath: boolean;
|
|
93
|
-
/**
|
|
94
|
-
* Resolved value for input config {@link AwsSdkSigV4AuthInputConfig.systemClockOffset}
|
|
95
|
-
*/
|
|
96
|
-
systemClockOffset: number;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
export const resolveAwsSdkSigV4Config = <T>(
|
|
103
|
-
config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
104
|
-
): T & AwsSdkSigV4AuthResolvedConfig => {
|
|
105
|
-
// Normalize credentials
|
|
106
|
-
let normalizedCreds: AwsCredentialIdentityProvider | undefined;
|
|
107
|
-
if (config.credentials) {
|
|
108
|
-
normalizedCreds = memoizeIdentityProvider(config.credentials, isIdentityExpired, doesIdentityRequireRefresh);
|
|
109
|
-
}
|
|
110
|
-
if (!normalizedCreds) {
|
|
111
|
-
// credentialDefaultProvider should always be populated, but in case
|
|
112
|
-
// it isn't, set a default identity provider that throws an error
|
|
113
|
-
if (config.credentialDefaultProvider) {
|
|
114
|
-
normalizedCreds = normalizeProvider(
|
|
115
|
-
config.credentialDefaultProvider(
|
|
116
|
-
Object.assign({}, config as any, {
|
|
117
|
-
parentClientConfig: config,
|
|
118
|
-
})
|
|
119
|
-
)
|
|
120
|
-
);
|
|
121
|
-
} else {
|
|
122
|
-
normalizedCreds = async () => {
|
|
123
|
-
throw new Error("`credentials` is missing");
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
// Populate sigv4 arguments
|
|
129
|
-
const {
|
|
130
|
-
// Default for signingEscapePath
|
|
131
|
-
signingEscapePath = true,
|
|
132
|
-
// Default for systemClockOffset
|
|
133
|
-
systemClockOffset = config.systemClockOffset || 0,
|
|
134
|
-
// No default for sha256 since it is platform dependent
|
|
135
|
-
sha256,
|
|
136
|
-
} = config;
|
|
137
|
-
|
|
138
|
-
// Resolve signer
|
|
139
|
-
let signer: (authScheme?: AuthScheme) => Promise<RequestSigner>;
|
|
140
|
-
if (config.signer) {
|
|
141
|
-
// if signer is supplied by user, normalize it to a function returning a promise for signer.
|
|
142
|
-
signer = normalizeProvider(config.signer);
|
|
143
|
-
} else if (config.regionInfoProvider) {
|
|
144
|
-
// This branch is for endpoints V1.
|
|
145
|
-
// construct a provider inferring signing from region.
|
|
146
|
-
signer = () =>
|
|
147
|
-
normalizeProvider(config.region)()
|
|
148
|
-
.then(
|
|
149
|
-
async (region) =>
|
|
150
|
-
[
|
|
151
|
-
(await config.regionInfoProvider!(region, {
|
|
152
|
-
useFipsEndpoint: await config.useFipsEndpoint(),
|
|
153
|
-
useDualstackEndpoint: await config.useDualstackEndpoint(),
|
|
154
|
-
})) || {},
|
|
155
|
-
region,
|
|
156
|
-
] as [RegionInfo, string]
|
|
157
|
-
)
|
|
158
|
-
.then(([regionInfo, region]) => {
|
|
159
|
-
const { signingRegion, signingService } = regionInfo;
|
|
160
|
-
// update client's singing region and signing service config if they are resolved.
|
|
161
|
-
// signing region resolving order: user supplied signingRegion -> endpoints.json inferred region -> client region
|
|
162
|
-
config.signingRegion = config.signingRegion || signingRegion || region;
|
|
163
|
-
// signing name resolving order:
|
|
164
|
-
// user supplied signingName -> endpoints.json inferred (credential scope -> model arnNamespace) -> model service id
|
|
165
|
-
config.signingName = config.signingName || signingService || config.serviceId;
|
|
166
|
-
|
|
167
|
-
const params: SignatureV4Init & SignatureV4CryptoInit = {
|
|
168
|
-
...config,
|
|
169
|
-
credentials: normalizedCreds!,
|
|
170
|
-
region: config.signingRegion,
|
|
171
|
-
service: config.signingName,
|
|
172
|
-
sha256,
|
|
173
|
-
uriEscapePath: signingEscapePath,
|
|
174
|
-
};
|
|
175
|
-
const SignerCtor = config.signerConstructor || SignatureV4;
|
|
176
|
-
return new SignerCtor(params);
|
|
177
|
-
});
|
|
178
|
-
} else {
|
|
179
|
-
// This branch is for endpoints V2.
|
|
180
|
-
// Handle endpoints v2 that resolved per-command
|
|
181
|
-
// TODO: need total refactor for reference auth architecture.
|
|
182
|
-
signer = async (authScheme?: AuthScheme) => {
|
|
183
|
-
authScheme = Object.assign(
|
|
184
|
-
{},
|
|
185
|
-
{
|
|
186
|
-
name: "sigv4",
|
|
187
|
-
signingName: config.signingName || config.defaultSigningName!,
|
|
188
|
-
signingRegion: await normalizeProvider(config.region)(),
|
|
189
|
-
properties: {},
|
|
190
|
-
},
|
|
191
|
-
authScheme
|
|
192
|
-
);
|
|
193
|
-
|
|
194
|
-
const signingRegion = authScheme.signingRegion;
|
|
195
|
-
const signingService = authScheme.signingName;
|
|
196
|
-
// update client's singing region and signing service config if they are resolved.
|
|
197
|
-
// signing region resolving order: user supplied signingRegion -> endpoints.json inferred region -> client region
|
|
198
|
-
config.signingRegion = config.signingRegion || signingRegion;
|
|
199
|
-
// signing name resolving order:
|
|
200
|
-
// user supplied signingName -> endpoints.json inferred (credential scope -> model arnNamespace) -> model service id
|
|
201
|
-
config.signingName = config.signingName || signingService || config.serviceId;
|
|
202
|
-
|
|
203
|
-
const params: SignatureV4Init & SignatureV4CryptoInit = {
|
|
204
|
-
...config,
|
|
205
|
-
credentials: normalizedCreds!,
|
|
206
|
-
region: config.signingRegion,
|
|
207
|
-
service: config.signingName,
|
|
208
|
-
sha256,
|
|
209
|
-
uriEscapePath: signingEscapePath,
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
const SignerCtor = config.signerConstructor || SignatureV4;
|
|
213
|
-
return new SignerCtor(params);
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
return {
|
|
218
|
-
...config,
|
|
219
|
-
systemClockOffset,
|
|
220
|
-
signingEscapePath,
|
|
221
|
-
credentials: normalizedCreds!,
|
|
222
|
-
signer,
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* @deprecated renamed to {@link AwsSdkSigV4AuthInputConfig}
|
|
228
|
-
*/
|
|
229
|
-
export interface AWSSDKSigV4AuthInputConfig extends AwsSdkSigV4AuthInputConfig {}
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* @deprecated renamed to {@link AwsSdkSigV4PreviouslyResolved}
|
|
233
|
-
*/
|
|
234
|
-
export interface AWSSDKSigV4PreviouslyResolved extends AwsSdkSigV4PreviouslyResolved {}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* @deprecated renamed to {@link AwsSdkSigV4AuthResolvedConfig}
|
|
238
|
-
*/
|
|
239
|
-
export interface AWSSDKSigV4AuthResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @deprecated renamed to {@link resolveAwsSdkSigV4Config}
|
|
243
|
-
*/
|
|
244
|
-
export const resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./aws_sdk";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { getSkewCorrectedDate } from "./getSkewCorrectedDate";
|
|
2
|
-
|
|
3
|
-
describe(getSkewCorrectedDate.name, () => {
|
|
4
|
-
const mockDateNow = Date.now();
|
|
5
|
-
|
|
6
|
-
beforeEach(() => {
|
|
7
|
-
jest.spyOn(Date, "now").mockReturnValue(mockDateNow);
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
afterEach(() => {
|
|
11
|
-
jest.clearAllMocks();
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
it.each([-100000, -100, 0, 100, 100000])("systemClockOffset: %d", (systemClockOffset) => {
|
|
15
|
-
expect(getSkewCorrectedDate(systemClockOffset)).toStrictEqual(new Date(mockDateNow + systemClockOffset));
|
|
16
|
-
});
|
|
17
|
-
});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @internal
|
|
3
|
-
*
|
|
4
|
-
* Returns a date that is corrected for clock skew.
|
|
5
|
-
*
|
|
6
|
-
* @param systemClockOffset The offset of the system clock in milliseconds.
|
|
7
|
-
*/
|
|
8
|
-
export const getSkewCorrectedDate = (systemClockOffset: number) => new Date(Date.now() + systemClockOffset);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { getUpdatedSystemClockOffset } from "./getUpdatedSystemClockOffset";
|
|
2
|
-
import { isClockSkewed } from "./isClockSkewed";
|
|
3
|
-
|
|
4
|
-
jest.mock("./isClockSkewed");
|
|
5
|
-
|
|
6
|
-
describe(getUpdatedSystemClockOffset.name, () => {
|
|
7
|
-
// Mock ServerTime is accurate to last second, to remove milliseconds information.
|
|
8
|
-
const mockClockTime = new Date(Math.floor(Date.now() / 1000) * 1000);
|
|
9
|
-
const mockSystemClockOffset = 100;
|
|
10
|
-
|
|
11
|
-
afterEach(() => {
|
|
12
|
-
jest.clearAllMocks();
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it("returns passed systemClockOffset when clock is not skewed", () => {
|
|
16
|
-
(isClockSkewed as jest.Mock).mockReturnValue(false);
|
|
17
|
-
expect(getUpdatedSystemClockOffset(mockClockTime.toString(), mockSystemClockOffset)).toEqual(mockSystemClockOffset);
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
describe("returns difference between serverTime and current time when clock is skewed", () => {
|
|
21
|
-
const dateDotNowFn = Date.now;
|
|
22
|
-
|
|
23
|
-
beforeEach(() => {
|
|
24
|
-
(isClockSkewed as jest.Mock).mockReturnValue(true);
|
|
25
|
-
jest.spyOn(Date, "now").mockReturnValueOnce(mockClockTime.getTime());
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
afterEach(() => {
|
|
29
|
-
Date.now = dateDotNowFn;
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
it.each([1000, 100000])("difference: %d", (difference) => {
|
|
33
|
-
const updatedClockTime = new Date(mockClockTime.getTime() + difference);
|
|
34
|
-
expect(getUpdatedSystemClockOffset(updatedClockTime.toString(), mockSystemClockOffset)).toEqual(difference);
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { isClockSkewed } from "./isClockSkewed";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*
|
|
6
|
-
* If clock is skewed, it returns the difference between serverTime and current time.
|
|
7
|
-
* If clock is not skewed, it returns currentSystemClockOffset.
|
|
8
|
-
*
|
|
9
|
-
* @param clockTime The string value of the server time.
|
|
10
|
-
* @param currentSystemClockOffset The current system clock offset.
|
|
11
|
-
*/
|
|
12
|
-
export const getUpdatedSystemClockOffset = (clockTime: string, currentSystemClockOffset: number): number => {
|
|
13
|
-
const clockTimeInMs = Date.parse(clockTime);
|
|
14
|
-
if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {
|
|
15
|
-
return clockTimeInMs - Date.now();
|
|
16
|
-
}
|
|
17
|
-
return currentSystemClockOffset;
|
|
18
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { getSkewCorrectedDate } from "./getSkewCorrectedDate";
|
|
2
|
-
import { isClockSkewed } from "./isClockSkewed";
|
|
3
|
-
|
|
4
|
-
jest.mock("./getSkewCorrectedDate");
|
|
5
|
-
|
|
6
|
-
describe(isClockSkewed.name, () => {
|
|
7
|
-
const mockSystemClockOffset = 100;
|
|
8
|
-
const mockSkewCorrectedDate = new Date();
|
|
9
|
-
|
|
10
|
-
beforeEach(() => {
|
|
11
|
-
(getSkewCorrectedDate as jest.Mock).mockReturnValue(mockSkewCorrectedDate);
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
afterEach(() => {
|
|
15
|
-
expect(getSkewCorrectedDate).toHaveBeenCalledWith(mockSystemClockOffset);
|
|
16
|
-
jest.clearAllMocks();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
describe("returns true for time difference >=300000", () => {
|
|
20
|
-
it.each([300000, 500000])("difference: %d", (difference) => {
|
|
21
|
-
expect(isClockSkewed(mockSkewCorrectedDate.getTime() + difference, mockSystemClockOffset)).toBe(true);
|
|
22
|
-
expect(isClockSkewed(mockSkewCorrectedDate.getTime() - difference, mockSystemClockOffset)).toBe(true);
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
describe("returns false for time difference <300000", () => {
|
|
27
|
-
it.each([299999, 100000, 0])("difference: %d", (difference) => {
|
|
28
|
-
expect(isClockSkewed(mockSkewCorrectedDate.getTime() + difference, mockSystemClockOffset)).toBe(false);
|
|
29
|
-
expect(isClockSkewed(mockSkewCorrectedDate.getTime() - difference, mockSystemClockOffset)).toBe(false);
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { getSkewCorrectedDate } from "./getSkewCorrectedDate";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*
|
|
6
|
-
* Checks if the provided date is within the skew window of 300000ms.
|
|
7
|
-
*
|
|
8
|
-
* @param clockTime - The time to check for skew in milliseconds.
|
|
9
|
-
* @param systemClockOffset - The offset of the system clock in milliseconds.
|
|
10
|
-
*/
|
|
11
|
-
export const isClockSkewed = (clockTime: number, systemClockOffset: number) =>
|
|
12
|
-
Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000;
|