@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.
Files changed (326) hide show
  1. package/README.md +22 -1
  2. package/lib/index.d.ts +1 -0
  3. package/lib/index.js +1 -0
  4. package/lib/rds/postgres-stack.d.ts +27 -0
  5. package/lib/rds/postgres-stack.js +117 -0
  6. package/package.json +11 -11
  7. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -76
  8. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/LICENSE +0 -201
  9. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/README.md +0 -16
  10. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.d.ts +0 -7
  11. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js +0 -31
  12. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js.map +0 -1
  13. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.d.ts +0 -7
  14. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js +0 -108
  15. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js.map +0 -1
  16. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/CopyrightNotice.txt +0 -15
  17. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/LICENSE.txt +0 -12
  18. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/README.md +0 -142
  19. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/index.js +0 -51
  20. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/package.json +0 -3
  21. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/package.json +0 -37
  22. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  23. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  24. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.d.ts +0 -37
  25. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.html +0 -1
  26. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.js +0 -218
  27. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.html +0 -1
  28. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.js +0 -284
  29. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/package.json +0 -28
  30. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
  31. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
  32. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/tsconfig.json +0 -23
  33. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/credentialDefaultProvider.js +0 -29
  34. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/credentialDefaultProvider.js +0 -3
  35. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/credentialDefaultProvider.d.ts +0 -4
  36. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/credentialDefaultProvider.d.ts +0 -1
  37. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js +0 -29
  38. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/credentialDefaultProvider.js +0 -3
  39. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/credentialDefaultProvider.d.ts +0 -4
  40. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/credentialDefaultProvider.d.ts +0 -1
  41. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/CHANGELOG.md +0 -261
  42. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/api-extractor.json +0 -4
  43. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +0 -1
  44. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/index.js +0 -1
  45. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +0 -1
  46. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +0 -1
  47. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +0 -1
  48. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +0 -1
  49. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +0 -1
  50. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +0 -1
  51. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +0 -1
  52. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +0 -1
  53. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +0 -1
  54. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +0 -1
  55. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +0 -1
  56. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +0 -1
  57. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +0 -1
  58. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +0 -1
  59. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +0 -1
  60. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/emitWarningIfUnsupportedVersion.js +0 -13
  61. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/index.js +0 -1
  62. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +0 -60
  63. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/index.js +0 -2
  64. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +0 -82
  65. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/index.js +0 -1
  66. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getDateHeader.js +0 -2
  67. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getSkewCorrectedDate.js +0 -1
  68. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +0 -8
  69. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/index.js +0 -3
  70. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/isClockSkewed.js +0 -2
  71. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/coercing-serializers.js +0 -53
  72. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/common.js +0 -2
  73. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/index.js +0 -4
  74. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/awsExpectUnion.js +0 -10
  75. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +0 -51
  76. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +0 -57
  77. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/emitWarningIfUnsupportedVersion.d.ts +0 -9
  78. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/index.d.ts +0 -1
  79. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -17
  80. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/index.d.ts +0 -2
  81. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -95
  82. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/index.d.ts +0 -1
  83. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getDateHeader.d.ts +0 -4
  84. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +0 -8
  85. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +0 -10
  86. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/index.d.ts +0 -3
  87. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/isClockSkewed.d.ts +0 -9
  88. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/coercing-serializers.d.ts +0 -18
  89. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +0 -2
  90. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +0 -4
  91. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/awsExpectUnion.d.ts +0 -7
  92. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +0 -4
  93. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +0 -4
  94. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/emitWarningIfUnsupportedVersion.d.ts +0 -1
  95. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/index.d.ts +0 -1
  96. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -21
  97. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/index.d.ts +0 -2
  98. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -55
  99. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/index.d.ts +0 -1
  100. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getDateHeader.d.ts +0 -1
  101. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +0 -1
  102. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +0 -4
  103. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/index.d.ts +0 -3
  104. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/isClockSkewed.d.ts +0 -4
  105. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/coercing-serializers.d.ts +0 -3
  106. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +0 -5
  107. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +0 -4
  108. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/awsExpectUnion.d.ts +0 -3
  109. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +0 -13
  110. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +0 -13
  111. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +0 -158
  112. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.integ.js +0 -4
  113. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.js +0 -6
  114. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/scripts/lint.js +0 -24
  115. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +0 -70
  116. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +0 -25
  117. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/index.ts +0 -1
  118. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +0 -30
  119. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +0 -134
  120. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/index.ts +0 -2
  121. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +0 -244
  122. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +0 -1
  123. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +0 -7
  124. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +0 -17
  125. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +0 -8
  126. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +0 -37
  127. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +0 -18
  128. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +0 -3
  129. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +0 -32
  130. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +0 -12
  131. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/index.ts +0 -3
  132. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.spec.ts +0 -76
  133. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.ts +0 -72
  134. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/common.ts +0 -5
  135. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/index.ts +0 -4
  136. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +0 -30
  137. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +0 -17
  138. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +0 -60
  139. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +0 -64
  140. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.json +0 -9
  141. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +0 -1
  142. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.json +0 -9
  143. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +0 -1
  144. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.json +0 -9
  145. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +0 -1
  146. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/loadSts.js +0 -1
  147. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-es/loadSts.js +0 -2
  148. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/loadSts.d.ts +0 -3
  149. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/loadSts.d.ts +0 -3
  150. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/loadSts.js +0 -5
  151. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/loadSts.js +0 -2
  152. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/loadSts.d.ts +0 -3
  153. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/loadSts.d.ts +0 -3
  154. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-cjs/loadSsoOidc.js +0 -1
  155. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/loadSsoOidc.js +0 -2
  156. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/loadSsoOidc.d.ts +0 -2
  157. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/loadSsoOidc.d.ts +0 -2
  158. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/LICENSE +0 -201
  159. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/README.md +0 -4
  160. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +0 -1
  161. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +0 -1
  162. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +0 -1
  163. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +0 -1
  164. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +0 -1
  165. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +0 -1
  166. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +0 -1
  167. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +0 -1
  168. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +0 -1
  169. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +0 -468
  170. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +0 -1
  171. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +0 -1
  172. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js +0 -62
  173. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +0 -182
  174. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +0 -43
  175. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Message.js +0 -1
  176. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js +0 -14
  177. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js +0 -17
  178. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js +0 -16
  179. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js +0 -14
  180. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js +0 -690
  181. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/index.js +0 -8
  182. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js +0 -30
  183. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js +0 -1
  184. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +0 -31
  185. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts +0 -12
  186. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts +0 -20
  187. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts +0 -26
  188. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts +0 -17
  189. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +0 -18
  190. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts +0 -17
  191. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts +0 -17
  192. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts +0 -2
  193. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts +0 -8
  194. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts +0 -11
  195. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +0 -31
  196. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +0 -12
  197. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +0 -20
  198. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +0 -26
  199. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +0 -17
  200. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +0 -18
  201. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +0 -17
  202. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +0 -17
  203. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +0 -2
  204. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +0 -8
  205. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +0 -11
  206. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +0 -12
  207. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts +0 -12
  208. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/package.json +0 -61
  209. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CHANGELOG.md +0 -229
  210. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CONTRIBUTING.md +0 -18
  211. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/LICENSE.md +0 -9
  212. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/README.md +0 -505
  213. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/bin/uuid +0 -2
  214. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/index.js +0 -9
  215. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  216. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  217. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  218. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  219. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js +0 -19
  220. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  221. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
  222. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  223. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  224. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v35.js +0 -64
  225. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js +0 -24
  226. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  227. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  228. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/version.js +0 -11
  229. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/index.js +0 -9
  230. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/md5.js +0 -13
  231. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/nil.js +0 -1
  232. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/parse.js +0 -35
  233. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/regex.js +0 -1
  234. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/rng.js +0 -12
  235. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  236. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js +0 -29
  237. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v1.js +0 -95
  238. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v3.js +0 -4
  239. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v35.js +0 -64
  240. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js +0 -24
  241. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v5.js +0 -4
  242. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/validate.js +0 -7
  243. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/version.js +0 -11
  244. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js +0 -79
  245. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5-browser.js +0 -223
  246. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js +0 -23
  247. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js +0 -8
  248. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js +0 -45
  249. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js +0 -8
  250. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng-browser.js +0 -26
  251. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js +0 -24
  252. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1-browser.js +0 -104
  253. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js +0 -23
  254. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js +0 -39
  255. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  256. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  257. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  258. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  259. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  260. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  261. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  262. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  263. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  264. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  265. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/uuid-bin.js +0 -85
  266. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js +0 -107
  267. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js +0 -16
  268. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js +0 -78
  269. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js +0 -37
  270. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js +0 -16
  271. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js +0 -17
  272. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js +0 -21
  273. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/package.json +0 -135
  274. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/wrapper.mjs +0 -10
  275. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.d.ts.map +0 -1
  276. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.js.map +0 -1
  277. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  278. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  279. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  280. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  281. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  282. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  283. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js +0 -589
  284. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  285. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  286. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  287. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  288. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  289. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  290. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  291. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js +0 -22
  292. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  293. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  294. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  295. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js +0 -1011
  296. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  297. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/package.json +0 -3
  298. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  299. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  300. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  301. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  302. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  303. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  304. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  305. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  306. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  307. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  308. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js +0 -585
  309. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  310. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  311. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  312. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  313. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  314. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  315. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  316. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js +0 -18
  317. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  318. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  319. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  320. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js +0 -995
  321. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  322. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/package.json +0 -3
  323. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  324. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  325. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  326. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
