@kensio/yulin 1.17.0 → 1.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (830) hide show
  1. package/README.md +1 -0
  2. package/dist/serve/http/local-server/sim-aws-local-location.d.ts +55 -0
  3. package/dist/serve/http/local-server/sim-aws-local-location.d.ts.map +1 -0
  4. package/dist/serve/http/local-server/sim-aws-local-location.js +80 -0
  5. package/dist/serve/http/local-server/sim-aws-local-location.js.map +1 -0
  6. package/dist/serve/http/local-server/sim-aws-local-request-handler.d.ts +7 -0
  7. package/dist/serve/http/local-server/sim-aws-local-request-handler.d.ts.map +1 -1
  8. package/dist/serve/http/local-server/sim-aws-local-request-handler.js +10 -3
  9. package/dist/serve/http/local-server/sim-aws-local-request-handler.js.map +1 -1
  10. package/dist/serve/http/local-server/sim-aws-local-server.d.ts.map +1 -1
  11. package/dist/serve/http/local-server/sim-aws-local-server.js +5 -0
  12. package/dist/serve/http/local-server/sim-aws-local-server.js.map +1 -1
  13. package/dist/serve/http/node-fetch-http-adapter.d.ts +9 -0
  14. package/dist/serve/http/node-fetch-http-adapter.d.ts.map +1 -1
  15. package/dist/serve/http/node-fetch-http-adapter.js +17 -1
  16. package/dist/serve/http/node-fetch-http-adapter.js.map +1 -1
  17. package/dist/service/acm/certificate/register-sim-acm-certificate.d.ts +41 -0
  18. package/dist/service/acm/certificate/register-sim-acm-certificate.d.ts.map +1 -0
  19. package/dist/service/acm/certificate/register-sim-acm-certificate.js +60 -0
  20. package/dist/service/acm/certificate/register-sim-acm-certificate.js.map +1 -0
  21. package/dist/service/acm/command/request-certificate/request-certificate.handler.d.ts +9 -0
  22. package/dist/service/acm/command/request-certificate/request-certificate.handler.d.ts.map +1 -1
  23. package/dist/service/acm/command/request-certificate/request-certificate.handler.js +18 -1
  24. package/dist/service/acm/command/request-certificate/request-certificate.handler.js.map +1 -1
  25. package/dist/service/acm/sim-acm.d.ts +15 -0
  26. package/dist/service/acm/sim-acm.d.ts.map +1 -1
  27. package/dist/service/acm/sim-acm.js +21 -0
  28. package/dist/service/acm/sim-acm.js.map +1 -1
  29. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts +23 -4
  30. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts.map +1 -1
  31. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js +56 -14
  32. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js.map +1 -1
  33. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts +1 -1
  34. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts.map +1 -1
  35. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts +7 -3
  36. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts.map +1 -1
  37. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js +6 -2
  38. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js.map +1 -1
  39. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts +11 -12
  40. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts.map +1 -1
  41. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js +15 -7
  42. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js.map +1 -1
  43. package/dist/service/apigatewayv2/serve/sim-http-api-function-target.d.ts +17 -0
  44. package/dist/service/apigatewayv2/serve/sim-http-api-function-target.d.ts.map +1 -0
  45. package/dist/service/apigatewayv2/serve/sim-http-api-function-target.js +2 -0
  46. package/dist/service/apigatewayv2/serve/sim-http-api-function-target.js.map +1 -0
  47. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.d.ts.map +1 -1
  48. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js +1 -1
  49. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js.map +1 -1
  50. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js +1 -1
  51. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js.map +1 -1
  52. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts +4 -0
  53. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts.map +1 -1
  54. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js +7 -2
  55. package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js.map +1 -1
  56. package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts.map +1 -1
  57. package/dist/service/cloudformation/command/create-stack/create-stack.handler.js +2 -2
  58. package/dist/service/cloudformation/command/create-stack/create-stack.handler.js.map +1 -1
  59. package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts.map +1 -1
  60. package/dist/service/cloudformation/command/update-stack/update-stack.handler.js +2 -2
  61. package/dist/service/cloudformation/command/update-stack/update-stack.handler.js.map +1 -1
  62. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts +1 -1
  63. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts.map +1 -1
  64. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js +6 -4
  65. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js.map +1 -1
  66. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts +4 -0
  67. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts.map +1 -1
  68. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js.map +1 -1
  69. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +25 -2
  70. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts.map +1 -1
  71. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js +13 -0
  72. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js.map +1 -1
  73. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.d.ts.map +1 -1
  74. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js +3 -3
  75. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js.map +1 -1
  76. package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.d.ts +10 -0
  77. package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.d.ts.map +1 -0
  78. package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.js +30 -0
  79. package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.js.map +1 -0
  80. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts +2 -4
  81. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts.map +1 -1
  82. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js +2 -3
  83. package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js.map +1 -1
  84. package/dist/service/cloudformation/index.d.ts +1 -1
  85. package/dist/service/cloudformation/index.d.ts.map +1 -1
  86. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.d.ts.map +1 -1
  87. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.js +4 -0
  88. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.js.map +1 -1
  89. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.d.ts +28 -0
  90. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.d.ts.map +1 -0
  91. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.js +33 -0
  92. package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.js.map +1 -0
  93. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.d.ts.map +1 -1
  94. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js +11 -0
  95. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js.map +1 -1
  96. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.d.ts +29 -0
  97. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.d.ts.map +1 -0
  98. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.js +31 -0
  99. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.js.map +1 -0
  100. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.d.ts +35 -0
  101. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.d.ts.map +1 -0
  102. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.js +40 -0
  103. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.js.map +1 -0
  104. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts +6 -0
  105. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts.map +1 -1
  106. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js +3 -0
  107. package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js.map +1 -1
  108. package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
  109. package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +1 -0
  110. package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
  111. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.d.ts +20 -0
  112. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.d.ts.map +1 -0
  113. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.js +80 -0
  114. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.js.map +1 -0
  115. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.d.ts +46 -0
  116. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.d.ts.map +1 -0
  117. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.js +103 -0
  118. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.js.map +1 -0
  119. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.d.ts +28 -0
  120. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.d.ts.map +1 -0
  121. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.js +81 -0
  122. package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.js.map +1 -0
  123. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.d.ts +52 -0
  124. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.d.ts.map +1 -0
  125. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.js +38 -0
  126. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.js.map +1 -0
  127. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.d.ts +16 -0
  128. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.d.ts.map +1 -0
  129. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.js +21 -0
  130. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.js.map +1 -0
  131. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.d.ts +26 -0
  132. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.d.ts.map +1 -0
  133. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.js +84 -0
  134. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.js.map +1 -0
  135. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.d.ts +24 -0
  136. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.d.ts.map +1 -0
  137. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.js +41 -0
  138. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.js.map +1 -0
  139. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.d.ts +20 -0
  140. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.d.ts.map +1 -0
  141. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.js +56 -0
  142. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.js.map +1 -0
  143. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.d.ts +11 -0
  144. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.d.ts.map +1 -0
  145. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.js +57 -0
  146. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.js.map +1 -0
  147. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.d.ts +25 -0
  148. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.d.ts.map +1 -0
  149. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.js +42 -0
  150. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.js.map +1 -0
  151. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.d.ts +17 -0
  152. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.d.ts.map +1 -0
  153. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.js +26 -0
  154. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.js.map +1 -0
  155. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.d.ts +32 -0
  156. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.d.ts.map +1 -0
  157. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.js +70 -0
  158. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.js.map +1 -0
  159. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.d.ts +20 -0
  160. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.d.ts.map +1 -0
  161. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.js +71 -0
  162. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.js.map +1 -0
  163. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.d.ts +14 -0
  164. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.d.ts.map +1 -0
  165. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.js +38 -0
  166. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.js.map +1 -0
  167. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.d.ts +18 -0
  168. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.d.ts.map +1 -0
  169. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.js +56 -0
  170. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.js.map +1 -0
  171. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.d.ts +20 -0
  172. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.d.ts.map +1 -0
  173. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.js +41 -0
  174. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.js.map +1 -0
  175. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.d.ts +29 -0
  176. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.d.ts.map +1 -0
  177. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.js +23 -0
  178. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.js.map +1 -0
  179. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.d.ts +33 -0
  180. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.d.ts.map +1 -0
  181. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.js +103 -0
  182. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.js.map +1 -0
  183. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.d.ts +22 -0
  184. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.d.ts.map +1 -0
  185. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.js +76 -0
  186. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.js.map +1 -0
  187. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.d.ts +17 -0
  188. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.d.ts.map +1 -0
  189. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.js +22 -0
  190. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.js.map +1 -0
  191. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.d.ts +15 -0
  192. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.d.ts.map +1 -0
  193. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.js +97 -0
  194. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.js.map +1 -0
  195. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.d.ts +23 -0
  196. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.d.ts.map +1 -0
  197. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.js +60 -0
  198. package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.js.map +1 -0
  199. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.d.ts +31 -0
  200. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.d.ts.map +1 -0
  201. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.js +74 -0
  202. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.js.map +1 -0
  203. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.d.ts +24 -0
  204. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.d.ts.map +1 -0
  205. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.js +67 -0
  206. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.js.map +1 -0
  207. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.d.ts +18 -0
  208. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.d.ts.map +1 -0
  209. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.js +35 -0
  210. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.js.map +1 -0
  211. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.d.ts +45 -0
  212. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.d.ts.map +1 -0
  213. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.js +50 -0
  214. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.js.map +1 -0
  215. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.d.ts +19 -0
  216. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.d.ts.map +1 -0
  217. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.js +37 -0
  218. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.js.map +1 -0
  219. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.d.ts +44 -0
  220. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.d.ts.map +1 -0
  221. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.js +74 -0
  222. package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.js.map +1 -0
  223. package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.d.ts +18 -0
  224. package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.d.ts.map +1 -0
  225. package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.js +83 -0
  226. package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.js.map +1 -0
  227. package/dist/service/cloudformation/sam/sim-cfn-sam-globals.d.ts +36 -0
  228. package/dist/service/cloudformation/sam/sim-cfn-sam-globals.d.ts.map +1 -0
  229. package/dist/service/cloudformation/sam/sim-cfn-sam-globals.js +76 -0
  230. package/dist/service/cloudformation/sam/sim-cfn-sam-globals.js.map +1 -0
  231. package/dist/service/cloudformation/sam/sim-cfn-sam-picked.d.ts +10 -0
  232. package/dist/service/cloudformation/sam/sim-cfn-sam-picked.d.ts.map +1 -0
  233. package/dist/service/cloudformation/sam/sim-cfn-sam-picked.js +11 -0
  234. package/dist/service/cloudformation/sam/sim-cfn-sam-picked.js.map +1 -0
  235. package/dist/service/cloudformation/sam/sim-cfn-sam-record.d.ts +40 -0
  236. package/dist/service/cloudformation/sam/sim-cfn-sam-record.d.ts.map +1 -0
  237. package/dist/service/cloudformation/sam/sim-cfn-sam-record.js +50 -0
  238. package/dist/service/cloudformation/sam/sim-cfn-sam-record.js.map +1 -0
  239. package/dist/service/cloudformation/sam/sim-cfn-sam-transform.d.ts +23 -0
  240. package/dist/service/cloudformation/sam/sim-cfn-sam-transform.d.ts.map +1 -0
  241. package/dist/service/cloudformation/sam/sim-cfn-sam-transform.js +48 -0
  242. package/dist/service/cloudformation/sam/sim-cfn-sam-transform.js.map +1 -0
  243. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.d.ts +18 -0
  244. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.d.ts.map +1 -0
  245. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.js +52 -0
  246. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.js.map +1 -0
  247. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.d.ts +40 -0
  248. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.d.ts.map +1 -0
  249. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.js +47 -0
  250. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.js.map +1 -0
  251. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.d.ts +25 -0
  252. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.d.ts.map +1 -0
  253. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.js +77 -0
  254. package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.js.map +1 -0
  255. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts +1 -0
  256. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts.map +1 -1
  257. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js +2 -1
  258. package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js.map +1 -1
  259. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts.map +1 -1
  260. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js +4 -0
  261. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js.map +1 -1
  262. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts +19 -1
  263. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts.map +1 -1
  264. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts +6 -0
  265. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts.map +1 -1
  266. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js +9 -3
  267. package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js.map +1 -1
  268. package/dist/service/cloudformation/template/sim-cfn-template-body-parse.d.ts +19 -0
  269. package/dist/service/cloudformation/template/sim-cfn-template-body-parse.d.ts.map +1 -0
  270. package/dist/service/cloudformation/template/sim-cfn-template-body-parse.js +36 -0
  271. package/dist/service/cloudformation/template/sim-cfn-template-body-parse.js.map +1 -0
  272. package/dist/service/cloudformation/template/sim-cfn-template.d.ts +11 -4
  273. package/dist/service/cloudformation/template/sim-cfn-template.d.ts.map +1 -1
  274. package/dist/service/cloudformation/template/sim-cfn-template.js +16 -13
  275. package/dist/service/cloudformation/template/sim-cfn-template.js.map +1 -1
  276. package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.d.ts +11 -0
  277. package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.d.ts.map +1 -0
  278. package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.js +41 -0
  279. package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.js.map +1 -0
  280. package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.d.ts +17 -0
  281. package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.d.ts.map +1 -0
  282. package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.js +70 -0
  283. package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.js.map +1 -0
  284. package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.d.ts +23 -0
  285. package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.d.ts.map +1 -1
  286. package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.js +64 -22
  287. package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.js.map +1 -1
  288. package/dist/service/cloudfront/command/create-function/create-function-code-size.d.ts +23 -0
  289. package/dist/service/cloudfront/command/create-function/create-function-code-size.d.ts.map +1 -0
  290. package/dist/service/cloudfront/command/create-function/create-function-code-size.js +33 -0
  291. package/dist/service/cloudfront/command/create-function/create-function-code-size.js.map +1 -0
  292. package/dist/service/cloudfront/command/create-function/create-function.handler.d.ts.map +1 -1
  293. package/dist/service/cloudfront/command/create-function/create-function.handler.js +2 -0
  294. package/dist/service/cloudfront/command/create-function/create-function.handler.js.map +1 -1
  295. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +11 -0
  296. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
  297. package/dist/service/cloudfront/error/sim-cloudfront.error.js +13 -0
  298. package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
  299. package/dist/service/cloudfront/index.d.ts +1 -1
  300. package/dist/service/cloudfront/index.d.ts.map +1 -1
  301. package/dist/service/cloudfront/index.js +1 -1
  302. package/dist/service/cloudfront/index.js.map +1 -1
  303. package/dist/service/cloudfront/typings/cloudfront-functions.namespace.d.ts +1 -1
  304. package/dist/service/cloudfront/typings/cloudfront-functions.namespace.d.ts.map +1 -1
  305. package/dist/service/cognito/command/sim-cognito-commands.d.ts +6 -0
  306. package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
  307. package/dist/service/cognito/command/sim-cognito-commands.js +22 -6
  308. package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
  309. package/dist/service/cognito/error/sim-cognito.error.d.ts +22 -0
  310. package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
  311. package/dist/service/cognito/error/sim-cognito.error.js +26 -0
  312. package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
  313. package/dist/service/cognito/index.d.ts +2 -1
  314. package/dist/service/cognito/index.d.ts.map +1 -1
  315. package/dist/service/cognito/index.js +1 -1
  316. package/dist/service/cognito/index.js.map +1 -1
  317. package/dist/service/cognito/sim-cognito-identity-provider.d.ts +24 -0
  318. package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
  319. package/dist/service/cognito/sim-cognito-identity-provider.js +26 -0
  320. package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
  321. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +9 -0
  322. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
  323. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -2
  324. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
  325. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.d.ts +22 -0
  326. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.d.ts.map +1 -0
  327. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.js +36 -0
  328. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.js.map +1 -0
  329. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.d.ts +25 -0
  330. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.d.ts.map +1 -0
  331. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.js +30 -0
  332. package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.js.map +1 -0
  333. package/dist/service/cognito/user-pool/sim-cognito-registration.types.d.ts +40 -0
  334. package/dist/service/cognito/user-pool/sim-cognito-registration.types.d.ts.map +1 -0
  335. package/dist/service/cognito/user-pool/sim-cognito-registration.types.js +2 -0
  336. package/dist/service/cognito/user-pool/sim-cognito-registration.types.js.map +1 -0
  337. package/dist/service/cognito/user-pool/sim-cognito-registrations.d.ts +34 -0
  338. package/dist/service/cognito/user-pool/sim-cognito-registrations.d.ts.map +1 -0
  339. package/dist/service/cognito/user-pool/sim-cognito-registrations.js +28 -0
  340. package/dist/service/cognito/user-pool/sim-cognito-registrations.js.map +1 -0
  341. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts +9 -0
  342. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts.map +1 -1
  343. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js +3 -2
  344. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js.map +1 -1
  345. package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.d.ts +9 -0
  346. package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.d.ts.map +1 -1
  347. package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.js +18 -0
  348. package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.js.map +1 -1
  349. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +8 -0
  350. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
  351. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +15 -1
  352. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
  353. package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.d.ts +1 -1
  354. package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.d.ts.map +1 -1
  355. package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.js +26 -19
  356. package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.js.map +1 -1
  357. package/dist/service/elbv2/serve/sim-elbv2-invoke-authorizer.js +1 -1
  358. package/dist/service/elbv2/serve/sim-elbv2-invoke-authorizer.js.map +1 -1
  359. package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.d.ts +5 -3
  360. package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.d.ts.map +1 -1
  361. package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.js +14 -9
  362. package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.js.map +1 -1
  363. package/dist/service/eventbridge/target/sim-event-target-arn.d.ts +13 -6
  364. package/dist/service/eventbridge/target/sim-event-target-arn.d.ts.map +1 -1
  365. package/dist/service/eventbridge/target/sim-event-target-arn.js +17 -7
  366. package/dist/service/eventbridge/target/sim-event-target-arn.js.map +1 -1
  367. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts +40 -0
  368. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts.map +1 -0
  369. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js +65 -0
  370. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js.map +1 -0
  371. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts +1 -0
  372. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts.map +1 -1
  373. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js +5 -0
  374. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js.map +1 -1
  375. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts +11 -20
  376. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts.map +1 -1
  377. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js +29 -61
  378. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js.map +1 -1
  379. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.d.ts +38 -0
  380. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.d.ts.map +1 -0
  381. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.js +79 -0
  382. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.js.map +1 -0
  383. package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.d.ts +2 -2
  384. package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.d.ts.map +1 -1
  385. package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.js +4 -2
  386. package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.js.map +1 -1
  387. package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.d.ts +35 -0
  388. package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.d.ts.map +1 -0
  389. package/dist/service/iam/cfn/{role/sim-cfn-iam-role-policies-parser.js → sim-cfn-iam-policies-parser.js} +17 -12
  390. package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.js.map +1 -0
  391. package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts +11 -0
  392. package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts.map +1 -1
  393. package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js +25 -0
  394. package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js.map +1 -1
  395. package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.d.ts +1 -0
  396. package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.d.ts.map +1 -1
  397. package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js +6 -0
  398. package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js.map +1 -1
  399. package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts +28 -0
  400. package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts.map +1 -0
  401. package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js +67 -0
  402. package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js.map +1 -0
  403. package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts +26 -0
  404. package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts.map +1 -0
  405. package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js +29 -0
  406. package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js.map +1 -0
  407. package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.d.ts +38 -0
  408. package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.d.ts.map +1 -0
  409. package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.js +80 -0
  410. package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.js.map +1 -0
  411. package/dist/service/iam/command/sim-iam-command.types.d.ts +3 -0
  412. package/dist/service/iam/command/sim-iam-command.types.d.ts.map +1 -1
  413. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.d.ts +9 -0
  414. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.d.ts.map +1 -0
  415. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.js +2 -0
  416. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.js.map +1 -0
  417. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.d.ts +30 -0
  418. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.d.ts.map +1 -0
  419. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.js +44 -0
  420. package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.js.map +1 -0
  421. package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.d.ts +16 -0
  422. package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.d.ts.map +1 -0
  423. package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.js +2 -0
  424. package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.js.map +1 -0
  425. package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.d.ts +32 -0
  426. package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.d.ts.map +1 -0
  427. package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.js +59 -0
  428. package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.js.map +1 -0
  429. package/dist/service/iam/command/user/create-user/create-user-record-factory.d.ts.map +1 -1
  430. package/dist/service/iam/command/user/create-user/create-user-record-factory.js +1 -0
  431. package/dist/service/iam/command/user/create-user/create-user-record-factory.js.map +1 -1
  432. package/dist/service/iam/command/user/delete-user/delete-user.command.d.ts +19 -0
  433. package/dist/service/iam/command/user/delete-user/delete-user.command.d.ts.map +1 -0
  434. package/dist/service/iam/command/user/delete-user/delete-user.command.js +2 -0
  435. package/dist/service/iam/command/user/delete-user/delete-user.command.js.map +1 -0
  436. package/dist/service/iam/command/user/delete-user/delete-user.handler.d.ts +34 -0
  437. package/dist/service/iam/command/user/delete-user/delete-user.handler.d.ts.map +1 -0
  438. package/dist/service/iam/command/user/delete-user/delete-user.handler.js +51 -0
  439. package/dist/service/iam/command/user/delete-user/delete-user.handler.js.map +1 -0
  440. package/dist/service/iam/command/user/sim-iam-user-command-handlers.d.ts +15 -0
  441. package/dist/service/iam/command/user/sim-iam-user-command-handlers.d.ts.map +1 -1
  442. package/dist/service/iam/command/user/sim-iam-user-command-handlers.js +36 -0
  443. package/dist/service/iam/command/user/sim-iam-user-command-handlers.js.map +1 -1
  444. package/dist/service/iam/sdk/sim-iam-sdk-command-router.d.ts.map +1 -1
  445. package/dist/service/iam/sdk/sim-iam-sdk-command-router.js +12 -0
  446. package/dist/service/iam/sdk/sim-iam-sdk-command-router.js.map +1 -1
  447. package/dist/service/iam/sim-iam.d.ts +12 -0
  448. package/dist/service/iam/sim-iam.d.ts.map +1 -1
  449. package/dist/service/iam/sim-iam.js +18 -0
  450. package/dist/service/iam/sim-iam.js.map +1 -1
  451. package/dist/service/iam/user/sim-iam-user-login-profile.d.ts +14 -0
  452. package/dist/service/iam/user/sim-iam-user-login-profile.d.ts.map +1 -0
  453. package/dist/service/iam/user/sim-iam-user-login-profile.js +2 -0
  454. package/dist/service/iam/user/sim-iam-user-login-profile.js.map +1 -0
  455. package/dist/service/iam/user/sim-iam-user.d.ts +8 -0
  456. package/dist/service/iam/user/sim-iam-user.d.ts.map +1 -1
  457. package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.d.ts +30 -0
  458. package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.d.ts.map +1 -0
  459. package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.js +41 -0
  460. package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.js.map +1 -0
  461. package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js +1 -1
  462. package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js.map +1 -1
  463. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts +12 -1
  464. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts.map +1 -1
  465. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js +15 -3
  466. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js.map +1 -1
  467. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.d.ts +6 -1
  468. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.d.ts.map +1 -1
  469. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.js +11 -5
  470. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.js.map +1 -1
  471. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.d.ts +12 -0
  472. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.d.ts.map +1 -0
  473. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.js +22 -0
  474. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.js.map +1 -0
  475. package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.d.ts +10 -0
  476. package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.d.ts.map +1 -0
  477. package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.js +14 -0
  478. package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.js.map +1 -0
  479. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts +2 -6
  480. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts.map +1 -1
  481. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js +24 -19
  482. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js.map +1 -1
  483. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +2 -0
  484. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
  485. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +12 -0
  486. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
  487. package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.d.ts +31 -0
  488. package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.d.ts.map +1 -0
  489. package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.js +40 -0
  490. package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.js.map +1 -0
  491. package/dist/service/lambda/command/add-permission/add-permission.command.d.ts +1 -0
  492. package/dist/service/lambda/command/add-permission/add-permission.command.d.ts.map +1 -1
  493. package/dist/service/lambda/command/add-permission/add-permission.handler.d.ts +8 -1
  494. package/dist/service/lambda/command/add-permission/add-permission.handler.d.ts.map +1 -1
  495. package/dist/service/lambda/command/add-permission/add-permission.handler.js +13 -6
  496. package/dist/service/lambda/command/add-permission/add-permission.handler.js.map +1 -1
  497. package/dist/service/lambda/command/alias/alias-input.d.ts +21 -0
  498. package/dist/service/lambda/command/alias/alias-input.d.ts.map +1 -0
  499. package/dist/service/lambda/command/alias/alias-input.js +30 -0
  500. package/dist/service/lambda/command/alias/alias-input.js.map +1 -0
  501. package/dist/service/lambda/command/alias/sim-lambda-alias-commands.d.ts +52 -0
  502. package/dist/service/lambda/command/alias/sim-lambda-alias-commands.d.ts.map +1 -0
  503. package/dist/service/lambda/command/alias/sim-lambda-alias-commands.js +49 -0
  504. package/dist/service/lambda/command/alias/sim-lambda-alias-commands.js.map +1 -0
  505. package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.d.ts +9 -7
  506. package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.d.ts.map +1 -1
  507. package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.js +11 -9
  508. package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.js.map +1 -1
  509. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts +10 -2
  510. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts.map +1 -1
  511. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js +2 -2
  512. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js.map +1 -1
  513. package/dist/service/lambda/command/create-alias/create-alias.command.d.ts +31 -0
  514. package/dist/service/lambda/command/create-alias/create-alias.command.d.ts.map +1 -0
  515. package/dist/service/lambda/command/create-alias/create-alias.command.js +5 -0
  516. package/dist/service/lambda/command/create-alias/create-alias.command.js.map +1 -0
  517. package/dist/service/lambda/command/create-alias/create-alias.handler.d.ts +35 -0
  518. package/dist/service/lambda/command/create-alias/create-alias.handler.d.ts.map +1 -0
  519. package/dist/service/lambda/command/create-alias/create-alias.handler.js +52 -0
  520. package/dist/service/lambda/command/create-alias/create-alias.handler.js.map +1 -0
  521. package/dist/service/lambda/command/create-function/create-function.command.d.ts +1 -1
  522. package/dist/service/lambda/command/create-function/create-function.command.d.ts.map +1 -1
  523. package/dist/service/lambda/command/create-function/create-function.handler.d.ts.map +1 -1
  524. package/dist/service/lambda/command/create-function/create-function.handler.js +2 -1
  525. package/dist/service/lambda/command/create-function/create-function.handler.js.map +1 -1
  526. package/dist/service/lambda/command/delete-alias/delete-alias.command.d.ts +24 -0
  527. package/dist/service/lambda/command/delete-alias/delete-alias.command.d.ts.map +1 -0
  528. package/dist/service/lambda/command/delete-alias/delete-alias.command.js +5 -0
  529. package/dist/service/lambda/command/delete-alias/delete-alias.command.js.map +1 -0
  530. package/dist/service/lambda/command/delete-alias/delete-alias.handler.d.ts +37 -0
  531. package/dist/service/lambda/command/delete-alias/delete-alias.handler.d.ts.map +1 -0
  532. package/dist/service/lambda/command/delete-alias/delete-alias.handler.js +44 -0
  533. package/dist/service/lambda/command/delete-alias/delete-alias.handler.js.map +1 -0
  534. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts +6 -2
  535. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts.map +1 -1
  536. package/dist/service/lambda/command/delete-function/delete-function.handler.js +7 -3
  537. package/dist/service/lambda/command/delete-function/delete-function.handler.js.map +1 -1
  538. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts +8 -0
  539. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts.map +1 -1
  540. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js +11 -2
  541. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js.map +1 -1
  542. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts.map +1 -1
  543. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js +13 -6
  544. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js.map +1 -1
  545. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +3 -1
  546. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts.map +1 -1
  547. package/dist/service/lambda/command/function/sim-lambda-function-commands.js +1 -1
  548. package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
  549. package/dist/service/lambda/command/get-alias/get-alias.command.d.ts +25 -0
  550. package/dist/service/lambda/command/get-alias/get-alias.command.d.ts.map +1 -0
  551. package/dist/service/lambda/command/get-alias/get-alias.command.js +5 -0
  552. package/dist/service/lambda/command/get-alias/get-alias.command.js.map +1 -0
  553. package/dist/service/lambda/command/get-alias/get-alias.handler.d.ts +34 -0
  554. package/dist/service/lambda/command/get-alias/get-alias.handler.d.ts.map +1 -0
  555. package/dist/service/lambda/command/get-alias/get-alias.handler.js +38 -0
  556. package/dist/service/lambda/command/get-alias/get-alias.handler.js.map +1 -0
  557. package/dist/service/lambda/command/get-function/get-function.command.d.ts +2 -1
  558. package/dist/service/lambda/command/get-function/get-function.command.d.ts.map +1 -1
  559. package/dist/service/lambda/command/get-function/get-function.handler.d.ts +6 -2
  560. package/dist/service/lambda/command/get-function/get-function.handler.d.ts.map +1 -1
  561. package/dist/service/lambda/command/get-function/get-function.handler.js +13 -6
  562. package/dist/service/lambda/command/get-function/get-function.handler.js.map +1 -1
  563. package/dist/service/lambda/command/get-policy/get-policy.command.d.ts +1 -0
  564. package/dist/service/lambda/command/get-policy/get-policy.command.d.ts.map +1 -1
  565. package/dist/service/lambda/command/get-policy/get-policy.handler.d.ts +8 -3
  566. package/dist/service/lambda/command/get-policy/get-policy.handler.d.ts.map +1 -1
  567. package/dist/service/lambda/command/get-policy/get-policy.handler.js +11 -6
  568. package/dist/service/lambda/command/get-policy/get-policy.handler.js.map +1 -1
  569. package/dist/service/lambda/command/invoke/invoke-authorizer.d.ts +11 -8
  570. package/dist/service/lambda/command/invoke/invoke-authorizer.d.ts.map +1 -1
  571. package/dist/service/lambda/command/invoke/invoke-authorizer.js +11 -8
  572. package/dist/service/lambda/command/invoke/invoke-authorizer.js.map +1 -1
  573. package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts +3 -0
  574. package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts.map +1 -1
  575. package/dist/service/lambda/command/invoke/invoke-dispatcher.js +5 -2
  576. package/dist/service/lambda/command/invoke/invoke-dispatcher.js.map +1 -1
  577. package/dist/service/lambda/command/invoke/invoke.handler.d.ts +9 -2
  578. package/dist/service/lambda/command/invoke/invoke.handler.d.ts.map +1 -1
  579. package/dist/service/lambda/command/invoke/invoke.handler.js +20 -10
  580. package/dist/service/lambda/command/invoke/invoke.handler.js.map +1 -1
  581. package/dist/service/lambda/command/list-aliases/list-aliases.command.d.ts +30 -0
  582. package/dist/service/lambda/command/list-aliases/list-aliases.command.d.ts.map +1 -0
  583. package/dist/service/lambda/command/list-aliases/list-aliases.command.js +5 -0
  584. package/dist/service/lambda/command/list-aliases/list-aliases.command.js.map +1 -0
  585. package/dist/service/lambda/command/list-aliases/list-aliases.handler.d.ts +35 -0
  586. package/dist/service/lambda/command/list-aliases/list-aliases.handler.d.ts.map +1 -0
  587. package/dist/service/lambda/command/list-aliases/list-aliases.handler.js +44 -0
  588. package/dist/service/lambda/command/list-aliases/list-aliases.handler.js.map +1 -0
  589. package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.d.ts +28 -0
  590. package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.d.ts.map +1 -0
  591. package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.js +5 -0
  592. package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.js.map +1 -0
  593. package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.d.ts +35 -0
  594. package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.d.ts.map +1 -0
  595. package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.js +43 -0
  596. package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.js.map +1 -0
  597. package/dist/service/lambda/command/permission/sim-lambda-permission-commands.d.ts +8 -3
  598. package/dist/service/lambda/command/permission/sim-lambda-permission-commands.d.ts.map +1 -1
  599. package/dist/service/lambda/command/permission/sim-lambda-permission-commands.js +6 -3
  600. package/dist/service/lambda/command/permission/sim-lambda-permission-commands.js.map +1 -1
  601. package/dist/service/lambda/command/publish-version/publish-version.command.d.ts +34 -0
  602. package/dist/service/lambda/command/publish-version/publish-version.command.d.ts.map +1 -0
  603. package/dist/service/lambda/command/publish-version/publish-version.command.js +5 -0
  604. package/dist/service/lambda/command/publish-version/publish-version.command.js.map +1 -0
  605. package/dist/service/lambda/command/publish-version/publish-version.handler.d.ts +37 -0
  606. package/dist/service/lambda/command/publish-version/publish-version.handler.d.ts.map +1 -0
  607. package/dist/service/lambda/command/publish-version/publish-version.handler.js +42 -0
  608. package/dist/service/lambda/command/publish-version/publish-version.handler.js.map +1 -0
  609. package/dist/service/lambda/command/remove-permission/remove-permission.command.d.ts +1 -0
  610. package/dist/service/lambda/command/remove-permission/remove-permission.command.d.ts.map +1 -1
  611. package/dist/service/lambda/command/remove-permission/remove-permission.handler.d.ts +8 -1
  612. package/dist/service/lambda/command/remove-permission/remove-permission.handler.d.ts.map +1 -1
  613. package/dist/service/lambda/command/remove-permission/remove-permission.handler.js +12 -5
  614. package/dist/service/lambda/command/remove-permission/remove-permission.handler.js.map +1 -1
  615. package/dist/service/lambda/command/sim-lambda-command.types.d.ts +7 -0
  616. package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
  617. package/dist/service/lambda/command/update-alias/update-alias.command.d.ts +31 -0
  618. package/dist/service/lambda/command/update-alias/update-alias.command.d.ts.map +1 -0
  619. package/dist/service/lambda/command/update-alias/update-alias.command.js +5 -0
  620. package/dist/service/lambda/command/update-alias/update-alias.command.js.map +1 -0
  621. package/dist/service/lambda/command/update-alias/update-alias.handler.d.ts +35 -0
  622. package/dist/service/lambda/command/update-alias/update-alias.handler.d.ts.map +1 -0
  623. package/dist/service/lambda/command/update-alias/update-alias.handler.js +48 -0
  624. package/dist/service/lambda/command/update-alias/update-alias.handler.js.map +1 -0
  625. package/dist/service/lambda/command/version/sim-lambda-version-commands.d.ts +37 -0
  626. package/dist/service/lambda/command/version/sim-lambda-version-commands.d.ts.map +1 -0
  627. package/dist/service/lambda/command/version/sim-lambda-version-commands.js +28 -0
  628. package/dist/service/lambda/command/version/sim-lambda-version-commands.js.map +1 -0
  629. package/dist/service/lambda/command/version/version-authorizer.d.ts +29 -0
  630. package/dist/service/lambda/command/version/version-authorizer.d.ts.map +1 -0
  631. package/dist/service/lambda/command/version/version-authorizer.js +39 -0
  632. package/dist/service/lambda/command/version/version-authorizer.js.map +1 -0
  633. package/dist/service/lambda/event-source/poll/sim-lambda-dynamodb-stream-event-source-poller.d.ts.map +1 -1
  634. package/dist/service/lambda/event-source/poll/sim-lambda-dynamodb-stream-event-source-poller.js +2 -1
  635. package/dist/service/lambda/event-source/poll/sim-lambda-dynamodb-stream-event-source-poller.js.map +1 -1
  636. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.d.ts +13 -0
  637. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.d.ts.map +1 -0
  638. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.js +13 -0
  639. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.js.map +1 -0
  640. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-consumer.d.ts.map +1 -1
  641. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-consumer.js +2 -1
  642. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-consumer.js.map +1 -1
  643. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts +9 -1
  644. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts.map +1 -1
  645. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js +8 -0
  646. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js.map +1 -1
  647. package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts +6 -5
  648. package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts.map +1 -1
  649. package/dist/service/lambda/function/code/sim-lambda-executable-code.js +7 -6
  650. package/dist/service/lambda/function/code/sim-lambda-executable-code.js.map +1 -1
  651. package/dist/service/lambda/function/invoke/sim-lambda-host-scope.d.ts +11 -3
  652. package/dist/service/lambda/function/invoke/sim-lambda-host-scope.d.ts.map +1 -1
  653. package/dist/service/lambda/function/invoke/sim-lambda-host-scope.js +13 -7
  654. package/dist/service/lambda/function/invoke/sim-lambda-host-scope.js.map +1 -1
  655. package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.d.ts +2 -0
  656. package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.d.ts.map +1 -1
  657. package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.js +2 -2
  658. package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.js.map +1 -1
  659. package/dist/service/lambda/function/invoke/sim-lambda-process-output.d.ts +104 -0
  660. package/dist/service/lambda/function/invoke/sim-lambda-process-output.d.ts.map +1 -0
  661. package/dist/service/lambda/function/invoke/sim-lambda-process-output.js +133 -0
  662. package/dist/service/lambda/function/invoke/sim-lambda-process-output.js.map +1 -0
  663. package/dist/service/lambda/function/logging/sim-lambda-function-logging.d.ts +10 -0
  664. package/dist/service/lambda/function/logging/sim-lambda-function-logging.d.ts.map +1 -1
  665. package/dist/service/lambda/function/logging/sim-lambda-function-logging.js +11 -0
  666. package/dist/service/lambda/function/logging/sim-lambda-function-logging.js.map +1 -1
  667. package/dist/service/lambda/function/policy/sim-lambda-policy-resource.d.ts +17 -0
  668. package/dist/service/lambda/function/policy/sim-lambda-policy-resource.d.ts.map +1 -0
  669. package/dist/service/lambda/function/policy/sim-lambda-policy-resource.js +2 -0
  670. package/dist/service/lambda/function/policy/sim-lambda-policy-resource.js.map +1 -0
  671. package/dist/service/lambda/function/sim-lambda-function-arn-parts.d.ts +3 -3
  672. package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts +43 -0
  673. package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts.map +1 -0
  674. package/dist/service/lambda/function/sim-lambda-function-configuration.js +22 -0
  675. package/dist/service/lambda/function/sim-lambda-function-configuration.js.map +1 -0
  676. package/dist/service/lambda/function/sim-lambda-function-name.d.ts +3 -1
  677. package/dist/service/lambda/function/sim-lambda-function-name.d.ts.map +1 -1
  678. package/dist/service/lambda/function/sim-lambda-function-name.js +3 -1
  679. package/dist/service/lambda/function/sim-lambda-function-name.js.map +1 -1
  680. package/dist/service/lambda/function/sim-lambda-function-reference.d.ts +36 -0
  681. package/dist/service/lambda/function/sim-lambda-function-reference.d.ts.map +1 -0
  682. package/dist/service/lambda/function/sim-lambda-function-reference.js +56 -0
  683. package/dist/service/lambda/function/sim-lambda-function-reference.js.map +1 -0
  684. package/dist/service/lambda/function/sim-lambda-function.d.ts +19 -32
  685. package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
  686. package/dist/service/lambda/function/sim-lambda-function.js +33 -14
  687. package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
  688. package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts +22 -3
  689. package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts.map +1 -1
  690. package/dist/service/lambda/function/url/sim-lambda-function-lookup.js +24 -4
  691. package/dist/service/lambda/function/url/sim-lambda-function-lookup.js.map +1 -1
  692. package/dist/service/lambda/function/version/sim-lambda-function-alias-store.d.ts +55 -0
  693. package/dist/service/lambda/function/version/sim-lambda-function-alias-store.d.ts.map +1 -0
  694. package/dist/service/lambda/function/version/sim-lambda-function-alias-store.js +80 -0
  695. package/dist/service/lambda/function/version/sim-lambda-function-alias-store.js.map +1 -0
  696. package/dist/service/lambda/function/version/sim-lambda-function-alias.d.ts +60 -0
  697. package/dist/service/lambda/function/version/sim-lambda-function-alias.d.ts.map +1 -0
  698. package/dist/service/lambda/function/version/sim-lambda-function-alias.js +57 -0
  699. package/dist/service/lambda/function/version/sim-lambda-function-alias.js.map +1 -0
  700. package/dist/service/lambda/function/version/sim-lambda-function-target.d.ts +16 -0
  701. package/dist/service/lambda/function/version/sim-lambda-function-target.d.ts.map +1 -0
  702. package/dist/service/lambda/function/version/sim-lambda-function-target.js +2 -0
  703. package/dist/service/lambda/function/version/sim-lambda-function-target.js.map +1 -0
  704. package/dist/service/lambda/function/version/sim-lambda-function-version-store.d.ts +80 -0
  705. package/dist/service/lambda/function/version/sim-lambda-function-version-store.d.ts.map +1 -0
  706. package/dist/service/lambda/function/version/sim-lambda-function-version-store.js +114 -0
  707. package/dist/service/lambda/function/version/sim-lambda-function-version-store.js.map +1 -0
  708. package/dist/service/lambda/function/version/sim-lambda-function-versions.d.ts +61 -0
  709. package/dist/service/lambda/function/version/sim-lambda-function-versions.d.ts.map +1 -0
  710. package/dist/service/lambda/function/version/sim-lambda-function-versions.js +96 -0
  711. package/dist/service/lambda/function/version/sim-lambda-function-versions.js.map +1 -0
  712. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
  713. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +28 -0
  714. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
  715. package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts +2 -1
  716. package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts.map +1 -1
  717. package/dist/service/lambda/serve/api/sim-lambda-api-routes.js +2 -1
  718. package/dist/service/lambda/serve/api/sim-lambda-api-routes.js.map +1 -1
  719. package/dist/service/lambda/sim-lambda-commands.d.ts +8 -0
  720. package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
  721. package/dist/service/lambda/sim-lambda-commands.js +25 -0
  722. package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
  723. package/dist/service/lambda/sim-lambda-inspection.d.ts +43 -0
  724. package/dist/service/lambda/sim-lambda-inspection.d.ts.map +1 -0
  725. package/dist/service/lambda/sim-lambda-inspection.js +50 -0
  726. package/dist/service/lambda/sim-lambda-inspection.js.map +1 -0
  727. package/dist/service/lambda/sim-lambda.d.ts +44 -80
  728. package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
  729. package/dist/service/lambda/sim-lambda.js +55 -82
  730. package/dist/service/lambda/sim-lambda.js.map +1 -1
  731. package/dist/service/logs/subscription/lambda/sim-aws-logs-subscription-functions.d.ts.map +1 -1
  732. package/dist/service/logs/subscription/lambda/sim-aws-logs-subscription-functions.js +2 -2
  733. package/dist/service/logs/subscription/lambda/sim-aws-logs-subscription-functions.js.map +1 -1
  734. package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.d.ts +7 -5
  735. package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.d.ts.map +1 -1
  736. package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.js +15 -9
  737. package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.js.map +1 -1
  738. package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.d.ts +9 -0
  739. package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.d.ts.map +1 -1
  740. package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.js +11 -5
  741. package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.js.map +1 -1
  742. package/dist/service/s3/command/get-object/get-object-loader.d.ts +5 -3
  743. package/dist/service/s3/command/get-object/get-object-loader.d.ts.map +1 -1
  744. package/dist/service/s3/command/get-object/get-object-loader.js +19 -4
  745. package/dist/service/s3/command/get-object/get-object-loader.js.map +1 -1
  746. package/dist/service/s3/command/get-object/get-object.command.d.ts +13 -0
  747. package/dist/service/s3/command/get-object/get-object.command.d.ts.map +1 -1
  748. package/dist/service/s3/command/get-object/get-object.handler.d.ts +3 -0
  749. package/dist/service/s3/command/get-object/get-object.handler.d.ts.map +1 -1
  750. package/dist/service/s3/command/get-object/get-object.handler.js +4 -1
  751. package/dist/service/s3/command/get-object/get-object.handler.js.map +1 -1
  752. package/dist/service/s3/error/sim-s3.error.d.ts +13 -0
  753. package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
  754. package/dist/service/s3/error/sim-s3.error.js +15 -0
  755. package/dist/service/s3/error/sim-s3.error.js.map +1 -1
  756. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts +1 -1
  757. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts.map +1 -1
  758. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js +23 -10
  759. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js.map +1 -1
  760. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts +8 -4
  761. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts.map +1 -1
  762. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js +12 -12
  763. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js.map +1 -1
  764. package/dist/service/s3/object/s3-object-range.d.ts +26 -0
  765. package/dist/service/s3/object/s3-object-range.d.ts.map +1 -0
  766. package/dist/service/s3/object/s3-object-range.js +89 -0
  767. package/dist/service/s3/object/s3-object-range.js.map +1 -0
  768. package/dist/service/s3/object/s3-object-response-headers.d.ts +7 -1
  769. package/dist/service/s3/object/s3-object-response-headers.d.ts.map +1 -1
  770. package/dist/service/s3/object/s3-object-response-headers.js +5 -1
  771. package/dist/service/s3/object/s3-object-response-headers.js.map +1 -1
  772. package/dist/service/s3/serve/api/sim-s3-api-input.d.ts +0 -14
  773. package/dist/service/s3/serve/api/sim-s3-api-input.d.ts.map +1 -1
  774. package/dist/service/s3/serve/api/sim-s3-api-input.js +0 -29
  775. package/dist/service/s3/serve/api/sim-s3-api-input.js.map +1 -1
  776. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts +27 -0
  777. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -0
  778. package/dist/service/s3/serve/api/sim-s3-api-object-input.js +47 -0
  779. package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -0
  780. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +5 -0
  781. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -1
  782. package/dist/service/s3/serve/api/sim-s3-api-object-output.js +8 -1
  783. package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -1
  784. package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -1
  785. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +2 -2
  786. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
  787. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts +5 -0
  788. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -1
  789. package/dist/service/s3/serve/sim-s3-rest-object-reader.js +20 -3
  790. package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -1
  791. package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.d.ts +5 -4
  792. package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.d.ts.map +1 -1
  793. package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.js +16 -11
  794. package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.js.map +1 -1
  795. package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.d.ts +8 -4
  796. package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.d.ts.map +1 -1
  797. package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.js +11 -10
  798. package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.js.map +1 -1
  799. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts +0 -7
  800. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts.map +1 -1
  801. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js +7 -41
  802. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js.map +1 -1
  803. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.d.ts +14 -0
  804. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.d.ts.map +1 -0
  805. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.js +26 -0
  806. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.js.map +1 -0
  807. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.d.ts +11 -0
  808. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.d.ts.map +1 -0
  809. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.js +16 -0
  810. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.js.map +1 -0
  811. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.d.ts +40 -0
  812. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.d.ts.map +1 -0
  813. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.js +67 -0
  814. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.js.map +1 -0
  815. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.d.ts +8 -0
  816. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.d.ts.map +1 -0
  817. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.js +61 -0
  818. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.js.map +1 -0
  819. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.d.ts +19 -0
  820. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.d.ts.map +1 -0
  821. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.js +37 -0
  822. package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.js.map +1 -0
  823. package/dist/service/ssm/sim-ssm.d.ts +5 -0
  824. package/dist/service/ssm/sim-ssm.d.ts.map +1 -1
  825. package/dist/service/ssm/sim-ssm.js +7 -0
  826. package/dist/service/ssm/sim-ssm.js.map +1 -1
  827. package/package.json +4 -2
  828. package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.d.ts +0 -25
  829. package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.d.ts.map +0 -1
  830. package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-function-version-cfn.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAC5F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AAC7F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,UAAU,qCAAqC;IAC7C,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;CACrC;AAED;;;;;;;;GAQG;AACH,qBAAa,2BAA4B,YAAW,0BAA0B;IAC5E,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;IAE5C,YAAY,UAAU,EAAE,qCAAqC,EAE5D;IAED;;;OAGG;IACH,QAAQ,IAAI,mBAAmB,CAE9B;IAED;;;;;;;OAOG;IACH,cAAc,CAAC,aAAa,EAAE,MAAM,GAAG,mBAAmB,CAYzD;CACF"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * CloudFormation-facing behaviour for an AWS::Lambda::Version Resource.
