@ndlib/ndlib-cdk2 1.0.25 → 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.
Files changed (322) hide show
  1. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/CHANGELOG.md +76 -0
  2. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/LICENSE +201 -0
  3. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/README.md +16 -0
  4. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.d.ts +7 -0
  5. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js +31 -0
  6. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js.map +1 -0
  7. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.d.ts +7 -0
  8. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js +108 -0
  9. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js.map +1 -0
  10. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/CopyrightNotice.txt +15 -0
  11. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/LICENSE.txt +12 -0
  12. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/README.md +142 -0
  13. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/index.js +51 -0
  14. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/package.json +3 -0
  15. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/package.json +37 -0
  16. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +23 -0
  17. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +6 -0
  18. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.d.ts +37 -0
  19. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.html +1 -0
  20. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.js +218 -0
  21. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.html +1 -0
  22. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.js +284 -0
  23. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/package.json +28 -0
  24. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +24 -0
  25. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/index.ts +92 -0
  26. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/tsconfig.json +23 -0
  27. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/credentialDefaultProvider.js +29 -0
  28. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/credentialDefaultProvider.js +3 -0
  29. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/credentialDefaultProvider.d.ts +4 -0
  30. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
  31. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js +29 -0
  32. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/credentialDefaultProvider.js +3 -0
  33. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/credentialDefaultProvider.d.ts +4 -0
  34. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
  35. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/CHANGELOG.md +261 -0
  36. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/api-extractor.json +4 -0
  37. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +1 -0
  38. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/index.js +1 -0
  39. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -0
  40. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +1 -0
  41. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +1 -0
  42. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +1 -0
  43. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +1 -0
  44. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
  45. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -0
  46. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +1 -0
  47. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +1 -0
  48. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +1 -0
  49. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +1 -0
  50. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +1 -0
  51. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +1 -0
  52. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +1 -0
  53. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +1 -0
  54. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/emitWarningIfUnsupportedVersion.js +13 -0
  55. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/index.js +1 -0
  56. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +60 -0
  57. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/index.js +2 -0
  58. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +82 -0
  59. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/index.js +1 -0
  60. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getDateHeader.js +2 -0
  61. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
  62. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +8 -0
  63. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/index.js +3 -0
  64. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/isClockSkewed.js +2 -0
  65. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/coercing-serializers.js +53 -0
  66. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/common.js +2 -0
  67. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/index.js +4 -0
  68. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/awsExpectUnion.js +10 -0
  69. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +51 -0
  70. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +57 -0
  71. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/emitWarningIfUnsupportedVersion.d.ts +9 -0
  72. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/index.d.ts +1 -0
  73. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
  74. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
  75. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +95 -0
  76. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/index.d.ts +1 -0
  77. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
  78. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -0
  79. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +10 -0
  80. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/index.d.ts +3 -0
  81. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -0
  82. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/coercing-serializers.d.ts +18 -0
  83. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +2 -0
  84. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +4 -0
  85. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/awsExpectUnion.d.ts +7 -0
  86. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +4 -0
  87. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +4 -0
  88. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/emitWarningIfUnsupportedVersion.d.ts +1 -0
  89. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/index.d.ts +1 -0
  90. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +21 -0
  91. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
  92. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +55 -0
  93. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/index.d.ts +1 -0
  94. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
  95. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +1 -0
  96. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +4 -0
  97. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/index.d.ts +3 -0
  98. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/isClockSkewed.d.ts +4 -0
  99. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/coercing-serializers.d.ts +3 -0
  100. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +5 -0
  101. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +4 -0
  102. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/awsExpectUnion.d.ts +3 -0
  103. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +13 -0
  104. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +13 -0
  105. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +158 -0
  106. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.integ.js +4 -0
  107. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.js +6 -0
  108. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/scripts/lint.js +24 -0
  109. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +70 -0
  110. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +25 -0
  111. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/index.ts +1 -0
  112. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +30 -0
  113. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +134 -0
  114. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/index.ts +2 -0
  115. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +244 -0
  116. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +1 -0
  117. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +7 -0
  118. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +17 -0
  119. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +8 -0
  120. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +37 -0
  121. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +18 -0
  122. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +3 -0
  123. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +32 -0
  124. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +12 -0
  125. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/index.ts +3 -0
  126. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.spec.ts +76 -0
  127. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.ts +72 -0
  128. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/common.ts +5 -0
  129. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/index.ts +4 -0
  130. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +30 -0
  131. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +17 -0
  132. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +60 -0
  133. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +64 -0
  134. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.json +9 -0
  135. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -0
  136. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.json +9 -0
  137. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -0
  138. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.json +9 -0
  139. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -0
  140. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/loadSts.js +1 -0
  141. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-es/loadSts.js +2 -0
  142. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/loadSts.d.ts +3 -0
  143. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/loadSts.d.ts +3 -0
  144. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/loadSts.js +5 -0
  145. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/loadSts.js +2 -0
  146. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/loadSts.d.ts +3 -0
  147. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/loadSts.d.ts +3 -0
  148. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-cjs/loadSsoOidc.js +1 -0
  149. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/loadSsoOidc.js +2 -0
  150. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/loadSsoOidc.d.ts +2 -0
  151. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/loadSsoOidc.d.ts +2 -0
  152. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/LICENSE +201 -0
  153. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/README.md +4 -0
  154. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +1 -0
  155. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +1 -0
  156. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +1 -0
  157. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +1 -0
  158. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +1 -0
  159. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +1 -0
  160. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +1 -0
  161. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +1 -0
  162. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +1 -0
  163. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +468 -0
  164. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +1 -0
  165. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +1 -0
  166. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js +62 -0
  167. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +182 -0
  168. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +43 -0
  169. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Message.js +1 -0
  170. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js +14 -0
  171. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js +17 -0
  172. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js +16 -0
  173. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js +14 -0
  174. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js +690 -0
  175. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/index.js +8 -0
  176. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js +30 -0
  177. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js +1 -0
  178. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +31 -0
  179. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts +12 -0
  180. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts +20 -0
  181. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts +26 -0
  182. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts +17 -0
  183. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +18 -0
  184. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts +17 -0
  185. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts +17 -0
  186. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts +2 -0
  187. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts +8 -0
  188. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts +11 -0
  189. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +31 -0
  190. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +12 -0
  191. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +20 -0
  192. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +26 -0
  193. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +17 -0
  194. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +18 -0
  195. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +17 -0
  196. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +17 -0
  197. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +2 -0
  198. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +8 -0
  199. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +11 -0
  200. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +12 -0
  201. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts +12 -0
  202. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/package.json +61 -0
  203. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CHANGELOG.md +229 -0
  204. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CONTRIBUTING.md +18 -0
  205. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/LICENSE.md +9 -0
  206. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/README.md +505 -0
  207. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/bin/uuid +2 -0
  208. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/index.js +9 -0
  209. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  210. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  211. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  212. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  213. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js +19 -0
  214. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  215. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
  216. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  217. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  218. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v35.js +64 -0
  219. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js +24 -0
  220. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  221. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  222. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/version.js +11 -0
  223. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/index.js +9 -0
  224. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/md5.js +13 -0
  225. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/nil.js +1 -0
  226. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/parse.js +35 -0
  227. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/regex.js +1 -0
  228. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/rng.js +12 -0
  229. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  230. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js +29 -0
  231. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v1.js +95 -0
  232. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v3.js +4 -0
  233. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v35.js +64 -0
  234. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js +24 -0
  235. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v5.js +4 -0
  236. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/validate.js +7 -0
  237. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/version.js +11 -0
  238. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js +79 -0
  239. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5-browser.js +223 -0
  240. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js +23 -0
  241. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js +8 -0
  242. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js +45 -0
  243. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js +8 -0
  244. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng-browser.js +26 -0
  245. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js +24 -0
  246. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1-browser.js +104 -0
  247. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js +23 -0
  248. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js +39 -0
  249. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuid.min.js +1 -0
  250. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
  251. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
  252. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
  253. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
  254. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
  255. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
  256. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
  257. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
  258. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
  259. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/uuid-bin.js +85 -0
  260. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js +107 -0
  261. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js +16 -0
  262. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js +78 -0
  263. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js +37 -0
  264. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js +16 -0
  265. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js +17 -0
  266. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js +21 -0
  267. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/package.json +135 -0
  268. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/wrapper.mjs +10 -0
  269. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.d.ts.map +1 -0
  270. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.js.map +1 -0
  271. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +2 -0
  272. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +1 -0
  273. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +14 -0
  274. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +1 -0
  275. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts +19 -0
  276. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts.map +1 -0
  277. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js +589 -0
  278. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js.map +1 -0
  279. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +8 -0
  280. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +1 -0
  281. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js +152 -0
  282. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js.map +1 -0
  283. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts +12 -0
  284. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts.map +1 -0
  285. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js +22 -0
  286. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js.map +1 -0
  287. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts +94 -0
  288. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts.map +1 -0
  289. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js +1011 -0
  290. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js.map +1 -0
  291. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/package.json +3 -0
  292. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts +17 -0
  293. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts.map +1 -0
  294. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js +24 -0
  295. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js.map +1 -0
  296. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +2 -0
  297. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +1 -0
  298. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +10 -0
  299. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +1 -0
  300. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts +19 -0
  301. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts.map +1 -0
  302. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js +585 -0
  303. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js.map +1 -0
  304. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +8 -0
  305. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +1 -0
  306. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js +148 -0
  307. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js.map +1 -0
  308. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts +12 -0
  309. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts.map +1 -0
  310. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js +18 -0
  311. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js.map +1 -0
  312. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts +94 -0
  313. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts.map +1 -0
  314. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js +995 -0
  315. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js.map +1 -0
  316. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/package.json +3 -0
  317. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts +17 -0
  318. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts.map +1 -0
  319. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js +20 -0
  320. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js.map +1 -0
  321. package/lib/static-host/static-host.js +1 -1
  322. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ export declare const _toStr: (val: unknown) => string | undefined;
