@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,95 @@
1
+ import { SimSsmParameterVersionNotFound } from "../../error/sim-ssm.error.js";
2
+ /** The characters CloudFormation documents a referenced parameter name as. */
3
+ const ssmReferenceName = /^[a-zA-Z0-9_.\-/]+$/;
4
+ /** The version selector, which CloudFormation documents as an integer. */
5
+ const ssmReferenceVersion = /^\d+$/;
6
+ /**
7
+ * Read a reference body as a parameter name and an optional version.
8
+ *
9
+ * A parameter name holds no colon, so the last one always opens the version.
10
+ */
11
+ function parseSsmReferenceBody(body) {
12
+ const colon = body.lastIndexOf(":");
13
+ if (colon === -1) {
14
+ return ssmReferenceName.test(body)
15
+ ? { name: body, version: undefined }
16
+ : undefined;
17
+ }
18
+ const name = body.slice(0, colon);
19
+ const version = body.slice(colon + 1);
20
+ if (!ssmReferenceName.test(name) || !ssmReferenceVersion.test(version)) {
21
+ return undefined;
22
+ }
23
+ return { name, version };
24
+ }
25
+ /**
26
+ * Answers `{{resolve:ssm:...}}` references from the simulated Parameter Store.
27
+ *
28
+ * A reference is read as the caller deploying the Stack would read it, at the
29
+ * point the Resource holding it is created. Real CloudFormation makes no
30
+ * dependency out of a dynamic reference, so a parameter another Resource of
31
+ * the same Stack creates is only there in time if the template says
32
+ * `DependsOn`.
33
+ *
34
+ * Anything Parameter Store cannot answer becomes a stand-in value carrying a
35
+ * reason. A template naming parameters a test never created still deploys, and
36
+ * the Resource records what it was given instead.
37
+ */
38
+ export class SimCfnSsmDynamicReferenceResolver {
39
+ ssm;
40
+ constructor(properties) {
41
+ this.ssm = properties.ssm;
42
+ }
43
+ /**
44
+ * Resolve one reference to the parameter value it names.
45
+ */
46
+ resolve(reference) {
47
+ const parsed = parseSsmReferenceBody(reference.body);
48
+ if (parsed === undefined) {
49
+ return this.standIn(reference, reference.body, `which is not the parameter name, optionally followed by an integer ` +
50
+ `version, that an ssm dynamic reference takes`);
51
+ }
52
+ const { name, version } = parsed;
53
+ const parameter = this.ssm.findParameter(name);
54
+ if (parameter === undefined) {
55
+ return this.standIn(reference, name, `and simulated Parameter Store holds no parameter '${name}'`);
56
+ }
57
+ if (parameter.type.value === "SecureString") {
58
+ return this.standIn(reference, name, `and '${name}' is a SecureString, which real CloudFormation reads ` +
59
+ `through an ssm-secure reference`);
60
+ }
61
+ return this.parameterValue(reference, parameter, name, version);
62
+ }
63
+ /**
64
+ * Read the version the reference selects, or the current one.
65
+ */
66
+ parameterValue(reference, parameter, name, version) {
67
+ if (version === undefined) {
68
+ return { value: parameter.currentVersion.value.value };
69
+ }
70
+ try {
71
+ return { value: parameter.versionNumbered(Number(version)).value.value };
72
+ }
73
+ catch (error) {
74
+ /* v8 ignore next 3 -- defensive: only a missing version reaches here */
75
+ if (!(error instanceof SimSsmParameterVersionNotFound)) {
76
+ throw error;
77
+ }
78
+ return this.standIn(reference, name, `and '${name}' has no version ${version}`);
79
+ }
80
+ }
81
+ /**
82
+ * The value a reference Parameter Store could not answer resolves to.
83
+ *
84
+ * The shape follows CDK, which fills an unresolved context lookup with
85
+ * `dummy-value-for-<name>`. A test reading one back sees where it came from.
86
+ */
87
+ standIn(reference, name, reason) {
88
+ return {
89
+ value: `dummy-value-for-${name}`,
90
+ reason: `holds ${reference.text}, ${reason}, so the Resource is created ` +
91
+ `with a stand-in value`,
92
+ };
93
+ }
94
+ }
95
+ //# sourceMappingURL=sim-cfn-ssm-dynamic-reference-resolver.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ssm-dynamic-reference-resolver.js","sourceRoot":"","sources":["../../../../../src/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAI9E,8EAA8E;AAC9E,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;AAE/C,0EAA0E;AAC1E,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAQpC;;;;GAIG;AACH,SAAS,qBAAqB,CAC5B,IAAY;IAEZ,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;QACjB,OAAO,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC;YAChC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE;YACpC,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;IAClC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;IAEtC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,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IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QACzD,CAAC;QAED,IAAI,CAAC;YACH,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QAC3E,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,wEAAwE;YACxE,IAAI,CAAC,CAAC,KAAK,YAAY,8BAA8B,CAAC,EAAE,CAAC;gBACvD,MAAM,KAAK,CAAC;YACd,CAAC;YAED,OAAO,IAAI,CAAC,OAAO,CACjB,SAAS,EACT,IAAI,EACJ,QAAQ,IAAI,oBAAoB,OAAO,EAAE,CAC1C,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACK,OAAO,CACb,SAAiC,EACjC,IAAY,EACZ,MAAc;QAEd,OAAO;YACL,KAAK,EAAE,mBAAmB,IAAI,EAAE;YAChC,MAAM,EACJ,SAAS,SAAS,CAAC,IAAI,KAAK,MAAM,+BAA+B;gBACjE,uBAAuB;SAC1B,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,36 @@
1
+ import type { SimCfnParameterStoreReader, SimCfnParameterStoreValue } from "../../../cloudformation/parameters/store/sim-cfn-parameter-store.type.js";
2
+ import type { SimSsm } from "../../sim-ssm.js";
3
+ interface SimCfnSsmParameterValueReaderProperties {
4
+ readonly ssm: SimSsm;
5
+ }
6
+ /**
7
+ * Answers an `AWS::SSM::Parameter::Value<...>` template Parameter from the
8
+ * simulated Parameter Store.
9
+ *
10
+ * The Parameter is given a parameter name and resolves to the current value
11
+ * held under it, as real CloudFormation resolves one while it reads the
12
+ * template's `Parameters` section. Nothing in the Stack has been created at
13
+ * that point, so a name another Resource of the same Stack goes on to create
14
+ * is a name this cannot answer.
15
+ *
16
+ * A name with nothing behind it becomes a stand-in value carrying a reason,
17
+ * which the Stack records. A template reading configuration a test never
18
+ * created still deploys everything else in it.
19
+ */
20
+ export declare class SimCfnSsmParameterValueReader implements SimCfnParameterStoreReader {
21
+ private readonly ssm;
22
+ constructor(properties: SimCfnSsmParameterValueReaderProperties);
23
+ /**
24
+ * Read the current value of one parameter.
25
+ */
26
+ read(name: string): SimCfnParameterStoreValue;
27
+ /**
28
+ * The value a name Parameter Store could not answer resolves to.
29
+ *
30
+ * The shape follows the one a dynamic reference stands in with, so a test
31
+ * reading either back sees where the value came from.
32
+ */
33
+ private standIn;
34
+ }
35
+ export {};
36
+ //# sourceMappingURL=sim-cfn-ssm-parameter-value-reader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ssm-parameter-value-reader.d.ts","sourceRoot":"","sources":["../../../../../src/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,0EAA0E,CAAC;AAClF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,6BAA8B,YAAW,0BAA0B;IAC9E,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAE7B,YAAY,UAAU,EAAE,uCAAuC,EAE9D;IAED;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,yBAAyB,CAmB5C;IAED;;;;;OAKG;IACH,OAAO,CAAC,OAAO;CAQhB"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Answers an `AWS::SSM::Parameter::Value<...>` template Parameter from the
3
+ * simulated Parameter Store.
4
+ *
5
+ * The Parameter is given a parameter name and resolves to the current value
6
+ * held under it, as real CloudFormation resolves one while it reads the
7
+ * template's `Parameters` section. Nothing in the Stack has been created at
8
+ * that point, so a name another Resource of the same Stack goes on to create
9
+ * is a name this cannot answer.
10
+ *
11
+ * A name with nothing behind it becomes a stand-in value carrying a reason,
12
+ * which the Stack records. A template reading configuration a test never
13
+ * created still deploys everything else in it.
14
+ */
15
+ export class SimCfnSsmParameterValueReader {
16
+ ssm;
17
+ constructor(properties) {
18
+ this.ssm = properties.ssm;
19
+ }
20
+ /**
21
+ * Read the current value of one parameter.
22
+ */
23
+ read(name) {
24
+ const parameter = this.ssm.findParameter(name);
25
+ if (parameter === undefined) {
26
+ return this.standIn(name, `which simulated Parameter Store holds no parameter of`);
27
+ }
28
+ if (parameter.type.value === "SecureString") {
29
+ return this.standIn(name, `which is a SecureString, a type real CloudFormation refuses to read ` +
30
+ `into a template Parameter`);
31
+ }
32
+ return { value: parameter.currentVersion.value.value };
33
+ }
34
+ /**
35
+ * The value a name Parameter Store could not answer resolves to.
36
+ *
37
+ * The shape follows the one a dynamic reference stands in with, so a test
38
+ * reading either back sees where the value came from.
39
+ */
40
+ standIn(name, reason) {
41
+ return {
42
+ value: `dummy-value-for-${name}`,
43
+ reason: `names the Parameter Store parameter '${name}', ${reason}, so the ` +
44
+ `Parameter resolves to a stand-in value`,
45
+ };
46
+ }
47
+ }
48
+ //# sourceMappingURL=sim-cfn-ssm-parameter-value-reader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ssm-parameter-value-reader.js","sourceRoot":"","sources":["../../../../../src/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,6BAA6B;IACvB,GAAG,CAAS;IAE7B,YAAY,UAAmD;QAC7D,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,IAAY;QACf,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAE/C,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,OAAO,IAAI,CAAC,OAAO,CACjB,IAAI,EACJ,uDAAuD,CACxD,CAAC;QACJ,CAAC;QAED,IAAI,SAAS,CAAC,IAAI,CAAC,KAAK,KAAK,cAAc,EAAE,CAAC;YAC5C,OAAO,IAAI,CAAC,OAAO,CACjB,IAAI,EACJ,sEAAsE;gBACpE,2BAA2B,CAC9B,CAAC;QACJ,CAAC;QAED,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACK,OAAO,CAAC,IAAY,EAAE,MAAc;QAC1C,OAAO;YACL,KAAK,EAAE,mBAAmB,IAAI,EAAE;YAChC,MAAM,EACJ,wCAAwC,IAAI,MAAM,MAAM,WAAW;gBACnE,wCAAwC;SAC3C,CAAC;IACJ,CAAC;CACF"}
@@ -5,6 +5,8 @@ import type { SimAwsAccountRegionScope } from "../aws/sim-aws-account-region-sco
5
5
  import { type SimIamInterServiceAuthZ } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
