@kensio/yulin 1.16.2 → 1.17.0

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 (875) hide show
  1. package/README.md +1 -0
  2. package/dist/sdk/router/sim-sdk-caller-options.d.ts +2 -2
  3. package/dist/sdk/router/sim-sdk-caller-options.d.ts.map +1 -1
  4. package/dist/sdk/router/sim-sdk-command-router.type.d.ts +7 -2
  5. package/dist/sdk/router/sim-sdk-command-router.type.d.ts.map +1 -1
  6. package/dist/sdk/sim-sdk-command-dispatcher.d.ts +7 -1
  7. package/dist/sdk/sim-sdk-command-dispatcher.d.ts.map +1 -1
  8. package/dist/sdk/sim-sdk-command-dispatcher.js +16 -4
  9. package/dist/sdk/sim-sdk-command-dispatcher.js.map +1 -1
  10. package/dist/sdk/wire/sim-sdk-wire-dispatcher.d.ts +7 -6
  11. package/dist/sdk/wire/sim-sdk-wire-dispatcher.d.ts.map +1 -1
  12. package/dist/sdk/wire/sim-sdk-wire-dispatcher.js +11 -10
  13. package/dist/sdk/wire/sim-sdk-wire-dispatcher.js.map +1 -1
  14. package/dist/sdk/wire/sim-sdk-wire-operation.d.ts.map +1 -1
  15. package/dist/sdk/wire/sim-sdk-wire-operation.js +1 -0
  16. package/dist/sdk/wire/sim-sdk-wire-operation.js.map +1 -1
  17. package/dist/sdk/wire/sim-sdk-wire-response.d.ts +12 -0
  18. package/dist/sdk/wire/sim-sdk-wire-response.d.ts.map +1 -1
  19. package/dist/sdk/wire/sim-sdk-wire-response.js +2 -2
  20. package/dist/sdk/wire/sim-sdk-wire-response.js.map +1 -1
  21. package/dist/serve/http/api/query/sim-query-endpoint.d.ts +42 -0
  22. package/dist/serve/http/api/query/sim-query-endpoint.d.ts.map +1 -0
  23. package/dist/serve/http/api/query/sim-query-endpoint.js +55 -0
  24. package/dist/serve/http/api/query/sim-query-endpoint.js.map +1 -0
  25. package/dist/serve/http/api/query/sim-query-operation.d.ts +19 -0
  26. package/dist/serve/http/api/query/sim-query-operation.d.ts.map +1 -0
  27. package/dist/serve/http/api/query/sim-query-operation.js +2 -0
  28. package/dist/serve/http/api/query/sim-query-operation.js.map +1 -0
  29. package/dist/serve/http/api/query/sim-query-request.d.ts +85 -0
  30. package/dist/serve/http/api/query/sim-query-request.d.ts.map +1 -0
  31. package/dist/serve/http/api/query/sim-query-request.js +136 -0
  32. package/dist/serve/http/api/query/sim-query-request.js.map +1 -0
  33. package/dist/serve/http/api/query/sim-query-response.d.ts +35 -0
  34. package/dist/serve/http/api/query/sim-query-response.d.ts.map +1 -0
  35. package/dist/serve/http/api/query/sim-query-response.js +63 -0
  36. package/dist/serve/http/api/query/sim-query-response.js.map +1 -0
  37. package/dist/serve/http/api/query/sim-query-result.d.ts +33 -0
  38. package/dist/serve/http/api/query/sim-query-result.d.ts.map +1 -0
  39. package/dist/serve/http/api/query/sim-query-result.js +87 -0
  40. package/dist/serve/http/api/query/sim-query-result.js.map +1 -0
  41. package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.d.ts +40 -0
  42. package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.d.ts.map +1 -0
  43. package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.js +67 -0
  44. package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.js.map +1 -0
  45. package/dist/serve/http/api/rest-json/sim-rest-json-input.d.ts +45 -0
  46. package/dist/serve/http/api/rest-json/sim-rest-json-input.d.ts.map +1 -0
  47. package/dist/serve/http/api/rest-json/sim-rest-json-input.js +52 -0
  48. package/dist/serve/http/api/rest-json/sim-rest-json-input.js.map +1 -0
  49. package/dist/serve/http/api/rest-json/sim-rest-json-request.d.ts +58 -0
  50. package/dist/serve/http/api/rest-json/sim-rest-json-request.d.ts.map +1 -0
  51. package/dist/serve/http/api/rest-json/sim-rest-json-request.js +68 -0
  52. package/dist/serve/http/api/rest-json/sim-rest-json-request.js.map +1 -0
  53. package/dist/serve/http/api/rest-json/sim-rest-json-response.d.ts +35 -0
  54. package/dist/serve/http/api/rest-json/sim-rest-json-response.d.ts.map +1 -0
  55. package/dist/serve/http/api/rest-json/sim-rest-json-response.js +55 -0
  56. package/dist/serve/http/api/rest-json/sim-rest-json-response.js.map +1 -0
  57. package/dist/serve/http/api/rest-json/sim-rest-json-route.type.d.ts +37 -0
  58. package/dist/serve/http/api/rest-json/sim-rest-json-route.type.d.ts.map +1 -0
  59. package/dist/serve/http/api/rest-json/sim-rest-json-route.type.js +2 -0
  60. package/dist/serve/http/api/rest-json/sim-rest-json-route.type.js.map +1 -0
  61. package/dist/serve/http/api/rest-json/sim-rest-json-routes.d.ts +27 -0
  62. package/dist/serve/http/api/rest-json/sim-rest-json-routes.d.ts.map +1 -0
  63. package/dist/serve/http/api/rest-json/sim-rest-json-routes.js +51 -0
  64. package/dist/serve/http/api/rest-json/sim-rest-json-routes.js.map +1 -0
  65. package/dist/serve/http/api/sim-aws-api-endpoint.d.ts +39 -0
  66. package/dist/serve/http/api/sim-aws-api-endpoint.d.ts.map +1 -0
  67. package/dist/serve/http/api/sim-aws-api-endpoint.js +105 -0
  68. package/dist/serve/http/api/sim-aws-api-endpoint.js.map +1 -0
  69. package/dist/serve/http/api/sim-aws-api-protocols.d.ts +13 -0
  70. package/dist/serve/http/api/sim-aws-api-protocols.d.ts.map +1 -0
  71. package/dist/serve/http/api/sim-aws-api-protocols.js +41 -0
  72. package/dist/serve/http/api/sim-aws-api-protocols.js.map +1 -0
  73. package/dist/serve/http/sim-aws-http.d.ts +1 -0
  74. package/dist/serve/http/sim-aws-http.d.ts.map +1 -1
  75. package/dist/serve/http/sim-aws-http.js +9 -0
  76. package/dist/serve/http/sim-aws-http.js.map +1 -1
  77. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  78. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +1 -0
  79. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  80. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.d.ts +29 -0
  81. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.d.ts.map +1 -0
  82. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.js +36 -0
  83. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.js.map +1 -0
  84. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.d.ts +27 -0
  85. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.d.ts.map +1 -0
  86. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.js +24 -0
  87. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.js.map +1 -0
  88. package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.d.ts +12 -0
  89. package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.d.ts.map +1 -0
  90. package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.js +54 -0
  91. package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.js.map +1 -0
  92. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts +17 -0
  93. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts.map +1 -0
  94. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js +33 -0
  95. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js.map +1 -0
  96. package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.d.ts +50 -0
  97. package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.d.ts.map +1 -0
  98. package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.js +69 -0
  99. package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.js.map +1 -0
  100. package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts +3 -0
  101. package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts.map +1 -1
  102. package/dist/service/cloudformation/command/create-stack/create-stack.handler.js +14 -4
  103. package/dist/service/cloudformation/command/create-stack/create-stack.handler.js.map +1 -1
  104. package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts +7 -0
  105. package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts.map +1 -1
  106. package/dist/service/cloudformation/command/update-stack/update-stack.handler.js +14 -1
  107. package/dist/service/cloudformation/command/update-stack/update-stack.handler.js.map +1 -1
  108. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts +24 -0
  109. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts.map +1 -0
  110. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js +40 -0
  111. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js.map +1 -0
  112. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts +39 -0
  113. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts.map +1 -0
  114. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js +35 -0
  115. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js.map +1 -0
  116. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +28 -0
  117. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts.map +1 -0
  118. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js +24 -0
  119. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js.map +1 -0
  120. package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts +9 -0
  121. package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts.map +1 -1
  122. package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js +16 -0
  123. package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js.map +1 -1
  124. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.d.ts.map +1 -1
  125. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js +2 -4
  126. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js.map +1 -1
  127. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts +13 -0
  128. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts.map +1 -0
  129. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js +29 -0
  130. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js.map +1 -0
  131. package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.d.ts +3 -0
  132. package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.d.ts.map +1 -1
  133. package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.js +3 -0
  134. package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.js.map +1 -1
  135. package/dist/service/cloudformation/export/sim-cfn-exports.d.ts +43 -0
  136. package/dist/service/cloudformation/export/sim-cfn-exports.d.ts.map +1 -0
  137. package/dist/service/cloudformation/export/sim-cfn-exports.js +65 -0
  138. package/dist/service/cloudformation/export/sim-cfn-exports.js.map +1 -0
  139. package/dist/service/cloudformation/export/sim-cfn-stack-exports.d.ts +11 -0
  140. package/dist/service/cloudformation/export/sim-cfn-stack-exports.d.ts.map +1 -0
  141. package/dist/service/cloudformation/export/sim-cfn-stack-exports.js +23 -0
  142. package/dist/service/cloudformation/export/sim-cfn-stack-exports.js.map +1 -0
  143. package/dist/service/cloudformation/index.d.ts +2 -0
  144. package/dist/service/cloudformation/index.d.ts.map +1 -1
  145. package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.d.ts +10 -0
  146. package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.d.ts.map +1 -0
  147. package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.js +21 -0
  148. package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.js.map +1 -0
  149. package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.d.ts +10 -0
  150. package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.d.ts.map +1 -0
  151. package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.js +19 -0
  152. package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.js.map +1 -0
  153. package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.d.ts +34 -0
  154. package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.d.ts.map +1 -0
  155. package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.js +43 -0
  156. package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.js.map +1 -0
  157. package/dist/service/cloudformation/parameters/sim-cfn-parameters.d.ts +21 -16
  158. package/dist/service/cloudformation/parameters/sim-cfn-parameters.d.ts.map +1 -1
  159. package/dist/service/cloudformation/parameters/sim-cfn-parameters.js +33 -62
  160. package/dist/service/cloudformation/parameters/sim-cfn-parameters.js.map +1 -1
  161. package/dist/service/cloudformation/parameters/sim-cfn-parameters.type.d.ts +30 -9
  162. package/dist/service/cloudformation/parameters/sim-cfn-parameters.type.d.ts.map +1 -1
  163. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.d.ts +20 -0
  164. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.d.ts.map +1 -0
  165. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.js +20 -0
  166. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.js.map +1 -0
  167. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.d.ts +48 -0
  168. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.d.ts.map +1 -0
  169. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.js +69 -0
  170. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.js.map +1 -0
  171. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.d.ts +17 -0
  172. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.d.ts.map +1 -0
  173. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.js +15 -0
  174. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.js.map +1 -0
  175. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.d.ts +28 -0
  176. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.d.ts.map +1 -0
  177. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.js +2 -0
  178. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.js.map +1 -0
  179. package/dist/service/cloudformation/resource/create/sim-cfn-resource-creator.js +1 -1
  180. package/dist/service/cloudformation/resource/create/sim-cfn-resource-creator.js.map +1 -1
  181. package/dist/service/cloudformation/resource/delete/sim-cfn-resource-deleter.js +1 -1
  182. package/dist/service/cloudformation/resource/delete/sim-cfn-resource-deleter.js.map +1 -1
  183. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts +23 -1
  184. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts.map +1 -1
  185. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js +39 -2
  186. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js.map +1 -1
  187. package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts +6 -1
  188. package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
  189. package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +14 -4
  190. package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
  191. package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts +7 -0
  192. package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts.map +1 -1
  193. package/dist/service/cloudformation/serve/sim-cloudformation-api.d.ts +11 -0
  194. package/dist/service/cloudformation/serve/sim-cloudformation-api.d.ts.map +1 -0
  195. package/dist/service/cloudformation/serve/sim-cloudformation-api.js +87 -0
  196. package/dist/service/cloudformation/serve/sim-cloudformation-api.js.map +1 -0
  197. package/dist/service/cloudformation/sim-cloudformation.d.ts +7 -1
  198. package/dist/service/cloudformation/sim-cloudformation.d.ts.map +1 -1
  199. package/dist/service/cloudformation/sim-cloudformation.js +19 -12
  200. package/dist/service/cloudformation/sim-cloudformation.js.map +1 -1
  201. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.d.ts +31 -0
  202. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.d.ts.map +1 -0
  203. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.js +57 -0
  204. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.js.map +1 -0
  205. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.d.ts +3 -0
  206. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.d.ts.map +1 -1
  207. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.js +3 -0
  208. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.js.map +1 -1
  209. package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.d.ts +31 -0
  210. package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.d.ts.map +1 -0
  211. package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.js +37 -0
  212. package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.js.map +1 -0
  213. package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.d.ts +9 -5
  214. package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.d.ts.map +1 -1
  215. package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.js +15 -9
  216. package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.js.map +1 -1
  217. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.d.ts +28 -0
  218. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.d.ts.map +1 -0
  219. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.js +36 -0
  220. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.js.map +1 -0
  221. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.d.ts.map +1 -1
  222. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js +1 -0
  223. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js.map +1 -1
  224. package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts +24 -29
  225. package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts.map +1 -1
  226. package/dist/service/cloudformation/stack/sim-cfn-stack.js +37 -10
  227. package/dist/service/cloudformation/stack/sim-cfn-stack.js.map +1 -1
  228. package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts +35 -0
  229. package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts.map +1 -0
  230. package/dist/service/cloudformation/stack/sim-cfn-stack.type.js +2 -0
  231. package/dist/service/cloudformation/stack/sim-cfn-stack.type.js.map +1 -0
  232. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts +15 -0
  233. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts.map +1 -0
  234. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js +19 -0
  235. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js.map +1 -0
  236. package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.d.ts +42 -0
  237. package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.d.ts.map +1 -0
  238. package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.js +41 -0
  239. package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.js.map +1 -0
  240. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.d.ts +21 -0
  241. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.d.ts.map +1 -0
  242. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.js +61 -0
  243. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.js.map +1 -0
  244. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts +31 -0
  245. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts.map +1 -0
  246. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js +25 -0
  247. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js.map +1 -0
  248. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.d.ts +21 -0
  249. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.d.ts.map +1 -0
  250. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.js +39 -0
  251. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.js.map +1 -0
  252. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts +45 -0
  253. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts.map +1 -0
  254. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.js +2 -0
  255. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.js.map +1 -0
  256. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts +51 -0
  257. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts.map +1 -0
  258. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js +77 -0
  259. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js.map +1 -0
  260. package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.d.ts +33 -0
  261. package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.d.ts.map +1 -0
  262. package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.js +47 -0
  263. package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.js.map +1 -0
  264. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts +7 -0
  265. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts.map +1 -1
  266. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js +12 -0
  267. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js.map +1 -1
  268. package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.d.ts.map +1 -1
  269. package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.js +6 -1
  270. package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.js.map +1 -1
  271. package/dist/service/cloudformation/template/node/sim-cfn-literal.d.ts +9 -2
  272. package/dist/service/cloudformation/template/node/sim-cfn-literal.d.ts.map +1 -1
  273. package/dist/service/cloudformation/template/node/sim-cfn-literal.js +12 -3
  274. package/dist/service/cloudformation/template/node/sim-cfn-literal.js.map +1 -1
  275. package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.d.ts +26 -0
  276. package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.d.ts.map +1 -0
  277. package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.js +31 -0
  278. package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.js.map +1 -0
  279. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts +4 -7
  280. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts.map +1 -1
  281. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js +9 -41
  282. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js.map +1 -1
  283. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.d.ts +19 -0
  284. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.d.ts.map +1 -0
  285. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.js +31 -0
  286. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.js.map +1 -0
  287. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts +19 -0
  288. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts.map +1 -1
  289. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js +18 -0
  290. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js.map +1 -1
  291. package/dist/service/cloudformation/template/sim-cfn-template.d.ts +5 -0
  292. package/dist/service/cloudformation/template/sim-cfn-template.d.ts.map +1 -1
  293. package/dist/service/cloudformation/template/sim-cfn-template.js +7 -1
  294. package/dist/service/cloudformation/template/sim-cfn-template.js.map +1 -1
  295. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts +4 -0
  296. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts.map +1 -1
  297. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js +2 -0
  298. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js.map +1 -1
  299. package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts +5 -0
  300. package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts.map +1 -1
  301. package/dist/service/cloudformation/template/value/sim-cfn-value-path.js +22 -0
  302. package/dist/service/cloudformation/template/value/sim-cfn-value-path.js.map +1 -1
  303. package/dist/service/elbv2/serve/api/sim-elbv2-api.d.ts +15 -0
  304. package/dist/service/elbv2/serve/api/sim-elbv2-api.d.ts.map +1 -0
  305. package/dist/service/elbv2/serve/api/sim-elbv2-api.js +41 -0
  306. package/dist/service/elbv2/serve/api/sim-elbv2-api.js.map +1 -0
  307. package/dist/service/elbv2/serve/api/sim-elbv2-query-action.d.ts +14 -0
  308. package/dist/service/elbv2/serve/api/sim-elbv2-query-action.d.ts.map +1 -0
  309. package/dist/service/elbv2/serve/api/sim-elbv2-query-action.js +52 -0
  310. package/dist/service/elbv2/serve/api/sim-elbv2-query-action.js.map +1 -0
  311. package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.d.ts +14 -0
  312. package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.d.ts.map +1 -0
  313. package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.js +20 -0
  314. package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.js.map +1 -0
  315. package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.d.ts +11 -0
  316. package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.d.ts.map +1 -0
  317. package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.js +39 -0
  318. package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.js.map +1 -0
  319. package/dist/service/elbv2/serve/api/sim-elbv2-query-input.d.ts +47 -0
  320. package/dist/service/elbv2/serve/api/sim-elbv2-query-input.d.ts.map +1 -0
  321. package/dist/service/elbv2/serve/api/sim-elbv2-query-input.js +71 -0
  322. package/dist/service/elbv2/serve/api/sim-elbv2-query-input.js.map +1 -0
  323. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.d.ts +11 -0
  324. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.d.ts.map +1 -0
  325. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.js +46 -0
  326. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.js.map +1 -0
  327. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.d.ts +6 -0
  328. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.d.ts.map +1 -0
  329. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.js +77 -0
  330. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.js.map +1 -0
  331. package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.d.ts +6 -0
  332. package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.d.ts.map +1 -0
  333. package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.js +67 -0
  334. package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.js.map +1 -0
  335. package/dist/service/elbv2/serve/api/sim-elbv2-query-result.d.ts +15 -0
  336. package/dist/service/elbv2/serve/api/sim-elbv2-query-result.d.ts.map +1 -0
  337. package/dist/service/elbv2/serve/api/sim-elbv2-query-result.js +25 -0
  338. package/dist/service/elbv2/serve/api/sim-elbv2-query-result.js.map +1 -0
  339. package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.d.ts +6 -0
  340. package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.d.ts.map +1 -0
  341. package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.js +74 -0
  342. package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.js.map +1 -0
  343. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.d.ts +6 -0
  344. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.d.ts.map +1 -0
  345. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.js +114 -0
  346. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.js.map +1 -0
  347. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.d.ts +6 -0
  348. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.d.ts.map +1 -0
  349. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.js +64 -0
  350. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.js.map +1 -0
  351. package/dist/service/iam/serve/sim-iam-api.d.ts +18 -0
  352. package/dist/service/iam/serve/sim-iam-api.d.ts.map +1 -0
  353. package/dist/service/iam/serve/sim-iam-api.js +38 -0
  354. package/dist/service/iam/serve/sim-iam-api.js.map +1 -0
  355. package/dist/service/iam/serve/sim-iam-query-entity.d.ts +12 -0
  356. package/dist/service/iam/serve/sim-iam-query-entity.d.ts.map +1 -0
  357. package/dist/service/iam/serve/sim-iam-query-entity.js +22 -0
  358. package/dist/service/iam/serve/sim-iam-query-entity.js.map +1 -0
  359. package/dist/service/iam/serve/sim-iam-query-listing.d.ts +18 -0
  360. package/dist/service/iam/serve/sim-iam-query-listing.d.ts.map +1 -0
  361. package/dist/service/iam/serve/sim-iam-query-listing.js +25 -0
  362. package/dist/service/iam/serve/sim-iam-query-listing.js.map +1 -0
  363. package/dist/service/iam/serve/sim-iam-query-policy-operations.d.ts +6 -0
  364. package/dist/service/iam/serve/sim-iam-query-policy-operations.d.ts.map +1 -0
  365. package/dist/service/iam/serve/sim-iam-query-policy-operations.js +70 -0
  366. package/dist/service/iam/serve/sim-iam-query-policy-operations.js.map +1 -0
  367. package/dist/service/iam/serve/sim-iam-query-role-operations.d.ts +10 -0
  368. package/dist/service/iam/serve/sim-iam-query-role-operations.d.ts.map +1 -0
  369. package/dist/service/iam/serve/sim-iam-query-role-operations.js +108 -0
  370. package/dist/service/iam/serve/sim-iam-query-role-operations.js.map +1 -0
  371. package/dist/service/iam/serve/sim-iam-query-user-operations.d.ts +11 -0
  372. package/dist/service/iam/serve/sim-iam-query-user-operations.d.ts.map +1 -0
  373. package/dist/service/iam/serve/sim-iam-query-user-operations.js +62 -0
  374. package/dist/service/iam/serve/sim-iam-query-user-operations.js.map +1 -0
  375. package/dist/service/iam/sim-iam.d.ts +10 -0
  376. package/dist/service/iam/sim-iam.d.ts.map +1 -1
  377. package/dist/service/iam/sim-iam.js +10 -0
  378. package/dist/service/iam/sim-iam.js.map +1 -1
  379. package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.d.ts +9 -0
  380. package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.d.ts.map +1 -0
  381. package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.js +59 -0
  382. package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.js.map +1 -0
  383. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts +6 -0
  384. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts.map +1 -0
  385. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js +91 -0
  386. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js.map +1 -0
  387. package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.d.ts +12 -0
  388. package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.d.ts.map +1 -0
  389. package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.js +28 -0
  390. package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.js.map +1 -0
  391. package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.d.ts +10 -0
  392. package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.d.ts.map +1 -0
  393. package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.js +36 -0
  394. package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.js.map +1 -0
  395. package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts +11 -0
  396. package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts.map +1 -0
  397. package/dist/service/lambda/serve/api/sim-lambda-api-routes.js +19 -0
  398. package/dist/service/lambda/serve/api/sim-lambda-api-routes.js.map +1 -0
  399. package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.d.ts +11 -0
  400. package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.d.ts.map +1 -0
  401. package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.js +50 -0
  402. package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.js.map +1 -0
  403. package/dist/service/lambda/serve/api/sim-lambda-api.d.ts +16 -0
  404. package/dist/service/lambda/serve/api/sim-lambda-api.d.ts.map +1 -0
  405. package/dist/service/lambda/serve/api/sim-lambda-api.js +22 -0
  406. package/dist/service/lambda/serve/api/sim-lambda-api.js.map +1 -0
  407. package/dist/service/rekognition/collection/sim-rekognition-collection-faces.d.ts +53 -0
  408. package/dist/service/rekognition/collection/sim-rekognition-collection-faces.d.ts.map +1 -0
  409. package/dist/service/rekognition/collection/sim-rekognition-collection-faces.js +69 -0
  410. package/dist/service/rekognition/collection/sim-rekognition-collection-faces.js.map +1 -0
  411. package/dist/service/rekognition/collection/sim-rekognition-collection.d.ts +26 -0
  412. package/dist/service/rekognition/collection/sim-rekognition-collection.d.ts.map +1 -0
  413. package/dist/service/rekognition/collection/sim-rekognition-collection.js +9 -0
  414. package/dist/service/rekognition/collection/sim-rekognition-collection.js.map +1 -0
  415. package/dist/service/rekognition/collection/sim-rekognition-collections.d.ts +50 -0
  416. package/dist/service/rekognition/collection/sim-rekognition-collections.d.ts.map +1 -0
  417. package/dist/service/rekognition/collection/sim-rekognition-collections.js +78 -0
  418. package/dist/service/rekognition/collection/sim-rekognition-collections.js.map +1 -0
  419. package/dist/service/rekognition/collection/sim-rekognition-indexed-face.d.ts +41 -0
  420. package/dist/service/rekognition/collection/sim-rekognition-indexed-face.d.ts.map +1 -0
  421. package/dist/service/rekognition/collection/sim-rekognition-indexed-face.js +53 -0
  422. package/dist/service/rekognition/collection/sim-rekognition-indexed-face.js.map +1 -0
  423. package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.d.ts +2 -2
  424. package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.d.ts.map +1 -1
  425. package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.js +7 -4
  426. package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.js.map +1 -1
  427. package/dist/service/rekognition/command/collection/collection-id.d.ts +9 -0
  428. package/dist/service/rekognition/command/collection/collection-id.d.ts.map +1 -0
  429. package/dist/service/rekognition/command/collection/collection-id.js +15 -0
  430. package/dist/service/rekognition/command/collection/collection-id.js.map +1 -0
  431. package/dist/service/rekognition/command/collection/collection.command.d.ts +55 -0
  432. package/dist/service/rekognition/command/collection/collection.command.d.ts.map +1 -0
  433. package/dist/service/rekognition/command/collection/collection.command.js +2 -0
  434. package/dist/service/rekognition/command/collection/collection.command.js.map +1 -0
  435. package/dist/service/rekognition/command/collection/collection.handler.d.ts +40 -0
  436. package/dist/service/rekognition/command/collection/collection.handler.d.ts.map +1 -0
  437. package/dist/service/rekognition/command/collection/collection.handler.js +62 -0
  438. package/dist/service/rekognition/command/collection/collection.handler.js.map +1 -0
  439. package/dist/service/rekognition/command/face/delete-faces-request.d.ts +10 -0
  440. package/dist/service/rekognition/command/face/delete-faces-request.d.ts.map +1 -0
  441. package/dist/service/rekognition/command/face/delete-faces-request.js +18 -0
  442. package/dist/service/rekognition/command/face/delete-faces-request.js.map +1 -0
  443. package/dist/service/rekognition/command/face/external-image-id.d.ts +9 -0
  444. package/dist/service/rekognition/command/face/external-image-id.d.ts.map +1 -0
  445. package/dist/service/rekognition/command/face/external-image-id.js +28 -0
  446. package/dist/service/rekognition/command/face/external-image-id.js.map +1 -0
  447. package/dist/service/rekognition/command/face/face-ids.d.ts +9 -0
  448. package/dist/service/rekognition/command/face/face-ids.d.ts.map +1 -0
  449. package/dist/service/rekognition/command/face/face-ids.js +48 -0
  450. package/dist/service/rekognition/command/face/face-ids.js.map +1 -0
  451. package/dist/service/rekognition/command/face/face-indexer.d.ts +38 -0
  452. package/dist/service/rekognition/command/face/face-indexer.d.ts.map +1 -0
  453. package/dist/service/rekognition/command/face/face-indexer.js +64 -0
  454. package/dist/service/rekognition/command/face/face-indexer.js.map +1 -0
  455. package/dist/service/rekognition/command/face/face-limits.d.ts +22 -0
  456. package/dist/service/rekognition/command/face/face-limits.d.ts.map +1 -0
  457. package/dist/service/rekognition/command/face/face-limits.js +36 -0
  458. package/dist/service/rekognition/command/face/face-limits.js.map +1 -0
  459. package/dist/service/rekognition/command/face/face-listing.d.ts +26 -0
  460. package/dist/service/rekognition/command/face/face-listing.d.ts.map +1 -0
  461. package/dist/service/rekognition/command/face/face-listing.js +36 -0
  462. package/dist/service/rekognition/command/face/face-listing.js.map +1 -0
  463. package/dist/service/rekognition/command/face/face-output.d.ts +65 -0
  464. package/dist/service/rekognition/command/face/face-output.d.ts.map +1 -0
  465. package/dist/service/rekognition/command/face/face-output.js +8 -0
  466. package/dist/service/rekognition/command/face/face-output.js.map +1 -0
  467. package/dist/service/rekognition/command/face/face-searcher.d.ts +32 -0
  468. package/dist/service/rekognition/command/face/face-searcher.d.ts.map +1 -0
  469. package/dist/service/rekognition/command/face/face-searcher.js +45 -0
  470. package/dist/service/rekognition/command/face/face-searcher.js.map +1 -0
  471. package/dist/service/rekognition/command/face/face.command.d.ts +107 -0
  472. package/dist/service/rekognition/command/face/face.command.d.ts.map +1 -0
  473. package/dist/service/rekognition/command/face/face.command.js +2 -0
  474. package/dist/service/rekognition/command/face/face.command.js.map +1 -0
  475. package/dist/service/rekognition/command/face/face.handler.d.ts +62 -0
  476. package/dist/service/rekognition/command/face/face.handler.d.ts.map +1 -0
  477. package/dist/service/rekognition/command/face/face.handler.js +99 -0
  478. package/dist/service/rekognition/command/face/face.handler.js.map +1 -0
  479. package/dist/service/rekognition/command/face/index-faces-request.d.ts +20 -0
  480. package/dist/service/rekognition/command/face/index-faces-request.d.ts.map +1 -0
  481. package/dist/service/rekognition/command/face/index-faces-request.js +39 -0
  482. package/dist/service/rekognition/command/face/index-faces-request.js.map +1 -0
  483. package/dist/service/rekognition/command/face/list-faces-page.d.ts +26 -0
  484. package/dist/service/rekognition/command/face/list-faces-page.d.ts.map +1 -0
  485. package/dist/service/rekognition/command/face/list-faces-page.js +39 -0
  486. package/dist/service/rekognition/command/face/list-faces-page.js.map +1 -0
  487. package/dist/service/rekognition/command/face/list-faces-request.d.ts +17 -0
  488. package/dist/service/rekognition/command/face/list-faces-request.d.ts.map +1 -0
  489. package/dist/service/rekognition/command/face/list-faces-request.js +43 -0
  490. package/dist/service/rekognition/command/face/list-faces-request.js.map +1 -0
  491. package/dist/service/rekognition/command/face/search-faces-by-image-request.d.ts +24 -0
  492. package/dist/service/rekognition/command/face/search-faces-by-image-request.d.ts.map +1 -0
  493. package/dist/service/rekognition/command/face/search-faces-by-image-request.js +61 -0
  494. package/dist/service/rekognition/command/face/search-faces-by-image-request.js.map +1 -0
  495. package/dist/service/rekognition/command/sim-rekognition-detection-handlers.d.ts +32 -0
  496. package/dist/service/rekognition/command/sim-rekognition-detection-handlers.d.ts.map +1 -0
  497. package/dist/service/rekognition/command/sim-rekognition-detection-handlers.js +37 -0
  498. package/dist/service/rekognition/command/sim-rekognition-detection-handlers.js.map +1 -0
  499. package/dist/service/rekognition/error/sim-rekognition.error.d.ts +20 -0
  500. package/dist/service/rekognition/error/sim-rekognition.error.d.ts.map +1 -1
  501. package/dist/service/rekognition/error/sim-rekognition.error.js +24 -0
  502. package/dist/service/rekognition/error/sim-rekognition.error.js.map +1 -1
  503. package/dist/service/rekognition/face/sim-rekognition-detected-face.d.ts +9 -0
  504. package/dist/service/rekognition/face/sim-rekognition-detected-face.d.ts.map +1 -1
  505. package/dist/service/rekognition/face/sim-rekognition-detected-face.js +12 -0
  506. package/dist/service/rekognition/face/sim-rekognition-detected-face.js.map +1 -1
  507. package/dist/service/rekognition/face/sim-rekognition-face-detection.d.ts +9 -0
  508. package/dist/service/rekognition/face/sim-rekognition-face-detection.d.ts.map +1 -1
  509. package/dist/service/rekognition/face/sim-rekognition-face-detection.js +10 -0
  510. package/dist/service/rekognition/face/sim-rekognition-face-detection.js.map +1 -1
  511. package/dist/service/rekognition/face/sim-rekognition-face-frame.d.ts +5 -1
  512. package/dist/service/rekognition/face/sim-rekognition-face-frame.d.ts.map +1 -1
  513. package/dist/service/rekognition/face/sim-rekognition-face-frame.js +3 -0
  514. package/dist/service/rekognition/face/sim-rekognition-face-frame.js.map +1 -1
  515. package/dist/service/rekognition/index.d.ts +3 -1
  516. package/dist/service/rekognition/index.d.ts.map +1 -1
  517. package/dist/service/rekognition/index.js +2 -1
  518. package/dist/service/rekognition/index.js.map +1 -1
  519. package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.d.ts +29 -0
  520. package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.d.ts.map +1 -0
  521. package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.js +2 -0
  522. package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.js.map +1 -0
  523. package/dist/service/rekognition/match/sim-rekognition-face-match-result.d.ts +25 -0
  524. package/dist/service/rekognition/match/sim-rekognition-face-match-result.d.ts.map +1 -0
  525. package/dist/service/rekognition/match/sim-rekognition-face-match-result.js +44 -0
  526. package/dist/service/rekognition/match/sim-rekognition-face-match-result.js.map +1 -0
  527. package/dist/service/rekognition/match/sim-rekognition-face-match-rule.d.ts +26 -0
  528. package/dist/service/rekognition/match/sim-rekognition-face-match-rule.d.ts.map +1 -0
  529. package/dist/service/rekognition/match/sim-rekognition-face-match-rule.js +64 -0
  530. package/dist/service/rekognition/match/sim-rekognition-face-match-rule.js.map +1 -0
  531. package/dist/service/rekognition/match/sim-rekognition-face-matches.d.ts +32 -0
  532. package/dist/service/rekognition/match/sim-rekognition-face-matches.d.ts.map +1 -0
  533. package/dist/service/rekognition/match/sim-rekognition-face-matches.js +39 -0
  534. package/dist/service/rekognition/match/sim-rekognition-face-matches.js.map +1 -0
  535. package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.d.ts.map +1 -1
  536. package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.js +28 -0
  537. package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.js.map +1 -1
  538. package/dist/service/rekognition/sim-rekognition.d.ts +51 -3
  539. package/dist/service/rekognition/sim-rekognition.d.ts.map +1 -1
  540. package/dist/service/rekognition/sim-rekognition.js +84 -16
  541. package/dist/service/rekognition/sim-rekognition.js.map +1 -1
  542. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +1 -1
  543. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -1
  544. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +9 -1
  545. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -1
  546. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -1
  547. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +0 -1
  548. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -1
  549. package/dist/service/s3/bucket/sim-s3-bucket.d.ts +18 -0
  550. package/dist/service/s3/bucket/sim-s3-bucket.d.ts.map +1 -1
  551. package/dist/service/s3/bucket/sim-s3-bucket.js +16 -1
  552. package/dist/service/s3/bucket/sim-s3-bucket.js.map +1 -1
  553. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.d.ts +23 -0
  554. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.d.ts.map +1 -0
  555. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.js +2 -0
  556. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.js.map +1 -0
  557. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.d.ts +23 -0
  558. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.d.ts.map +1 -0
  559. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.js +32 -0
  560. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.js.map +1 -0
  561. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts +1 -0
  562. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts.map +1 -1
  563. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js +4 -0
  564. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js.map +1 -1
  565. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.d.ts +42 -0
  566. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.d.ts.map +1 -0
  567. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.js +2 -0
  568. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.js.map +1 -0
  569. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.d.ts +28 -0
  570. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.d.ts.map +1 -0
  571. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.js +73 -0
  572. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.js.map +1 -0
  573. package/dist/service/s3/command/create-bucket/create-bucket.handler.d.ts.map +1 -1
  574. package/dist/service/s3/command/create-bucket/create-bucket.handler.js +1 -0
  575. package/dist/service/s3/command/create-bucket/create-bucket.handler.js.map +1 -1
  576. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.d.ts +30 -0
  577. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.d.ts.map +1 -0
  578. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.js +2 -0
  579. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.js.map +1 -0
  580. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.d.ts +21 -0
  581. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.d.ts.map +1 -0
  582. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.js +38 -0
  583. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.js.map +1 -0
  584. package/dist/service/s3/command/head-bucket/head-bucket-authorizer.d.ts +26 -0
  585. package/dist/service/s3/command/head-bucket/head-bucket-authorizer.d.ts.map +1 -0
  586. package/dist/service/s3/command/head-bucket/head-bucket-authorizer.js +48 -0
  587. package/dist/service/s3/command/head-bucket/head-bucket-authorizer.js.map +1 -0
  588. package/dist/service/s3/command/head-bucket/head-bucket.command.d.ts +24 -0
  589. package/dist/service/s3/command/head-bucket/head-bucket.command.d.ts.map +1 -0
  590. package/dist/service/s3/command/head-bucket/head-bucket.command.js +2 -0
  591. package/dist/service/s3/command/head-bucket/head-bucket.command.js.map +1 -0
  592. package/dist/service/s3/command/head-bucket/head-bucket.handler.d.ts +35 -0
  593. package/dist/service/s3/command/head-bucket/head-bucket.handler.d.ts.map +1 -0
  594. package/dist/service/s3/command/head-bucket/head-bucket.handler.js +45 -0
  595. package/dist/service/s3/command/head-bucket/head-bucket.handler.js.map +1 -0
  596. package/dist/service/s3/command/head-object/head-object-loader.d.ts +17 -0
  597. package/dist/service/s3/command/head-object/head-object-loader.d.ts.map +1 -0
  598. package/dist/service/s3/command/head-object/head-object-loader.js +29 -0
  599. package/dist/service/s3/command/head-object/head-object-loader.js.map +1 -0
  600. package/dist/service/s3/command/head-object/head-object.command.d.ts +29 -0
  601. package/dist/service/s3/command/head-object/head-object.command.d.ts.map +1 -0
  602. package/dist/service/s3/command/head-object/head-object.command.js +2 -0
  603. package/dist/service/s3/command/head-object/head-object.command.js.map +1 -0
  604. package/dist/service/s3/command/head-object/head-object.handler.d.ts +38 -0
  605. package/dist/service/s3/command/head-object/head-object.handler.d.ts.map +1 -0
  606. package/dist/service/s3/command/head-object/head-object.handler.js +50 -0
  607. package/dist/service/s3/command/head-object/head-object.handler.js.map +1 -0
  608. package/dist/service/s3/command/list-buckets/list-buckets-page-builder.d.ts.map +1 -1
  609. package/dist/service/s3/command/list-buckets/list-buckets-page-builder.js +1 -0
  610. package/dist/service/s3/command/list-buckets/list-buckets-page-builder.js.map +1 -1
  611. package/dist/service/s3/command/list-buckets/list-buckets.command.d.ts +1 -0
  612. package/dist/service/s3/command/list-buckets/list-buckets.command.d.ts.map +1 -1
  613. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.d.ts +34 -0
  614. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.d.ts.map +1 -0
  615. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.js +2 -0
  616. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.js.map +1 -0
  617. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.d.ts +23 -0
  618. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.d.ts.map +1 -0
  619. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.js +43 -0
  620. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.js.map +1 -0
  621. package/dist/service/s3/command/list-parts/list-parts.command.d.ts +37 -0
  622. package/dist/service/s3/command/list-parts/list-parts.command.d.ts.map +1 -0
  623. package/dist/service/s3/command/list-parts/list-parts.command.js +2 -0
  624. package/dist/service/s3/command/list-parts/list-parts.command.js.map +1 -0
  625. package/dist/service/s3/command/list-parts/list-parts.handler.d.ts +22 -0
  626. package/dist/service/s3/command/list-parts/list-parts.handler.d.ts.map +1 -0
  627. package/dist/service/s3/command/list-parts/list-parts.handler.js +47 -0
  628. package/dist/service/s3/command/list-parts/list-parts.handler.js.map +1 -0
  629. package/dist/service/s3/command/multipart/sim-s3-multipart-access.d.ts +54 -0
  630. package/dist/service/s3/command/multipart/sim-s3-multipart-access.d.ts.map +1 -0
  631. package/dist/service/s3/command/multipart/sim-s3-multipart-access.js +60 -0
  632. package/dist/service/s3/command/multipart/sim-s3-multipart-access.js.map +1 -0
  633. package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.d.ts +36 -0
  634. package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.d.ts.map +1 -0
  635. package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.js +52 -0
  636. package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.js.map +1 -0
  637. package/dist/service/s3/command/multipart/sim-s3-multipart-commands.d.ts +35 -0
  638. package/dist/service/s3/command/multipart/sim-s3-multipart-commands.d.ts.map +1 -0
  639. package/dist/service/s3/command/multipart/sim-s3-multipart-commands.js +52 -0
  640. package/dist/service/s3/command/multipart/sim-s3-multipart-commands.js.map +1 -0
  641. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +4 -0
  642. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -1
  643. package/dist/service/s3/command/object/sim-s3-object-commands.js +7 -0
  644. package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -1
  645. package/dist/service/s3/command/put-object/put-object-builder.d.ts +0 -32
  646. package/dist/service/s3/command/put-object/put-object-builder.d.ts.map +1 -1
  647. package/dist/service/s3/command/put-object/put-object-builder.js +5 -61
  648. package/dist/service/s3/command/put-object/put-object-builder.js.map +1 -1
  649. package/dist/service/s3/command/put-object/put-object.command.d.ts +7 -17
  650. package/dist/service/s3/command/put-object/put-object.command.d.ts.map +1 -1
  651. package/dist/service/s3/command/put-object/put-object.handler.d.ts.map +1 -1
  652. package/dist/service/s3/command/put-object/put-object.handler.js +6 -1
  653. package/dist/service/s3/command/put-object/put-object.handler.js.map +1 -1
  654. package/dist/service/s3/command/sim-s3-command.types.d.ts +8 -0
  655. package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
  656. package/dist/service/s3/command/upload-part/upload-part.command.d.ts +32 -0
  657. package/dist/service/s3/command/upload-part/upload-part.command.d.ts.map +1 -0
  658. package/dist/service/s3/command/upload-part/upload-part.command.js +2 -0
  659. package/dist/service/s3/command/upload-part/upload-part.command.js.map +1 -0
  660. package/dist/service/s3/command/upload-part/upload-part.handler.d.ts +22 -0
  661. package/dist/service/s3/command/upload-part/upload-part.handler.d.ts.map +1 -0
  662. package/dist/service/s3/command/upload-part/upload-part.handler.js +34 -0
  663. package/dist/service/s3/command/upload-part/upload-part.handler.js.map +1 -0
  664. package/dist/service/s3/error/sim-s3.error.d.ts +46 -0
  665. package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
  666. package/dist/service/s3/error/sim-s3.error.js +54 -0
  667. package/dist/service/s3/error/sim-s3.error.js.map +1 -1
  668. package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts +10 -0
  669. package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts.map +1 -1
  670. package/dist/service/s3/notification/event/sim-s3-object-event-builder.js +1 -1
  671. package/dist/service/s3/notification/event/sim-s3-object-event-builder.js.map +1 -1
  672. package/dist/service/s3/notification/sim-s3-object-notifier.d.ts +1 -1
  673. package/dist/service/s3/notification/sim-s3-object-notifier.js +2 -2
  674. package/dist/service/s3/notification/sim-s3-object-notifier.js.map +1 -1
  675. package/dist/service/s3/object/s3-object-etag.d.ts +20 -4
  676. package/dist/service/s3/object/s3-object-etag.d.ts.map +1 -1
  677. package/dist/service/s3/object/s3-object-etag.js +25 -4
  678. package/dist/service/s3/object/s3-object-etag.js.map +1 -1
  679. package/dist/service/s3/object/s3-object-summary.d.ts +9 -0
  680. package/dist/service/s3/object/s3-object-summary.d.ts.map +1 -1
  681. package/dist/service/s3/object/s3-object-summary.js +2 -2
  682. package/dist/service/s3/object/s3-object-summary.js.map +1 -1
  683. package/dist/service/s3/object/s3-object.d.ts +10 -0
  684. package/dist/service/s3/object/s3-object.d.ts.map +1 -1
  685. package/dist/service/s3/object/s3-object.js +7 -1
  686. package/dist/service/s3/object/s3-object.js.map +1 -1
  687. package/dist/service/s3/object/s3-write-body.d.ts +23 -0
  688. package/dist/service/s3/object/s3-write-body.d.ts.map +1 -0
  689. package/dist/service/s3/object/s3-write-body.js +26 -0
  690. package/dist/service/s3/object/s3-write-body.js.map +1 -0
  691. package/dist/service/s3/object/s3-write-metadata.d.ts +33 -0
  692. package/dist/service/s3/object/s3-write-metadata.d.ts.map +1 -0
  693. package/dist/service/s3/object/s3-write-metadata.js +35 -0
  694. package/dist/service/s3/object/s3-write-metadata.js.map +1 -0
  695. package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
  696. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +32 -0
  697. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
  698. package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.d.ts +9 -0
  699. package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.d.ts.map +1 -0
  700. package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.js +128 -0
  701. package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.js.map +1 -0
  702. package/dist/service/s3/serve/api/sim-s3-api-configuration-output.d.ts +19 -0
  703. package/dist/service/s3/serve/api/sim-s3-api-configuration-output.d.ts.map +1 -0
  704. package/dist/service/s3/serve/api/sim-s3-api-configuration-output.js +78 -0
  705. package/dist/service/s3/serve/api/sim-s3-api-configuration-output.js.map +1 -0
  706. package/dist/service/s3/serve/api/sim-s3-api-head-output.d.ts +22 -0
  707. package/dist/service/s3/serve/api/sim-s3-api-head-output.d.ts.map +1 -0
  708. package/dist/service/s3/serve/api/sim-s3-api-head-output.js +39 -0
  709. package/dist/service/s3/serve/api/sim-s3-api-head-output.js.map +1 -0
  710. package/dist/service/s3/serve/api/sim-s3-api-input.d.ts +62 -0
  711. package/dist/service/s3/serve/api/sim-s3-api-input.d.ts.map +1 -0
  712. package/dist/service/s3/serve/api/sim-s3-api-input.js +118 -0
  713. package/dist/service/s3/serve/api/sim-s3-api-input.js.map +1 -0
  714. package/dist/service/s3/serve/api/sim-s3-api-listing.d.ts +43 -0
  715. package/dist/service/s3/serve/api/sim-s3-api-listing.d.ts.map +1 -0
  716. package/dist/service/s3/serve/api/sim-s3-api-listing.js +53 -0
  717. package/dist/service/s3/serve/api/sim-s3-api-listing.js.map +1 -0
  718. package/dist/service/s3/serve/api/sim-s3-api-multipart-input.d.ts +25 -0
  719. package/dist/service/s3/serve/api/sim-s3-api-multipart-input.d.ts.map +1 -0
  720. package/dist/service/s3/serve/api/sim-s3-api-multipart-input.js +48 -0
  721. package/dist/service/s3/serve/api/sim-s3-api-multipart-input.js.map +1 -0
  722. package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.d.ts +36 -0
  723. package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.d.ts.map +1 -0
  724. package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.js +34 -0
  725. package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.js.map +1 -0
  726. package/dist/service/s3/serve/api/sim-s3-api-multipart-output.d.ts +10 -0
  727. package/dist/service/s3/serve/api/sim-s3-api-multipart-output.d.ts.map +1 -0
  728. package/dist/service/s3/serve/api/sim-s3-api-multipart-output.js +62 -0
  729. package/dist/service/s3/serve/api/sim-s3-api-multipart-output.js.map +1 -0
  730. package/dist/service/s3/serve/api/sim-s3-api-notification-read.d.ts +8 -0
  731. package/dist/service/s3/serve/api/sim-s3-api-notification-read.d.ts.map +1 -0
  732. package/dist/service/s3/serve/api/sim-s3-api-notification-read.js +54 -0
  733. package/dist/service/s3/serve/api/sim-s3-api-notification-read.js.map +1 -0
  734. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +5 -0
  735. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -0
  736. package/dist/service/s3/serve/api/sim-s3-api-object-output.js +31 -0
  737. package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -0
  738. package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts +6 -0
  739. package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -0
  740. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +67 -0
  741. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -0
  742. package/dist/service/s3/serve/api/sim-s3-api-output.d.ts +10 -0
  743. package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -0
  744. package/dist/service/s3/serve/api/sim-s3-api-output.js +97 -0
  745. package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -0
  746. package/dist/service/s3/serve/api/sim-s3-api-request.d.ts +32 -0
  747. package/dist/service/s3/serve/api/sim-s3-api-request.d.ts.map +1 -0
  748. package/dist/service/s3/serve/api/sim-s3-api-request.js +48 -0
  749. package/dist/service/s3/serve/api/sim-s3-api-request.js.map +1 -0
  750. package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts +26 -0
  751. package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts.map +1 -0
  752. package/dist/service/s3/serve/api/sim-s3-api-route.type.js +2 -0
  753. package/dist/service/s3/serve/api/sim-s3-api-route.type.js.map +1 -0
  754. package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts +24 -0
  755. package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -0
  756. package/dist/service/s3/serve/api/sim-s3-api-routes.js +91 -0
  757. package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -0
  758. package/dist/service/s3/serve/api/sim-s3-api-xml-read.d.ts +28 -0
  759. package/dist/service/s3/serve/api/sim-s3-api-xml-read.d.ts.map +1 -0
  760. package/dist/service/s3/serve/api/sim-s3-api-xml-read.js +79 -0
  761. package/dist/service/s3/serve/api/sim-s3-api-xml-read.js.map +1 -0
  762. package/dist/service/s3/serve/api/sim-s3-api.d.ts +29 -0
  763. package/dist/service/s3/serve/api/sim-s3-api.d.ts.map +1 -0
  764. package/dist/service/s3/serve/api/sim-s3-api.js +60 -0
  765. package/dist/service/s3/serve/api/sim-s3-api.js.map +1 -0
  766. package/dist/service/s3/serve/sim-s3-rest-error-response.d.ts +8 -0
  767. package/dist/service/s3/serve/sim-s3-rest-error-response.d.ts.map +1 -1
  768. package/dist/service/s3/serve/sim-s3-rest-error-response.js +15 -10
  769. package/dist/service/s3/serve/sim-s3-rest-error-response.js.map +1 -1
  770. package/dist/service/s3/sim-s3-commands.d.ts +2 -0
  771. package/dist/service/s3/sim-s3-commands.d.ts.map +1 -1
  772. package/dist/service/s3/sim-s3-commands.js +3 -0
  773. package/dist/service/s3/sim-s3-commands.js.map +1 -1
  774. package/dist/service/s3/sim-s3-operations.d.ts +67 -0
  775. package/dist/service/s3/sim-s3-operations.d.ts.map +1 -0
  776. package/dist/service/s3/sim-s3-operations.js +118 -0
  777. package/dist/service/s3/sim-s3-operations.js.map +1 -0
  778. package/dist/service/s3/sim-s3.d.ts +6 -41
  779. package/dist/service/s3/sim-s3.d.ts.map +1 -1
  780. package/dist/service/s3/sim-s3.js +11 -79
  781. package/dist/service/s3/sim-s3.js.map +1 -1
  782. package/dist/service/s3/upload/sim-s3-completed-upload.d.ts +30 -0
  783. package/dist/service/s3/upload/sim-s3-completed-upload.d.ts.map +1 -0
  784. package/dist/service/s3/upload/sim-s3-completed-upload.js +69 -0
  785. package/dist/service/s3/upload/sim-s3-completed-upload.js.map +1 -0
  786. package/dist/service/s3/upload/sim-s3-multipart-upload.d.ts +66 -0
  787. package/dist/service/s3/upload/sim-s3-multipart-upload.d.ts.map +1 -0
  788. package/dist/service/s3/upload/sim-s3-multipart-upload.js +78 -0
  789. package/dist/service/s3/upload/sim-s3-multipart-upload.js.map +1 -0
  790. package/dist/service/s3/upload/sim-s3-multipart-uploads.d.ts +48 -0
  791. package/dist/service/s3/upload/sim-s3-multipart-uploads.d.ts.map +1 -0
  792. package/dist/service/s3/upload/sim-s3-multipart-uploads.js +62 -0
  793. package/dist/service/s3/upload/sim-s3-multipart-uploads.js.map +1 -0
  794. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.d.ts +51 -0
  795. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.d.ts.map +1 -0
  796. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.js +89 -0
  797. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.js.map +1 -0
  798. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.d.ts +9 -0
  799. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.d.ts.map +1 -0
  800. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.js +40 -0
  801. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.js.map +1 -0
  802. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.d.ts +40 -0
  803. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.d.ts.map +1 -0
  804. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.js +90 -0
  805. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.js.map +1 -0
  806. package/dist/service/sns/serve/sim-sns-api.d.ts +15 -0
  807. package/dist/service/sns/serve/sim-sns-api.d.ts.map +1 -0
  808. package/dist/service/sns/serve/sim-sns-api.js +37 -0
  809. package/dist/service/sns/serve/sim-sns-api.js.map +1 -0
  810. package/dist/service/sns/serve/sim-sns-query-publish-operations.d.ts +6 -0
  811. package/dist/service/sns/serve/sim-sns-query-publish-operations.d.ts.map +1 -0
  812. package/dist/service/sns/serve/sim-sns-query-publish-operations.js +36 -0
  813. package/dist/service/sns/serve/sim-sns-query-publish-operations.js.map +1 -0
  814. package/dist/service/sns/serve/sim-sns-query-published-message.d.ts +10 -0
  815. package/dist/service/sns/serve/sim-sns-query-published-message.d.ts.map +1 -0
  816. package/dist/service/sns/serve/sim-sns-query-published-message.js +39 -0
  817. package/dist/service/sns/serve/sim-sns-query-published-message.js.map +1 -0
  818. package/dist/service/sns/serve/sim-sns-query-sms-operations.d.ts +9 -0
  819. package/dist/service/sns/serve/sim-sns-query-sms-operations.d.ts.map +1 -0
  820. package/dist/service/sns/serve/sim-sns-query-sms-operations.js +40 -0
  821. package/dist/service/sns/serve/sim-sns-query-sms-operations.js.map +1 -0
  822. package/dist/service/sns/serve/sim-sns-query-subscription-operations.d.ts +6 -0
  823. package/dist/service/sns/serve/sim-sns-query-subscription-operations.d.ts.map +1 -0
  824. package/dist/service/sns/serve/sim-sns-query-subscription-operations.js +83 -0
  825. package/dist/service/sns/serve/sim-sns-query-subscription-operations.js.map +1 -0
  826. package/dist/service/sns/serve/sim-sns-query-topic-operations.d.ts +6 -0
  827. package/dist/service/sns/serve/sim-sns-query-topic-operations.d.ts.map +1 -0
  828. package/dist/service/sns/serve/sim-sns-query-topic-operations.js +62 -0
  829. package/dist/service/sns/serve/sim-sns-query-topic-operations.js.map +1 -0
  830. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts +39 -0
  831. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts.map +1 -0
  832. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js +95 -0
  833. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js.map +1 -0
  834. package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.d.ts +36 -0
  835. package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.d.ts.map +1 -0
  836. package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.js +48 -0
  837. package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.js.map +1 -0
  838. package/dist/service/ssm/sim-ssm.d.ts +10 -0
  839. package/dist/service/ssm/sim-ssm.d.ts.map +1 -1
  840. package/dist/service/ssm/sim-ssm.js +14 -0
  841. package/dist/service/ssm/sim-ssm.js.map +1 -1
  842. package/dist/service/sts/command/assume-role/assume-role.handler.d.ts +2 -2
  843. package/dist/service/sts/command/assume-role/assume-role.handler.d.ts.map +1 -1
  844. package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.d.ts +20 -0
  845. package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.d.ts.map +1 -0
  846. package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.js +2 -0
  847. package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.js.map +1 -0
  848. package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.d.ts +37 -0
  849. package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.d.ts.map +1 -0
  850. package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.js +50 -0
  851. package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.js.map +1 -0
  852. package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.d.ts +15 -0
  853. package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.d.ts.map +1 -0
  854. package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.js +47 -0
  855. package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.js.map +1 -0
  856. package/dist/service/sts/sdk/sim-sts-sdk-command-router.d.ts.map +1 -1
  857. package/dist/service/sts/sdk/sim-sts-sdk-command-router.js +4 -0
  858. package/dist/service/sts/sdk/sim-sts-sdk-command-router.js.map +1 -1
  859. package/dist/service/sts/serve/sim-sts-api.d.ts +12 -0
  860. package/dist/service/sts/serve/sim-sts-api.d.ts.map +1 -0
  861. package/dist/service/sts/serve/sim-sts-api.js +52 -0
  862. package/dist/service/sts/serve/sim-sts-api.js.map +1 -0
  863. package/dist/service/sts/sim-sts.d.ts +9 -2
  864. package/dist/service/sts/sim-sts.d.ts.map +1 -1
  865. package/dist/service/sts/sim-sts.js +11 -0
  866. package/dist/service/sts/sim-sts.js.map +1 -1
  867. package/dist/util/xml/xml-document.d.ts +46 -0
  868. package/dist/util/xml/xml-document.d.ts.map +1 -0
  869. package/dist/util/xml/xml-document.js +108 -0
  870. package/dist/util/xml/xml-document.js.map +1 -0
  871. package/dist/util/xml/xml-writer.d.ts +28 -0
  872. package/dist/util/xml/xml-writer.d.ts.map +1 -0
  873. package/dist/util/xml/xml-writer.js +53 -0
  874. package/dist/util/xml/xml-writer.js.map +1 -0
  875. package/package.json +1 -1
