@kensio/yulin 0.42.0 → 0.44.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 (872) hide show
  1. package/README.md +1 -0
  2. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  3. package/dist/sdk/router/resolve-sim-sdk-command-router.js +3 -0
  4. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  5. package/dist/serve/controller/factory/sim-aws-service-controller-factory.d.ts.map +1 -1
  6. package/dist/serve/controller/factory/sim-aws-service-controller-factory.js +4 -0
  7. package/dist/serve/controller/factory/sim-aws-service-controller-factory.js.map +1 -1
  8. package/dist/serve/controller/sim-aws-service-signing-name.d.ts.map +1 -1
  9. package/dist/serve/controller/sim-aws-service-signing-name.js +3 -0
  10. package/dist/serve/controller/sim-aws-service-signing-name.js.map +1 -1
  11. package/dist/serve/controller/sim-service-controller.d.ts +1 -1
  12. package/dist/serve/controller/sim-service-controller.d.ts.map +1 -1
  13. package/dist/serve/controller/sim-service-controller.js.map +1 -1
  14. package/dist/serve/http/url/sim-aws-local-url.d.ts.map +1 -1
  15. package/dist/serve/http/url/sim-aws-local-url.js +1 -0
  16. package/dist/serve/http/url/sim-aws-local-url.js.map +1 -1
  17. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +112 -0
  18. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -0
  19. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +196 -0
  20. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -0
  21. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts +2 -1
  22. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
  23. package/dist/service/aws/factory/sim-aws-account-service-cache.js +2 -1
  24. package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
  25. package/dist/service/aws/factory/sim-aws-request-auth-wiring.d.ts +45 -0
  26. package/dist/service/aws/factory/sim-aws-request-auth-wiring.d.ts.map +1 -0
  27. package/dist/service/aws/factory/sim-aws-request-auth-wiring.js +51 -0
  28. package/dist/service/aws/factory/sim-aws-request-auth-wiring.js.map +1 -0
  29. package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts +7 -0
  30. package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts.map +1 -1
  31. package/dist/service/aws/factory/sim-aws-scoped-service-registries.js +7 -0
  32. package/dist/service/aws/factory/sim-aws-scoped-service-registries.js.map +1 -1
  33. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +32 -74
  34. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  35. package/dist/service/aws/factory/sim-aws-service-factory.js +46 -162
  36. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  37. package/dist/service/aws/sim-aws-account-region-scope.d.ts +5 -0
  38. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  39. package/dist/service/aws/sim-aws-account-region-scope.factory.d.ts +1 -1
  40. package/dist/service/aws/sim-aws-account-region-scope.factory.d.ts.map +1 -1
  41. package/dist/service/aws/sim-aws-account-region-scope.js +6 -0
  42. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  43. package/dist/service/aws/sim-aws-request-authentication.d.ts +3 -3
  44. package/dist/service/aws/sim-aws-request-authentication.d.ts.map +1 -1
  45. package/dist/service/aws/sim-aws-request-authentication.js +4 -4
  46. package/dist/service/aws/sim-aws-request-authentication.js.map +1 -1
  47. package/dist/service/aws/sim-aws.d.ts +3 -0
  48. package/dist/service/aws/sim-aws.d.ts.map +1 -1
  49. package/dist/service/aws/sim-aws.js +5 -1
  50. package/dist/service/aws/sim-aws.js.map +1 -1
  51. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cff-cfn.factory.d.ts +1 -1
  52. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cff-cfn.factory.d.ts.map +1 -1
  53. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts +6 -0
  54. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts.map +1 -0
  55. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js +25 -0
  56. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js.map +1 -0
  57. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.d.ts +30 -0
  58. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.d.ts.map +1 -0
  59. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.js +45 -0
  60. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.js.map +1 -0
  61. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.d.ts +30 -0
  62. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.d.ts.map +1 -0
  63. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.js +32 -0
  64. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.js.map +1 -0
  65. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.d.ts +25 -0
  66. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.d.ts.map +1 -0
  67. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.js +24 -0
  68. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.js.map +1 -0
  69. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.d.ts.map +1 -1
  70. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js +8 -0
  71. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js.map +1 -1
  72. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.d.ts +28 -0
  73. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.d.ts.map +1 -0
  74. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.js +33 -0
  75. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.js.map +1 -0
  76. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.d.ts.map +1 -1
  77. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js +4 -0
  78. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js.map +1 -1
  79. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.d.ts +6 -0
  80. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.d.ts.map +1 -0
  81. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.js +13 -0
  82. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.js.map +1 -0
  83. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.d.ts +28 -0
  84. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.d.ts.map +1 -0
  85. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.js +40 -0
  86. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.js.map +1 -0
  87. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.d.ts.map +1 -1
  88. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js +6 -0
  89. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
  90. package/dist/service/cloudformation/resource/sim-cfn-resource.d.ts +3 -0
  91. package/dist/service/cloudformation/resource/sim-cfn-resource.d.ts.map +1 -1
  92. package/dist/service/cloudformation/resource/sim-cfn-resource.factory.d.ts +1 -1
  93. package/dist/service/cloudformation/resource/sim-cfn-resource.factory.d.ts.map +1 -1
  94. package/dist/service/cloudformation/resource/sim-cfn-resource.js +4 -1
  95. package/dist/service/cloudformation/resource/sim-cfn-resource.js.map +1 -1
  96. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.d.ts.map +1 -1
  97. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js +1 -0
  98. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js.map +1 -1
  99. package/dist/service/cloudfront/distribution/sim-cf-distro-config.factory.d.ts +1 -1
  100. package/dist/service/cloudfront/distribution/sim-cf-distro-config.factory.d.ts.map +1 -1
  101. package/dist/service/cloudfront/factory/cloudfront-functions.factory.d.ts +4 -4
  102. package/dist/service/cloudfront/factory/cloudfront-functions.factory.d.ts.map +1 -1
  103. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.d.ts +25 -0
  104. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.d.ts.map +1 -0
  105. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.js +36 -0
  106. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.js.map +1 -0
  107. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts +35 -0
  108. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -0
  109. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +88 -0
  110. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -0
  111. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.d.ts +24 -0
  112. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.d.ts.map +1 -0
  113. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.js +34 -0
  114. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.js.map +1 -0
  115. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.d.ts +32 -0
  116. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.d.ts.map +1 -0
  117. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.js +55 -0
  118. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.js.map +1 -0
  119. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts +52 -0
  120. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts.map +1 -0
  121. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js +77 -0
  122. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js.map +1 -0
  123. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts +25 -0
  124. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts.map +1 -0
  125. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js +42 -0
  126. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js.map +1 -0
  127. package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.d.ts +51 -0
  128. package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.d.ts.map +1 -0
  129. package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.js +87 -0
  130. package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.js.map +1 -0
  131. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.d.ts +28 -0
  132. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.d.ts.map +1 -0
  133. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.js +53 -0
  134. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.js.map +1 -0
  135. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.d.ts +27 -0
  136. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.d.ts.map +1 -0
  137. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.js +41 -0
  138. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.js.map +1 -0
  139. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts +25 -0
  140. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts.map +1 -0
  141. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +32 -0
  142. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -0
  143. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.d.ts +26 -0
  144. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.d.ts.map +1 -0
  145. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.js +33 -0
  146. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.js.map +1 -0
  147. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts +31 -0
  148. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -0
  149. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +60 -0
  150. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -0
  151. package/dist/service/cognito/command/auth/auth.command.d.ts +162 -0
  152. package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -0
  153. package/dist/service/cognito/command/auth/auth.command.js +2 -0
  154. package/dist/service/cognito/command/auth/auth.command.js.map +1 -0
  155. package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.d.ts +32 -0
  156. package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.d.ts.map +1 -0
  157. package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.js +37 -0
  158. package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.js.map +1 -0
  159. package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.d.ts +29 -0
  160. package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.d.ts.map +1 -0
  161. package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.js +34 -0
  162. package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.js.map +1 -0
  163. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts +12 -0
  164. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts.map +1 -0
  165. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js +20 -0
  166. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js.map +1 -0
  167. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +31 -0
  168. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -0
  169. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +63 -0
  170. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -0
  171. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +26 -0
  172. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts.map +1 -0
  173. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +25 -0
  174. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js.map +1 -0
  175. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts +42 -0
  176. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts.map +1 -0
  177. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js +52 -0
  178. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js.map +1 -0
  179. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts +48 -0
  180. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts.map +1 -0
  181. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js +79 -0
  182. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js.map +1 -0
  183. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts +21 -0
  184. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts.map +1 -0
  185. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js +33 -0
  186. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js.map +1 -0
  187. package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.d.ts +61 -0
  188. package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.d.ts.map +1 -0
  189. package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.js +56 -0
  190. package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.js.map +1 -0
  191. package/dist/service/cognito/command/auth/sim-cognito-authentication-result.d.ts +17 -0
  192. package/dist/service/cognito/command/auth/sim-cognito-authentication-result.d.ts.map +1 -0
  193. package/dist/service/cognito/command/auth/sim-cognito-authentication-result.js +26 -0
  194. package/dist/service/cognito/command/auth/sim-cognito-authentication-result.js.map +1 -0
  195. package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.d.ts +27 -0
  196. package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.d.ts.map +1 -0
  197. package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.js +36 -0
  198. package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.js.map +1 -0
  199. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts +28 -0
  200. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts.map +1 -0
  201. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js +39 -0
  202. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js.map +1 -0
  203. package/dist/service/cognito/command/auth/sim-cognito-new-password-response.d.ts +39 -0
  204. package/dist/service/cognito/command/auth/sim-cognito-new-password-response.d.ts.map +1 -0
  205. package/dist/service/cognito/command/auth/sim-cognito-new-password-response.js +47 -0
  206. package/dist/service/cognito/command/auth/sim-cognito-new-password-response.js.map +1 -0
  207. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.d.ts +42 -0
  208. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.d.ts.map +1 -0
  209. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js +39 -0
  210. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js.map +1 -0
  211. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts +28 -0
  212. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts.map +1 -0
  213. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js +42 -0
  214. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js.map +1 -0
  215. package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.d.ts +26 -0
  216. package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.d.ts.map +1 -0
  217. package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.js +35 -0
  218. package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.js.map +1 -0
  219. package/dist/service/cognito/command/auth/sim-cognito-sign-out.d.ts +39 -0
  220. package/dist/service/cognito/command/auth/sim-cognito-sign-out.d.ts.map +1 -0
  221. package/dist/service/cognito/command/auth/sim-cognito-sign-out.js +42 -0
  222. package/dist/service/cognito/command/auth/sim-cognito-sign-out.js.map +1 -0
  223. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts +37 -0
  224. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts.map +1 -0
  225. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js +54 -0
  226. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js.map +1 -0
  227. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
  228. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -1
  229. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
  230. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.d.ts.map +1 -1
  231. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js +1 -0
  232. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js.map +1 -1
  233. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +2 -1
  234. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  235. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +3 -1
  236. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  237. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +1 -0
  238. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  239. package/dist/service/cognito/command/group/group-membership.command.d.ts +70 -0
  240. package/dist/service/cognito/command/group/group-membership.command.d.ts.map +1 -0
  241. package/dist/service/cognito/command/group/group-membership.command.js +2 -0
  242. package/dist/service/cognito/command/group/group-membership.command.js.map +1 -0
  243. package/dist/service/cognito/command/group/group.command.d.ts +102 -0
  244. package/dist/service/cognito/command/group/group.command.d.ts.map +1 -0
  245. package/dist/service/cognito/command/group/group.command.js +2 -0
  246. package/dist/service/cognito/command/group/group.command.js.map +1 -0
  247. package/dist/service/cognito/command/group/sim-cognito-group-commands.d.ts +51 -0
  248. package/dist/service/cognito/command/group/sim-cognito-group-commands.d.ts.map +1 -0
  249. package/dist/service/cognito/command/group/sim-cognito-group-commands.js +67 -0
  250. package/dist/service/cognito/command/group/sim-cognito-group-commands.js.map +1 -0
  251. package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.d.ts +46 -0
  252. package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.d.ts.map +1 -0
  253. package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.js +80 -0
  254. package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.js.map +1 -0
  255. package/dist/service/cognito/command/group/sim-cognito-group-view.d.ts +18 -0
  256. package/dist/service/cognito/command/group/sim-cognito-group-view.d.ts.map +1 -0
  257. package/dist/service/cognito/command/group/sim-cognito-group-view.js +26 -0
  258. package/dist/service/cognito/command/group/sim-cognito-group-view.js.map +1 -0
  259. package/dist/service/cognito/command/group/sim-cognito-list-groups.d.ts +27 -0
  260. package/dist/service/cognito/command/group/sim-cognito-list-groups.d.ts.map +1 -0
  261. package/dist/service/cognito/command/group/sim-cognito-list-groups.js +38 -0
  262. package/dist/service/cognito/command/group/sim-cognito-list-groups.js.map +1 -0
  263. package/dist/service/cognito/command/sim-cognito-command.types.d.ts +5 -0
  264. package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
  265. package/dist/service/cognito/command/sim-cognito-commands.d.ts +44 -0
  266. package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -0
  267. package/dist/service/cognito/command/sim-cognito-commands.js +72 -0
  268. package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -0
  269. package/dist/service/cognito/command/sim-cognito-page.d.ts +12 -2
  270. package/dist/service/cognito/command/sim-cognito-page.d.ts.map +1 -1
  271. package/dist/service/cognito/command/sim-cognito-page.js +8 -8
  272. package/dist/service/cognito/command/sim-cognito-page.js.map +1 -1
  273. package/dist/service/cognito/command/sim-cognito-request-resolver.d.ts +86 -0
  274. package/dist/service/cognito/command/sim-cognito-request-resolver.d.ts.map +1 -0
  275. package/dist/service/cognito/command/sim-cognito-request-resolver.js +74 -0
  276. package/dist/service/cognito/command/sim-cognito-request-resolver.js.map +1 -0
  277. package/dist/service/cognito/command/user/list-users.command.d.ts +30 -0
  278. package/dist/service/cognito/command/user/list-users.command.d.ts.map +1 -0
  279. package/dist/service/cognito/command/user/list-users.command.js +2 -0
  280. package/dist/service/cognito/command/user/list-users.command.js.map +1 -0
  281. package/dist/service/cognito/command/user/sim-cognito-list-users.d.ts +30 -0
  282. package/dist/service/cognito/command/user/sim-cognito-list-users.d.ts.map +1 -0
  283. package/dist/service/cognito/command/user/sim-cognito-list-users.js +46 -0
  284. package/dist/service/cognito/command/user/sim-cognito-list-users.js.map +1 -0
  285. package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.d.ts +35 -0
  286. package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.d.ts.map +1 -0
  287. package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.js +45 -0
  288. package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.js.map +1 -0
  289. package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts +53 -0
  290. package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts.map +1 -0
  291. package/dist/service/cognito/command/user/sim-cognito-user-commands.js +72 -0
  292. package/dist/service/cognito/command/user/sim-cognito-user-commands.js.map +1 -0
  293. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.d.ts +47 -0
  294. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.d.ts.map +1 -0
  295. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js +63 -0
  296. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js.map +1 -0
  297. package/dist/service/cognito/command/user/sim-cognito-user-view.d.ts +21 -0
  298. package/dist/service/cognito/command/user/sim-cognito-user-view.d.ts.map +1 -0
  299. package/dist/service/cognito/command/user/sim-cognito-user-view.js +37 -0
  300. package/dist/service/cognito/command/user/sim-cognito-user-view.js.map +1 -0
  301. package/dist/service/cognito/command/user/user.command.d.ts +135 -0
  302. package/dist/service/cognito/command/user/user.command.d.ts.map +1 -0
  303. package/dist/service/cognito/command/user/user.command.js +2 -0
  304. package/dist/service/cognito/command/user/user.command.js.map +1 -0
  305. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -3
  306. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
  307. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +5 -4
  308. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
  309. package/dist/service/cognito/error/sim-cognito.error.d.ts +51 -0
  310. package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
  311. package/dist/service/cognito/error/sim-cognito.error.js +61 -0
  312. package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
  313. package/dist/service/cognito/index.d.ts +16 -1
  314. package/dist/service/cognito/index.d.ts.map +1 -1
  315. package/dist/service/cognito/index.js +14 -1
  316. package/dist/service/cognito/index.js.map +1 -1
  317. package/dist/service/cognito/registry/sim-cognito-user-pool-registry.d.ts +31 -0
  318. package/dist/service/cognito/registry/sim-cognito-user-pool-registry.d.ts.map +1 -0
  319. package/dist/service/cognito/registry/sim-cognito-user-pool-registry.js +38 -0
  320. package/dist/service/cognito/registry/sim-cognito-user-pool-registry.js.map +1 -0
  321. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts +11 -0
  322. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts.map +1 -0
  323. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js +37 -0
  324. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js.map +1 -0
  325. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +5 -1
  326. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
  327. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +10 -33
  328. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
  329. package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.d.ts +7 -0
  330. package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.d.ts.map +1 -0
  331. package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.js +77 -0
  332. package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.js.map +1 -0
  333. package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.d.ts +7 -0
  334. package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.d.ts.map +1 -0
  335. package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.js +41 -0
  336. package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.js.map +1 -0
  337. package/dist/service/cognito/serve/sim-cognito-controller.d.ts +40 -0
  338. package/dist/service/cognito/serve/sim-cognito-controller.d.ts.map +1 -0
  339. package/dist/service/cognito/serve/sim-cognito-controller.js +91 -0
  340. package/dist/service/cognito/serve/sim-cognito-controller.js.map +1 -0
  341. package/dist/service/cognito/serve/sim-cognito-endpoint-response.d.ts +32 -0
  342. package/dist/service/cognito/serve/sim-cognito-endpoint-response.d.ts.map +1 -0
  343. package/dist/service/cognito/serve/sim-cognito-endpoint-response.js +51 -0
  344. package/dist/service/cognito/serve/sim-cognito-endpoint-response.js.map +1 -0
  345. package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts +36 -0
  346. package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts.map +1 -0
  347. package/dist/service/cognito/serve/sim-cognito-openid-configuration.js +36 -0
  348. package/dist/service/cognito/serve/sim-cognito-openid-configuration.js.map +1 -0
  349. package/dist/service/cognito/sim-cognito-authentication.d.ts +59 -0
  350. package/dist/service/cognito/sim-cognito-authentication.d.ts.map +1 -0
  351. package/dist/service/cognito/sim-cognito-authentication.js +68 -0
  352. package/dist/service/cognito/sim-cognito-authentication.js.map +1 -0
  353. package/dist/service/cognito/sim-cognito-identity-provider.d.ts +32 -11
  354. package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
  355. package/dist/service/cognito/sim-cognito-identity-provider.js +57 -43
  356. package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
  357. package/dist/service/cognito/sim-cognito-user-directory.d.ts +91 -0
  358. package/dist/service/cognito/sim-cognito-user-directory.d.ts.map +1 -0
  359. package/dist/service/cognito/sim-cognito-user-directory.js +136 -0
  360. package/dist/service/cognito/sim-cognito-user-directory.js.map +1 -0
  361. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.d.ts +45 -0
  362. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.d.ts.map +1 -0
  363. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.js +60 -0
  364. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.js.map +1 -0
  365. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts +31 -0
  366. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts.map +1 -0
  367. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js +45 -0
  368. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js.map +1 -0
  369. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +59 -0
  370. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -0
  371. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +81 -0
  372. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -0
  373. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +37 -0
  374. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -0
  375. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +39 -0
  376. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -0
  377. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +49 -0
  378. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -0
  379. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +63 -0
  380. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -0
  381. package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.d.ts +17 -0
  382. package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.d.ts.map +1 -0
  383. package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.js +34 -0
  384. package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.js.map +1 -0
  385. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts +31 -0
  386. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts.map +1 -0
  387. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js +49 -0
  388. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js.map +1 -0
  389. package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.d.ts +24 -0
  390. package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.d.ts.map +1 -0
  391. package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.js +46 -0
  392. package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.js.map +1 -0
  393. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +1 -0
  394. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
  395. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -0
  396. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
  397. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +3 -0
  398. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  399. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +2 -0
  400. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  401. package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.d.ts +26 -0
  402. package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.d.ts.map +1 -0
  403. package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.js +22 -0
  404. package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.js.map +1 -0
  405. package/dist/service/cognito/user-pool/group/sim-cognito-group-name.d.ts +10 -0
  406. package/dist/service/cognito/user-pool/group/sim-cognito-group-name.d.ts.map +1 -0
  407. package/dist/service/cognito/user-pool/group/sim-cognito-group-name.js +15 -0
  408. package/dist/service/cognito/user-pool/group/sim-cognito-group-name.js.map +1 -0
  409. package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.d.ts +33 -0
  410. package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.d.ts.map +1 -0
  411. package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.js +68 -0
  412. package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.js.map +1 -0
  413. package/dist/service/cognito/user-pool/group/sim-cognito-group-store.d.ts +45 -0
  414. package/dist/service/cognito/user-pool/group/sim-cognito-group-store.d.ts.map +1 -0
  415. package/dist/service/cognito/user-pool/group/sim-cognito-group-store.js +77 -0
  416. package/dist/service/cognito/user-pool/group/sim-cognito-group-store.js.map +1 -0
  417. package/dist/service/cognito/user-pool/group/sim-cognito-group.d.ts +77 -0
  418. package/dist/service/cognito/user-pool/group/sim-cognito-group.d.ts.map +1 -0
  419. package/dist/service/cognito/user-pool/group/sim-cognito-group.js +90 -0
  420. package/dist/service/cognito/user-pool/group/sim-cognito-group.js.map +1 -0
  421. package/dist/service/cognito/user-pool/sim-cognito-identifier.d.ts +26 -0
  422. package/dist/service/cognito/user-pool/sim-cognito-identifier.d.ts.map +1 -0
  423. package/dist/service/cognito/user-pool/sim-cognito-identifier.js +34 -0
  424. package/dist/service/cognito/user-pool/sim-cognito-identifier.js.map +1 -0
  425. package/dist/service/cognito/user-pool/sim-cognito-password-check.d.ts +24 -0
  426. package/dist/service/cognito/user-pool/sim-cognito-password-check.d.ts.map +1 -0
  427. package/dist/service/cognito/user-pool/sim-cognito-password-check.js +73 -0
  428. package/dist/service/cognito/user-pool/sim-cognito-password-check.js.map +1 -0
  429. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +50 -0
  430. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
  431. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +56 -2
  432. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
  433. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +98 -0
  434. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
  435. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +132 -0
  436. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
  437. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts +18 -0
  438. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts.map +1 -0
  439. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js +40 -0
  440. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js.map +1 -0
  441. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts +26 -0
  442. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts.map +1 -0
  443. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js +42 -0
  444. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js.map +1 -0
  445. package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.d.ts +64 -0
  446. package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.d.ts.map +1 -0
  447. package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.js +91 -0
  448. package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.js.map +1 -0
  449. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts +37 -0
  450. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts.map +1 -0
  451. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js +41 -0
  452. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js.map +1 -0
  453. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +62 -0
  454. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -0
  455. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +95 -0
  456. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -0
  457. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts +44 -0
  458. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts.map +1 -0
  459. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js +105 -0
  460. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js.map +1 -0
  461. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts +34 -0
  462. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts.map +1 -0
  463. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js +36 -0
  464. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js.map +1 -0
  465. package/dist/service/cognito/user-pool/user/sim-cognito-user-password.d.ts +17 -0
  466. package/dist/service/cognito/user-pool/user/sim-cognito-user-password.d.ts.map +1 -0
  467. package/dist/service/cognito/user-pool/user/sim-cognito-user-password.js +21 -0
  468. package/dist/service/cognito/user-pool/user/sim-cognito-user-password.js.map +1 -0
  469. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts +39 -0
  470. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts.map +1 -0
  471. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js +47 -0
  472. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js.map +1 -0
  473. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts +46 -0
  474. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts.map +1 -0
  475. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js +73 -0
  476. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js.map +1 -0
  477. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +98 -0
  478. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -0
  479. package/dist/service/cognito/user-pool/user/sim-cognito-user.js +122 -0
  480. package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -0
  481. package/dist/service/cognito/user-pool/user/sim-cognito-username.d.ts +10 -0
  482. package/dist/service/cognito/user-pool/user/sim-cognito-username.d.ts.map +1 -0
  483. package/dist/service/cognito/user-pool/user/sim-cognito-username.js +12 -0
  484. package/dist/service/cognito/user-pool/user/sim-cognito-username.js.map +1 -0
  485. package/dist/service/iam/policy/sim-iam-policy-document.factory.d.ts +43 -0
  486. package/dist/service/iam/policy/sim-iam-policy-document.factory.d.ts.map +1 -0
  487. package/dist/service/iam/policy/sim-iam-policy-document.factory.js +46 -0
  488. package/dist/service/iam/policy/sim-iam-policy-document.factory.js.map +1 -0
  489. package/dist/service/iam/policy/sim-iam-policy.factory.d.ts +1 -1
  490. package/dist/service/iam/policy/sim-iam-policy.factory.d.ts.map +1 -1
  491. package/dist/service/iam/role/sim-iam-role.factory.d.ts +1 -1
  492. package/dist/service/iam/role/sim-iam-role.factory.d.ts.map +1 -1
  493. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.d.ts +26 -0
  494. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.d.ts.map +1 -0
  495. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.js +33 -0
  496. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.js.map +1 -0
  497. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.d.ts +28 -0
  498. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.d.ts.map +1 -0
  499. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.js +38 -0
  500. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.js.map +1 -0
  501. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.d.ts +17 -0
  502. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.d.ts.map +1 -0
  503. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.js +71 -0
  504. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.js.map +1 -0
  505. package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.d.ts +4 -0
  506. package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.d.ts.map +1 -1
  507. package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.js +12 -0
  508. package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.js.map +1 -1
  509. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts +5 -6
  510. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts.map +1 -1
  511. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js +7 -13
  512. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js.map +1 -1
  513. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +1 -0
  514. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
  515. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +8 -0
  516. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
  517. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts +25 -0
  518. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts.map +1 -0
  519. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js +55 -0
  520. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js.map +1 -0
  521. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts +6 -0
  522. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts.map +1 -0
  523. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js +64 -0
  524. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js.map +1 -0
  525. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts +17 -0
  526. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts.map +1 -0
  527. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js +47 -0
  528. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js.map +1 -0
  529. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts +53 -0
  530. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts.map +1 -0
  531. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js +77 -0
  532. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js.map +1 -0
  533. package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.d.ts +41 -0
  534. package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.d.ts.map +1 -0
  535. package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.js +51 -0
  536. package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.js.map +1 -0
  537. package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.d.ts +91 -0
  538. package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.d.ts.map +1 -0
  539. package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.js +8 -0
  540. package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.js.map +1 -0
  541. package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.d.ts +60 -0
  542. package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.d.ts.map +1 -0
  543. package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.js +89 -0
  544. package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.js.map +1 -0
  545. package/dist/service/lambda/command/sim-lambda-command.types.d.ts +1 -0
  546. package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
  547. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts +27 -0
  548. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts.map +1 -0
  549. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js +32 -0
  550. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js.map +1 -0
  551. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.d.ts +40 -0
  552. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.d.ts.map +1 -0
  553. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.js +55 -0
  554. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.js.map +1 -0
  555. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts +85 -0
  556. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts.map +1 -0
  557. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js +136 -0
  558. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js.map +1 -0
  559. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts +49 -0
  560. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts.map +1 -0
  561. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js +97 -0
  562. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js.map +1 -0
  563. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.d.ts +56 -0
  564. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.d.ts.map +1 -0
  565. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.js +55 -0
  566. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.js.map +1 -0
  567. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.d.ts +49 -0
  568. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.d.ts.map +1 -0
  569. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.js +2 -0
  570. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.js.map +1 -0
  571. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.d.ts +118 -0
  572. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.d.ts.map +1 -0
  573. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.js +49 -0
  574. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.js.map +1 -0
  575. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts +32 -0
  576. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts.map +1 -0
  577. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js +52 -0
  578. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js.map +1 -0
  579. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.d.ts +29 -0
  580. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.d.ts.map +1 -0
  581. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.js +49 -0
  582. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.js.map +1 -0
  583. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.d.ts +57 -0
  584. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.d.ts.map +1 -0
  585. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.js +89 -0
  586. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.js.map +1 -0
  587. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.d.ts +46 -0
  588. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.d.ts.map +1 -0
  589. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.js +57 -0
  590. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.js.map +1 -0
  591. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts +101 -0
  592. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts.map +1 -0
  593. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js +93 -0
  594. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js.map +1 -0
  595. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts +37 -0
  596. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts.map +1 -0
  597. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js +44 -0
  598. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js.map +1 -0
  599. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts +23 -0
  600. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts.map +1 -0
  601. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js +46 -0
  602. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js.map +1 -0
  603. package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.d.ts +31 -0
  604. package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.d.ts.map +1 -0
  605. package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.js +45 -0
  606. package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.js.map +1 -0
  607. package/dist/service/lambda/function/environment/sim-lambda-environment.factory.d.ts +20 -0
  608. package/dist/service/lambda/function/environment/sim-lambda-environment.factory.d.ts.map +1 -0
  609. package/dist/service/lambda/function/environment/sim-lambda-environment.factory.js +17 -0
  610. package/dist/service/lambda/function/environment/sim-lambda-environment.factory.js.map +1 -0
  611. package/dist/service/lambda/function/sim-lambda-function-name.d.ts +10 -0
  612. package/dist/service/lambda/function/sim-lambda-function-name.d.ts.map +1 -0
  613. package/dist/service/lambda/function/sim-lambda-function-name.js +18 -0
  614. package/dist/service/lambda/function/sim-lambda-function-name.js.map +1 -0
  615. package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts +4 -0
  616. package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts.map +1 -1
  617. package/dist/service/lambda/function/url/sim-lambda-function-lookup.js +6 -0
  618. package/dist/service/lambda/function/url/sim-lambda-function-lookup.js.map +1 -1
  619. package/dist/service/lambda/function/url/sim-lambda-function-url.factory.d.ts +20 -0
  620. package/dist/service/lambda/function/url/sim-lambda-function-url.factory.d.ts.map +1 -0
  621. package/dist/service/lambda/function/url/sim-lambda-function-url.factory.js +23 -0
  622. package/dist/service/lambda/function/url/sim-lambda-function-url.factory.js.map +1 -0
  623. package/dist/service/lambda/index.d.ts +1 -0
  624. package/dist/service/lambda/index.d.ts.map +1 -1
  625. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
  626. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +16 -0
  627. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
  628. package/dist/service/lambda/sim-lambda-commands.d.ts +51 -0
  629. package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -0
  630. package/dist/service/lambda/sim-lambda-commands.js +84 -0
  631. package/dist/service/lambda/sim-lambda-commands.js.map +1 -0
  632. package/dist/service/lambda/sim-lambda.d.ts +35 -39
  633. package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
  634. package/dist/service/lambda/sim-lambda.js +47 -65
  635. package/dist/service/lambda/sim-lambda.js.map +1 -1
  636. package/dist/service/route53/resolve/sim-r53-s3-service-target.d.ts +40 -0
  637. package/dist/service/route53/resolve/sim-r53-s3-service-target.d.ts.map +1 -0
  638. package/dist/service/route53/resolve/sim-r53-s3-service-target.js +85 -0
  639. package/dist/service/route53/resolve/sim-r53-s3-service-target.js.map +1 -0
  640. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +14 -25
  641. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
  642. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +37 -72
  643. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
  644. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.d.ts +25 -0
  645. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.d.ts.map +1 -0
  646. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.js +33 -0
  647. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.js.map +1 -0
  648. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.d.ts +45 -0
  649. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.d.ts.map +1 -0
  650. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.js +67 -0
  651. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.js.map +1 -0
  652. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.d.ts +44 -0
  653. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.d.ts.map +1 -0
  654. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js +72 -0
  655. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js.map +1 -0
  656. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts +47 -0
  657. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts.map +1 -0
  658. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js +122 -0
  659. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js.map +1 -0
  660. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts +24 -0
  661. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts.map +1 -0
  662. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js +29 -0
  663. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js.map +1 -0
  664. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts +41 -0
  665. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts.map +1 -0
  666. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js +51 -0
  667. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js.map +1 -0
  668. package/dist/service/sqs/command/message/consume.command.d.ts +61 -0
  669. package/dist/service/sqs/command/message/consume.command.d.ts.map +1 -0
  670. package/dist/service/sqs/command/message/consume.command.js +2 -0
  671. package/dist/service/sqs/command/message/consume.command.js.map +1 -0
  672. package/dist/service/sqs/command/message/receive.command.d.ts +40 -0
  673. package/dist/service/sqs/command/message/receive.command.d.ts.map +1 -0
  674. package/dist/service/sqs/command/message/receive.command.js +2 -0
  675. package/dist/service/sqs/command/message/receive.command.js.map +1 -0
  676. package/dist/service/sqs/command/message/send.command.d.ts +80 -0
  677. package/dist/service/sqs/command/message/send.command.d.ts.map +1 -0
  678. package/dist/service/sqs/command/message/send.command.js +2 -0
  679. package/dist/service/sqs/command/message/send.command.js.map +1 -0
  680. package/dist/service/sqs/command/message/sim-sqs-batch-entries.d.ts +39 -0
  681. package/dist/service/sqs/command/message/sim-sqs-batch-entries.d.ts.map +1 -0
  682. package/dist/service/sqs/command/message/sim-sqs-batch-entries.js +67 -0
  683. package/dist/service/sqs/command/message/sim-sqs-batch-entries.js.map +1 -0
  684. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts +31 -0
  685. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts.map +1 -0
  686. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js +51 -0
  687. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js.map +1 -0
  688. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts +38 -0
  689. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts.map +1 -0
  690. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js +58 -0
  691. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js.map +1 -0
  692. package/dist/service/sqs/command/message/sim-sqs-message-handles.d.ts +28 -0
  693. package/dist/service/sqs/command/message/sim-sqs-message-handles.d.ts.map +1 -0
  694. package/dist/service/sqs/command/message/sim-sqs-message-handles.js +36 -0
  695. package/dist/service/sqs/command/message/sim-sqs-message-handles.js.map +1 -0
  696. package/dist/service/sqs/command/message/sim-sqs-receive-limits.d.ts +27 -0
  697. package/dist/service/sqs/command/message/sim-sqs-receive-limits.d.ts.map +1 -0
  698. package/dist/service/sqs/command/message/sim-sqs-receive-limits.js +70 -0
  699. package/dist/service/sqs/command/message/sim-sqs-receive-limits.js.map +1 -0
  700. package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts +32 -0
  701. package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts.map +1 -0
  702. package/dist/service/sqs/command/message/sim-sqs-receive-message.js +33 -0
  703. package/dist/service/sqs/command/message/sim-sqs-receive-message.js.map +1 -0
  704. package/dist/service/sqs/command/message/sim-sqs-receive-request.d.ts +33 -0
  705. package/dist/service/sqs/command/message/sim-sqs-receive-request.d.ts.map +1 -0
  706. package/dist/service/sqs/command/message/sim-sqs-receive-request.js +55 -0
  707. package/dist/service/sqs/command/message/sim-sqs-receive-request.js.map +1 -0
  708. package/dist/service/sqs/command/message/sim-sqs-received-message-view.d.ts +25 -0
  709. package/dist/service/sqs/command/message/sim-sqs-received-message-view.d.ts.map +1 -0
  710. package/dist/service/sqs/command/message/sim-sqs-received-message-view.js +38 -0
  711. package/dist/service/sqs/command/message/sim-sqs-received-message-view.js.map +1 -0
  712. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts +32 -0
  713. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts.map +1 -0
  714. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js +56 -0
  715. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js.map +1 -0
  716. package/dist/service/sqs/command/message/sim-sqs-sent-message.d.ts +18 -0
  717. package/dist/service/sqs/command/message/sim-sqs-sent-message.d.ts.map +1 -0
  718. package/dist/service/sqs/command/message/sim-sqs-sent-message.js +37 -0
  719. package/dist/service/sqs/command/message/sim-sqs-sent-message.js.map +1 -0
  720. package/dist/service/sqs/command/queue/queue.command.d.ts +114 -0
  721. package/dist/service/sqs/command/queue/queue.command.d.ts.map +1 -0
  722. package/dist/service/sqs/command/queue/queue.command.js +2 -0
  723. package/dist/service/sqs/command/queue/queue.command.js.map +1 -0
  724. package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts +51 -0
  725. package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts.map +1 -0
  726. package/dist/service/sqs/command/queue/sim-sqs-create-queue.js +70 -0
  727. package/dist/service/sqs/command/queue/sim-sqs-create-queue.js.map +1 -0
  728. package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts +63 -0
  729. package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts.map +1 -0
  730. package/dist/service/sqs/command/queue/sim-sqs-queue-access.js +98 -0
  731. package/dist/service/sqs/command/queue/sim-sqs-queue-access.js.map +1 -0
  732. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts +45 -0
  733. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts.map +1 -0
  734. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js +74 -0
  735. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js.map +1 -0
  736. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts +47 -0
  737. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts.map +1 -0
  738. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js +55 -0
  739. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js.map +1 -0
  740. package/dist/service/sqs/command/queue/sim-sqs-queue-page.d.ts +27 -0
  741. package/dist/service/sqs/command/queue/sim-sqs-queue-page.d.ts.map +1 -0
  742. package/dist/service/sqs/command/queue/sim-sqs-queue-page.js +54 -0
  743. package/dist/service/sqs/command/queue/sim-sqs-queue-page.js.map +1 -0
  744. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts +18 -0
  745. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts.map +1 -0
  746. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js +27 -0
  747. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js.map +1 -0
  748. package/dist/service/sqs/command/sim-sqs-command.types.d.ts +8 -0
  749. package/dist/service/sqs/command/sim-sqs-command.types.d.ts.map +1 -0
  750. package/dist/service/sqs/command/sim-sqs-command.types.js +2 -0
  751. package/dist/service/sqs/command/sim-sqs-command.types.js.map +1 -0
  752. package/dist/service/sqs/error/sim-sqs.error.d.ts +162 -0
  753. package/dist/service/sqs/error/sim-sqs.error.d.ts.map +1 -0
  754. package/dist/service/sqs/error/sim-sqs.error.js +191 -0
  755. package/dist/service/sqs/error/sim-sqs.error.js.map +1 -0
  756. package/dist/service/sqs/index.d.ts +14 -0
  757. package/dist/service/sqs/index.d.ts.map +1 -0
  758. package/dist/service/sqs/index.js +13 -0
  759. package/dist/service/sqs/index.js.map +1 -0
  760. package/dist/service/sqs/message/sim-sqs-message-attribute-payload.d.ts +56 -0
  761. package/dist/service/sqs/message/sim-sqs-message-attribute-payload.d.ts.map +1 -0
  762. package/dist/service/sqs/message/sim-sqs-message-attribute-payload.js +42 -0
  763. package/dist/service/sqs/message/sim-sqs-message-attribute-payload.js.map +1 -0
  764. package/dist/service/sqs/message/sim-sqs-message-attribute-rules.d.ts +23 -0
  765. package/dist/service/sqs/message/sim-sqs-message-attribute-rules.d.ts.map +1 -0
  766. package/dist/service/sqs/message/sim-sqs-message-attribute-rules.js +68 -0
  767. package/dist/service/sqs/message/sim-sqs-message-attribute-rules.js.map +1 -0
  768. package/dist/service/sqs/message/sim-sqs-message-attribute-value.d.ts +17 -0
  769. package/dist/service/sqs/message/sim-sqs-message-attribute-value.d.ts.map +1 -0
  770. package/dist/service/sqs/message/sim-sqs-message-attribute-value.js +2 -0
  771. package/dist/service/sqs/message/sim-sqs-message-attribute-value.js.map +1 -0
  772. package/dist/service/sqs/message/sim-sqs-message-attribute.d.ts +29 -0
  773. package/dist/service/sqs/message/sim-sqs-message-attribute.d.ts.map +1 -0
  774. package/dist/service/sqs/message/sim-sqs-message-attribute.js +56 -0
  775. package/dist/service/sqs/message/sim-sqs-message-attribute.js.map +1 -0
  776. package/dist/service/sqs/message/sim-sqs-message-attributes.d.ts +44 -0
  777. package/dist/service/sqs/message/sim-sqs-message-attributes.d.ts.map +1 -0
  778. package/dist/service/sqs/message/sim-sqs-message-attributes.js +93 -0
  779. package/dist/service/sqs/message/sim-sqs-message-attributes.js.map +1 -0
  780. package/dist/service/sqs/message/sim-sqs-message-body.d.ts +18 -0
  781. package/dist/service/sqs/message/sim-sqs-message-body.d.ts.map +1 -0
  782. package/dist/service/sqs/message/sim-sqs-message-body.js +66 -0
  783. package/dist/service/sqs/message/sim-sqs-message-body.js.map +1 -0
  784. package/dist/service/sqs/message/sim-sqs-message-store.d.ts +74 -0
  785. package/dist/service/sqs/message/sim-sqs-message-store.d.ts.map +1 -0
  786. package/dist/service/sqs/message/sim-sqs-message-store.js +99 -0
  787. package/dist/service/sqs/message/sim-sqs-message-store.js.map +1 -0
  788. package/dist/service/sqs/message/sim-sqs-message-system-attributes.d.ts +28 -0
  789. package/dist/service/sqs/message/sim-sqs-message-system-attributes.d.ts.map +1 -0
  790. package/dist/service/sqs/message/sim-sqs-message-system-attributes.js +75 -0
  791. package/dist/service/sqs/message/sim-sqs-message-system-attributes.js.map +1 -0
  792. package/dist/service/sqs/message/sim-sqs-message-visibility.d.ts +56 -0
  793. package/dist/service/sqs/message/sim-sqs-message-visibility.d.ts.map +1 -0
  794. package/dist/service/sqs/message/sim-sqs-message-visibility.js +79 -0
  795. package/dist/service/sqs/message/sim-sqs-message-visibility.js.map +1 -0
  796. package/dist/service/sqs/message/sim-sqs-message-writer.d.ts +41 -0
  797. package/dist/service/sqs/message/sim-sqs-message-writer.d.ts.map +1 -0
  798. package/dist/service/sqs/message/sim-sqs-message-writer.js +56 -0
  799. package/dist/service/sqs/message/sim-sqs-message-writer.js.map +1 -0
  800. package/dist/service/sqs/message/sim-sqs-message.d.ts +96 -0
  801. package/dist/service/sqs/message/sim-sqs-message.d.ts.map +1 -0
  802. package/dist/service/sqs/message/sim-sqs-message.js +136 -0
  803. package/dist/service/sqs/message/sim-sqs-message.js.map +1 -0
  804. package/dist/service/sqs/message/sim-sqs-receipt-handle.d.ts +10 -0
  805. package/dist/service/sqs/message/sim-sqs-receipt-handle.d.ts.map +1 -0
  806. package/dist/service/sqs/message/sim-sqs-receipt-handle.js +14 -0
  807. package/dist/service/sqs/message/sim-sqs-receipt-handle.js.map +1 -0
  808. package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.d.ts +51 -0
  809. package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.d.ts.map +1 -0
  810. package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.js +62 -0
  811. package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.js.map +1 -0
  812. package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.d.ts +20 -0
  813. package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.d.ts.map +1 -0
  814. package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.js +42 -0
  815. package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.js.map +1 -0
  816. package/dist/service/sqs/queue/sim-sqs-queue-activity.d.ts +65 -0
  817. package/dist/service/sqs/queue/sim-sqs-queue-activity.d.ts.map +1 -0
  818. package/dist/service/sqs/queue/sim-sqs-queue-activity.js +57 -0
  819. package/dist/service/sqs/queue/sim-sqs-queue-activity.js.map +1 -0
  820. package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts +41 -0
  821. package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts.map +1 -0
  822. package/dist/service/sqs/queue/sim-sqs-queue-arn.js +47 -0
  823. package/dist/service/sqs/queue/sim-sqs-queue-arn.js.map +1 -0
  824. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.d.ts +27 -0
  825. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.d.ts.map +1 -0
  826. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js +83 -0
  827. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js.map +1 -0
  828. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts +34 -0
  829. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts.map +1 -0
  830. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js +93 -0
  831. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js.map +1 -0
  832. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts +20 -0
  833. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts.map +1 -0
  834. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js +37 -0
  835. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js.map +1 -0
  836. package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts +60 -0
  837. package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts.map +1 -0
  838. package/dist/service/sqs/queue/sim-sqs-queue-attributes.js +96 -0
  839. package/dist/service/sqs/queue/sim-sqs-queue-attributes.js.map +1 -0
  840. package/dist/service/sqs/queue/sim-sqs-queue-name.d.ts +21 -0
  841. package/dist/service/sqs/queue/sim-sqs-queue-name.d.ts.map +1 -0
  842. package/dist/service/sqs/queue/sim-sqs-queue-name.js +47 -0
  843. package/dist/service/sqs/queue/sim-sqs-queue-name.js.map +1 -0
  844. package/dist/service/sqs/queue/sim-sqs-queue-report.d.ts +22 -0
  845. package/dist/service/sqs/queue/sim-sqs-queue-report.d.ts.map +1 -0
  846. package/dist/service/sqs/queue/sim-sqs-queue-report.js +29 -0
  847. package/dist/service/sqs/queue/sim-sqs-queue-report.js.map +1 -0
  848. package/dist/service/sqs/queue/sim-sqs-queue-store.d.ts +60 -0
  849. package/dist/service/sqs/queue/sim-sqs-queue-store.d.ts.map +1 -0
  850. package/dist/service/sqs/queue/sim-sqs-queue-store.js +87 -0
  851. package/dist/service/sqs/queue/sim-sqs-queue-store.js.map +1 -0
  852. package/dist/service/sqs/queue/sim-sqs-queue-url.d.ts +24 -0
  853. package/dist/service/sqs/queue/sim-sqs-queue-url.d.ts.map +1 -0
  854. package/dist/service/sqs/queue/sim-sqs-queue-url.js +36 -0
  855. package/dist/service/sqs/queue/sim-sqs-queue-url.js.map +1 -0
  856. package/dist/service/sqs/queue/sim-sqs-queue.d.ts +130 -0
  857. package/dist/service/sqs/queue/sim-sqs-queue.d.ts.map +1 -0
  858. package/dist/service/sqs/queue/sim-sqs-queue.js +188 -0
  859. package/dist/service/sqs/queue/sim-sqs-queue.js.map +1 -0
  860. package/dist/service/sqs/queue/sim-sqs-redrive-policy.d.ts +30 -0
  861. package/dist/service/sqs/queue/sim-sqs-redrive-policy.d.ts.map +1 -0
  862. package/dist/service/sqs/queue/sim-sqs-redrive-policy.js +118 -0
  863. package/dist/service/sqs/queue/sim-sqs-redrive-policy.js.map +1 -0
  864. package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.d.ts +18 -0
  865. package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.d.ts.map +1 -0
  866. package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.js +76 -0
  867. package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.js.map +1 -0
  868. package/dist/service/sqs/sim-sqs.d.ts +119 -0
  869. package/dist/service/sqs/sim-sqs.d.ts.map +1 -0
  870. package/dist/service/sqs/sim-sqs.js +213 -0
  871. package/dist/service/sqs/sim-sqs.js.map +1 -0
  872. package/package.json +8 -2