3
+ *
4
+ * A version is a function under a number, so the same simulated function
5
+ * object backs this Resource and AWS::Lambda::Function. What differs is what
6
+ * templates want from it: the ARN with the number on the end, which is what a
7
+ * later alias or integration has to be pointed at to reach this version rather
8
+ * than `$LATEST`.
9
+ */
10
+ export class SimLambdaFunctionVersionCfn {
11
+ version;
12
+ constructor(properties) {
13
+ this.version = properties.version;
14
+ }
15
+ /**
16
+ * CloudFormation Ref for AWS::Lambda::Version returns the qualified function
17
+ * ARN, which is the function's own ARN with the version number appended.
18
+ */
19
+ refValue() {
20
+ return this.version.arn;
21
+ }
22
+ /**
23
+ * CloudFormation attributes for AWS::Lambda::Version.
24
+ *
25
+ * `Version` is the number the function was published under, which is what an
26
+ * alias's FunctionVersion is written from. `FunctionArn` is what
27
+ * PublishVersion answers with, so it names the version rather than the
28
+ * function.
29
+ */
30
+ attributeValue(attributeName) {
31
+ if (attributeName === "Version") {
32
+ return this.version.version;
33
+ }
34
+ if (attributeName === "FunctionArn") {
35
+ return this.version.arn;
36
+ }
37
+ throw new Error(`Unsupported AWS::Lambda::Version attribute ${attributeName}`);
38
+ }
39
+ }
40
+ //# sourceMappingURL=sim-lambda-function-version-cfn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-function-version-cfn.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.ts"],"names":[],"mappings":"AAQA;;;;;;;;GAQG;AACH,MAAM,OAAO,2BAA2B;IACrB,OAAO,CAAoB;IAE5C,YAAY,UAAiD;QAC3D,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IACpC,CAAC;IAED;;;OAGG;IACH,QAAQ;QACN,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;IAC1B,CAAC;IAED;;;;;;;OAOG;IACH,cAAc,CAAC,aAAqB;QAClC,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;QAC9B,CAAC;QAED,IAAI,aAAa,KAAK,aAAa,EAAE,CAAC;YACpC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;QAC1B,CAAC;QAED,MAAM,IAAI,KAAK,CACb,8CAA8C,aAAa,EAAE,CAC9D,CAAC;IACJ,CAAC;CACF"}
@@ -11,6 +11,11 @@ interface SimCfnResourcePropertyResolverProperties {
11
11
  readonly exports?: SimCfnExports | undefined;
12
12
  readonly accountRegionScope?: SimAwsAccountRegionScope | undefined;
13
13
  readonly propertyIgnorer?: SimCfnPropertyIgnorer | undefined;
14
+ /**
15
+ * The type of the Resource these properties belong to, which an
16
+ * `ssm-secure` dynamic reference is accepted or refused by.
17
+ */
18
+ readonly resourceType?: string | undefined;
14
19
  }
