@kensio/yulin 1.15.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (756) hide show
  1. package/README.md +2 -0
  2. package/dist/sdk/error/sim-sdk.error.d.ts +10 -0
  3. package/dist/sdk/error/sim-sdk.error.d.ts.map +1 -1
  4. package/dist/sdk/error/sim-sdk.error.js +10 -0
  5. package/dist/sdk/error/sim-sdk.error.js.map +1 -1
  6. package/dist/sdk/index.d.ts +1 -1
  7. package/dist/sdk/index.d.ts.map +1 -1
  8. package/dist/sdk/index.js +1 -1
  9. package/dist/sdk/index.js.map +1 -1
  10. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  11. package/dist/sdk/router/resolve-sim-sdk-command-router.js +5 -0
  12. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  13. package/dist/sdk/wire/sim-sdk-wire-command.d.ts +20 -0
  14. package/dist/sdk/wire/sim-sdk-wire-command.d.ts.map +1 -0
  15. package/dist/sdk/wire/sim-sdk-wire-command.js +31 -0
  16. package/dist/sdk/wire/sim-sdk-wire-command.js.map +1 -0
  17. package/dist/sdk/wire/sim-sdk-wire-dispatcher.d.ts +42 -0
  18. package/dist/sdk/wire/sim-sdk-wire-dispatcher.d.ts.map +1 -0
  19. package/dist/sdk/wire/sim-sdk-wire-dispatcher.js +63 -0
  20. package/dist/sdk/wire/sim-sdk-wire-dispatcher.js.map +1 -0
  21. package/dist/sdk/wire/sim-sdk-wire-json.d.ts +26 -0
  22. package/dist/sdk/wire/sim-sdk-wire-json.d.ts.map +1 -0
  23. package/dist/sdk/wire/sim-sdk-wire-json.js +59 -0
  24. package/dist/sdk/wire/sim-sdk-wire-json.js.map +1 -0
  25. package/dist/sdk/wire/sim-sdk-wire-operation.d.ts +37 -0
  26. package/dist/sdk/wire/sim-sdk-wire-operation.d.ts.map +1 -0
  27. package/dist/sdk/wire/sim-sdk-wire-operation.js +79 -0
  28. package/dist/sdk/wire/sim-sdk-wire-operation.js.map +1 -0
  29. package/dist/sdk/wire/sim-sdk-wire-response.d.ts +17 -0
  30. package/dist/sdk/wire/sim-sdk-wire-response.d.ts.map +1 -0
  31. package/dist/sdk/wire/sim-sdk-wire-response.js +67 -0
  32. package/dist/sdk/wire/sim-sdk-wire-response.js.map +1 -0
  33. package/dist/sdk/wire/sim-sdk-wire-unbridged.d.ts +17 -0
  34. package/dist/sdk/wire/sim-sdk-wire-unbridged.d.ts.map +1 -0
  35. package/dist/sdk/wire/sim-sdk-wire-unbridged.js +25 -0
  36. package/dist/sdk/wire/sim-sdk-wire-unbridged.js.map +1 -0
  37. package/dist/sdk/wire/sim-sdk-wire.types.d.ts +32 -0
  38. package/dist/sdk/wire/sim-sdk-wire.types.d.ts.map +1 -0
  39. package/dist/sdk/wire/sim-sdk-wire.types.js +2 -0
  40. package/dist/sdk/wire/sim-sdk-wire.types.js.map +1 -0
  41. package/dist/serve/payload-2/sim-payload-2-endpoint-style.d.ts +33 -0
  42. package/dist/serve/payload-2/sim-payload-2-endpoint-style.d.ts.map +1 -0
  43. package/dist/serve/payload-2/sim-payload-2-endpoint-style.js +2 -0
  44. package/dist/serve/payload-2/sim-payload-2-endpoint-style.js.map +1 -0
  45. package/dist/serve/payload-2/sim-payload-2-event-builder.d.ts.map +1 -1
  46. package/dist/serve/payload-2/sim-payload-2-event-builder.js +2 -2
  47. package/dist/serve/payload-2/sim-payload-2-event-builder.js.map +1 -1
  48. package/dist/serve/payload-2/sim-payload-2-event-query.d.ts +12 -0
  49. package/dist/serve/payload-2/sim-payload-2-event-query.d.ts.map +1 -0
  50. package/dist/serve/payload-2/sim-payload-2-event-query.js +15 -0
  51. package/dist/serve/payload-2/sim-payload-2-event-query.js.map +1 -0
  52. package/dist/serve/payload-2/sim-payload-2-event-request.d.ts +32 -0
  53. package/dist/serve/payload-2/sim-payload-2-event-request.d.ts.map +1 -0
  54. package/dist/serve/payload-2/sim-payload-2-event-request.js +42 -0
  55. package/dist/serve/payload-2/sim-payload-2-event-request.js.map +1 -0
  56. package/dist/serve/payload-2/sim-payload-2-event.factory.d.ts +15 -0
  57. package/dist/serve/payload-2/sim-payload-2-event.factory.d.ts.map +1 -0
  58. package/dist/serve/payload-2/sim-payload-2-event.factory.js +71 -0
  59. package/dist/serve/payload-2/sim-payload-2-event.factory.js.map +1 -0
  60. package/dist/serve/payload-2/sim-payload-2-request-parts.d.ts +23 -12
  61. package/dist/serve/payload-2/sim-payload-2-request-parts.d.ts.map +1 -1
  62. package/dist/serve/payload-2/sim-payload-2-request-parts.js +38 -26
  63. package/dist/serve/payload-2/sim-payload-2-request-parts.js.map +1 -1
  64. package/dist/service/apigatewayv2/factory/http-api-proxy-event.factory.d.ts +35 -0
  65. package/dist/service/apigatewayv2/factory/http-api-proxy-event.factory.d.ts.map +1 -0
  66. package/dist/service/apigatewayv2/factory/http-api-proxy-event.factory.js +65 -0
  67. package/dist/service/apigatewayv2/factory/http-api-proxy-event.factory.js.map +1 -0
  68. package/dist/service/apigatewayv2/index.d.ts +1 -0
  69. package/dist/service/apigatewayv2/index.d.ts.map +1 -1
  70. package/dist/service/apigatewayv2/index.js +1 -0
  71. package/dist/service/apigatewayv2/index.js.map +1 -1
  72. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +10 -36
  73. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  74. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +16 -63
  75. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  76. package/dist/service/aws/factory/sim-aws-cloudwatch-collaborators.d.ts +22 -0
  77. package/dist/service/aws/factory/sim-aws-cloudwatch-collaborators.d.ts.map +1 -0
  78. package/dist/service/aws/factory/sim-aws-cloudwatch-collaborators.js +20 -0
  79. package/dist/service/aws/factory/sim-aws-cloudwatch-collaborators.js.map +1 -0
  80. package/dist/service/aws/factory/sim-aws-registered-service-builder.d.ts +71 -0
  81. package/dist/service/aws/factory/sim-aws-registered-service-builder.d.ts.map +1 -0
  82. package/dist/service/aws/factory/sim-aws-registered-service-builder.js +96 -0
  83. package/dist/service/aws/factory/sim-aws-registered-service-builder.js.map +1 -0
  84. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +9 -0
  85. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts.map +1 -1
  86. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +11 -0
  87. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js.map +1 -1
  88. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +7 -0
  89. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  90. package/dist/service/aws/factory/sim-aws-service-factory.js +19 -5
  91. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  92. package/dist/service/aws/sim-aws-account-region-scope.d.ts +6 -0
  93. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  94. package/dist/service/aws/sim-aws-account-region-scope.js +8 -0
  95. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  96. package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
  97. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
  98. package/dist/service/aws/sim-aws-service-accessors.js +8 -0
  99. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
  100. package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-alarm-cfn.d.ts +26 -0
  101. package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-alarm-cfn.d.ts.map +1 -0
  102. package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-alarm-cfn.js +28 -0
  103. package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-alarm-cfn.js.map +1 -0
  104. package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-cfn-value-adapter.d.ts +6 -0
  105. package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-cfn-value-adapter.d.ts.map +1 -0
  106. package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-cfn-value-adapter.js +13 -0
  107. package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-cfn-value-adapter.js.map +1 -0
  108. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.d.ts +6 -0
  109. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.d.ts.map +1 -0
  110. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.js +19 -0
  111. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.js.map +1 -0
  112. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.d.ts +27 -0
  113. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.d.ts.map +1 -0
  114. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.js +46 -0
  115. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.js.map +1 -0
  116. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.d.ts +33 -0
  117. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.d.ts.map +1 -0
  118. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.js +48 -0
  119. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.js.map +1 -0
  120. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-template-cfn.d.ts +27 -0
  121. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-template-cfn.d.ts.map +1 -0
  122. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-template-cfn.js +29 -0
  123. package/dist/service/cloudformation/resource/cfn/ses/sim-ses-template-cfn.js.map +1 -0
  124. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
  125. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -0
  126. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
  127. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
  128. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +8 -0
  129. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
  130. package/dist/service/cloudwatch/alarm/action/sim-aws-cloudwatch-alarm-topics.d.ts +34 -0
  131. package/dist/service/cloudwatch/alarm/action/sim-aws-cloudwatch-alarm-topics.d.ts.map +1 -0
  132. package/dist/service/cloudwatch/alarm/action/sim-aws-cloudwatch-alarm-topics.js +51 -0
  133. package/dist/service/cloudwatch/alarm/action/sim-aws-cloudwatch-alarm-topics.js.map +1 -0
  134. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-action-failures.d.ts +54 -0
  135. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-action-failures.d.ts.map +1 -0
  136. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-action-failures.js +70 -0
  137. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-action-failures.js.map +1 -0
  138. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-actions.d.ts +30 -0
  139. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-actions.d.ts.map +1 -0
  140. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-actions.js +58 -0
  141. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-actions.js.map +1 -0
  142. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-notification.d.ts +26 -0
  143. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-notification.d.ts.map +1 -0
  144. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-notification.js +56 -0
  145. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-notification.js.map +1 -0
  146. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-targets.d.ts +37 -0
  147. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-targets.d.ts.map +1 -0
  148. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-targets.js +19 -0
  149. package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-targets.js.map +1 -0
  150. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-arn.d.ts +10 -0
  151. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-arn.d.ts.map +1 -0
  152. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-arn.js +11 -0
  153. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-arn.js.map +1 -0
  154. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-definition.d.ts +33 -0
  155. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-definition.d.ts.map +1 -0
  156. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-definition.js +2 -0
  157. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-definition.js.map +1 -0
  158. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-evaluation.d.ts +32 -0
  159. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-evaluation.d.ts.map +1 -0
  160. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-evaluation.js +75 -0
  161. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-evaluation.js.map +1 -0
  162. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-history.d.ts +26 -0
  163. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-history.d.ts.map +1 -0
  164. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-history.js +16 -0
  165. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-history.js.map +1 -0
  166. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-periods.d.ts +23 -0
  167. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-periods.d.ts.map +1 -0
  168. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-periods.js +37 -0
  169. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-periods.js.map +1 -0
  170. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-schedule.d.ts +55 -0
  171. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-schedule.d.ts.map +1 -0
  172. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-schedule.js +84 -0
  173. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-schedule.js.map +1 -0
  174. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-state.d.ts +18 -0
  175. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-state.d.ts.map +1 -0
  176. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-state.js +29 -0
  177. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-state.js.map +1 -0
  178. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-store.d.ts +24 -0
  179. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-store.d.ts.map +1 -0
  180. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-store.js +33 -0
  181. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-store.js.map +1 -0
  182. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm.d.ts +57 -0
  183. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm.d.ts.map +1 -0
  184. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm.js +84 -0
  185. package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm.js.map +1 -0
  186. package/dist/service/cloudwatch/alarm/sim-cloudwatch-comparison.d.ts +19 -0
  187. package/dist/service/cloudwatch/alarm/sim-cloudwatch-comparison.d.ts.map +1 -0
  188. package/dist/service/cloudwatch/alarm/sim-cloudwatch-comparison.js +48 -0
  189. package/dist/service/cloudwatch/alarm/sim-cloudwatch-comparison.js.map +1 -0
  190. package/dist/service/cloudwatch/alarm/sim-cloudwatch-missing-data.d.ts +16 -0
  191. package/dist/service/cloudwatch/alarm/sim-cloudwatch-missing-data.d.ts.map +1 -0
  192. package/dist/service/cloudwatch/alarm/sim-cloudwatch-missing-data.js +31 -0
  193. package/dist/service/cloudwatch/alarm/sim-cloudwatch-missing-data.js.map +1 -0
  194. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.d.ts +33 -0
  195. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.d.ts.map +1 -0
  196. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.js +41 -0
  197. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.js.map +1 -0
  198. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-properties.d.ts +39 -0
  199. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-properties.d.ts.map +1 -0
  200. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-properties.js +80 -0
  201. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-properties.js.map +1 -0
  202. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-property-rules.d.ts +20 -0
  203. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-property-rules.d.ts.map +1 -0
  204. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-property-rules.js +80 -0
  205. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-property-rules.js.map +1 -0
  206. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-values.d.ts +56 -0
  207. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-values.d.ts.map +1 -0
  208. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-values.js +107 -0
  209. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-values.js.map +1 -0
  210. package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.d.ts +29 -0
  211. package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.d.ts.map +1 -0
  212. package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.js +43 -0
  213. package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.js.map +1 -0
  214. package/dist/service/cloudwatch/command/alarm/alarm.command.d.ts +155 -0
  215. package/dist/service/cloudwatch/command/alarm/alarm.command.d.ts.map +1 -0
  216. package/dist/service/cloudwatch/command/alarm/alarm.command.js +2 -0
  217. package/dist/service/cloudwatch/command/alarm/alarm.command.js.map +1 -0
  218. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-action-input.d.ts +19 -0
  219. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-action-input.d.ts.map +1 -0
  220. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-action-input.js +56 -0
  221. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-action-input.js.map +1 -0
  222. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-context.d.ts +22 -0
  223. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-context.d.ts.map +1 -0
  224. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-context.js +2 -0
  225. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-context.js.map +1 -0
  226. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-detail.d.ts +15 -0
  227. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-detail.d.ts.map +1 -0
  228. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-detail.js +61 -0
  229. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-detail.js.map +1 -0
  230. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-input.d.ts +7 -0
  231. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-input.d.ts.map +1 -0
  232. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-input.js +39 -0
  233. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-input.js.map +1 -0
  234. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-numbers.d.ts +20 -0
  235. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-numbers.d.ts.map +1 -0
  236. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-numbers.js +52 -0
  237. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-numbers.js.map +1 -0
  238. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-reads.d.ts +25 -0
  239. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-reads.d.ts.map +1 -0
  240. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-reads.js +60 -0
  241. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-reads.js.map +1 -0
  242. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-selection.d.ts +12 -0
  243. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-selection.d.ts.map +1 -0
  244. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-selection.js +59 -0
  245. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-selection.js.map +1 -0
  246. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-writes.d.ts +23 -0
  247. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-writes.d.ts.map +1 -0
  248. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-writes.js +63 -0
  249. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-writes.js.map +1 -0
  250. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-set-alarm-state.d.ts +19 -0
  251. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-set-alarm-state.d.ts.map +1 -0
  252. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-set-alarm-state.js +47 -0
  253. package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-set-alarm-state.js.map +1 -0
  254. package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-authorizer.d.ts +41 -0
  255. package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-authorizer.d.ts.map +1 -0
  256. package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-authorizer.js +65 -0
  257. package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-authorizer.js.map +1 -0
  258. package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-decide.d.ts +23 -0
  259. package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-decide.d.ts.map +1 -0
  260. package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-decide.js +30 -0
  261. package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-decide.js.map +1 -0
  262. package/dist/service/cloudwatch/command/data/data.command.d.ts +42 -0
  263. package/dist/service/cloudwatch/command/data/data.command.d.ts.map +1 -0
  264. package/dist/service/cloudwatch/command/data/data.command.js +2 -0
  265. package/dist/service/cloudwatch/command/data/data.command.js.map +1 -0
  266. package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-datum.d.ts +11 -0
  267. package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-datum.d.ts.map +1 -0
  268. package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-datum.js +66 -0
  269. package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-datum.js.map +1 -0
  270. package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-value.d.ts +14 -0
  271. package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-value.d.ts.map +1 -0
  272. package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-value.js +58 -0
  273. package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-value.js.map +1 -0
  274. package/dist/service/cloudwatch/command/data/sim-cloudwatch-observation.d.ts +15 -0
  275. package/dist/service/cloudwatch/command/data/sim-cloudwatch-observation.d.ts.map +1 -0
  276. package/dist/service/cloudwatch/command/data/sim-cloudwatch-observation.js +34 -0
  277. package/dist/service/cloudwatch/command/data/sim-cloudwatch-observation.js.map +1 -0
  278. package/dist/service/cloudwatch/command/data/sim-cloudwatch-put-metric-data.d.ts +28 -0
  279. package/dist/service/cloudwatch/command/data/sim-cloudwatch-put-metric-data.d.ts.map +1 -0
  280. package/dist/service/cloudwatch/command/data/sim-cloudwatch-put-metric-data.js +66 -0
  281. package/dist/service/cloudwatch/command/data/sim-cloudwatch-put-metric-data.js.map +1 -0
  282. package/dist/service/cloudwatch/command/data/sim-cloudwatch-weighted-values.d.ts +9 -0
  283. package/dist/service/cloudwatch/command/data/sim-cloudwatch-weighted-values.d.ts.map +1 -0
  284. package/dist/service/cloudwatch/command/data/sim-cloudwatch-weighted-values.js +22 -0
  285. package/dist/service/cloudwatch/command/data/sim-cloudwatch-weighted-values.js.map +1 -0
  286. package/dist/service/cloudwatch/command/query/query.command.d.ts +133 -0
  287. package/dist/service/cloudwatch/command/query/query.command.d.ts.map +1 -0
  288. package/dist/service/cloudwatch/command/query/query.command.js +2 -0
  289. package/dist/service/cloudwatch/command/query/query.command.js.map +1 -0
  290. package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-data.d.ts +25 -0
  291. package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-data.d.ts.map +1 -0
  292. package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-data.js +46 -0
  293. package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-data.js.map +1 -0
  294. package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-statistics.d.ts +25 -0
  295. package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-statistics.d.ts.map +1 -0
  296. package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-statistics.js +55 -0
  297. package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-statistics.js.map +1 -0
  298. package/dist/service/cloudwatch/command/query/sim-cloudwatch-list-metrics.d.ts +23 -0
  299. package/dist/service/cloudwatch/command/query/sim-cloudwatch-list-metrics.d.ts.map +1 -0
  300. package/dist/service/cloudwatch/command/query/sim-cloudwatch-list-metrics.js +46 -0
  301. package/dist/service/cloudwatch/command/query/sim-cloudwatch-list-metrics.js.map +1 -0
  302. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-query.d.ts +25 -0
  303. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-query.d.ts.map +1 -0
  304. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-query.js +63 -0
  305. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-query.js.map +1 -0
  306. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-request.d.ts +26 -0
  307. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-request.d.ts.map +1 -0
  308. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-request.js +61 -0
  309. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-request.js.map +1 -0
  310. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-result.d.ts +20 -0
  311. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-result.d.ts.map +1 -0
  312. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-result.js +36 -0
  313. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-result.js.map +1 -0
  314. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-filter.d.ts +12 -0
  315. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-filter.d.ts.map +1 -0
  316. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-filter.js +27 -0
  317. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-filter.js.map +1 -0
  318. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-listing.d.ts +20 -0
  319. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-listing.d.ts.map +1 -0
  320. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-listing.js +52 -0
  321. package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-listing.js.map +1 -0
  322. package/dist/service/cloudwatch/command/query/sim-cloudwatch-requested-statistics.d.ts +10 -0
  323. package/dist/service/cloudwatch/command/query/sim-cloudwatch-requested-statistics.d.ts.map +1 -0
  324. package/dist/service/cloudwatch/command/query/sim-cloudwatch-requested-statistics.js +20 -0
  325. package/dist/service/cloudwatch/command/query/sim-cloudwatch-requested-statistics.js.map +1 -0
  326. package/dist/service/cloudwatch/command/query/sim-cloudwatch-statistic-datapoints.d.ts +17 -0
  327. package/dist/service/cloudwatch/command/query/sim-cloudwatch-statistic-datapoints.d.ts.map +1 -0
  328. package/dist/service/cloudwatch/command/query/sim-cloudwatch-statistic-datapoints.js +45 -0
  329. package/dist/service/cloudwatch/command/query/sim-cloudwatch-statistic-datapoints.js.map +1 -0
  330. package/dist/service/cloudwatch/command/sim-cloudwatch-command.types.d.ts +7 -0
  331. package/dist/service/cloudwatch/command/sim-cloudwatch-command.types.d.ts.map +1 -0
  332. package/dist/service/cloudwatch/command/sim-cloudwatch-command.types.js +2 -0
  333. package/dist/service/cloudwatch/command/sim-cloudwatch-command.types.js.map +1 -0
  334. package/dist/service/cloudwatch/command/sim-cloudwatch-page.d.ts +24 -0
  335. package/dist/service/cloudwatch/command/sim-cloudwatch-page.d.ts.map +1 -0
  336. package/dist/service/cloudwatch/command/sim-cloudwatch-page.js +36 -0
  337. package/dist/service/cloudwatch/command/sim-cloudwatch-page.js.map +1 -0
  338. package/dist/service/cloudwatch/command/sim-cloudwatch-request-options.d.ts +21 -0
  339. package/dist/service/cloudwatch/command/sim-cloudwatch-request-options.d.ts.map +1 -0
  340. package/dist/service/cloudwatch/command/sim-cloudwatch-request-options.js +10 -0
  341. package/dist/service/cloudwatch/command/sim-cloudwatch-request-options.js.map +1 -0
  342. package/dist/service/cloudwatch/error/sim-cloudwatch.error.d.ts +48 -0
  343. package/dist/service/cloudwatch/error/sim-cloudwatch.error.d.ts.map +1 -0
  344. package/dist/service/cloudwatch/error/sim-cloudwatch.error.js +51 -0
  345. package/dist/service/cloudwatch/error/sim-cloudwatch.error.js.map +1 -0
  346. package/dist/service/cloudwatch/index.d.ts +26 -0
  347. package/dist/service/cloudwatch/index.d.ts.map +1 -0
  348. package/dist/service/cloudwatch/index.js +25 -0
  349. package/dist/service/cloudwatch/index.js.map +1 -0
  350. package/dist/service/cloudwatch/metric/sim-cloudwatch-datapoint.d.ts +54 -0
  351. package/dist/service/cloudwatch/metric/sim-cloudwatch-datapoint.d.ts.map +1 -0
  352. package/dist/service/cloudwatch/metric/sim-cloudwatch-datapoint.js +29 -0
  353. package/dist/service/cloudwatch/metric/sim-cloudwatch-datapoint.js.map +1 -0
  354. package/dist/service/cloudwatch/metric/sim-cloudwatch-dimension.d.ts +37 -0
  355. package/dist/service/cloudwatch/metric/sim-cloudwatch-dimension.d.ts.map +1 -0
  356. package/dist/service/cloudwatch/metric/sim-cloudwatch-dimension.js +42 -0
  357. package/dist/service/cloudwatch/metric/sim-cloudwatch-dimension.js.map +1 -0
  358. package/dist/service/cloudwatch/metric/sim-cloudwatch-metric-store.d.ts +46 -0
  359. package/dist/service/cloudwatch/metric/sim-cloudwatch-metric-store.d.ts.map +1 -0
  360. package/dist/service/cloudwatch/metric/sim-cloudwatch-metric-store.js +61 -0
  361. package/dist/service/cloudwatch/metric/sim-cloudwatch-metric-store.js.map +1 -0
  362. package/dist/service/cloudwatch/metric/sim-cloudwatch-metric.d.ts +53 -0
  363. package/dist/service/cloudwatch/metric/sim-cloudwatch-metric.d.ts.map +1 -0
  364. package/dist/service/cloudwatch/metric/sim-cloudwatch-metric.js +45 -0
  365. package/dist/service/cloudwatch/metric/sim-cloudwatch-metric.js.map +1 -0
  366. package/dist/service/cloudwatch/metric/sim-cloudwatch-name.d.ts +22 -0
  367. package/dist/service/cloudwatch/metric/sim-cloudwatch-name.d.ts.map +1 -0
  368. package/dist/service/cloudwatch/metric/sim-cloudwatch-name.js +54 -0
  369. package/dist/service/cloudwatch/metric/sim-cloudwatch-name.js.map +1 -0
  370. package/dist/service/cloudwatch/metric/sim-cloudwatch-namespace.d.ts +22 -0
  371. package/dist/service/cloudwatch/metric/sim-cloudwatch-namespace.d.ts.map +1 -0
  372. package/dist/service/cloudwatch/metric/sim-cloudwatch-namespace.js +34 -0
  373. package/dist/service/cloudwatch/metric/sim-cloudwatch-namespace.js.map +1 -0
  374. package/dist/service/cloudwatch/metric/sim-cloudwatch-period.d.ts +32 -0
  375. package/dist/service/cloudwatch/metric/sim-cloudwatch-period.d.ts.map +1 -0
  376. package/dist/service/cloudwatch/metric/sim-cloudwatch-period.js +70 -0
  377. package/dist/service/cloudwatch/metric/sim-cloudwatch-period.js.map +1 -0
  378. package/dist/service/cloudwatch/metric/sim-cloudwatch-statistic.d.ts +20 -0
  379. package/dist/service/cloudwatch/metric/sim-cloudwatch-statistic.d.ts.map +1 -0
  380. package/dist/service/cloudwatch/metric/sim-cloudwatch-statistic.js +51 -0
  381. package/dist/service/cloudwatch/metric/sim-cloudwatch-statistic.js.map +1 -0
  382. package/dist/service/cloudwatch/metric/sim-cloudwatch-time-range.d.ts +16 -0
  383. package/dist/service/cloudwatch/metric/sim-cloudwatch-time-range.d.ts.map +1 -0
  384. package/dist/service/cloudwatch/metric/sim-cloudwatch-time-range.js +25 -0
  385. package/dist/service/cloudwatch/metric/sim-cloudwatch-time-range.js.map +1 -0
  386. package/dist/service/cloudwatch/metric/sim-cloudwatch-unit.d.ts +18 -0
  387. package/dist/service/cloudwatch/metric/sim-cloudwatch-unit.d.ts.map +1 -0
  388. package/dist/service/cloudwatch/metric/sim-cloudwatch-unit.js +56 -0
  389. package/dist/service/cloudwatch/metric/sim-cloudwatch-unit.js.map +1 -0
  390. package/dist/service/cloudwatch/sdk/sim-cloudwatch-sdk-command-router.d.ts +18 -0
  391. package/dist/service/cloudwatch/sdk/sim-cloudwatch-sdk-command-router.d.ts.map +1 -0
  392. package/dist/service/cloudwatch/sdk/sim-cloudwatch-sdk-command-router.js +60 -0
  393. package/dist/service/cloudwatch/sdk/sim-cloudwatch-sdk-command-router.js.map +1 -0
  394. package/dist/service/cloudwatch/sim-cloudwatch-commands.d.ts +47 -0
  395. package/dist/service/cloudwatch/sim-cloudwatch-commands.d.ts.map +1 -0
  396. package/dist/service/cloudwatch/sim-cloudwatch-commands.js +86 -0
  397. package/dist/service/cloudwatch/sim-cloudwatch-commands.js.map +1 -0
  398. package/dist/service/cloudwatch/sim-cloudwatch.d.ts +98 -0
  399. package/dist/service/cloudwatch/sim-cloudwatch.d.ts.map +1 -0
  400. package/dist/service/cloudwatch/sim-cloudwatch.js +138 -0
  401. package/dist/service/cloudwatch/sim-cloudwatch.js.map +1 -0
  402. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-account-recovery.d.ts +32 -0
  403. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-account-recovery.d.ts.map +1 -0
  404. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-account-recovery.js +61 -0
  405. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-account-recovery.js.map +1 -0
  406. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts +2 -3
  407. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
  408. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +23 -9
  409. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
  410. package/dist/service/cognito/command/user/sim-cognito-sign-in-value-check.d.ts +30 -0
  411. package/dist/service/cognito/command/user/sim-cognito-sign-in-value-check.d.ts.map +1 -0
  412. package/dist/service/cognito/command/user/sim-cognito-sign-in-value-check.js +47 -0
  413. package/dist/service/cognito/command/user/sim-cognito-sign-in-value-check.js.map +1 -0
  414. package/dist/service/cognito/command/user/sim-cognito-sign-up-commands.d.ts.map +1 -1
  415. package/dist/service/cognito/command/user/sim-cognito-sign-up-commands.js +8 -4
  416. package/dist/service/cognito/command/user/sim-cognito-sign-up-commands.js.map +1 -1
  417. package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts.map +1 -1
  418. package/dist/service/cognito/command/user/sim-cognito-user-commands.js +7 -3
  419. package/dist/service/cognito/command/user/sim-cognito-user-commands.js.map +1 -1
  420. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.d.ts.map +1 -1
  421. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js +3 -1
  422. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js.map +1 -1
  423. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.d.ts +3 -4
  424. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.d.ts.map +1 -1
  425. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.js +3 -22
  426. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.js.map +1 -1
  427. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-identity.d.ts +9 -16
  428. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-identity.d.ts.map +1 -1
  429. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-identity.js +9 -26
  430. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-identity.js.map +1 -1
  431. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-updates.d.ts +12 -3
  432. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-updates.d.ts.map +1 -1
  433. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-updates.js +19 -3
  434. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-updates.js.map +1 -1
  435. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.d.ts.map +1 -1
  436. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.js +5 -4
  437. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.js.map +1 -1
  438. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +6 -2
  439. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
  440. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +8 -3
  441. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
  442. package/dist/service/cognito/command/user-pool/user-pool.command.d.ts +10 -8
  443. package/dist/service/cognito/command/user-pool/user-pool.command.d.ts.map +1 -1
  444. package/dist/service/cognito/error/sim-cognito.error.d.ts +10 -0
  445. package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
  446. package/dist/service/cognito/error/sim-cognito.error.js +12 -0
  447. package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
  448. package/dist/service/cognito/index.d.ts +1 -1
  449. package/dist/service/cognito/index.d.ts.map +1 -1
  450. package/dist/service/cognito/index.js +1 -1
  451. package/dist/service/cognito/index.js.map +1 -1
  452. package/dist/service/cognito/user-pool/sim-cognito-account-recovery.d.ts +86 -0
  453. package/dist/service/cognito/user-pool/sim-cognito-account-recovery.d.ts.map +1 -0
  454. package/dist/service/cognito/user-pool/sim-cognito-account-recovery.js +127 -0
  455. package/dist/service/cognito/user-pool/sim-cognito-account-recovery.js.map +1 -0
  456. package/dist/service/cognito/user-pool/sim-cognito-sign-in-attribute.d.ts +22 -0
  457. package/dist/service/cognito/user-pool/sim-cognito-sign-in-attribute.d.ts.map +1 -0
  458. package/dist/service/cognito/user-pool/sim-cognito-sign-in-attribute.js +52 -0
  459. package/dist/service/cognito/user-pool/sim-cognito-sign-in-attribute.js.map +1 -0
  460. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts +34 -15
  461. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts.map +1 -1
  462. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js +30 -15
  463. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js.map +1 -1
  464. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
  465. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +2 -1
  466. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
  467. package/dist/service/cognito/user-pool/sim-cognito-username-attributes.d.ts +87 -0
  468. package/dist/service/cognito/user-pool/sim-cognito-username-attributes.d.ts.map +1 -0
  469. package/dist/service/cognito/user-pool/sim-cognito-username-attributes.js +137 -0
  470. package/dist/service/cognito/user-pool/sim-cognito-username-attributes.js.map +1 -0
  471. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts +25 -1
  472. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts.map +1 -1
  473. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js +39 -2
  474. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js.map +1 -1
  475. package/dist/service/lambda/factory/lambda-dynamodb-stream-event.factory.d.ts +47 -0
  476. package/dist/service/lambda/factory/lambda-dynamodb-stream-event.factory.d.ts.map +1 -0
  477. package/dist/service/lambda/factory/lambda-dynamodb-stream-event.factory.js +96 -0
  478. package/dist/service/lambda/factory/lambda-dynamodb-stream-event.factory.js.map +1 -0
  479. package/dist/service/lambda/factory/lambda-dynamodb-stream-record-change.d.ts +36 -0
  480. package/dist/service/lambda/factory/lambda-dynamodb-stream-record-change.d.ts.map +1 -0
  481. package/dist/service/lambda/factory/lambda-dynamodb-stream-record-change.js +64 -0
  482. package/dist/service/lambda/factory/lambda-dynamodb-stream-record-change.js.map +1 -0
  483. package/dist/service/lambda/factory/lambda-function-url-event.factory.d.ts +37 -0
  484. package/dist/service/lambda/factory/lambda-function-url-event.factory.d.ts.map +1 -0
  485. package/dist/service/lambda/factory/lambda-function-url-event.factory.js +55 -0
  486. package/dist/service/lambda/factory/lambda-function-url-event.factory.js.map +1 -0
  487. package/dist/service/lambda/factory/lambda-sqs-event.factory.d.ts +37 -0
  488. package/dist/service/lambda/factory/lambda-sqs-event.factory.d.ts.map +1 -0
  489. package/dist/service/lambda/factory/lambda-sqs-event.factory.js +78 -0
  490. package/dist/service/lambda/factory/lambda-sqs-event.factory.js.map +1 -0
  491. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-module.d.ts +27 -0
  492. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-module.d.ts.map +1 -0
  493. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-module.js +78 -0
  494. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-module.js.map +1 -0
  495. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-target.d.ts +23 -0
  496. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-target.d.ts.map +1 -0
  497. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-target.js +111 -0
  498. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-target.js.map +1 -0
  499. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-wire-request.d.ts +37 -0
  500. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-wire-request.d.ts.map +1 -0
  501. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-wire-request.js +78 -0
  502. package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-wire-request.js.map +1 -0
  503. package/dist/service/lambda/function/code/vm/sdk/sim-lambda-vm-sdk-module-provider.d.ts +5 -3
  504. package/dist/service/lambda/function/code/vm/sdk/sim-lambda-vm-sdk-module-provider.d.ts.map +1 -1
  505. package/dist/service/lambda/function/code/vm/sdk/sim-lambda-vm-sdk-module-provider.js.map +1 -1
  506. package/dist/service/lambda/function/code/vm/sdk/sim-sdk-lambda-vm-module-provider.d.ts +10 -2
  507. package/dist/service/lambda/function/code/vm/sdk/sim-sdk-lambda-vm-module-provider.d.ts.map +1 -1
  508. package/dist/service/lambda/function/code/vm/sdk/sim-sdk-lambda-vm-module-provider.js +21 -6
  509. package/dist/service/lambda/function/code/vm/sdk/sim-sdk-lambda-vm-module-provider.js.map +1 -1
  510. package/dist/service/lambda/function/code/vm/sim-lambda-vm-module.types.d.ts +12 -0
  511. package/dist/service/lambda/function/code/vm/sim-lambda-vm-module.types.d.ts.map +1 -0
  512. package/dist/service/lambda/function/code/vm/sim-lambda-vm-module.types.js +2 -0
  513. package/dist/service/lambda/function/code/vm/sim-lambda-vm-module.types.js.map +1 -0
  514. package/dist/service/lambda/function/code/vm/sim-lambda-vm-modules.d.ts.map +1 -1
  515. package/dist/service/lambda/function/code/vm/sim-lambda-vm-modules.js +5 -1
  516. package/dist/service/lambda/function/code/vm/sim-lambda-vm-modules.js.map +1 -1
  517. package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts.map +1 -1
  518. package/dist/service/lambda/function/environment/sim-lambda-environment.js +2 -0
  519. package/dist/service/lambda/function/environment/sim-lambda-environment.js.map +1 -1
  520. package/dist/service/lambda/function/environment/sim-lambda-execution-credentials.d.ts +19 -0
  521. package/dist/service/lambda/function/environment/sim-lambda-execution-credentials.d.ts.map +1 -0
  522. package/dist/service/lambda/function/environment/sim-lambda-execution-credentials.js +20 -0
  523. package/dist/service/lambda/function/environment/sim-lambda-execution-credentials.js.map +1 -0
  524. package/dist/service/lambda/index.d.ts +3 -0
  525. package/dist/service/lambda/index.d.ts.map +1 -1
  526. package/dist/service/lambda/index.js +3 -0
  527. package/dist/service/lambda/index.js.map +1 -1
  528. package/dist/service/s3/factory/s3-notification-event-object.d.ts +10 -0
  529. package/dist/service/s3/factory/s3-notification-event-object.d.ts.map +1 -0
  530. package/dist/service/s3/factory/s3-notification-event-object.js +12 -0
  531. package/dist/service/s3/factory/s3-notification-event-object.js.map +1 -0
  532. package/dist/service/s3/factory/s3-notification-event.factory.d.ts +45 -0
  533. package/dist/service/s3/factory/s3-notification-event.factory.d.ts.map +1 -0
  534. package/dist/service/s3/factory/s3-notification-event.factory.js +102 -0
  535. package/dist/service/s3/factory/s3-notification-event.factory.js.map +1 -0
  536. package/dist/service/s3/index.d.ts +2 -0
  537. package/dist/service/s3/index.d.ts.map +1 -1
  538. package/dist/service/s3/index.js +1 -0
  539. package/dist/service/s3/index.js.map +1 -1
  540. package/dist/service/s3/notification/event/sim-s3-event-records.d.ts +32 -1
  541. package/dist/service/s3/notification/event/sim-s3-event-records.d.ts.map +1 -1
  542. package/dist/service/s3/notification/event/sim-s3-event-records.js +5 -5
  543. package/dist/service/s3/notification/event/sim-s3-event-records.js.map +1 -1
  544. package/dist/service/s3/notification/event/sim-s3-event.type.d.ts +83 -0
  545. package/dist/service/s3/notification/event/sim-s3-event.type.d.ts.map +1 -0
  546. package/dist/service/s3/notification/event/sim-s3-event.type.js +2 -0
  547. package/dist/service/s3/notification/event/sim-s3-event.type.js.map +1 -0
  548. package/dist/service/ses/account/sim-ses-account.d.ts +59 -0
  549. package/dist/service/ses/account/sim-ses-account.d.ts.map +1 -0
  550. package/dist/service/ses/account/sim-ses-account.js +66 -0
  551. package/dist/service/ses/account/sim-ses-account.js.map +1 -0
  552. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.d.ts +35 -0
  553. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.d.ts.map +1 -0
  554. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.js +52 -0
  555. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.js.map +1 -0
  556. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.d.ts +37 -0
  557. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.d.ts.map +1 -0
  558. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.js +61 -0
  559. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.js.map +1 -0
  560. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.d.ts +17 -0
  561. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.d.ts.map +1 -0
  562. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.js +48 -0
  563. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.js.map +1 -0
  564. package/dist/service/ses/cfn/sim-cfn-ses-resource-error.d.ts +24 -0
  565. package/dist/service/ses/cfn/sim-cfn-ses-resource-error.d.ts.map +1 -0
  566. package/dist/service/ses/cfn/sim-cfn-ses-resource-error.js +39 -0
  567. package/dist/service/ses/cfn/sim-cfn-ses-resource-error.js.map +1 -0
  568. package/dist/service/ses/cfn/sim-cfn-ses-resource-types.d.ts +13 -0
  569. package/dist/service/ses/cfn/sim-cfn-ses-resource-types.d.ts.map +1 -0
  570. package/dist/service/ses/cfn/sim-cfn-ses-resource-types.js +13 -0
  571. package/dist/service/ses/cfn/sim-cfn-ses-resource-types.js.map +1 -0
  572. package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.d.ts +28 -0
  573. package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.d.ts.map +1 -0
  574. package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.js +69 -0
  575. package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.js.map +1 -0
  576. package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.d.ts +30 -0
  577. package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.d.ts.map +1 -0
  578. package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.js +48 -0
  579. package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.js.map +1 -0
  580. package/dist/service/ses/cfn/template/sim-cfn-ses-template-properties.d.ts +58 -0
  581. package/dist/service/ses/cfn/template/sim-cfn-ses-template-properties.d.ts.map +1 -0
  582. package/dist/service/ses/cfn/template/sim-cfn-ses-template-properties.js +121 -0
  583. package/dist/service/ses/cfn/template/sim-cfn-ses-template-properties.js.map +1 -0
  584. package/dist/service/ses/command/account/account.command.d.ts +59 -0
  585. package/dist/service/ses/command/account/account.command.d.ts.map +1 -0
  586. package/dist/service/ses/command/account/account.command.js +2 -0
  587. package/dist/service/ses/command/account/account.command.js.map +1 -0
  588. package/dist/service/ses/command/account/sim-ses-account-commands.d.ts +34 -0
  589. package/dist/service/ses/command/account/sim-ses-account-commands.d.ts.map +1 -0
  590. package/dist/service/ses/command/account/sim-ses-account-commands.js +41 -0
  591. package/dist/service/ses/command/account/sim-ses-account-commands.js.map +1 -0
  592. package/dist/service/ses/command/account/sim-ses-account-details-input.d.ts +11 -0
  593. package/dist/service/ses/command/account/sim-ses-account-details-input.d.ts.map +1 -0
  594. package/dist/service/ses/command/account/sim-ses-account-details-input.js +50 -0
  595. package/dist/service/ses/command/account/sim-ses-account-details-input.js.map +1 -0
  596. package/dist/service/ses/command/account/sim-ses-account-report.d.ts +21 -0
  597. package/dist/service/ses/command/account/sim-ses-account-report.d.ts.map +1 -0
  598. package/dist/service/ses/command/account/sim-ses-account-report.js +45 -0
  599. package/dist/service/ses/command/account/sim-ses-account-report.js.map +1 -0
  600. package/dist/service/ses/command/authorize/sim-ses-authorizer.d.ts +55 -0
  601. package/dist/service/ses/command/authorize/sim-ses-authorizer.d.ts.map +1 -0
  602. package/dist/service/ses/command/authorize/sim-ses-authorizer.js +78 -0
  603. package/dist/service/ses/command/authorize/sim-ses-authorizer.js.map +1 -0
  604. package/dist/service/ses/command/identity/identity.command.d.ts +84 -0
  605. package/dist/service/ses/command/identity/identity.command.d.ts.map +1 -0
  606. package/dist/service/ses/command/identity/identity.command.js +2 -0
  607. package/dist/service/ses/command/identity/identity.command.js.map +1 -0
  608. package/dist/service/ses/command/identity/sim-ses-identity-commands.d.ts +44 -0
  609. package/dist/service/ses/command/identity/sim-ses-identity-commands.d.ts.map +1 -0
  610. package/dist/service/ses/command/identity/sim-ses-identity-commands.js +92 -0
  611. package/dist/service/ses/command/identity/sim-ses-identity-commands.js.map +1 -0
  612. package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.d.ts +12 -0
  613. package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.d.ts.map +1 -0
  614. package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.js +26 -0
  615. package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.js.map +1 -0
  616. package/dist/service/ses/command/send/send.command.d.ts +71 -0
  617. package/dist/service/ses/command/send/send.command.d.ts.map +1 -0
  618. package/dist/service/ses/command/send/send.command.js +2 -0
  619. package/dist/service/ses/command/send/send.command.js.map +1 -0
  620. package/dist/service/ses/command/send/sim-ses-content.d.ts +24 -0
  621. package/dist/service/ses/command/send/sim-ses-content.d.ts.map +1 -0
  622. package/dist/service/ses/command/send/sim-ses-content.js +40 -0
  623. package/dist/service/ses/command/send/sim-ses-content.js.map +1 -0
  624. package/dist/service/ses/command/send/sim-ses-read-content.d.ts +19 -0
  625. package/dist/service/ses/command/send/sim-ses-read-content.d.ts.map +1 -0
  626. package/dist/service/ses/command/send/sim-ses-read-content.js +2 -0
  627. package/dist/service/ses/command/send/sim-ses-read-content.js.map +1 -0
  628. package/dist/service/ses/command/send/sim-ses-send-email.d.ts +36 -0
  629. package/dist/service/ses/command/send/sim-ses-send-email.d.ts.map +1 -0
  630. package/dist/service/ses/command/send/sim-ses-send-email.js +80 -0
  631. package/dist/service/ses/command/send/sim-ses-send-email.js.map +1 -0
  632. package/dist/service/ses/command/send/sim-ses-simple-content.d.ts +12 -0
  633. package/dist/service/ses/command/send/sim-ses-simple-content.d.ts.map +1 -0
  634. package/dist/service/ses/command/send/sim-ses-simple-content.js +33 -0
  635. package/dist/service/ses/command/send/sim-ses-simple-content.js.map +1 -0
  636. package/dist/service/ses/command/send/sim-ses-template-send.d.ts +34 -0
  637. package/dist/service/ses/command/send/sim-ses-template-send.d.ts.map +1 -0
  638. package/dist/service/ses/command/send/sim-ses-template-send.js +101 -0
  639. package/dist/service/ses/command/send/sim-ses-template-send.js.map +1 -0
  640. package/dist/service/ses/command/send/sim-ses-unsimulated-send-input.d.ts +12 -0
  641. package/dist/service/ses/command/send/sim-ses-unsimulated-send-input.d.ts.map +1 -0
  642. package/dist/service/ses/command/send/sim-ses-unsimulated-send-input.js +26 -0
  643. package/dist/service/ses/command/send/sim-ses-unsimulated-send-input.js.map +1 -0
  644. package/dist/service/ses/command/send/sim-ses-verified-identities.d.ts +36 -0
  645. package/dist/service/ses/command/send/sim-ses-verified-identities.d.ts.map +1 -0
  646. package/dist/service/ses/command/send/sim-ses-verified-identities.js +50 -0
  647. package/dist/service/ses/command/send/sim-ses-verified-identities.js.map +1 -0
  648. package/dist/service/ses/command/sim-ses-command.types.d.ts +8 -0
  649. package/dist/service/ses/command/sim-ses-command.types.d.ts.map +1 -0
  650. package/dist/service/ses/command/sim-ses-command.types.js +2 -0
  651. package/dist/service/ses/command/sim-ses-command.types.js.map +1 -0
  652. package/dist/service/ses/command/sim-ses-page.d.ts +20 -0
  653. package/dist/service/ses/command/sim-ses-page.d.ts.map +1 -0
  654. package/dist/service/ses/command/sim-ses-page.js +49 -0
  655. package/dist/service/ses/command/sim-ses-page.js.map +1 -0
  656. package/dist/service/ses/command/sim-ses-request-options.d.ts +12 -0
  657. package/dist/service/ses/command/sim-ses-request-options.d.ts.map +1 -0
  658. package/dist/service/ses/command/sim-ses-request-options.js +2 -0
  659. package/dist/service/ses/command/sim-ses-request-options.js.map +1 -0
  660. package/dist/service/ses/command/template/sim-ses-template-commands.d.ts +56 -0
  661. package/dist/service/ses/command/template/sim-ses-template-commands.d.ts.map +1 -0
  662. package/dist/service/ses/command/template/sim-ses-template-commands.js +96 -0
  663. package/dist/service/ses/command/template/sim-ses-template-commands.js.map +1 -0
  664. package/dist/service/ses/command/template/sim-ses-template-reporting.d.ts +14 -0
  665. package/dist/service/ses/command/template/sim-ses-template-reporting.d.ts.map +1 -0
  666. package/dist/service/ses/command/template/sim-ses-template-reporting.js +23 -0
  667. package/dist/service/ses/command/template/sim-ses-template-reporting.js.map +1 -0
  668. package/dist/service/ses/command/template/template.command.d.ts +98 -0
  669. package/dist/service/ses/command/template/template.command.d.ts.map +1 -0
  670. package/dist/service/ses/command/template/template.command.js +2 -0
  671. package/dist/service/ses/command/template/template.command.js.map +1 -0
  672. package/dist/service/ses/email/sim-ses-address.d.ts +15 -0
  673. package/dist/service/ses/email/sim-ses-address.d.ts.map +1 -0
  674. package/dist/service/ses/email/sim-ses-address.js +29 -0
  675. package/dist/service/ses/email/sim-ses-address.js.map +1 -0
  676. package/dist/service/ses/email/sim-ses-sent-email-store.d.ts +33 -0
  677. package/dist/service/ses/email/sim-ses-sent-email-store.d.ts.map +1 -0
  678. package/dist/service/ses/email/sim-ses-sent-email-store.js +42 -0
  679. package/dist/service/ses/email/sim-ses-sent-email-store.js.map +1 -0
  680. package/dist/service/ses/email/sim-ses-sent-email.d.ts +78 -0
  681. package/dist/service/ses/email/sim-ses-sent-email.d.ts.map +1 -0
  682. package/dist/service/ses/email/sim-ses-sent-email.js +61 -0
  683. package/dist/service/ses/email/sim-ses-sent-email.js.map +1 -0
  684. package/dist/service/ses/error/sim-ses.error.d.ts +70 -0
  685. package/dist/service/ses/error/sim-ses.error.d.ts.map +1 -0
  686. package/dist/service/ses/error/sim-ses.error.js +77 -0
  687. package/dist/service/ses/error/sim-ses.error.js.map +1 -0
  688. package/dist/service/ses/identity/sim-ses-identity-name.d.ts +34 -0
  689. package/dist/service/ses/identity/sim-ses-identity-name.d.ts.map +1 -0
  690. package/dist/service/ses/identity/sim-ses-identity-name.js +90 -0
  691. package/dist/service/ses/identity/sim-ses-identity-name.js.map +1 -0
  692. package/dist/service/ses/identity/sim-ses-identity-store.d.ts +62 -0
  693. package/dist/service/ses/identity/sim-ses-identity-store.d.ts.map +1 -0
  694. package/dist/service/ses/identity/sim-ses-identity-store.js +93 -0
  695. package/dist/service/ses/identity/sim-ses-identity-store.js.map +1 -0
  696. package/dist/service/ses/identity/sim-ses-identity.d.ts +63 -0
  697. package/dist/service/ses/identity/sim-ses-identity.d.ts.map +1 -0
  698. package/dist/service/ses/identity/sim-ses-identity.js +62 -0
  699. package/dist/service/ses/identity/sim-ses-identity.js.map +1 -0
  700. package/dist/service/ses/index.d.ts +13 -0
  701. package/dist/service/ses/index.d.ts.map +1 -0
  702. package/dist/service/ses/index.js +11 -0
  703. package/dist/service/ses/index.js.map +1 -0
  704. package/dist/service/ses/sdk/sim-ses-sdk-command-router.d.ts +18 -0
  705. package/dist/service/ses/sdk/sim-ses-sdk-command-router.d.ts.map +1 -0
  706. package/dist/service/ses/sdk/sim-ses-sdk-command-router.js +72 -0
  707. package/dist/service/ses/sdk/sim-ses-sdk-command-router.js.map +1 -0
  708. package/dist/service/ses/sim-ses-arn.d.ts +20 -0
  709. package/dist/service/ses/sim-ses-arn.d.ts.map +1 -0
  710. package/dist/service/ses/sim-ses-arn.js +25 -0
  711. package/dist/service/ses/sim-ses-arn.js.map +1 -0
  712. package/dist/service/ses/sim-ses-commands.d.ts +37 -0
  713. package/dist/service/ses/sim-ses-commands.d.ts.map +1 -0
  714. package/dist/service/ses/sim-ses-commands.js +75 -0
  715. package/dist/service/ses/sim-ses-commands.js.map +1 -0
  716. package/dist/service/ses/sim-ses-v2.d.ts +139 -0
  717. package/dist/service/ses/sim-ses-v2.d.ts.map +1 -0
  718. package/dist/service/ses/sim-ses-v2.js +195 -0
  719. package/dist/service/ses/sim-ses-v2.js.map +1 -0
  720. package/dist/service/ses/template/sim-ses-render.d.ts +16 -0
  721. package/dist/service/ses/template/sim-ses-render.d.ts.map +1 -0
  722. package/dist/service/ses/template/sim-ses-render.js +88 -0
  723. package/dist/service/ses/template/sim-ses-render.js.map +1 -0
  724. package/dist/service/ses/template/sim-ses-template-content.d.ts +28 -0
  725. package/dist/service/ses/template/sim-ses-template-content.d.ts.map +1 -0
  726. package/dist/service/ses/template/sim-ses-template-content.js +67 -0
  727. package/dist/service/ses/template/sim-ses-template-content.js.map +1 -0
  728. package/dist/service/ses/template/sim-ses-template-store.d.ts +47 -0
  729. package/dist/service/ses/template/sim-ses-template-store.d.ts.map +1 -0
  730. package/dist/service/ses/template/sim-ses-template-store.js +81 -0
  731. package/dist/service/ses/template/sim-ses-template-store.js.map +1 -0
  732. package/dist/service/ses/template/sim-ses-template.d.ts +38 -0
  733. package/dist/service/ses/template/sim-ses-template.d.ts.map +1 -0
  734. package/dist/service/ses/template/sim-ses-template.js +39 -0
  735. package/dist/service/ses/template/sim-ses-template.js.map +1 -0
  736. package/dist/service/sqs/message/sim-sqs-message-body.d.ts +10 -5
  737. package/dist/service/sqs/message/sim-sqs-message-body.d.ts.map +1 -1
  738. package/dist/service/sqs/message/sim-sqs-message-body.js +13 -6
  739. package/dist/service/sqs/message/sim-sqs-message-body.js.map +1 -1
  740. package/dist/util/factory/sim-records-event.factory.d.ts +60 -0
  741. package/dist/util/factory/sim-records-event.factory.d.ts.map +1 -0
  742. package/dist/util/factory/sim-records-event.factory.js +47 -0
  743. package/dist/util/factory/sim-records-event.factory.js.map +1 -0
  744. package/package.json +12 -2
  745. package/dist/service/cognito/command/sim-cognito-canonical-value.d.ts +0 -28
  746. package/dist/service/cognito/command/sim-cognito-canonical-value.d.ts.map +0 -1
  747. package/dist/service/cognito/command/sim-cognito-canonical-value.js +0 -44
  748. package/dist/service/cognito/command/sim-cognito-canonical-value.js.map +0 -1
  749. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.d.ts +0 -23
  750. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.d.ts.map +0 -1
  751. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.js +0 -38
  752. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.js.map +0 -1
  753. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.d.ts +0 -45
  754. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.d.ts.map +0 -1
  755. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.js +0 -46
  756. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.js.map +0 -1