2
+ export declare const _toBool: (val: unknown) => boolean | undefined;
3
+ export declare const _toNum: (val: unknown) => number | undefined;
@@ -0,0 +1,5 @@
1
+ import { SerdeContext } from "@smithy/types";
2
+ export declare const collectBodyString: (
3
+ streamBody: any,
4
+ context: SerdeContext
5
+ ) => Promise<string>;
@@ -0,0 +1,4 @@
1
+ export * from "./coercing-serializers";
2
+ export * from "./json/awsExpectUnion";
3
+ export * from "./json/parseJsonBody";
4
+ export * from "./xml/parseXmlBody";
@@ -0,0 +1,3 @@
1
+ export declare const awsExpectUnion: (
2
+ value: unknown
3
+ ) => Record<string, any> | undefined;
@@ -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
+ });
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ preset: "ts-jest",
3
+ testMatch: ["**/*.integ.spec.ts"],
4
+ };
@@ -0,0 +1,6 @@
1
+ const base = require("../../jest.config.base.js");
2
+
3
+ module.exports = {
4
+ ...base,
5
+ testPathIgnorePatterns: ["/node_modules/"],
6
+ };
@@ -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
+ };
@@ -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;
@@ -0,0 +1,2 @@
1
+ export * from "./AwsSdkSigV4Signer";
2
+ export * from "./resolveAwsSdkSigV4Config";