@kensio/yulin 1.20.0 → 1.20.2

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 (868) hide show
  1. package/README.md +1 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +1 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  7. package/dist/sdk/router/resolve-sim-sdk-command-router.js +8 -0
  8. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  9. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.d.ts +2 -5
  10. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.d.ts.map +1 -1
  11. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.js +3 -7
  12. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.js.map +1 -1
  13. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.d.ts +22 -0
  14. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.d.ts.map +1 -0
  15. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.js +31 -0
  16. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.js.map +1 -0
  17. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.d.ts +19 -0
  18. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.d.ts.map +1 -0
  19. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.js +2 -0
  20. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.js.map +1 -0
  21. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.d.ts +43 -0
  22. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.d.ts.map +1 -0
  23. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.js +75 -0
  24. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.js.map +1 -0
  25. package/dist/service/apigateway/api/stage/sim-rest-api-stage.d.ts +19 -0
  26. package/dist/service/apigateway/api/stage/sim-rest-api-stage.d.ts.map +1 -1
  27. package/dist/service/apigateway/api/stage/sim-rest-api-stage.js +22 -0
  28. package/dist/service/apigateway/api/stage/sim-rest-api-stage.js.map +1 -1
  29. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.d.ts +33 -0
  30. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.d.ts.map +1 -0
  31. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.js +69 -0
  32. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.js.map +1 -0
  33. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.d.ts +4 -1
  34. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.d.ts.map +1 -1
  35. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.js +13 -4
  36. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.js.map +1 -1
  37. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.d.ts +6 -1
  38. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.d.ts.map +1 -1
  39. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.js +8 -3
  40. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.js.map +1 -1
  41. package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.d.ts.map +1 -1
  42. package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.js +4 -0
  43. package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.js.map +1 -1
  44. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.d.ts +18 -0
  45. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.d.ts.map +1 -0
  46. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.js +42 -0
  47. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.js.map +1 -0
  48. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.d.ts +9 -0
  49. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.d.ts.map +1 -1
  50. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.js +17 -0
  51. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.js.map +1 -1
  52. package/dist/service/apigateway/command/stage/stage.command.d.ts +11 -0
  53. package/dist/service/apigateway/command/stage/stage.command.d.ts.map +1 -1
  54. package/dist/service/apigateway/index.d.ts +2 -0
  55. package/dist/service/apigateway/index.d.ts.map +1 -1
  56. package/dist/service/apigateway/index.js +1 -0
  57. package/dist/service/apigateway/index.js.map +1 -1
  58. package/dist/service/apigateway/serve/sim-api-gateway-controller.d.ts +4 -1
  59. package/dist/service/apigateway/serve/sim-api-gateway-controller.d.ts.map +1 -1
  60. package/dist/service/apigateway/serve/sim-api-gateway-controller.js +10 -1
  61. package/dist/service/apigateway/serve/sim-api-gateway-controller.js.map +1 -1
  62. package/dist/service/apigateway/serve/sim-api-gateway-error-response.d.ts +8 -0
  63. package/dist/service/apigateway/serve/sim-api-gateway-error-response.d.ts.map +1 -1
  64. package/dist/service/apigateway/serve/sim-api-gateway-error-response.js +10 -0
  65. package/dist/service/apigateway/serve/sim-api-gateway-error-response.js.map +1 -1
  66. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts +5 -0
  67. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts.map +1 -1
  68. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js +4 -0
  69. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js.map +1 -1
  70. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.d.ts +24 -0
  71. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.d.ts.map +1 -0
  72. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.js +2 -0
  73. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.js.map +1 -0
  74. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.d.ts +39 -0
  75. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.d.ts.map +1 -0
  76. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.js +74 -0
  77. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.js.map +1 -0
  78. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts +16 -1
  79. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts.map +1 -1
  80. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js +16 -0
  81. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js.map +1 -1
  82. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.d.ts +30 -0
  83. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.d.ts.map +1 -0
  84. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.js +67 -0
  85. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.js.map +1 -0
  86. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts +3 -1
  87. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts.map +1 -1
  88. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js +16 -5
  89. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js.map +1 -1
  90. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts +6 -1
  91. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts.map +1 -1
  92. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js +8 -3
  93. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js.map +1 -1
  94. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts.map +1 -1
  95. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js +8 -0
  96. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js.map +1 -1
  97. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.d.ts +18 -0
  98. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.d.ts.map +1 -0
  99. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.js +32 -0
  100. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.js.map +1 -0
  101. package/dist/service/apigatewayv2/command/stage/stage.command.d.ts +3 -0
  102. package/dist/service/apigatewayv2/command/stage/stage.command.d.ts.map +1 -1
  103. package/dist/service/apigatewayv2/index.d.ts +2 -0
  104. package/dist/service/apigatewayv2/index.d.ts.map +1 -1
  105. package/dist/service/apigatewayv2/index.js +1 -0
  106. package/dist/service/apigatewayv2/index.js.map +1 -1
  107. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts +4 -1
  108. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts.map +1 -1
  109. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js +11 -2
  110. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js.map +1 -1
  111. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts +8 -0
  112. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts.map +1 -1
  113. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js +10 -0
  114. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js.map +1 -1
  115. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +11 -0
  116. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  117. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +17 -1
  118. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  119. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
  120. package/dist/service/aws/factory/sim-aws-account-service-cache.js +5 -0
  121. package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
  122. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts +10 -0
  123. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts.map +1 -1
  124. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js +15 -0
  125. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js.map +1 -1
  126. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +9 -0
  127. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts.map +1 -1
  128. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +15 -0
  129. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js.map +1 -1
  130. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +6 -0
  131. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  132. package/dist/service/aws/factory/sim-aws-service-factory.js +8 -0
  133. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  134. package/dist/service/aws/sim-aws-account-region-scope.d.ts +6 -0
  135. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  136. package/dist/service/aws/sim-aws-account-region-scope.js +8 -0
  137. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  138. package/dist/service/aws/sim-aws-account.d.ts +5 -0
  139. package/dist/service/aws/sim-aws-account.d.ts.map +1 -1
  140. package/dist/service/aws/sim-aws-account.js +6 -0
  141. package/dist/service/aws/sim-aws-account.js.map +1 -1
  142. package/dist/service/aws/sim-aws-region.d.ts +5 -0
  143. package/dist/service/aws/sim-aws-region.d.ts.map +1 -1
  144. package/dist/service/aws/sim-aws-region.js +6 -0
  145. package/dist/service/aws/sim-aws-region.js.map +1 -1
  146. package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
  147. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
  148. package/dist/service/aws/sim-aws-service-accessors.js +8 -0
  149. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
  150. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts +6 -0
  151. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts.map +1 -0
  152. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js +15 -0
  153. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js.map +1 -0
  154. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts +23 -0
  155. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts.map +1 -0
  156. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js +29 -0
  157. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js.map +1 -0
  158. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
  159. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -0
  160. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
  161. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts +27 -0
  162. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +1 -0
  163. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js +47 -0
  164. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +1 -0
  165. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts +49 -0
  166. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +1 -0
  167. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js +89 -0
  168. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +1 -0
  169. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts +23 -0
  170. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +1 -0
  171. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js +28 -0
  172. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +1 -0
  173. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts +57 -0
  174. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +1 -0
  175. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js +99 -0
  176. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +1 -0
  177. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts +21 -0
  178. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +1 -0
  179. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js +37 -0
  180. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +1 -0
  181. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts +32 -0
  182. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
  183. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js +56 -0
  184. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +1 -0
  185. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts +20 -0
  186. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
  187. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js +28 -0
  188. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +1 -0
  189. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts +43 -0
  190. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
  191. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js +64 -0
  192. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +1 -0
  193. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts +10 -0
  194. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
  195. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js +10 -0
  196. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +1 -0
  197. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts +27 -0
  198. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts.map +1 -0
  199. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js +37 -0
  200. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js.map +1 -0
  201. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts +31 -0
  202. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
  203. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js +42 -0
  204. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +1 -0
  205. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts +7 -0
  206. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts.map +1 -0
  207. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +16 -0
  208. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -0
  209. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
  210. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +11 -0
  211. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
  212. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts +7 -0
  213. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts.map +1 -1
  214. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js +9 -1
  215. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js.map +1 -1
  216. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts +5 -0
  217. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts.map +1 -1
  218. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.js.map +1 -1
  219. package/dist/service/cloudfront/cff/sim-cff-arn.d.ts +13 -0
  220. package/dist/service/cloudfront/cff/sim-cff-arn.d.ts.map +1 -0
  221. package/dist/service/cloudfront/cff/sim-cff-arn.js +18 -0
  222. package/dist/service/cloudfront/cff/sim-cff-arn.js.map +1 -0
  223. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +41 -0
  224. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
  225. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts +3 -0
  226. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts.map +1 -1
  227. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js +11 -4
  228. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js.map +1 -1
  229. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts +0 -1
  230. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts.map +1 -1
  231. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js +9 -36
  232. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map +1 -1
  233. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts +19 -0
  234. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts.map +1 -0
  235. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js +39 -0
  236. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js.map +1 -0
  237. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts +10 -0
  238. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts.map +1 -0
  239. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js +17 -0
  240. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js.map +1 -0
  241. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts +3 -0
  242. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts.map +1 -1
  243. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js +9 -2
  244. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js.map +1 -1
  245. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts +3 -0
  246. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts.map +1 -1
  247. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js +6 -0
  248. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js.map +1 -1
  249. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts +48 -0
  250. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts.map +1 -0
  251. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js +66 -0
  252. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js.map +1 -0
  253. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts +11 -0
  254. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts.map +1 -0
  255. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js +14 -0
  256. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js.map +1 -0
  257. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts +5 -0
  258. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts.map +1 -1
  259. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js +16 -1
  260. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js.map +1 -1
  261. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.d.ts.map +1 -1
  262. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js +2 -0
  263. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js.map +1 -1
  264. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
  265. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +8 -0
  266. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
  267. package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts +5 -2
  268. package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts.map +1 -1
  269. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts +24 -0
  270. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts.map +1 -0
  271. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js +51 -0
  272. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js.map +1 -0
  273. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts +41 -0
  274. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts.map +1 -0
  275. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js +78 -0
  276. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js.map +1 -0
  277. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts +20 -0
  278. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts.map +1 -0
  279. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js +55 -0
  280. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js.map +1 -0
  281. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts +30 -0
  282. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts.map +1 -0
  283. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js +90 -0
  284. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js.map +1 -0
  285. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts +26 -0
  286. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts.map +1 -0
  287. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js +47 -0
  288. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js.map +1 -0
  289. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts +44 -0
  290. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts.map +1 -0
  291. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js +89 -0
  292. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js.map +1 -0
  293. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.d.ts +7 -0
  294. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.d.ts.map +1 -0
  295. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.js +27 -0
  296. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.js.map +1 -0
  297. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts +47 -0
  298. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts.map +1 -0
  299. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js +71 -0
  300. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js.map +1 -0
  301. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts +36 -0
  302. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts.map +1 -0
  303. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js +79 -0
  304. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js.map +1 -0
  305. package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts +23 -0
  306. package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts.map +1 -0
  307. package/dist/service/cloudfront/edge/sim-cf-edge-association.js +2 -0
  308. package/dist/service/cloudfront/edge/sim-cf-edge-association.js.map +1 -0
  309. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts +14 -0
  310. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts.map +1 -0
  311. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js +36 -0
  312. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js.map +1 -0
  313. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts +18 -0
  314. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts.map +1 -0
  315. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js +47 -0
  316. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js.map +1 -0
  317. package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts +25 -0
  318. package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts.map +1 -0
  319. package/dist/service/cloudfront/edge/sim-cf-edge-functions.js +2 -0
  320. package/dist/service/cloudfront/edge/sim-cf-edge-functions.js.map +1 -0
  321. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +13 -0
  322. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
  323. package/dist/service/cloudfront/error/sim-cloudfront.error.js +15 -0
  324. package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
  325. package/dist/service/cloudfront/index.d.ts +1 -0
  326. package/dist/service/cloudfront/index.d.ts.map +1 -1
  327. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts +4 -0
  328. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts.map +1 -1
  329. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js +7 -0
  330. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js.map +1 -1
  331. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +6 -0
  332. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -1
  333. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +3 -0
  334. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
  335. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts +15 -0
  336. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts.map +1 -0
  337. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js +74 -0
  338. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js.map +1 -0
  339. package/dist/service/cloudfront/sim-cloudfront-commands.d.ts +10 -0
  340. package/dist/service/cloudfront/sim-cloudfront-commands.d.ts.map +1 -1
  341. package/dist/service/cloudfront/sim-cloudfront-commands.js +10 -1
  342. package/dist/service/cloudfront/sim-cloudfront-commands.js.map +1 -1
  343. package/dist/service/cloudfront/sim-cloudfront.d.ts.map +1 -1
  344. package/dist/service/cloudfront/sim-cloudfront.js +3 -8
  345. package/dist/service/cloudfront/sim-cloudfront.js.map +1 -1
  346. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts +91 -0
  347. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts.map +1 -0
  348. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js +2 -0
  349. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js.map +1 -0
  350. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts +33 -0
  351. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts.map +1 -0
  352. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js +44 -0
  353. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js.map +1 -0
  354. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts +23 -0
  355. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts.map +1 -0
  356. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js +28 -0
  357. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js.map +1 -0
  358. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts +48 -0
  359. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts.map +1 -0
  360. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js +92 -0
  361. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js.map +1 -0
  362. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts +51 -0
  363. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts.map +1 -0
  364. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js +114 -0
  365. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js.map +1 -0
  366. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts +19 -0
  367. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts.map +1 -0
  368. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js +44 -0
  369. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js.map +1 -0
  370. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts +47 -0
  371. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts.map +1 -0
  372. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js +105 -0
  373. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js.map +1 -0
  374. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts +19 -0
  375. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts.map +1 -0
  376. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js +58 -0
  377. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js.map +1 -0
  378. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts +11 -0
  379. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts.map +1 -0
  380. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js +33 -0
  381. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js.map +1 -0
  382. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts +44 -0
  383. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts.map +1 -0
  384. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js +144 -0
  385. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js.map +1 -0
  386. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts +51 -0
  387. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts.map +1 -0
  388. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js +65 -0
  389. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js.map +1 -0
  390. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts +19 -0
  391. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts.map +1 -0
  392. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js +26 -0
  393. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js.map +1 -0
  394. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts +44 -0
  395. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts.map +1 -0
  396. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js +75 -0
  397. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js.map +1 -0
  398. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts +14 -0
  399. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts.map +1 -0
  400. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js +14 -0
  401. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js.map +1 -0
  402. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts +29 -0
  403. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts.map +1 -0
  404. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js +38 -0
  405. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js.map +1 -0
  406. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts +39 -0
  407. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts.map +1 -0
  408. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js +49 -0
  409. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js.map +1 -0
  410. package/dist/service/firehose/command/record/record.command.d.ts +55 -0
  411. package/dist/service/firehose/command/record/record.command.d.ts.map +1 -0
  412. package/dist/service/firehose/command/record/record.command.js +2 -0
  413. package/dist/service/firehose/command/record/record.command.js.map +1 -0
  414. package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts +43 -0
  415. package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts.map +1 -0
  416. package/dist/service/firehose/command/record/sim-firehose-put-commands.js +59 -0
  417. package/dist/service/firehose/command/record/sim-firehose-put-commands.js.map +1 -0
  418. package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts +21 -0
  419. package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts.map +1 -0
  420. package/dist/service/firehose/command/record/sim-firehose-record-data.js +54 -0
  421. package/dist/service/firehose/command/record/sim-firehose-record-data.js.map +1 -0
  422. package/dist/service/firehose/command/sim-firehose-command.types.d.ts +6 -0
  423. package/dist/service/firehose/command/sim-firehose-command.types.d.ts.map +1 -0
  424. package/dist/service/firehose/command/sim-firehose-command.types.js +2 -0
  425. package/dist/service/firehose/command/sim-firehose-command.types.js.map +1 -0
  426. package/dist/service/firehose/command/sim-firehose-commands.d.ts +37 -0
  427. package/dist/service/firehose/command/sim-firehose-commands.d.ts.map +1 -0
  428. package/dist/service/firehose/command/sim-firehose-commands.js +57 -0
  429. package/dist/service/firehose/command/sim-firehose-commands.js.map +1 -0
  430. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts +47 -0
  431. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts.map +1 -0
  432. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js +58 -0
  433. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js.map +1 -0
  434. package/dist/service/firehose/command/sim-firehose-request-options.d.ts +12 -0
  435. package/dist/service/firehose/command/sim-firehose-request-options.d.ts.map +1 -0
  436. package/dist/service/firehose/command/sim-firehose-request-options.js +2 -0
  437. package/dist/service/firehose/command/sim-firehose-request-options.js.map +1 -0
  438. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts +49 -0
  439. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts.map +1 -0
  440. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js +69 -0
  441. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js.map +1 -0
  442. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts +19 -0
  443. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts.map +1 -0
  444. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js +24 -0
  445. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js.map +1 -0
  446. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts +50 -0
  447. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts.map +1 -0
  448. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js +72 -0
  449. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js.map +1 -0
  450. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts +7 -0
  451. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts.map +1 -0
  452. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js +70 -0
  453. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js.map +1 -0
  454. package/dist/service/firehose/command/stream/stream.command.d.ts +137 -0
  455. package/dist/service/firehose/command/stream/stream.command.d.ts.map +1 -0
  456. package/dist/service/firehose/command/stream/stream.command.js +2 -0
  457. package/dist/service/firehose/command/stream/stream.command.js.map +1 -0
  458. package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts +36 -0
  459. package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts.map +1 -0
  460. package/dist/service/firehose/delivery/sim-firehose-buffer.js +55 -0
  461. package/dist/service/firehose/delivery/sim-firehose-buffer.js.map +1 -0
  462. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts +34 -0
  463. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts.map +1 -0
  464. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js +24 -0
  465. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js.map +1 -0
  466. package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts +47 -0
  467. package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts.map +1 -0
  468. package/dist/service/firehose/delivery/sim-firehose-delivery.js +76 -0
  469. package/dist/service/firehose/delivery/sim-firehose-delivery.js.map +1 -0
  470. package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts +21 -0
  471. package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts.map +1 -0
  472. package/dist/service/firehose/delivery/sim-firehose-object-key.js +27 -0
  473. package/dist/service/firehose/delivery/sim-firehose-object-key.js.map +1 -0
  474. package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts +50 -0
  475. package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts.map +1 -0
  476. package/dist/service/firehose/delivery/sim-firehose-object-writer.js +57 -0
  477. package/dist/service/firehose/delivery/sim-firehose-object-writer.js.map +1 -0
  478. package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts +29 -0
  479. package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts.map +1 -0
  480. package/dist/service/firehose/destination/sim-firehose-buffering-hints.js +45 -0
  481. package/dist/service/firehose/destination/sim-firehose-buffering-hints.js.map +1 -0
  482. package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts +35 -0
  483. package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts.map +1 -0
  484. package/dist/service/firehose/destination/sim-firehose-destination-choice.js +48 -0
  485. package/dist/service/firehose/destination/sim-firehose-destination-choice.js.map +1 -0
  486. package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts +32 -0
  487. package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts.map +1 -0
  488. package/dist/service/firehose/destination/sim-firehose-s3-destination.js +51 -0
  489. package/dist/service/firehose/destination/sim-firehose-s3-destination.js.map +1 -0
  490. package/dist/service/firehose/error/sim-firehose.error.d.ts +69 -0
  491. package/dist/service/firehose/error/sim-firehose.error.d.ts.map +1 -0
  492. package/dist/service/firehose/error/sim-firehose.error.js +79 -0
  493. package/dist/service/firehose/error/sim-firehose.error.js.map +1 -0
  494. package/dist/service/firehose/failure/sim-firehose-failure.d.ts +38 -0
  495. package/dist/service/firehose/failure/sim-firehose-failure.d.ts.map +1 -0
  496. package/dist/service/firehose/failure/sim-firehose-failure.js +40 -0
  497. package/dist/service/firehose/failure/sim-firehose-failure.js.map +1 -0
  498. package/dist/service/firehose/failure/sim-firehose-failures.d.ts +32 -0
  499. package/dist/service/firehose/failure/sim-firehose-failures.d.ts.map +1 -0
  500. package/dist/service/firehose/failure/sim-firehose-failures.js +47 -0
  501. package/dist/service/firehose/failure/sim-firehose-failures.js.map +1 -0
  502. package/dist/service/firehose/index.d.ts +17 -0
  503. package/dist/service/firehose/index.d.ts.map +1 -0
  504. package/dist/service/firehose/index.js +12 -0
  505. package/dist/service/firehose/index.js.map +1 -0
  506. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts +18 -0
  507. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts.map +1 -0
  508. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js +48 -0
  509. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js.map +1 -0
  510. package/dist/service/firehose/sim-firehose.d.ts +104 -0
  511. package/dist/service/firehose/sim-firehose.d.ts.map +1 -0
  512. package/dist/service/firehose/sim-firehose.js +130 -0
  513. package/dist/service/firehose/sim-firehose.js.map +1 -0
  514. package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts +39 -0
  515. package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts.map +1 -0
  516. package/dist/service/firehose/source/read/sim-firehose-source-poll.js +48 -0
  517. package/dist/service/firehose/source/read/sim-firehose-source-poll.js.map +1 -0
  518. package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts +62 -0
  519. package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts.map +1 -0
  520. package/dist/service/firehose/source/read/sim-firehose-source-reader.js +94 -0
  521. package/dist/service/firehose/source/read/sim-firehose-source-reader.js.map +1 -0
  522. package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts +39 -0
  523. package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts.map +1 -0
  524. package/dist/service/firehose/source/read/sim-firehose-source-reading.js +48 -0
  525. package/dist/service/firehose/source/read/sim-firehose-source-reading.js.map +1 -0
  526. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts +12 -0
  527. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts.map +1 -0
  528. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js +56 -0
  529. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js.map +1 -0
  530. package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts +36 -0
  531. package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts.map +1 -0
  532. package/dist/service/firehose/source/read/sim-firehose-source-shard.js +45 -0
  533. package/dist/service/firehose/source/read/sim-firehose-source-shard.js.map +1 -0
  534. package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts +42 -0
  535. package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts.map +1 -0
  536. package/dist/service/firehose/source/read/sim-firehose-source-shards.js +53 -0
  537. package/dist/service/firehose/source/read/sim-firehose-source-shards.js.map +1 -0
  538. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts +29 -0
  539. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts.map +1 -0
  540. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js +57 -0
  541. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js.map +1 -0
  542. package/dist/service/firehose/source/sim-firehose-record-source.d.ts +140 -0
  543. package/dist/service/firehose/source/sim-firehose-record-source.d.ts.map +1 -0
  544. package/dist/service/firehose/source/sim-firehose-record-source.js +53 -0
  545. package/dist/service/firehose/source/sim-firehose-record-source.js.map +1 -0
  546. package/dist/service/firehose/source/sim-firehose-source-choice.d.ts +26 -0
  547. package/dist/service/firehose/source/sim-firehose-source-choice.d.ts.map +1 -0
  548. package/dist/service/firehose/source/sim-firehose-source-choice.js +68 -0
  549. package/dist/service/firehose/source/sim-firehose-source-choice.js.map +1 -0
  550. package/dist/service/firehose/source/sim-firehose-source-failures.d.ts +38 -0
  551. package/dist/service/firehose/source/sim-firehose-source-failures.d.ts.map +1 -0
  552. package/dist/service/firehose/source/sim-firehose-source-failures.js +33 -0
  553. package/dist/service/firehose/source/sim-firehose-source-failures.js.map +1 -0
  554. package/dist/service/firehose/source/sim-firehose-source.d.ts +64 -0
  555. package/dist/service/firehose/source/sim-firehose-source.d.ts.map +1 -0
  556. package/dist/service/firehose/source/sim-firehose-source.js +58 -0
  557. package/dist/service/firehose/source/sim-firehose-source.js.map +1 -0
  558. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts +10 -0
  559. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts.map +1 -0
  560. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js +12 -0
  561. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js.map +1 -0
  562. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts +9 -0
  563. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts.map +1 -0
  564. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js +25 -0
  565. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js.map +1 -0
  566. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts +37 -0
  567. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts.map +1 -0
  568. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js +55 -0
  569. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js.map +1 -0
  570. package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts +50 -0
  571. package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts.map +1 -0
  572. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts +57 -0
  573. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts.map +1 -0
  574. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js +61 -0
  575. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js.map +1 -0
  576. package/dist/service/firehose/stream/sim-firehose-delivery-stream.js +42 -0
  577. package/dist/service/firehose/stream/sim-firehose-delivery-stream.js.map +1 -0
  578. package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts +22 -20
  579. package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts.map +1 -1
  580. package/dist/service/lambda/function/environment/sim-lambda-environment.js +27 -29
  581. package/dist/service/lambda/function/environment/sim-lambda-environment.js.map +1 -1
  582. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts +28 -0
  583. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts.map +1 -0
  584. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js +49 -0
  585. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js.map +1 -0
  586. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts +18 -0
  587. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts.map +1 -0
  588. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js +23 -0
  589. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js.map +1 -0
  590. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts +32 -0
  591. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts.map +1 -0
  592. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js +42 -0
  593. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js.map +1 -0
  594. package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts +29 -0
  595. package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts.map +1 -0
  596. package/dist/service/stepfunctions/choice/sim-states-choice-operand.js +38 -0
  597. package/dist/service/stepfunctions/choice/sim-states-choice-operand.js.map +1 -0
  598. package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts +15 -0
  599. package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts.map +1 -0
  600. package/dist/service/stepfunctions/choice/sim-states-choice-parse.js +44 -0
  601. package/dist/service/stepfunctions/choice/sim-states-choice-parse.js.map +1 -0
  602. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts +10 -0
  603. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts.map +1 -0
  604. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js +31 -0
  605. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js.map +1 -0
  606. package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts +15 -0
  607. package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts.map +1 -0
  608. package/dist/service/stepfunctions/choice/sim-states-choice-rule.js +18 -0
  609. package/dist/service/stepfunctions/choice/sim-states-choice-rule.js.map +1 -0
  610. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts +7 -0
  611. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts.map +1 -0
  612. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js +72 -0
  613. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js.map +1 -0
  614. package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts +33 -0
  615. package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts.map +1 -0
  616. package/dist/service/stepfunctions/choice/sim-states-choice-test.js +34 -0
  617. package/dist/service/stepfunctions/choice/sim-states-choice-test.js.map +1 -0
  618. package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts +26 -0
  619. package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts.map +1 -0
  620. package/dist/service/stepfunctions/choice/sim-states-comparison-families.js +65 -0
  621. package/dist/service/stepfunctions/choice/sim-states-comparison-families.js.map +1 -0
  622. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts +15 -0
  623. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts.map +1 -0
  624. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js +43 -0
  625. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js.map +1 -0
  626. package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts +49 -0
  627. package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts.map +1 -0
  628. package/dist/service/stepfunctions/choice/sim-states-comparison.js +51 -0
  629. package/dist/service/stepfunctions/choice/sim-states-comparison.js.map +1 -0
  630. package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts +6 -0
  631. package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts.map +1 -0
  632. package/dist/service/stepfunctions/choice/sim-states-comparisons.js +64 -0
  633. package/dist/service/stepfunctions/choice/sim-states-comparisons.js.map +1 -0
  634. package/dist/service/stepfunctions/choice/sim-states-glob.d.ts +14 -0
  635. package/dist/service/stepfunctions/choice/sim-states-glob.d.ts.map +1 -0
  636. package/dist/service/stepfunctions/choice/sim-states-glob.js +73 -0
  637. package/dist/service/stepfunctions/choice/sim-states-glob.js.map +1 -0
  638. package/dist/service/stepfunctions/command/execution/execution.command.d.ts +32 -0
  639. package/dist/service/stepfunctions/command/execution/execution.command.d.ts.map +1 -0
  640. package/dist/service/stepfunctions/command/execution/execution.command.js +2 -0
  641. package/dist/service/stepfunctions/command/execution/execution.command.js.map +1 -0
  642. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts +11 -0
  643. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts.map +1 -0
  644. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js +23 -0
  645. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js.map +1 -0
  646. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts +12 -0
  647. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts.map +1 -0
  648. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js +23 -0
  649. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js.map +1 -0
  650. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts +12 -0
  651. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts.map +1 -0
  652. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js +21 -0
  653. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js.map +1 -0
  654. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts +36 -0
  655. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -0
  656. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +64 -0
  657. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -0
  658. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts +18 -0
  659. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts.map +1 -0
  660. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js +41 -0
  661. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js.map +1 -0
  662. package/dist/service/stepfunctions/command/machine/machine.command.d.ts +63 -0
  663. package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -0
  664. package/dist/service/stepfunctions/command/machine/machine.command.js +2 -0
  665. package/dist/service/stepfunctions/command/machine/machine.command.js.map +1 -0
  666. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts +30 -0
  667. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts.map +1 -0
  668. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js +64 -0
  669. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js.map +1 -0
  670. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +22 -0
  671. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -0
  672. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +38 -0
  673. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -0
  674. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts +7 -0
  675. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts.map +1 -0
  676. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js +15 -0
  677. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js.map +1 -0
  678. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts +18 -0
  679. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts.map +1 -0
  680. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js +49 -0
  681. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js.map +1 -0
  682. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts +26 -0
  683. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts.map +1 -0
  684. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js +44 -0
  685. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js.map +1 -0
  686. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +6 -0
  687. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -0
  688. package/dist/service/stepfunctions/command/sim-step-functions-command.types.js +2 -0
  689. package/dist/service/stepfunctions/command/sim-step-functions-command.types.js.map +1 -0
  690. package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts +12 -0
  691. package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts.map +1 -0
  692. package/dist/service/stepfunctions/command/sim-step-functions-request-options.js +2 -0
  693. package/dist/service/stepfunctions/command/sim-step-functions-request-options.js.map +1 -0
  694. package/dist/service/stepfunctions/data/sim-states-result-path.js +1 -1
  695. package/dist/service/stepfunctions/data/sim-states-result-path.js.map +1 -1
  696. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts +10 -0
  697. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts.map +1 -0
  698. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js +45 -0
  699. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js.map +1 -0
  700. package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts +10 -0
  701. package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts.map +1 -0
  702. package/dist/service/stepfunctions/data/sim-states-timestamp.js +26 -0
  703. package/dist/service/stepfunctions/data/sim-states-timestamp.js.map +1 -0
  704. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +10 -0
  705. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -0
  706. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +61 -0
  707. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -0
  708. package/dist/service/stepfunctions/definition/sim-states-definition.d.ts +15 -0
  709. package/dist/service/stepfunctions/definition/sim-states-definition.d.ts.map +1 -0
  710. package/dist/service/stepfunctions/definition/sim-states-definition.js +2 -0
  711. package/dist/service/stepfunctions/definition/sim-states-definition.js.map +1 -0
  712. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts +17 -0
  713. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -0
  714. package/dist/service/stepfunctions/definition/sim-states-state-fields.js +47 -0
  715. package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -0
  716. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts +7 -0
  717. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -0
  718. package/dist/service/stepfunctions/definition/sim-states-state-parse.js +67 -0
  719. package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -0
  720. package/dist/service/stepfunctions/definition/sim-states-state.d.ts +98 -0
  721. package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -0
  722. package/dist/service/stepfunctions/definition/sim-states-state.js +34 -0
  723. package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -0
  724. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts +10 -0
  725. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -0
  726. package/dist/service/stepfunctions/definition/sim-states-transitions.js +79 -0
  727. package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -0
  728. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +99 -0
  729. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts.map +1 -1
  730. package/dist/service/stepfunctions/error/sim-step-functions.error.js +119 -0
  731. package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
  732. package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts +33 -0
  733. package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts.map +1 -0
  734. package/dist/service/stepfunctions/execution/sim-states-execution-store.js +55 -0
  735. package/dist/service/stepfunctions/execution/sim-states-execution-store.js.map +1 -0
  736. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +53 -0
  737. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -0
  738. package/dist/service/stepfunctions/execution/sim-states-execution.js +77 -0
  739. package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -0
  740. package/dist/service/stepfunctions/execution/sim-states-failure.d.ts +24 -0
  741. package/dist/service/stepfunctions/execution/sim-states-failure.d.ts.map +1 -0
  742. package/dist/service/stepfunctions/execution/sim-states-failure.js +50 -0
  743. package/dist/service/stepfunctions/execution/sim-states-failure.js.map +1 -0
  744. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +42 -0
  745. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -0
  746. package/dist/service/stepfunctions/execution/sim-states-interpreter.js +124 -0
  747. package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -0
  748. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts +12 -0
  749. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -0
  750. package/dist/service/stepfunctions/execution/sim-states-run-choice.js +24 -0
  751. package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -0
  752. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +15 -0
  753. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -0
  754. package/dist/service/stepfunctions/execution/sim-states-run-state.js +68 -0
  755. package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -0
  756. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts +14 -0
  757. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -0
  758. package/dist/service/stepfunctions/execution/sim-states-run-task.js +23 -0
  759. package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -0
  760. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts +11 -0
  761. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -0
  762. package/dist/service/stepfunctions/execution/sim-states-run-wait.js +21 -0
  763. package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -0
  764. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +27 -0
  765. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -0
  766. package/dist/service/stepfunctions/execution/sim-states-settlement.js +33 -0
  767. package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -0
  768. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +46 -0
  769. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -0
  770. package/dist/service/stepfunctions/execution/sim-states-state-outcome.js +2 -0
  771. package/dist/service/stepfunctions/execution/sim-states-state-outcome.js.map +1 -0
  772. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +27 -0
  773. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -0
  774. package/dist/service/stepfunctions/execution/sim-states-state-runner.js +36 -0
  775. package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -0
  776. package/dist/service/stepfunctions/index.d.ts +16 -0
  777. package/dist/service/stepfunctions/index.d.ts.map +1 -0
  778. package/dist/service/stepfunctions/index.js +9 -0
  779. package/dist/service/stepfunctions/index.js.map +1 -0
  780. package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts +30 -0
  781. package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts.map +1 -0
  782. package/dist/service/stepfunctions/machine/sim-state-machine-arn.js +48 -0
  783. package/dist/service/stepfunctions/machine/sim-state-machine-arn.js.map +1 -0
  784. package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts +20 -0
  785. package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts.map +1 -0
  786. package/dist/service/stepfunctions/machine/sim-state-machine-store.js +32 -0
  787. package/dist/service/stepfunctions/machine/sim-state-machine-store.js.map +1 -0
  788. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +54 -0
  789. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -0
  790. package/dist/service/stepfunctions/machine/sim-state-machine.js +60 -0
  791. package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -0
  792. package/dist/service/stepfunctions/machine/sim-states-name.d.ts +10 -0
  793. package/dist/service/stepfunctions/machine/sim-states-name.d.ts.map +1 -0
  794. package/dist/service/stepfunctions/machine/sim-states-name.js +42 -0
  795. package/dist/service/stepfunctions/machine/sim-states-name.js.map +1 -0
  796. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts +19 -0
  797. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -0
  798. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +53 -0
  799. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -0
  800. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +22 -0
  801. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -0
  802. package/dist/service/stepfunctions/sim-step-functions-inspection.js +29 -0
  803. package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -0
  804. package/dist/service/stepfunctions/sim-step-functions.d.ts +67 -0
  805. package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -0
  806. package/dist/service/stepfunctions/sim-step-functions.js +124 -0
  807. package/dist/service/stepfunctions/sim-step-functions.js.map +1 -0
  808. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +33 -0
  809. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -0
  810. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +49 -0
  811. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -0
  812. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts +25 -0
  813. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts.map +1 -0
  814. package/dist/service/stepfunctions/task/sim-states-execution-role.js +57 -0
  815. package/dist/service/stepfunctions/task/sim-states-execution-role.js.map +1 -0
  816. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +31 -0
  817. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -0
  818. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +39 -0
  819. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -0
  820. package/dist/service/stepfunctions/task/sim-states-function-location.d.ts +20 -0
  821. package/dist/service/stepfunctions/task/sim-states-function-location.d.ts.map +1 -0
  822. package/dist/service/stepfunctions/task/sim-states-function-location.js +28 -0
  823. package/dist/service/stepfunctions/task/sim-states-function-location.js.map +1 -0
  824. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +34 -0
  825. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -0
  826. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +65 -0
  827. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -0
  828. package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts +16 -0
  829. package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts.map +1 -0
  830. package/dist/service/stepfunctions/task/sim-states-no-task-targets.js +19 -0
  831. package/dist/service/stepfunctions/task/sim-states-no-task-targets.js.map +1 -0
  832. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +14 -0
  833. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -0
  834. package/dist/service/stepfunctions/task/sim-states-task-fields.js +29 -0
  835. package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -0
  836. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +57 -0
  837. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -0
  838. package/dist/service/stepfunctions/task/sim-states-task-function.js +93 -0
  839. package/dist/service/stepfunctions/task/sim-states-task-function.js.map +1 -0
  840. package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts +29 -0
  841. package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts.map +1 -0
  842. package/dist/service/stepfunctions/task/sim-states-task-invocation.js +2 -0
  843. package/dist/service/stepfunctions/task/sim-states-task-invocation.js.map +1 -0
  844. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +12 -0
  845. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -0
  846. package/dist/service/stepfunctions/task/sim-states-task-resource.js +64 -0
  847. package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -0
  848. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +37 -0
  849. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -0
  850. package/dist/service/stepfunctions/task/sim-states-task-target.js +12 -0
  851. package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -0
  852. package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts +11 -0
  853. package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts.map +1 -0
  854. package/dist/service/stepfunctions/wait/sim-states-wait-due.js +67 -0
  855. package/dist/service/stepfunctions/wait/sim-states-wait-due.js.map +1 -0
  856. package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts +18 -0
  857. package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts.map +1 -0
  858. package/dist/service/stepfunctions/wait/sim-states-wait-fields.js +85 -0
  859. package/dist/service/stepfunctions/wait/sim-states-wait-fields.js.map +1 -0
  860. package/dist/util/process/sim-process-environment.d.ts +9 -0
  861. package/dist/util/process/sim-process-environment.d.ts.map +1 -1
  862. package/dist/util/process/sim-process-environment.js +17 -0
  863. package/dist/util/process/sim-process-environment.js.map +1 -1
  864. package/dist/util/throttle/sim-token-bucket.d.ts +32 -0
  865. package/dist/util/throttle/sim-token-bucket.d.ts.map +1 -0
  866. package/dist/util/throttle/sim-token-bucket.js +53 -0
  867. package/dist/util/throttle/sim-token-bucket.js.map +1 -0
  868. package/package.json +11 -1
