@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
@@ -0,0 +1,108 @@
1
+ import { queryList, queryMembers, } from "../../../serve/http/api/query/sim-query-result.js";
2
+ import { iamQueryEntity } from "./sim-iam-query-entity.js";
3
+ import { iamQueryListingInput, iamQueryListingResult, } from "./sim-iam-query-listing.js";
4
+ /**
5
+ * The members IAM describes one Role with.
6
+ */
7
+ const roleMembers = [
8
+ "Path",
9
+ "RoleName",
10
+ "RoleId",
11
+ "Arn",
12
+ "CreateDate",
13
+ "AssumeRolePolicyDocument",
14
+ "Description",
15
+ ];
16
+ /**
17
+ * The Role operations simulated IAM serves over the Query protocol.
18
+ *
19
+ * The policy operations that name a Role are here rather than with the managed
20
+ * policies, because an inline policy belongs to the Role it is written on and
21
+ * has no life of its own.
22
+ */
23
+ export function simIamQueryRoleOperations() {
24
+ return new Map([
25
+ [
26
+ "CreateRole",
27
+ {
28
+ input: (fields) => ({
29
+ RoleName: fields.text("RoleName"),
30
+ Path: fields.text("Path"),
31
+ AssumeRolePolicyDocument: fields.text("AssumeRolePolicyDocument"),
32
+ Description: fields.text("Description"),
33
+ }),
34
+ result: (output) => iamQueryEntity(output, "Role", roleMembers),
35
+ },
36
+ ],
37
+ [
38
+ "GetRole",
39
+ {
40
+ input: (fields) => ({
41
+ RoleName: fields.text("RoleName"),
42
+ }),
43
+ result: (output) => iamQueryEntity(output, "Role", roleMembers),
44
+ },
45
+ ],
46
+ [
47
+ "ListRoles",
48
+ {
49
+ input: (fields) => ({
50
+ ...iamQueryListingInput(fields),
51
+ PathPrefix: fields.text("PathPrefix"),
52
+ }),
53
+ result: (output) => queryList(output, "Roles", (role) => queryMembers(role, roleMembers)) + iamQueryListingResult(output),
54
+ },
55
+ ],
56
+ [
57
+ "DeleteRole",
58
+ {
59
+ input: (fields) => ({
60
+ RoleName: fields.text("RoleName"),
61
+ }),
62
+ result: () => "",
63
+ },
64
+ ],
65
+ [
66
+ "AttachRolePolicy",
67
+ {
68
+ input: (fields) => ({
69
+ RoleName: fields.text("RoleName"),
70
+ PolicyArn: fields.text("PolicyArn"),
71
+ }),
72
+ result: () => "",
73
+ },
74
+ ],
75
+ [
76
+ "DetachRolePolicy",
77
+ {
78
+ input: (fields) => ({
79
+ RoleName: fields.text("RoleName"),
80
+ PolicyArn: fields.text("PolicyArn"),
81
+ }),
82
+ result: () => "",
83
+ },
84
+ ],
85
+ [
86
+ "PutRolePolicy",
87
+ {
88
+ input: (fields) => ({
89
+ RoleName: fields.text("RoleName"),
90
+ PolicyName: fields.text("PolicyName"),
91
+ PolicyDocument: fields.text("PolicyDocument"),
92
+ }),
93
+ result: () => "",
94
+ },
95
+ ],
96
+ [
97
+ "DeleteRolePolicy",
98
+ {
99
+ input: (fields) => ({
100
+ RoleName: fields.text("RoleName"),
101
+ PolicyName: fields.text("PolicyName"),
102
+ }),
103
+ result: () => "",
104
+ },
105
+ ],
106
+ ]);
107
+ }
108
+ //# sourceMappingURL=sim-iam-query-role-operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-iam-query-role-operations.js","sourceRoot":"","sources":["../../../../src/service/iam/serve/sim-iam-query-role-operations.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,YAAY,GACb,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,MAAM;IACN,UAAU;IACV,QAAQ;IACR,KAAK;IACL,YAAY;IACZ,0BAA0B;IAC1B,aAAa;CACd,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,UAAU,yBAAyB;IACvC,OAAO,IAAI,GAAG,CAAC;QACb;YACE,YAAY;YACZ;gBACE,KAAK,EAAE,CAAC,MAAM,EAA2B,EAAE,CAAC,CAAC;oBAC3C,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;oBACjC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;oBACzB,wBAAwB,EAAE,MAAM,CAAC,IAAI,CAAC,0BAA0B,CAAC;oBACjE,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC;iBACxC,CAAC;gBACF,MAAM,EAAE,CAAC,MAAM,EAAU,EAAE,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;aACxE;SACF;QACD;YACE,SAAS;YACT;gBACE,KAAK,EAAE,CAAC,MAAM,EAA2B,EAAE,CAAC,CAAC;oBAC3C,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;iBAClC,CAAC;gBACF,MAAM,EAAE,CAAC,MAAM,EAAU,EAAE,CAAC,cAAc,CAAC,MAAM,EA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,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;oBACjC,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC;oBACrC,cAAc,EAAE,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC;iBAC9C,CAAC;gBACF,MAAM,EAAE,GAAW,EAAE,CAAC,EAAE;aACzB;SACF;QACD;YACE,kBAAkB;YAClB;gBACE,KAAK,EAAE,CAAC,MAAM,EAA2B,EAAE,CAAC,CAAC;oBAC3C,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;oBACjC,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC;iBACtC,CAAC;gBACF,MAAM,EAAE,GAAW,EAAE,CAAC,EAAE;aACzB;SACF;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { SimQueryOperations } from "../../../serve/http/api/query/sim-query-operation.js";
2
+ /**
3
+ * The User operations simulated IAM serves over the Query protocol.
4
+ *
5
+ * This is the pair that makes an endpoint usable from outside the process that
6
+ * built the simulation: a shell script or a container creates a User, gives it
7
+ * a policy and asks for an access key, and then signs its own requests with
8
+ * what it was answered.
9
+ */
10
+ export declare function simIamQueryUserOperations(): SimQueryOperations;
11
+ //# sourceMappingURL=sim-iam-query-user-operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-iam-query-user-operations.d.ts","sourceRoot":"","sources":["../../../../src/service/iam/serve/sim-iam-query-user-operations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAuB/F;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,IAAI,kBAAkB,CAkC9D"}
@@ -0,0 +1,62 @@
1
+ import { iamQueryEntity } from "./sim-iam-query-entity.js";
2
+ /**
3
+ * The members IAM describes one User with.
4
+ */
5
+ const userMembers = ["Path", "UserName", "UserId", "Arn", "CreateDate"];
6
+ /**
7
+ * The members IAM describes one access key with.
8
+ *
9
+ * `SecretAccessKey` is among them because this is the one response that
10
+ * carries it. Real IAM answers a created key with its secret and never
11
+ * reports it again, and a caller that did not keep it has to make another.
12
+ */
13
+ const accessKeyMembers = [
14
+ "UserName",
15
+ "AccessKeyId",
16
+ "Status",
17
+ "SecretAccessKey",
18
+ "CreateDate",
19
+ ];
20
+ /**
21
+ * The User operations simulated IAM serves over the Query protocol.
22
+ *
23
+ * This is the pair that makes an endpoint usable from outside the process that
24
+ * built the simulation: a shell script or a container creates a User, gives it
25
+ * a policy and asks for an access key, and then signs its own requests with
26
+ * what it was answered.
27
+ */
28
+ export function simIamQueryUserOperations() {
29
+ return new Map([
30
+ [
31
+ "CreateUser",
32
+ {
33
+ input: (fields) => ({
34
+ UserName: fields.text("UserName"),
35
+ Path: fields.text("Path"),
36
+ }),
37
+ result: (output) => iamQueryEntity(output, "User", userMembers),
38
+ },
39
+ ],
40
+ [
41
+ "CreateAccessKey",
42
+ {
43
+ input: (fields) => ({
44
+ UserName: fields.text("UserName"),
45
+ }),
46
+ result: (output) => iamQueryEntity(output, "AccessKey", accessKeyMembers),
47
+ },
48
+ ],
49
+ [
50
+ "PutUserPolicy",
51
+ {
52
+ input: (fields) => ({
53
+ UserName: fields.text("UserName"),
54
+ PolicyName: fields.text("PolicyName"),
55
+ PolicyDocument: fields.text("PolicyDocument"),
56
+ }),
57
+ result: () => "",
58
+ },
59
+ ],
60
+ ]);
61
+ }
62
+ //# sourceMappingURL=sim-iam-query-user-operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-iam-query-user-operations.js","sourceRoot":"","sources":["../../../../src/service/iam/serve/sim-iam-query-user-operations.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC;AAExE;;;;;;GAMG;AACH,MAAM,gBAAgB,GAAG;IACvB,UAAU;IACV,aAAa;IACb,QAAQ;IACR,iBAAiB;IACjB,YAAY;CACb,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,UAAU,yBAAyB;IACvC,OAAO,IAAI,GAAG,CAAC;QACb;YACE,YAAY;YACZ;gBACE,KAAK,EAAE,CAAC,MAAM,EAA2B,EAAE,CAAC,CAAC;oBAC3C,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;oBACjC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;iBAC1B,CAAC;gBACF,MAAM,EAAE,CAAC,MAAM,EAAU,EAAE,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;aACxE;SACF;QACD;YACE,iBAAiB;YACjB;gBACE,KAAK,EAAE,CAAC,MAAM,EAA2B,EAAE,CAAC,CAAC;oBAC3C,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;iBAClC,CAAC;gBACF,MAAM,EAAE,CAAC,MAAM,EAAU,EAAE,CACzB,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE,gBAAgB,CAAC;aACxD;SACF;QACD;YACE,eAAe;YACf;gBACE,KAAK,EAAE,CAAC,MAAM,EAA2B,EAAE,CAAC,CAAC;oBAC3C,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;oBACjC,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC;oBACrC,cAAc,EAAE,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC;iBAC9C,CAAC;gBACF,MAAM,EAAE,GAAW,EAAE,CAAC,EAAE;aACzB;SACF;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -2,6 +2,7 @@ import type { SimArn } from "../aws/arn.js";
2
2
  import type { SimAwsAccountId } from "../aws/sim-aws-account.js";