@@ -0,0 +1,32 @@
1
+ /**
2
+ * The `SignInPolicy` fields, which reach CreateUserPool to be refused there.
3
+ */
4
+ const modelledFields = ["AllowedFirstAuthFactors"];
5
+ /**
6
+ * Reads the `Policies SignInPolicy` of an AWS::Cognito::UserPool Resource.
7
+ *
8
+ * Nothing here chooses a first authentication factor, so this is read only so
9
+ * that CreateUserPool receives it and refuses it in the words that say why.
10
+ */
11
+ export class SimCfnCognitoSignInPolicy {
12
+ resource;
13
+ propertyParser;
14
+ constructor(properties) {
15
+ this.resource = properties.resource;
16
+ this.propertyParser = properties.propertyParser;
17
+ }
18
+ /**
19
+ * The sign-in policy, or undefined when the template names none.
20
+ */
21
+ parse(value) {
22
+ const policy = this.propertyParser.optionalRecord(this.resource, value, "Policies SignInPolicy");
23
+ if (policy === undefined) {
24
+ return undefined;
25
+ }
26
+ this.propertyParser.requireOnlyKeys(this.resource, policy, modelledFields, "Policies SignInPolicy ");
27
+ return {
28
+ AllowedFirstAuthFactors: this.propertyParser.optionalStringArray(this.resource, policy["AllowedFirstAuthFactors"], "Policies SignInPolicy AllowedFirstAuthFactors"),
29
+ };
30
+ }
31
+ }
32
+ //# sourceMappingURL=sim-cfn-cognito-sign-in-policy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cognito-sign-in-policy.js","sourceRoot":"","sources":["../../../../../src/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,cAAc,GAAG,CAAC,yBAAyB,CAAC,CAAC;AAOnD;;;;;GAKG;AACH,MAAM,OAAO,yBAAyB;IACnB,QAAQ,CAAiB;IACzB,cAAc,CAA8B;IAE7D,YAAY,UAA+C;QACzD,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;IAClD,CAAC;IAED;;OAEG;IACH,KAAK,CACH,KAAsC;QAEtC,MAAM,MAAM,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAC/C,IAAI,CAAC,QAAQ,EACb,KAAK,EACL,uBAAuB,CACxB,CAAC;QAEF,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,CAAC,cAAc,CAAC,eAAe,CACjC,IAAI,CAAC,QAAQ,EACb,MAAM,EACN,cAAc,EACd,wBAAwB,CACzB,CAAC;QAEF,OAAO;YACL,uBAAuB,EAAE,IAAI,CAAC,cAAc,CAAC,mBAAmB,CAC9D,IAAI,CAAC,QAAQ,EACb,MAAM,CAAC,yBAAyB,CAAC,EACjC,+CAA+C,CAChD;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,26 @@
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 { SimCognitoIdentityProvider } from "../../sim-cognito-identity-provider.js";
4
+ import type { SimCognitoUserPool } from "../../user-pool/sim-cognito-user-pool.js";
5
+ interface SimCfnCognitoUserPoolCreatorProperties {
6
+ readonly cognito: SimCognitoIdentityProvider;
7
+ }
8
+ /**
9
+ * Creates simulated user pools from AWS::Cognito::UserPool Resources.
10
+ *
11
+ * The pool is created through the ordinary CreateUserPool command rather than
12
+ * constructed directly, so a pool a template deployed is the same thing an SDK
13
+ * caller would have got: an id in the real form, the real password policy
14
+ * defaults, and the same refusal of the pool features this simulation does not
15
+ * model.
16
+ */
17
+ export declare class SimCfnCognitoUserPoolCreator {
18
+ private readonly cognito;
19
+ constructor(properties: SimCfnCognitoUserPoolCreatorProperties);
20
+ /**
21
+ * Create a user pool from an AWS::Cognito::UserPool Resource.
22
+ */
23
+ create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimCognitoUserPool>;
24
+ }
25
+ export {};
26
+ //# sourceMappingURL=sim-cfn-cognito-user-pool-creator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cognito-user-pool-creator.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-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,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACzF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,UAAU,sCAAsC;IAC9C,QAAQ,CAAC,OAAO,EAAE,0BAA0B,CAAC;CAC9C;AAED;;;;;;;;GAQG;AACH,qBAAa,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA6B;IAErD,YAAY,UAAU,EAAE,sCAAsC,EAE7D;IAED;;OAEG;IACG,MAAM,CACV,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,yBAAyB,GACpC,OAAO,CAAC,kBAAkB,CAAC,CAiB7B;CACF"}
@@ -0,0 +1,33 @@
1
+ import { assertDefined } from "../../../../util/type-guard/defined.js";
2
+ import { SimCfnCognitoUserPoolProperties } from "./sim-cfn-cognito-user-pool-properties.js";
3
+ /**
4
+ * Creates simulated user pools from AWS::Cognito::UserPool Resources.
5
+ *
6
+ * The pool is created through the ordinary CreateUserPool command rather than
7
+ * constructed directly, so a pool a template deployed is the same thing an SDK
8
+ * caller would have got: an id in the real form, the real password policy
9
+ * defaults, and the same refusal of the pool features this simulation does not
10
+ * model.
11
+ */
12
+ export class SimCfnCognitoUserPoolCreator {
13
+ cognito;
14
+ constructor(properties) {
15
+ this.cognito = properties.cognito;
16
+ }
17
+ /**
18
+ * Create a user pool from an AWS::Cognito::UserPool Resource.
19
+ */
20
+ async create(resource, properties) {
21
+ const poolProperties = new SimCfnCognitoUserPoolProperties({
22
+ resource,
23
+ properties,
24
+ });
25
+ const created = await this.cognito.createUserPool({
26
+ input: poolProperties.createUserPoolInput(),
27
+ });
28
+ const userPoolId = created.UserPool?.Id;
29
+ assertDefined(userPoolId, `sim Cognito user pool id after CloudFormation creation for ${resource.logicalId}`);
30
+ return this.cognito.userPool(userPoolId);
31
+ }
32
+ }
33
+ //# sourceMappingURL=sim-cfn-cognito-user-pool-creator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cognito-user-pool-creator.js","sourceRoot":"","sources":["../../../../../src/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAKvE,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAM5F;;;;;;;;GAQG;AACH,MAAM,OAAO,4BAA4B;IACtB,OAAO,CAA6B;IAErD,YAAY,UAAkD;QAC5D,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,QAAwB,EACxB,UAAqC;QAErC,MAAM,cAAc,GAAG,IAAI,+BAA+B,CAAC;YACzD,QAAQ;YACR,UAAU;SACX,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC;YAChD,KAAK,EAAE,cAAc,CAAC,mBAAmB,EAAE;SAC5C,CAAC,CAAC;QAEH,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC;QACxC,aAAa,CACX,UAAU,EACV,8DAA8D,QAAQ,CAAC,SAAS,EAAE,CACnF,CAAC;QAEF,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC3C,CAAC;CACF"}
@@ -0,0 +1,31 @@
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 { SimCreateUserPoolCommandInput } from "../../command/user-pool/user-pool.command.js";
4
+ interface SimCfnCognitoUserPoolPropertiesProperties {
5
+ readonly resource: SimCfnResource;
6
+ readonly properties: SimCfnTemplateValueRecord;
7
+ }
8
+ /**
9
+ * Reads AWS::Cognito::UserPool CloudFormation properties into the CreateUserPool
10
+ * input the pool creator needs.
11
+ *
12
+ * The refusal of unsimulated properties runs on construction rather than when
13
+ * a property is read, so a Resource asking for something unmodelled cannot get
14
+ * as far as creating a pool that would then be wrong.
15
+ */
16
+ export declare class SimCfnCognitoUserPoolProperties {
17
+ private readonly resource;
18
+ private readonly properties;
19
+ private readonly propertyParser;
20
+ constructor(properties: SimCfnCognitoUserPoolPropertiesProperties);
21
+ /**
22
+ * The CreateUserPool input this Resource asks for.
23
+ *
24
+ * `UserPoolName` is CloudFormation's name for what the API calls `PoolName`,
25
+ * and it is the one property whose name differs between them.
26
+ */
27
+ createUserPoolInput(): SimCreateUserPoolCommandInput;
28
+ private string;
29
+ }
30
+ export {};
31
+ //# sourceMappingURL=sim-cfn-cognito-user-pool-properties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cognito-user-pool-properties.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,KAAK,EAEV,yBAAyB,EAC1B,MAAM,kEAAkE,CAAC;AAC1E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAoBlG,UAAU,yCAAyC;IACjD,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,QAAQ,CAAC,UAAU,EAAE,yBAAyB,CAAC;CAChD;AAED;;;;;;;GAOG;AACH,qBAAa,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAiB;IAC1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4B;IACvD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAG5B;IAEH,YAAY,UAAU,EAAE,yCAAyC,EAKhE;IAED;;;;;OAKG;IACH,mBAAmB,IAAI,6BAA6B,CAoBnD;IAED,OAAO,CAAC,MAAM;CAMf"}
@@ -0,0 +1,60 @@
1
+ import { SimCfnCognitoPropertyParser } from "../sim-cfn-cognito-property-parser.js";
2
+ import { SimCfnCognitoPolicies } from "./sim-cfn-cognito-policies.js";
3
+ /**
4
+ * The AWS::Cognito::UserPool properties this simulation deploys.
5
+ *
6
+ * `MfaConfiguration` and `UserPoolTier` are here because CreateUserPool
7
+ * accepts each at its AWS default and refuses it otherwise, in words that say
8
+ * why. A CDK stack states both routinely, so refusing them outright would
9
+ * refuse templates that ask for nothing unsimulated.
10
+ */
11
+ const simulatedProperties = [
12
+ "UserPoolName",
13
+ "Policies",
14
+ "DeletionProtection",
15
+ "MfaConfiguration",
16
+ "UserPoolTier",
17
+ ];
18
+ /**
19
+ * Reads AWS::Cognito::UserPool CloudFormation properties into the CreateUserPool
20
+ * input the pool creator needs.
21
+ *
22
+ * The refusal of unsimulated properties runs on construction rather than when
23
+ * a property is read, so a Resource asking for something unmodelled cannot get
24
+ * as far as creating a pool that would then be wrong.
25
+ */
26
+ export class SimCfnCognitoUserPoolProperties {
27
+ resource;
28
+ properties;
29
+ propertyParser = new SimCfnCognitoPropertyParser({
30
+ resourceType: "AWS::Cognito::UserPool",
31
+ simulated: simulatedProperties,
32
+ });
33
+ constructor(properties) {
34
+ this.resource = properties.resource;
35
+ this.properties = properties.properties;
36
+ this.propertyParser.requireOnlySimulated(this.resource, this.properties);
37
+ }
38
+ /**
39
+ * The CreateUserPool input this Resource asks for.
40
+ *
41
+ * `UserPoolName` is CloudFormation's name for what the API calls `PoolName`,
42
+ * and it is the one property whose name differs between them.
43
+ */
44
+ createUserPoolInput() {
45
+ return {
46
+ PoolName: this.string(this.properties["UserPoolName"], "UserPoolName"),
47
+ Policies: new SimCfnCognitoPolicies({
48
+ resource: this.resource,
49
+ propertyParser: this.propertyParser,
50
+ }).parse(this.properties["Policies"]),
51
+ DeletionProtection: this.string(this.properties["DeletionProtection"], "DeletionProtection"),
52
+ MfaConfiguration: this.string(this.properties["MfaConfiguration"], "MfaConfiguration"),
53
+ UserPoolTier: this.string(this.properties["UserPoolTier"], "UserPoolTier"),
54
+ };
55
+ }
56
+ string(value, label) {
57
+ return this.propertyParser.optionalString(this.resource, value, label);
58
+ }
59
+ }
60
+ //# sourceMappingURL=sim-cfn-cognito-user-pool-properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-cognito-user-pool-properties.js","sourceRoot":"","sources":["../../../../../src/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE;;;;;;;GAOG;AACH,MAAM,mBAAmB,GAAG;IAC1B,cAAc;IACd,UAAU;IACV,oBAAoB;IACpB,kBAAkB;IAClB,cAAc;CACf,CAAC;AAOF;;;;;;;GAOG;AACH,MAAM,OAAO,+BAA+B;IACzB,QAAQ,CAAiB;IACzB,UAAU,CAA4B;IACtC,cAAc,GAAG,IAAI,2BAA2B,CAAC;QAChE,YAAY,EAAE,wBAAwB;QACtC,SAAS,EAAE,mBAAmB;KAC/B,CAAC,CAAC;IAEH,YAAY,UAAqD;QAC/D,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QAExC,IAAI,CAAC,cAAc,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;OAKG;IACH,mBAAmB;QACjB,OAAO;YACL,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC;YACtE,QAAQ,EAAE,IAAI,qBAAqB,CAAC;gBAClC,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,cAAc,EAAE,IAAI,CAAC,cAAc;aACpC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;YACrC,kBAAkB,EAAE,IAAI,CAAC,MAAM,CAC7B,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC,EACrC,oBAAoB,CACrB;YACD,gBAAgB,EAAE,IAAI,CAAC,MAAM,CAC3B,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC,EACnC,kBAAkB,CACnB;YACD,YAAY,EAAE,IAAI,CAAC,MAAM,CACvB,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,EAC/B,cAAc,CACf;SACF,CAAC;IACJ,CAAC;IAEO,MAAM,CACZ,KAAsC,EACtC,KAAa;QAEb,OAAO,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACzE,CAAC;CACF"}
@@ -0,0 +1,162 @@
1
+ import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
2
+ /**
3
+ * The tokens a successful authentication answers with.
4
+ *
5
+ * `AccessToken` and `IdToken` are real RS256 JWTs, signed by the key the pool
6
+ * publishes in its JWKS. `RefreshToken` is an opaque string, as it is on real
7
+ * Cognito, and a token refresh answers without one.
8
+ *
9
+ * https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AuthenticationResultType.html
10
+ */
11
+ export interface SimCognitoAuthenticationResultType {
12
+ readonly AccessToken?: string | undefined;
13
+ readonly IdToken?: string | undefined;
14
+ readonly RefreshToken?: string | undefined;
15
+ readonly ExpiresIn?: number | undefined;
16
+ readonly TokenType?: string | undefined;
17
+ }
18
+ /**
19
+ * The AdminInitiateAuth inputs this simulation reads, and the ones it refuses.
20
+ *
21
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/AdminInitiateAuthCommand/
22
+ */
23
+ export interface SimAdminInitiateAuthCommandInput {
24
+ readonly UserPoolId?: string | undefined;
25
+ readonly ClientId?: string | undefined;
26
+ readonly AuthFlow?: string | undefined;
27
+ readonly AuthParameters?: Readonly<Record<string, string>> | undefined;
28
+ readonly ClientMetadata?: Readonly<Record<string, string>> | undefined;
29
+ readonly AnalyticsMetadata?: object | undefined;
30
+ readonly ContextData?: object | undefined;
31
+ readonly Session?: string | undefined;
32
+ }
33
+ /**
34
+ * Minimal structural sim Cognito AdminInitiateAuth command.
35
+ */
36
+ export interface SimAdminInitiateAuthCommand {
37
+ readonly input: SimAdminInitiateAuthCommandInput;
38
+ }
39
+ /**
40
+ * What starting an authentication answers with: either the tokens, or the
41
+ * challenge and session that stand between the user and them.
42
+ *
43
+ * `AdminInitiateAuth` and `InitiateAuth` answer the same way, as do the two
44
+ * challenge responses, so they share this shape.
45
+ */
46
+ export interface SimCognitoAuthenticationOutput {
47
+ readonly ChallengeName?: string | undefined;
48
+ readonly Session?: string | undefined;
49
+ readonly ChallengeParameters?: Readonly<Record<string, string>> | undefined;
50
+ readonly AuthenticationResult?: SimCognitoAuthenticationResultType | undefined;
51
+ readonly $metadata: SimResponseMetadata;
52
+ }
53
+ export type SimAdminInitiateAuthCommandOutput = SimCognitoAuthenticationOutput;
54
+ /**
55
+ * The AdminRespondToAuthChallenge inputs this simulation reads, and the ones
56
+ * it refuses.
57
+ *
58
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/AdminRespondToAuthChallengeCommand/
59
+ */
60
+ export interface SimAdminRespondToAuthChallengeCommandInput {
61
+ readonly UserPoolId?: string | undefined;
62
+ readonly ClientId?: string | undefined;
63
+ readonly ChallengeName?: string | undefined;
64
+ readonly ChallengeResponses?: Readonly<Record<string, string>> | undefined;
65
+ readonly Session?: string | undefined;
66
+ readonly ClientMetadata?: Readonly<Record<string, string>> | undefined;
67
+ readonly AnalyticsMetadata?: object | undefined;
68
+ readonly ContextData?: object | undefined;
69
+ }
70
+ /**
71
+ * Minimal structural sim Cognito AdminRespondToAuthChallenge command.
72
+ */
73
+ export interface SimAdminRespondToAuthChallengeCommand {
74
+ readonly input: SimAdminRespondToAuthChallengeCommandInput;
75
+ }
76
+ export type SimAdminRespondToAuthChallengeCommandOutput = SimCognitoAuthenticationOutput;
77
+ /**
78
+ * The InitiateAuth inputs this simulation reads, and the ones it refuses.
79
+ *
80
+ * There is no `UserPoolId`: an app client id is enough to find the pool, as it
81
+ * is on real Cognito. `UserContextData` is the client-side counterpart of the
82
+ * admin operations' `ContextData`.
83
+ *
84
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/InitiateAuthCommand/
85
+ */
86
+ export interface SimInitiateAuthCommandInput {
87
+ readonly ClientId?: string | undefined;
88
+ readonly AuthFlow?: string | undefined;
89
+ readonly AuthParameters?: Readonly<Record<string, string>> | undefined;
90
+ readonly ClientMetadata?: Readonly<Record<string, string>> | undefined;
91
+ readonly AnalyticsMetadata?: object | undefined;
92
+ readonly UserContextData?: object | undefined;
93
+ readonly Session?: string | undefined;
94
+ }
95
+ /**
96
+ * Minimal structural sim Cognito InitiateAuth command.
97
+ */
98
+ export interface SimInitiateAuthCommand {
99
+ readonly input: SimInitiateAuthCommandInput;
100
+ }
101
+ export type SimInitiateAuthCommandOutput = SimCognitoAuthenticationOutput;
102
+ /**
103
+ * The RespondToAuthChallenge inputs this simulation reads, and the ones it
104
+ * refuses.
105
+ *
106
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/RespondToAuthChallengeCommand/
107
+ */
108
+ export interface SimRespondToAuthChallengeCommandInput {
109
+ readonly ClientId?: string | undefined;
110
+ readonly ChallengeName?: string | undefined;
111
+ readonly ChallengeResponses?: Readonly<Record<string, string>> | undefined;
112
+ readonly Session?: string | undefined;
113
+ readonly ClientMetadata?: Readonly<Record<string, string>> | undefined;
114
+ readonly AnalyticsMetadata?: object | undefined;
115
+ readonly UserContextData?: object | undefined;
116
+ }
117
+ /**
118
+ * Minimal structural sim Cognito RespondToAuthChallenge command.
119
+ */
120
+ export interface SimRespondToAuthChallengeCommand {
121
+ readonly input: SimRespondToAuthChallengeCommandInput;
122
+ }
123
+ export type SimRespondToAuthChallengeCommandOutput = SimCognitoAuthenticationOutput;
124
+ /**
125
+ * The GlobalSignOut inputs this simulation reads.
126
+ *
127
+ * The access token is what says which user and which pool the request is for,
128
+ * so it is the only input there is.
129
+ *
130
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/GlobalSignOutCommand/
131
+ */
132
+ export interface SimGlobalSignOutCommandInput {
133
+ readonly AccessToken?: string | undefined;
134
+ }
135
+ /**
136
+ * Minimal structural sim Cognito GlobalSignOut command.
137
+ */
138
+ export interface SimGlobalSignOutCommand {
139
+ readonly input: SimGlobalSignOutCommandInput;
140
+ }
141
+ export interface SimGlobalSignOutCommandOutput {
142
+ readonly $metadata: SimResponseMetadata;
143
+ }
144
+ /**
145
+ * The AdminUserGlobalSignOut inputs this simulation reads.
146
+ *
147
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/AdminUserGlobalSignOutCommand/
148
+ */
149
+ export interface SimAdminUserGlobalSignOutCommandInput {
150
+ readonly UserPoolId?: string | undefined;
151
+ readonly Username?: string | undefined;
152
+ }
153
+ /**
154
+ * Minimal structural sim Cognito AdminUserGlobalSignOut command.
155
+ */
156
+ export interface SimAdminUserGlobalSignOutCommand {
157
+ readonly input: SimAdminUserGlobalSignOutCommandInput;
158
+ }
159
+ export interface SimAdminUserGlobalSignOutCommandOutput {
160
+ readonly $metadata: SimResponseMetadata;
161
+ }
162
+ //# sourceMappingURL=auth.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/auth.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F;;;;;;;;GAQG;AACH,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IACvE,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IACvE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,KAAK,EAAE,gCAAgC,CAAC;CAClD;AAED;;;;;;GAMG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IAC5E,QAAQ,CAAC,oBAAoB,CAAC,EAC5B,kCAAkC,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED,MAAM,MAAM,iCAAiC,GAAG,8BAA8B,CAAC;AAE/E;;;;;GAKG;AACH,MAAM,WAAW,0CAA0C;IACzD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IAC3E,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IACvE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,KAAK,EAAE,0CAA0C,CAAC;CAC5D;AAED,MAAM,MAAM,2CAA2C,GACrD,8BAA8B,CAAC;AAEjC;;;;;;;;GAQG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IACvE,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IACvE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,KAAK,EAAE,2BAA2B,CAAC;CAC7C;AAED,MAAM,MAAM,4BAA4B,GAAG,8BAA8B,CAAC;AAE1E;;;;;GAKG;AACH,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IAC3E,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IACvE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,KAAK,EAAE,qCAAqC,CAAC;CACvD;AAED,MAAM,MAAM,sCAAsC,GAChD,8BAA8B,CAAC;AAEjC;;;;;;;GAOG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,KAAK,EAAE,4BAA4B,CAAC;CAC9C;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,KAAK,EAAE,qCAAqC,CAAC;CACvD;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=auth.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.command.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/auth.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
2
+ import type { SimCognitoAuthResolver } from "./sim-cognito-auth-resolver.js";
3
+ import type { SimCognitoAuthFlowRunner } from "./sim-cognito-auth-flow-runner.js";
4
+ import type { SimAdminInitiateAuthCommand, SimAdminInitiateAuthCommandOutput } from "./auth.command.js";
5
+ interface SimCognitoAdminInitiateAuthProperties {
6
+ readonly authResolver: SimCognitoAuthResolver;
7
+ readonly flowRunner: SimCognitoAuthFlowRunner;
8
+ }
9
+ interface SimCognitoCommandOptions {
10
+ readonly caller?: SimAwsCaller;
11
+ }
12
+ /**
13
+ * The AdminInitiateAuth command.
14
+ *
15
+ * This is the server-side entry point, so the caller needs the
16
+ * `cognito-idp:AdminInitiateAuth` permission on the pool. It runs
17
+ * `ADMIN_USER_PASSWORD_AUTH` and `REFRESH_TOKEN_AUTH`. A user that gets past
18
+ * its password either receives tokens or, if it still has to replace that
19
+ * password, the `NEW_PASSWORD_REQUIRED` challenge and a session.
20
+ */
21
+ export declare class SimCognitoAdminInitiateAuth {
22
+ private readonly authResolver;
23
+ private readonly flowRunner;
24
+ private readonly unsimulatedOptions;
25
+ constructor(properties: SimCognitoAdminInitiateAuthProperties);
26
+ /**
27
+ * Start an authentication.
28
+ */
29
+ handle(command: SimAdminInitiateAuthCommand, options?: SimCognitoCommandOptions): SimAdminInitiateAuthCommandOutput;
30
+ }
31
+ export {};
32
+ //# sourceMappingURL=sim-cognito-admin-initiate-auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-admin-initiate-auth.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-admin-initiate-auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAE1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAElF,OAAO,KAAK,EACV,2BAA2B,EAC3B,iCAAiC,EAClC,MAAM,mBAAmB,CAAC;AAE3B,UAAU,qCAAqC;IAC7C,QAAQ,CAAC,YAAY,EAAE,sBAAsB,CAAC;IAC9C,QAAQ,CAAC,UAAU,EAAE,wBAAwB,CAAC;CAC/C;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;;;;;GAQG;AACH,qBAAa,2BAA2B;IACtC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAyB;IACtD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA2B;IACtD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA0C;IAE7E,YAAY,UAAU,EAAE,qCAAqC,EAG5D;IAED;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,2BAA2B,EACpC,OAAO,CAAC,EAAE,wBAAwB,GACjC,iCAAiC,CAsBnC;CACF"}
@@ -0,0 +1,37 @@
1
+ import { SimCognitoAuthParameters } from "./sim-cognito-auth-parameters.js";
2
+ import { adminAuthFlows } from "./sim-cognito-auth-flows.js";
3
+ import { SimCognitoUnsimulatedAuthOptions } from "./sim-cognito-unsimulated-auth-options.js";
4
+ /**
5
+ * The AdminInitiateAuth command.
6
+ *
7
+ * This is the server-side entry point, so the caller needs the
8
+ * `cognito-idp:AdminInitiateAuth` permission on the pool. It runs
9
+ * `ADMIN_USER_PASSWORD_AUTH` and `REFRESH_TOKEN_AUTH`. A user that gets past
10
+ * its password either receives tokens or, if it still has to replace that
11
+ * password, the `NEW_PASSWORD_REQUIRED` challenge and a session.
12
+ */
13
+ export class SimCognitoAdminInitiateAuth {
14
+ authResolver;
15
+ flowRunner;
16
+ unsimulatedOptions = new SimCognitoUnsimulatedAuthOptions();
17
+ constructor(properties) {
18
+ this.authResolver = properties.authResolver;
19
+ this.flowRunner = properties.flowRunner;
20
+ }
21
+ /**
22
+ * Start an authentication.
23
+ */
24
+ handle(command, options) {
25
+ const { input } = command;
26
+ const { pool, client } = this.authResolver.poolClient("cognito-idp:AdminInitiateAuth", input, options);
27
+ this.unsimulatedOptions.refuseInAdminInitiate(input);
28
+ const flow = adminAuthFlows.require(input.AuthFlow);
29
+ flow.requireEnabledFor(client);
30
+ return this.flowRunner.run(flow, {
31
+ pool,
32
+ client,
33
+ parameters: new SimCognitoAuthParameters("AuthParameters", input.AuthParameters),
34
+ });
35
+ }
36
+ }
37
+ //# sourceMappingURL=sim-cognito-admin-initiate-auth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-admin-initiate-auth.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-admin-initiate-auth.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAe7F;;;;;;;;GAQG;AACH,MAAM,OAAO,2BAA2B;IACrB,YAAY,CAAyB;IACrC,UAAU,CAA2B;IACrC,kBAAkB,GAAG,IAAI,gCAAgC,EAAE,CAAC;IAE7E,YAAY,UAAiD;QAC3D,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAoC,EACpC,OAAkC;QAElC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAC1B,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,YAAY,CAAC,UAAU,CACnD,+BAA+B,EAC/B,KAAK,EACL,OAAO,CACR,CAAC;QAEF,IAAI,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;QAErD,MAAM,IAAI,GAAG,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAEpD,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAE/B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,EAAE;YAC/B,IAAI;YACJ,MAAM;YACN,UAAU,EAAE,IAAI,wBAAwB,CACtC,gBAAgB,EAChB,KAAK,CAAC,cAAc,CACrB;SACF,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,29 @@
1
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
2
+ import type { SimCognitoAuthResolver } from "./sim-cognito-auth-resolver.js";
3
+ import type { SimCognitoNewPasswordResponse } from "./sim-cognito-new-password-response.js";
4
+ import type { SimAdminRespondToAuthChallengeCommand, SimAdminRespondToAuthChallengeCommandOutput } from "./auth.command.js";
5
+ interface SimCognitoAdminRespondToChallengeProperties {
6
+ readonly authResolver: SimCognitoAuthResolver;
7
+ readonly newPassword: SimCognitoNewPasswordResponse;
8
+ }
9
+ interface SimCognitoCommandOptions {
10
+ readonly caller?: SimAwsCaller;
11
+ }
12
+ /**
13
+ * The AdminRespondToAuthChallenge command.
14
+ *
15
+ * Only `NEW_PASSWORD_REQUIRED` is answered, and the caller needs the
16
+ * `cognito-idp:AdminRespondToAuthChallenge` permission on the pool.
17
+ */
18
+ export declare class SimCognitoAdminRespondToChallenge {
19
+ private readonly authResolver;
20
+ private readonly newPassword;
21
+ private readonly unsimulatedOptions;
22
+ constructor(properties: SimCognitoAdminRespondToChallengeProperties);
23
+ /**
24
+ * Answer a challenge.
25
+ */
26
+ handle(command: SimAdminRespondToAuthChallengeCommand, options?: SimCognitoCommandOptions): SimAdminRespondToAuthChallengeCommandOutput;
27
+ }
28
+ export {};
29
+ //# sourceMappingURL=sim-cognito-admin-respond-to-challenge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-admin-respond-to-challenge.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAE1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAE5F,OAAO,KAAK,EACV,qCAAqC,EACrC,2CAA2C,EAC5C,MAAM,mBAAmB,CAAC;AAE3B,UAAU,2CAA2C;IACnD,QAAQ,CAAC,YAAY,EAAE,sBAAsB,CAAC;IAC9C,QAAQ,CAAC,WAAW,EAAE,6BAA6B,CAAC;CACrD;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;;GAKG;AACH,qBAAa,iCAAiC;IAC5C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAyB;IACtD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAgC;IAC5D,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA0C;IAE7E,YAAY,UAAU,EAAE,2CAA2C,EAGlE;IAED;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,qCAAqC,EAC9C,OAAO,CAAC,EAAE,wBAAwB,GACjC,2CAA2C,CAoB7C;CACF"}
@@ -0,0 +1,34 @@
1
+ import { SimCognitoAuthParameters } from "./sim-cognito-auth-parameters.js";
2
+ import { requireSimCognitoNewPasswordChallenge } from "./sim-cognito-auth-challenge.js";
3
+ import { SimCognitoUnsimulatedAuthOptions } from "./sim-cognito-unsimulated-auth-options.js";
4
+ /**
5
+ * The AdminRespondToAuthChallenge command.
6
+ *
7
+ * Only `NEW_PASSWORD_REQUIRED` is answered, and the caller needs the
8
+ * `cognito-idp:AdminRespondToAuthChallenge` permission on the pool.
9
+ */
10
+ export class SimCognitoAdminRespondToChallenge {
11
+ authResolver;
12
+ newPassword;
13
+ unsimulatedOptions = new SimCognitoUnsimulatedAuthOptions();
14
+ constructor(properties) {
15
+ this.authResolver = properties.authResolver;
16
+ this.newPassword = properties.newPassword;
17
+ }
18
+ /**
19
+ * Answer a challenge.
20
+ */
21
+ handle(command, options) {
22
+ const { input } = command;
23
+ const { pool, client } = this.authResolver.poolClient("cognito-idp:AdminRespondToAuthChallenge", input, options);
24
+ this.unsimulatedOptions.refuseInAdminResponse(input);
25
+ requireSimCognitoNewPasswordChallenge(input.ChallengeName);
26
+ return this.newPassword.handle({
27
+ pool,
28
+ client,
29
+ parameters: new SimCognitoAuthParameters("ChallengeResponses", input.ChallengeResponses),
30
+ session: input.Session,
31
+ });
32
+ }
33
+ }
34
+ //# sourceMappingURL=sim-cognito-admin-respond-to-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-admin-respond-to-challenge.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,OAAO,EAAE,qCAAqC,EAAE,MAAM,iCAAiC,CAAC;AAExF,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAe7F;;;;;GAKG;AACH,MAAM,OAAO,iCAAiC;IAC3B,YAAY,CAAyB;IACrC,WAAW,CAAgC;IAC3C,kBAAkB,GAAG,IAAI,gCAAgC,EAAE,CAAC;IAE7E,YAAY,UAAuD;QACjE,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;IAC5C,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAA8C,EAC9C,OAAkC;QAElC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAC1B,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,YAAY,CAAC,UAAU,CACnD,yCAAyC,EACzC,KAAK,EACL,OAAO,CACR,CAAC;QAEF,IAAI,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;QACrD,qCAAqC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAE3D,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC;YAC7B,IAAI;YACJ,MAAM;YACN,UAAU,EAAE,IAAI,wBAAwB,CACtC,oBAAoB,EACpB,KAAK,CAAC,kBAAkB,CACzB;YACD,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The challenge this simulation can answer.
3
+ */
4
+ export declare const newPasswordRequiredChallenge = "NEW_PASSWORD_REQUIRED";
5
+ /**
6
+ * Refuse a challenge this simulation cannot answer.
7
+ *
8
+ * MFA and custom authentication challenges are refused rather than answered as
9
+ * this one, because what a caller has to send back is different for each.
10
+ */
11
+ export declare function requireSimCognitoNewPasswordChallenge(challengeName: string | undefined): void;
12
+ //# sourceMappingURL=sim-cognito-auth-challenge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-auth-challenge.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-auth-challenge.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,4BAA4B,0BAA0B,CAAC;AAEpE;;;;;GAKG;AACH,wBAAgB,qCAAqC,CACnD,aAAa,EAAE,MAAM,GAAG,SAAS,GAChC,IAAI,CAUN"}
@@ -0,0 +1,20 @@
1
+ import { SimCognitoInvalidParameterException } from "../../error/sim-cognito.error.js";
2
+ /**
3
+ * The challenge this simulation can answer.
4
+ */
5
+ export const newPasswordRequiredChallenge = "NEW_PASSWORD_REQUIRED";
6
+ /**
7
+ * Refuse a challenge this simulation cannot answer.
8
+ *
9
+ * MFA and custom authentication challenges are refused rather than answered as
10
+ * this one, because what a caller has to send back is different for each.
11
+ */
12
+ export function requireSimCognitoNewPasswordChallenge(challengeName) {
13
+ if (challengeName === newPasswordRequiredChallenge) {
14
+ return;
15
+ }
16
+ throw new SimCognitoInvalidParameterException(`ChallengeName '${String(challengeName)}' is not simulated: ` +
17
+ `${newPasswordRequiredChallenge} is the only challenge this ` +
18
+ `simulation issues.`);
19
+ }
20
+ //# sourceMappingURL=sim-cognito-auth-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-auth-challenge.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-auth-challenge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAEvF;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,uBAAuB,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,UAAU,qCAAqC,CACnD,aAAiC;IAEjC,IAAI,aAAa,KAAK,4BAA4B,EAAE,CAAC;QACnD,OAAO;IACT,CAAC;IAED,MAAM,IAAI,mCAAmC,CAC3C,kBAAkB,MAAM,CAAC,aAAa,CAAC,sBAAsB;QAC3D,GAAG,4BAA4B,8BAA8B;QAC7D,oBAAoB,CACvB,CAAC;AACJ,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { SimClock } from "../../../../util/clock/sim-clock.js";
2
+ import type { SimCognitoUserPoolStore } from "../../user-pool/sim-cognito-user-pool-store.js";
3
+ import type { SimCognitoRequestResolver } from "../sim-cognito-request-resolver.js";
4
+ import { SimCognitoAdminInitiateAuth } from "./sim-cognito-admin-initiate-auth.js";
5
+ import { SimCognitoAdminRespondToChallenge } from "./sim-cognito-admin-respond-to-challenge.js";
6
+ import { SimCognitoInitiateAuth } from "./sim-cognito-initiate-auth.js";
7
+ import { SimCognitoRespondToChallenge } from "./sim-cognito-respond-to-challenge.js";
8
+ import { SimCognitoSignOutCommands } from "./sim-cognito-sign-out.js";
9
+ interface SimCognitoAuthCommandsProperties {
10
+ readonly resolver: SimCognitoRequestResolver;
11
+ readonly pools: SimCognitoUserPoolStore;
12
+ readonly clock: SimClock;
13
+ }
14
+ /**
15
+ * The authentication command handlers of one simulated Cognito scope.
16
+ *
17
+ * The four sign-in commands share a resolver, a token issuer and the bodies of
18
+ * the flows they run, and the sign-out commands share the pool store with
19
+ * them, so they are built together here rather than among the pool and
20
+ * directory commands.
21
+ */
22
+ export declare class SimCognitoAuthCommands {
23
+ readonly adminInitiateAuth: SimCognitoAdminInitiateAuth;
24
+ readonly adminRespondToChallenge: SimCognitoAdminRespondToChallenge;
25
+ readonly initiateAuth: SimCognitoInitiateAuth;
26
+ readonly respondToChallenge: SimCognitoRespondToChallenge;
27
+ readonly signOut: SimCognitoSignOutCommands;
28
+ constructor(properties: SimCognitoAuthCommandsProperties);
29
+ }
30
+ export {};
31
+ //# sourceMappingURL=sim-cognito-auth-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-auth-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-auth-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAE9F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,iCAAiC,EAAE,MAAM,6CAA6C,CAAC;AAGhG,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAKxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,UAAU,gCAAgC;IACxC,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,uBAAuB,CAAC;IACxC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,qBAAa,sBAAsB;IACjC,SAAgB,iBAAiB,EAAE,2BAA2B,CAAC;IAC/D,SAAgB,uBAAuB,EAAE,iCAAiC,CAAC;IAC3E,SAAgB,YAAY,EAAE,sBAAsB,CAAC;IACrD,SAAgB,kBAAkB,EAAE,4BAA4B,CAAC;IACjE,SAAgB,OAAO,EAAE,yBAAyB,CAAC;IAEnD,YAAY,UAAU,EAAE,gCAAgC,EAmCvD;CACF"}