@kensio/yulin 1.16.3 → 1.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (852) hide show
  1. package/README.md +1 -0
  2. package/dist/sdk/wire/sim-sdk-wire-response.d.ts +12 -0
  3. package/dist/sdk/wire/sim-sdk-wire-response.d.ts.map +1 -1
  4. package/dist/sdk/wire/sim-sdk-wire-response.js +2 -2
  5. package/dist/sdk/wire/sim-sdk-wire-response.js.map +1 -1
  6. package/dist/serve/http/api/query/sim-query-endpoint.d.ts +42 -0
  7. package/dist/serve/http/api/query/sim-query-endpoint.d.ts.map +1 -0
  8. package/dist/serve/http/api/query/sim-query-endpoint.js +55 -0
  9. package/dist/serve/http/api/query/sim-query-endpoint.js.map +1 -0
  10. package/dist/serve/http/api/query/sim-query-operation.d.ts +19 -0
  11. package/dist/serve/http/api/query/sim-query-operation.d.ts.map +1 -0
  12. package/dist/serve/http/api/query/sim-query-operation.js +2 -0
  13. package/dist/serve/http/api/query/sim-query-operation.js.map +1 -0
  14. package/dist/serve/http/api/query/sim-query-request.d.ts +85 -0
  15. package/dist/serve/http/api/query/sim-query-request.d.ts.map +1 -0
  16. package/dist/serve/http/api/query/sim-query-request.js +136 -0
  17. package/dist/serve/http/api/query/sim-query-request.js.map +1 -0
  18. package/dist/serve/http/api/query/sim-query-response.d.ts +35 -0
  19. package/dist/serve/http/api/query/sim-query-response.d.ts.map +1 -0
  20. package/dist/serve/http/api/query/sim-query-response.js +63 -0
  21. package/dist/serve/http/api/query/sim-query-response.js.map +1 -0
  22. package/dist/serve/http/api/query/sim-query-result.d.ts +33 -0
  23. package/dist/serve/http/api/query/sim-query-result.d.ts.map +1 -0
  24. package/dist/serve/http/api/query/sim-query-result.js +87 -0
  25. package/dist/serve/http/api/query/sim-query-result.js.map +1 -0
  26. package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.d.ts +40 -0
  27. package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.d.ts.map +1 -0
  28. package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.js +67 -0
  29. package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.js.map +1 -0
  30. package/dist/serve/http/api/rest-json/sim-rest-json-input.d.ts +45 -0
  31. package/dist/serve/http/api/rest-json/sim-rest-json-input.d.ts.map +1 -0
  32. package/dist/serve/http/api/rest-json/sim-rest-json-input.js +52 -0
  33. package/dist/serve/http/api/rest-json/sim-rest-json-input.js.map +1 -0
  34. package/dist/serve/http/api/rest-json/sim-rest-json-request.d.ts +58 -0
  35. package/dist/serve/http/api/rest-json/sim-rest-json-request.d.ts.map +1 -0
  36. package/dist/serve/http/api/rest-json/sim-rest-json-request.js +68 -0
  37. package/dist/serve/http/api/rest-json/sim-rest-json-request.js.map +1 -0
  38. package/dist/serve/http/api/rest-json/sim-rest-json-response.d.ts +35 -0
  39. package/dist/serve/http/api/rest-json/sim-rest-json-response.d.ts.map +1 -0
  40. package/dist/serve/http/api/rest-json/sim-rest-json-response.js +55 -0
  41. package/dist/serve/http/api/rest-json/sim-rest-json-response.js.map +1 -0
  42. package/dist/serve/http/api/rest-json/sim-rest-json-route.type.d.ts +37 -0
  43. package/dist/serve/http/api/rest-json/sim-rest-json-route.type.d.ts.map +1 -0
  44. package/dist/serve/http/api/rest-json/sim-rest-json-route.type.js +2 -0
  45. package/dist/serve/http/api/rest-json/sim-rest-json-route.type.js.map +1 -0
  46. package/dist/serve/http/api/rest-json/sim-rest-json-routes.d.ts +27 -0
  47. package/dist/serve/http/api/rest-json/sim-rest-json-routes.d.ts.map +1 -0
  48. package/dist/serve/http/api/rest-json/sim-rest-json-routes.js +51 -0
  49. package/dist/serve/http/api/rest-json/sim-rest-json-routes.js.map +1 -0
  50. package/dist/serve/http/api/sim-aws-api-endpoint.d.ts +3 -4
  51. package/dist/serve/http/api/sim-aws-api-endpoint.d.ts.map +1 -1
  52. package/dist/serve/http/api/sim-aws-api-endpoint.js +8 -23
  53. package/dist/serve/http/api/sim-aws-api-endpoint.js.map +1 -1
  54. package/dist/serve/http/api/sim-aws-api-protocols.d.ts +13 -0
  55. package/dist/serve/http/api/sim-aws-api-protocols.d.ts.map +1 -0
  56. package/dist/serve/http/api/sim-aws-api-protocols.js +41 -0
  57. package/dist/serve/http/api/sim-aws-api-protocols.js.map +1 -0
  58. package/dist/service/acm/certificate/register-sim-acm-certificate.d.ts +41 -0
  59. package/dist/service/acm/certificate/register-sim-acm-certificate.d.ts.map +1 -0
  60. package/dist/service/acm/certificate/register-sim-acm-certificate.js +60 -0
  61. package/dist/service/acm/certificate/register-sim-acm-certificate.js.map +1 -0
  62. package/dist/service/acm/command/request-certificate/request-certificate.handler.d.ts +9 -0
  63. package/dist/service/acm/command/request-certificate/request-certificate.handler.d.ts.map +1 -1
  64. package/dist/service/acm/command/request-certificate/request-certificate.handler.js +18 -1
  65. package/dist/service/acm/command/request-certificate/request-certificate.handler.js.map +1 -1
  66. package/dist/service/acm/sim-acm.d.ts +15 -0
  67. package/dist/service/acm/sim-acm.d.ts.map +1 -1
  68. package/dist/service/acm/sim-acm.js +21 -0
  69. package/dist/service/acm/sim-acm.js.map +1 -1
  70. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.d.ts +29 -0
  71. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.d.ts.map +1 -0
  72. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.js +36 -0
  73. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.js.map +1 -0
  74. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.d.ts +27 -0
  75. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.d.ts.map +1 -0
  76. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.js +24 -0
  77. package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.js.map +1 -0
  78. package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.d.ts +12 -0
  79. package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.d.ts.map +1 -0
  80. package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.js +54 -0
  81. package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.js.map +1 -0
  82. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts +21 -0
  83. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts.map +1 -0
  84. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js +38 -0
  85. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js.map +1 -0
  86. package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.d.ts +50 -0
  87. package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.d.ts.map +1 -0
  88. package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.js +69 -0
  89. package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.js.map +1 -0
  90. package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts +3 -0
  91. package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts.map +1 -1
  92. package/dist/service/cloudformation/command/create-stack/create-stack.handler.js +14 -4
  93. package/dist/service/cloudformation/command/create-stack/create-stack.handler.js.map +1 -1
  94. package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts +7 -0
  95. package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts.map +1 -1
  96. package/dist/service/cloudformation/command/update-stack/update-stack.handler.js +14 -1
  97. package/dist/service/cloudformation/command/update-stack/update-stack.handler.js.map +1 -1
  98. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts +24 -0
  99. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts.map +1 -0
  100. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js +42 -0
  101. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js.map +1 -0
  102. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts +43 -0
  103. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts.map +1 -0
  104. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js +35 -0
  105. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js.map +1 -0
  106. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +51 -0
  107. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts.map +1 -0
  108. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js +37 -0
  109. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js.map +1 -0
  110. package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts +9 -0
  111. package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts.map +1 -1
  112. package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js +16 -0
  113. package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js.map +1 -1
  114. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.d.ts.map +1 -1
  115. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js +2 -4
  116. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js.map +1 -1
  117. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts +13 -0
  118. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts.map +1 -0
  119. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js +29 -0
  120. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js.map +1 -0
  121. package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.d.ts +3 -0
  122. package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.d.ts.map +1 -1
  123. package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.js +3 -0
  124. package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.js.map +1 -1
  125. package/dist/service/cloudformation/export/sim-cfn-exports.d.ts +43 -0
  126. package/dist/service/cloudformation/export/sim-cfn-exports.d.ts.map +1 -0
  127. package/dist/service/cloudformation/export/sim-cfn-exports.js +65 -0
  128. package/dist/service/cloudformation/export/sim-cfn-exports.js.map +1 -0
  129. package/dist/service/cloudformation/export/sim-cfn-stack-exports.d.ts +11 -0
  130. package/dist/service/cloudformation/export/sim-cfn-stack-exports.d.ts.map +1 -0
  131. package/dist/service/cloudformation/export/sim-cfn-stack-exports.js +23 -0
  132. package/dist/service/cloudformation/export/sim-cfn-stack-exports.js.map +1 -0
  133. package/dist/service/cloudformation/index.d.ts +2 -0
  134. package/dist/service/cloudformation/index.d.ts.map +1 -1
  135. package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.d.ts +10 -0
  136. package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.d.ts.map +1 -0
  137. package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.js +21 -0
  138. package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.js.map +1 -0
  139. package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.d.ts +10 -0
  140. package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.d.ts.map +1 -0
  141. package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.js +19 -0
  142. package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.js.map +1 -0
  143. package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.d.ts +34 -0
  144. package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.d.ts.map +1 -0
  145. package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.js +43 -0
  146. package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.js.map +1 -0
  147. package/dist/service/cloudformation/parameters/sim-cfn-parameters.d.ts +21 -16
  148. package/dist/service/cloudformation/parameters/sim-cfn-parameters.d.ts.map +1 -1
  149. package/dist/service/cloudformation/parameters/sim-cfn-parameters.js +33 -62
  150. package/dist/service/cloudformation/parameters/sim-cfn-parameters.js.map +1 -1
  151. package/dist/service/cloudformation/parameters/sim-cfn-parameters.type.d.ts +30 -9
  152. package/dist/service/cloudformation/parameters/sim-cfn-parameters.type.d.ts.map +1 -1
  153. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.d.ts +20 -0
  154. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.d.ts.map +1 -0
  155. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.js +20 -0
  156. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.js.map +1 -0
  157. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.d.ts +48 -0
  158. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.d.ts.map +1 -0
  159. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.js +69 -0
  160. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.js.map +1 -0
  161. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.d.ts +17 -0
  162. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.d.ts.map +1 -0
  163. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.js +15 -0
  164. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.js.map +1 -0
  165. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.d.ts +28 -0
  166. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.d.ts.map +1 -0
  167. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.js +2 -0
  168. package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.js.map +1 -0
  169. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.d.ts.map +1 -1
  170. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.js +4 -0
  171. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.js.map +1 -1
  172. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.d.ts +28 -0
  173. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.d.ts.map +1 -0
  174. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.js +33 -0
  175. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.js.map +1 -0
  176. package/dist/service/cloudformation/resource/create/sim-cfn-resource-creator.js +1 -1
  177. package/dist/service/cloudformation/resource/create/sim-cfn-resource-creator.js.map +1 -1
  178. package/dist/service/cloudformation/resource/delete/sim-cfn-resource-deleter.js +1 -1
  179. package/dist/service/cloudformation/resource/delete/sim-cfn-resource-deleter.js.map +1 -1
  180. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts +29 -1
  181. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts.map +1 -1
  182. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js +42 -2
  183. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js.map +1 -1
  184. package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts +6 -1
  185. package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
  186. package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +15 -4
  187. package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
  188. package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts +7 -0
  189. package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts.map +1 -1
  190. package/dist/service/cloudformation/serve/sim-cloudformation-api.d.ts +11 -0
  191. package/dist/service/cloudformation/serve/sim-cloudformation-api.d.ts.map +1 -0
  192. package/dist/service/cloudformation/serve/sim-cloudformation-api.js +87 -0
  193. package/dist/service/cloudformation/serve/sim-cloudformation-api.js.map +1 -0
  194. package/dist/service/cloudformation/sim-cloudformation.d.ts +7 -1
  195. package/dist/service/cloudformation/sim-cloudformation.d.ts.map +1 -1
  196. package/dist/service/cloudformation/sim-cloudformation.js +19 -12
  197. package/dist/service/cloudformation/sim-cloudformation.js.map +1 -1
  198. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.d.ts +31 -0
  199. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.d.ts.map +1 -0
  200. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.js +57 -0
  201. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.js.map +1 -0
  202. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.d.ts +3 -0
  203. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.d.ts.map +1 -1
  204. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.js +3 -0
  205. package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.js.map +1 -1
  206. package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.d.ts +31 -0
  207. package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.d.ts.map +1 -0
  208. package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.js +37 -0
  209. package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.js.map +1 -0
  210. package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.d.ts +9 -5
  211. package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.d.ts.map +1 -1
  212. package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.js +15 -9
  213. package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.js.map +1 -1
  214. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.d.ts.map +1 -1
  215. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js +1 -0
  216. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js.map +1 -1
  217. package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts +14 -1
  218. package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts.map +1 -1
  219. package/dist/service/cloudformation/stack/sim-cfn-stack.js +26 -8
  220. package/dist/service/cloudformation/stack/sim-cfn-stack.js.map +1 -1
  221. package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts +7 -0
  222. package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts.map +1 -1
  223. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts +16 -0
  224. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts.map +1 -0
  225. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js +20 -0
  226. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js.map +1 -0
  227. package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.d.ts +42 -0
  228. package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.d.ts.map +1 -0
  229. package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.js +41 -0
  230. package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.js.map +1 -0
  231. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.d.ts +21 -0
  232. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.d.ts.map +1 -0
  233. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.js +61 -0
  234. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.js.map +1 -0
  235. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts +31 -0
  236. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts.map +1 -0
  237. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js +29 -0
  238. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js.map +1 -0
  239. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.d.ts +21 -0
  240. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.d.ts.map +1 -0
  241. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.js +39 -0
  242. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.js.map +1 -0
  243. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts +63 -0
  244. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts.map +1 -0
  245. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.js +2 -0
  246. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.js.map +1 -0
  247. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts +57 -0
  248. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts.map +1 -0
  249. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js +83 -0
  250. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js.map +1 -0
  251. package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.d.ts +33 -0
  252. package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.d.ts.map +1 -0
  253. package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.js +47 -0
  254. package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.js.map +1 -0
  255. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts +7 -0
  256. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts.map +1 -1
  257. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js +12 -0
  258. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js.map +1 -1
  259. package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.d.ts.map +1 -1
  260. package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.js +6 -1
  261. package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.js.map +1 -1
  262. package/dist/service/cloudformation/template/node/sim-cfn-literal.d.ts +9 -2
  263. package/dist/service/cloudformation/template/node/sim-cfn-literal.d.ts.map +1 -1
  264. package/dist/service/cloudformation/template/node/sim-cfn-literal.js +12 -3
  265. package/dist/service/cloudformation/template/node/sim-cfn-literal.js.map +1 -1
  266. package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.d.ts +26 -0
  267. package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.d.ts.map +1 -0
  268. package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.js +31 -0
  269. package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.js.map +1 -0
  270. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts +4 -7
  271. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts.map +1 -1
  272. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js +9 -41
  273. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js.map +1 -1
  274. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.d.ts +19 -0
  275. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.d.ts.map +1 -0
  276. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.js +31 -0
  277. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.js.map +1 -0
  278. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts +19 -0
  279. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts.map +1 -1
  280. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js +18 -0
  281. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js.map +1 -1
  282. package/dist/service/cloudformation/template/sim-cfn-template.d.ts +5 -0
  283. package/dist/service/cloudformation/template/sim-cfn-template.d.ts.map +1 -1
  284. package/dist/service/cloudformation/template/sim-cfn-template.js +7 -1
  285. package/dist/service/cloudformation/template/sim-cfn-template.js.map +1 -1
  286. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts +4 -0
  287. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts.map +1 -1
  288. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js +2 -0
  289. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js.map +1 -1
  290. package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts +5 -0
  291. package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts.map +1 -1
  292. package/dist/service/cloudformation/template/value/sim-cfn-value-path.js +22 -0
  293. package/dist/service/cloudformation/template/value/sim-cfn-value-path.js.map +1 -1
  294. package/dist/service/cloudfront/command/create-function/create-function-code-size.d.ts +23 -0
  295. package/dist/service/cloudfront/command/create-function/create-function-code-size.d.ts.map +1 -0
  296. package/dist/service/cloudfront/command/create-function/create-function-code-size.js +33 -0
  297. package/dist/service/cloudfront/command/create-function/create-function-code-size.js.map +1 -0
  298. package/dist/service/cloudfront/command/create-function/create-function.handler.d.ts.map +1 -1
  299. package/dist/service/cloudfront/command/create-function/create-function.handler.js +2 -0
  300. package/dist/service/cloudfront/command/create-function/create-function.handler.js.map +1 -1
  301. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +11 -0
  302. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
  303. package/dist/service/cloudfront/error/sim-cloudfront.error.js +13 -0
  304. package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
  305. package/dist/service/cloudfront/index.d.ts +1 -1
  306. package/dist/service/cloudfront/index.d.ts.map +1 -1
  307. package/dist/service/cloudfront/index.js +1 -1
  308. package/dist/service/cloudfront/index.js.map +1 -1
  309. package/dist/service/cognito/command/sim-cognito-commands.d.ts +6 -0
  310. package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
  311. package/dist/service/cognito/command/sim-cognito-commands.js +22 -6
  312. package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
  313. package/dist/service/cognito/error/sim-cognito.error.d.ts +22 -0
  314. package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
  315. package/dist/service/cognito/error/sim-cognito.error.js +26 -0
  316. package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
  317. package/dist/service/cognito/index.d.ts +2 -1
  318. package/dist/service/cognito/index.d.ts.map +1 -1
  319. package/dist/service/cognito/index.js +1 -1
  320. package/dist/service/cognito/index.js.map +1 -1
  321. package/dist/service/cognito/sim-cognito-identity-provider.d.ts +24 -0
  322. package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
  323. package/dist/service/cognito/sim-cognito-identity-provider.js +26 -0
  324. package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
  325. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +9 -0
  326. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
  327. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -2
  328. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
  329. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.d.ts +22 -0
  330. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.d.ts.map +1 -0
  331. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.js +36 -0
  332. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.js.map +1 -0
  333. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.d.ts +25 -0
  334. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.d.ts.map +1 -0
  335. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.js +30 -0
  336. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.js.map +1 -0
  337. package/dist/service/cognito/user-pool/sim-cognito-registration.types.d.ts +40 -0
  338. package/dist/service/cognito/user-pool/sim-cognito-registration.types.d.ts.map +1 -0
  339. package/dist/service/cognito/user-pool/sim-cognito-registration.types.js +2 -0
  340. package/dist/service/cognito/user-pool/sim-cognito-registration.types.js.map +1 -0
  341. package/dist/service/cognito/user-pool/sim-cognito-registrations.d.ts +34 -0
  342. package/dist/service/cognito/user-pool/sim-cognito-registrations.d.ts.map +1 -0
  343. package/dist/service/cognito/user-pool/sim-cognito-registrations.js +28 -0
  344. package/dist/service/cognito/user-pool/sim-cognito-registrations.js.map +1 -0
  345. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts +9 -0
  346. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts.map +1 -1
  347. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js +3 -2
  348. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js.map +1 -1
  349. package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.d.ts +9 -0
  350. package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.d.ts.map +1 -1
  351. package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.js +18 -0
  352. package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.js.map +1 -1
  353. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +8 -0
  354. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
  355. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +15 -1
  356. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
  357. package/dist/service/elbv2/serve/api/sim-elbv2-api.d.ts +15 -0
  358. package/dist/service/elbv2/serve/api/sim-elbv2-api.d.ts.map +1 -0
  359. package/dist/service/elbv2/serve/api/sim-elbv2-api.js +41 -0
  360. package/dist/service/elbv2/serve/api/sim-elbv2-api.js.map +1 -0
  361. package/dist/service/elbv2/serve/api/sim-elbv2-query-action.d.ts +14 -0
  362. package/dist/service/elbv2/serve/api/sim-elbv2-query-action.d.ts.map +1 -0
  363. package/dist/service/elbv2/serve/api/sim-elbv2-query-action.js +52 -0
  364. package/dist/service/elbv2/serve/api/sim-elbv2-query-action.js.map +1 -0
  365. package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.d.ts +14 -0
  366. package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.d.ts.map +1 -0
  367. package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.js +20 -0
  368. package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.js.map +1 -0
  369. package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.d.ts +11 -0
  370. package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.d.ts.map +1 -0
  371. package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.js +39 -0
  372. package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.js.map +1 -0
  373. package/dist/service/elbv2/serve/api/sim-elbv2-query-input.d.ts +47 -0
  374. package/dist/service/elbv2/serve/api/sim-elbv2-query-input.d.ts.map +1 -0
  375. package/dist/service/elbv2/serve/api/sim-elbv2-query-input.js +71 -0
  376. package/dist/service/elbv2/serve/api/sim-elbv2-query-input.js.map +1 -0
  377. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.d.ts +11 -0
  378. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.d.ts.map +1 -0
  379. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.js +46 -0
  380. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.js.map +1 -0
  381. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.d.ts +6 -0
  382. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.d.ts.map +1 -0
  383. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.js +77 -0
  384. package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.js.map +1 -0
  385. package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.d.ts +6 -0
  386. package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.d.ts.map +1 -0
  387. package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.js +67 -0
  388. package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.js.map +1 -0
  389. package/dist/service/elbv2/serve/api/sim-elbv2-query-result.d.ts +15 -0
  390. package/dist/service/elbv2/serve/api/sim-elbv2-query-result.d.ts.map +1 -0
  391. package/dist/service/elbv2/serve/api/sim-elbv2-query-result.js +25 -0
  392. package/dist/service/elbv2/serve/api/sim-elbv2-query-result.js.map +1 -0
  393. package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.d.ts +6 -0
  394. package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.d.ts.map +1 -0
  395. package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.js +74 -0
  396. package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.js.map +1 -0
  397. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.d.ts +6 -0
  398. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.d.ts.map +1 -0
  399. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.js +114 -0
  400. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.js.map +1 -0
  401. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.d.ts +6 -0
  402. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.d.ts.map +1 -0
  403. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.js +64 -0
  404. package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.js.map +1 -0
  405. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts +40 -0
  406. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts.map +1 -0
  407. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js +65 -0
  408. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js.map +1 -0
  409. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts +1 -0
  410. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts.map +1 -1
  411. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js +5 -0
  412. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js.map +1 -1
  413. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts +11 -20
  414. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts.map +1 -1
  415. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js +29 -61
  416. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js.map +1 -1
  417. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.d.ts +38 -0
  418. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.d.ts.map +1 -0
  419. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.js +79 -0
  420. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.js.map +1 -0
  421. package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.d.ts +2 -2
  422. package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.d.ts.map +1 -1
  423. package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.js +4 -2
  424. package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.js.map +1 -1
  425. package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.d.ts +35 -0
  426. package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.d.ts.map +1 -0
  427. package/dist/service/iam/cfn/{role/sim-cfn-iam-role-policies-parser.js → sim-cfn-iam-policies-parser.js} +17 -12
  428. package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.js.map +1 -0
  429. package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts +11 -0
  430. package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts.map +1 -1
  431. package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js +25 -0
  432. package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js.map +1 -1
  433. package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.d.ts +1 -0
  434. package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.d.ts.map +1 -1
  435. package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js +6 -0
  436. package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js.map +1 -1
  437. package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts +28 -0
  438. package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts.map +1 -0
  439. package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js +67 -0
  440. package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js.map +1 -0
  441. package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts +26 -0
  442. package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts.map +1 -0
  443. package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js +29 -0
  444. package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js.map +1 -0
  445. package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.d.ts +38 -0
  446. package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.d.ts.map +1 -0
  447. package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.js +80 -0
  448. package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.js.map +1 -0
  449. package/dist/service/iam/command/sim-iam-command.types.d.ts +3 -0
  450. package/dist/service/iam/command/sim-iam-command.types.d.ts.map +1 -1
  451. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.d.ts +9 -0
  452. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.d.ts.map +1 -0
  453. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.js +2 -0
  454. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.js.map +1 -0
  455. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.d.ts +30 -0
  456. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.d.ts.map +1 -0
  457. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.js +44 -0
  458. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.js.map +1 -0
  459. package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.d.ts +16 -0
  460. package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.d.ts.map +1 -0
  461. package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.js +2 -0
  462. package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.js.map +1 -0
  463. package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.d.ts +32 -0
  464. package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.d.ts.map +1 -0
  465. package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.js +59 -0
  466. package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.js.map +1 -0
  467. package/dist/service/iam/command/user/create-user/create-user-record-factory.d.ts.map +1 -1
  468. package/dist/service/iam/command/user/create-user/create-user-record-factory.js +1 -0
  469. package/dist/service/iam/command/user/create-user/create-user-record-factory.js.map +1 -1
  470. package/dist/service/iam/command/user/delete-user/delete-user.command.d.ts +19 -0
  471. package/dist/service/iam/command/user/delete-user/delete-user.command.d.ts.map +1 -0
  472. package/dist/service/iam/command/user/delete-user/delete-user.command.js +2 -0
  473. package/dist/service/iam/command/user/delete-user/delete-user.command.js.map +1 -0
  474. package/dist/service/iam/command/user/delete-user/delete-user.handler.d.ts +34 -0
  475. package/dist/service/iam/command/user/delete-user/delete-user.handler.d.ts.map +1 -0
  476. package/dist/service/iam/command/user/delete-user/delete-user.handler.js +51 -0
  477. package/dist/service/iam/command/user/delete-user/delete-user.handler.js.map +1 -0
  478. package/dist/service/iam/command/user/sim-iam-user-command-handlers.d.ts +15 -0
  479. package/dist/service/iam/command/user/sim-iam-user-command-handlers.d.ts.map +1 -1
  480. package/dist/service/iam/command/user/sim-iam-user-command-handlers.js +36 -0
  481. package/dist/service/iam/command/user/sim-iam-user-command-handlers.js.map +1 -1
  482. package/dist/service/iam/sdk/sim-iam-sdk-command-router.d.ts.map +1 -1
  483. package/dist/service/iam/sdk/sim-iam-sdk-command-router.js +12 -0
  484. package/dist/service/iam/sdk/sim-iam-sdk-command-router.js.map +1 -1
  485. package/dist/service/iam/serve/sim-iam-api.d.ts +18 -0
  486. package/dist/service/iam/serve/sim-iam-api.d.ts.map +1 -0
  487. package/dist/service/iam/serve/sim-iam-api.js +38 -0
  488. package/dist/service/iam/serve/sim-iam-api.js.map +1 -0
  489. package/dist/service/iam/serve/sim-iam-query-entity.d.ts +12 -0
  490. package/dist/service/iam/serve/sim-iam-query-entity.d.ts.map +1 -0
  491. package/dist/service/iam/serve/sim-iam-query-entity.js +22 -0
  492. package/dist/service/iam/serve/sim-iam-query-entity.js.map +1 -0
  493. package/dist/service/iam/serve/sim-iam-query-listing.d.ts +18 -0
  494. package/dist/service/iam/serve/sim-iam-query-listing.d.ts.map +1 -0
  495. package/dist/service/iam/serve/sim-iam-query-listing.js +25 -0
  496. package/dist/service/iam/serve/sim-iam-query-listing.js.map +1 -0
  497. package/dist/service/iam/serve/sim-iam-query-policy-operations.d.ts +6 -0
  498. package/dist/service/iam/serve/sim-iam-query-policy-operations.d.ts.map +1 -0
  499. package/dist/service/iam/serve/sim-iam-query-policy-operations.js +70 -0
  500. package/dist/service/iam/serve/sim-iam-query-policy-operations.js.map +1 -0
  501. package/dist/service/iam/serve/sim-iam-query-role-operations.d.ts +10 -0
  502. package/dist/service/iam/serve/sim-iam-query-role-operations.d.ts.map +1 -0
  503. package/dist/service/iam/serve/sim-iam-query-role-operations.js +108 -0
  504. package/dist/service/iam/serve/sim-iam-query-role-operations.js.map +1 -0
  505. package/dist/service/iam/serve/sim-iam-query-user-operations.d.ts +11 -0
  506. package/dist/service/iam/serve/sim-iam-query-user-operations.d.ts.map +1 -0
  507. package/dist/service/iam/serve/sim-iam-query-user-operations.js +62 -0
  508. package/dist/service/iam/serve/sim-iam-query-user-operations.js.map +1 -0
  509. package/dist/service/iam/sim-iam.d.ts +12 -0
  510. package/dist/service/iam/sim-iam.d.ts.map +1 -1
  511. package/dist/service/iam/sim-iam.js +18 -0
  512. package/dist/service/iam/sim-iam.js.map +1 -1
  513. package/dist/service/iam/user/sim-iam-user-login-profile.d.ts +14 -0
  514. package/dist/service/iam/user/sim-iam-user-login-profile.d.ts.map +1 -0
  515. package/dist/service/iam/user/sim-iam-user-login-profile.js +2 -0
  516. package/dist/service/iam/user/sim-iam-user-login-profile.js.map +1 -0
  517. package/dist/service/iam/user/sim-iam-user.d.ts +8 -0
  518. package/dist/service/iam/user/sim-iam-user.d.ts.map +1 -1
  519. package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts +6 -5
  520. package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts.map +1 -1
  521. package/dist/service/lambda/function/code/sim-lambda-executable-code.js +7 -6
  522. package/dist/service/lambda/function/code/sim-lambda-executable-code.js.map +1 -1
  523. package/dist/service/lambda/function/invoke/sim-lambda-host-scope.d.ts +11 -3
  524. package/dist/service/lambda/function/invoke/sim-lambda-host-scope.d.ts.map +1 -1
  525. package/dist/service/lambda/function/invoke/sim-lambda-host-scope.js +13 -7
  526. package/dist/service/lambda/function/invoke/sim-lambda-host-scope.js.map +1 -1
  527. package/dist/service/lambda/function/invoke/sim-lambda-process-output.d.ts +104 -0
  528. package/dist/service/lambda/function/invoke/sim-lambda-process-output.d.ts.map +1 -0
  529. package/dist/service/lambda/function/invoke/sim-lambda-process-output.js +133 -0
  530. package/dist/service/lambda/function/invoke/sim-lambda-process-output.js.map +1 -0
  531. package/dist/service/lambda/function/logging/sim-lambda-function-logging.d.ts +10 -0
  532. package/dist/service/lambda/function/logging/sim-lambda-function-logging.d.ts.map +1 -1
  533. package/dist/service/lambda/function/logging/sim-lambda-function-logging.js +11 -0
  534. package/dist/service/lambda/function/logging/sim-lambda-function-logging.js.map +1 -1
  535. package/dist/service/lambda/function/sim-lambda-function.d.ts +2 -1
  536. package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
  537. package/dist/service/lambda/function/sim-lambda-function.js +5 -2
  538. package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
  539. package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.d.ts +9 -0
  540. package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.d.ts.map +1 -0
  541. package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.js +59 -0
  542. package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.js.map +1 -0
  543. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts +6 -0
  544. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts.map +1 -0
  545. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js +91 -0
  546. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js.map +1 -0
  547. package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.d.ts +12 -0
  548. package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.d.ts.map +1 -0
  549. package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.js +28 -0
  550. package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.js.map +1 -0
  551. package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.d.ts +10 -0
  552. package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.d.ts.map +1 -0
  553. package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.js +36 -0
  554. package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.js.map +1 -0
  555. package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts +11 -0
  556. package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts.map +1 -0
  557. package/dist/service/lambda/serve/api/sim-lambda-api-routes.js +19 -0
  558. package/dist/service/lambda/serve/api/sim-lambda-api-routes.js.map +1 -0
  559. package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.d.ts +11 -0
  560. package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.d.ts.map +1 -0
  561. package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.js +50 -0
  562. package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.js.map +1 -0
  563. package/dist/service/lambda/serve/api/sim-lambda-api.d.ts +16 -0
  564. package/dist/service/lambda/serve/api/sim-lambda-api.d.ts.map +1 -0
  565. package/dist/service/lambda/serve/api/sim-lambda-api.js +22 -0
  566. package/dist/service/lambda/serve/api/sim-lambda-api.js.map +1 -0
  567. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +1 -1
  568. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -1
  569. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +9 -1
  570. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -1
  571. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -1
  572. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +0 -1
  573. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -1
  574. package/dist/service/s3/bucket/sim-s3-bucket.d.ts +10 -0
  575. package/dist/service/s3/bucket/sim-s3-bucket.d.ts.map +1 -1
  576. package/dist/service/s3/bucket/sim-s3-bucket.js +12 -0
  577. package/dist/service/s3/bucket/sim-s3-bucket.js.map +1 -1
  578. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.d.ts +23 -0
  579. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.d.ts.map +1 -0
  580. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.js +2 -0
  581. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.js.map +1 -0
  582. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.d.ts +23 -0
  583. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.d.ts.map +1 -0
  584. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.js +32 -0
  585. package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.js.map +1 -0
  586. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.d.ts +42 -0
  587. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.d.ts.map +1 -0
  588. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.js +2 -0
  589. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.js.map +1 -0
  590. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.d.ts +28 -0
  591. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.d.ts.map +1 -0
  592. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.js +73 -0
  593. package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.js.map +1 -0
  594. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.d.ts +30 -0
  595. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.d.ts.map +1 -0
  596. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.js +2 -0
  597. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.js.map +1 -0
  598. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.d.ts +21 -0
  599. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.d.ts.map +1 -0
  600. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.js +38 -0
  601. package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.js.map +1 -0
  602. package/dist/service/s3/command/get-object/get-object-loader.d.ts +5 -3
  603. package/dist/service/s3/command/get-object/get-object-loader.d.ts.map +1 -1
  604. package/dist/service/s3/command/get-object/get-object-loader.js +19 -4
  605. package/dist/service/s3/command/get-object/get-object-loader.js.map +1 -1
  606. package/dist/service/s3/command/get-object/get-object.command.d.ts +13 -0
  607. package/dist/service/s3/command/get-object/get-object.command.d.ts.map +1 -1
  608. package/dist/service/s3/command/get-object/get-object.handler.d.ts +3 -0
  609. package/dist/service/s3/command/get-object/get-object.handler.d.ts.map +1 -1
  610. package/dist/service/s3/command/get-object/get-object.handler.js +4 -1
  611. package/dist/service/s3/command/get-object/get-object.handler.js.map +1 -1
  612. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.d.ts +34 -0
  613. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.d.ts.map +1 -0
  614. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.js +2 -0
  615. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.js.map +1 -0
  616. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.d.ts +23 -0
  617. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.d.ts.map +1 -0
  618. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.js +43 -0
  619. package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.js.map +1 -0
  620. package/dist/service/s3/command/list-parts/list-parts.command.d.ts +37 -0
  621. package/dist/service/s3/command/list-parts/list-parts.command.d.ts.map +1 -0
  622. package/dist/service/s3/command/list-parts/list-parts.command.js +2 -0
  623. package/dist/service/s3/command/list-parts/list-parts.command.js.map +1 -0
  624. package/dist/service/s3/command/list-parts/list-parts.handler.d.ts +22 -0
  625. package/dist/service/s3/command/list-parts/list-parts.handler.d.ts.map +1 -0
  626. package/dist/service/s3/command/list-parts/list-parts.handler.js +47 -0
  627. package/dist/service/s3/command/list-parts/list-parts.handler.js.map +1 -0
  628. package/dist/service/s3/command/multipart/sim-s3-multipart-access.d.ts +54 -0
  629. package/dist/service/s3/command/multipart/sim-s3-multipart-access.d.ts.map +1 -0
  630. package/dist/service/s3/command/multipart/sim-s3-multipart-access.js +60 -0
  631. package/dist/service/s3/command/multipart/sim-s3-multipart-access.js.map +1 -0
  632. package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.d.ts +36 -0
  633. package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.d.ts.map +1 -0
  634. package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.js +52 -0
  635. package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.js.map +1 -0
  636. package/dist/service/s3/command/multipart/sim-s3-multipart-commands.d.ts +35 -0
  637. package/dist/service/s3/command/multipart/sim-s3-multipart-commands.d.ts.map +1 -0
  638. package/dist/service/s3/command/multipart/sim-s3-multipart-commands.js +52 -0
  639. package/dist/service/s3/command/multipart/sim-s3-multipart-commands.js.map +1 -0
  640. package/dist/service/s3/command/put-object/put-object-builder.d.ts +0 -32
  641. package/dist/service/s3/command/put-object/put-object-builder.d.ts.map +1 -1
  642. package/dist/service/s3/command/put-object/put-object-builder.js +5 -61
  643. package/dist/service/s3/command/put-object/put-object-builder.js.map +1 -1
  644. package/dist/service/s3/command/put-object/put-object.command.d.ts +7 -17
  645. package/dist/service/s3/command/put-object/put-object.command.d.ts.map +1 -1
  646. package/dist/service/s3/command/put-object/put-object.handler.d.ts.map +1 -1
  647. package/dist/service/s3/command/put-object/put-object.handler.js +6 -1
  648. package/dist/service/s3/command/put-object/put-object.handler.js.map +1 -1
  649. package/dist/service/s3/command/sim-s3-command.types.d.ts +6 -0
  650. package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
  651. package/dist/service/s3/command/upload-part/upload-part.command.d.ts +32 -0
  652. package/dist/service/s3/command/upload-part/upload-part.command.d.ts.map +1 -0
  653. package/dist/service/s3/command/upload-part/upload-part.command.js +2 -0
  654. package/dist/service/s3/command/upload-part/upload-part.command.js.map +1 -0
  655. package/dist/service/s3/command/upload-part/upload-part.handler.d.ts +22 -0
  656. package/dist/service/s3/command/upload-part/upload-part.handler.d.ts.map +1 -0
  657. package/dist/service/s3/command/upload-part/upload-part.handler.js +34 -0
  658. package/dist/service/s3/command/upload-part/upload-part.handler.js.map +1 -0
  659. package/dist/service/s3/error/sim-s3.error.d.ts +47 -0
  660. package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
  661. package/dist/service/s3/error/sim-s3.error.js +55 -0
  662. package/dist/service/s3/error/sim-s3.error.js.map +1 -1
  663. package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts +10 -0
  664. package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts.map +1 -1
  665. package/dist/service/s3/notification/event/sim-s3-object-event-builder.js +1 -1
  666. package/dist/service/s3/notification/event/sim-s3-object-event-builder.js.map +1 -1
  667. package/dist/service/s3/notification/sim-s3-object-notifier.d.ts +1 -1
  668. package/dist/service/s3/notification/sim-s3-object-notifier.js +2 -2
  669. package/dist/service/s3/notification/sim-s3-object-notifier.js.map +1 -1
  670. package/dist/service/s3/object/s3-object-etag.d.ts +20 -4
  671. package/dist/service/s3/object/s3-object-etag.d.ts.map +1 -1
  672. package/dist/service/s3/object/s3-object-etag.js +25 -4
  673. package/dist/service/s3/object/s3-object-etag.js.map +1 -1
  674. package/dist/service/s3/object/s3-object-range.d.ts +26 -0
  675. package/dist/service/s3/object/s3-object-range.d.ts.map +1 -0
  676. package/dist/service/s3/object/s3-object-range.js +89 -0
  677. package/dist/service/s3/object/s3-object-range.js.map +1 -0
  678. package/dist/service/s3/object/s3-object-response-headers.d.ts +7 -1
  679. package/dist/service/s3/object/s3-object-response-headers.d.ts.map +1 -1
  680. package/dist/service/s3/object/s3-object-response-headers.js +5 -1
  681. package/dist/service/s3/object/s3-object-response-headers.js.map +1 -1
  682. package/dist/service/s3/object/s3-object-summary.d.ts +9 -0
  683. package/dist/service/s3/object/s3-object-summary.d.ts.map +1 -1
  684. package/dist/service/s3/object/s3-object-summary.js +2 -2
  685. package/dist/service/s3/object/s3-object-summary.js.map +1 -1
  686. package/dist/service/s3/object/s3-object.d.ts +10 -0
  687. package/dist/service/s3/object/s3-object.d.ts.map +1 -1
  688. package/dist/service/s3/object/s3-object.js +7 -1
  689. package/dist/service/s3/object/s3-object.js.map +1 -1
  690. package/dist/service/s3/object/s3-write-body.d.ts +23 -0
  691. package/dist/service/s3/object/s3-write-body.d.ts.map +1 -0
  692. package/dist/service/s3/object/s3-write-body.js +26 -0
  693. package/dist/service/s3/object/s3-write-body.js.map +1 -0
  694. package/dist/service/s3/object/s3-write-metadata.d.ts +33 -0
  695. package/dist/service/s3/object/s3-write-metadata.d.ts.map +1 -0
  696. package/dist/service/s3/object/s3-write-metadata.js +35 -0
  697. package/dist/service/s3/object/s3-write-metadata.js.map +1 -0
  698. package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
  699. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +24 -0
  700. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
  701. package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.d.ts.map +1 -1
  702. package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.js +8 -0
  703. package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.js.map +1 -1
  704. package/dist/service/s3/serve/api/sim-s3-api-input.d.ts +0 -9
  705. package/dist/service/s3/serve/api/sim-s3-api-input.d.ts.map +1 -1
  706. package/dist/service/s3/serve/api/sim-s3-api-input.js +0 -23
  707. package/dist/service/s3/serve/api/sim-s3-api-input.js.map +1 -1
  708. package/dist/service/s3/serve/api/sim-s3-api-multipart-input.d.ts +25 -0
  709. package/dist/service/s3/serve/api/sim-s3-api-multipart-input.d.ts.map +1 -0
  710. package/dist/service/s3/serve/api/sim-s3-api-multipart-input.js +48 -0
  711. package/dist/service/s3/serve/api/sim-s3-api-multipart-input.js.map +1 -0
  712. package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.d.ts +36 -0
  713. package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.d.ts.map +1 -0
  714. package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.js +34 -0
  715. package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.js.map +1 -0
  716. package/dist/service/s3/serve/api/sim-s3-api-multipart-output.d.ts +10 -0
  717. package/dist/service/s3/serve/api/sim-s3-api-multipart-output.d.ts.map +1 -0
  718. package/dist/service/s3/serve/api/sim-s3-api-multipart-output.js +62 -0
  719. package/dist/service/s3/serve/api/sim-s3-api-multipart-output.js.map +1 -0
  720. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts +27 -0
  721. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -0
  722. package/dist/service/s3/serve/api/sim-s3-api-object-input.js +47 -0
  723. package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -0
  724. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +10 -0
  725. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -0
  726. package/dist/service/s3/serve/api/sim-s3-api-object-output.js +38 -0
  727. package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -0
  728. package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -1
  729. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +38 -2
  730. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
  731. package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -1
  732. package/dist/service/s3/serve/api/sim-s3-api-output.js +15 -36
  733. package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -1
  734. package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -1
  735. package/dist/service/s3/serve/api/sim-s3-api-routes.js +2 -1
  736. package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -1
  737. package/dist/service/s3/serve/api/sim-s3-api-xml-read.d.ts +7 -0
  738. package/dist/service/s3/serve/api/sim-s3-api-xml-read.d.ts.map +1 -1
  739. package/dist/service/s3/serve/api/sim-s3-api-xml-read.js +16 -1
  740. package/dist/service/s3/serve/api/sim-s3-api-xml-read.js.map +1 -1
  741. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts +5 -0
  742. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -1
  743. package/dist/service/s3/serve/sim-s3-rest-object-reader.js +20 -3
  744. package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -1
  745. package/dist/service/s3/sim-s3-commands.d.ts +2 -0
  746. package/dist/service/s3/sim-s3-commands.d.ts.map +1 -1
  747. package/dist/service/s3/sim-s3-commands.js +3 -0
  748. package/dist/service/s3/sim-s3-commands.js.map +1 -1
  749. package/dist/service/s3/sim-s3-operations.d.ts +12 -0
  750. package/dist/service/s3/sim-s3-operations.d.ts.map +1 -1
  751. package/dist/service/s3/sim-s3-operations.js +24 -0
  752. package/dist/service/s3/sim-s3-operations.js.map +1 -1
  753. package/dist/service/s3/upload/sim-s3-completed-upload.d.ts +30 -0
  754. package/dist/service/s3/upload/sim-s3-completed-upload.d.ts.map +1 -0
  755. package/dist/service/s3/upload/sim-s3-completed-upload.js +69 -0
  756. package/dist/service/s3/upload/sim-s3-completed-upload.js.map +1 -0
  757. package/dist/service/s3/upload/sim-s3-multipart-upload.d.ts +66 -0
  758. package/dist/service/s3/upload/sim-s3-multipart-upload.d.ts.map +1 -0
  759. package/dist/service/s3/upload/sim-s3-multipart-upload.js +78 -0
  760. package/dist/service/s3/upload/sim-s3-multipart-upload.js.map +1 -0
  761. package/dist/service/s3/upload/sim-s3-multipart-uploads.d.ts +48 -0
  762. package/dist/service/s3/upload/sim-s3-multipart-uploads.d.ts.map +1 -0
  763. package/dist/service/s3/upload/sim-s3-multipart-uploads.js +62 -0
  764. package/dist/service/s3/upload/sim-s3-multipart-uploads.js.map +1 -0
  765. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.d.ts +51 -0
  766. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.d.ts.map +1 -0
  767. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.js +89 -0
  768. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.js.map +1 -0
  769. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.d.ts +9 -0
  770. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.d.ts.map +1 -0
  771. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.js +40 -0
  772. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.js.map +1 -0
  773. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.d.ts +40 -0
  774. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.d.ts.map +1 -0
  775. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.js +90 -0
  776. package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.js.map +1 -0
  777. package/dist/service/sns/serve/sim-sns-api.d.ts +15 -0
  778. package/dist/service/sns/serve/sim-sns-api.d.ts.map +1 -0
  779. package/dist/service/sns/serve/sim-sns-api.js +37 -0
  780. package/dist/service/sns/serve/sim-sns-api.js.map +1 -0
  781. package/dist/service/sns/serve/sim-sns-query-publish-operations.d.ts +6 -0
  782. package/dist/service/sns/serve/sim-sns-query-publish-operations.d.ts.map +1 -0
  783. package/dist/service/sns/serve/sim-sns-query-publish-operations.js +36 -0
  784. package/dist/service/sns/serve/sim-sns-query-publish-operations.js.map +1 -0
  785. package/dist/service/sns/serve/sim-sns-query-published-message.d.ts +10 -0
  786. package/dist/service/sns/serve/sim-sns-query-published-message.d.ts.map +1 -0
  787. package/dist/service/sns/serve/sim-sns-query-published-message.js +39 -0
  788. package/dist/service/sns/serve/sim-sns-query-published-message.js.map +1 -0
  789. package/dist/service/sns/serve/sim-sns-query-sms-operations.d.ts +9 -0
  790. package/dist/service/sns/serve/sim-sns-query-sms-operations.d.ts.map +1 -0
  791. package/dist/service/sns/serve/sim-sns-query-sms-operations.js +40 -0
  792. package/dist/service/sns/serve/sim-sns-query-sms-operations.js.map +1 -0
  793. package/dist/service/sns/serve/sim-sns-query-subscription-operations.d.ts +6 -0
  794. package/dist/service/sns/serve/sim-sns-query-subscription-operations.d.ts.map +1 -0
  795. package/dist/service/sns/serve/sim-sns-query-subscription-operations.js +83 -0
  796. package/dist/service/sns/serve/sim-sns-query-subscription-operations.js.map +1 -0
  797. package/dist/service/sns/serve/sim-sns-query-topic-operations.d.ts +6 -0
  798. package/dist/service/sns/serve/sim-sns-query-topic-operations.d.ts.map +1 -0
  799. package/dist/service/sns/serve/sim-sns-query-topic-operations.js +62 -0
  800. package/dist/service/sns/serve/sim-sns-query-topic-operations.js.map +1 -0
  801. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts +32 -0
  802. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts.map +1 -0
  803. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js +61 -0
  804. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js.map +1 -0
  805. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.d.ts +14 -0
  806. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.d.ts.map +1 -0
  807. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.js +26 -0
  808. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.js.map +1 -0
  809. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.d.ts +11 -0
  810. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.d.ts.map +1 -0
  811. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.js +16 -0
  812. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.js.map +1 -0
  813. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.d.ts +40 -0
  814. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.d.ts.map +1 -0
  815. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.js +67 -0
  816. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.js.map +1 -0
  817. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.d.ts +8 -0
  818. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.d.ts.map +1 -0
  819. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.js +61 -0
  820. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.js.map +1 -0
  821. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.d.ts +19 -0
  822. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.d.ts.map +1 -0
  823. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.js +37 -0
  824. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.js.map +1 -0
  825. package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.d.ts +36 -0
  826. package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.d.ts.map +1 -0
  827. package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.js +48 -0
  828. package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.js.map +1 -0
  829. package/dist/service/ssm/sim-ssm.d.ts +15 -0
  830. package/dist/service/ssm/sim-ssm.d.ts.map +1 -1
  831. package/dist/service/ssm/sim-ssm.js +21 -0
  832. package/dist/service/ssm/sim-ssm.js.map +1 -1
  833. package/dist/service/sts/serve/sim-sts-api.d.ts +7 -19
  834. package/dist/service/sts/serve/sim-sts-api.d.ts.map +1 -1
  835. package/dist/service/sts/serve/sim-sts-api.js +44 -48
  836. package/dist/service/sts/serve/sim-sts-api.js.map +1 -1
  837. package/dist/util/xml/xml-document.d.ts +4 -0
  838. package/dist/util/xml/xml-document.d.ts.map +1 -1
  839. package/dist/util/xml/xml-document.js +11 -0
  840. package/dist/util/xml/xml-document.js.map +1 -1
  841. package/package.json +1 -1
  842. package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.d.ts +0 -25
  843. package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.d.ts.map +0 -1
  844. package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.js.map +0 -1
  845. package/dist/service/sts/serve/sim-sts-query-request.d.ts +0 -19
  846. package/dist/service/sts/serve/sim-sts-query-request.d.ts.map +0 -1
  847. package/dist/service/sts/serve/sim-sts-query-request.js +0 -27
  848. package/dist/service/sts/serve/sim-sts-query-request.js.map +0 -1
  849. package/dist/service/sts/serve/sim-sts-query-response.d.ts +0 -15
  850. package/dist/service/sts/serve/sim-sts-query-response.d.ts.map +0 -1
  851. package/dist/service/sts/serve/sim-sts-query-response.js +0 -42
  852. package/dist/service/sts/serve/sim-sts-query-response.js.map +0 -1