15
20
  /**
16
21
  * Resolves CloudFormation Resource Properties immediately before Resource
@@ -31,6 +36,7 @@ export declare class SimCfnResourcePropertyResolver {
31
36
  private readonly exports;
32
37
  private readonly accountRegionScope;
33
38
  private readonly propertyIgnorer;
39
+ private readonly resourceType;
34
40
  constructor(properties?: SimCfnResourcePropertyResolverProperties);
35
41
  /**
36
42
  * Resolve the Resource Properties object for service-specific creation.
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-resource-property-resolver.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,g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Ae1B"}
1
+ {"version":3,"file":"sim-cfn-resource-property-resolver.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,KAAK,EAEV,yBAAyB,EAC1B,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AACtG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAGhG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAE3F,UAAU,wCAAwC;IAChD,QAAQ,CAAC,UAAU,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC7C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACnE,QAAQ,CAAC,eAAe,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAE7D;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5C;AAED;;;;;;;;;;;;GAYG;AACH,qBAAa,8BAA8B;IACzC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA+B;IAC1D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAqC;IACtE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IACpD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAuC;IAC1E,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAoC;IACpE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAqB;IAElD,YAAY,UAAU,GAAE,wCAA6C,EAOpE;IAED;;;;;;;;;;;;;;;OAeG;IACG,OAAO,CACX,UAAU,EAAE,yBAAyB,EACrC,OAAO,EAAE,4BAA4B,GACpC,OAAO,CAAC,yBAAyB,CAAC,CAuCpC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB;CAgB1B"}
@@ -20,12 +20,14 @@ export class SimCfnResourcePropertyResolver {
20
20
  exports;
21
21
  accountRegionScope;
22
22
  propertyIgnorer;
23
+ resourceType;
23
24
  constructor(properties = {}) {
24
25
  this.parameters = properties.parameters;
25
26
  this.pseudoParameters = properties.pseudoParameters;
26
27
  this.exports = properties.exports;
27
28
  this.accountRegionScope = properties.accountRegionScope;
28
29
  this.propertyIgnorer = properties.propertyIgnorer;
30
+ this.resourceType = properties.resourceType;
29
31
  }
30
32
  /**
31
33
  * Resolve the Resource Properties object for service-specific creation.
@@ -92,6 +94,7 @@ export class SimCfnResourcePropertyResolver {
92
94
  simAws,
93
95
  accountRegionScope: this.accountRegionScope,
94
96
  propertyIgnorer: this.propertyIgnorer,
97
+ resourceType: this.resourceType,
95
98
  });
96
99
  }
97
100
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-resource-property-resolver.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,2BAA2B,EAAE,MAAM,4DAA4D,CAAC;AASzG,OAAO,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAY3G;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,8BAA8B;IACxB,UAAU,CAA+B;IACzC,gBAAgB,CAAqC;IACrD,OAAO,CAA4B;IACnC,kBAAkB,CAAuC;IACzD,eAAe,CAAoC;IAEp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AA8D;oBAC9D,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;wBAC7B,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE,aAAa,CAAC,EAAE,CAAC;oBAC/C,CAAC;oBAED,OAAO,UAAU,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;gBAClD,CAAC;aACF;SACF,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;QAEpD,IAAI,iBAAiB,KAAK,SAAS,EAAE,CAAC;YACpC,OAAO,QAAQ,CAAC;QAClB,CAAC;QAED,OAAO,MAAM,iBAAiB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAClD,CAAC;IAED;;;;;;OAMG;IACK,iBAAiB,CACvB,OAAqC;QAErC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;QAE3B,IAAI,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,kBAAkB,KAAK,SAAS,EAAE,CAAC;YAClE,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,2BAA2B,CAAC;YACjC,MAAM;YACN,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,eAAe,EAAE,IAAI,CAAC,eAAe;SACtC,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cfn-resource-property-resolver.js","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,2BAA2B,EAAE,MAAM,4DAA4D,CAAC;AASzG,OAAO,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAkB3G;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,8BAA8B;IACxB,UAAU,CAA+B;IACzC,gBAAgB,CAAqC;IACrD,OAAO,CAA4B;IACnC,kBAAkB,CAAuC;I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EAAE;oBACzD,MAAM,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;oBAE7C,8DAA8D;oBAC9D,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;wBAC7B,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE,aAAa,CAAC,EAAE,CAAC;oBAC/C,CAAC;oBAED,OAAO,UAAU,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;gBAClD,CAAC;aACF;SACF,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;QAEpD,IAAI,iBAAiB,KAAK,SAAS,EAAE,CAAC;YACpC,OAAO,QAAQ,CAAC;QAClB,CAAC;QAED,OAAO,MAAM,iBAAiB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAClD,CAAC;IAED;;;;;;OAMG;IACK,iBAAiB,CACvB,OAAqC;QAErC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;QAE3B,IAAI,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,kBAAkB,KAAK,SAAS,EAAE,CAAC;YAClE,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,2BAA2B,CAAC;YACjC,MAAM;YACN,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,YAAY,EAAE,IAAI,CAAC,YAAY;SAChC,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-resource-record.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/resource/sim-cfn-resource-record.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAE1F,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EACV,mBAAmB,E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B;IAED;;;;;;;;;;;;OAYG;IACG,kBAAkB,CACtB,OAAO,EAAE,4BAA4B,GACpC,OAAO,CAAC,yBAAyB,CAAC,CAEpC;IAED;;;OAGG;IACH,SAAS,CAAC,sBAAsB,IAAI,IAAI,CAEvC;IAED,OAAO,CAAC,eAAe;CAOxB"}
1
+ {"version":3,"file":"sim-cfn-resource-record.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/resource/sim-cfn-resource-record.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAE1F,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,6CAA6C,CAAC;AAOrD,OAAO,KAAK,EACV,4BAA4B,EAC5B,mCAAmC,EACpC,MAAM,4BAA4B,CAAC;AAEpC;;;;;;;;;;;;;;GAcG;AACH,8BAAsB,oBAAqB,YAAW,qBAAqB;IACzE,SAAgB,kBAAkB,EAAE,wBAAwB,CAAC;IAC7D,SAAgB,SAAS,EAAE,MAAM,CAAC;IAClC,6EAA6E;IAC7E,SAAgB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,SAAgB,QAAQ,EAAE,yBAAyB,CAAC;IAEpD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAiC;IACrE,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAA+B;IACtE,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAiC;IAClE,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAsB;IAEzD,YAAY,UAAU,GAAE,mCAAwC,EAwB/D;IAED;;OAEG;IACH,aAAoB,WAAW,IAAI,MAAM,GAAG,SAAS,CAAC;IAEtD;;OAEG;IACH,IAAW,iBAAiB,IAAI,SAAS,qBAAqB,EAAE,CAE/D;IAED;;;;OAIG;IACH,IAAW,IAAI,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED;;;;;OAKG;IACH,IAAW,UAAU,IAAI,yBAAyB,CAEjD;IAED;;OAEG;IACH,IAAW,cAAc,IAAI,MAAM,GAAG,SAAS,CAE9C;IAED;;;;;;OAMG;IACH,IAAW,gBAAgB,IAAI,OAAO,CAKrC;IAED;;;;;;OAMG;IACH,IAAW,QAAQ,IAAI,mBAAmB,CAEzC;IAED;;;;OAIG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAEjD;IAED;;;;;;OAMG;IACH,cAAc,CAAC,aAAa,EAAE,MAAM,GAAG,mBAAmB,CAEzD;IAED;;;;;;OAMG;IACH,YAAY,IAAI,MAAM,EAAE,CAEvB;IAED;;;;;;;;;;;;OAYG;IACG,kBAAkB,CACtB,OAAO,EAAE,4BAA4B,GACpC,OAAO,CAAC,yBAAyB,CAAC,CAEpC;IAED;;;OAGG;IACH,SAAS,CAAC,sBAAsB,IAAI,IAAI,CAEvC;IAED,OAAO,CAAC,eAAe;CAOxB"}
@@ -40,6 +40,7 @@ export class SimCfnResourceRecord {
40
40
  exports,
41
41
  accountRegionScope: this.accountRegionScope,
42
42
  propertyIgnorer: this,
43
+ resourceType: this.type,
43
44
  });
44
45
  this.resourceLogicalIds = resourceLogicalIds;
45
46
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-resource-record.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/resource/sim-cfn-resource-record.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAKjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAK9F,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAC1G,OAAO,EAEL,0BAA0B,GAC3B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AAMpG;;;;;;;;;;;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CACtB,OAAqC;QAErC,OAAO,MAAM,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;OAGG;IACO,sBAAsB;QAC9B,IAAI,CAAC,mBAAmB,CAAC,KAAK,EAAE,CAAC;IACnC,CAAC;IAEO,eAAe;QACrB,OAAO,0BAA0B,CAAC;YAChC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,20 @@
1
+ import type { SimCfnTemplateValue, SimCfnTemplateValueRecord } from "../../template/value/sim-cfn-template-value.js";
2
+ interface SamHttpApiStageProperties {
3
+ readonly logicalId: string;
4
+ readonly resource: SimCfnTemplateValueRecord;
5
+ readonly apiProperties: SimCfnTemplateValueRecord;
6
+ }
7
+ /**
8
+ * The AWS::ApiGatewayV2::Stage Resource a SAM HTTP API is expanded with.
9
+ *
10
+ * An HTTP API serves nothing until a stage is deployed to it, and a SAM
11
+ * template names no stage Resource of its own. The expansion deploys one. It
12
+ * deploys itself, the way SAM's stage does, and the routes the API gains after
13
+ * it are served with no deployment Resource to sequence.
14
+ *
15
+ * The stage is conditioned the way the API is. An API the template conditioned
16
+ * out leaves no stage behind for the Stack to create.
17
+ */
18
+ export declare function samHttpApiStageResources(properties: SamHttpApiStageProperties): Record<string, SimCfnTemplateValue>;
19
+ export {};
20
+ //# sourceMappingURL=sim-cfn-sam-http-api-stage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-sam-http-api-stage.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,gDAAgD,CAAC;AAGxD,UAAU,yBAAyB;IACjC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;IAC7C,QAAQ,CAAC,aAAa,EAAE,yBAAyB,CAAC;CACnD;AAoBD;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,yBAAyB,GACpC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAgBrC"}
@@ -0,0 +1,80 @@
1
+ import { createHash } from "node:crypto";
2
+ import { samPickedProperties } from "../sim-cfn-sam-picked.js";
3
+ /**
4
+ * The stage an API naming none is deployed with. SAM deploys the same one, and
5
+ * a request reaches it without naming a stage in its path.
6
+ */
7
+ const defaultStageName = "$default";
8
+ /**
9
+ * The properties the stage takes off the SAM Resource. Their names and
10
+ * meanings are the same on both.
11
+ */
12
+ const propertyNames = new Set([
13
+ "AccessLogSettings",
14
+ "DefaultRouteSettings",
15
+ "RouteSettings",
16
+ "StageVariables",
17
+ "Tags",
18
+ ]);
19
+ /**
20
+ * The AWS::ApiGatewayV2::Stage Resource a SAM HTTP API is expanded with.
21
+ *
22
+ * An HTTP API serves nothing until a stage is deployed to it, and a SAM
23
+ * template names no stage Resource of its own. The expansion deploys one. It
24
+ * deploys itself, the way SAM's stage does, and the routes the API gains after
25
+ * it are served with no deployment Resource to sequence.
26
+ *
27
+ * The stage is conditioned the way the API is. An API the template conditioned
28
+ * out leaves no stage behind for the Stack to create.
29
+ */
30
+ export function samHttpApiStageResources(properties) {
31
+ const { logicalId, resource, apiProperties } = properties;
32
+ const stageName = apiProperties["StageName"] ?? defaultStageName;
33
+ return {
34
+ [samHttpApiStageLogicalId(logicalId, stageName)]: {
35
+ Type: "AWS::ApiGatewayV2::Stage",
36
+ ...samStageCondition(resource),
37
+ Properties: {
38
+ ...samPickedProperties(apiProperties, propertyNames),
39
+ ApiId: { Ref: logicalId },
40
+ StageName: stageName,
41
+ AutoDeploy: true,
42
+ },
43
+ },
44
+ };
45
+ }
46
+ /**
47
+ * The logical ID the stage is deployed under, which SAM builds out of the API's
48
+ * logical ID and the stage's name.
49
+ *
50
+ * The three forms are SAM's own. A name that can be part of an identifier goes
51
+ * in whole, `$default` becomes the suffix SAM spells out, and anything else is
52
+ * hashed, down to the ten hexadecimal characters SAM takes off a SHA-1 of the
53
+ * name. A stage the template names with an intrinsic function has no name to
54
+ * hash at this point, and SAM hashes the empty string for it.
55
+ */
56
+ function samHttpApiStageLogicalId(logicalId, stageName) {
57
+ if (stageName === defaultStageName) {
58
+ return `${logicalId}ApiGatewayDefaultStage`;
59
+ }
60
+ if (typeof stageName === "string" && /^[A-Za-z0-9]+$/.test(stageName)) {
61
+ return `${logicalId}${stageName}Stage`;
62
+ }
63
+ return `${logicalId}Stage${samStageNameHash(stageName)}`;
64
+ }
65
+ /**
66
+ * The hash SAM builds a stage's logical ID out of when the name cannot be part
67
+ * of one.
68
+ */
69
+ function samStageNameHash(stageName) {
70
+ const name = typeof stageName === "string" ? stageName : "";
71
+ return createHash("sha1").update(name).digest("hex").slice(0, 10);
72
+ }
73
+ /**
74
+ * The `Condition` attribute the stage carries, where the API carried one.
75
+ */
76
+ function samStageCondition(resource) {
77
+ const condition = resource["Condition"];
78
+ return condition === undefined ? {} : { Condition: condition };
79
+ }
80
+ //# sourceMappingURL=sim-cfn-sam-http-api-stage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-sam-http-api-stage.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAMzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAQ/D;;;GAGG;AACH,MAAM,gBAAgB,GAAG,UAAU,CAAC;AAEpC;;;GAGG;AACH,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC;IAC5B,mBAAmB;IACnB,sBAAsB;IACtB,eAAe;IACf,gB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C,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AACpE,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CACxB,QAAmC;IAEnC,MAAM,SAAS,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAC;IAExC,OAAO,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;AACjE,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { MappedFactory } from "@kensio/part-factory";
2
+ import type { CfnTemplateBodyRecord } from "../../template/sim-cfn-template.js";
3
+ import type { SimCfnTemplateValueRecord } from "../../template/value/sim-cfn-template-value.js";
4
+ /**
5
+ * What a test asks for when it wants a SAM template holding one HTTP API in
6
+ * front of one function.
7
+ */
8
+ export interface SimCfnSamHttpApiTemplateInput {
9
+ /**
10
+ * What this test is about, added to the properties of an API that already
11
+ * deploys.
12
+ */
13
+ readonly apiProperties: SimCfnTemplateValueRecord;
14
+ /**
15
+ * The route the API routes onto the function, as Resources of its own. A
16
+ * test declaring its routes in a `DefinitionBody` asks for none.
17
+ */
18
+ readonly routeKey: string | undefined;
19
+ }
20
+ /**
21
+ * The logical ID the API carries, and so the name the HTTP API is expanded
22
+ * under.
23
+ */
24
+ export declare const samHttpApiTemplateLogicalId = "Orders";
25
+ /**
26
+ * The logical ID the expanded stage carries, for the API that names no stage.
27
+ */
28
+ export declare const samHttpApiTemplateStageLogicalId = "OrdersApiGatewayDefaultStage";
29
+ /**
30
+ * Builds a SAM template holding one AWS::Serverless::HttpApi.
31
+ *
32
+ * ```typescript
33
+ * const stack = await simAws.cloudFormation().deployTemplate({
34
+ * stackName: "orders-stack",
35
+ * template: simCfnSamHttpApiTemplateFactory.make({
36
+ * apiProperties: { StageName: "prod" },
37
+ * }),
38
+ * });
39
+ * ```
40
+ *
41
+ * The routes and the integration are Resources naming the API by `ApiId`, the
42
+ * way a template writes them against an API it declared. A request the
43
+ * template serves is one the SAM logical ID answered for.
44
+ */
45
+ export declare const simCfnSamHttpApiTemplateFactory: MappedFactory<SimCfnSamHttpApiTemplateInput, CfnTemplateBodyRecord, undefined>;
46
+ //# sourceMappingURL=sim-cfn-sam-http-api-template.factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-sam-http-api-template.factory.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAKhG;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,yBAAyB,CAAC;IAClD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,WAAW,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,gCAAgC,iCAAiC,CAAC;AAc/E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,gFAsC3C,CAAC"}
@@ -0,0 +1,103 @@
1
+ import { MappedFactory } from "@kensio/part-factory";
2
+ import { samFunctionType } from "../function/sim-cfn-sam-function.js";
3
+ import { samTransformName } from "../sim-cfn-sam-transform.js";
4
+ import { samHttpApiType } from "./sim-cfn-sam-http-api.js";
5
+ /**
6
+ * The logical ID the API carries, and so the name the HTTP API is expanded
7
+ * under.
8
+ */
9
+ export const samHttpApiTemplateLogicalId = "Orders";
10
+ /**
11
+ * The logical ID the expanded stage carries, for the API that names no stage.
12
+ */
13
+ export const samHttpApiTemplateStageLogicalId = "OrdersApiGatewayDefaultStage";
14
+ /**
15
+ * A handler reporting the route and the stage that reached it. A request
16
+ * served through the template says which of the API's routes served it.
17
+ */
18
+ const handlerSource = `
19
+ exports.handler = async (event) => ({
20
+ statusCode: 200,
21
+ headers: { "content-type": "text/plain" },
22
+ body: event.routeKey + " " + event.requestContext.stage,
23
+ });
24
+ `;
25
+ /**
26
+ * Builds a SAM template holding one AWS::Serverless::HttpApi.
27
+ *
28
+ * ```typescript
29
+ * const stack = await simAws.cloudFormation().deployTemplate({
30
+ * stackName: "orders-stack",
31
+ * template: simCfnSamHttpApiTemplateFactory.make({
32
+ * apiProperties: { StageName: "prod" },
33
+ * }),
34
+ * });
35
+ * ```
36
+ *
37
+ * The routes and the integration are Resources naming the API by `ApiId`, the
38
+ * way a template writes them against an API it declared. A request the
39
+ * template serves is one the SAM logical ID answered for.
40
+ */
41
+ export const simCfnSamHttpApiTemplateFactory = new MappedFactory(() => ({ apiProperties: {}, routeKey: "GET /orders" }), (input) => ({
42
+ Transform: samTransformName,
43
+ Resources: {
44
+ [samHttpApiTemplateLogicalId]: {
45
+ Type: samHttpApiType,
46
+ Properties: { ...input.apiProperties },
47
+ },
48
+ Handler: {
49
+ Type: samFunctionType,
50
+ Properties: {
51
+ FunctionName: "orders",
52
+ Handler: "index.handler",
53
+ Runtime: "nodejs22.x",
54
+ InlineCode: handlerSource,
55
+ },
56
+ },
57
+ HandlerPermission: {
58
+ Type: "AWS::Lambda::Permission",
59
+ Properties: {
60
+ Action: "lambda:InvokeFunction",
61
+ FunctionName: { "Fn::GetAtt": ["Handler", "Arn"] },
62
+ Principal: "apigateway.amazonaws.com",
63
+ },
64
+ },
65
+ ...integrationResources(input),
66
+ },
67
+ Outputs: {
68
+ ApiId: { Value: { Ref: samHttpApiTemplateLogicalId } },
69
+ ApiEndpoint: {
70
+ Value: { "Fn::GetAtt": [samHttpApiTemplateLogicalId, "ApiEndpoint"] },
71
+ },
72
+ },
73
+ }));
74
+ /**
75
+ * The integration and the route reaching it, for a template that declares its
76
+ * routes as Resources of their own.
77
+ */
78
+ function integrationResources(input) {
79
+ if (input.routeKey === undefined) {
80
+ return {};
81
+ }
82
+ return {
83
+ Integration: {
84
+ Type: "AWS::ApiGatewayV2::Integration",
85
+ Properties: {
86
+ ApiId: { Ref: samHttpApiTemplateLogicalId },
87
+ IntegrationType: "AWS_PROXY",
88
+ IntegrationUri: { "Fn::GetAtt": ["Handler", "Arn"] },
89
+ PayloadFormatVersion: "2.0",
90
+ },
91
+ },
92
+ Route: {
93
+ Type: "AWS::ApiGatewayV2::Route",
94
+ Properties: {
95
+ ApiId: { Ref: samHttpApiTemplateLogicalId },
96
+ RouteKey: input.routeKey,
97
+ AuthorizationType: "NONE",
98
+ Target: { "Fn::Join": ["", ["integrations/", { Ref: "Integration" }]] },
99
+ },
100
+ },
101
+ };
102
+ }
103
+ //# sourceMappingURL=sim-cfn-sam-http-api-template.factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-sam-http-api-template.factory.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAIrD,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAmB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CAAC;AAEpD;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,8BAA8B,CAAC;AAE/E;;;GAGG;AACH,MAAM,aAAa,GAAG;;;;;;CAMrB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,IAAI,aAAa,CAI9D,GAAG,EAAE,CAAC,CAAC,EAAE,aAAa,EAAE,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,EACtD,CAAC,KAAK,E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EAAE;YACL,IAAI,EAAE,0BAA0B;YAChC,UAAU,EAAE;gBACV,KAAK,EAAE,EAAE,GAAG,EAAE,2BAA2B,EAAE;gBAC3C,QAAQ,EAAE,KAAK,CAAC,QAAQ;gBACxB,iBAAiB,EAAE,MAAM;gBACzB,MAAM,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC,eAAe,EAAE,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC,EAAE;aACxE;SACF;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,28 @@
1
+ import type { SimCfnTemplateValue, SimCfnTemplateValueRecord } from "../../template/value/sim-cfn-template-value.js";
2
+ interface SamHttpApiExpansionProperties {
3
+ readonly logicalId: string;
4
+ readonly resource: SimCfnTemplateValueRecord;
5
+ readonly globals: SimCfnTemplateValueRecord;
6
+ }
7
+ /**
8
+ * The SAM Resource type this expansion covers.
9
+ */
10
+ export declare const samHttpApiType = "AWS::Serverless::HttpApi";
11
+ /**
12
+ * Expand one AWS::Serverless::HttpApi into the Resources CloudFormation
13
+ * deploys for it.
14
+ *
15
+ * The API keeps the logical ID the template gave the SAM Resource. `Ref` and
16
+ * `Fn::GetAtt` against that name answer what they answer for the API, and a
17
+ * route naming the API by `ApiId` reaches the one the template declared. Its
18
+ * stage is a second Resource named after it.
19
+ *
20
+ * A `DefinitionBody` is the API's OpenAPI document, and becomes the `Body` the
21
+ * API is imported from, routes and integrations and all. A `DefinitionUri`
22
+ * points at a document on disk or in S3. Nothing here reads either, and an API
23
+ * declaring one is left as the template wrote it, to be recorded as
24
+ * unsupported. The alternative is an API deployed with no routes at all.
25
+ */
26
+ export declare function samHttpApiResources(properties: SamHttpApiExpansionProperties): Record<string, SimCfnTemplateValue>;
27
+ export {};
28
+ //# sourceMappingURL=sim-cfn-sam-http-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-sam-http-api.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/sam/api/sim-cfn-sam-http-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,gDAAgD,CAAC;AASxD,UAAU,6BAA6B;IACrC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,yBAAyB,CAAC;CAC7C;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,6BAA6B,CAAC;AAmBzD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,6BAA6B,GACxC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAwBrC"}
@@ -0,0 +1,81 @@
1
+ import { samCarriedAttributes, samResourceProperties, } from "../function/sim-cfn-sam-function-properties.js";
2
+ import { samMergedHttpApiProperties } from "../sim-cfn-sam-globals.js";
3
+ import { samPickedProperties } from "../sim-cfn-sam-picked.js";
4
+ import { samHttpApiStageResources } from "./sim-cfn-sam-http-api-stage.js";
5
+ /**
6
+ * The SAM Resource type this expansion covers.
7
+ */
8
+ export const samHttpApiType = "AWS::Serverless::HttpApi";
9
+ /**
10
+ * The properties whose names and meanings are the same on both Resource types.
11
+ * Expanding one of them is carrying it across.
12
+ *
13
+ * `Auth` and `Domain` are absent from the list. SAM writes an `Auth` block
14
+ * into the OpenAPI document it generates, and deploys a `Domain` as a custom
15
+ * domain name Resource. Neither is expanded here, and an API declaring one is
16
+ * deployed without it.
17
+ */
18
+ const propertyNames = new Set([
19
+ "CorsConfiguration",
20
+ "Description",
21
+ "DisableExecuteApiEndpoint",
22
+ "FailOnWarnings",
23
+ "Name",
24
+ ]);
25
+ /**
26
+ * Expand one AWS::Serverless::HttpApi into the Resources CloudFormation
27
+ * deploys for it.
28
+ *
29
+ * The API keeps the logical ID the template gave the SAM Resource. `Ref` and
30
+ * `Fn::GetAtt` against that name answer what they answer for the API, and a
31
+ * route naming the API by `ApiId` reaches the one the template declared. Its
32
+ * stage is a second Resource named after it.
33
+ *
34
+ * A `DefinitionBody` is the API's OpenAPI document, and becomes the `Body` the
35
+ * API is imported from, routes and integrations and all. A `DefinitionUri`
36
+ * points at a document on disk or in S3. Nothing here reads either, and an API
37
+ * declaring one is left as the template wrote it, to be recorded as
38
+ * unsupported. The alternative is an API deployed with no routes at all.
39
+ */
40
+ export function samHttpApiResources(properties) {
41
+ const { logicalId, resource, globals } = properties;
42
+ const apiProperties = samMergedHttpApiProperties(globals, samResourceProperties(resource));
43
+ if (apiProperties["DefinitionUri"] !== undefined) {
44
+ return { [logicalId]: resource };
45
+ }
46
+ return {
47
+ [logicalId]: {
48
+ Type: "AWS::ApiGatewayV2::Api",
49
+ ...samCarriedAttributes(resource),
50
+ Properties: {
51
+ ...samPickedProperties(apiProperties, propertyNames),
52
+ ...samHttpApiName(logicalId, apiProperties),
53
+ ProtocolType: "HTTP",
54
+ ...samHttpApiBody(apiProperties),
55
+ },
56
+ },
57
+ ...samHttpApiStageResources({ logicalId, resource, apiProperties }),
58
+ };
59
+ }
60
+ /**
61
+ * The name of an API that named itself none.
62
+ *
63
+ * An HTTP API is named where a SAM one need not be, and the logical ID is the
64
+ * name the template already has for it. An API imported from a document takes
65
+ * its name from the document's title, and is left unnamed here for that title
66
+ * to name.
67
+ */
68
+ function samHttpApiName(logicalId, apiProperties) {
69
+ const named = apiProperties["Name"] !== undefined ||
70
+ apiProperties["DefinitionBody"] !== undefined;
71
+ return named ? {} : { Name: logicalId };
72
+ }
73
+ /**
74
+ * The OpenAPI document the API is imported from, where the template declared
75
+ * one inline.
76
+ */
77
+ function samHttpApiBody(apiProperties) {
78
+ const definitionBody = apiProperties["DefinitionBody"];
79
+ return definitionBody === undefined ? {} : { Body: definitionBody };
80
+ }
81
+ //# sourceMappingURL=sim-cfn-sam-http-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-sam-http-api.js","sourceRoot":"","sources":["../../../../../src/service/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AAC;AACJ,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,cAAc,CACrB,SAAiB,EACjB,aAAwC;IAExC,MAAM,KAAK,GACT,aAAa,CAAC,MAAM,CAAC,KAAK,SAAS;QACnC,aAAa,CAAC,gBAAgB,CAAC,KAAK,SAAS,CAAC;IAEhD,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC1C,CAAC;AAED;;;GAGG;AACH,SAAS,cAAc,CACrB,aAAwC;IAExC,MAAM,cAAc,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAEvD,OAAO,cAAc,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;AACtE,CAAC"}
@@ -0,0 +1,52 @@
1
+ import type { SimCfnTemplateValue, SimCfnTemplateValueRecord } from "../../../template/value/sim-cfn-template-value.js";
2
+ /**
3
+ * What the expansion of a SAM function is asked about its events.
4
+ */
5
+ export interface SamFunctionEventsProperties {
6
+ /** The logical ID of the SAM function whose events these are. */
7
+ readonly logicalId: string;
8
+ /** The function properties, with the `Globals` defaults already merged in. */
9
+ readonly functionProperties: SimCfnTemplateValueRecord;
10
+ /** The `Condition` the SAM Resource carried, where it carried one. */
11
+ readonly condition: SimCfnTemplateValue | undefined;
12
+ }
13
+ /**
14
+ * What an expansion is told about the event it is expanding.
15
+ */
16
+ export interface SamFunctionEvent {
17
+ /**
18
+ * The logical ID of the SAM function the event is declared on, which is also
19
+ * the logical ID of the Lambda function it is expanded into.
20
+ */
21
+ readonly functionLogicalId: string;
22
+ /** The name the function declared the event under in `Events`. */
23
+ readonly eventName: string;
24
+ /**
25
+ * The `Properties` of the event. An event stating none states an empty
26
+ * record.
27
+ */
28
+ readonly properties: SimCfnTemplateValueRecord;
29
+ /**
30
+ * The `Condition` attribute to put on the Resources that exist only because
31
+ * this function does, ready to spread. A function carrying no condition
32
+ * supplies nothing.
33
+ */
34
+ readonly condition: SimCfnTemplateValueRecord;
35
+ }
36
+ /**
37
+ * One event of a function, as the expansion tables are asked about it.
38
+ */
39
+ export interface SamDeclaredEvent {
40
+ /** The name the event wrote under `Type`. */
41
+ readonly type: string;
42
+ readonly event: SamFunctionEvent;
43
+ }
44
+ /**
45
+ * The events a function declares, as the expansion tables are told about them.
46
+ *
47
+ * An event this cannot read at all, or one naming no `Type`, is left out. The
48
+ * function deploys with nothing in front of it rather than the deployment
49
+ * failing over an event nothing reads.
50
+ */
51
+ export declare function samDeclaredEvents(properties: SamFunctionEventsProperties): readonly SamDeclaredEvent[];
52
+ //# sourceMappingURL=sim-cfn-sam-declared-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-sam-declared-event.d.ts","sourceRoot":"","sources":["../../../../../../src/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,mDAAmD,CAAC;AAI3D;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,iEAAiE;IACjE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,8EAA8E;IAC9E,QAAQ,CAAC,kBAAkB,EAAE,yBAAyB,CAAC;IACvD,sEAAsE;IACtE,QAAQ,CAAC,SAAS,EAAE,mBAAmB,GAAG,SAAS,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,kEAAkE;IAClE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,yBAAyB,CAAC;IAC/C;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,yBAAyB,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;CAClC;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,2BAA2B,GACtC,SAAS,gBAAgB,EAAE,CAU7B"}
@@ -0,0 +1,38 @@
1
+ import { isSamTemplateRecord } from "../../sim-cfn-sam-record.js";
2
+ import { samConditionAttribute } from "../sim-cfn-sam-function-properties.js";
3
+ /**
4
+ * The events a function declares, as the expansion tables are told about them.
5
+ *
6
+ * An event this cannot read at all, or one naming no `Type`, is left out. The
7
+ * function deploys with nothing in front of it rather than the deployment
8
+ * failing over an event nothing reads.
9
+ */
10
+ export function samDeclaredEvents(properties) {
11
+ const events = properties.functionProperties["Events"];
12
+ if (!isSamTemplateRecord(events)) {
13
+ return [];
14
+ }
15
+ return Object.entries(events).flatMap(([eventName, event]) => declaredEvent(properties, eventName, event));
16
+ }
17
+ function declaredEvent(properties, eventName, event) {
18
+ if (!isSamTemplateRecord(event)) {
19
+ return [];
20
+ }
21
+ const type = event["Type"];
22
+ if (typeof type !== "string") {
23
+ return [];
24
+ }
25
+ const eventProperties = event["Properties"];
26
+ return [
27
+ {
28
+ type,
29
+ event: {
30
+ functionLogicalId: properties.logicalId,
31
+ eventName,
32
+ properties: isSamTemplateRecord(eventProperties) ? eventProperties : {},
33
+ condition: samConditionAttribute(properties.condition),
34
+ },
35
+ },
36
+ ];
37
+ }
38
+ //# sourceMappingURL=sim-cfn-sam-declared-event.js.map