@@ -1,4 +0,0 @@
1
- # @smithy/eventstream-codec
2
-
3
- [![NPM version](https://img.shields.io/npm/v/@smithy/eventstream-codec/latest.svg)](https://www.npmjs.com/package/@smithy/eventstream-codec)
4
- [![NPM downloads](https://img.shields.io/npm/dm/@smithy/eventstream-codec.svg)](https://www.npmjs.com/package/@smithy/eventstream-codec)
@@ -1,468 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
23
- EventStreamCodec: () => EventStreamCodec,
24
- HeaderMarshaller: () => HeaderMarshaller,
25
- Int64: () => Int64,
26
- MessageDecoderStream: () => MessageDecoderStream,
27
- MessageEncoderStream: () => MessageEncoderStream,
28
- SmithyMessageDecoderStream: () => SmithyMessageDecoderStream,
29
- SmithyMessageEncoderStream: () => SmithyMessageEncoderStream
30
- });
31
- module.exports = __toCommonJS(src_exports);
32
-
33
- // src/EventStreamCodec.ts
34
- var import_crc322 = require("@aws-crypto/crc32");
35
-
36
- // src/HeaderMarshaller.ts
37
-
38
-
39
- // src/Int64.ts
40
- var import_util_hex_encoding = require("@smithy/util-hex-encoding");
41
- var _Int64 = class _Int64 {
42
- constructor(bytes) {
43
- this.bytes = bytes;
44
- if (bytes.byteLength !== 8) {
45
- throw new Error("Int64 buffers must be exactly 8 bytes");
46
- }
47
- }
48
- static fromNumber(number) {
49
- if (number > 9223372036854776e3 || number < -9223372036854776e3) {
50
- throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
51
- }
52
- const bytes = new Uint8Array(8);
53
- for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) {
54
- bytes[i] = remaining;
55
- }
56
- if (number < 0) {
57
- negate(bytes);
58
- }
59
- return new _Int64(bytes);
60
- }
61
- /**
62
- * Called implicitly by infix arithmetic operators.
63
- */
64
- valueOf() {
65
- const bytes = this.bytes.slice(0);
66
- const negative = bytes[0] & 128;
67
- if (negative) {
68
- negate(bytes);
69
- }
70
- return parseInt((0, import_util_hex_encoding.toHex)(bytes), 16) * (negative ? -1 : 1);
71
- }
72
- toString() {
73
- return String(this.valueOf());
74
- }
75
- };
76
- __name(_Int64, "Int64");
77
- var Int64 = _Int64;
78
- function negate(bytes) {
79
- for (let i = 0; i < 8; i++) {
80
- bytes[i] ^= 255;
81
- }
82
- for (let i = 7; i > -1; i--) {
83
- bytes[i]++;
84
- if (bytes[i] !== 0)
85
- break;
86
- }
87
- }
88
- __name(negate, "negate");
89
-
90
- // src/HeaderMarshaller.ts
91
- var _HeaderMarshaller = class _HeaderMarshaller {
92
- constructor(toUtf8, fromUtf8) {
93
- this.toUtf8 = toUtf8;
94
- this.fromUtf8 = fromUtf8;
95
- }
96
- format(headers) {
97
- const chunks = [];
98
- for (const headerName of Object.keys(headers)) {
99
- const bytes = this.fromUtf8(headerName);
100
- chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
101
- }
102
- const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
103
- let position = 0;
104
- for (const chunk of chunks) {
105
- out.set(chunk, position);
106
- position += chunk.byteLength;
107
- }
108
- return out;
109
- }
110
- formatHeaderValue(header) {
111
- switch (header.type) {
112
- case "boolean":
113
- return Uint8Array.from([header.value ? 0 /* boolTrue */ : 1 /* boolFalse */]);
114
- case "byte":
115
- return Uint8Array.from([2 /* byte */, header.value]);
116
- case "short":
117
- const shortView = new DataView(new ArrayBuffer(3));
118
- shortView.setUint8(0, 3 /* short */);
119
- shortView.setInt16(1, header.value, false);
120
- return new Uint8Array(shortView.buffer);
121
- case "integer":
122
- const intView = new DataView(new ArrayBuffer(5));
123
- intView.setUint8(0, 4 /* integer */);
124
- intView.setInt32(1, header.value, false);
125
- return new Uint8Array(intView.buffer);
126
- case "long":
127
- const longBytes = new Uint8Array(9);
128
- longBytes[0] = 5 /* long */;
129
- longBytes.set(header.value.bytes, 1);
130
- return longBytes;
131
- case "binary":
132
- const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
133
- binView.setUint8(0, 6 /* byteArray */);
134
- binView.setUint16(1, header.value.byteLength, false);
135
- const binBytes = new Uint8Array(binView.buffer);
136
- binBytes.set(header.value, 3);
137
- return binBytes;
138
- case "string":
139
- const utf8Bytes = this.fromUtf8(header.value);
140
- const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
141
- strView.setUint8(0, 7 /* string */);
142
- strView.setUint16(1, utf8Bytes.byteLength, false);
143
- const strBytes = new Uint8Array(strView.buffer);
144
- strBytes.set(utf8Bytes, 3);
145
- return strBytes;
146
- case "timestamp":
147
- const tsBytes = new Uint8Array(9);
148
- tsBytes[0] = 8 /* timestamp */;
149
- tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
150
- return tsBytes;
151
- case "uuid":
152
- if (!UUID_PATTERN.test(header.value)) {
153
- throw new Error(`Invalid UUID received: ${header.value}`);
154
- }
155
- const uuidBytes = new Uint8Array(17);
156
- uuidBytes[0] = 9 /* uuid */;
157
- uuidBytes.set((0, import_util_hex_encoding.fromHex)(header.value.replace(/\-/g, "")), 1);
158
- return uuidBytes;
159
- }
160
- }
161
- parse(headers) {
162
- const out = {};
163
- let position = 0;
164
- while (position < headers.byteLength) {
165
- const nameLength = headers.getUint8(position++);
166
- const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
167
- position += nameLength;
168
- switch (headers.getUint8(position++)) {
169
- case 0 /* boolTrue */:
170
- out[name] = {
171
- type: BOOLEAN_TAG,
172
- value: true
173
- };
174
- break;
175
- case 1 /* boolFalse */:
176
- out[name] = {
177
- type: BOOLEAN_TAG,
178
- value: false
179
- };
180
- break;
181
- case 2 /* byte */:
182
- out[name] = {
183
- type: BYTE_TAG,
184
- value: headers.getInt8(position++)
185
- };
186
- break;
187
- case 3 /* short */:
188
- out[name] = {
189
- type: SHORT_TAG,
190
- value: headers.getInt16(position, false)
191
- };
192
- position += 2;
193
- break;
194
- case 4 /* integer */:
195
- out[name] = {
196
- type: INT_TAG,
197
- value: headers.getInt32(position, false)
198
- };
199
- position += 4;
200
- break;
201
- case 5 /* long */:
202
- out[name] = {
203
- type: LONG_TAG,
204
- value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
205
- };
206
- position += 8;
207
- break;
208
- case 6 /* byteArray */:
209
- const binaryLength = headers.getUint16(position, false);
210
- position += 2;
211
- out[name] = {
212
- type: BINARY_TAG,
213
- value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)
214
- };
215
- position += binaryLength;
216
- break;
217
- case 7 /* string */:
218
- const stringLength = headers.getUint16(position, false);
219
- position += 2;
220
- out[name] = {
221
- type: STRING_TAG,
222
- value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))
223
- };
224
- position += stringLength;
225
- break;
226
- case 8 /* timestamp */:
227
- out[name] = {
228
- type: TIMESTAMP_TAG,
229
- value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
230
- };
231
- position += 8;
232
- break;
233
- case 9 /* uuid */:
234
- const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
235
- position += 16;
236
- out[name] = {
237
- type: UUID_TAG,
238
- value: `${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(0, 4))}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(4, 6))}-${(0, import_util_hex_encoding.toHex)(
239
- uuidBytes.subarray(6, 8)
240
- )}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(8, 10))}-${(0, import_util_hex_encoding.toHex)(uuidBytes.subarray(10))}`
241
- };
242
- break;
243
- default:
244
- throw new Error(`Unrecognized header type tag`);
245
- }
246
- }
247
- return out;
248
- }
249
- };
250
- __name(_HeaderMarshaller, "HeaderMarshaller");
251
- var HeaderMarshaller = _HeaderMarshaller;
252
- var BOOLEAN_TAG = "boolean";
253
- var BYTE_TAG = "byte";
254
- var SHORT_TAG = "short";
255
- var INT_TAG = "integer";
256
- var LONG_TAG = "long";
257
- var BINARY_TAG = "binary";
258
- var STRING_TAG = "string";
259
- var TIMESTAMP_TAG = "timestamp";
260
- var UUID_TAG = "uuid";
261
- var UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
262
-
263
- // src/splitMessage.ts
264
- var import_crc32 = require("@aws-crypto/crc32");
265
- var PRELUDE_MEMBER_LENGTH = 4;
266
- var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
267
- var CHECKSUM_LENGTH = 4;
268
- var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
269
- function splitMessage({ byteLength, byteOffset, buffer }) {
270
- if (byteLength < MINIMUM_MESSAGE_LENGTH) {
271
- throw new Error("Provided message too short to accommodate event stream message overhead");
272
- }
273
- const view = new DataView(buffer, byteOffset, byteLength);
274
- const messageLength = view.getUint32(0, false);
275
- if (byteLength !== messageLength) {
276
- throw new Error("Reported message length does not match received message length");
277
- }
278
- const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
279
- const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
280
- const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
281
- const checksummer = new import_crc32.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
282
- if (expectedPreludeChecksum !== checksummer.digest()) {
283
- throw new Error(
284
- `The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`
285
- );
286
- }
287
- checksummer.update(
288
- new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH))
289
- );
290
- if (expectedMessageChecksum !== checksummer.digest()) {
291
- throw new Error(
292
- `The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`
293
- );
294
- }
295
- return {
296
- headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
297
- body: new Uint8Array(
298
- buffer,
299
- byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength,
300
- messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)
301
- )
302
- };
303
- }
304
- __name(splitMessage, "splitMessage");
305
-
306
- // src/EventStreamCodec.ts
307
- var _EventStreamCodec = class _EventStreamCodec {
308
- constructor(toUtf8, fromUtf8) {
309
- this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);
310
- this.messageBuffer = [];
311
- this.isEndOfStream = false;
312
- }
313
- feed(message) {
314
- this.messageBuffer.push(this.decode(message));
315
- }
316
- endOfStream() {
317
- this.isEndOfStream = true;
318
- }
319
- getMessage() {
320
- const message = this.messageBuffer.pop();
321
- const isEndOfStream = this.isEndOfStream;
322
- return {
323
- getMessage() {
324
- return message;
325
- },
326
- isEndOfStream() {
327
- return isEndOfStream;
328
- }
329
- };
330
- }
331
- getAvailableMessages() {
332
- const messages = this.messageBuffer;
333
- this.messageBuffer = [];
334
- const isEndOfStream = this.isEndOfStream;
335
- return {
336
- getMessages() {
337
- return messages;
338
- },
339
- isEndOfStream() {
340
- return isEndOfStream;
341
- }
342
- };
343
- }
344
- /**
345
- * Convert a structured JavaScript object with tagged headers into a binary
346
- * event stream message.
347
- */
348
- encode({ headers: rawHeaders, body }) {
349
- const headers = this.headerMarshaller.format(rawHeaders);
350
- const length = headers.byteLength + body.byteLength + 16;
351
- const out = new Uint8Array(length);
352
- const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
353
- const checksum = new import_crc322.Crc32();
354
- view.setUint32(0, length, false);
355
- view.setUint32(4, headers.byteLength, false);
356
- view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
357
- out.set(headers, 12);
358
- out.set(body, headers.byteLength + 12);
359
- view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
360
- return out;
361
- }
362
- /**
363
- * Convert a binary event stream message into a JavaScript object with an
364
- * opaque, binary body and tagged, parsed headers.
365
- */
366
- decode(message) {
367
- const { headers, body } = splitMessage(message);
368
- return { headers: this.headerMarshaller.parse(headers), body };
369
- }
370
- /**
371
- * Convert a structured JavaScript object with tagged headers into a binary
372
- * event stream message header.
373
- */
374
- formatHeaders(rawHeaders) {
375
- return this.headerMarshaller.format(rawHeaders);
376
- }
377
- };
378
- __name(_EventStreamCodec, "EventStreamCodec");
379
- var EventStreamCodec = _EventStreamCodec;
380
-
381
- // src/MessageDecoderStream.ts
382
- var _MessageDecoderStream = class _MessageDecoderStream {
383
- constructor(options) {
384
- this.options = options;
385
- }
386
- [Symbol.asyncIterator]() {
387
- return this.asyncIterator();
388
- }
389
- async *asyncIterator() {
390
- for await (const bytes of this.options.inputStream) {
391
- const decoded = this.options.decoder.decode(bytes);
392
- yield decoded;
393
- }
394
- }
395
- };
396
- __name(_MessageDecoderStream, "MessageDecoderStream");
397
- var MessageDecoderStream = _MessageDecoderStream;
398
-
399
- // src/MessageEncoderStream.ts
400
- var _MessageEncoderStream = class _MessageEncoderStream {
401
- constructor(options) {
402
- this.options = options;
403
- }
404
- [Symbol.asyncIterator]() {
405
- return this.asyncIterator();
406
- }
407
- async *asyncIterator() {
408
- for await (const msg of this.options.messageStream) {
409
- const encoded = this.options.encoder.encode(msg);
410
- yield encoded;
411
- }
412
- if (this.options.includeEndFrame) {
413
- yield new Uint8Array(0);
414
- }
415
- }
416
- };
417
- __name(_MessageEncoderStream, "MessageEncoderStream");
418
- var MessageEncoderStream = _MessageEncoderStream;
419
-
420
- // src/SmithyMessageDecoderStream.ts
421
- var _SmithyMessageDecoderStream = class _SmithyMessageDecoderStream {
422
- constructor(options) {
423
- this.options = options;
424
- }
425
- [Symbol.asyncIterator]() {
426
- return this.asyncIterator();
427
- }
428
- async *asyncIterator() {
429
- for await (const message of this.options.messageStream) {
430
- const deserialized = await this.options.deserializer(message);
431
- if (deserialized === void 0)
432
- continue;
433
- yield deserialized;
434
- }
435
- }
436
- };
437
- __name(_SmithyMessageDecoderStream, "SmithyMessageDecoderStream");
438
- var SmithyMessageDecoderStream = _SmithyMessageDecoderStream;
439
-
440
- // src/SmithyMessageEncoderStream.ts
441
- var _SmithyMessageEncoderStream = class _SmithyMessageEncoderStream {
442
- constructor(options) {
443
- this.options = options;
444
- }
445
- [Symbol.asyncIterator]() {
446
- return this.asyncIterator();
447
- }
448
- async *asyncIterator() {
449
- for await (const chunk of this.options.inputStream) {
450
- const payloadBuf = this.options.serializer(chunk);
451
- yield payloadBuf;
452
- }
453
- }
454
- };
455
- __name(_SmithyMessageEncoderStream, "SmithyMessageEncoderStream");
456
- var SmithyMessageEncoderStream = _SmithyMessageEncoderStream;
457
- // Annotate the CommonJS export names for ESM import in node:
458
-
459
- 0 && (module.exports = {
460
- EventStreamCodec,
461
- HeaderMarshaller,
462
- Int64,
463
- MessageDecoderStream,
464
- MessageEncoderStream,
465
- SmithyMessageDecoderStream,
466
- SmithyMessageEncoderStream
467
- });
468
-
@@ -1,62 +0,0 @@
1
- import { Crc32 } from "@aws-crypto/crc32";
2
- import { HeaderMarshaller } from "./HeaderMarshaller";
3
- import { splitMessage } from "./splitMessage";
4
- export class EventStreamCodec {
5
- constructor(toUtf8, fromUtf8) {
6
- this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);
7
- this.messageBuffer = [];
8
- this.isEndOfStream = false;
9
- }
10
- feed(message) {
11
- this.messageBuffer.push(this.decode(message));
12
- }
13
- endOfStream() {
14
- this.isEndOfStream = true;
15
- }
16
- getMessage() {
17
- const message = this.messageBuffer.pop();
18
- const isEndOfStream = this.isEndOfStream;
19
- return {
20
- getMessage() {
21
- return message;
22
- },
23
- isEndOfStream() {
24
- return isEndOfStream;
25
- },
26
- };
27
- }
28
- getAvailableMessages() {
29
- const messages = this.messageBuffer;
30
- this.messageBuffer = [];
31
- const isEndOfStream = this.isEndOfStream;
32
- return {
33
- getMessages() {
34
- return messages;
35
- },
36
- isEndOfStream() {
37
- return isEndOfStream;
38
- },
39
- };
40
- }
41
- encode({ headers: rawHeaders, body }) {
42
- const headers = this.headerMarshaller.format(rawHeaders);
43
- const length = headers.byteLength + body.byteLength + 16;
44
- const out = new Uint8Array(length);
45
- const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
46
- const checksum = new Crc32();
47
- view.setUint32(0, length, false);
48
- view.setUint32(4, headers.byteLength, false);
49
- view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
50
- out.set(headers, 12);
51
- out.set(body, headers.byteLength + 12);
52
- view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
53
- return out;
54
- }
55
- decode(message) {
56
- const { headers, body } = splitMessage(message);
57
- return { headers: this.headerMarshaller.parse(headers), body };
58
- }
59
- formatHeaders(rawHeaders) {
60
- return this.headerMarshaller.format(rawHeaders);
61
- }
62
- }