@@ -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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-command.types.js","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-command.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
1
+ import type { BackgroundScheduler } from "../../../util/background/background.js";
2
+ import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
3
+ import type { SimIamInterServiceAuthZ } from "../../iam/authorize/sim-iam-inter-service-auth-z.js";
4
+ import type { SimFirehoseDeliveryFailures } from "../delivery/sim-firehose-delivery-failures.js";
5
+ import { type SimFirehoseObjectDestination } from "../delivery/sim-firehose-object-writer.js";
6
+ import type { SimFirehoseRecordSource } from "../source/sim-firehose-record-source.js";
7
+ import type { SimFirehoseSourceFailures } from "../source/sim-firehose-source-failures.js";
8
+ import type { SimFirehoseDeliveryStreamStore } from "../stream/sim-firehose-delivery-stream-store.js";
9
+ import { SimFirehosePutCommands } from "./record/sim-firehose-put-commands.js";
10
+ import { SimFirehoseCreateDeliveryStream } from "./stream/sim-firehose-create-delivery-stream.js";
11
+ import { SimFirehoseStreamCommands } from "./stream/sim-firehose-stream-commands.js";
12
+ interface SimFirehoseCommandsProperties {
13
+ readonly deliveryStreams: SimFirehoseDeliveryStreamStore;
14
+ readonly failures: SimFirehoseDeliveryFailures;
15
+ readonly sourceFailures: SimFirehoseSourceFailures;
16
+ readonly s3: SimFirehoseObjectDestination;
17
+ readonly kinesis: SimFirehoseRecordSource;
18
+ readonly iam: SimIamInterServiceAuthZ;
19
+ readonly background: BackgroundScheduler;
20
+ readonly accountRegionScope: SimAwsAccountRegionScope;
21
+ }
22
+ /**
23
+ * Every command handler one simulated Firehose scope delegates to.
24
+ *
25
+ * The wiring lives here rather than in the facade so that `SimFirehose` stays
26
+ * what it is meant to be: state and delegation. Which handler shares which
27
+ * collaborator is a fact about the handlers, not about the service object in
28
+ * front of them.
29
+ */
30
+ export declare class SimFirehoseCommands {
31
+ readonly creation: SimFirehoseCreateDeliveryStream;
32
+ readonly deliveryStreams: SimFirehoseStreamCommands;
33
+ readonly puts: SimFirehosePutCommands;
34
+ constructor(properties: SimFirehoseCommandsProperties);
35
+ }
36
+ export {};
37
+ //# sourceMappingURL=sim-firehose-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-commands.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAEnG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+CAA+C,CAAC;AACjG,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAE3F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAEtG,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,iDAAiD,CAAC;AAClG,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAErF,UAAU,6BAA6B;IACrC,QAAQ,CAAC,eAAe,EAAE,8BAA8B,CAAC;IACzD,QAAQ,CAAC,QAAQ,EAAE,2BAA2B,CAAC;IAC/C,QAAQ,CAAC,cAAc,EAAE,yBAAyB,CAAC;IACnD,QAAQ,CAAC,EAAE,EAAE,4BAA4B,CAAC;IAC1C,QAAQ,CAAC,OAAO,EAAE,uBAAuB,CAAC;IAC1C,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;CACvD;AAED;;;;;;;GAOG;AACH,qBAAa,mBAAmB;IAC9B,SAAgB,QAAQ,EAAE,+BAA+B,CAAC;IAC1D,SAAgB,eAAe,EAAE,yBAAyB,CAAC;IAC3D,SAAgB,IAAI,EAAE,sBAAsB,CAAC;IAE7C,YAAY,UAAU,EAAE,6BAA6B,EAoCpD;CACF"}
@@ -0,0 +1,57 @@
1
+ import { SimFirehoseDelivery } from "../delivery/sim-firehose-delivery.js";
2
+ import { SimFirehoseObjectWriter, } from "../delivery/sim-firehose-object-writer.js";
3
+ import { SimFirehoseSourceReading } from "../source/read/sim-firehose-source-reading.js";
4
+ import { SimFirehoseAuthorizer } from "./authorize/sim-firehose-authorizer.js";
5
+ import { SimFirehosePutCommands } from "./record/sim-firehose-put-commands.js";
6
+ import { SimFirehoseDeliveryStreamAccess } from "./sim-firehose-delivery-stream-access.js";
7
+ import { SimFirehoseCreateDeliveryStream } from "./stream/sim-firehose-create-delivery-stream.js";
8
+ import { SimFirehoseStreamCommands } from "./stream/sim-firehose-stream-commands.js";
9
+ /**
10
+ * Every command handler one simulated Firehose scope delegates to.
11
+ *
12
+ * The wiring lives here rather than in the facade so that `SimFirehose` stays
13
+ * what it is meant to be: state and delegation. Which handler shares which
14
+ * collaborator is a fact about the handlers, not about the service object in
15
+ * front of them.
16
+ */
17
+ export class SimFirehoseCommands {
18
+ creation;
19
+ deliveryStreams;
20
+ puts;
21
+ constructor(properties) {
22
+ const { deliveryStreams, background, accountRegionScope } = properties;
23
+ const access = new SimFirehoseDeliveryStreamAccess({
24
+ deliveryStreams,
25
+ authorizer: new SimFirehoseAuthorizer({ iam: properties.iam }),
26
+ accountRegionScope,
27
+ });
28
+ const delivery = new SimFirehoseDelivery({
29
+ background,
30
+ writer: new SimFirehoseObjectWriter({
31
+ s3: properties.s3,
32
+ failures: properties.failures,
33
+ }),
34
+ });
35
+ const sourceReading = new SimFirehoseSourceReading({
36
+ records: properties.kinesis,
37
+ failures: properties.sourceFailures,
38
+ delivery,
39
+ background,
40
+ });
41
+ this.creation = new SimFirehoseCreateDeliveryStream({
42
+ deliveryStreams,
43
+ access,
44
+ accountRegionScope,
45
+ background,
46
+ sourceReading,
47
+ });
48
+ this.deliveryStreams = new SimFirehoseStreamCommands({
49
+ deliveryStreams,
50
+ access,
51
+ delivery,
52
+ sourceReading,
53
+ });
54
+ this.puts = new SimFirehosePutCommands({ access, delivery });
55
+ }
56
+ }
57
+ //# sourceMappingURL=sim-firehose-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-commands.js","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-commands.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,OAAO,EAEL,uBAAuB,GACxB,MAAM,2CAA2C,CAAC;AAGnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAEzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAE,+BAA+B,EAAE,MAAM,iDAAiD,CAAC;AAClG,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAarF;;;;;;;GAOG;AACH,MAAM,OAAO,mBAAmB;IACd,QAAQ,CAAkC;IAC1C,eAAe,CAA4B;IAC3C,IAAI,CAAyB;IAE7C,YAAY,UAAyC;QACnD,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC;QACvE,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAAC;YACjD,eAAe;YACf,UAAU,EAAE,IAAI,qBAAqB,CAAC,EAAE,GAAG,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC;YAC9D,kBAAkB;SACnB,CAAC,CAAC;QACH,MAAM,QAAQ,GAAG,IAAI,mBAAmB,CAAC;YACvC,UAAU;YACV,MAAM,EAAE,IAAI,uBAAuB,CAAC;gBAClC,EAAE,EAAE,UAAU,CAAC,EAAE;gBACjB,QAAQ,EAAE,UAAU,CAAC,QAAQ;aAC9B,CAAC;SACH,CAAC,CAAC;QAEH,MAAM,aAAa,GAAG,IAAI,wBAAwB,CAAC;YACjD,OAAO,EAAE,UAAU,CAAC,OAAO;YAC3B,QAAQ,EAAE,UAAU,CAAC,cAAc;YACnC,QAAQ;YACR,UAAU;SACX,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,GAAG,IAAI,+BAA+B,CAAC;YAClD,eAAe;YACf,MAAM;YACN,kBAAkB;YAClB,UAAU;YACV,aAAa;SACd,CAAC,CAAC;QACH,IAAI,CAAC,eAAe,GAAG,IAAI,yBAAyB,CAAC;YACnD,eAAe;YACf,MAAM;YACN,QAAQ;YACR,aAAa;SACd,CAAC,CAAC;QACH,IAAI,CAAC,IAAI,GAAG,IAAI,sBAAsB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/D,CAAC;CACF"}
@@ -0,0 +1,47 @@
1
+ import type { SimAwsResolvedCaller } from "../../aws/caller/sim-aws-caller-resolver.js";
2
+ import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
3
+ import type { SimFirehoseDeliveryStream } from "../stream/sim-firehose-delivery-stream.js";
4
+ import type { SimFirehoseDeliveryStreamStore } from "../stream/sim-firehose-delivery-stream-store.js";
5
+ import type { SimFirehoseAuthorizer } from "./authorize/sim-firehose-authorizer.js";
6
+ import type { SimFirehoseRequestOptions } from "./sim-firehose-request-options.js";
7
+ interface SimFirehoseDeliveryStreamAccessProperties {
8
+ readonly deliveryStreams: SimFirehoseDeliveryStreamStore;
9
+ readonly authorizer: SimFirehoseAuthorizer;
10
+ readonly accountRegionScope: SimAwsAccountRegionScope;
11
+ }
12
+ /**
13
+ * How a request reaches the delivery stream it names.
14
+ *
15
+ * Every operation but ListDeliveryStreams and CreateDeliveryStream starts the
16
+ * same way: authorize the action against the ARN the named delivery stream
17
+ * would have, then require the delivery stream to be there.
18
+ *
19
+ * Authorizing before the lookup is what real IAM does. It is why a caller with
20
+ * no permission is refused for a delivery stream that does not exist, rather
21
+ * than being told the delivery stream is missing.
22
+ */
23
+ export declare class SimFirehoseDeliveryStreamAccess {
24
+ private readonly deliveryStreams;
25
+ private readonly authorizer;
26
+ private readonly scope;
27
+ constructor(properties: SimFirehoseDeliveryStreamAccessProperties);
28
+ /**
29
+ * Ensure the caller may perform an action on the delivery stream of a given
30
+ * name.
31
+ *
32
+ * The delivery stream need not exist, which is what CreateDeliveryStream
33
+ * needs. It authorizes against the ARN the delivery stream is about to have.
34
+ */
35
+ authorizeName(action: string, name: string, options?: SimFirehoseRequestOptions): SimAwsResolvedCaller;
36
+ /**
37
+ * Ensure the caller may perform an action naming no particular delivery
38
+ * stream.
39
+ */
40
+ authorizeAny(action: string, options?: SimFirehoseRequestOptions): SimAwsResolvedCaller;
41
+ /**
42
+ * Resolve the delivery stream a request names, authorizing the action first.
43
+ */
44
+ require(action: string, name: string | undefined, options?: SimFirehoseRequestOptions): SimFirehoseDeliveryStream;
45
+ }
46
+ export {};
47
+ //# sourceMappingURL=sim-firehose-delivery-stream-access.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-delivery-stream-access.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-delivery-stream-access.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACxF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAG1F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAC3F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAEnF,UAAU,yCAAyC;IACjD,QAAQ,CAAC,eAAe,EAAE,8BAA8B,CAAC;IACzD,QAAQ,CAAC,UAAU,EAAE,qBAAqB,CAAC;IAC3C,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;CACvD;AAED;;;;;;;;;;GAUG;AACH,qBAAa,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAiC;IACjE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAwB;IACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA2B;IAEjD,YAAY,UAAU,EAAE,yCAAyC,EAIhE;IAED;;;;;;OAMG;IACH,aAAa,CACX,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,yBAAyB,GAClC,oBAAoB,CAMtB;IAED;;;OAGG;IACH,YAAY,CACV,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,yBAAyB,GAClC,oBAAoB,CAEtB;IAED;;OAEG;IACH,OAAO,CACL,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,OAAO,CAAC,EAAE,yBAAyB,GAClC,yBAAyB,CAM3B;CACF"}
@@ -0,0 +1,58 @@
1
+ import { SimFirehoseInvalidArgumentException } from "../error/sim-firehose.error.js";
2
+ import { simFirehoseDeliveryStreamArn } from "../stream/sim-firehose-delivery-stream-arn.js";
3
+ /**
4
+ * How a request reaches the delivery stream it names.
5
+ *
6
+ * Every operation but ListDeliveryStreams and CreateDeliveryStream starts the
7
+ * same way: authorize the action against the ARN the named delivery stream
8
+ * would have, then require the delivery stream to be there.
9
+ *
10
+ * Authorizing before the lookup is what real IAM does. It is why a caller with
11
+ * no permission is refused for a delivery stream that does not exist, rather
12
+ * than being told the delivery stream is missing.
13
+ */
14
+ export class SimFirehoseDeliveryStreamAccess {
15
+ deliveryStreams;
16
+ authorizer;
17
+ scope;
18
+ constructor(properties) {
19
+ this.deliveryStreams = properties.deliveryStreams;
20
+ this.authorizer = properties.authorizer;
21
+ this.scope = properties.accountRegionScope;
22
+ }
23
+ /**
24
+ * Ensure the caller may perform an action on the delivery stream of a given
25
+ * name.
26
+ *
27
+ * The delivery stream need not exist, which is what CreateDeliveryStream
28
+ * needs. It authorizes against the ARN the delivery stream is about to have.
29
+ */
30
+ authorizeName(action, name, options) {
31
+ return this.authorizer.authorizeDeliveryStream(action, simFirehoseDeliveryStreamArn(this.scope, name), options?.caller);
32
+ }
33
+ /**
34
+ * Ensure the caller may perform an action naming no particular delivery
35
+ * stream.
36
+ */
37
+ authorizeAny(action, options) {
38
+ return this.authorizer.authorizeAnyDeliveryStream(action, options?.caller);
39
+ }
40
+ /**
41
+ * Resolve the delivery stream a request names, authorizing the action first.
42
+ */
43
+ require(action, name, options) {
44
+ const named = requiredName(name);
45
+ this.authorizeName(action, named, options);
46
+ return this.deliveryStreams.require(named);
47
+ }
48
+ }
49
+ /**
50
+ * The delivery stream name a request carried, refusing one that named none.
51
+ */
52
+ function requiredName(name) {
53
+ if (name === undefined || name === "") {
54
+ throw new SimFirehoseInvalidArgumentException("A request has to name a delivery stream by DeliveryStreamName");
55
+ }
56
+ return name;
57
+ }
58
+ //# sourceMappingURL=sim-firehose-delivery-stream-access.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-delivery-stream-access.js","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-delivery-stream-access.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mCAAmC,EAAE,MAAM,gCAAgC,CAAC;AACrF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAY7F;;;;;;;;;;GAUG;AACH,MAAM,OAAO,+BAA+B;IACzB,eAAe,CAAiC;IAChD,UAAU,CAAwB;IAClC,KAAK,CAA2B;IAEjD,YAAY,UAAqD;QAC/D,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC;QAClD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAC7C,CAAC;IAED;;;;;;OAMG;IACH,aAAa,CACX,MAAc,EACd,IAAY,EACZ,OAAmC;QAEnC,OAAO,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAC5C,MAAM,EACN,4BAA4B,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,EAC9C,OAAO,EAAE,MAAM,CAChB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,YAAY,CACV,MAAc,EACd,OAAmC;QAEnC,OAAO,IAAI,CAAC,UAAU,CAAC,0BAA0B,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACH,OAAO,CACL,MAAc,EACd,IAAwB,EACxB,OAAmC;QAEnC,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;QAEjC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;QAE3C,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC7C,CAAC;CACF;AAED;;GAEG;AACH,SAAS,YAAY,CAAC,IAAwB;IAC5C,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,EAAE,EAAE,CAAC;QACtC,MAAM,IAAI,mCAAmC,CAC3C,+DAA+D,CAChE,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { SimAwsCaller } from "../../aws/caller/sim-aws-caller.js";
2
+ /**
3
+ * What a Firehose request carries besides its command input.
4
+ */
5
+ export interface SimFirehoseRequestOptions {
6
+ /**
7
+ * Who is making the request. An omitted caller is the Account root, as it is
8
+ * everywhere else in the simulation.
9
+ */
10
+ readonly caller?: SimAwsCaller;
11
+ }
12
+ //# sourceMappingURL=sim-firehose-request-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-request-options.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-request-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-firehose-request-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-request-options.js","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-request-options.ts"],"names":[],"mappings":""}
@@ -0,0 +1,49 @@
1
+ import type { BackgroundScheduler } from "../../../../util/background/background.js";
2
+ import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
3
+ import type { SimFirehoseSourceReading } from "../../source/read/sim-firehose-source-reading.js";
4
+ import type { SimFirehoseDeliveryStreamStore } from "../../stream/sim-firehose-delivery-stream-store.js";
5
+ import type { SimFirehoseDeliveryStreamAccess } from "../sim-firehose-delivery-stream-access.js";
6
+ import type { SimFirehoseRequestOptions } from "../sim-firehose-request-options.js";
7
+ import type { SimCreateDeliveryStreamCommand, SimCreateDeliveryStreamCommandOutput } from "./stream.command.js";
8
+ interface SimFirehoseCreateDeliveryStreamProperties {
9
+ readonly deliveryStreams: SimFirehoseDeliveryStreamStore;
10
+ readonly access: SimFirehoseDeliveryStreamAccess;
11
+ readonly accountRegionScope: SimAwsAccountRegionScope;
12
+ readonly background: BackgroundScheduler;
13
+ readonly sourceReading: SimFirehoseSourceReading;
14
+ }
15
+ /**
16
+ * Creates a delivery stream.
17
+ *
18
+ * The delivery stream is ACTIVE by the time this answers. Real Firehose spends
19
+ * a minute or so in CREATING, and a test that had to wait it out would be
20
+ * waiting on nothing.
21
+ */
22
+ export declare class SimFirehoseCreateDeliveryStream {
23
+ private readonly deliveryStreams;
24
+ private readonly access;
25
+ private readonly scope;
26
+ private readonly background;
27
+ private readonly sourceReading;
28
+ constructor(properties: SimFirehoseCreateDeliveryStreamProperties);
29
+ /**
30
+ * Handle a CreateDeliveryStream request.
31
+ *
32
+ * The source and the destination are read before the delivery stream is
33
+ * stored, so a request naming somewhere this simulation cannot read or
34
+ * deliver leaves nothing behind.
35
+ *
36
+ * A Kinesis-sourced delivery stream is reading its stream by the time this
37
+ * answers, so a record put the moment it exists is one it sees. A source it
38
+ * could not open stops the delivery and is recorded on the simulator, since
39
+ * that is what real Firehose does with a Role that cannot read: the delivery
40
+ * stream is created either way.
41
+ */
42
+ handle(command: SimCreateDeliveryStreamCommand, options?: SimFirehoseRequestOptions): Promise<SimCreateDeliveryStreamCommandOutput>;
43
+ /**
44
+ * Refuse a name this scope already holds a delivery stream under.
45
+ */
46
+ private requireNameFree;
47
+ }
48
+ export {};
49
+ //# sourceMappingURL=sim-firehose-create-delivery-stream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-create-delivery-stream.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-create-delivery-stream.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAI7F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kDAAkD,CAAC;AAIjG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,KAAK,EACV,8BAA8B,EAC9B,oCAAoC,EACrC,MAAM,qBAAqB,CAAC;AAE7B,UAAU,yCAAyC;IACjD,QAAQ,CAAC,eAAe,EAAE,8BAA8B,CAAC;IACzD,QAAQ,CAAC,MAAM,EAAE,+BAA+B,CAAC;IACjD,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,aAAa,EAAE,wBAAwB,CAAC;CAClD;AAED;;;;;;GAMG;AACH,qBAAa,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAiC;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IACzD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA2B;IACjD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA2B;IAEzD,YAAY,UAAU,EAAE,yCAAyC,EAMhE;IAED;;;;;;;;;;;;OAYG;IACG,MAAM,CACV,OAAO,EAAE,8BAA8B,EACvC,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,oCAAoC,CAAC,CAuB/C;IAED;;OAEG;IACH,OAAO,CAAC,eAAe;CAQxB"}
@@ -0,0 +1,69 @@
1
+ import { simFirehoseDestinationOf } from "../../destination/sim-firehose-destination-choice.js";
2
+ import { SimFirehoseResourceInUseException } from "../../error/sim-firehose.error.js";
3
+ import { simFirehoseSourceOf } from "../../source/sim-firehose-source-choice.js";
4
+ import { simFirehoseDeliveryStreamArn } from "../../stream/sim-firehose-delivery-stream-arn.js";
5
+ import { requireSimFirehoseDeliveryStreamName } from "../../stream/sim-firehose-delivery-stream-name.js";
6
+ import { SimFirehoseDeliveryStream } from "../../stream/sim-firehose-delivery-stream.js";
7
+ /**
8
+ * Creates a delivery stream.
9
+ *
10
+ * The delivery stream is ACTIVE by the time this answers. Real Firehose spends
11
+ * a minute or so in CREATING, and a test that had to wait it out would be
12
+ * waiting on nothing.
13
+ */
14
+ export class SimFirehoseCreateDeliveryStream {
15
+ deliveryStreams;
16
+ access;
17
+ scope;
18
+ background;
19
+ sourceReading;
20
+ constructor(properties) {
21
+ this.deliveryStreams = properties.deliveryStreams;
22
+ this.access = properties.access;
23
+ this.scope = properties.accountRegionScope;
24
+ this.background = properties.background;
25
+ this.sourceReading = properties.sourceReading;
26
+ }
27
+ /**
28
+ * Handle a CreateDeliveryStream request.
29
+ *
30
+ * The source and the destination are read before the delivery stream is
31
+ * stored, so a request naming somewhere this simulation cannot read or
32
+ * deliver leaves nothing behind.
33
+ *
34
+ * A Kinesis-sourced delivery stream is reading its stream by the time this
35
+ * answers, so a record put the moment it exists is one it sees. A source it
36
+ * could not open stops the delivery and is recorded on the simulator, since
37
+ * that is what real Firehose does with a Role that cannot read: the delivery
38
+ * stream is created either way.
39
+ */
40
+ async handle(command, options) {
41
+ const { input } = command;
42
+ const name = requireSimFirehoseDeliveryStreamName(input.DeliveryStreamName);
43
+ this.access.authorizeName("firehose:CreateDeliveryStream", name, options);
44
+ this.requireNameFree(name);
45
+ const createdAt = this.background.now();
46
+ const source = simFirehoseSourceOf(input, this.scope, createdAt);
47
+ const arn = simFirehoseDeliveryStreamArn(this.scope, name);
48
+ const deliveryStream = new SimFirehoseDeliveryStream({
49
+ name,
50
+ arn,
51
+ destination: simFirehoseDestinationOf(input),
52
+ source,
53
+ createdAt,
54
+ });
55
+ this.deliveryStreams.add(deliveryStream);
56
+ await this.sourceReading.start(deliveryStream);
57
+ return { $metadata: {}, DeliveryStreamARN: arn };
58
+ }
59
+ /**
60
+ * Refuse a name this scope already holds a delivery stream under.
61
+ */
62
+ requireNameFree(name) {
63
+ if (this.deliveryStreams.find(name) !== undefined) {
64
+ throw new SimFirehoseResourceInUseException(`Firehose already holds a delivery stream named ${name} under this ` +
65
+ `account and region`);
66
+ }
67
+ }
68
+ }
69
+ //# sourceMappingURL=sim-firehose-create-delivery-stream.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-create-delivery-stream.js","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-create-delivery-stream.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAEjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAChG,OAAO,EAAE,oCAAoC,EAAE,MAAM,mDAAmD,CAAC;AACzG,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAiBzF;;;;;;GAMG;AACH,MAAM,OAAO,+BAA+B;IACzB,eAAe,CAAiC;IAChD,MAAM,CAAkC;IACxC,KAAK,CAA2B;IAChC,UAAU,CAAsB;IAChC,aAAa,CAA2B;IAEzD,YAAY,UAAqD;QAC/D,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC;QAClD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,kBAAkB,CAAC;QAC3C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;IAChD,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAmC;QAEnC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAC1B,MAAM,IAAI,GAAG,oCAAoC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAE5E,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,+BAA+B,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC1E,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;QAE3B,MAAM,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,mBAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;QACjE,MAAM,GAAG,GAAG,4BAA4B,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QAC3D,MAAM,cAAc,GAAG,IAAI,yBAAyB,CAAC;YACnD,IAAI;YACJ,GAAG;YACH,WAAW,EAAE,wBAAwB,CAAC,KAAK,CAAC;YAC5C,MAAM;YACN,SAAS;SACV,CAAC,CAAC;QAEH,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;QAEzC,MAAM,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;QAE/C,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,iBAAiB,EAAE,GAAG,EAAE,CAAC;IACnD,CAAC;IAED;;OAEG;IACK,eAAe,CAAC,IAAY;QAClC,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,SAAS,EAAE,CAAC;YAClD,MAAM,IAAI,iCAAiC,CACzC,kDAAkD,IAAI,cAAc;gBAClE,oBAAoB,CACvB,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ import type { SimFirehoseDeliveryStream } from "../../stream/sim-firehose-delivery-stream.js";
2
+ /**
3
+ * A page of delivery streams cut out of a listing walked in name order.
4
+ *
5
+ * Firehose pages by naming the delivery stream to start after, so a page is
6
+ * whatever follows that name up to the limit.
7
+ *
8
+ * The start is the first name after the one given rather than the position of
9
+ * that name itself. A continuation name whose delivery stream has since been
10
+ * deleted then lands where it belongs in the order. Searching for an exact
11
+ * match would fail to find it and quietly start again from the beginning,
12
+ * which is a repeated first page and a paging loop that never ends.
13
+ */
14
+ export declare class SimFirehoseDeliveryStreamPage {
15
+ readonly items: readonly SimFirehoseDeliveryStream[];
16
+ readonly hasMore: boolean;
17
+ constructor(all: readonly SimFirehoseDeliveryStream[], after: string | undefined, limit: number);
18
+ }
19
+ //# sourceMappingURL=sim-firehose-delivery-stream-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-delivery-stream-page.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-delivery-stream-page.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAE9F;;;;;;;;;;;GAWG;AACH,qBAAa,6BAA6B;IACxC,SAAgB,KAAK,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC5D,SAAgB,OAAO,EAAE,OAAO,CAAC;IAEjC,YACE,GAAG,EAAE,SAAS,yBAAyB,EAAE,EACzC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,KAAK,EAAE,MAAM,EASd;CACF"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * A page of delivery streams cut out of a listing walked in name order.
3
+ *
4
+ * Firehose pages by naming the delivery stream to start after, so a page is
5
+ * whatever follows that name up to the limit.
6
+ *
7
+ * The start is the first name after the one given rather than the position of
8
+ * that name itself. A continuation name whose delivery stream has since been
9
+ * deleted then lands where it belongs in the order. Searching for an exact
10
+ * match would fail to find it and quietly start again from the beginning,
11
+ * which is a repeated first page and a paging loop that never ends.
12
+ */
13
+ export class SimFirehoseDeliveryStreamPage {
14
+ items;
15
+ hasMore;
16
+ constructor(all, after, limit) {
17
+ const remaining = after === undefined
18
+ ? all
19
+ : all.filter((deliveryStream) => deliveryStream.name > after);
20
+ this.items = remaining.slice(0, limit);
21
+ this.hasMore = remaining.length > this.items.length;
22
+ }
23
+ }
24
+ //# sourceMappingURL=sim-firehose-delivery-stream-page.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-firehose-delivery-stream-page.js","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-delivery-stream-page.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,6BAA6B;IACxB,KAAK,CAAuC;IAC5C,OAAO,CAAU;IAEjC,YACE,GAAyC,EACzC,KAAyB,EACzB,KAAa;QAEb,MAAM,SAAS,GACb,KAAK,KAAK,SAAS;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC;QAElE,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;IACtD,CAAC;CACF"}