3
3
  import type { SimIamManagedPolicy } from "./policy/sim-iam-policy.js";
4
4
  import type { SimIamRole, SimIamRoleName } from "./role/sim-iam-role.js";
5
+ import type { SimIamUser, SimIamUsername } from "./user/sim-iam-user.js";
5
6
  import type { SimIamAuthorizationInput } from "./authorize/context/sim-iam-auth-z-context-builder.js";
6
7
  import type { SimIamPolicyDecision } from "./authorize/sim-iam-decision.js";
7
8
  import type * as simIamCommands from "./command/sim-iam-command.types.js";
@@ -38,6 +39,15 @@ export declare class SimIam implements SimIamInterServiceAuthZ, SimIamAccountIde
38
39
  readonly credentials: SimIamCredentialRegistry;
39
40
  readonly policies: Map<SimArn, SimIamManagedPolicy>;
40
41
  readonly roles: Map<SimIamRoleName, SimIamRole>;
42
+ /**
43
+ * The Users this Account holds, by name.
44
+ *
45
+ * Exposed for the simulated services that report on a principal rather than
46
+ * authorize one, such as STS answering GetCallerIdentity with a User's own
47
+ * id.
48
+ * @internal
49
+ */
50
+ readonly users: Map<SimIamUsername, SimIamUser>;
41
51
  private readonly cfnFactory;