@@ -0,0 +1,28 @@
1
+ import type { SimCfnServiceResourceFactory } from "../../cloudformation/resource/factory/sim-cfn-resource-factory.type.js";
2
+ import type { SimCfnResource, SimCloudFormationResourceCreateContext } from "../../cloudformation/resource/sim-cfn-resource.js";
3
+ import type { SimSesV2 } from "../sim-ses-v2.js";
4
+ interface SimSesCfnResourceFactoryProperties {
5
+ readonly ses: SimSesV2;
6
+ }
7
+ /**
8
+ * CloudFormation Resource factory for simulated SES resources.
9
+ *
10
+ * Email identities and templates are the two AWS::SES::* Resource types this
11
+ * simulation models. Configuration sets, contact lists and receipt rules need
12
+ * machinery it does not have, so a template declaring one is reported as
13
+ * unsupported rather than quietly treated as deployed.
14
+ */
15
+ export declare class SimSesCfnResourceFactory implements SimCfnServiceResourceFactory {
16
+ #private;
17
+ constructor(properties: SimSesCfnResourceFactoryProperties);
18
+ /**
19
+ * Create a simulated SES resource from a CloudFormation Resource.
20
+ */
21
+ create(resourceTypeName: string, resource: SimCfnResource, context: SimCloudFormationResourceCreateContext): Promise<object | undefined>;
22
+ /**
23
+ * Delete a simulated SES resource created from a CloudFormation Resource.
24
+ */
25
+ delete(resourceTypeName: string, resource: SimCfnResource): Promise<void>;
26
+ }
27
+ export {};
28
+ //# sourceMappingURL=sim-ses-cfn-resource-factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-ses-cfn-resource-factory.d.ts","sourceRoot":"","sources":["../../../../src/service/ses/cfn/sim-ses-cfn-resource-factory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wEAAwE,CAAC;AAC3H,OAAO,KAAK,EACV,cAAc,EACd,sCAAsC,EACvC,MAAM,mDAAmD,CAAC;AAE3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AASjD,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;CACxB;AAED;;;;;;;GAOG;AACH,qBAAa,wBAAyB,YAAW,4BAA4B;;IAI3E,YAAY,UAAU,EAAE,kCAAkC,EAOzD;IAED;;OAEG;IACG,MAAM,CACV,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,sCAAsC,GAC9C,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAc7B;IAED;;OAEG;IACG,MAAM,CACV,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAkBf;CACF"}
@@ -0,0 +1,69 @@
1
+ import { assertDefined } from "../../../util/type-guard/defined.js";
2
+ import { SimCfnSesIdentityCreator } from "./identity/sim-cfn-ses-identity-creator.js";
3
+ import { sesEmailIdentityResourceTypeName, sesTemplateResourceTypeName, } from "./sim-cfn-ses-resource-types.js";
4
+ import { SimCfnSesTemplateCreator } from "./template/sim-cfn-ses-template-creator.js";
5
+ /**
6
+ * CloudFormation Resource factory for simulated SES resources.
7
+ *
8
+ * Email identities and templates are the two AWS::SES::* Resource types this
9
+ * simulation models. Configuration sets, contact lists and receipt rules need
10
+ * machinery it does not have, so a template declaring one is reported as
11
+ * unsupported rather than quietly treated as deployed.
12
+ */
13
+ export class SimSesCfnResourceFactory {
14
+ #identityCreator;
15
+ #templateCreator;
16
+ constructor(properties) {
17
+ this.#identityCreator = new SimCfnSesIdentityCreator({
18
+ ses: properties.ses,
19
+ });
20
+ this.#templateCreator = new SimCfnSesTemplateCreator({
21
+ ses: properties.ses,
22
+ });
23
+ }
24
+ /**
25
+ * Create a simulated SES resource from a CloudFormation Resource.
26
+ */
27
+ async create(resourceTypeName, resource, context) {
28
+ const properties = context.resolvedProperties ?? resource.properties;
29
+ switch (resourceTypeName) {
30
+ case sesEmailIdentityResourceTypeName: {
31
+ return await this.#identityCreator.create(resource, properties);
32
+ }
33
+ case sesTemplateResourceTypeName: {
34
+ return await this.#templateCreator.create(resource, properties);
35
+ }
36
+ default: {
37
+ throw unsupportedResourceType(resourceTypeName, "");
38
+ }
39
+ }
40
+ }
41
+ /**
42
+ * Delete a simulated SES resource created from a CloudFormation Resource.
43
+ */
44
+ async delete(resourceTypeName, resource) {
45
+ switch (resourceTypeName) {
46
+ case sesEmailIdentityResourceTypeName: {
47
+ await this.#identityCreator.delete(created(resource, "identity"));
48
+ return;
49
+ }
50
+ case sesTemplateResourceTypeName: {
51
+ await this.#templateCreator.delete(created(resource, "template"));
52
+ return;
53
+ }
54
+ default: {
55
+ throw unsupportedResourceType(resourceTypeName, " deletion");
56
+ }
57
+ }
58
+ }
59
+ }
60
+ function created(resource, described) {
61
+ const simResource = resource.simResource;
62
+ assertDefined(simResource, `sim SES ${described} for CloudFormation Resource ${resource.logicalId}`);
63
+ return simResource;
64
+ }
65
+ function unsupportedResourceType(resourceTypeName, operationSuffix) {
66
+ return new Error(`Unsupported sim SES CloudFormation Resource ` +
67
+ `${resourceTypeName}${operationSuffix}`);
68
+ }
69
+ //# sourceMappingURL=sim-ses-cfn-resource-factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-ses-cfn-resource-factory.js","sourceRoot":"","sources":["../../../../src/service/ses/cfn/sim-ses-cfn-resource-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AASpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EACL,gCAAgC,EAChC,2BAA2B,GAC5B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAMtF;;;;;;;GAOG;AACH,MAAM,OAAO,wBAAwB;IAC1B,gBAAgB,CAA2B;IAC3C,gBAAgB,CAA2B;IAEpD,YAAY,UAA8C;QACxD,IAAI,CAAC,gBAAgB,GAAG,IAAI,wBAAwB,CAAC;YACnD,GAAG,EAAE,UAAU,CAAC,GAAG;SACpB,CAAC,CAAC;QACH,IAAI,CAAC,gBAAgB,GAAG,IAAI,wBAAwB,CAAC;YACnD,GAAG,EAAE,UAAU,CAAC,GAAG;SACpB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,gBAAwB,EACxB,QAAwB,EACxB,OAA+C;QAE/C,MAAM,UAAU,GAAG,OAAO,CAAC,kBAAkB,IAAI,QAAQ,CAAC,UAAU,CAAC;QAErE,QAAQ,gBAAgB,EAAE,CAAC;YACzB,KAAK,gCAAgC,EAAE,CAAC;gBACtC,OAAO,MAAM,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAClE,CAAC;YACD,KAAK,2BAA2B,EAAE,CAAC;gBACjC,OAAO,MAAM,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAClE,CAAC;YACD,SAAS,CAAC;gBACR,MAAM,uBAAuB,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;YACtD,CAAC;QACH,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,gBAAwB,EACxB,QAAwB;QAExB,QAAQ,gBAAgB,EAAE,CAAC;YACzB,KAAK,gCAAgC,EAAE,CAAC;gBACtC,MAAM,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAChC,OAAO,CAAiB,QAAQ,EAAE,UAAU,CAAC,CAC9C,CAAC;gBACF,OAAO;YACT,CAAC;YACD,KAAK,2BAA2B,EAAE,CAAC;gBACjC,MAAM,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAChC,OAAO,CAAiB,QAAQ,EAAE,UAAU,CAAC,CAC9C,CAAC;gBACF,OAAO;YACT,CAAC;YACD,SAAS,CAAC;gBACR,MAAM,uBAAuB,CAAC,gBAAgB,EAAE,WAAW,CAAC,CAAC;YAC/D,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAED,SAAS,OAAO,CACd,QAAwB,EACxB,SAAiB;IAEjB,MAAM,WAAW,GAAG,QAAQ,CAAC,WAA4B,CAAC;IAE1D,aAAa,CACX,WAAW,EACX,WAAW,SAAS,gCAAgC,QAAQ,CAAC,SAAS,EAAE,CACzE,CAAC;IAEF,OAAO,WAAW,CAAC;AACrB,CAAC;AAED,SAAS,uBAAuB,CAC9B,gBAAwB,EACxB,eAAuB;IAEvB,OAAO,IAAI,KAAK,CACd,8CAA8C;QAC5C,GAAG,gBAAgB,GAAG,eAAe,EAAE,CAC1C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,30 @@
1
+ import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-resource.js";
2
+ import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
3
+ import type { SimSesV2 } from "../../sim-ses-v2.js";
4
+ import type { SimSesTemplate } from "../../template/sim-ses-template.js";
5
+ interface SimCfnSesTemplateCreatorProperties {
6
+ readonly ses: SimSesV2;
7
+ }
8
+ /**
9
+ * Creates simulated email templates from AWS::SES::Template Resources.
10
+ *
11
+ * The template goes through the ordinary CreateEmailTemplate command, so one a
12
+ * stack deployed is rendered by exactly the same code as one an SDK caller
13
+ * made. That is what makes a template carrying Handlebars this simulation does
14
+ * not render fail the deploy rather than sit in the stack waiting to fail at
15
+ * the first send.
16
+ */
17
+ export declare class SimCfnSesTemplateCreator {
18
+ #private;
19
+ constructor(properties: SimCfnSesTemplateCreatorProperties);
20
+ /**
21
+ * Create a template from an AWS::SES::Template Resource.
22
+ */
23
+ create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimSesTemplate>;
24
+ /**
25
+ * Delete a template created from an AWS::SES::Template Resource.
26
+ */
27
+ delete(template: SimSesTemplate): Promise<void>;
28
+ }
29
+ export {};
30
+ //# sourceMappingURL=sim-cfn-ses-template-creator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ses-template-creator.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/cfn/template/sim-cfn-ses-template-creator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAClH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAKzE,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;CACxB;AAED;;;;;;;;GAQG;AACH,qBAAa,wBAAwB;;IAGnC,YAAY,UAAU,EAAE,kCAAkC,EAEzD;IAED;;OAEG;IACG,MAAM,CACV,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,yBAAyB,GACpC,OAAO,CAAC,cAAc,CAAC,CA4BzB;IAED;;OAEG;IACG,MAAM,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAIpD;CACF"}
@@ -0,0 +1,48 @@
1
+ import { assertDefined } from "../../../../util/type-guard/defined.js";
2
+ import { simCfnSesResourceCreation } from "../sim-cfn-ses-resource-error.js";
3
+ import { sesTemplateResourceType } from "../sim-cfn-ses-resource-types.js";
4
+ import { SimCfnSesTemplateProperties } from "./sim-cfn-ses-template-properties.js";
5
+ /**
6
+ * Creates simulated email templates from AWS::SES::Template Resources.
7
+ *
8
+ * The template goes through the ordinary CreateEmailTemplate command, so one a
9
+ * stack deployed is rendered by exactly the same code as one an SDK caller
10
+ * made. That is what makes a template carrying Handlebars this simulation does
11
+ * not render fail the deploy rather than sit in the stack waiting to fail at
12
+ * the first send.
13
+ */
14
+ export class SimCfnSesTemplateCreator {
15
+ #ses;
16
+ constructor(properties) {
17
+ this.#ses = properties.ses;
18
+ }
19
+ /**
20
+ * Create a template from an AWS::SES::Template Resource.
21
+ */
22
+ async create(resource, properties) {
23
+ const templateProperties = new SimCfnSesTemplateProperties({
24
+ resource,
25
+ properties,
26
+ });
27
+ const templateName = templateProperties.templateName();
28
+ const content = templateProperties.content();
29
+ templateProperties.recordIgnoredProperties();
30
+ return await simCfnSesResourceCreation(sesTemplateResourceType, resource.logicalId, async () => {
31
+ await this.#ses.createEmailTemplate({
32
+ input: { TemplateName: templateName, TemplateContent: content },
33
+ });
34
+ const template = this.#ses.findTemplate(templateName);
35
+ assertDefined(template, `sim SES template ${templateName} after CloudFormation creation`);
36
+ return template;
37
+ });
38
+ }
39
+ /**
40
+ * Delete a template created from an AWS::SES::Template Resource.
41
+ */
42
+ async delete(template) {
43
+ await this.#ses.deleteEmailTemplate({
44
+ input: { TemplateName: template.templateName },
45
+ });
46
+ }
47
+ }
48
+ //# sourceMappingURL=sim-cfn-ses-template-creator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ses-template-creator.js","sourceRoot":"","sources":["../../../../../src/service/ses/cfn/template/sim-cfn-ses-template-creator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAKvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAMnF;;;;;;;;GAQG;AACH,MAAM,OAAO,wBAAwB;IAC1B,IAAI,CAAW;IAExB,YAAY,UAA8C;QACxD,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,GAAG,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,QAAwB,EACxB,UAAqC;QAErC,MAAM,kBAAkB,GAAG,IAAI,2BAA2B,CAAC;YACzD,QAAQ;YACR,UAAU;SACX,CAAC,CAAC;QACH,MAAM,YAAY,GAAG,kBAAkB,CAAC,YAAY,EAAE,CAAC;QACvD,MAAM,OAAO,GAAG,kBAAkB,CAAC,OAAO,EAAE,CAAC;QAE7C,kBAAkB,CAAC,uBAAuB,EAAE,CAAC;QAE7C,OAAO,MAAM,yBAAyB,CACpC,uBAAuB,EACvB,QAAQ,CAAC,SAAS,EAClB,KAAK,IAAI,EAAE;YACT,MAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC;gBAClC,KAAK,EAAE,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE;aAChE,CAAC,CAAC;YAEH,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;YAEtD,aAAa,CACX,QAAQ,EACR,oBAAoB,YAAY,gCAAgC,CACjE,CAAC;YAEF,OAAO,QAAQ,CAAC;QAClB,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CAAC,QAAwB;QACnC,MAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC;YAClC,KAAK,EAAE,EAAE,YAAY,EAAE,QAAQ,CAAC,YAAY,EAAE;SAC/C,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,58 @@
1
+ import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-resource.js";
2
+ import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
3
+ import type { SimSesEmailTemplateContent } from "../../command/template/template.command.js";
4
+ interface SimCfnSesTemplatePropertiesProperties {
5
+ readonly resource: SimCfnResource;
6
+ readonly properties: SimCfnTemplateValueRecord;
7
+ }
8
+ /**
9
+ * Reads AWS::SES::Template CloudFormation properties into the shape
10
+ * CreateEmailTemplate takes.
11
+ *
12
+ * Everything a template Resource says is nested inside one `Template`
13
+ * property, which is unusual for a CloudFormation Resource and is why this
14
+ * reads a record out of a record.
15
+ */
16
+ export declare class SimCfnSesTemplateProperties {
17
+ #private;
18
+ constructor(properties: SimCfnSesTemplatePropertiesProperties);
19
+ /**
20
+ * Record the properties the template is created without acting on.
21
+ *
22
+ * Everything a template Resource can usefully say is wording, so in practice
23
+ * this catches a misspelling: `TextPart` written `Textpart` would otherwise
24
+ * be dropped in silence and the message would go out with a missing body and
25
+ * nothing to explain it. Both levels are walked, since a stray property can
26
+ * sit beside `Template` as well as inside it.
27
+ */
28
+ recordIgnoredProperties(): void;
29
+ /**
30
+ * The template name.
31
+ *
32
+ * An unnamed template is named after the stack and the logical ID, as real
33
+ * CloudFormation names one.
34
+ */
35
+ templateName(): string;
36
+ /**
37
+ * The wording, in the shape CreateEmailTemplate takes it.
38
+ *
39
+ * A part the template does not set is left out rather than sent as an empty
40
+ * string, so a template with only a text body reports no HTML part rather
41
+ * than an empty one.
42
+ */
43
+ content(): SimSesEmailTemplateContent;
44
+ /**
45
+ * One part of the wording, or nothing where the template does not set it.
46
+ *
47
+ * The names are mapped at the call sites above rather than through a table,
48
+ * because the two APIs disagree and it is worth being able to see which is
49
+ * which: `AWS::SES::Template` kept the names the older SES API used, so a
50
+ * template says `SubjectPart` where `CreateEmailTemplate` says `Subject`.
51
+ */
52
+ private stringPart;
53
+ private unreadReason;
54
+ private readTemplate;
55
+ private propertyError;
56
+ }
57
+ export {};
58
+ //# sourceMappingURL=sim-cfn-ses-template-properties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ses-template-properties.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/cfn/template/sim-cfn-ses-template-properties.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,KAAK,EAEV,yBAAyB,EAC1B,MAAM,kEAAkE,CAAC;AAC1E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAc7F,UAAU,qCAAqC;IAC7C,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,QAAQ,CAAC,UAAU,EAAE,yBAAyB,CAAC;CAChD;AAED;;;;;;;GAOG;AACH,qBAAa,2BAA2B;;IAMtC,YAAY,UAAU,EAAE,qCAAqC,EAO5D;IAED;;;;;;;;OAQG;IACH,uBAAuB,IAAI,IAAI,CAe9B;IAED;;;;;OAKG;IACH,YAAY,IAAI,MAAM,CAYrB;IAED;;;;;;OAMG;IACH,OAAO,IAAI,0BAA0B,CAMpC;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,UAAU;IAclB,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,YAAY;IAoBpB,OAAO,CAAC,aAAa;CAOtB"}
@@ -0,0 +1,121 @@
1
+ import { SimCfnGeneratedResourceName } from "../../../cloudformation/resource/name/sim-cfn-generated-resource-name.js";
2
+ import { simCfnSesResourceError } from "../sim-cfn-ses-resource-error.js";
3
+ import { sesTemplateResourceType } from "../sim-cfn-ses-resource-types.js";
4
+ const maximumNameLength = 64;
5
+ /** The parts of the wording this Resource is actually created from. */
6
+ const actedOnParts = new Set([
7
+ "TemplateName",
8
+ "SubjectPart",
9
+ "TextPart",
10
+ "HtmlPart",
11
+ ]);
12
+ /**
13
+ * Reads AWS::SES::Template CloudFormation properties into the shape
14
+ * CreateEmailTemplate takes.
15
+ *
16
+ * Everything a template Resource says is nested inside one `Template`
17
+ * property, which is unusual for a CloudFormation Resource and is why this
18
+ * reads a record out of a record.
19
+ */
20
+ export class SimCfnSesTemplateProperties {
21
+ #resource;
22
+ #properties;
23
+ #template;
24
+ #ignorer;
25
+ constructor(properties) {
26
+ this.#resource = properties.resource;
27
+ this.#properties = properties.properties;
28
+ this.#ignorer = properties.resource;
29
+ this.#template = new Map(Object.entries(this.readTemplate(properties.properties)));
30
+ }
31
+ /**
32
+ * Record the properties the template is created without acting on.
33
+ *
34
+ * Everything a template Resource can usefully say is wording, so in practice
35
+ * this catches a misspelling: `TextPart` written `Textpart` would otherwise
36
+ * be dropped in silence and the message would go out with a missing body and
37
+ * nothing to explain it. Both levels are walked, since a stray property can
38
+ * sit beside `Template` as well as inside it.
39
+ */
40
+ recordIgnoredProperties() {
41
+ for (const name of Object.keys(this.#properties)) {
42
+ if (name !== "Template") {
43
+ this.#ignorer.ignoreProperty(name, this.unreadReason(name));
44
+ }
45
+ }
46
+ for (const name of this.#template.keys()) {
47
+ if (!actedOnParts.has(name)) {
48
+ this.#ignorer.ignoreProperty(`Template.${name}`, this.unreadReason(`Template.${name}`));
49
+ }
50
+ }
51
+ }
52
+ /**
53
+ * The template name.
54
+ *
55
+ * An unnamed template is named after the stack and the logical ID, as real
56
+ * CloudFormation names one.
57
+ */
58
+ templateName() {
59
+ const name = this.stringPart("TemplateName");
60
+ if (name === undefined) {
61
+ return new SimCfnGeneratedResourceName({
62
+ stackName: this.#resource.stackName,
63
+ logicalId: this.#resource.logicalId,
64
+ maximumLength: maximumNameLength,
65
+ }).value;
66
+ }
67
+ return name;
68
+ }
69
+ /**
70
+ * The wording, in the shape CreateEmailTemplate takes it.
71
+ *
72
+ * A part the template does not set is left out rather than sent as an empty
73
+ * string, so a template with only a text body reports no HTML part rather
74
+ * than an empty one.
75
+ */
76
+ content() {
77
+ return {
78
+ Subject: this.stringPart("SubjectPart"),
79
+ Text: this.stringPart("TextPart"),
80
+ Html: this.stringPart("HtmlPart"),
81
+ };
82
+ }
83
+ /**
84
+ * One part of the wording, or nothing where the template does not set it.
85
+ *
86
+ * The names are mapped at the call sites above rather than through a table,
87
+ * because the two APIs disagree and it is worth being able to see which is
88
+ * which: `AWS::SES::Template` kept the names the older SES API used, so a
89
+ * template says `SubjectPart` where `CreateEmailTemplate` says `Subject`.
90
+ */
91
+ stringPart(name) {
92
+ const value = this.#template.get(name);
93
+ if (value === undefined) {
94
+ return undefined;
95
+ }
96
+ if (typeof value !== "string") {
97
+ throw this.propertyError(`Template.${name} must be a string`);
98
+ }
99
+ return value;
100
+ }
101
+ unreadReason(path) {
102
+ return (`${path} is not a property simulated SES reads from ` +
103
+ `${sesTemplateResourceType}, so the template is created without it`);
104
+ }
105
+ readTemplate(properties) {
106
+ const template = properties["Template"];
107
+ if (template === undefined) {
108
+ throw this.propertyError("Template is required");
109
+ }
110
+ if (typeof template !== "object" ||
111
+ template === null ||
112
+ Array.isArray(template)) {
113
+ throw this.propertyError("Template must be an object");
114
+ }
115
+ return template;
116
+ }
117
+ propertyError(reason) {
118
+ return simCfnSesResourceError(sesTemplateResourceType, this.#resource.logicalId, reason);
119
+ }
120
+ }
121
+ //# sourceMappingURL=sim-cfn-ses-template-properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-ses-template-properties.js","sourceRoot":"","sources":["../../../../../src/service/ses/cfn/template/sim-cfn-ses-template-properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0EAA0E,CAAC;AAQvH,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,uEAAuE;AACvE,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC;IAC3B,cAAc;IACd,aAAa;IACb,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAOH;;;;;;;GAOG;AACH,MAAM,OAAO,2BAA2B;IAC7B,SAAS,CAAiB;IAC1B,WAAW,CAA4B;IACvC,SAAS,CAA2C;IACpD,QAAQ,CAAwB;IAEzC,YAAY,UAAiD;QAC3D,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC;QACrC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,CACtB,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CACzD,CAAC;IACJ,CAAC;IAED;;;;;;;;OAQG;IACH,uBAAuB;QACrB,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACjD,IAAI,IAAI,KAAK,UAAU,EAAE,CAAC;gBACxB,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC;YAC9D,CAAC;QACH,CAAC;QAED,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,CAAC;YACzC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC5B,IAAI,CAAC,QAAQ,CAAC,cAAc,CAC1B,YAAY,IAAI,EAAE,EAClB,IAAI,CAAC,YAAY,CAAC,YAAY,IAAI,EAAE,CAAC,CACtC,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACH,YAAY;QACV,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;QAE7C,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,OAAO,IAAI,2BAA2B,CAAC;gBACrC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS;gBACnC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS;gBACnC,aAAa,EAAE,iBAAiB;aACjC,CAAC,CAAC,KAAK,CAAC;QACX,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;;OAMG;IACH,OAAO;QACL,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;YACvC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;YACjC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;SAClC,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACK,UAAU,CAAC,IAAY;QAC7B,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAEvC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,MAAM,IAAI,CAAC,aAAa,CAAC,YAAY,IAAI,mBAAmB,CAAC,CAAC;QAChE,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAEO,YAAY,CAAC,IAAY;QAC/B,OAAO,CACL,GAAG,IAAI,8CAA8C;YACrD,GAAG,uBAAuB,yCAAyC,CACpE,CAAC;IACJ,CAAC;IAEO,YAAY,CAClB,UAAqC;QAErC,MAAM,QAAQ,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC;QAExC,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,IAAI,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC;QACnD,CAAC;QAED,IACE,OAAO,QAAQ,KAAK,QAAQ;YAC5B,QAAQ,KAAK,IAAI;YACjB,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EACvB,CAAC;YACD,MAAM,IAAI,CAAC,aAAa,CAAC,4BAA4B,CAAC,CAAC;QACzD,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEO,aAAa,CAAC,MAAc;QAClC,OAAO,sBAAsB,CAC3B,uBAAuB,EACvB,IAAI,CAAC,SAAS,CAAC,SAAS,EACxB,MAAM,CACP,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,59 @@
1
+ import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
2
+ /**
3
+ * Minimal structural sim SES v2 GetAccount command.
4
+ *
5
+ * GetAccount takes no input at all, so its `input` is only here because every
6
+ * SDK Command has one.
7
+ *
8
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/GetAccountCommand/
9
+ */
10
+ export interface SimGetAccountCommand {
11
+ readonly input?: object | undefined;
12
+ }
13
+ export interface SimSesSendQuotaDetail {
14
+ readonly Max24HourSend: number;
15
+ readonly MaxSendRate: number;
16
+ readonly SentLast24Hours: number;
17
+ }
18
+ export interface SimGetAccountCommandOutput {
19
+ readonly DedicatedIpAutoWarmupEnabled?: boolean | undefined;
20
+ readonly EnforcementStatus?: string | undefined;
21
+ readonly ProductionAccessEnabled?: boolean | undefined;
22
+ readonly SendQuota?: SimSesSendQuotaDetail | undefined;
23
+ readonly SendingEnabled?: boolean | undefined;
24
+ readonly Details?: SimSesAccountDetailsOutput | undefined;
25
+ readonly $metadata: SimResponseMetadata;
26
+ }
27
+ /**
28
+ * What GetAccount reports back of the details PutAccountDetails was given.
29
+ */
30
+ export interface SimSesAccountDetailsOutput {
31
+ readonly MailType?: string | undefined;
32
+ readonly WebsiteURL?: string | undefined;
33
+ readonly ContactLanguage?: string | undefined;
34
+ readonly UseCaseDescription?: string | undefined;
35
+ readonly AdditionalContactEmailAddresses?: readonly string[] | undefined;
36
+ readonly ReviewDetails?: {
37
+ readonly Status?: string | undefined;
38
+ } | undefined;
39
+ }
40
+ /**
41
+ * Minimal structural sim SES v2 PutAccountDetails command.
42
+ *
43
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/PutAccountDetailsCommand/
44
+ */
45
+ export interface SimPutAccountDetailsCommand {
46
+ readonly input: SimPutAccountDetailsCommandInput;
47
+ }
48
+ export interface SimPutAccountDetailsCommandInput {
49
+ readonly MailType?: string | undefined;
50
+ readonly WebsiteURL?: string | undefined;
51
+ readonly ContactLanguage?: string | undefined;
52
+ readonly UseCaseDescription?: string | undefined;
53
+ readonly AdditionalContactEmailAddresses?: readonly string[] | undefined;
54
+ readonly ProductionAccessEnabled?: boolean | undefined;
55
+ }
56
+ export interface SimPutAccountDetailsCommandOutput {
57
+ readonly $metadata: SimResponseMetadata;
58
+ }
59
+ //# sourceMappingURL=account.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/account/account.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F;;;;;;;GAOG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,4BAA4B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5D,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvD,QAAQ,CAAC,SAAS,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IACvD,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,OAAO,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IAC1D,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,+BAA+B,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACzE,QAAQ,CAAC,aAAa,CAAC,EAAE;QAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,SAAS,CAAC;CAC/E;AAED;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,KAAK,EAAE,gCAAgC,CAAC;CAClD;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,+BAA+B,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACzE,QAAQ,CAAC,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACxD;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=account.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.command.js","sourceRoot":"","sources":["../../../../../src/service/ses/command/account/account.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ import type { SimClock } from "../../../../util/clock/sim-clock.js";
2
+ import type { SimSesAccount } from "../../account/sim-ses-account.js";
3
+ import type { SimSesSentEmailStore } from "../../email/sim-ses-sent-email-store.js";
4
+ import type { SimSesAuthorizer } from "../authorize/sim-ses-authorizer.js";
5
+ import type { SimSesRequestOptions } from "../sim-ses-request-options.js";
6
+ import type { SimGetAccountCommandOutput, SimPutAccountDetailsCommand, SimPutAccountDetailsCommandOutput } from "./account.command.js";
7
+ interface SimSesAccountCommandsProperties {
8
+ readonly account: SimSesAccount;
9
+ readonly sent: SimSesSentEmailStore;
10
+ readonly authorizer: SimSesAuthorizer;
11
+ readonly clock: SimClock;
12
+ }
13
+ /**
14
+ * The commands that read and change what a whole SES account may do.
15
+ *
16
+ * Both authorize against `*`, because real SES gives neither a resource type:
17
+ * only a policy written against every resource allows them, and one naming an
18
+ * identity ARN allows neither.
19
+ */
20
+ export declare class SimSesAccountCommands {
21
+ #private;
22
+ constructor(properties: SimSesAccountCommandsProperties);
23
+ /**
24
+ * Report what this account may do, including whether it is still in the
25
+ * sandbox.
26
+ */
27
+ getAccount(options?: SimSesRequestOptions): SimGetAccountCommandOutput;
28
+ /**
29
+ * Record the account details, and leave the sandbox if they ask to.
30
+ */
31
+ putAccountDetails(command: SimPutAccountDetailsCommand, options?: SimSesRequestOptions): SimPutAccountDetailsCommandOutput;
32
+ }
33
+ export {};
34
+ //# sourceMappingURL=sim-ses-account-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-ses-account-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/account/sim-ses-account-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EACV,0BAA0B,EAC1B,2BAA2B,EAC3B,iCAAiC,EAClC,MAAM,sBAAsB,CAAC;AAI9B,UAAU,+BAA+B;IACvC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,qBAAa,qBAAqB;;IAMhC,YAAY,UAAU,EAAE,+BAA+B,EAKtD;IAED;;;OAGG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,0BAA0B,CAOrE;IAED;;OAEG;IACH,iBAAiB,CACf,OAAO,EAAE,2BAA2B,EACpC,OAAO,CAAC,EAAE,oBAAoB,GAC7B,iCAAiC,CAYnC;CACF"}
@@ -0,0 +1,41 @@
1
+ import { readSimSesAccountDetails } from "./sim-ses-account-details-input.js";
2
+ import { simSesAccountReport } from "./sim-ses-account-report.js";
3
+ /**
4
+ * The commands that read and change what a whole SES account may do.
5
+ *
6
+ * Both authorize against `*`, because real SES gives neither a resource type:
7
+ * only a policy written against every resource allows them, and one naming an
8
+ * identity ARN allows neither.
9
+ */
10
+ export class SimSesAccountCommands {
11
+ #account;
12
+ #sent;
13
+ #authorizer;
14
+ #clock;
15
+ constructor(properties) {
16
+ this.#account = properties.account;
17
+ this.#sent = properties.sent;
18
+ this.#authorizer = properties.authorizer;
19
+ this.#clock = properties.clock;
20
+ }
21
+ /**
22
+ * Report what this account may do, including whether it is still in the
23
+ * sandbox.
24
+ */
25
+ getAccount(options) {
26
+ this.#authorizer.authorizeNoResource("ses:GetAccount", options?.caller);
27
+ return simSesAccountReport({
28
+ account: this.#account,
29
+ sentLast24Hours: this.#sent.countSentSince(this.#clock.now()),
30
+ });
31
+ }
32
+ /**
33
+ * Record the account details, and leave the sandbox if they ask to.
34
+ */
35
+ putAccountDetails(command, options) {
36
+ this.#authorizer.authorizeNoResource("ses:PutAccountDetails", options?.caller);
37
+ this.#account.putDetails(readSimSesAccountDetails(command.input), command.input.ProductionAccessEnabled ?? false);
38
+ return { $metadata: {} };
39
+ }
40
+ }
41
+ //# sourceMappingURL=sim-ses-account-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-ses-account-commands.js","sourceRoot":"","sources":["../../../../../src/service/ses/command/account/sim-ses-account-commands.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AASlE;;;;;;GAMG;AACH,MAAM,OAAO,qBAAqB;IACvB,QAAQ,CAAgB;IACxB,KAAK,CAAuB;IAC5B,WAAW,CAAmB;IAC9B,MAAM,CAAW;IAE1B,YAAY,UAA2C;QACrD,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC;QACnC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC;QAC7B,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC;IACjC,CAAC;IAED;;;OAGG;IACH,UAAU,CAAC,OAA8B;QACvC,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAAC,gBAAgB,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAExE,OAAO,mBAAmB,CAAC;YACzB,OAAO,EAAE,IAAI,CAAC,QAAQ;YACtB,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;SAC9D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,OAAoC,EACpC,OAA8B;QAE9B,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAClC,uBAAuB,EACvB,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,IAAI,CAAC,QAAQ,CAAC,UAAU,CACtB,wBAAwB,CAAC,OAAO,CAAC,KAAK,CAAC,EACvC,OAAO,CAAC,KAAK,CAAC,uBAAuB,IAAI,KAAK,CAC/C,CAAC;QAEF,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;CACF"}
@@ -0,0 +1,11 @@
1
+ import type { SimSesAccountContactDetails } from "../../account/sim-ses-account.js";
2
+ import type { SimPutAccountDetailsCommandInput } from "./account.command.js";
3
+ /**
4
+ * Read the account details a request carries, refusing what real SES refuses.
5
+ *
6
+ * `MailType` and `WebsiteURL` are both required on real SES, which is easy to
7
+ * miss: the request that only wants to leave the sandbox still has to say what
8
+ * the account sends and where from.
9
+ */
10
+ export declare function readSimSesAccountDetails(input: SimPutAccountDetailsCommandInput): SimSesAccountContactDetails;
11
+ //# sourceMappingURL=sim-ses-account-details-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-ses-account-details-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/account/sim-ses-account-details-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAEpF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAY7E;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,gCAAgC,GACtC,2BAA2B,CAQ7B"}
@@ -0,0 +1,50 @@
1
+ import { SimSesBadRequestException } from "../../error/sim-ses.error.js";
2
+ /**
3
+ * The mail types real SES accepts, and requires one of.
4
+ */
5
+ const mailTypes = new Set(["MARKETING", "TRANSACTIONAL"]);
6
+ /**
7
+ * The two languages real SES will write to a contact in.
8
+ */
9
+ const contactLanguages = new Set(["EN", "JA"]);
10
+ /**
11
+ * Read the account details a request carries, refusing what real SES refuses.
12
+ *
13
+ * `MailType` and `WebsiteURL` are both required on real SES, which is easy to
14
+ * miss: the request that only wants to leave the sandbox still has to say what
15
+ * the account sends and where from.
16
+ */
17
+ export function readSimSesAccountDetails(input) {
18
+ return {
19
+ mailType: requiredMailType(input.MailType),
20
+ websiteUrl: requiredWebsiteUrl(input.WebsiteURL),
21
+ contactLanguage: optionalContactLanguage(input.ContactLanguage),
22
+ useCaseDescription: input.UseCaseDescription,
23
+ additionalContactEmailAddresses: input.AdditionalContactEmailAddresses,
24
+ };
25
+ }
26
+ function requiredMailType(mailType) {
27
+ if (mailType === undefined || !mailTypes.has(mailType)) {
28
+ throw new SimSesBadRequestException(`1 validation error detected: Value '${String(mailType)}' at ` +
29
+ `'mailType' failed to satisfy constraint: Member must be one of ${[
30
+ ...mailTypes,
31
+ ].join(", ")}`);
32
+ }
33
+ return mailType;
34
+ }
35
+ function optionalContactLanguage(contactLanguage) {
36
+ if (contactLanguage !== undefined && !contactLanguages.has(contactLanguage)) {
37
+ throw new SimSesBadRequestException(`1 validation error detected: Value '${contactLanguage}' at ` +
38
+ `'contactLanguage' failed to satisfy constraint: Member must be one ` +
39
+ `of ${[...contactLanguages].join(", ")}`);
40
+ }
41
+ return contactLanguage;
42
+ }
43
+ function requiredWebsiteUrl(websiteUrl) {
44
+ if (websiteUrl === undefined || websiteUrl.length === 0) {
45
+ throw new SimSesBadRequestException("1 validation error detected: Value at 'websiteURL' failed to satisfy " +
46
+ "constraint: Member must not be null");
47
+ }
48
+ return websiteUrl;
49
+ }
50
+ //# sourceMappingURL=sim-ses-account-details-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-ses-account-details-input.js","sourceRoot":"","sources":["../../../../../src/service/ses/command/account/sim-ses-account-details-input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAGzE;;GAEG;AACH,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC,CAAC;AAE1D;;GAEG;AACH,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,UAAU,wBAAwB,CACtC,KAAuC;IAEvC,OAAO;QACL,QAAQ,EAAE,gBAAgB,CAAC,KAAK,CAAC,QAAQ,CAAC;QAC1C,UAAU,EAAE,kBAAkB,CAAC,KAAK,CAAC,UAAU,CAAC;QAChD,eAAe,EAAE,uBAAuB,CAAC,KAAK,CAAC,eAAe,CAAC;QAC/D,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;QAC5C,+BAA+B,EAAE,KAAK,CAAC,+BAA+B;KACvE,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,QAA4B;IACpD,IAAI,QAAQ,KAAK,SAAS,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;QACvD,MAAM,IAAI,yBAAyB,CACjC,uCAAuC,MAAM,CAAC,QAAQ,CAAC,OAAO;YAC5D,kEAAkE;gBAChE,GAAG,SAAS;aACb,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACjB,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,uBAAuB,CAC9B,eAAmC;IAEnC,IAAI,eAAe,KAAK,SAAS,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC;QAC5E,MAAM,IAAI,yBAAyB,CACjC,uCAAuC,eAAe,OAAO;YAC3D,qEAAqE;YACrE,MAAM,CAAC,GAAG,gBAAgB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC3C,CAAC;IACJ,CAAC;IAED,OAAO,eAAe,CAAC;AACzB,CAAC;AAED,SAAS,kBAAkB,CAAC,UAA8B;IACxD,IAAI,UAAU,KAAK,SAAS,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxD,MAAM,IAAI,yBAAyB,CACjC,uEAAuE;YACrE,qCAAqC,CACxC,CAAC;IACJ,CAAC;IAED,OAAO,UAAU,CAAC;AACpB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { SimSesAccount } from "../../account/sim-ses-account.js";
2
+ import type { SimGetAccountCommandOutput } from "./account.command.js";
3
+ interface SimSesAccountReportInput {
4
+ readonly account: SimSesAccount;
5
+ /** How many messages this scope accepted in the last 24 hours. */
6
+ readonly sentLast24Hours: number;
7
+ }
8
+ /**
9
+ * What `GetAccount` reports about one simulated SES account.
10
+ *
11
+ * The quota figures are the real sandbox and production ones and nothing here
12
+ * enforces them: `SentLast24Hours` counts what was actually sent, and a send
13
+ * past the daily figure still succeeds.
14
+ *
15
+ * `EnforcementStatus` is always `HEALTHY` and `SendingEnabled` always true,
16
+ * because nothing here puts an account under enforcement or pauses its
17
+ * sending.
18
+ */
19
+ export declare function simSesAccountReport(input: SimSesAccountReportInput): SimGetAccountCommandOutput;
20
+ export {};
21
+ //# sourceMappingURL=sim-ses-account-report.d.ts.map