@kensio/yulin 1.20.0 → 1.20.1

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 (626) hide show
  1. package/README.md +1 -0
  2. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  3. package/dist/sdk/router/resolve-sim-sdk-command-router.js +8 -0
  4. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  5. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +11 -0
  6. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  7. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +17 -1
  8. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  9. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts +10 -0
  10. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts.map +1 -1
  11. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js +15 -0
  12. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js.map +1 -1
  13. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +9 -0
  14. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts.map +1 -1
  15. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +15 -0
  16. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js.map +1 -1
  17. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +6 -0
  18. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  19. package/dist/service/aws/factory/sim-aws-service-factory.js +8 -0
  20. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  21. package/dist/service/aws/sim-aws-account-region-scope.d.ts +6 -0
  22. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  23. package/dist/service/aws/sim-aws-account-region-scope.js +8 -0
  24. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  25. package/dist/service/aws/sim-aws-account.d.ts +5 -0
  26. package/dist/service/aws/sim-aws-account.d.ts.map +1 -1
  27. package/dist/service/aws/sim-aws-account.js +6 -0
  28. package/dist/service/aws/sim-aws-account.js.map +1 -1
  29. package/dist/service/aws/sim-aws-region.d.ts +5 -0
  30. package/dist/service/aws/sim-aws-region.d.ts.map +1 -1
  31. package/dist/service/aws/sim-aws-region.js +6 -0
  32. package/dist/service/aws/sim-aws-region.js.map +1 -1
  33. package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
  34. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
  35. package/dist/service/aws/sim-aws-service-accessors.js +8 -0
  36. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
  37. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts +6 -0
  38. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts.map +1 -0
  39. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js +15 -0
  40. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js.map +1 -0
  41. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts +23 -0
  42. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts.map +1 -0
  43. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js +29 -0
  44. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js.map +1 -0
  45. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
  46. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -0
  47. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
  48. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts +27 -0
  49. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +1 -0
  50. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js +47 -0
  51. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +1 -0
  52. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts +49 -0
  53. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +1 -0
  54. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js +89 -0
  55. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +1 -0
  56. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts +23 -0
  57. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +1 -0
  58. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js +28 -0
  59. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +1 -0
  60. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts +57 -0
  61. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +1 -0
  62. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js +99 -0
  63. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +1 -0
  64. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts +21 -0
  65. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +1 -0
  66. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js +37 -0
  67. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +1 -0
  68. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts +32 -0
  69. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
  70. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js +56 -0
  71. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +1 -0
  72. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts +20 -0
  73. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
  74. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js +28 -0
  75. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +1 -0
  76. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts +43 -0
  77. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
  78. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js +64 -0
  79. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +1 -0
  80. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts +10 -0
  81. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
  82. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js +10 -0
  83. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +1 -0
  84. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts +27 -0
  85. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts.map +1 -0
  86. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js +37 -0
  87. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js.map +1 -0
  88. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts +31 -0
  89. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
  90. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js +42 -0
  91. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +1 -0
  92. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts +7 -0
  93. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts.map +1 -0
  94. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +16 -0
  95. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -0
  96. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
  97. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +11 -0
  98. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
  99. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +25 -0
  100. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
  101. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts +0 -1
  102. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts.map +1 -1
  103. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js +8 -36
  104. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map +1 -1
  105. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts +19 -0
  106. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts.map +1 -0
  107. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js +39 -0
  108. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js.map +1 -0
  109. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts +10 -0
  110. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts.map +1 -0
  111. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js +17 -0
  112. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js.map +1 -0
  113. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
  114. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +8 -0
  115. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
  116. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts +4 -0
  117. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts.map +1 -1
  118. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js +7 -0
  119. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js.map +1 -1
  120. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +6 -0
  121. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -1
  122. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +3 -0
  123. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
  124. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts +15 -0
  125. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts.map +1 -0
  126. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js +74 -0
  127. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js.map +1 -0
  128. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts +33 -0
  129. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts.map +1 -0
  130. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js +44 -0
  131. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js.map +1 -0
  132. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts +23 -0
  133. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts.map +1 -0
  134. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js +28 -0
  135. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js.map +1 -0
  136. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts +48 -0
  137. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts.map +1 -0
  138. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js +92 -0
  139. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js.map +1 -0
  140. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts +51 -0
  141. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts.map +1 -0
  142. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js +114 -0
  143. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js.map +1 -0
  144. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts +19 -0
  145. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts.map +1 -0
  146. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js +44 -0
  147. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js.map +1 -0
  148. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts +47 -0
  149. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts.map +1 -0
  150. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js +105 -0
  151. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js.map +1 -0
  152. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts +19 -0
  153. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts.map +1 -0
  154. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js +58 -0
  155. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js.map +1 -0
  156. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts +11 -0
  157. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts.map +1 -0
  158. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js +33 -0
  159. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js.map +1 -0
  160. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts +44 -0
  161. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts.map +1 -0
  162. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js +144 -0
  163. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js.map +1 -0
  164. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts +51 -0
  165. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts.map +1 -0
  166. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js +65 -0
  167. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js.map +1 -0
  168. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts +19 -0
  169. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts.map +1 -0
  170. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js +26 -0
  171. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js.map +1 -0
  172. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts +44 -0
  173. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts.map +1 -0
  174. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js +75 -0
  175. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js.map +1 -0
  176. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts +14 -0
  177. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts.map +1 -0
  178. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js +14 -0
  179. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js.map +1 -0
  180. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts +29 -0
  181. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts.map +1 -0
  182. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js +38 -0
  183. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js.map +1 -0
  184. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts +39 -0
  185. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts.map +1 -0
  186. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js +49 -0
  187. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js.map +1 -0
  188. package/dist/service/firehose/command/record/record.command.d.ts +55 -0
  189. package/dist/service/firehose/command/record/record.command.d.ts.map +1 -0
  190. package/dist/service/firehose/command/record/record.command.js +2 -0
  191. package/dist/service/firehose/command/record/record.command.js.map +1 -0
  192. package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts +43 -0
  193. package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts.map +1 -0
  194. package/dist/service/firehose/command/record/sim-firehose-put-commands.js +59 -0
  195. package/dist/service/firehose/command/record/sim-firehose-put-commands.js.map +1 -0
  196. package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts +21 -0
  197. package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts.map +1 -0
  198. package/dist/service/firehose/command/record/sim-firehose-record-data.js +54 -0
  199. package/dist/service/firehose/command/record/sim-firehose-record-data.js.map +1 -0
  200. package/dist/service/firehose/command/sim-firehose-command.types.d.ts +6 -0
  201. package/dist/service/firehose/command/sim-firehose-command.types.d.ts.map +1 -0
  202. package/dist/service/firehose/command/sim-firehose-command.types.js +2 -0
  203. package/dist/service/firehose/command/sim-firehose-command.types.js.map +1 -0
  204. package/dist/service/firehose/command/sim-firehose-commands.d.ts +37 -0
  205. package/dist/service/firehose/command/sim-firehose-commands.d.ts.map +1 -0
  206. package/dist/service/firehose/command/sim-firehose-commands.js +57 -0
  207. package/dist/service/firehose/command/sim-firehose-commands.js.map +1 -0
  208. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts +47 -0
  209. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts.map +1 -0
  210. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js +58 -0
  211. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js.map +1 -0
  212. package/dist/service/firehose/command/sim-firehose-request-options.d.ts +12 -0
  213. package/dist/service/firehose/command/sim-firehose-request-options.d.ts.map +1 -0
  214. package/dist/service/firehose/command/sim-firehose-request-options.js +2 -0
  215. package/dist/service/firehose/command/sim-firehose-request-options.js.map +1 -0
  216. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts +49 -0
  217. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts.map +1 -0
  218. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js +69 -0
  219. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js.map +1 -0
  220. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts +19 -0
  221. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts.map +1 -0
  222. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js +24 -0
  223. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js.map +1 -0
  224. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts +50 -0
  225. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts.map +1 -0
  226. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js +72 -0
  227. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js.map +1 -0
  228. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts +7 -0
  229. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts.map +1 -0
  230. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js +70 -0
  231. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js.map +1 -0
  232. package/dist/service/firehose/command/stream/stream.command.d.ts +137 -0
  233. package/dist/service/firehose/command/stream/stream.command.d.ts.map +1 -0
  234. package/dist/service/firehose/command/stream/stream.command.js +2 -0
  235. package/dist/service/firehose/command/stream/stream.command.js.map +1 -0
  236. package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts +36 -0
  237. package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts.map +1 -0
  238. package/dist/service/firehose/delivery/sim-firehose-buffer.js +55 -0
  239. package/dist/service/firehose/delivery/sim-firehose-buffer.js.map +1 -0
  240. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts +34 -0
  241. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts.map +1 -0
  242. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js +24 -0
  243. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js.map +1 -0
  244. package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts +47 -0
  245. package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts.map +1 -0
  246. package/dist/service/firehose/delivery/sim-firehose-delivery.js +76 -0
  247. package/dist/service/firehose/delivery/sim-firehose-delivery.js.map +1 -0
  248. package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts +21 -0
  249. package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts.map +1 -0
  250. package/dist/service/firehose/delivery/sim-firehose-object-key.js +27 -0
  251. package/dist/service/firehose/delivery/sim-firehose-object-key.js.map +1 -0
  252. package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts +50 -0
  253. package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts.map +1 -0
  254. package/dist/service/firehose/delivery/sim-firehose-object-writer.js +57 -0
  255. package/dist/service/firehose/delivery/sim-firehose-object-writer.js.map +1 -0
  256. package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts +29 -0
  257. package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts.map +1 -0
  258. package/dist/service/firehose/destination/sim-firehose-buffering-hints.js +45 -0
  259. package/dist/service/firehose/destination/sim-firehose-buffering-hints.js.map +1 -0
  260. package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts +35 -0
  261. package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts.map +1 -0
  262. package/dist/service/firehose/destination/sim-firehose-destination-choice.js +48 -0
  263. package/dist/service/firehose/destination/sim-firehose-destination-choice.js.map +1 -0
  264. package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts +32 -0
  265. package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts.map +1 -0
  266. package/dist/service/firehose/destination/sim-firehose-s3-destination.js +51 -0
  267. package/dist/service/firehose/destination/sim-firehose-s3-destination.js.map +1 -0
  268. package/dist/service/firehose/error/sim-firehose.error.d.ts +69 -0
  269. package/dist/service/firehose/error/sim-firehose.error.d.ts.map +1 -0
  270. package/dist/service/firehose/error/sim-firehose.error.js +79 -0
  271. package/dist/service/firehose/error/sim-firehose.error.js.map +1 -0
  272. package/dist/service/firehose/failure/sim-firehose-failure.d.ts +38 -0
  273. package/dist/service/firehose/failure/sim-firehose-failure.d.ts.map +1 -0
  274. package/dist/service/firehose/failure/sim-firehose-failure.js +40 -0
  275. package/dist/service/firehose/failure/sim-firehose-failure.js.map +1 -0
  276. package/dist/service/firehose/failure/sim-firehose-failures.d.ts +32 -0
  277. package/dist/service/firehose/failure/sim-firehose-failures.d.ts.map +1 -0
  278. package/dist/service/firehose/failure/sim-firehose-failures.js +47 -0
  279. package/dist/service/firehose/failure/sim-firehose-failures.js.map +1 -0
  280. package/dist/service/firehose/index.d.ts +17 -0
  281. package/dist/service/firehose/index.d.ts.map +1 -0
  282. package/dist/service/firehose/index.js +12 -0
  283. package/dist/service/firehose/index.js.map +1 -0
  284. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts +18 -0
  285. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts.map +1 -0
  286. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js +48 -0
  287. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js.map +1 -0
  288. package/dist/service/firehose/sim-firehose.d.ts +104 -0
  289. package/dist/service/firehose/sim-firehose.d.ts.map +1 -0
  290. package/dist/service/firehose/sim-firehose.js +130 -0
  291. package/dist/service/firehose/sim-firehose.js.map +1 -0
  292. package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts +39 -0
  293. package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts.map +1 -0
  294. package/dist/service/firehose/source/read/sim-firehose-source-poll.js +48 -0
  295. package/dist/service/firehose/source/read/sim-firehose-source-poll.js.map +1 -0
  296. package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts +62 -0
  297. package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts.map +1 -0
  298. package/dist/service/firehose/source/read/sim-firehose-source-reader.js +94 -0
  299. package/dist/service/firehose/source/read/sim-firehose-source-reader.js.map +1 -0
  300. package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts +39 -0
  301. package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts.map +1 -0
  302. package/dist/service/firehose/source/read/sim-firehose-source-reading.js +48 -0
  303. package/dist/service/firehose/source/read/sim-firehose-source-reading.js.map +1 -0
  304. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts +12 -0
  305. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts.map +1 -0
  306. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js +56 -0
  307. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js.map +1 -0
  308. package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts +36 -0
  309. package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts.map +1 -0
  310. package/dist/service/firehose/source/read/sim-firehose-source-shard.js +45 -0
  311. package/dist/service/firehose/source/read/sim-firehose-source-shard.js.map +1 -0
  312. package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts +42 -0
  313. package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts.map +1 -0
  314. package/dist/service/firehose/source/read/sim-firehose-source-shards.js +53 -0
  315. package/dist/service/firehose/source/read/sim-firehose-source-shards.js.map +1 -0
  316. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts +29 -0
  317. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts.map +1 -0
  318. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js +57 -0
  319. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js.map +1 -0
  320. package/dist/service/firehose/source/sim-firehose-record-source.d.ts +140 -0
  321. package/dist/service/firehose/source/sim-firehose-record-source.d.ts.map +1 -0
  322. package/dist/service/firehose/source/sim-firehose-record-source.js +53 -0
  323. package/dist/service/firehose/source/sim-firehose-record-source.js.map +1 -0
  324. package/dist/service/firehose/source/sim-firehose-source-choice.d.ts +26 -0
  325. package/dist/service/firehose/source/sim-firehose-source-choice.d.ts.map +1 -0
  326. package/dist/service/firehose/source/sim-firehose-source-choice.js +68 -0
  327. package/dist/service/firehose/source/sim-firehose-source-choice.js.map +1 -0
  328. package/dist/service/firehose/source/sim-firehose-source-failures.d.ts +38 -0
  329. package/dist/service/firehose/source/sim-firehose-source-failures.d.ts.map +1 -0
  330. package/dist/service/firehose/source/sim-firehose-source-failures.js +33 -0
  331. package/dist/service/firehose/source/sim-firehose-source-failures.js.map +1 -0
  332. package/dist/service/firehose/source/sim-firehose-source.d.ts +64 -0
  333. package/dist/service/firehose/source/sim-firehose-source.d.ts.map +1 -0
  334. package/dist/service/firehose/source/sim-firehose-source.js +58 -0
  335. package/dist/service/firehose/source/sim-firehose-source.js.map +1 -0
  336. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts +10 -0
  337. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts.map +1 -0
  338. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js +12 -0
  339. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js.map +1 -0
  340. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts +9 -0
  341. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts.map +1 -0
  342. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js +25 -0
  343. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js.map +1 -0
  344. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts +37 -0
  345. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts.map +1 -0
  346. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js +55 -0
  347. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js.map +1 -0
  348. package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts +50 -0
  349. package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts.map +1 -0
  350. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts +57 -0
  351. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts.map +1 -0
  352. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js +61 -0
  353. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js.map +1 -0
  354. package/dist/service/firehose/stream/sim-firehose-delivery-stream.js +42 -0
  355. package/dist/service/firehose/stream/sim-firehose-delivery-stream.js.map +1 -0
  356. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts +32 -0
  357. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts.map +1 -0
  358. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js +42 -0
  359. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js.map +1 -0
  360. package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts +29 -0
  361. package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts.map +1 -0
  362. package/dist/service/stepfunctions/choice/sim-states-choice-operand.js +38 -0
  363. package/dist/service/stepfunctions/choice/sim-states-choice-operand.js.map +1 -0
  364. package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts +15 -0
  365. package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts.map +1 -0
  366. package/dist/service/stepfunctions/choice/sim-states-choice-parse.js +44 -0
  367. package/dist/service/stepfunctions/choice/sim-states-choice-parse.js.map +1 -0
  368. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts +10 -0
  369. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts.map +1 -0
  370. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js +31 -0
  371. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js.map +1 -0
  372. package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts +15 -0
  373. package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts.map +1 -0
  374. package/dist/service/stepfunctions/choice/sim-states-choice-rule.js +18 -0
  375. package/dist/service/stepfunctions/choice/sim-states-choice-rule.js.map +1 -0
  376. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts +7 -0
  377. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts.map +1 -0
  378. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js +72 -0
  379. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js.map +1 -0
  380. package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts +33 -0
  381. package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts.map +1 -0
  382. package/dist/service/stepfunctions/choice/sim-states-choice-test.js +34 -0
  383. package/dist/service/stepfunctions/choice/sim-states-choice-test.js.map +1 -0
  384. package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts +26 -0
  385. package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts.map +1 -0
  386. package/dist/service/stepfunctions/choice/sim-states-comparison-families.js +65 -0
  387. package/dist/service/stepfunctions/choice/sim-states-comparison-families.js.map +1 -0
  388. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts +15 -0
  389. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts.map +1 -0
  390. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js +43 -0
  391. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js.map +1 -0
  392. package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts +49 -0
  393. package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts.map +1 -0
  394. package/dist/service/stepfunctions/choice/sim-states-comparison.js +51 -0
  395. package/dist/service/stepfunctions/choice/sim-states-comparison.js.map +1 -0
  396. package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts +6 -0
  397. package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts.map +1 -0
  398. package/dist/service/stepfunctions/choice/sim-states-comparisons.js +64 -0
  399. package/dist/service/stepfunctions/choice/sim-states-comparisons.js.map +1 -0
  400. package/dist/service/stepfunctions/choice/sim-states-glob.d.ts +14 -0
  401. package/dist/service/stepfunctions/choice/sim-states-glob.d.ts.map +1 -0
  402. package/dist/service/stepfunctions/choice/sim-states-glob.js +73 -0
  403. package/dist/service/stepfunctions/choice/sim-states-glob.js.map +1 -0
  404. package/dist/service/stepfunctions/command/execution/execution.command.d.ts +32 -0
  405. package/dist/service/stepfunctions/command/execution/execution.command.d.ts.map +1 -0
  406. package/dist/service/stepfunctions/command/execution/execution.command.js +2 -0
  407. package/dist/service/stepfunctions/command/execution/execution.command.js.map +1 -0
  408. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts +11 -0
  409. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts.map +1 -0
  410. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js +23 -0
  411. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js.map +1 -0
  412. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts +12 -0
  413. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts.map +1 -0
  414. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js +23 -0
  415. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js.map +1 -0
  416. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts +12 -0
  417. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts.map +1 -0
  418. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js +21 -0
  419. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js.map +1 -0
  420. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts +36 -0
  421. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -0
  422. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +64 -0
  423. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -0
  424. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts +18 -0
  425. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts.map +1 -0
  426. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js +41 -0
  427. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js.map +1 -0
  428. package/dist/service/stepfunctions/command/machine/machine.command.d.ts +63 -0
  429. package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -0
  430. package/dist/service/stepfunctions/command/machine/machine.command.js +2 -0
  431. package/dist/service/stepfunctions/command/machine/machine.command.js.map +1 -0
  432. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts +30 -0
  433. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts.map +1 -0
  434. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js +64 -0
  435. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js.map +1 -0
  436. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +22 -0
  437. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -0
  438. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +38 -0
  439. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -0
  440. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts +7 -0
  441. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts.map +1 -0
  442. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js +15 -0
  443. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js.map +1 -0
  444. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts +18 -0
  445. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts.map +1 -0
  446. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js +49 -0
  447. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js.map +1 -0
  448. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts +26 -0
  449. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts.map +1 -0
  450. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js +44 -0
  451. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js.map +1 -0
  452. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +6 -0
  453. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -0
  454. package/dist/service/stepfunctions/command/sim-step-functions-command.types.js +2 -0
  455. package/dist/service/stepfunctions/command/sim-step-functions-command.types.js.map +1 -0
  456. package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts +12 -0
  457. package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts.map +1 -0
  458. package/dist/service/stepfunctions/command/sim-step-functions-request-options.js +2 -0
  459. package/dist/service/stepfunctions/command/sim-step-functions-request-options.js.map +1 -0
  460. package/dist/service/stepfunctions/data/sim-states-result-path.js +1 -1
  461. package/dist/service/stepfunctions/data/sim-states-result-path.js.map +1 -1
  462. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts +10 -0
  463. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts.map +1 -0
  464. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js +45 -0
  465. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js.map +1 -0
  466. package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts +10 -0
  467. package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts.map +1 -0
  468. package/dist/service/stepfunctions/data/sim-states-timestamp.js +26 -0
  469. package/dist/service/stepfunctions/data/sim-states-timestamp.js.map +1 -0
  470. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +10 -0
  471. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -0
  472. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +61 -0
  473. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -0
  474. package/dist/service/stepfunctions/definition/sim-states-definition.d.ts +15 -0
  475. package/dist/service/stepfunctions/definition/sim-states-definition.d.ts.map +1 -0
  476. package/dist/service/stepfunctions/definition/sim-states-definition.js +2 -0
  477. package/dist/service/stepfunctions/definition/sim-states-definition.js.map +1 -0
  478. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts +17 -0
  479. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -0
  480. package/dist/service/stepfunctions/definition/sim-states-state-fields.js +47 -0
  481. package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -0
  482. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts +7 -0
  483. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -0
  484. package/dist/service/stepfunctions/definition/sim-states-state-parse.js +67 -0
  485. package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -0
  486. package/dist/service/stepfunctions/definition/sim-states-state.d.ts +98 -0
  487. package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -0
  488. package/dist/service/stepfunctions/definition/sim-states-state.js +34 -0
  489. package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -0
  490. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts +10 -0
  491. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -0
  492. package/dist/service/stepfunctions/definition/sim-states-transitions.js +79 -0
  493. package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -0
  494. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +99 -0
  495. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts.map +1 -1
  496. package/dist/service/stepfunctions/error/sim-step-functions.error.js +119 -0
  497. package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
  498. package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts +33 -0
  499. package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts.map +1 -0
  500. package/dist/service/stepfunctions/execution/sim-states-execution-store.js +55 -0
  501. package/dist/service/stepfunctions/execution/sim-states-execution-store.js.map +1 -0
  502. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +53 -0
  503. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -0
  504. package/dist/service/stepfunctions/execution/sim-states-execution.js +77 -0
  505. package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -0
  506. package/dist/service/stepfunctions/execution/sim-states-failure.d.ts +24 -0
  507. package/dist/service/stepfunctions/execution/sim-states-failure.d.ts.map +1 -0
  508. package/dist/service/stepfunctions/execution/sim-states-failure.js +50 -0
  509. package/dist/service/stepfunctions/execution/sim-states-failure.js.map +1 -0
  510. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +42 -0
  511. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -0
  512. package/dist/service/stepfunctions/execution/sim-states-interpreter.js +124 -0
  513. package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -0
  514. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts +12 -0
  515. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -0
  516. package/dist/service/stepfunctions/execution/sim-states-run-choice.js +24 -0
  517. package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -0
  518. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +15 -0
  519. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -0
  520. package/dist/service/stepfunctions/execution/sim-states-run-state.js +68 -0
  521. package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -0
  522. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts +14 -0
  523. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -0
  524. package/dist/service/stepfunctions/execution/sim-states-run-task.js +23 -0
  525. package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -0
  526. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts +11 -0
  527. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -0
  528. package/dist/service/stepfunctions/execution/sim-states-run-wait.js +21 -0
  529. package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -0
  530. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +27 -0
  531. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -0
  532. package/dist/service/stepfunctions/execution/sim-states-settlement.js +33 -0
  533. package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -0
  534. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +46 -0
  535. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -0
  536. package/dist/service/stepfunctions/execution/sim-states-state-outcome.js +2 -0
  537. package/dist/service/stepfunctions/execution/sim-states-state-outcome.js.map +1 -0
  538. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +27 -0
  539. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -0
  540. package/dist/service/stepfunctions/execution/sim-states-state-runner.js +36 -0
  541. package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -0
  542. package/dist/service/stepfunctions/index.d.ts +16 -0
  543. package/dist/service/stepfunctions/index.d.ts.map +1 -0
  544. package/dist/service/stepfunctions/index.js +9 -0
  545. package/dist/service/stepfunctions/index.js.map +1 -0
  546. package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts +30 -0
  547. package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts.map +1 -0
  548. package/dist/service/stepfunctions/machine/sim-state-machine-arn.js +48 -0
  549. package/dist/service/stepfunctions/machine/sim-state-machine-arn.js.map +1 -0
  550. package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts +20 -0
  551. package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts.map +1 -0
  552. package/dist/service/stepfunctions/machine/sim-state-machine-store.js +32 -0
  553. package/dist/service/stepfunctions/machine/sim-state-machine-store.js.map +1 -0
  554. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +54 -0
  555. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -0
  556. package/dist/service/stepfunctions/machine/sim-state-machine.js +60 -0
  557. package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -0
  558. package/dist/service/stepfunctions/machine/sim-states-name.d.ts +10 -0
  559. package/dist/service/stepfunctions/machine/sim-states-name.d.ts.map +1 -0
  560. package/dist/service/stepfunctions/machine/sim-states-name.js +42 -0
  561. package/dist/service/stepfunctions/machine/sim-states-name.js.map +1 -0
  562. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts +19 -0
  563. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -0
  564. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +53 -0
  565. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -0
  566. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +22 -0
  567. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -0
  568. package/dist/service/stepfunctions/sim-step-functions-inspection.js +29 -0
  569. package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -0
  570. package/dist/service/stepfunctions/sim-step-functions.d.ts +67 -0
  571. package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -0
  572. package/dist/service/stepfunctions/sim-step-functions.js +124 -0
  573. package/dist/service/stepfunctions/sim-step-functions.js.map +1 -0
  574. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +33 -0
  575. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -0
  576. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +49 -0
  577. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -0
  578. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts +25 -0
  579. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts.map +1 -0
  580. package/dist/service/stepfunctions/task/sim-states-execution-role.js +57 -0
  581. package/dist/service/stepfunctions/task/sim-states-execution-role.js.map +1 -0
  582. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +31 -0
  583. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -0
  584. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +39 -0
  585. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -0
  586. package/dist/service/stepfunctions/task/sim-states-function-location.d.ts +20 -0
  587. package/dist/service/stepfunctions/task/sim-states-function-location.d.ts.map +1 -0
  588. package/dist/service/stepfunctions/task/sim-states-function-location.js +28 -0
  589. package/dist/service/stepfunctions/task/sim-states-function-location.js.map +1 -0
  590. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +34 -0
  591. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -0
  592. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +65 -0
  593. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -0
  594. package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts +16 -0
  595. package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts.map +1 -0
  596. package/dist/service/stepfunctions/task/sim-states-no-task-targets.js +19 -0
  597. package/dist/service/stepfunctions/task/sim-states-no-task-targets.js.map +1 -0
  598. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +14 -0
  599. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -0
  600. package/dist/service/stepfunctions/task/sim-states-task-fields.js +29 -0
  601. package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -0
  602. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +57 -0
  603. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -0
  604. package/dist/service/stepfunctions/task/sim-states-task-function.js +93 -0
  605. package/dist/service/stepfunctions/task/sim-states-task-function.js.map +1 -0
  606. package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts +29 -0
  607. package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts.map +1 -0
  608. package/dist/service/stepfunctions/task/sim-states-task-invocation.js +2 -0
  609. package/dist/service/stepfunctions/task/sim-states-task-invocation.js.map +1 -0
  610. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +12 -0
  611. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -0
  612. package/dist/service/stepfunctions/task/sim-states-task-resource.js +64 -0
  613. package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -0
  614. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +37 -0
  615. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -0
  616. package/dist/service/stepfunctions/task/sim-states-task-target.js +12 -0
  617. package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -0
  618. package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts +11 -0
  619. package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts.map +1 -0
  620. package/dist/service/stepfunctions/wait/sim-states-wait-due.js +67 -0
  621. package/dist/service/stepfunctions/wait/sim-states-wait-due.js.map +1 -0
  622. package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts +18 -0
  623. package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts.map +1 -0
  624. package/dist/service/stepfunctions/wait/sim-states-wait-fields.js +85 -0
  625. package/dist/service/stepfunctions/wait/sim-states-wait-fields.js.map +1 -0
  626. package/package.json +11 -1
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Build the error a Resource of a simulated Firehose type is refused with.
3
+ *
4
+ * The wording is deliberate. Sim CloudFormation reads an error saying a
5
+ * Resource is unsupported as one to record and step over, and stepping over a
6
+ * delivery stream that cannot be created as the template asked for it is the
7
+ * wrong answer where the template asked for something Firehose itself would
8
+ * refuse: the Stack would look deployed while nothing could be put anywhere. So
9
+ * a refusal here says the Resource is invalid.
10
+ */
11
+ export declare function simCfnFirehoseResourceError(resourceType: string, logicalId: string, reason: string, cause?: unknown): Error;
12
+ /**
13
+ * Build the error a Resource outside the simulation is skipped with.
14
+ *
15
+ * The "Unsupported sim ... CloudFormation" wording is what marks the Resource
16
+ * as skipped rather than failing the Stack, so the rest of the template still
17
+ * deploys around it.
18
+ */
19
+ export declare function simCfnFirehoseUnsupportedResourceError(logicalId: string, reason: string, cause?: unknown): Error;
20
+ /**
21
+ * Run the simulated Firehose commands one Resource is made of, naming the
22
+ * Resource in whatever they refuse.
23
+ *
24
+ * Every Resource type here goes through the ordinary Firehose commands, so what
25
+ * a template may ask for is decided once, by simulated Firehose, rather than
26
+ * again in the CloudFormation layer. What that leaves out is where the request
27
+ * came from: a deployment failing with `DeliveryStreamName order/events may
28
+ * hold only letters` says nothing about which Resource asked for it.
29
+ *
30
+ * The two refusals naming something outside the simulation are turned into
31
+ * skips instead. A delivery stream writing to Redshift or reading a Kinesis
32
+ * stream is a delivery stream this simulator has no behaviour for, and dropping
33
+ * it is the smallest thing that can be dropped: the Stack still deploys, and
34
+ * `stack.skippedResources` says what is missing. Only Firehose's own errors are
35
+ * touched, so a refusal the CloudFormation layer decided keeps the wording it
36
+ * was written with.
37
+ */
38
+ export declare function simCfnFirehoseResourceCreation<T>(resourceType: string, logicalId: string, create: () => Promise<T>): Promise<T>;
39
+ /**
40
+ * Build the error one AWS::KinesisFirehose::DeliveryStream Resource's
41
+ * properties are refused with.
42
+ */
43
+ export declare function simCfnFirehoseDeliveryStreamPropertyError(logicalId: string, reason: string): Error;
44
+ //# sourceMappingURL=sim-cfn-firehose-resource-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-firehose-resource-error.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/cfn/sim-cfn-firehose-resource-error.ts"],"names":[],"mappings":"AAOA;;;;;;;;;GASG;AACH,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,OAAO,GACd,KAAK,CAIP;AAED;;;;;;GAMG;AACH,wBAAgB,sCAAsC,CACpD,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,OAAO,GACd,KAAK,CAKP;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,8BAA8B,CAAC,CAAC,EACpD,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GACvB,OAAO,CAAC,CAAC,CAAC,CAuBZ;AAaD;;;GAGG;AACH,wBAAgB,yCAAyC,CACvD,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GACb,KAAK,CAMP"}
@@ -0,0 +1,75 @@
1
+ import { SimFirehoseError, SimFirehoseUnsimulatedDestination, SimFirehoseUnsimulatedSource, } from "../error/sim-firehose.error.js";
2
+ import { firehoseDeliveryStreamResourceType } from "./sim-cfn-firehose-resource-types.js";
3
+ /**
4
+ * Build the error a Resource of a simulated Firehose type is refused with.
5
+ *
6
+ * The wording is deliberate. Sim CloudFormation reads an error saying a
7
+ * Resource is unsupported as one to record and step over, and stepping over a
8
+ * delivery stream that cannot be created as the template asked for it is the
9
+ * wrong answer where the template asked for something Firehose itself would
10
+ * refuse: the Stack would look deployed while nothing could be put anywhere. So
11
+ * a refusal here says the Resource is invalid.
12
+ */
13
+ export function simCfnFirehoseResourceError(resourceType, logicalId, reason, cause) {
14
+ return new Error(`Invalid ${resourceType} Resource ${logicalId}: ${reason}`, {
15
+ cause,
16
+ });
17
+ }
18
+ /**
19
+ * Build the error a Resource outside the simulation is skipped with.
20
+ *
21
+ * The "Unsupported sim ... CloudFormation" wording is what marks the Resource
22
+ * as skipped rather than failing the Stack, so the rest of the template still
23
+ * deploys around it.
24
+ */
25
+ export function simCfnFirehoseUnsupportedResourceError(logicalId, reason, cause) {
26
+ return new Error(`Unsupported sim Firehose CloudFormation Resource ${logicalId}: ${reason}`, { cause });
27
+ }
28
+ /**
29
+ * Run the simulated Firehose commands one Resource is made of, naming the
30
+ * Resource in whatever they refuse.
31
+ *
32
+ * Every Resource type here goes through the ordinary Firehose commands, so what
33
+ * a template may ask for is decided once, by simulated Firehose, rather than
34
+ * again in the CloudFormation layer. What that leaves out is where the request
35
+ * came from: a deployment failing with `DeliveryStreamName order/events may
36
+ * hold only letters` says nothing about which Resource asked for it.
37
+ *
38
+ * The two refusals naming something outside the simulation are turned into
39
+ * skips instead. A delivery stream writing to Redshift or reading a Kinesis
40
+ * stream is a delivery stream this simulator has no behaviour for, and dropping
41
+ * it is the smallest thing that can be dropped: the Stack still deploys, and
42
+ * `stack.skippedResources` says what is missing. Only Firehose's own errors are
43
+ * touched, so a refusal the CloudFormation layer decided keeps the wording it
44
+ * was written with.
45
+ */
46
+ export async function simCfnFirehoseResourceCreation(resourceType, logicalId, create) {
47
+ try {
48
+ return await create();
49
+ }
50
+ catch (error) {
51
+ if (isUnsimulatedFirehoseFeature(error)) {
52
+ throw simCfnFirehoseUnsupportedResourceError(logicalId, error.message, error);
53
+ }
54
+ if (error instanceof SimFirehoseError) {
55
+ throw simCfnFirehoseResourceError(resourceType, logicalId, error.message, error);
56
+ }
57
+ throw error;
58
+ }
59
+ }
60
+ /**
61
+ * Whether a refusal says the delivery stream is outside the simulation, rather
62
+ * than that the template got it wrong.
63
+ */
64
+ function isUnsimulatedFirehoseFeature(error) {
65
+ return (error instanceof SimFirehoseUnsimulatedDestination ||
66
+ error instanceof SimFirehoseUnsimulatedSource);
67
+ }
68
+ /**
69
+ * Build the error one AWS::KinesisFirehose::DeliveryStream Resource's
70
+ * properties are refused with.
71
+ */
72
+ export function simCfnFirehoseDeliveryStreamPropertyError(logicalId, reason) {
73
+ return simCfnFirehoseResourceError(firehoseDeliveryStreamResourceType, logicalId, reason);
74
+ }
75
+ //# sourceMappingURL=sim-cfn-firehose-resource-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-firehose-resource-error.js","sourceRoot":"","sources":["../../../../src/service/firehose/cfn/sim-cfn-firehose-resource-error.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAE1F;;;;;;;;;GASG;AACH,MAAM,UAAU,2BAA2B,CACzC,YAAoB,EACpB,SAAiB,EACjB,MAAc,EACd,KAAe;IAEf,OAAO,IAAI,KAAK,CAAC,WAAW,YAAY,aAAa,SAAS,KAAK,MAAM,EAAE,EAAE;QAC3E,KAAK;KACN,CAAC,CAAC;AACL,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,sCAAsC,CACpD,SAAiB,EACjB,MAAc,EACd,KAAe;IAEf,OAAO,IAAI,KAAK,CACd,oDAAoD,SAAS,KAAK,MAAM,EAAE,EAC1E,EAAE,KAAK,EAAE,CACV,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAClD,YAAoB,EACpB,SAAiB,EACjB,MAAwB;IAExB,IAAI,CAAC;QACH,OAAO,MAAM,MAAM,EAAE,CAAC;IACxB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,4BAA4B,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,MAAM,sCAAsC,CAC1C,SAAS,EACT,KAAK,CAAC,OAAO,EACb,KAAK,CACN,CAAC;QACJ,CAAC;QAED,IAAI,KAAK,YAAY,gBAAgB,EAAE,CAAC;YACtC,MAAM,2BAA2B,CAC/B,YAAY,EACZ,SAAS,EACT,KAAK,CAAC,OAAO,EACb,KAAK,CACN,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,SAAS,4BAA4B,CAAC,KAAc;IAClD,OAAO,CACL,KAAK,YAAY,iCAAiC;QAClD,KAAK,YAAY,4BAA4B,CAC9C,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,yCAAyC,CACvD,SAAiB,EACjB,MAAc;IAEd,OAAO,2BAA2B,CAChC,kCAAkC,EAClC,SAAS,EACT,MAAM,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The CloudFormation Resource types simulated Firehose creates.
3
+ *
4
+ * Named here rather than spelled out where they are used, because each one is
5
+ * written twice: once by the factory dispatching on it, and once by the
6
+ * refusals that quote it back to whoever wrote the template.
7
+ */
8
+ export declare const firehoseDeliveryStreamResourceType = "AWS::KinesisFirehose::DeliveryStream";
9
+ /**
10
+ * The Resource type name the factory dispatches on, which is the last part of
11
+ * the full type.
12
+ */
13
+ export declare const firehoseDeliveryStreamResourceTypeName = "DeliveryStream";
14
+ //# sourceMappingURL=sim-cfn-firehose-resource-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-firehose-resource-types.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/cfn/sim-cfn-firehose-resource-types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC,yCACP,CAAC;AAEzC;;;GAGG;AACH,eAAO,MAAM,sCAAsC,mBAAmB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The CloudFormation Resource types simulated Firehose creates.
3
+ *
4
+ * Named here rather than spelled out where they are used, because each one is
5
+ * written twice: once by the factory dispatching on it, and once by the
6
+ * refusals that quote it back to whoever wrote the template.
7
+ */
8
+ export const firehoseDeliveryStreamResourceType = "AWS::KinesisFirehose::DeliveryStream";
9
+ /**
10
+ * The Resource type name the factory dispatches on, which is the last part of
11
+ * the full type.
12
+ */
13
+ export const firehoseDeliveryStreamResourceTypeName = "DeliveryStream";
14
+ //# sourceMappingURL=sim-cfn-firehose-resource-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-firehose-resource-types.js","sourceRoot":"","sources":["../../../../src/service/firehose/cfn/sim-cfn-firehose-resource-types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAC7C,sCAAsC,CAAC;AAEzC;;;GAGG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { SimCfnServiceResourceFactory } from "../../cloudformation/resource/factory/sim-cfn-resource-factory.type.js";
2
+ import type { SimCfnResource, SimCloudFormationResourceCreateContext } from "../../cloudformation/resource/sim-cfn-resource.js";
3
+ import type { SimCloudFormationResourceDeleteContext } from "../../cloudformation/resource/sim-cfn-resource.type.js";
4
+ import type { SimFirehose } from "../sim-firehose.js";
5
+ interface SimFirehoseCfnResourceFactoryProperties {
6
+ readonly firehose: SimFirehose;
7
+ }
8
+ /**
9
+ * CloudFormation Resource factory for simulated Firehose resources.
10
+ */
11
+ export declare class SimFirehoseCfnResourceFactory implements SimCfnServiceResourceFactory {
12
+ private readonly deliveryStreamCreator;
13
+ private readonly deleter;
14
+ constructor(properties: SimFirehoseCfnResourceFactoryProperties);
15
+ /**
16
+ * Create a simulated Firehose resource from a CloudFormation Resource.
17
+ *
18
+ * The delivery stream is the one AWS::KinesisFirehose::* Resource type this
19
+ * simulation models.
20
+ */
21
+ create(resourceTypeName: string, resource: SimCfnResource, context: SimCloudFormationResourceCreateContext): Promise<object | undefined>;
22
+ /**
23
+ * Delete a simulated Firehose resource created from a CloudFormation
24
+ * Resource.
25
+ */
26
+ delete(resourceTypeName: string, resource: SimCfnResource, _context: SimCloudFormationResourceDeleteContext): Promise<void>;
27
+ }
28
+ export {};
29
+ //# sourceMappingURL=sim-firehose-cfn-resource-factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-cfn-resource-factory.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/cfn/sim-firehose-cfn-resource-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wEAAwE,CAAC;AAC3H,OAAO,KAAK,EACV,cAAc,EACd,sCAAsC,EACvC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,wDAAwD,CAAC;AACrH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,6BAA8B,YAAW,4BAA4B;IAChF,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAsC;IAC5E,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgC;IAExD,YAAY,UAAU,EAAE,uCAAuC,EAO9D;IAED;;;;;OAKG;IACG,MAAM,CACV,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,sCAAsC,GAC9C,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAW7B;IAED;;;OAGG;IACG,MAAM,CACV,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,cAAc,EACxB,QAAQ,EAAE,sCAAsC,GAC/C,OAAO,CAAC,IAAI,CAAC,CAEf;CACF"}
@@ -0,0 +1,38 @@
1
+ import { SimCfnFirehoseDeliveryStreamCreator } from "./delivery-stream/sim-cfn-firehose-delivery-stream-creator.js";
2
+ import { SimCfnFirehoseResourceDeleter } from "./sim-cfn-firehose-resource-deleter.js";
3
+ import { firehoseDeliveryStreamResourceTypeName } from "./sim-cfn-firehose-resource-types.js";
4
+ /**
5
+ * CloudFormation Resource factory for simulated Firehose resources.
6
+ */
7
+ export class SimFirehoseCfnResourceFactory {
8
+ deliveryStreamCreator;
9
+ deleter;
10
+ constructor(properties) {
11
+ this.deliveryStreamCreator = new SimCfnFirehoseDeliveryStreamCreator({
12
+ firehose: properties.firehose,
13
+ });
14
+ this.deleter = new SimCfnFirehoseResourceDeleter({
15
+ firehose: properties.firehose,
16
+ });
17
+ }
18
+ /**
19
+ * Create a simulated Firehose resource from a CloudFormation Resource.
20
+ *
21
+ * The delivery stream is the one AWS::KinesisFirehose::* Resource type this
22
+ * simulation models.
23
+ */
24
+ async create(resourceTypeName, resource, context) {
25
+ if (resourceTypeName !== firehoseDeliveryStreamResourceTypeName) {
26
+ throw new Error(`Unsupported sim Firehose CloudFormation Resource ${resourceTypeName}`);
27
+ }
28
+ return await this.deliveryStreamCreator.create(resource, context.resolvedProperties ?? resource.properties);
29
+ }
30
+ /**
31
+ * Delete a simulated Firehose resource created from a CloudFormation
32
+ * Resource.
33
+ */
34
+ async delete(resourceTypeName, resource, _context) {
35
+ await this.deleter.delete(resourceTypeName, resource);
36
+ }
37
+ }
38
+ //# sourceMappingURL=sim-firehose-cfn-resource-factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-cfn-resource-factory.js","sourceRoot":"","sources":["../../../../src/service/firehose/cfn/sim-firehose-cfn-resource-factory.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,mCAAmC,EAAE,MAAM,+DAA+D,CAAC;AACpH,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,sCAAsC,EAAE,MAAM,sCAAsC,CAAC;AAM9F;;GAEG;AACH,MAAM,OAAO,6BAA6B;IACvB,qBAAqB,CAAsC;IAC3D,OAAO,CAAgC;IAExD,YAAY,UAAmD;QAC7D,IAAI,CAAC,qBAAqB,GAAG,IAAI,mCAAmC,CAAC;YACnE,QAAQ,EAAE,UAAU,CAAC,QAAQ;SAC9B,CAAC,CAAC;QACH,IAAI,CAAC,OAAO,GAAG,IAAI,6BAA6B,CAAC;YAC/C,QAAQ,EAAE,UAAU,CAAC,QAAQ;SAC9B,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,gBAAwB,EACxB,QAAwB,EACxB,OAA+C;QAE/C,IAAI,gBAAgB,KAAK,sCAAsC,EAAE,CAAC;YAChE,MAAM,IAAI,KAAK,CACb,oDAAoD,gBAAgB,EAAE,CACvE,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAC5C,QAAQ,EACR,OAAO,CAAC,kBAAkB,IAAI,QAAQ,CAAC,UAAU,CAClD,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,MAAM,CACV,gBAAwB,EACxB,QAAwB,EACxB,QAAgD;QAEhD,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC;IACxD,CAAC;CACF"}
@@ -0,0 +1,39 @@
1
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
2
+ import type { SimAwsResolvedCaller } from "../../../aws/caller/sim-aws-caller-resolver.js";
3
+ import type { SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
4
+ interface SimFirehoseAuthorizerProperties {
5
+ readonly iam: SimIamInterServiceAuthZ;
6
+ }
7
+ /**
8
+ * Applies simulated IAM authorization to Firehose requests.
9
+ *
10
+ * AWS maps each Firehose API operation to the `firehose:` action of the same
11
+ * name, and the resource is the ARN of the delivery stream the operation names.
12
+ * ListDeliveryStreams is the exception. It names no delivery stream, so it
13
+ * authorizes against `*`.
14
+ */
15
+ export declare class SimFirehoseAuthorizer {
16
+ private readonly iam;
17
+ constructor(properties: SimFirehoseAuthorizerProperties);
18
+ /**
19
+ * Ensure the caller may perform an action on a delivery stream, named by its
20
+ * ARN.
21
+ *
22
+ * The delivery stream need not exist. Real IAM evaluates a request before the
23
+ * service handles it, so a caller with no permission is refused whether or
24
+ * not the delivery stream is there. That also keeps an unauthorized caller
25
+ * from finding out which delivery stream names are taken.
26
+ */
27
+ authorizeDeliveryStream(action: string, deliveryStreamArn: string, caller?: SimAwsCaller): SimAwsResolvedCaller;
28
+ /**
29
+ * Ensure the caller may perform an action naming no particular delivery
30
+ * stream.
31
+ *
32
+ * Authorization applies to the whole operation. A denied caller receives
33
+ * AccessDenied rather than an empty or filtered listing.
34
+ */
35
+ authorizeAnyDeliveryStream(action: string, caller?: SimAwsCaller): SimAwsResolvedCaller;
36
+ private authorizeResource;
37
+ }
38
+ export {};
39
+ //# sourceMappingURL=sim-firehose-authorizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-authorizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/command/authorize/sim-firehose-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AAGtG,UAAU,+BAA+B;IACvC,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;CACvC;AAED;;;;;;;GAOG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA0B;IAE9C,YAAY,UAAU,EAAE,+BAA+B,EAEtD;IAED;;;;;;;;OAQG;IACH,uBAAuB,CACrB,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,MAAM,EACzB,MAAM,CAAC,EAAE,YAAY,GACpB,oBAAoB,CAEtB;IAED;;;;;;OAMG;IACH,0BAA0B,CACxB,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,YAAY,GACpB,oBAAoB,CAEtB;IAED,OAAO,CAAC,iBAAiB;CAiB1B"}
@@ -0,0 +1,49 @@
1
+ import { SimIamAccessDenied } from "../../../iam/error/sim-iam.error.js";
2
+ /**
3
+ * Applies simulated IAM authorization to Firehose requests.
4
+ *
5
+ * AWS maps each Firehose API operation to the `firehose:` action of the same
6
+ * name, and the resource is the ARN of the delivery stream the operation names.
7
+ * ListDeliveryStreams is the exception. It names no delivery stream, so it
8
+ * authorizes against `*`.
9
+ */
10
+ export class SimFirehoseAuthorizer {
11
+ iam;
12
+ constructor(properties) {
13
+ this.iam = properties.iam;
14
+ }
15
+ /**
16
+ * Ensure the caller may perform an action on a delivery stream, named by its
17
+ * ARN.
18
+ *
19
+ * The delivery stream need not exist. Real IAM evaluates a request before the
20
+ * service handles it, so a caller with no permission is refused whether or
21
+ * not the delivery stream is there. That also keeps an unauthorized caller
22
+ * from finding out which delivery stream names are taken.
23
+ */
24
+ authorizeDeliveryStream(action, deliveryStreamArn, caller) {
25
+ return this.authorizeResource(action, deliveryStreamArn, caller);
26
+ }
27
+ /**
28
+ * Ensure the caller may perform an action naming no particular delivery
29
+ * stream.
30
+ *
31
+ * Authorization applies to the whole operation. A denied caller receives
32
+ * AccessDenied rather than an empty or filtered listing.
33
+ */
34
+ authorizeAnyDeliveryStream(action, caller) {
35
+ return this.authorizeResource(action, "*", caller);
36
+ }
37
+ authorizeResource(action, resource, caller) {
38
+ const decision = this.iam.authorize({ action, resource, caller });
39
+ if (decision.isDenied) {
40
+ throw new SimIamAccessDenied({
41
+ principal: decision.caller.principal,
42
+ action,
43
+ resource,
44
+ });
45
+ }
46
+ return decision.caller;
47
+ }
48
+ }
49
+ //# sourceMappingURL=sim-firehose-authorizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/firehose/command/authorize/sim-firehose-authorizer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAMzE;;;;;;;GAOG;AACH,MAAM,OAAO,qBAAqB;IACf,GAAG,CAA0B;IAE9C,YAAY,UAA2C;QACrD,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAC5B,CAAC;IAED;;;;;;;;OAQG;IACH,uBAAuB,CACrB,MAAc,EACd,iBAAyB,EACzB,MAAqB;QAErB,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;OAMG;IACH,0BAA0B,CACxB,MAAc,EACd,MAAqB;QAErB,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC;IAEO,iBAAiB,CACvB,MAAc,EACd,QAAgB,EAChB,MAAgC;QAEhC,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;QAElE,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,IAAI,kBAAkB,CAAC;gBAC3B,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS;gBACpC,MAAM;gBACN,QAAQ;aACT,CAAC,CAAC;QACL,CAAC;QAED,OAAO,QAAQ,CAAC,MAAM,CAAC;IACzB,CAAC;CACF"}
@@ -0,0 +1,55 @@
1
+ import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
2
+ /**
3
+ * One record as a put request carries it.
4
+ */
5
+ export interface SimFirehoseRecordInput {
6
+ readonly Data?: Uint8Array | undefined;
7
+ }
8
+ /**
9
+ * Minimal structural sim Firehose PutRecord command.
10
+ *
11
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/firehose/command/PutRecordCommand/
12
+ */
13
+ export interface SimPutRecordCommand {
14
+ readonly input: SimPutRecordCommandInput;
15
+ }
16
+ export interface SimPutRecordCommandInput {
17
+ readonly DeliveryStreamName?: string | undefined;
18
+ readonly Record?: SimFirehoseRecordInput | undefined;
19
+ }
20
+ export interface SimPutRecordCommandOutput {
21
+ readonly RecordId: string;
22
+ readonly Encrypted: boolean;
23
+ readonly $metadata: SimResponseMetadata;
24
+ }
25
+ /**
26
+ * Minimal structural sim Firehose PutRecordBatch command.
27
+ *
28
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/firehose/command/PutRecordBatchCommand/
29
+ */
30
+ export interface SimPutRecordBatchCommand {
31
+ readonly input: SimPutRecordBatchCommandInput;
32
+ }
33
+ export interface SimPutRecordBatchCommandInput {
34
+ readonly DeliveryStreamName?: string | undefined;
35
+ readonly Records?: readonly SimFirehoseRecordInput[] | undefined;
36
+ }
37
+ /**
38
+ * What became of one record a PutRecordBatch request carried.
39
+ *
40
+ * A record the delivery stream took carries the id it was given. One it refused
41
+ * carries an error code and message instead, which is how real Firehose reports
42
+ * a record it dropped while accepting the rest of the batch.
43
+ */
44
+ export interface SimFirehosePutRecordBatchResponseEntry {
45
+ readonly RecordId?: string | undefined;
46
+ readonly ErrorCode?: string | undefined;
47
+ readonly ErrorMessage?: string | undefined;
48
+ }
49
+ export interface SimPutRecordBatchCommandOutput {
50
+ readonly FailedPutCount: number;
51
+ readonly Encrypted: boolean;
52
+ readonly RequestResponses: readonly SimFirehosePutRecordBatchResponseEntry[];
53
+ readonly $metadata: SimResponseMetadata;
54
+ }
55
+ //# sourceMappingURL=record.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/command/record/record.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CACxC;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,EAAE,wBAAwB,CAAC;CAC1C;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;CACtD;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,KAAK,EAAE,6BAA6B,CAAC;CAC/C;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,sBAAsB,EAAE,GAAG,SAAS,CAAC;CAClE;AAED;;;;;;GAMG;AACH,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,gBAAgB,EAAE,SAAS,sCAAsC,EAAE,CAAC;IAC7E,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=record.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record.command.js","sourceRoot":"","sources":["../../../../../src/service/firehose/command/record/record.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ import type { SimFirehoseDelivery } from "../../delivery/sim-firehose-delivery.js";
2
+ import type { SimFirehoseDeliveryStreamAccess } from "../sim-firehose-delivery-stream-access.js";
3
+ import type { SimFirehoseRequestOptions } from "../sim-firehose-request-options.js";
4
+ import type { SimPutRecordBatchCommand, SimPutRecordBatchCommandOutput, SimPutRecordCommand, SimPutRecordCommandOutput } from "./record.command.js";
5
+ interface SimFirehosePutCommandsProperties {
6
+ readonly access: SimFirehoseDeliveryStreamAccess;
7
+ readonly delivery: SimFirehoseDelivery;
8
+ }
9
+ /**
10
+ * The commands that put records onto a delivery stream.
11
+ *
12
+ * A record is taken onto the delivery stream's buffer and the request is
13
+ * answered. The Object it will land in is written later, when the buffer passes
14
+ * one of its two bounds.
15
+ *
16
+ * `Encrypted` is always false. Server side encryption changes nothing a test
17
+ * can see, so `DeliveryStreamEncryptionConfigurationInput` is left unsimulated
18
+ * and no delivery stream reports itself encrypted.
19
+ *
20
+ * A delivery stream reading a Kinesis stream takes neither put. Its records
21
+ * come off the stream, and real Firehose refuses a producer trying to put one
22
+ * on it directly.
23
+ */
24
+ export declare class SimFirehosePutCommands {
25
+ private readonly access;
26
+ private readonly delivery;
27
+ constructor(properties: SimFirehosePutCommandsProperties);
28
+ /**
29
+ * Put one record onto a delivery stream.
30
+ */
31
+ putRecord(command: SimPutRecordCommand, options?: SimFirehoseRequestOptions): SimPutRecordCommandOutput;
32
+ /**
33
+ * Put a batch of records onto a delivery stream.
34
+ *
35
+ * Every record in a batch this simulation accepted is taken. Real Firehose
36
+ * can fail some of a batch under throttling, and nothing here throttles, so
37
+ * `FailedPutCount` is always zero and every response entry carries a record
38
+ * id.
39
+ */
40
+ putRecordBatch(command: SimPutRecordBatchCommand, options?: SimFirehoseRequestOptions): SimPutRecordBatchCommandOutput;
41
+ }
42
+ export {};
43
+ //# sourceMappingURL=sim-firehose-put-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-put-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/command/record/sim-firehose-put-commands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAKpF,OAAO,KAAK,EAEV,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,qBAAqB,CAAC;AAE7B,UAAU,gCAAgC;IACxC,QAAQ,CAAC,MAAM,EAAE,+BAA+B,CAAC;IACjD,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC;CACxC;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IACzD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;IAE/C,YAAY,UAAU,EAAE,gCAAgC,EAGvD;IAED;;OAEG;IACH,SAAS,CACP,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,yBAAyB,GAClC,yBAAyB,CAe3B;IAED;;;;;;;OAOG;IACH,cAAc,CACZ,OAAO,EAAE,wBAAwB,EACjC,OAAO,CAAC,EAAE,yBAAyB,GAClC,8BAA8B,CAsBhC;CACF"}
@@ -0,0 +1,59 @@
1
+ import { randomUUID } from "node:crypto";
2
+ import { simFirehoseBatchData, simFirehoseRecordData, } from "./sim-firehose-record-data.js";
3
+ /**
4
+ * The commands that put records onto a delivery stream.
5
+ *
6
+ * A record is taken onto the delivery stream's buffer and the request is
7
+ * answered. The Object it will land in is written later, when the buffer passes
8
+ * one of its two bounds.
9
+ *
10
+ * `Encrypted` is always false. Server side encryption changes nothing a test
11
+ * can see, so `DeliveryStreamEncryptionConfigurationInput` is left unsimulated
12
+ * and no delivery stream reports itself encrypted.
13
+ *
14
+ * A delivery stream reading a Kinesis stream takes neither put. Its records
15
+ * come off the stream, and real Firehose refuses a producer trying to put one
16
+ * on it directly.
17
+ */
18
+ export class SimFirehosePutCommands {
19
+ access;
20
+ delivery;
21
+ constructor(properties) {
22
+ this.access = properties.access;
23
+ this.delivery = properties.delivery;
24
+ }
25
+ /**
26
+ * Put one record onto a delivery stream.
27
+ */
28
+ putRecord(command, options) {
29
+ const deliveryStream = this.access.require("firehose:PutRecord", command.input.DeliveryStreamName, options);
30
+ deliveryStream.source.requirePut("PutRecord", deliveryStream.name);
31
+ this.delivery.accept(deliveryStream, simFirehoseRecordData(command.input.Record));
32
+ return { $metadata: {}, RecordId: randomUUID(), Encrypted: false };
33
+ }
34
+ /**
35
+ * Put a batch of records onto a delivery stream.
36
+ *
37
+ * Every record in a batch this simulation accepted is taken. Real Firehose
38
+ * can fail some of a batch under throttling, and nothing here throttles, so
39
+ * `FailedPutCount` is always zero and every response entry carries a record
40
+ * id.
41
+ */
42
+ putRecordBatch(command, options) {
43
+ const deliveryStream = this.access.require("firehose:PutRecordBatch", command.input.DeliveryStreamName, options);
44
+ deliveryStream.source.requirePut("PutRecordBatch", deliveryStream.name);
45
+ const data = simFirehoseBatchData(command.input.Records);
46
+ const responses = [];
47
+ for (const record of data) {
48
+ this.delivery.accept(deliveryStream, record);
49
+ responses.push({ RecordId: randomUUID() });
50
+ }
51
+ return {
52
+ $metadata: {},
53
+ FailedPutCount: 0,
54
+ Encrypted: false,
55
+ RequestResponses: responses,
56
+ };
57
+ }
58
+ }
59
+ //# sourceMappingURL=sim-firehose-put-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-put-commands.js","sourceRoot":"","sources":["../../../../../src/service/firehose/command/record/sim-firehose-put-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAIzC,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,+BAA+B,CAAC;AAcvC;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,sBAAsB;IAChB,MAAM,CAAkC;IACxC,QAAQ,CAAsB;IAE/C,YAAY,UAA4C;QACtD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,SAAS,CACP,OAA4B,EAC5B,OAAmC;QAEnC,MAAM,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CACxC,oBAAoB,EACpB,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAChC,OAAO,CACR,CAAC;QAEF,cAAc,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;QAEnE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAClB,cAAc,EACd,qBAAqB,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAC5C,CAAC;QAEF,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IACrE,CAAC;IAED;;;;;;;OAOG;IACH,cAAc,CACZ,OAAiC,EACjC,OAAmC;QAEnC,MAAM,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CACxC,yBAAyB,EACzB,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAChC,OAAO,CACR,CAAC;QAEF,cAAc,CAAC,MAAM,CAAC,UAAU,CAAC,gBAAgB,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;QACxE,MAAM,IAAI,GAAG,oBAAoB,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACzD,MAAM,SAAS,GAA6C,EAAE,CAAC;QAE/D,KAAK,MAAM,MAAM,IAAI,IAAI,EAAE,CAAC;YAC1B,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;YAC7C,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;QAC7C,CAAC;QAED,OAAO;YACL,SAAS,EAAE,EAAE;YACb,cAAc,EAAE,CAAC;YACjB,SAAS,EAAE,KAAK;YAChB,gBAAgB,EAAE,SAAS;SAC5B,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,21 @@
1
+ import type { SimFirehoseRecordInput } from "./record.command.js";
2
+ /**
3
+ * The most records one PutRecordBatch request may carry.
4
+ */
5
+ export declare const maxBatchRecords = 500;
6
+ /**
7
+ * Read the bytes one record carries, or refuse it.
8
+ *
9
+ * The `position` names where the record was, so a refusal on a batch says which
10
+ * record it was about.
11
+ */
12
+ export declare function simFirehoseRecordData(record: SimFirehoseRecordInput | undefined, position?: number): Uint8Array;
13
+ /**
14
+ * Read the bytes a batch of records carries, or refuse the batch.
15
+ *
16
+ * Real Firehose measures the whole request against its own limit as well as
17
+ * each record against theirs, and refuses the request rather than dropping the
18
+ * records that would not fit.
19
+ */
20
+ export declare function simFirehoseBatchData(records: readonly SimFirehoseRecordInput[] | undefined): readonly Uint8Array[];
21
+ //# sourceMappingURL=sim-firehose-record-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-record-data.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/command/record/sim-firehose-record-data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAOlE;;GAEG;AACH,eAAO,MAAM,eAAe,MAAM,CAAC;AAOnC;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,sBAAsB,GAAG,SAAS,EAC1C,QAAQ,CAAC,EAAE,MAAM,GAChB,UAAU,CAiBZ;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,SAAS,sBAAsB,EAAE,GAAG,SAAS,GACrD,SAAS,UAAU,EAAE,CA2BvB"}
@@ -0,0 +1,54 @@
1
+ import { SimFirehoseInvalidArgumentException } from "../../error/sim-firehose.error.js";
2
+ /**
3
+ * The largest record real Firehose takes, before base64 encoding.
4
+ */
5
+ const maxRecordBytes = 1000 * 1024;
6
+ /**
7
+ * The most records one PutRecordBatch request may carry.
8
+ */
9
+ export const maxBatchRecords = 500;
10
+ /**
11
+ * The largest PutRecordBatch request real Firehose takes.
12
+ */
13
+ const maxBatchBytes = 4 * 1024 * 1024;
14
+ /**
15
+ * Read the bytes one record carries, or refuse it.
16
+ *
17
+ * The `position` names where the record was, so a refusal on a batch says which
18
+ * record it was about.
19
+ */
20
+ export function simFirehoseRecordData(record, position) {
21
+ const where = position === undefined ? "" : ` at index ${String(position)}`;
22
+ if (record?.Data === undefined) {
23
+ throw new SimFirehoseInvalidArgumentException(`The record${where} carries no Data`);
24
+ }
25
+ if (record.Data.byteLength > maxRecordBytes) {
26
+ throw new SimFirehoseInvalidArgumentException(`The record${where} is ${String(record.Data.byteLength)} bytes, over ` +
27
+ `the ${String(maxRecordBytes)} bytes Firehose takes`);
28
+ }
29
+ return record.Data;
30
+ }
31
+ /**
32
+ * Read the bytes a batch of records carries, or refuse the batch.
33
+ *
34
+ * Real Firehose measures the whole request against its own limit as well as
35
+ * each record against theirs, and refuses the request rather than dropping the
36
+ * records that would not fit.
37
+ */
38
+ export function simFirehoseBatchData(records) {
39
+ if (records === undefined || records.length === 0) {
40
+ throw new SimFirehoseInvalidArgumentException("A PutRecordBatch request has to carry at least one record");
41
+ }
42
+ if (records.length > maxBatchRecords) {
43
+ throw new SimFirehoseInvalidArgumentException(`A PutRecordBatch request carries ${String(records.length)} records, ` +
44
+ `over the ${String(maxBatchRecords)} Firehose takes`);
45
+ }
46
+ const data = records.map((record, position) => simFirehoseRecordData(record, position));
47
+ const bytes = data.reduce((total, record) => total + record.byteLength, 0);
48
+ if (bytes > maxBatchBytes) {
49
+ throw new SimFirehoseInvalidArgumentException(`A PutRecordBatch request carries ${String(bytes)} bytes, over the ` +
50
+ `${String(maxBatchBytes)} Firehose takes`);
51
+ }
52
+ return data;
53
+ }
54
+ //# sourceMappingURL=sim-firehose-record-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-record-data.js","sourceRoot":"","sources":["../../../../../src/service/firehose/command/record/sim-firehose-record-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,mCAAmC,CAAC;AAGxF;;GAEG;AACH,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAC;AAEnC;;GAEG;AACH,MAAM,aAAa,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtC;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CACnC,MAA0C,EAC1C,QAAiB;IAEjB,MAAM,KAAK,GAAG,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;IAE5E,IAAI,MAAM,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,mCAAmC,CAC3C,aAAa,KAAK,kBAAkB,CACrC,CAAC;IACJ,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,GAAG,cAAc,EAAE,CAAC;QAC5C,MAAM,IAAI,mCAAmC,CAC3C,aAAa,KAAK,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,eAAe;YACpE,OAAO,MAAM,CAAC,cAAc,CAAC,uBAAuB,CACvD,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC,IAAI,CAAC;AACrB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAClC,OAAsD;IAEtD,IAAI,OAAO,KAAK,SAAS,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAClD,MAAM,IAAI,mCAAmC,CAC3C,2DAA2D,CAC5D,CAAC;IACJ,CAAC;IAED,IAAI,OAAO,CAAC,MAAM,GAAG,eAAe,EAAE,CAAC;QACrC,MAAM,IAAI,mCAAmC,CAC3C,oCAAoC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY;YACpE,YAAY,MAAM,CAAC,eAAe,CAAC,iBAAiB,CACvD,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,CAC5C,qBAAqB,CAAC,MAAM,EAAE,QAAQ,CAAC,CACxC,CAAC;IACF,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,KAAK,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAE3E,IAAI,KAAK,GAAG,aAAa,EAAE,CAAC;QAC1B,MAAM,IAAI,mCAAmC,CAC3C,oCAAoC,MAAM,CAAC,KAAK,CAAC,mBAAmB;YAClE,GAAG,MAAM,CAAC,aAAa,CAAC,iBAAiB,CAC5C,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The sim Firehose Command types, gathered for the service facade.
3
+ */
4
+ export type { SimCreateDeliveryStreamCommand, SimCreateDeliveryStreamCommandInput, SimCreateDeliveryStreamCommandOutput, SimDeleteDeliveryStreamCommand, SimDeleteDeliveryStreamCommandInput, SimDeleteDeliveryStreamCommandOutput, SimDescribeDeliveryStreamCommand, SimDescribeDeliveryStreamCommandInput, SimDescribeDeliveryStreamCommandOutput, SimFirehoseBufferingHintsOutput, SimFirehoseDeliveryStreamDescription, SimFirehoseDestinationDescription, SimFirehoseExtendedS3DestinationDescription, SimFirehoseTag, SimListDeliveryStreamsCommand, SimListDeliveryStreamsCommandInput, SimListDeliveryStreamsCommandOutput, } from "./stream/stream.command.js";
5
+ export type { SimFirehosePutRecordBatchResponseEntry, SimFirehoseRecordInput, SimPutRecordBatchCommand, SimPutRecordBatchCommandInput, SimPutRecordBatchCommandOutput, SimPutRecordCommand, SimPutRecordCommandInput, SimPutRecordCommandOutput, } from "./record/record.command.js";
6
+ //# sourceMappingURL=sim-firehose-command.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-command.types.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-command.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,YAAY,EACV,8BAA8B,EAC9B,mCAAmC,EACnC,oCAAoC,EACpC,8BAA8B,EAC9B,mCAAmC,EACnC,oCAAoC,EACpC,gCAAgC,EAChC,qCAAqC,EACrC,sCAAsC,EACtC,+BAA+B,EAC/B,oCAAoC,EACpC,iCAAiC,EACjC,2CAA2C,EAC3C,cAAc,EACd,6BAA6B,EAC7B,kCAAkC,EAClC,mCAAmC,GACpC,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,sCAAsC,EACtC,sBAAsB,EACtB,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,EAC9B,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-firehose-command.types.js.map