@@ -1,10 +1,13 @@
1
1
  import type { CommandHandler } from "../../../../command/command-handler.js";
2
2
  import type { BackgroundCompleter, BackgroundScheduler } from "../../../../util/background/background.js";
3
+ import type { SimAws } from "../../../aws/sim-aws.js";
3
4
  import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
4
5
  import type { SimCdkOutContext } from "../../cdk/sim-cdk-out-context.js";
5
6
  import type { SimCfnStack, SimCloudFormationStackName } from "../../stack/sim-cfn-stack.js";
7
+ import type { SimCfnExports } from "../../export/sim-cfn-exports.js";
6
8
  import type { SimUpdateStackCommand, SimUpdateStackCommandOutput } from "./update-stack.command.js";
7
9
  interface UpdateStackCommandHandlerProperties {
10
+ readonly simAws: SimAws;
8
11
  readonly accountRegionScope: SimAwsAccountRegionScope;
9
12
  readonly stacks: Map<SimCloudFormationStackName, SimCfnStack>;
10
13
  readonly background: BackgroundScheduler & BackgroundCompleter;
@@ -13,6 +16,8 @@ interface UpdateStackCommandHandlerProperties {
13
16
  * applied from a template file rather than from an SDK Command.
14
17
  */
15
18
  readonly cdkOutContext?: SimCdkOutContext | undefined;
19
+ /** The export names published in this Account and Region. */
20
+ readonly exports?: SimCfnExports | undefined;
16
21
  }
17
22
  /**
18
23
  * Simulated CloudFormation UpdateStackCommand handler.
@@ -20,10 +25,12 @@ interface UpdateStackCommandHandlerProperties {
20
25
  * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudformation/command/UpdateStackCommand/
21
26
  */
22
27
  export declare class UpdateStackCommandHandler implements CommandHandler<SimUpdateStackCommand, SimUpdateStackCommandOutput> {
28
+ private readonly simAws;
23
29
  private readonly accountRegionScope;
24
30
  private readonly stacks;
25
31
  private readonly background;
26
32
  private readonly cdkOutContext;
33
+ private readonly exports;
27
34
  constructor(properties: UpdateStackCommandHandlerProperties);
28
35
  /**
29
36
  * Apply a changed template to a simulated CloudFormation Stack.
@@ -1 +1 @@
1
- {"version":3,"file":"update-stack.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/update-stack/update-stack.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC3B,MAAM,8BAA8B,CAAC;AAOtC,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;AAEnC,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,0BAA0B,EAAE,WAAW,CAAC,CAAC;IAC9D,QAAQ,CAAC,UAAU,EAAE,mBAAmB,GAAG,mBAAmB,CAAC;IAE/D;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACvD;AAED;;;;GAIG;AACH,qBAAa,yBAA0B,YAAW,cAAc,CAC9D,qBAAqB,EACrB,2BAA2B,CAC5B;IACC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+C;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4C;IACvE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA+B;IAE7D,YAAY,UAAU,EAAE,mCAAmC,EAK1D;IAED;;;;;;;;;;OAUG;IACG,MAAM,CACV,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,2BAA2B,CAAC,CAsCtC;CACF"}
1
+ {"version":3,"file":"update-stack.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/update-stack/update-stack.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC3B,MAAM,8BAA8B,CAAC;AAQtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;AAEnC,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,0BAA0B,EAAE,WAAW,CAAC,CAAC;IAC9D,QAAQ,CAAC,UAAU,EAAE,mBAAmB,GAAG,mBAAmB,CAAC;IAE/D;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAEtD,6DAA6D;IAC7D,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CAC9C;AAED;;;;GAIG;AACH,qBAAa,yBAA0B,YAAW,cAAc,CAC9D,qBAAqB,EACrB,2BAA2B,CAC5B;IACC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+C;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4C;IACvE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA+B;IAC7D,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IAEpD,YAAY,UAAU,EAAE,mCAAmC,EAO1D;IAED;;;;;;;;;;OAUG;IACG,MAAM,CACV,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,2BAA2B,CAAC,CA+CtC;CACF"}
@@ -1,6 +1,7 @@
1
1
  import { assertDefined } from "../../../../util/type-guard/defined.js";
2
2
  import { SimCfnTemplate, } from "../../template/sim-cfn-template.js";
3
3
  import { SimCfnParameters } from "../../parameters/sim-cfn-parameters.js";
4
+ import { makeSimCfnParameterStore } from "../../parameters/store/sim-cfn-parameter-store.js";
4
5
  import { SimCloudFormationValidationError } from "../../error/sim-cloudformation.error.js";
5
6
  /**
6
7
  * Simulated CloudFormation UpdateStackCommand handler.
@@ -8,15 +9,19 @@ import { SimCloudFormationValidationError } from "../../error/sim-cloudformation
8
9
  * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudformation/command/UpdateStackCommand/
9
10
  */
10
11
  export class UpdateStackCommandHandler {
12
+ simAws;
11
13
  accountRegionScope;
12
14
  stacks;
13
15
  background;
14
16
  cdkOutContext;
17
+ exports;
15
18
  constructor(properties) {
19
+ this.simAws = properties.simAws;
16
20
  this.accountRegionScope = properties.accountRegionScope;
17
21
  this.stacks = properties.stacks;
18
22
  this.background = properties.background;
19
23
  this.cdkOutContext = properties.cdkOutContext;
24
+ this.exports = properties.exports;
20
25
  }
21
26
  /**
22
27
  * Apply a changed template to a simulated CloudFormation Stack.
@@ -39,10 +44,18 @@ export class UpdateStackCommandHandler {
39
44
  if (stack === undefined) {
40
45
  throw new SimCloudFormationValidationError(`Stack with id ${stackName} does not exist`);
41
46
  }
47
+ const parameters = SimCfnParameters.fromInput(command.input, {
48
+ stackName,
49
+ parameterStore: makeSimCfnParameterStore({
50
+ simAws: this.simAws,
51
+ accountRegionScope: this.accountRegionScope,
52
+ }),
53
+ });
42
54
  await stack.update(SimCfnTemplate.fromJson(command.input.TemplateBody, {
43
55
  stackName,
44
- parameters: SimCfnParameters.fromInput(command.input, { stackName }),
56
+ parameters,
45
57
  accountRegionScope: this.accountRegionScope,
58
+ exports: this.exports,
46
59
  }), { cdkOutContext: this.cdkOutContext });
47
60
  return {
48
61
  StackId: stack.stackName,
@@ -1 +1 @@
1
- {"version":3,"file":"update-stack.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/update-stack/update-stack.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAYvE,OAAO,EAEL,cAAc,GACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E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Aa,EAAE,IAAI,CAAC,aAAa,EAAE,CACtC,CAAC;QAEF,OAAO;YACL,OAAO,EAAE,KAAK,CAAC,SAAS;YACxB,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"update-stack.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/update-stack/update-stack.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAavE,OAAO,EAEL,cAAc,GACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AAC7F,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAuB3F;;;;GAIG;AACH,MAAM,OAAO,yBAAyB;IAInB,MAAM,CAAS;IACf,kBAAkB,CAA2B;IAC7C,MAAM,CAA+C;IACrD,UAAU,CAA4C;IACtD,aAAa,CAA+B;IAC5C,OAAO,CAA4B;IAEpD,YAAY,UAA+C;QACzD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IACpC,CAAC;IAED;;;;;;;;;;OAUG;IACH,KAAK,CAAC,MAAM,CACV,OAA8B;QAE9B,aAAa,CACX,OAAO,CAAC,KAAK,CAAC,SAAS,EACvB,oCAAoC,CACrC,CAAC;QACF,aAAa,CACX,OAAO,CAAC,KAAK,CAAC,YAAY,EAC1B,uCAAuC,CACxC,CAAC;QAEF,oEAAoE;QACpE,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAEjC,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,SAAuC,CAAC;QACxE,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAEzC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,IAAI,gCAAgC,CACxC,iBAAiB,SAAS,iBAAiB,CAC5C,CAAC;QACJ,CAAC;QAED,MAAM,UAAU,GAAG,gBAAgB,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE;YAC3D,SAAS;YACT,cAAc,EAAE,wBAAwB,CAAC;gBACvC,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;aAC5C,CAAC;SACH,CAAC,CAAC;QAEH,MAAM,KAAK,CAAC,MAAM,CAChB,cAAc,CAAC,QAAQ,CACrB,OAAO,CAAC,KAAK,CAAC,YAAiD,EAC/D;YACE,SAAS;YACT,UAAU;YACV,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,OAAO,EAAE,IAAI,CAAC,OAAO;SACtB,CACF,EACD,EAAE,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,CACtC,CAAC;QAEF,OAAO;YACL,OAAO,EAAE,KAAK,CAAC,SAAS;YACxB,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,24 @@
1
+ import type { SimAws } from "../../aws/sim-aws.js";
2
+ import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
3
+ import type { SimCfnStack } from "../stack/sim-cfn-stack.js";
4
+ import { type SimCloudFormationDeployCdkOutProperties } from "./sim-cfn-cdk-out-plan.js";
5
+ export type { SimCfnCdkOutStackOptions } from "./sim-cfn-cdk-out-stack-options.js";
6
+ export type { SimCloudFormationDeployCdkOutProperties } from "./sim-cfn-cdk-out-plan.js";
7
+ interface SimCfnCdkOutDeployerProperties {
8
+ readonly simAws: SimAws;
9
+ readonly accountRegionScope: SimAwsAccountRegionScope;
10
+ }
11
+ /**
12
+ * Deploys the Stacks a CDK cloud assembly holds, each into its own region.
13
+ *
14
+ * The Account is the one this deployer was made in. Only the region moves,
15
+ * since that is what a synthesized environment names and what a caller
16
+ * otherwise has to keep a constant for.
17
+ */
18
+ export declare class SimCfnCdkOutDeployer {
19
+ private readonly scope;
20
+ constructor(scope: SimCfnCdkOutDeployerProperties);
21
+ deploy(request: SimCloudFormationDeployCdkOutProperties | string): Promise<ReadonlyMap<string, SimCfnStack>>;
22
+ private deployStack;
23
+ }
24
+ //# sourceMappingURL=sim-cfn-cdk-out-deployer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cdk-out-deployer.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,EAIL,KAAK,uCAAuC,EAC7C,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AACnF,YAAY,EAAE,uCAAuC,EAAE,MAAM,2BAA2B,CAAC;AAEzF,UAAU,8BAA8B;IACtC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;CACvD;AAED;;;;;;GAMG;AACH,qBAAa,oBAAoB;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK;IAAlC,YAA6B,KAAK,EAAE,8BAA8B,EAAI;IAEhE,MAAM,CACV,OAAO,EAAE,uCAAuC,GAAG,MAAM,GACxD,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAgB3C;YAEa,WAAW;CAe1B"}
@@ -0,0 +1,40 @@
1
+ import { cdkOutOptionsFor } from "./sim-cfn-cdk-out-stack-options.js";
2
+ import { planCdkOutDeployment, } from "./sim-cfn-cdk-out-plan.js";
3
+ /**
4
+ * Deploys the Stacks a CDK cloud assembly holds, each into its own region.
5
+ *
6
+ * The Account is the one this deployer was made in. Only the region moves,
7
+ * since that is what a synthesized environment names and what a caller
8
+ * otherwise has to keep a constant for.
9
+ */
10
+ export class SimCfnCdkOutDeployer {
11
+ scope;
12
+ constructor(scope) {
13
+ this.scope = scope;
14
+ }
15
+ async deploy(request) {
16
+ const plan = await planCdkOutDeployment({
17
+ request,
18
+ defaultRegionName: this.scope.accountRegionScope.regionName,
19
+ });
20
+ const deployed = new Map();
21
+ for (const stack of plan.stacks) {
22
+ // oxlint-disable-next-line no-await-in-loop -- one Stack at a time, since a later one may depend on an earlier one
23
+ const deployedStack = await this.deployStack(stack, plan);
24
+ deployed.set(stack.stackName, deployedStack);
25
+ }
26
+ return deployed;
27
+ }
28
+ async deployStack(stack, plan) {
29
+ const { simAws, accountRegionScope } = this.scope;
30
+ return await simAws
31
+ .accountRegionScope(accountRegionScope.accountId, stack.regionName)
32
+ .cloudFormation()
33
+ .deployTemplateFile({
34
+ templatePath: stack.templatePath,
35
+ stackName: stack.stackName,
36
+ ...cdkOutOptionsFor(stack, plan.stackOptions),
37
+ });
38
+ }
39
+ }
40
+ //# sourceMappingURL=sim-cfn-cdk-out-deployer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cdk-out-deployer.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EACL,oBAAoB,GAIrB,MAAM,2BAA2B,CAAC;AAUnC;;;;;;GAMG;AACH,MAAM,OAAO,oBAAoB;IACF,KAAK;IAAlC,YAA6B,KAAqC;qBAArC,KAAK;IAAmC,CAAC;IAEtE,KAAK,CAAC,MAAM,CACV,OAAyD;QAEzD,MAAM,IAAI,GAAG,MAAM,oBAAoB,CAAC;YACtC,OAAO;YACP,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU;SAC5D,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAuB,CAAC;QAEhD,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChC,mHAAmH;YACnH,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;YAE1D,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEO,KAAK,CAAC,WAAW,CACvB,KAA+B,EAC/B,IAAsB;QAEtB,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAElD,OAAO,MAAM,MAAM;aAChB,kBAAkB,CAAC,kBAAkB,CAAC,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC;aAClE,cAAc,EAAE;aAChB,kBAAkB,CAAC;YAClB,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,GAAG,gBAAgB,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC;SAC9C,CAAC,CAAC;IACP,CAAC;CACF"}
@@ -0,0 +1,39 @@
1
+ import type { AwsRegionName } from "../../aws/sim-aws-region.js";
2
+ import { type SimCdkAssemblyStack } from "../cdk/sim-cdk-assembly-manifest.js";
3
+ import { type SimCfnCdkOutStackOptionsByName } from "./sim-cfn-cdk-out-stack-options.js";
4
+ export interface SimCloudFormationDeployCdkOutProperties {
5
+ /** The `cdk.out` directory to deploy, holding a `manifest.json`. */
6
+ readonly directoryPath: string;
7
+ /**
8
+ * The Stacks to deploy, named by Stack name or by CDK artifact ID.
9
+ *
10
+ * Every Stack in the assembly is deployed when this is left out, which is
11
+ * rarely what a test wants of an app that also synthesizes a deployment
12
+ * pipeline.
13
+ */
14
+ readonly stackNames?: readonly string[] | undefined;
15
+ /**
16
+ * Bindings, parameters and a transform for individual Stacks, keyed the same
17
+ * way `stackNames` names them.
18
+ */
19
+ readonly stackOptions?: SimCfnCdkOutStackOptionsByName | undefined;
20
+ }
21
+ /** A Stack to deploy, in the region it has been resolved into. */
22
+ export interface SimCfnCdkOutPlannedStack extends SimCdkAssemblyStack {
23
+ readonly regionName: AwsRegionName;
24
+ }
25
+ export interface SimCfnCdkOutPlan {
26
+ readonly stacks: readonly SimCfnCdkOutPlannedStack[];
27
+ readonly stackOptions?: SimCfnCdkOutStackOptionsByName | undefined;
28
+ }
29
+ /**
30
+ * Work out which Stacks to deploy, in what order, and into which region.
31
+ *
32
+ * Everything a deployment decides from the cloud assembly is decided here, so
33
+ * an assembly that cannot be deployed says so before any Stack is created.
34
+ */
35
+ export declare function planCdkOutDeployment(properties: {
36
+ readonly request: SimCloudFormationDeployCdkOutProperties | string;
37
+ readonly defaultRegionName: AwsRegionName;
38
+ }): Promise<SimCfnCdkOutPlan>;
39
+ //# sourceMappingURL=sim-cfn-cdk-out-plan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cdk-out-plan.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-plan.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,oCAAoC,CAAC;AAE5C,MAAM,WAAW,uCAAuC;IACtD,oEAAoE;IACpE,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAE/B;;;;;;OAMG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAEpD;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;CACpE;AAED,kEAAkE;AAClE,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;IACnE,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;CACpC;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,MAAM,EAAE,SAAS,wBAAwB,EAAE,CAAC;IACrD,QAAQ,CAAC,YAAY,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;CACpE;AAED;;;;;GAKG;AACH,wBAAsB,oBAAoB,CAAC,UAAU,EAAE;IACrD,QAAQ,CAAC,OAAO,EAAE,uCAAuC,GAAG,MAAM,CAAC;IACnE,QAAQ,CAAC,iBAAiB,EAAE,aAAa,CAAC;CAC3C,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAoB5B"}
@@ -0,0 +1,35 @@
1
+ import path from "node:path";
2
+ import { loadCdkAssemblyStacks, } from "../cdk/sim-cdk-assembly-manifest.js";
3
+ import { orderCdkAssemblyStacks } from "../cdk/sim-cdk-assembly-order.js";
4
+ import { selectCdkAssemblyStacks } from "../cdk/sim-cdk-assembly-selection.js";
5
+ import { assertCdkOutOptionsAreDeployed, } from "./sim-cfn-cdk-out-stack-options.js";
6
+ /**
7
+ * Work out which Stacks to deploy, in what order, and into which region.
8
+ *
9
+ * Everything a deployment decides from the cloud assembly is decided here, so
10
+ * an assembly that cannot be deployed says so before any Stack is created.
11
+ */
12
+ export async function planCdkOutDeployment(properties) {
13
+ const { directoryPath, stackNames, stackOptions } = cdkOutDeployment(properties.request);
14
+ const selected = selectCdkAssemblyStacks({
15
+ stacks: await loadCdkAssemblyStacks(directoryPath),
16
+ stackNames,
17
+ directoryPath: path.resolve(directoryPath),
18
+ });
19
+ assertCdkOutOptionsAreDeployed(stackOptions, selected);
20
+ return {
21
+ stacks: orderCdkAssemblyStacks(selected).map((stack) => ({
22
+ ...stack,
23
+ regionName: stack.regionName ?? properties.defaultRegionName,
24
+ })),
25
+ stackOptions,
26
+ };
27
+ }
28
+ /**
29
+ * Normalize a cloud assembly deployment request, which may be the directory
30
+ * path on its own.
31
+ */
32
+ function cdkOutDeployment(request) {
33
+ return typeof request === "string" ? { directoryPath: request } : request;
34
+ }
35
+ //# sourceMappingURL=sim-cfn-cdk-out-plan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cdk-out-plan.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-plan.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EACL,qBAAqB,GAEtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EACL,8BAA8B,GAE/B,MAAM,oCAAoC,CAAC;AAgC5C;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,UAG1C;IACC,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,gBAAgB,CAClE,UAAU,CAAC,OAAO,CACnB,CAAC;IAEF,MAAM,QAAQ,GAAG,uBAAuB,CAAC;QACvC,MAAM,EAAE,MAAM,qBAAqB,CAAC,aAAa,CAAC;QAClD,UAAU;QACV,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC;KAC3C,CAAC,CAAC;IAEH,8BAA8B,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAEvD,OAAO;QACL,MAAM,EAAE,sBAAsB,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YACvD,GAAG,KAAK;YACR,UAAU,EAAE,KAAK,CAAC,UAAU,IAAI,UAAU,CAAC,iBAAiB;SAC7D,CAAC,CAAC;QACH,YAAY;KACb,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,gBAAgB,CACvB,OAAyD;IAEzD,OAAO,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;AAC5E,CAAC"}
@@ -0,0 +1,28 @@
1
+ import type { SimCdkAssemblyStack } from "../cdk/sim-cdk-assembly-manifest.js";
2
+ import type { SimCfnDeployBinding } from "../bind/sim-cfn-deploy-binding.js";
3
+ import type { SimCfnTemplateFileTransform } from "./sim-cfn-template-file-transform.js";
4
+ /**
5
+ * What one Stack in a cloud assembly is deployed with.
6
+ *
7
+ * These are the per-template options `deployTemplateFile` takes, for the one
8
+ * Stack they are keyed against.
9
+ */
10
+ export interface SimCfnCdkOutStackOptions {
11
+ readonly parameters?: Record<string, string> | undefined;
12
+ readonly bindings?: readonly SimCfnDeployBinding[] | undefined;
13
+ readonly transform?: SimCfnTemplateFileTransform | undefined;
14
+ }
15
+ export type SimCfnCdkOutStackOptionsByName = Record<string, SimCfnCdkOutStackOptions>;
16
+ /**
17
+ * The options a Stack is deployed with, keyed by Stack name or artifact ID.
18
+ */
19
+ export declare function cdkOutOptionsFor(stack: SimCdkAssemblyStack, optionsByName: SimCfnCdkOutStackOptionsByName | undefined): SimCfnCdkOutStackOptions;
20
+ /**
21
+ * Refuse options keyed against a Stack that is not being deployed.
22
+ *
23
+ * A renamed Stack would otherwise take its bindings and its transform with it
24
+ * without saying anything, and the deployment that lost them looks like one
25
+ * that never had them.
26
+ */
27
+ export declare function assertCdkOutOptionsAreDeployed(optionsByName: SimCfnCdkOutStackOptionsByName | undefined, deploying: readonly SimCdkAssemblyStack[]): void;
28
+ //# sourceMappingURL=sim-cfn-cdk-out-stack-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cdk-out-stack-options.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAExF;;;;;GAKG;AACH,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,SAAS,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;CAC9D;AAED,MAAM,MAAM,8BAA8B,GAAG,MAAM,CACjD,MAAM,EACN,wBAAwB,CACzB,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,mBAAmB,EAC1B,aAAa,EAAE,8BAA8B,GAAG,SAAS,GACxD,wBAAwB,CAI1B;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,8BAA8B,GAAG,SAAS,EACzD,SAAS,EAAE,SAAS,mBAAmB,EAAE,GACxC,IAAI,CAaN"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * The options a Stack is deployed with, keyed by Stack name or artifact ID.
3
+ */
4
+ export function cdkOutOptionsFor(stack, optionsByName) {
5
+ return (optionsByName?.[stack.stackName] ?? optionsByName?.[stack.artifactId] ?? {});
6
+ }
7
+ /**
8
+ * Refuse options keyed against a Stack that is not being deployed.
9
+ *
10
+ * A renamed Stack would otherwise take its bindings and its transform with it
11
+ * without saying anything, and the deployment that lost them looks like one
12
+ * that never had them.
13
+ */
14
+ export function assertCdkOutOptionsAreDeployed(optionsByName, deploying) {
15
+ const names = new Set(deploying.flatMap((stack) => [stack.stackName, stack.artifactId]));
16
+ const unmatched = Object.keys(optionsByName ?? {}).filter((name) => !names.has(name));
17
+ if (unmatched.length > 0) {
18
+ throw new Error(`Options were given for ${unmatched.join(", ")}, which no Stack being deployed is named. The Stacks being deployed are ${stackNames(deploying)}.`);
19
+ }
20
+ }
21
+ function stackNames(stacks) {
22
+ return stacks.map((stack) => stack.stackName).join(", ");
23
+ }
24
+ //# sourceMappingURL=sim-cfn-cdk-out-stack-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cdk-out-stack-options.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.ts"],"names":[],"mappings":"AAqBA;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAC9B,KAA0B,EAC1B,aAAyD;IAEzD,OAAO,CACL,aAAa,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,aAAa,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,CAC5E,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,8BAA8B,CAC5C,aAAyD,EACzD,SAAyC;IAEzC,MAAM,KAAK,GAAG,IAAI,GAAG,CACnB,SAAS,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAClE,CAAC;IACF,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,MAAM,CACvD,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAC3B,CAAC;IAEF,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CACb,0BAA0B,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,2EAA2E,UAAU,CAAC,SAAS,CAAC,GAAG,CAClJ,CAAC;IACJ,CAAC;AACH,CAAC;AAED,SAAS,UAAU,CAAC,MAAsC;IACxD,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3D,CAAC"}
@@ -1,10 +1,12 @@
1
1
  import type { SimCfnStack, SimCloudFormationStackName } from "../stack/sim-cfn-stack.js";
2
2
  import type { CfnTemplateBodyRecord } from "../template/sim-cfn-template.js";
3
3
  import { type SimCloudFormationDeployTemplateFileProperties as SimCloudFormationDeployTemplateFileProperties } from "./sim-cfn-template-file-loader.js";
4
+ import { type SimCloudFormationDeployCdkOutProperties } from "./sim-cfn-cdk-out-deployer.js";
4
5
  import type { SimCfnDeployBinding } from "../bind/sim-cfn-deploy-binding.js";
5
6
  import type { SimAws } from "../../aws/sim-aws.js";
6
7
  import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
7
8
  import type { BackgroundCompleter, BackgroundScheduler } from "../../../util/background/background.js";
9
+ import type { SimCfnExports } from "../export/sim-cfn-exports.js";
8
10
  export interface SimCloudFormationCreateStackProperties {
9
11
  readonly stackName?: SimCloudFormationStackName | string;
10
12
  readonly template: CfnTemplateBodyRecord;
@@ -26,6 +28,7 @@ interface SimCloudFormationTemplateDeployerProperties {
26
28
  readonly accountRegionScope: SimAwsAccountRegionScope;
27
29
  readonly stacks: Map<SimCloudFormationStackName, SimCfnStack>;
28
30
  readonly background: BackgroundScheduler & BackgroundCompleter;
31
+ readonly exports?: SimCfnExports | undefined;
29
32
  }
30
33
  /**
31
34
  * Deploys parsed or synthesized CloudFormation templates into simulated stacks.
@@ -42,8 +45,10 @@ export declare class SimCloudFormationTemplateDeployer {
42
45
  private readonly accountRegionScope;
43
46
  private readonly stacks;
44
47
  private readonly background;
48
+ private readonly exports;
45
49
  private readonly templateFileLoader;
46
50
  private readonly templateFileUpdater;
51
+ private readonly cdkOutDeployer;
47
52
  private readonly watches;
48
53
  constructor(properties: SimCloudFormationTemplateDeployerProperties);
49
54
  /**
@@ -60,6 +65,10 @@ export declare class SimCloudFormationTemplateDeployer {
60
65
  * keeps trying to update.
61
66
  */
62
67
  deployTemplateFile(properties: SimCloudFormationDeployTemplateFileProperties | string): Promise<SimCfnStack>;
68
+ /**
69
+ * Deploy the Stacks a synthesized CDK cloud assembly holds.
70
+ */
71
+ deployCdkOut(properties: SimCloudFormationDeployCdkOutProperties | string): Promise<ReadonlyMap<string, SimCfnStack>>;
63
72
  /**
64
73
  * Apply a synthesized CDK template file to the Stack it was deployed as, and
65
74
  * wait for the Resource work to finish.
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-template-deployer.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-deployer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAO7E,OAAO,EAEL,KAAK,6CAA6C,IAAI,6CAA6C,EACpG,MAAM,mCAAmC,CAAC;AAI3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAKhD,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,SAAS,CAAC,EAAE,0BAA0B,GAAG,MAAM,CAAC;IACzD,QAAQ,CAAC,QAAQ,EAAE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MAAM,GACjE,OAAO,CAAC,WAAW,CAAC,CAItB;IAED;;OAEG;IACH,oBAAoB,IAAI,SAAS,MAAM,EAAE,CAExC;IAED;;OAEG;IACH,yBAAyB,IAAI,IAAI,CAEhC;YAEa,yBAAyB;YAqCzB,sBAAsB;CAyBrC"}
1
+ {"version":3,"file":"sim-cfn-template-deployer.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-deployer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAO7E,OAAO,EAEL,KAAK,6CAA6C,IAAI,6CAA6C,EACpG,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAEL,KAAK,uCAAuC,EAC7C,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAIhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,SAAS,CAAC,EAAE,0BAA0B,GAAG,MAAM,CAAC;IACzD,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,CAAC;IACzC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAE/D;;;;;;;OAOG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAA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kBAAkB,CACtB,UAAU,EAAE,6CAA6C,GAAG,MAAM,GACjE,OAAO,CAAC,WAAW,CAAC,CAItB;IAED;;OAEG;IACH,oBAAoB,IAAI,SAAS,MAAM,EAAE,CAExC;IAED;;OAEG;IACH,yBAAyB,IAAI,IAAI,CAEhC;YAEa,yBAAyB;YAqCzB,sBAAsB;CA0BrC"}
@@ -3,6 +3,7 @@ import { assertDefined } from "../../../util/type-guard/defined.js";
3
3
  import { loadSiblingCdkAssetsManifest, } from "../cdk/sim-cdk-out-context.js";
4
4
  import { SimCfnTemplateFileLoader, } from "./sim-cfn-template-file-loader.js";
5
5
  import { SimCfnTemplateFileUpdater } from "./sim-cfn-template-file-updater.js";
6
+ import { SimCfnCdkOutDeployer, } from "./sim-cfn-cdk-out-deployer.js";
6
7
  import { simCfnTemplateFileDeployment } from "./sim-cfn-template-file-deployment.js";
7
8
  import { SimCfnTemplateFileWatches } from "../watch/sim-cfn-template-file-watches.js";
8
9
  import { CreateStackCommandHandler } from "../command/create-stack/create-stack.handler.js";
@@ -22,15 +23,19 @@ export class SimCloudFormationTemplateDeployer {
22
23
  accountRegionScope;
23
24
  stacks;
24
25
  background;
26
+ exports;
25
27
  templateFileLoader = new SimCfnTemplateFileLoader();
26
28
  templateFileUpdater;
29
+ cdkOutDeployer;
27
30
  watches;
28
31
  constructor(properties) {
29
32
  this.simAws = properties.simAws;
30
33
  this.accountRegionScope = properties.accountRegionScope;
31
34
  this.stacks = properties.stacks;
32
35
  this.background = properties.background;
36
+ this.exports = properties.exports;
33
37
  this.templateFileUpdater = new SimCfnTemplateFileUpdater({
38
+ simAws: this.simAws,
34
39
  accountRegionScope: this.accountRegionScope,
35
40
  stacks: this.stacks,
36
41
  background: this.background,
@@ -38,6 +43,10 @@ export class SimCloudFormationTemplateDeployer {
38
43
  this.watches = new SimCfnTemplateFileWatches({
39
44
  updater: this.templateFileUpdater,
40
45
  });
46
+ this.cdkOutDeployer = new SimCfnCdkOutDeployer({
47
+ simAws: this.simAws,
48
+ accountRegionScope: this.accountRegionScope,
49
+ });
41
50
  }
42
51
  /**
43
52
  * Create and deploy a simulated CloudFormation Stack from a parsed template
@@ -66,6 +75,12 @@ export class SimCloudFormationTemplateDeployer {
66
75
  this.watches.watchIfAsked(deployment);
67
76
  return stack;
68
77
  }
78
+ /**
79
+ * Deploy the Stacks a synthesized CDK cloud assembly holds.
80
+ */
81
+ async deployCdkOut(properties) {
82
+ return await this.cdkOutDeployer.deploy(properties);
83
+ }
69
84
  /**
70
85
  * Apply a synthesized CDK template file to the Stack it was deployed as, and
71
86
  * wait for the Resource work to finish.
@@ -109,6 +124,7 @@ export class SimCloudFormationTemplateDeployer {
109
124
  background: this.background,
110
125
  cdkOutContext,
111
126
  bindings,
127
+ exports: this.exports,
112
128
  });
113
129
  return await handler.handle(command);
114
130
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-template-deployer.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-deployer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,4BAA4B,GAE7B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,wBAAwB,GAEzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAStF,OAAO,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CAAC;AAC5F,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AA4BxC;;;;;;;;;GASG;AACH,MAAM,OAAO,iCAAiC;IAC3B,MAAM,CAAS;IACf,kBAAkB,CAA2B;IAC7C,MAAM,CAA+C;IACrD,UAAU,CAA4C;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AEzC,MAAM,OAAO,GAAG,IAAI,yBAAyB,CAAC;YAC5C,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa;YACb,QAAQ;SACT,CAAC,CAAC;QAEH,OAAO,MAAM,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACvC,CAAC;CACF;AAED;;;GAGG;AACH,KAAK,UAAU,4BAA4B,CACzC,YAAgC;IAEhC,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,MAAM,4BAA4B,CAAC,YAAY,CAAC,CAAC;AAC1D,CAAC;AAED;;GAEG;AACH,SAAS,8BAA8B;IACrC,OAAO,WAAW,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,EAAgC,CAAC;AAC7F,CAAC"}
1
+ {"version":3,"file":"sim-cfn-template-deployer.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-deployer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,4BAA4B,GAE7B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,wBAAwB,GAEzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EACL,oBAAoB,GAErB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAStF,OAAO,EAAE,yBAAyB,EAAE,MAAM,iDAAiD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AC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACvD;AAED;;;GAGG;AACH,qBAAa,wBAAwB;IACnC;;;OAGG;IACG,IAAI,CACR,UAAU,EAAE,6CAA6C,GAAG,MAAM,GACjE,OAAO,CAAC,wBAAwB,CAAC,CA4BnC;CACF"}
1
+ {"version":3,"file":"sim-cfn-template-file-loader.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-loader.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAE7E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAE9F,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,sCAAsC,CAAC;AAG9C,MAAM,WAAW,6CAA6C;IAC5D,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,0BAA0B,GAAG,MAAM,GAAG,SAAS,CAAC;IACrE,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAE/D;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAE7D;;;;;;;;OAQG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,8BAA8B,GAAG,SAAS,CAAC;CACvE;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,SAAS,EAAE,0BAA0B,GAAG,MAAM,CAAC;IACxD,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,CAAC;IACzC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACvD;AAED;;;GAGG;AACH,qBAAa,wBAAwB;IACnC;;;OAGG;IACG,IAAI,CACR,UAAU,EAAE,6CAA6C,GAAG,MAAM,GACjE,OAAO,CAAC,wBAAwB,CAAC,CA0BnC;CACF"}
@@ -1,10 +1,10 @@
1
- import { readFile } from "node:fs/promises";
2
1
  import path from "node:path";
3
2
  import { jsonParse } from "../../../util/type-guard/json.js";
4
3
  import { loadSiblingCdkAssetsManifest, } from "../cdk/sim-cdk-out-context.js";
5
4
  import { simWatch } from "../../../watch/sim-watch-runtime.js";
6
5
  import { simCfnTemplateFileDeployment } from "./sim-cfn-template-file-deployment.js";
7
6
  import { transformedTemplate, } from "./sim-cfn-template-file-transform.js";
7
+ import { readTemplateFile } from "./sim-cfn-template-file-read.js";
8
8
  /**
9
9
  * Loads a synthesized CloudFormation template file and gathers adjacent CDK
10
10
  * context needed to deploy it.
@@ -22,9 +22,7 @@ export class SimCfnTemplateFileLoader {
22
22
  // stack restarts the process that deployed it. Nothing happens outside
23
23
  // watch mode.
24
24
  simWatch.reportPath(templatePath);
25
- // oxlint-disable-next-line security/detect-non-literal-fs-filename
26
- const templateBody = await readFile(templatePath, "utf8");
27
- const template = transformedTemplate(jsonParse(templateBody), deployment.transform);
25
+ const template = transformedTemplate(jsonParse(await readTemplateFile(templatePath)), deployment.transform);
28
26
  // Read from the path rather than the template, so what a transform did to
29
27
  // the body leaves the staged assets beside it where they were.
30
28
  const cdkOutContext = await loadSiblingCdkAssetsManifest(templatePath);
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-template-file-loader.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,OAAO,EAAE,SAAS,EAAmB,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EACL,4BAA4B,GAE7B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EACL,mBAAmB,GAEpB,MAAM,sCAAsC,CAAC;AA8C9C;;;GAGG;AACH,MAAM,OAAO,wBAAwB;IACnC;;;OAGG;IACH,KAAK,CAAC,IAAI,CACR,UAAkE;QAElE,MAAM,UAAU,GAAG,4BAA4B,CAAC,UAAU,CAAC,CAAC;QAC5D,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;QAC1D,MAAM,SAAS,GACb,UAAU,CAAC,SAAS,IAAI,yBAAyB,CAAC,YAAY,CAAC,CAAC;QAElE,wEAAwE;QACxE,uEAAuE;QACvE,cAAc;QACd,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;QAElC,mEAAmE;QACnE,MAAM,YAAY,GAAG,MAAM,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;QAC1D,MAAM,QAAQ,GAAG,mBAAmB,CAClC,SAAS,CAAC,YAAiD,CAAC,EAC5D,UAAU,CAAC,SAAS,CACrB,CAAC;QACF,0EAA0E;QAC1E,+DAA+D;QAC/D,MAAM,aAAa,GAAG,MAAM,4BAA4B,CAAC,YAAY,CAAC,CAAC;QAEvE,OAAO;YACL,SAAS;YACT,QAAQ;YACR,UAAU;YACV,QAAQ;YACR,aAAa;SACd,CAAC;IACJ,CAAC;CACF;AAED,SAAS,yBAAyB,CAChC,YAAoB;IAEpB,OAAO,IAAI;SACR,QAAQ,CAAC,YAAY,CAAC;SACtB,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAA+B,CAAC;AACrE,CAAC"}
1
+ {"version":3,"file":"sim-cfn-template-file-loader.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-loader.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EACL,4BAA4B,GAE7B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EACL,mBAAmB,GAEpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AA8CnE;;;GAGG;AACH,MAAM,OAAO,wBAAwB;IACnC;;;OAGG;IACH,KAAK,CAAC,IAAI,CACR,UAAkE;QAElE,MAAM,UAAU,GAAG,4BAA4B,CAAC,UAAU,CAAC,CAAC;QAC5D,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;QAC1D,MAAM,SAAS,GACb,UAAU,CAAC,SAAS,IAAI,yBAAyB,CAAC,YAAY,CAAC,CAAC;QAElE,wEAAwE;QACxE,uEAAuE;QACvE,cAAc;QACd,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;QAElC,MAAM,QAAQ,GAAG,mBAAmB,CAClC,SAAS,CAAC,MAAM,gBAAgB,CAAC,YAAY,CAAC,CAAC,EAC/C,UAAU,CAAC,SAAS,CACrB,CAAC;QACF,0EAA0E;QAC1E,+DAA+D;QAC/D,MAAM,aAAa,GAAG,MAAM,4BAA4B,CAAC,YAAY,CAAC,CAAC;QAEvE,OAAO;YACL,SAAS;YACT,QAAQ;YACR,UAAU;YACV,QAAQ;YACR,aAAa;SACd,CAAC;IACJ,CAAC;CACF;AAED,SAAS,yBAAyB,CAChC,YAAoB;IAEpB,OAAO,IAAI;SACR,QAAQ,CAAC,YAAY,CAAC;SACtB,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAA+B,CAAC;AACrE,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { JSONString } from "../../../util/type-guard/json.js";
2
+ import type { CfnTemplateBodyRecord } from "../template/sim-cfn-template.js";
3
+ /**
4
+ * Read the synthesized template file a deployment names.
5
+ *
6
+ * A path with no file at it is refused by naming the resolved path and what
7
+ * was expected there. A template under `cdk.out` is build output that a fresh
8
+ * checkout has yet to write, and the filesystem error for it says only that
9
+ * the path failed to open, which is what leaves callers writing their own
10
+ * guard in front of the deployment.
11
+ */
12
+ export declare function readTemplateFile(templatePath: string): Promise<JSONString<CfnTemplateBodyRecord>>;
13
+ //# sourceMappingURL=sim-cfn-template-file-read.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-template-file-read.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-read.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E;;;;;;;;GAQG;AACH,wBAAsB,gBAAgB,CACpC,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAiB5C"}
@@ -0,0 +1,29 @@
1
+ import { readFile } from "node:fs/promises";
2
+ import path from "node:path";
3
+ /**
4
+ * Read the synthesized template file a deployment names.
5
+ *
6
+ * A path with no file at it is refused by naming the resolved path and what
7
+ * was expected there. A template under `cdk.out` is build output that a fresh
8
+ * checkout has yet to write, and the filesystem error for it says only that
9
+ * the path failed to open, which is what leaves callers writing their own
10
+ * guard in front of the deployment.
11
+ */
12
+ export async function readTemplateFile(templatePath) {
13
+ try {
14
+ // oxlint-disable-next-line security/detect-non-literal-fs-filename
15
+ const templateBody = await readFile(templatePath, "utf8");
16
+ return templateBody;
17
+ }
18
+ catch (error) {
19
+ if (isMissingPathError(error)) {
20
+ throw new Error(`No Sim CloudFormation template file at ${path.resolve(templatePath)}`, { cause: error });
21
+ }
22
+ /* v8 ignore next */
23
+ throw error;
24
+ }
25
+ }
26
+ function isMissingPathError(error) {
27
+ return error instanceof Error && "code" in error && error.code === "ENOENT";
28
+ }
29
+ //# sourceMappingURL=sim-cfn-template-file-read.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-template-file-read.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,IAAI,MAAM,WAAW,CAAC;AAI7B;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,YAAoB;IAEpB,IAAI,CAAC;QACH,mEAAmE;QACnE,MAAM,YAAY,GAAG,MAAM,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;QAE1D,OAAO,YAAiD,CAAC;IAC3D,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,kBAAkB,CAAC,KAAK,CAAC,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CACb,0CAA0C,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,EACtE,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;QACJ,CAAC;QAED,oBAAoB;QACpB,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAc;IACxC,OAAO,KAAK,YAAY,KAAK,IAAI,MAAM,IAAI,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,CAAC;AAC9E,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { SimCfnStack, SimCloudFormationStackName } from "../stack/sim-cfn-stack.js";
2
2
  import { type SimCloudFormationDeployTemplateFileProperties } from "./sim-cfn-template-file-loader.js";
3
+ import type { SimAws } from "../../aws/sim-aws.js";
3
4
  import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
4
5
  import type { BackgroundCompleter, BackgroundScheduler } from "../../../util/background/background.js";
5
6
  /**
@@ -13,6 +14,7 @@ export interface SimCfnTemplateFileUpdating {
13
14
  update(properties: SimCloudFormationDeployTemplateFileProperties): Promise<SimCfnStack>;
14
15
  }
15
16
  interface SimCfnTemplateFileUpdaterProperties {
17
+ readonly simAws: SimAws;
16
18
  readonly accountRegionScope: SimAwsAccountRegionScope;
17
19
  readonly stacks: Map<SimCloudFormationStackName, SimCfnStack>;
18
20
  readonly background: BackgroundScheduler & BackgroundCompleter;
@@ -30,6 +32,7 @@ interface SimCfnTemplateFileUpdaterProperties {
30
32
  * re-synthesis rewrites beside the template.
31
33
  */
32
34
  export declare class SimCfnTemplateFileUpdater implements SimCfnTemplateFileUpdating {
35
+ private readonly simAws;
33
36
  private readonly accountRegionScope;
34
37
  private readonly stacks;
35
38
  private readonly background;
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-template-file-updater.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-updater.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EAEL,KAAK,6CAA6C,EACnD,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAGhD;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC,MAAM,CACJ,UAAU,EAAE,6CAA6C,GACxD,OAAO,CAAC,WAAW,CAAC,CAAC;CACzB;AAED,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,0BAA0B,EAAE,WAAW,CAAC,CAAC;IAC9D,QAAQ,CAAC,UAAU,EAAE,mBAAmB,GAAG,mBAAmB,CAAC;CAChE;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,yBAA0B,YAAW,0BAA0B;IAC1E,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+C;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4C;IACvE,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAkC;IAErE,YAAY,UAAU,EAAE,mCAAmC,EAI1D;IAED;;;;;;;OAOG;IACG,MAAM,CACV,UAAU,EAAE,6CAA6C,GACxD,OAAO,CAAC,WAAW,CAAC,CA8BtB;CACF"}
1
+ {"version":3,"file":"sim-cfn-template-file-updater.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-file-updater.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EAEL,KAAK,6CAA6C,EACnD,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAGhD;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC,MAAM,CACJ,UAAU,EAAE,6CAA6C,GACxD,OAAO,CAAC,WAAW,CAAC,CAAC;CACzB;AAED,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,0BAA0B,EAAE,WAAW,CAAC,CAAC;IAC9D,QAAQ,CAAC,UAAU,EAAE,mBAAmB,GAAG,mBAAmB,CAAC;CAChE;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,yBAA0B,YAAW,0BAA0B;IAC1E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+C;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4C;IACvE,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAkC;IAErE,YAAY,UAAU,EAAE,mCAAmC,EAK1D;IAED;;;;;;;OAOG;IACG,MAAM,CACV,UAAU,EAAE,6CAA6C,GACxD,OAAO,CAAC,WAAW,CAAC,CA+BtB;CACF"}
@@ -15,11 +15,13 @@ import { UpdateStackCommandHandler } from "../command/update-stack/update-stack.
15
15
  * re-synthesis rewrites beside the template.
16
16
  */
17
17
  export class SimCfnTemplateFileUpdater {
18
+ simAws;
18
19
  accountRegionScope;
19
20
  stacks;
20
21
  background;
21
22
  templateFileLoader = new SimCfnTemplateFileLoader();
22
23
  constructor(properties) {
24
+ this.simAws = properties.simAws;
23
25
  this.accountRegionScope = properties.accountRegionScope;
24
26
  this.stacks = properties.stacks;
25
27
  this.background = properties.background;
@@ -35,6 +37,7 @@ export class SimCfnTemplateFileUpdater {
35
37
  async update(properties) {
36
38
  const loaded = await this.templateFileLoader.load(properties);
37
39
  const handler = new UpdateStackCommandHandler({
40
+ simAws: this.simAws,
38
41
  accountRegionScope: this.accountRegionScope,
39
42
  stacks: this.stacks,
40
43
  background: this.background,