6
6
  import type * as simSsmCommands from "./command/sim-ssm-command.types.js";
7
7
  import { SimSsmCfnResourceFactory } from "./cfn/sim-cfn-ssm-resource-factory.js";
8
+ import { SimCfnSsmDynamicReferenceResolver } from "./cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js";
9
+ import { SimCfnSsmParameterValueReader } from "./cfn/parameter/sim-cfn-ssm-parameter-value-reader.js";
8
10
  import type { SimSsmParameter } from "./parameter/sim-ssm-parameter.js";
9
11
  import type { SimSsmKmsCrypto } from "./parameter/sim-ssm-kms-crypto.js";
10
12
  export interface SimSsmRequestOptions {
@@ -81,6 +83,14 @@ export declare class SimSsm {
81
83
  * Get the CloudFormation Resource factory for AWS::SSM::* Resources.
82
84
  */
83
85
  cfnResourceFactory(): SimSsmCfnResourceFactory;
86
+ /**
87
+ * Get the resolver for `{{resolve:ssm:...}}` dynamic references.
88
+ */
89
+ cfnDynamicReferenceResolver(): SimCfnSsmDynamicReferenceResolver;
90
+ /**
91
+ * Get the reader for `AWS::SSM::Parameter::Value<...>` template Parameters.
92
+ */
93
+ cfnParameterValueReader(): SimCfnSsmParameterValueReader;
84
94
  /**
85
95
  * Get this service's SDK Command router for SDK client interception.
86
96
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-ssm.d.ts","sourceRoot":"","sources":["../../../src/service/ssm/sim-ssm.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,kDAAkD,CAAC;AAQ1D,OAAO,KAAK,KAAK,cAAc,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAKzE,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED,UAAU,gBAAgB;IACxB,QAAQ,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;IACvD,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAE1C;;;;OAIG;IACH,QAAQ,CAAC,GAAG,CAAC,EAAE,eAAe,CAAC;CAChC;AAED;;;;;;;;;GASG;AACH,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ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AC,CAGvD;IAED;;OAEG;IACG,mBAAmB,CACvB,OAAO,EAAE,cAAc,CAAC,6BAA6B,EACrD,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,mCAAmC,CAAC,CAG7D;IAED;;OAEG;IACG,eAAe,CACnB,OAAO,EAAE,cAAc,CAAC,yBAAyB,EACjD,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,+BAA+B,CAAC,CAGzD;IAED;;OAEG;IACG,gBAAgB,CACpB,OAAO,EAAE,cAAc,CAAC,0BAA0B,EAClD,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,gCAAgC,CAAC,CAG1D;IAED;;OAEG;IACG,kBAAkB,CACtB,OAAO,EAAE,cAAc,CAAC,4BAA4B,EACpD,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,kCAAkC,CAAC,CAG5D;IAED;;OAEG;IACH,kBAAkB,IAAI,wBAAwB,CAE7C;IAED;;OAEG;IACH,2BAA2B,IAAI,iCAAiC,CAE/D;IAED;;OAEG;IACH,uBAAuB,IAAI,6BAA6B,CAEvD;IAED;;OAEG;IACH,gBAAgB,IAAI,mBAAmB,CAEtC;CACF"}
@@ -9,6 +9,8 @@ import { SimSsmGetParameterCommands } from "./command/parameter/sim-ssm-get-para
9
9
  import { SimSsmGetParametersByPath } from "./command/parameter/sim-ssm-get-parameters-by-path.js";
10
10
  import { SimSsmPutParameter } from "./command/parameter/sim-ssm-put-parameter.js";
11
11
  import { SimSsmCfnResourceFactory } from "./cfn/sim-cfn-ssm-resource-factory.js";
12
+ import { SimCfnSsmDynamicReferenceResolver } from "./cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js";
13
+ import { SimCfnSsmParameterValueReader } from "./cfn/parameter/sim-cfn-ssm-parameter-value-reader.js";
12
14
  import { SimSsmParameterEncryption } from "./parameter/sim-ssm-parameter-encryption.js";
13
15
  import { SimSsmParameterStore } from "./parameter/sim-ssm-parameter-store.js";
14
16
  import { SimSsmParameterWriter } from "./parameter/sim-ssm-parameter-writer.js";
@@ -134,6 +136,18 @@ export class SimSsm {
134
136
  cfnResourceFactory() {
135
137
  return this.cfnFactory;
136
138
  }
139
+ /**
140
+ * Get the resolver for `{{resolve:ssm:...}}` dynamic references.
141
+ */
142
+ cfnDynamicReferenceResolver() {
143
+ return new SimCfnSsmDynamicReferenceResolver({ ssm: this });
144
+ }
145
+ /**
146
+ * Get the reader for `AWS::SSM::Parameter::Value<...>` template Parameters.
147
+ */
148
+ cfnParameterValueReader() {
149
+ return new SimCfnSsmParameterValueReader({ ssm: this });
150
+ }
137
151
  /**
138
152
  * Get this service's SDK Command router for SDK client interception.
139
153
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-ssm.js","sourceRoot":"","sources":["../../../src/service/ssm/sim-ssm.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAI7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EACL,kBAAkB,GAEnB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,0DAA0D,CAAC;AACzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,EAAE,0BAA0B,EAAE,MAAM,uDAAuD,CAAC;AACnG,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAElF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAExF,OAAO,EAA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O,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAkD,EAClD,OAA8B;QAE9B,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,gBAAgB,CAAC,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,kBAAkB,CACtB,OAAoD,EACpD,OAA8B;QAE9B,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,2BAA2B;QACzB,OAAO,IAAI,iCAAiC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,uBAAuB;QACrB,OAAO,IAAI,6BAA6B,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;CACF"}
@@ -3,7 +3,7 @@ import type { SimIamAccountResolver } from "../../../iam/registry/sim-iam-accoun
3
3
  import type { SimAssumeRoleCommand, SimAssumeRoleCommandOutput } from "./assume-role.command.js";
4
4
  import { type BackgroundScheduler } from "../../../../util/background/background.js";
5
5
  import type { SimAwsAccountId } from "../../../aws/sim-aws-account.js";
6
- import type { SimAwsPrincipal } from "../../../aws/caller/sim-aws-caller.js";
6
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
7
7
  interface AssumeRoleCommandHandlerProperties {
8
8
  readonly sourceAccountId: SimAwsAccountId;
9
9
  readonly iamResolver: SimIamAccountResolver;
@@ -33,7 +33,7 @@ export declare class AssumeRoleCommandHandler implements CommandHandler<SimAssum
33
33
  * coordinates authorization and temporary session creation.
34
34
  */
35
35
  handle(command: SimAssumeRoleCommand, options?: {
36
- caller?: SimAwsPrincipal;
36
+ caller?: SimAwsCaller;
37
37
  }): Promise<SimAssumeRoleCommandOutput>;
38
38
  }
39
39
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"assume-role.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/sts/command/assume-role/assume-role.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAMvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAG7E,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;IAC5C,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED;;;;;;;;GAQG;AACH,qBAAa,wBAAyB,YAAW,cAAc,CAC7D,oBAAoB,EACpB,0BAA0B,CAC3B;IACC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA8B;IAC7D,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuC;IACrE,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAqC;IAC9E,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAiC;IAChE,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkB;IAElD,YAAY,UAAU,EAAE,kCAAkC,EAiBzD;IAED;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,eAAe,CAAC;KAC1B,GACA,OAAO,CAAC,0BAA0B,CAAC,CAgCrC;CACF"}
1
+ {"version":3,"file":"assume-role.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/sts/command/assume-role/assume-role.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAMvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAG1E,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;IAC5C,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED;;;;;;;;GAQG;AACH,qBAAa,wBAAyB,YAAW,cAAc,CAC7D,oBAAoB,EACpB,0BAA0B,CAC3B;IACC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA8B;IAC7D,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuC;IACrE,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAqC;IAC9E,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAiC;IAChE,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkB;IAElD,YAAY,UAAU,EAAE,kCAAkC,EAiBzD;IAED;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,YAAY,CAAC;KACvB,GACA,OAAO,CAAC,0BAA0B,CAAC,CAgCrC;CACF"}
@@ -0,0 +1,20 @@
1
+ import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
2
+ /**
3
+ * Minimal structural sim STS GetCallerIdentity command.
4
+ *
5
+ * The operation takes no input. Everything it answers with comes from who the
6
+ * request was made by.
7
+ */
8
+ export interface SimGetCallerIdentityCommand {
9
+ readonly input?: Record<string, never> | undefined;
10
+ }
11
+ /**
12
+ * Minimal structural sim STS GetCallerIdentity output.
13
+ */
14
+ export interface SimGetCallerIdentityCommandOutput {
15
+ readonly UserId?: string | undefined;
16
+ readonly Account?: string | undefined;
17
+ readonly Arn?: string | undefined;
18
+ readonly $metadata: SimResponseMetadata;
19
+ }
20
+ //# sourceMappingURL=get-caller-identity.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-caller-identity.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/get-caller-identity.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=get-caller-identity.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-caller-identity.command.js","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/get-caller-identity.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
1
+ import type { CommandHandler } from "../../../../command/command-handler.js";
2
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
3
+ import type { SimAwsAccountId } from "../../../aws/sim-aws-account.js";
4
+ import type { SimIamAccountResolver } from "../../../iam/registry/sim-iam-account-resolver.js";
5
+ import type { SimGetCallerIdentityCommand, SimGetCallerIdentityCommandOutput } from "./get-caller-identity.command.js";
6
+ interface GetCallerIdentityCommandHandlerProperties {
7
+ readonly sourceAccountId: SimAwsAccountId;
8
+ readonly iamResolver: SimIamAccountResolver;
9
+ }
10
+ /**
11
+ * Simulated STS GetCallerIdentity handler.
12
+ *
13
+ * The operation reports who the simulator decided the caller is. Real STS
14
+ * needs no permission for it, which is what makes it the call people reach for
15
+ * to check that credentials and an endpoint are wired up correctly, so this
16
+ * authorizes nothing either.
17
+ *
18
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sts/command/GetCallerIdentityCommand/
19
+ */
20
+ export declare class GetCallerIdentityCommandHandler implements CommandHandler<SimGetCallerIdentityCommand, SimGetCallerIdentityCommandOutput> {
21
+ private readonly callerResolver;
22
+ private readonly sourceAccountId;
23
+ private readonly iamResolver;
24
+ constructor(properties: GetCallerIdentityCommandHandlerProperties);
25
+ /**
26
+ * Report the identity behind this request.
27
+ *
28
+ * A caller with no identity has none to report. Real STS answers an
29
+ * unsigned request by refusing the signature, and the simulator reaches the
30
+ * same place by way of the anonymous principal a served request resolves to.
31
+ */
32
+ handle(_command: SimGetCallerIdentityCommand, options?: {
33
+ caller?: SimAwsCaller;
34
+ }): Promise<SimGetCallerIdentityCommandOutput>;
35
+ }
36
+ export {};
37
+ //# sourceMappingURL=get-caller-identity.handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-caller-identity.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/get-caller-identity.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,EACV,2BAA2B,EAC3B,iCAAiC,EAClC,MAAM,kCAAkC,CAAC;AAG1C,UAAU,yCAAyC;IACjD,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;CAC7C;AAED;;;;;;;;;GASG;AACH,qBAAa,+BAAgC,YAAW,cAAc,CACpE,2BAA2B,EAC3B,iCAAiC,CAClC;IACC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA8B;IAC7D,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkB;IAClD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAwB;IAEpD,YAAY,UAAU,EAAE,yCAAyC,EAGhE;IAED;;;;;;OAMG;IAEG,MAAM,CACV,QAAQ,EAAE,2BAA2B,EACrC,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,YAAY,CAAA;KAAE,GAClC,OAAO,CAAC,iCAAiC,CAAC,CAuB5C;CACF"}
@@ -0,0 +1,50 @@
1
+ import { SimAwsCallerResolver } from "../../../aws/caller/sim-aws-caller-resolver.js";
2
+ import { makeSimAwsAccountRootPrincipal } from "../../../aws/caller/sim-aws-account-root-principal.js";
3
+ import { SimIamAccessDenied } from "../../../iam/error/sim-iam.error.js";
4
+ import { simStsCallerUserId } from "./sim-sts-caller-user-id.js";
5
+ /**
6
+ * Simulated STS GetCallerIdentity handler.
7
+ *
8
+ * The operation reports who the simulator decided the caller is. Real STS
9
+ * needs no permission for it, which is what makes it the call people reach for
10
+ * to check that credentials and an endpoint are wired up correctly, so this
11
+ * authorizes nothing either.
12
+ *
13
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sts/command/GetCallerIdentityCommand/
14
+ */
15
+ export class GetCallerIdentityCommandHandler {
16
+ callerResolver = new SimAwsCallerResolver();
17
+ sourceAccountId;
18
+ iamResolver;
19
+ constructor(properties) {
20
+ this.sourceAccountId = properties.sourceAccountId;
21
+ this.iamResolver = properties.iamResolver;
22
+ }
23
+ /**
24
+ * Report the identity behind this request.
25
+ *
26
+ * A caller with no identity has none to report. Real STS answers an
27
+ * unsigned request by refusing the signature, and the simulator reaches the
28
+ * same place by way of the anonymous principal a served request resolves to.
29
+ */
30
+ // oxlint-disable-next-line require-await -- the handler contract is asynchronous
31
+ async handle(_command, options) {
32
+ const caller = this.callerResolver.resolve(options?.caller, makeSimAwsAccountRootPrincipal(this.sourceAccountId));
33
+ if (caller.principal.kind !== "arn") {
34
+ throw new SimIamAccessDenied({
35
+ principal: caller.principal,
36
+ action: "sts:GetCallerIdentity",
37
+ resource: "*",
38
+ });
39
+ }
40
+ const accountId = (caller.accountId ??
41
+ this.sourceAccountId);
42
+ return {
43
+ Arn: caller.arn,
44
+ Account: accountId,
45
+ ...simStsCallerUserId(caller.arn, accountId, this.iamResolver),
46
+ $metadata: {},
47
+ };
48
+ }
49
+ }
50
+ //# sourceMappingURL=get-caller-identity.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-caller-identity.handler.js","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/get-caller-identity.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAGtF,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAMzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAOjE;;;;;;;;;GASG;AACH,MAAM,OAAO,+BAA+B;IAIzB,cAAc,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC5C,eAAe,CAAkB;IACjC,WAAW,CAAwB;IAEpD,YAAY,UAAqD;QAC/D,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC;QAClD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;IAC5C,CAAC;IAED;;;;;;OAMG;IACH,iFAAiF;IACjF,KAAK,CAAC,MAAM,CACV,QAAqC,EACrC,OAAmC;QAEnC,MAAM,MAAM,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CACxC,OAAO,EAAE,MAAM,EACf,8BAA8B,CAAC,IAAI,CAAC,eAAe,CAAC,CACrD,CAAC;QAEF,IAAI,MAAM,CAAC,SAAS,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;YACpC,MAAM,IAAI,kBAAkB,CAAC;gBAC3B,SAAS,EAAE,MAAM,CAAC,SAAS;gBAC3B,MAAM,EAAE,uBAAuB;gBAC/B,QAAQ,EAAE,GAAG;aACd,CAAC,CAAC;QACL,CAAC;QAED,MAAM,SAAS,GAAG,CAAC,MAAM,CAAC,SAAS;YACjC,IAAI,CAAC,eAAe,CAAoB,CAAC;QAE3C,OAAO;YACL,GAAG,EAAE,MAAM,CAAC,GAAG;YACf,OAAO,EAAE,SAAS;YAClB,GAAG,kBAAkB,CAAC,MAAM,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;YAC9D,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,15 @@
1
+ import type { SimAwsAccountId } from "../../../aws/sim-aws-account.js";
2
+ import type { SimIamAccountResolver } from "../../../iam/registry/sim-iam-account-resolver.js";
3
+ /**
4
+ * The unique id STS reports for a caller, which differs by what the caller is.
5
+ *
6
+ * Real STS answers the Account id for the Account root, the user's own id for
7
+ * an IAM user, and the Role's id joined to the session name for an
8
+ * assumed-role session. Each one is looked up rather than invented, so a
9
+ * caller with no simulated record behind it gets no id at all instead of a
10
+ * plausible-looking one.
11
+ */
12
+ export declare function simStsCallerUserId(arn: string | undefined, accountId: SimAwsAccountId, iamResolver: SimIamAccountResolver): {
13
+ UserId?: string;
14
+ };
15
+ //# sourceMappingURL=sim-sts-caller-user-id.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sts-caller-user-id.d.ts","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/sim-sts-caller-user-id.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAI/F;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,SAAS,EAAE,eAAe,EAC1B,WAAW,EAAE,qBAAqB,GACjC;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CA+CrB"}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * The unique id STS reports for a caller, which differs by what the caller is.
3
+ *
4
+ * Real STS answers the Account id for the Account root, the user's own id for
5
+ * an IAM user, and the Role's id joined to the session name for an
6
+ * assumed-role session. Each one is looked up rather than invented, so a
7
+ * caller with no simulated record behind it gets no id at all instead of a
8
+ * plausible-looking one.
9
+ */
10
+ export function simStsCallerUserId(arn, accountId, iamResolver) {
11
+ if (arn === undefined) {
12
+ return {};
13
+ }
14
+ const resource = arn.split(":").slice(5).join(":");
15
+ if (resource === "root") {
16
+ return { UserId: accountId };
17
+ }
18
+ const iam = iamResolver.findIamForAccount(accountId);
19
+ if (iam === undefined) {
20
+ return {};
21
+ }
22
+ const [kind, ...segments] = resource.split("/");
23
+ if (kind === "user") {
24
+ // A User ARN carries the User's path before its name, so the name is the
25
+ // last segment rather than the first. `user/engineering/Widgets` is the
26
+ // User `Widgets` at path `/engineering/`, and simulated IAM keys Users by
27
+ // name alone.
28
+ const username = segments.at(-1);
29
+ const userId = username === undefined
30
+ ? undefined
31
+ : iam.users.get(username)?.userId;
32
+ return userId === undefined ? {} : { UserId: userId };
33
+ }
34
+ if (kind === "assumed-role") {
35
+ // A session ARN names the Role and then the session, and carries no path,
36
+ // which is why these two are read by position.
37
+ const [roleName, sessionName] = segments;
38
+ const roleId = roleName === undefined
39
+ ? undefined
40
+ : iam.roles.get(roleName)?.roleId;
41
+ return roleId === undefined
42
+ ? {}
43
+ : { UserId: `${roleId}:${sessionName ?? ""}` };
44
+ }
45
+ return {};
46
+ }
47
+ //# sourceMappingURL=sim-sts-caller-user-id.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sts-caller-user-id.js","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/sim-sts-caller-user-id.ts"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH,MAAM,UAAU,kBAAkB,CAChC,GAAuB,EACvB,SAA0B,EAC1B,WAAkC;IAElC,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,QAAQ,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEnD,IAAI,QAAQ,KAAK,MAAM,EAAE,CAAC;QACxB,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IAC/B,CAAC;IAED,MAAM,GAAG,GAAG,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;IACrD,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,CAAC,IAAI,EAAE,GAAG,QAA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,CAAC;AAE5C;;GAEG;AACH,qBAAa,sBAAuB,YAAW,mBAAmB;IAChE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,MAAM,EAAE,MAAM,EAWzB;IAED;;OAEG;IACH,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAEzD;CACF"}
1
+ {"version":3,"file":"sim-sts-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/sts/sdk/sim-sts-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,qBAAa,sBAAuB,YAAW,mBAAmB;IAChE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,MAAM,EAAE,MAAM,EAmBzB;IAED;;OAEG;IACH,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAEzD;CACF"}
@@ -6,6 +6,10 @@ export class SimStsSdkCommandRouter {
6
6
  routes;
7
7
  constructor(simSts) {
8
8
  this.routes = new Map([
9
+ [
10
+ "GetCallerIdentityCommand",
11
+ async (command, context) => await simSts.getCallerIdentity(command, simSdkCallerOptions(context)),
12
+ ],
9
13
  [
10
14
  "AssumeRoleCommand",
11
15
  async (command, context) => await simSts.assumeRole(command, simSdkCallerOptions(context)),
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sts-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/sts/sdk/sim-sts-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAGpB,MAAM,uBAAuB,CAAC;AAI/B;;GAEG;AACH,MAAM,OAAO,sBAAsB;IAChB,MAAM,CAA0C;IAEjE,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD;gBACE,mBAAmB;gBACnB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,MAAM,CAAC,UAAU,CACrB,OAA+B,EAC/B,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;SACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
1
+ {"version":3,"file":"sim-sts-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/sts/sdk/sim-sts-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAGpB,MAAM,uBAAuB,CAAC;AAK/B;;GAEG;AACH,MAAM,OAAO,sBAAsB;IAChB,MAAM,CAA0C;IAEjE,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD;gBACE,0BAA0B;gBAC1B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,MAAM,CAAC,iBAAiB,CAC5B,OAAsC,EACtC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,mBAAmB;gBACnB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,MAAM,CAAC,UAAU,CACrB,OAA+B,EAC/B,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;SACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
@@ -0,0 +1,12 @@
1
+ import type { SimAws } from "../../aws/sim-aws.js";
2
+ import { SimQueryApiEndpoint } from "../../../serve/http/api/query/sim-query-endpoint.js";
3
+ /**
4
+ * Serve the STS Query API to a client given an endpoint URL.
5
+ *
6
+ * The two operations simulated STS implements are both served.
7
+ * `GetCallerIdentity` is the one a person reaches for to check that an
8
+ * endpoint and a set of credentials are wired up as expected, and `AssumeRole`
9
+ * hands back credentials that sign the requests the caller makes next.
10
+ */
11
+ export declare function simStsApiEndpoint(simAws: SimAws): SimQueryApiEndpoint;
12
+ //# sourceMappingURL=sim-sts-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sts-api.d.ts","sourceRoot":"","sources":["../../../../src/service/sts/serve/sim-sts-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAY1F;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB,CAOrE"}
@@ -0,0 +1,52 @@
1
+ import { SimQueryApiEndpoint } from "../../../serve/http/api/query/sim-query-endpoint.js";
2
+ import { queryMembers, queryStructure, } from "../../../serve/http/api/query/sim-query-result.js";
3
+ /**
4
+ * The XML namespace real STS stamps on every response it sends.
5
+ */
6
+ const stsNamespace = "https://sts.amazonaws.com/doc/2011-06-15/";
7
+ /**
8
+ * Serve the STS Query API to a client given an endpoint URL.
9
+ *
10
+ * The two operations simulated STS implements are both served.
11
+ * `GetCallerIdentity` is the one a person reaches for to check that an
12
+ * endpoint and a set of credentials are wired up as expected, and `AssumeRole`
13
+ * hands back credentials that sign the requests the caller makes next.
14
+ */
15
+ export function simStsApiEndpoint(simAws) {
16
+ return new SimQueryApiEndpoint({
17
+ simAws,
18
+ serviceId: "STS",
19
+ namespace: stsNamespace,
20
+ operations: simStsQueryOperations(),
21
+ });
22
+ }
23
+ function simStsQueryOperations() {
24
+ return new Map([
25
+ [
26
+ "GetCallerIdentity",
27
+ {
28
+ input: () => ({}),
29
+ result: (output) => queryMembers(output, ["UserId", "Account", "Arn"]),
30
+ },
31
+ ],
32
+ [
33
+ "AssumeRole",
34
+ {
35
+ input: (fields) => ({
36
+ RoleArn: fields.text("RoleArn"),
37
+ RoleSessionName: fields.text("RoleSessionName"),
38
+ DurationSeconds: fields.number("DurationSeconds"),
39
+ ExternalId: fields.text("ExternalId"),
40
+ }),
41
+ result: (output) => queryStructure(output, "Credentials", (credentials) => queryMembers(credentials, [
42
+ "AccessKeyId",
43
+ "SecretAccessKey",
44
+ "SessionToken",
45
+ "Expiration",
46
+ ])) +
47
+ queryStructure(output, "AssumedRoleUser", (user) => queryMembers(user, ["Arn", "AssumedRoleId"])),
48
+ },
49
+ ],
50
+ ]);
51
+ }
52
+ //# sourceMappingURL=sim-sts-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sts-api.js","sourceRoot":"","sources":["../../../../src/service/sts/serve/sim-sts-api.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAE1F,OAAO,EACL,YAAY,EACZ,cAAc,GACf,MAAM,mDAAmD,CAAC;AAE3D;;GAEG;AACH,MAAM,YAAY,GAAG,2CAA2C,CAAC;AAEjE;;;;;;;GAOG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAc;IAC9C,OAAO,IAAI,mBAAmB,CAAC;QAC7B,MAAM;QACN,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,qBAAqB,EAAE;KACpC,CAAC,CAAC;AAC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