package/README.md CHANGED
@@ -46,6 +46,7 @@ npm i -D @kensio/yulin
46
46
 
47
47
  ## Feature specific docs
48
48
 
49
+ - [The AWS CLI](./docs/cli "The AWS CLI against simulated AWS docs")
49
50
  - [AWS SDK interception](./docs/sdk "Simulated AWS SDK docs")
50
51
  - [Serving on localhost](./docs/serve "Serving simulated AWS on localhost docs")
51
52
  - [Simulated time](./docs/time "Simulated time docs")
@@ -14,4 +14,16 @@ export declare function simSdkWireOutputResponse(output: unknown, contentType?:
14
14
  * production.
15
15
  */
16
16
  export declare function simSdkWireErrorResponse(error: unknown, contentType?: string): SimSdkWireResponse;
17
+ /**
18
+ * The status a simulated service error is answered with.
19
+ *
20
+ * Simulated services state the status real AWS uses in their error metadata.
21
+ * An error that states none is a client error rather than a fault: the request
22
+ * was understood and refused, so retrying it would only fail again.
23
+ *
24
+ * Something thrown that is not an Error at all is the exception. It is
25
+ * reported as InternalFailure, which real AWS answers with a server status,
26
+ * and it means the simulator itself went wrong rather than the request.
27
+ */
28
+ export declare function simSdkWireErrorStatusCode(error: unknown): number;
17
29
  //# sourceMappingURL=sim-sdk-wire-response.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sdk-wire-response.d.ts","sourceRoot":"","sources":["../../../src/sdk/wire/sim-sdk-wire-response.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAQlE;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,OAAO,EACf,WAAW,GAAE,MAA2B,GACvC,kBAAkB,CAMpB;AAED;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,OAAO,EACd,WAAW,GAAE,MAA2B,GACvC,kBAAkB,CAiBpB"}
1
+ {"version":3,"file":"sim-sdk-wire-response.d.ts","sourceRoot":"","sources":["../../../src/sdk/wire/sim-sdk-wire-response.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAQlE;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,OAAO,EACf,WAAW,GAAE,MAA2B,GACvC,kBAAkB,CAMpB;AAED;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,OAAO,EACd,WAAW,GAAE,MAA2B,GACvC,kBAAkB,CAiBpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAWhE"}
@@ -29,7 +29,7 @@ export function simSdkWireErrorResponse(error, contentType = defaultContentType)
29
29
  const errorType = error instanceof Error ? error.name : "InternalFailure";
30
30
  const message = error instanceof Error ? error.message : String(error);
31
31
  return {
32
- statusCode: errorStatusCode(error),
32
+ statusCode: simSdkWireErrorStatusCode(error),
33
33
  headers: {
34
34
  ...responseHeaders(contentType),
35
35
  ...Object.fromEntries([["x-amzn-errortype", errorType]]),
@@ -51,7 +51,7 @@ export function simSdkWireErrorResponse(error, contentType = defaultContentType)
51
51
  * reported as InternalFailure, which real AWS answers with a server status,
52
52
  * and it means the simulator itself went wrong rather than the request.
53
53
  */
54
- function errorStatusCode(error) {
54
+ export function simSdkWireErrorStatusCode(error) {
55
55
  if (!(error instanceof Error)) {
56
56
  return 500;
57
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sdk-wire-response.js","sourceRoot":"","sources":["../../../src/sdk/wire/sim-sdk-wire-response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D;;;GAGG;AACH,MAAM,kBAAkB,GAAG,4BAA4B,CAAC;AAExD;;GAEG;AACH,MAAM,UAAU,wBAAwB,CACtC,MAAe,EACf,WAAW,GAAW,kBAAkB;IAExC,OAAO;QACL,UAAU,EAAE,GAAG;QACf,OAAO,EAAE,eAAe,CAAC,WAAW,CAAC;QACrC,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC;KACjC,CAAC;AACJ,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,uBAAuB,CACrC,KAAc,EACd,WAAW,GAAW,kBAAkB;IAExC,MAAM,SAAS,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAC1E,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,C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AAO,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC;AAC3D,CAAC;AAED,SAAS,eAAe,CAAC,WAAmB;IAC1C,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;AAC7D,CAAC"}
@@ -0,0 +1,42 @@
1
+ import type { SimAwsCaller } from "../../../../service/aws/caller/sim-aws-caller.js";
2
+ import type { SimAws } from "../../../../service/aws/sim-aws.js";
3
+ import type { SimQueryOperations } from "./sim-query-operation.js";
4
+ interface SimQueryApiEndpointProperties {
5
+ readonly simAws: SimAws;
6
+ /** The SDK service id the simulated service's Command router is under. */
7
+ readonly serviceId: string;
8
+ /** The XML namespace this service stamps on every envelope it sends. */
9
+ readonly namespace: string;
10
+ readonly operations: SimQueryOperations;
11
+ }
12
+ /**
13
+ * Serves one Query protocol service to a client given an endpoint URL.
14
+ *
15
+ * The Query protocol names its operation in a form-encoded `Action` field
16
+ * rather than in a header or a path, and answers in an XML envelope named
17
+ * after that operation. Both halves are the protocol rather than the service,
18
+ * so every Query service is served by an instance of this, holding the
19
+ * operations it implements.
20
+ *
21
+ * An operation runs through the Command an SDK would have sent, so an HTTP
22
+ * caller reaches exactly the code an in-process caller does, and IAM
23
+ * authorizes it the same way. The Query action names and the SDK Command names
24
+ * are the same names, which is what lets one table serve both.
25
+ */
26
+ export declare class SimQueryApiEndpoint {
27
+ private readonly dispatcher;
28
+ private readonly serviceId;
29
+ private readonly operations;
30
+ private readonly protocol;
31
+ constructor(properties: SimQueryApiEndpointProperties);
32
+ /**
33
+ * Answer one Query request as the caller that signed it.
34
+ *
35
+ * An operation this service does not implement is refused in the Query error
36
+ * shape rather than left unanswered, so an SDK raises it by name instead of
37
+ * failing to parse the response.
38
+ */
39
+ handle(request: Request, body: Uint8Array, caller: SimAwsCaller, regionName: string): Promise<Response>;
40
+ }
41
+ export {};
42
+ //# sourceMappingURL=sim-query-endpoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-query-endpoint.d.ts","sourceRoot":"","sources":["../../../../../src/serve/http/api/query/sim-query-endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAMjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAKnE,UAAU,6BAA6B;IACrC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,0EAA0E;IAC1E,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,wEAAwE;IACxE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC;CACzC;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA0B;IACrD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAqB;IAChD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAmB;IAE5C,YAAY,UAAU,EAAE,6BAA6B,EAKpD;IAED;;;;;;OAMG;IACG,MAAM,CACV,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,QAAQ,CAAC,CAqCnB;CACF"}
@@ -0,0 +1,55 @@
1
+ import { SimSdkCommandDispatcher } from "../../../../sdk/sim-sdk-command-dispatcher.js";
2
+ import { makeSimSdkWireClient, makeSimSdkWireCommand, } from "../../../../sdk/wire/sim-sdk-wire-command.js";
3
+ import { readSimQueryRequest } from "./sim-query-request.js";
4
+ import { SimQueryProtocol } from "./sim-query-response.js";
5
+ /**
6
+ * Serves one Query protocol service to a client given an endpoint URL.
7
+ *
8
+ * The Query protocol names its operation in a form-encoded `Action` field
9
+ * rather than in a header or a path, and answers in an XML envelope named
10
+ * after that operation. Both halves are the protocol rather than the service,
11
+ * so every Query service is served by an instance of this, holding the
12
+ * operations it implements.
13
+ *
14
+ * An operation runs through the Command an SDK would have sent, so an HTTP
15
+ * caller reaches exactly the code an in-process caller does, and IAM
16
+ * authorizes it the same way. The Query action names and the SDK Command names
17
+ * are the same names, which is what lets one table serve both.
18
+ */
19
+ export class SimQueryApiEndpoint {
20
+ dispatcher;
21
+ serviceId;
22
+ operations;
23
+ protocol;
24
+ constructor(properties) {
25
+ this.dispatcher = new SimSdkCommandDispatcher(properties.simAws);
26
+ this.serviceId = properties.serviceId;
27
+ this.operations = properties.operations;
28
+ this.protocol = new SimQueryProtocol(properties.namespace);
29
+ }
30
+ /**
31
+ * Answer one Query request as the caller that signed it.
32
+ *
33
+ * An operation this service does not implement is refused in the Query error
34
+ * shape rather than left unanswered, so an SDK raises it by name instead of
35
+ * failing to parse the response.
36
+ */
37
+ async handle(request, body, caller, regionName) {
38
+ const query = readSimQueryRequest(request, body);
39
+ if (query === undefined) {
40
+ return this.protocol.error(400, "MissingAction", "The request is missing an Action field, which every AWS Query protocol request states.");
41
+ }
42
+ const operation = this.operations.get(query.action);
43
+ if (operation === undefined) {
44
+ return this.protocol.error(501, "NotImplemented", `Simulated ${this.serviceId} does not serve ${query.action}`);
45
+ }
46
+ try {
47
+ const output = await this.dispatcher.dispatch(makeSimSdkWireCommand(`${query.action}Command`, operation.input(query.fields)), makeSimSdkWireClient(this.serviceId, regionName), undefined, caller);
48
+ return this.protocol.response(query.action, operation.result((output ?? {})));
49
+ }
50
+ catch (error) {
51
+ return this.protocol.failure(error);
52
+ }
53
+ }
54
+ }
55
+ //# sourceMappingURL=sim-query-endpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-query-endpoint.js","sourceRoot":"","sources":["../../../../../src/serve/http/api/query/sim-query-endpoint.ts"],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MAAM,EAAE,CAC7D,CAAC;QACJ,CAAC;QAED,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,CAC3C,qBAAqB,CACnB,GAAG,KAAK,CAAC,MAAM,SAAS,EACxB,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAC9B,EACD,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,EAChD,SAAS,EACT,MAAM,CACP,CAAC;YAEF,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAC3B,KAAK,CAAC,MAAM,EACZ,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,IAAI,EAAE,CAAmB,CAAC,CACnD,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ import type { SimQueryFields } from "./sim-query-request.js";
2
+ import type { SimQueryOutput } from "./sim-query-result.js";
3
+ /**
4
+ * One operation a Query service serves. It knows how to read its input off the
5
+ * wire, and how to write the members its output answers with.
6
+ *
7
+ * A Query `Action` and an SDK Command are the same name. One key serves both,
8
+ * naming the action a request states and the Command the simulation is asked
9
+ * for.
10
+ */
11
+ export interface SimQueryOperation {
12
+ readonly input: (fields: SimQueryFields) => Record<string, unknown>;
13
+ readonly result: (output: SimQueryOutput) => string;
14
+ }
15
+ /**
16
+ * The operations one Query service serves, keyed by the `Action` naming each.
17
+ */
18
+ export type SimQueryOperations = ReadonlyMap<string, SimQueryOperation>;
19
+ //# sourceMappingURL=sim-query-operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-query-operation.d.ts","sourceRoot":"","sources":["../../../../../src/serve/http/api/query/sim-query-operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,QAAQ,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,MAAM,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-query-operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-query-operation.js","sourceRoot":"","sources":["../../../../../src/serve/http/api/query/sim-query-operation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,85 @@
1
+ /**
2
+ * One AWS Query protocol request, as the form encoding carries it.
3
+ *
4
+ * Query is the oldest of the AWS protocols. It states the operation in an
5
+ * `Action` field and its input in the same form encoding, either in the body
6
+ * of a POST or in the query string of a GET.
7
+ */
8
+ export interface SimQueryRequest {
9
+ readonly action: string;
10
+ readonly fields: SimQueryFields;
11
+ }
12
+ /**
13
+ * Read a request as the Query protocol operation it names.
14
+ *
15
+ * Returns undefined when no `Action` is stated, which is what separates a
16
+ * Query request from anything else that reached the endpoint.
17
+ */
18
+ export declare function readSimQueryRequest(request: Request, body: Uint8Array): SimQueryRequest | undefined;
19
+ /**
20
+ * The fields of one Query request, or of one structure inside it.
21
+ *
22
+ * Query has no nesting on the wire. A structure states its members under a
23
+ * dotted prefix, a list repeats a numbered `member` segment and a map repeats
24
+ * a numbered `entry` segment, so `Tags.member.2.Key` is the key of the second
25
+ * tag. Reading that back is a matter of knowing which prefix is in play, and an
26
+ * instance of this holds one. The whole request is the empty prefix, and each
27
+ * list member or map entry is the same fields under a longer one.
28
+ */
29
+ export declare class SimQueryFields {
30
+ private readonly fields;
31
+ private readonly prefix;
32
+ constructor(fields: URLSearchParams, prefix?: string);
33
+ /**
34
+ * One string member, or nothing when the request did not state it.
35
+ */
36
+ text(name: string): string | undefined;
37
+ /**
38
+ * One boolean member, which Query spells out as `true` or `false`.
39
+ */
40
+ flag(name: string): boolean | undefined;
41
+ /**
42
+ * One numeric member, which Query carries as its decimal text.
43
+ *
44
+ * Text that is not a number at all is nothing rather than NaN, so a
45
+ * simulated service sees a member the request never stated instead of a
46
+ * value it has to check.
47
+ */
48
+ number(name: string): number | undefined;
49
+ /**
50
+ * One blob member, which Query carries as base64 text.
51
+ */
52
+ binary(name: string): Uint8Array | undefined;
53
+ /**
54
+ * The members of a list, read one at a time from the fields under each
55
+ * subscript.
56
+ *
57
+ * A list nobody stated is nothing rather than an empty list. The two are
58
+ * different requests, and a simulated service refusing a member it does not
59
+ * implement has to tell a request that omitted it from one that sent it
60
+ * empty.
61
+ */
62
+ list<Value>(name: string, read: (member: SimQueryFields) => Value): readonly Value[] | undefined;
63
+ /**
64
+ * The entries of a map, each as the fields under its own subscript.
65
+ */
66
+ entries(name: string): readonly SimQueryFields[];
67
+ /**
68
+ * A map of strings to strings, which is the shape every attribute member of
69
+ * a Query request has.
70
+ *
71
+ * An entry stating no key is dropped rather than held under an empty one,
72
+ * since there is no attribute it could be naming.
73
+ */
74
+ attributes(name: string): Record<string, string> | undefined;
75
+ /**
76
+ * The subscripted prefixes a list or a map states under this one.
77
+ *
78
+ * The subscripts are read off the field names rather than counted up from
79
+ * one, because a request that skips a number is still a request, and they
80
+ * are ordered numerically so the list arrives in the order it was written
81
+ * rather than the order the form encoding happens to carry.
82
+ */
83
+ private subscripts;
84
+ }
85
+ //# sourceMappingURL=sim-query-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-query-request.d.ts","sourceRoot":"","sources":["../../../../../src/serve/http/api/query/sim-query-request.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;CACjC;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,UAAU,GACf,eAAe,GAAG,SAAS,CAO7B;AAED;;;;;;;;;GASG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC,YAAY,MAAM,EAAE,eAAe,EAAE,MAAM,SAAK,EAG/C;IAED;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAErC;IAED;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAItC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CASvC;IAED;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAI3C;IAED;;;;;;;;OAQG;IACH,IAAI,CAAC,KAAK,EACR,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,KAAK,GACtC,SAAS,KAAK,EAAE,GAAG,SAAS,CAI9B;IAED;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,cAAc,EAAE,CAE/C;IAED;;;;;;OAMG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAa3D;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,UAAU;CAgBnB"}
@@ -0,0 +1,136 @@
1
+ /**
2
+ * Read a request as the Query protocol operation it names.
3
+ *
4
+ * Returns undefined when no `Action` is stated, which is what separates a
5
+ * Query request from anything else that reached the endpoint.
6
+ */
7
+ export function readSimQueryRequest(request, body) {
8
+ const fields = queryFields(request, body);
9
+ const action = fields.get("Action");
10
+ return action === null || action.length === 0
11
+ ? undefined
12
+ : { action, fields: new SimQueryFields(fields) };
13
+ }
14
+ /**
15
+ * The fields of one Query request, or of one structure inside it.
16
+ *
17
+ * Query has no nesting on the wire. A structure states its members under a
18
+ * dotted prefix, a list repeats a numbered `member` segment and a map repeats
19
+ * a numbered `entry` segment, so `Tags.member.2.Key` is the key of the second
20
+ * tag. Reading that back is a matter of knowing which prefix is in play, and an
21
+ * instance of this holds one. The whole request is the empty prefix, and each
22
+ * list member or map entry is the same fields under a longer one.
23
+ */
24
+ export class SimQueryFields {
25
+ fields;
26
+ prefix;
27
+ constructor(fields, prefix = "") {
28
+ this.fields = fields;
29
+ this.prefix = prefix;
30
+ }
31
+ /**
32
+ * One string member, or nothing when the request did not state it.
33
+ */
34
+ text(name) {
35
+ return this.fields.get(`${this.prefix}${name}`) ?? undefined;
36
+ }
37
+ /**
38
+ * One boolean member, which Query spells out as `true` or `false`.
39
+ */
40
+ flag(name) {
41
+ const value = this.text(name);
42
+ return value === undefined ? undefined : value === "true";
43
+ }
44
+ /**
45
+ * One numeric member, which Query carries as its decimal text.
46
+ *
47
+ * Text that is not a number at all is nothing rather than NaN, so a
48
+ * simulated service sees a member the request never stated instead of a
49
+ * value it has to check.
50
+ */
51
+ number(name) {
52
+ const value = this.text(name);
53
+ if (value === undefined || value.trim().length === 0) {
54
+ return undefined;
55
+ }
56
+ const parsed = Number(value);
57
+ return Number.isNaN(parsed) ? undefined : parsed;
58
+ }
59
+ /**
60
+ * One blob member, which Query carries as base64 text.
61
+ */
62
+ binary(name) {
63
+ const value = this.text(name);
64
+ return value === undefined ? undefined : Buffer.from(value, "base64");
65
+ }
66
+ /**
67
+ * The members of a list, read one at a time from the fields under each
68
+ * subscript.
69
+ *
70
+ * A list nobody stated is nothing rather than an empty list. The two are
71
+ * different requests, and a simulated service refusing a member it does not
72
+ * implement has to tell a request that omitted it from one that sent it
73
+ * empty.
74
+ */
75
+ list(name, read) {
76
+ const members = this.subscripts(name, "member");
77
+ return members.length === 0 ? undefined : members.map(read);
78
+ }
79
+ /**
80
+ * The entries of a map, each as the fields under its own subscript.
81
+ */
82
+ entries(name) {
83
+ return this.subscripts(name, "entry");
84
+ }
85
+ /**
86
+ * A map of strings to strings, which is the shape every attribute member of
87
+ * a Query request has.
88
+ *
89
+ * An entry stating no key is dropped rather than held under an empty one,
90
+ * since there is no attribute it could be naming.
91
+ */
92
+ attributes(name) {
93
+ const entries = this.entries(name);
94
+ if (entries.length === 0) {
95
+ return undefined;
96
+ }
97
+ const named = entries
98
+ .map((entry) => ({ key: entry.text("key"), value: entry.text("value") }))
99
+ .filter((entry) => entry.key !== undefined && entry.key.length > 0);
100
+ return Object.fromEntries(named.map((entry) => [entry.key ?? "", entry.value ?? ""]));
101
+ }
102
+ /**
103
+ * The subscripted prefixes a list or a map states under this one.
104
+ *
105
+ * The subscripts are read off the field names rather than counted up from
106
+ * one, because a request that skips a number is still a request, and they
107
+ * are ordered numerically so the list arrives in the order it was written
108
+ * rather than the order the form encoding happens to carry.
109
+ */
110
+ subscripts(name, wrapper) {
111
+ const start = `${this.prefix}${name}.${wrapper}.`;
112
+ const subscripts = new Set();
113
+ for (const field of this.fields.keys()) {
114
+ if (field.startsWith(start)) {
115
+ subscripts.add(field.slice(start.length).split(".", 1)[0] ?? "");
116
+ }
117
+ }
118
+ return [...subscripts]
119
+ .toSorted((one, other) => Number(one) - Number(other))
120
+ .map((subscript) => new SimQueryFields(this.fields, `${start}${subscript}.`));
121
+ }
122
+ }
123
+ /**
124
+ * The form-encoded fields a request carried, wherever it put them.
125
+ *
126
+ * A POST carries them in the body and a GET in the query string, and the
127
+ * `aws` CLI sends a POST while a browser or a hand-written GET sends the
128
+ * other. Both are read so that neither has to be the supported one.
129
+ */
130
+ function queryFields(request, body) {
131
+ if (body.byteLength > 0) {
132
+ return new URLSearchParams(Buffer.from(body).toString("utf8"));
133
+ }
134
+ return new URL(request.url).searchParams;
135
+ }
136
+ //# sourceMappingURL=sim-query-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-query-request.js","sourceRoot":"","sources":["../../../../../src/serve/http/api/query/sim-query-request.ts"],"names":[],"mappings":"AAYA;;;;;GAKG;AACH,MAAM,UAAU,mBAAmB,CACjC,OAAgB,EAChB,IAAgB;IAEhB,MAAM,MAAM,GAAG,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC1C,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAEpC,OAAO,MAAM,KAAK,IAAI,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAC3C,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;AACrD,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,cAAc;IACR,MAAM,CAAkB;IACxB,MAAM,CAAS;IAEhC,YAAY,MAAuB,EAAE,MAAM,GAAG,EAAE;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,IAAY;QACf,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,EAAE,CAAC,IAAI,SAAS,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,IAAY;QACf,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAE9B,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC;IAC5D,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,IAAY;QACjB,M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CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,KAAK,GAAG,SAAS,GAAG,CAAC,CACxE,CAAC;IACN,CAAC;CACF;AAED;;;;;;GAMG;AACH,SAAS,WAAW,CAAC,OAAgB,EAAE,IAAgB;IACrD,IAAI,IAAI,CAAC,UAAU,GAAG,CAAC,EAAE,CAAC;QACxB,OAAO,IAAI,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IACjE,CAAC;IAED,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC;AAC3C,CAAC"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Writes the responses of one Query protocol service.
3
+ *
4
+ * Every Query response has the same shape: `<XResponse><XResult>...</XResult>`
5
+ * and a `ResponseMetadata` holding the request id. An SDK reads the operation's
6
+ * output out of the inner element, so the envelope carries the operation name
7
+ * rather than a generic one.
8
+ *
9
+ * What differs between services is the XML namespace stamped on the envelope,
10
+ * and each states its own. A client parses either way, since it reads the
11
+ * elements by name, so this is fidelity rather than something a caller depends
12
+ * on.
13
+ */
14
+ export declare class SimQueryProtocol {
15
+ private readonly namespace;
16
+ constructor(namespace: string);
17
+ /**
18
+ * Answer an operation with the result members it produced.
19
+ */
20
+ response(action: string, result: string): Response;
21
+ /**
22
+ * Refuse a request by name, in the shape an SDK reads an error out of.
23
+ */
24
+ error(status: number, code: string, message: string): Response;
25
+ /**
26
+ * Report what a simulated operation threw.
27
+ *
28
+ * A simulated service error already carries the AWS exception name and the
29
+ * status real AWS answers with, so an SDK raises it under the name a handler
30
+ * catching it in production would see.
31
+ */
32
+ failure(error: unknown): Response;
33
+ private xml;
34
+ }
35
+ //# sourceMappingURL=sim-query-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-query-response.d.ts","sourceRoot":"","sources":["../../../../../src/serve/http/api/query/sim-query-response.ts"],"names":[],"mappings":"AAYA;;;;;;;;;;;;GAYG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IAEnC,YAAY,SAAS,EAAE,MAAM,EAE5B;IAED;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,CAWjD;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ,CAc7D;IAED;;;;;;OAMG;IACH,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAKhC;IAED,OAAO,CAAC,GAAG;CAUZ"}
@@ -0,0 +1,63 @@
1
+ import { escapeXmlText, xmlElement, xmlValue, } from "../../../../util/xml/xml-writer.js";
2
+ import { simSdkWireErrorStatusCode } from "../../../../sdk/wire/sim-sdk-wire-response.js";
3
+ /**
4
+ * A request id, which every Query response carries and nothing reads back.
5
+ */
6
+ const simQueryRequestId = "00000000-0000-0000-0000-000000000000";
7
+ /**
8
+ * Writes the responses of one Query protocol service.
9
+ *
10
+ * Every Query response has the same shape: `<XResponse><XResult>...</XResult>`
11
+ * and a `ResponseMetadata` holding the request id. An SDK reads the operation's
12
+ * output out of the inner element, so the envelope carries the operation name
13
+ * rather than a generic one.
14
+ *
15
+ * What differs between services is the XML namespace stamped on the envelope,
16
+ * and each states its own. A client parses either way, since it reads the
17
+ * elements by name, so this is fidelity rather than something a caller depends
18
+ * on.
19
+ */
20
+ export class SimQueryProtocol {
21
+ namespace;
22
+ constructor(namespace) {
23
+ this.namespace = namespace;
24
+ }
25
+ /**
26
+ * Answer an operation with the result members it produced.
27
+ */
28
+ response(action, result) {
29
+ const metadata = xmlElement("ResponseMetadata", xmlValue("RequestId", simQueryRequestId));
30
+ return this.xml(200, `${action}Response`, `${xmlElement(`${action}Result`, result)}${metadata}`);
31
+ }
32
+ /**
33
+ * Refuse a request by name, in the shape an SDK reads an error out of.
34
+ */
35
+ error(status, code, message) {
36
+ const fault = status >= 500 ? "Receiver" : "Sender";
37
+ const error = xmlElement("Error", xmlValue("Type", fault) +
38
+ xmlValue("Code", code) +
39
+ xmlValue("Message", message));
40
+ return this.xml(status, "ErrorResponse", `${error}${xmlValue("RequestId", simQueryRequestId)}`);
41
+ }
42
+ /**
43
+ * Report what a simulated operation threw.
44
+ *
45
+ * A simulated service error already carries the AWS exception name and the
46
+ * status real AWS answers with, so an SDK raises it under the name a handler
47
+ * catching it in production would see.
48
+ */
49
+ failure(error) {
50
+ const code = error instanceof Error ? error.name : "InternalFailure";
51
+ const message = error instanceof Error ? error.message : String(error);
52
+ return this.error(simSdkWireErrorStatusCode(error), code, message);
53
+ }
54
+ xml(status, rootName, content) {
55
+ const body = '<?xml version="1.0" encoding="UTF-8"?>' +
56
+ `<${rootName} xmlns="${escapeXmlText(this.namespace)}">${content}</${rootName}>`;
57
+ return new Response(body, {
58
+ status,
59
+ headers: { "content-type": "text/xml" },
60
+ });
61
+ }
62
+ }
63
+ //# sourceMappingURL=sim-query-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-query-response.js","sourceRoot":"","sources":["../../../../../src/serve/http/api/query/sim-query-response.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,QAAQ,GACT,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAE1F;;GAEG;AACH,MAAM,iBAAiB,GAAG,sCAAsC,CAAC;AAEjE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,gBAAgB;IACV,SAAS,CAAS;IAEnC,YAAY,SAAiB;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,MAAc,EAAE,MAAc;QACrC,MAAM,QAAQ,GAAG,UAAU,CACzB,kBAAkB,EAClB,QAAQ,CAAC,WAAW,EAAE,iB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,GAAG,CAAC;QAEnF,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE;YACxB,MAAM;YACN,OAAO,EAAE,EAAE,cAAc,EAAE,UAAU,EAAE;SACxC,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * One simulated operation's output, as the members a Query result writes.
3
+ */
4
+ export type SimQueryOutput = Readonly<Record<string, unknown>>;
5
+ /**
6
+ * Write the named members of a structure, in the order they are given.
7
+ *
8
+ * Query writes a member the operation did not produce as no element at all
9
+ * rather than as an empty one, which is what `xmlValue` does with an absent
10
+ * value.
11
+ */
12
+ export declare function queryMembers(value: SimQueryOutput, names: readonly string[]): string;
13
+ /**
14
+ * Write a structure member, whose own members Query nests inside it.
15
+ *
16
+ * A structure the operation did not produce writes nothing, the same way an
17
+ * absent scalar member does, so a caller reads its absence rather than an
18
+ * empty element.
19
+ */
20
+ export declare function queryStructure(value: SimQueryOutput, name: string, members: (structure: SimQueryOutput) => string): string;
21
+ /**
22
+ * Write a list member, whose items Query wraps one `member` element each.
23
+ */
24
+ export declare function queryList(value: SimQueryOutput, name: string, item: (member: SimQueryOutput) => string): string;
25
+ /**
26
+ * Write a list member whose items are values rather than structures.
27
+ */
28
+ export declare function queryScalarList(value: SimQueryOutput, name: string): string;
29
+ /**
30
+ * Write a map member, whose pairs Query wraps one `entry` element each.
31
+ */
32
+ export declare function queryMap(value: SimQueryOutput, name: string): string;
33
+ //# sourceMappingURL=sim-query-result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-query-result.d.ts","sourceRoot":"","sources":["../../../../../src/serve/http/api/query/sim-query-result.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAE/D;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,cAAc,EACrB,KAAK,EAAE,SAAS,MAAM,EAAE,GACvB,MAAM,CAER;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,CAAC,SAAS,EAAE,cAAc,KAAK,MAAM,GAC7C,MAAM,CAIR;AAED;;GAEG;AACH,wBAAgB,SAAS,CACvB,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,MAAM,GACvC,MAAM,CAWR;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAU3E;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAgBpE"}