42
52
  private readonly commands;
43
53
  private readonly accountAuthZ;
@@ -1 +1 @@
1
- {"version":3,"file":"sim-iam.d.ts","sourceRoot":"","sources":["../../../src/service/iam/sim-iam.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACtG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,KAAK,KAAK,cAAc,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAEjF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MA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BAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,yBAAyB,CAAC,CAEnD;IAED;;OAEG;IACG,UAAU,CACd,OAAO,EAAE,cAAc,CAAC,oBAAoB,EAC5C,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,0BAA0B,CAAC,CAEpD;IAED;;OAEG;IACG,eAAe,CACnB,OAAO,EAAE,cAAc,CAAC,yBAAyB,EACjD,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,+BAA+B,CAAC,CAEzD;IAED;;OAEG;IACH,kBAAkB,IAAI,4BAA4B,CAEjD;IAED;;OAEG;IACH,gBAAgB,IAAI,mBAAmB,CAEtC;CACF"}
@@ -24,6 +24,15 @@ export class SimIam {
24
24
  credentials;
25
25
  policies;
26
26
  roles;
27
+ /**
28
+ * The Users this Account holds, by name.
29
+ *
30
+ * Exposed for the simulated services that report on a principal rather than
31
+ * authorize one, such as STS answering GetCallerIdentity with a User's own
32
+ * id.
33
+ * @internal
34
+ */
35
+ users;
27
36
  cfnFactory;
28
37
  commands;
29
38
  accountAuthZ;
@@ -33,6 +42,7 @@ export class SimIam {
33
42
  this.accountId = parts.accountId;
34
43
  this.policies = parts.policies;
35
44
  this.roles = parts.roles;
45
+ this.users = parts.users;
36
46
  this.credentials = parts.credentials;
37
47
  this.sessionManager = parts.sessionManager;
38
48
  this.accountAuthZ = parts.accountAuthZ;
@@ -1 +1 @@
1
- {"version":3,"file":"sim-iam.js","sourceRoot":"","sources":["../../../src/service/iam/sim-iam.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAM5F,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAM7E,OAAO,EACL,kBAAkB,GAEnB,MAAM,4BAA4B,CAAC;AAEpC;;;;;;;GAOG;AACH,MAAM,OAAO,MAAM;IAGjB;;;;;OAKG;IACa,SAAS,CAAkB;IAE3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8B;QAE9B,OAAO,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,CACd,OAA4C,EAC5C,OAA8B;QAE9B,OAAO,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,eAAe,CACnB,OAAiD,EACjD,OAA8B;QAE9B,OAAO,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;CACF"}
@@ -0,0 +1,9 @@
1
+ import type { SimRestJsonRoute } from "../../../../serve/http/api/rest-json/sim-rest-json-route.type.js";
2
+ /**
3
+ * The event source mapping operations this endpoint serves.
4
+ *
5
+ * Creating and listing answer at the collection, and reading and deleting at
6
+ * one mapping's own UUID.
7
+ */
8
+ export declare const simLambdaEventSourceApiRoutes: readonly SimRestJsonRoute[];
9
+ //# sourceMappingURL=sim-lambda-api-event-source-routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-api-event-source-routes.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-event-source-routes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kEAAkE,CAAC;AAEzG;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,EAAE,SAAS,gBAAgB,EA8BpE,CAAC"}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * The event source mapping operations this endpoint serves.
3
+ *
4
+ * Creating and listing answer at the collection, and reading and deleting at
5
+ * one mapping's own UUID.
6
+ */
7
+ export const simLambdaEventSourceApiRoutes = [
8
+ {
9
+ method: "POST",
10
+ path: "/2015-03-31/event-source-mappings",
11
+ commandName: "CreateEventSourceMappingCommand",
12
+ status: 202,
13
+ input: createEventSourceMappingInput,
14
+ },
15
+ {
16
+ method: "GET",
17
+ path: "/2015-03-31/event-source-mappings",
18
+ commandName: "ListEventSourceMappingsCommand",
19
+ input: (input) => ({
20
+ EventSourceArn: input.query("EventSourceArn"),
21
+ FunctionName: input.query("FunctionName"),
22
+ }),
23
+ },
24
+ {
25
+ method: "GET",
26
+ path: "/2015-03-31/event-source-mappings/{UUID}",
27
+ commandName: "GetEventSourceMappingCommand",
28
+ input: (input) => ({ UUID: input.label("UUID") }),
29
+ },
30
+ {
31
+ method: "DELETE",
32
+ path: "/2015-03-31/event-source-mappings/{UUID}",
33
+ commandName: "DeleteEventSourceMappingCommand",
34
+ status: 202,
35
+ input: (input) => ({ UUID: input.label("UUID") }),
36
+ },
37
+ ];
38
+ /**
39
+ * Read a mapping to create, whose members are all in the body.
40
+ *
41
+ * Everything the request stated is passed on, including the members this
42
+ * simulation refuses, so a mapping asking for behaviour it does not have is
43
+ * refused here as it is in process rather than created without it.
44
+ *
45
+ * `StartingPositionTimestamp` is the one member that has to be turned back
46
+ * into what the simulation expects: JSON carries a timestamp as epoch seconds,
47
+ * and a starting position is compared against dates.
48
+ */
49
+ function createEventSourceMappingInput(input) {
50
+ const members = input.json();
51
+ const startingPosition = members["StartingPositionTimestamp"];
52
+ return typeof startingPosition === "number"
53
+ ? {
54
+ ...members,
55
+ StartingPositionTimestamp: new Date(startingPosition * 1000),
56
+ }
57
+ : { ...members };
58
+ }
59
+ //# sourceMappingURL=sim-lambda-api-event-source-routes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-api-event-source-routes.js","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-event-source-routes.ts"],"names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7D;QACH,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC;AACrB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { SimRestJsonRoute } from "../../../../serve/http/api/rest-json/sim-rest-json-route.type.js";
2
+ /**
3
+ * The function operations this endpoint serves.
4
+ */
5
+ export declare const simLambdaFunctionApiRoutes: readonly SimRestJsonRoute[];
6
+ //# sourceMappingURL=sim-lambda-api-function-routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-api-function-routes.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-function-routes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kEAAkE,CAAC;AAczG;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,SAAS,gBAAgB,EA2BjE,CAAC"}
@@ -0,0 +1,91 @@
1
+ import { isRecord } from "../../../../util/type-guard/record.js";
2
+ import { SimLambdaInvalidParameterValueException } from "../../error/sim-lambda.error.js";
3
+ import { simLambdaInvokeResponse } from "./sim-lambda-api-invoke-output.js";
4
+ /**
5
+ * The invocation types real Lambda accepts, which it names in a header rather
6
+ * than in the body.
7
+ */
8
+ const invocationTypes = [
9
+ "RequestResponse",
10
+ "Event",
11
+ "DryRun",
12
+ ];
13
+ /**
14
+ * The function operations this endpoint serves.
15
+ */
16
+ export const simLambdaFunctionApiRoutes = [
17
+ {
18
+ method: "POST",
19
+ path: "/2015-03-31/functions",
20
+ commandName: "CreateFunctionCommand",
21
+ status: 201,
22
+ input: createFunctionInput,
23
+ },
24
+ {
25
+ method: "GET",
26
+ path: "/2015-03-31/functions/{FunctionName}",
27
+ commandName: "GetFunctionCommand",
28
+ input: (input) => ({ FunctionName: input.label("FunctionName") }),
29
+ },
30
+ {
31
+ method: "DELETE",
32
+ path: "/2015-03-31/functions/{FunctionName}",
33
+ commandName: "DeleteFunctionCommand",
34
+ input: (input) => ({ FunctionName: input.label("FunctionName") }),
35
+ },
36
+ {
37
+ method: "POST",
38
+ path: "/2015-03-31/functions/{FunctionName}/invocations",
39
+ commandName: "InvokeCommand",
40
+ input: invokeInput,
41
+ output: simLambdaInvokeResponse,
42
+ },
43
+ ];
44
+ /**
45
+ * Read a CreateFunction request, whose members are all in the body.
46
+ *
47
+ * The one member JSON cannot carry as it is is the code, which travels base64
48
+ * encoded and reaches the simulation as the bytes of a zip.
49
+ */
50
+ function createFunctionInput(input) {
51
+ const members = input.json();
52
+ const code = members["Code"];
53
+ return isRecord(code)
54
+ ? { ...members, Code: functionCode(code) }
55
+ : { ...members };
56
+ }
57
+ function functionCode(code) {
58
+ const zipFile = code["ZipFile"];
59
+ return typeof zipFile === "string"
60
+ ? { ...code, ZipFile: Buffer.from(zipFile, "base64") }
61
+ : code;
62
+ }
63
+ /**
64
+ * Read an Invoke request, which states its members in three different places.
65
+ *
66
+ * The body is the payload itself rather than a JSON object holding it, so it
67
+ * is passed on as the bytes that arrived. That is what lets `aws lambda
68
+ * invoke --payload` send a document the handler receives unchanged.
69
+ */
70
+ function invokeInput(input) {
71
+ return {
72
+ FunctionName: input.label("FunctionName"),
73
+ InvocationType: invocationType(input.header("x-amz-invocation-type")),
74
+ Qualifier: input.query("Qualifier"),
75
+ Payload: input.body,
76
+ };
77
+ }
78
+ /**
79
+ * Check the invocation type a request asked for.
80
+ *
81
+ * An unrecognised one is refused the way real Lambda refuses it, rather than
82
+ * passed on to a dispatcher that has nothing to do with it.
83
+ */
84
+ function invocationType(value) {
85
+ if (value !== undefined && !invocationTypes.includes(value)) {
86
+ throw new SimLambdaInvalidParameterValueException(`Unrecognized invocation type ${value}. Valid invocation types are ` +
87
+ `${invocationTypes.join(", ")}.`);
88
+ }
89
+ return value;
90
+ }
91
+ //# sourceMappingURL=sim-lambda-api-function-routes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-api-function-routes.js","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-function-routes.ts"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AAE,GAAG,OAAO,EAAE,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE;QAC1C,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC;AACrB,CAAC;AAED,SAAS,YAAY,CAAC,IAA6B;IACjD,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;IAEhC,OAAO,OAAO,OAAO,KAAK,QAAQ;QAChC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE;QACtD,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED;;;;;;GAMG;AACH,SAAS,WAAW,CAAC,KAAuB;IAC1C,OAAO;QACL,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC;QACzC,cAAc,EAAE,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;QACrE,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC;QACnC,OAAO,EAAE,KAAK,CAAC,IAAI;KACpB,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,cAAc,CAAC,KAAyB;IAC/C,IAAI,KAAK,KAAK,SAAS,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QAC5D,MAAM,IAAI,uCAAuC,CAC/C,gCAAgC,KAAK,+BAA+B;YAClE,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CACnC,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { SimRestJsonOutput } from "../../../../serve/http/api/rest-json/sim-rest-json-route.type.js";
2
+ /**
3
+ * Write the response an Invoke answers with.
4
+ *
5
+ * Invoke is the one Lambda operation whose response is not its output as JSON.
6
+ * The body is the payload the function produced, and the output members are
7
+ * arranged around it: `StatusCode` is the HTTP status, and `FunctionError` and
8
+ * `ExecutedVersion` are headers. A handler that threw still answers `200` with
9
+ * a payload, and `X-Amz-Function-Error` is what tells a caller the difference.
10
+ */
11
+ export declare function simLambdaInvokeResponse(output: SimRestJsonOutput): Response;
12
+ //# sourceMappingURL=sim-lambda-api-invoke-output.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-api-invoke-output.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-invoke-output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kEAAkE,CAAC;AAE1G;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,iBAAiB,GAAG,QAAQ,CAe3E"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Write the response an Invoke answers with.
3
+ *
4
+ * Invoke is the one Lambda operation whose response is not its output as JSON.
5
+ * The body is the payload the function produced, and the output members are
6
+ * arranged around it: `StatusCode` is the HTTP status, and `FunctionError` and
7
+ * `ExecutedVersion` are headers. A handler that threw still answers `200` with
8
+ * a payload, and `X-Amz-Function-Error` is what tells a caller the difference.
9
+ */
10
+ export function simLambdaInvokeResponse(output) {
11
+ const status = output["StatusCode"];
12
+ const payload = output["Payload"];
13
+ return new Response(status !== 204 && payload instanceof Uint8Array ? payload : null, {
14
+ status: typeof status === "number" ? status : 200,
15
+ headers: {
16
+ "content-type": "application/json",
17
+ ...header("x-amz-function-error", output["FunctionError"]),
18
+ ...header("x-amz-executed-version", output["ExecutedVersion"]),
19
+ },
20
+ });
21
+ }
22
+ /**
23
+ * A header the output produced, left out when the output did not produce it.
24
+ */
25
+ function header(name, value) {
26
+ return typeof value === "string" ? { [name]: value } : {};
27
+ }
28
+ //# sourceMappingURL=sim-lambda-api-invoke-output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-api-invoke-output.js","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-invoke-output.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,MAAM,UAAU,uBAAuB,CAAC,MAAyB;IAC/D,MAAM,MAAM,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;IACpC,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;IAElC,OAAO,IAAI,QAAQ,CACjB,MAAM,KAAK,GAAG,IAAI,OAAO,YAAY,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAChE;QACE,MAAM,EAAE,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG;QACjD,OAAO,EAAE;YACP,cAAc,EAAE,kBAAkB;YAClC,GAAG,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,eAAe,CAAC,CAAC;YAC1D,GAAG,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC;SAC/D;KACF,CACF,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,MAAM,CAAC,IAAY,EAAE,KAAc;IAC1C,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;AAC5D,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { SimRestJsonRoute } from "../../../../serve/http/api/rest-json/sim-rest-json-route.type.js";
2
+ /**
3
+ * The resource policy operations this endpoint serves.
4
+ *
5
+ * A statement is added and read at the function's `/policy`, and removed at
6
+ * that path with the statement id appended, so the removal is the one of the
7
+ * three that reads a second label out of the path.
8
+ */
9
+ export declare const simLambdaPermissionApiRoutes: readonly SimRestJsonRoute[];
10
+ //# sourceMappingURL=sim-lambda-api-permission-routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-api-permission-routes.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-permission-routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kEAAkE,CAAC;AAEzG;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,EAAE,SAAS,gBAAgB,EA2BnE,CAAC"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * The resource policy operations this endpoint serves.
3
+ *
4
+ * A statement is added and read at the function's `/policy`, and removed at
5
+ * that path with the statement id appended, so the removal is the one of the
6
+ * three that reads a second label out of the path.
7
+ */
8
+ export const simLambdaPermissionApiRoutes = [
9
+ {
10
+ method: "POST",
11
+ path: "/2015-03-31/functions/{FunctionName}/policy",
12
+ commandName: "AddPermissionCommand",
13
+ status: 201,
14
+ input: (input) => ({
15
+ ...input.json(),
16
+ FunctionName: input.label("FunctionName"),
17
+ }),
18
+ },
19
+ {
20
+ method: "GET",
21
+ path: "/2015-03-31/functions/{FunctionName}/policy",
22
+ commandName: "GetPolicyCommand",
23
+ input: (input) => ({ FunctionName: input.label("FunctionName") }),
24
+ },
25
+ {
26
+ method: "DELETE",
27
+ path: "/2015-03-31/functions/{FunctionName}/policy/{StatementId}",
28
+ commandName: "RemovePermissionCommand",
29
+ status: 204,
30
+ input: (input) => ({
31
+ FunctionName: input.label("FunctionName"),
32
+ StatementId: input.label("StatementId"),
33
+ }),
34
+ },
35
+ ];
36
+ //# sourceMappingURL=sim-lambda-api-permission-routes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-api-permission-routes.js","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-permission-routes.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAgC;IACvE;QACE,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,6CAA6C;QACnD,WAAW,EAAE,sBAAsB;QACnC,MAAM,EAAE,GAAG;QACX,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YACjB,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC;SAC1C,CAAC;KACH;IACD;QACE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,6CAA6C;QACnD,WAAW,EAAE,kBAAkB;QAC/B,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE,CAAC;KAClE;IACD;QACE,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,2DAA2D;QACjE,WAAW,EAAE,yBAAyB;QACtC,MAAM,EAAE,GAAG;QACX,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YACjB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC;YACzC,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC;SACxC,CAAC;KACH;CACF,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { SimRestJsonRoute } from "../../../../serve/http/api/rest-json/sim-rest-json-route.type.js";
2
+ /**
3
+ * The Lambda operations reachable through the served AWS API endpoint, which
4
+ * are the sixteen simulated Lambda implements.
5
+ *
6
+ * No two of these share a method and a path, so the order they are listed in
7
+ * decides nothing. A path that is not one of these is refused rather than
8
+ * matched against the nearest of them.
9
+ */
10
+ export declare const simLambdaApiRoutes: readonly SimRestJsonRoute[];
11
+ //# sourceMappingURL=sim-lambda-api-routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-api-routes.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kEAAkE,CAAC;AAMzG;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAAS,gBAAgB,EAKzD,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { simLambdaEventSourceApiRoutes } from "./sim-lambda-api-event-source-routes.js";
2
+ import { simLambdaFunctionApiRoutes } from "./sim-lambda-api-function-routes.js";
3
+ import { simLambdaPermissionApiRoutes } from "./sim-lambda-api-permission-routes.js";
4
+ import { simLambdaUrlApiRoutes } from "./sim-lambda-api-url-routes.js";
5
+ /**
6
+ * The Lambda operations reachable through the served AWS API endpoint, which
7
+ * are the sixteen simulated Lambda implements.
8
+ *
9
+ * No two of these share a method and a path, so the order they are listed in
10
+ * decides nothing. A path that is not one of these is refused rather than
11
+ * matched against the nearest of them.
12
+ */
13
+ export const simLambdaApiRoutes = [
14
+ ...simLambdaFunctionApiRoutes,
15
+ ...simLambdaUrlApiRoutes,
16
+ ...simLambdaPermissionApiRoutes,
17
+ ...simLambdaEventSourceApiRoutes,
18
+ ];
19
+ //# sourceMappingURL=sim-lambda-api-routes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-api-routes.js","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAEvE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAgC;IAC7D,GAAG,0BAA0B;IAC7B,GAAG,qBAAqB;IACxB,GAAG,4BAA4B;IAC/B,GAAG,6BAA6B;CACjC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { SimRestJsonRoute } from "../../../../serve/http/api/rest-json/sim-rest-json-route.type.js";
2
+ /**
3
+ * The Function URL configuration operations this endpoint serves.
4
+ *
5
+ * These live under a later API version than the function operations do, which
6
+ * is how real Lambda dates the addition rather than anything a caller decides.
7
+ * A configuration is reached at `/url` and the listing at `/urls`, so the two
8
+ * are told apart by the last segment of the path.
9
+ */
10
+ export declare const simLambdaUrlApiRoutes: readonly SimRestJsonRoute[];
11
+ //# sourceMappingURL=sim-lambda-api-url-routes.d.ts.map