@kensio/yulin 1.12.0 → 1.13.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 (1117) 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 +5 -0
  4. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  5. package/dist/serve/controller/host/sim-aws-service-hosts.d.ts +27 -0
  6. package/dist/serve/controller/host/sim-aws-service-hosts.d.ts.map +1 -0
  7. package/dist/serve/controller/host/sim-aws-service-hosts.js +13 -0
  8. package/dist/serve/controller/host/sim-aws-service-hosts.js.map +1 -0
  9. package/dist/serve/http/url/sim-aws-local-url.d.ts.map +1 -1
  10. package/dist/serve/http/url/sim-aws-local-url.js +1 -0
  11. package/dist/serve/http/url/sim-aws-local-url.js.map +1 -1
  12. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +9 -7
  13. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  14. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +20 -19
  15. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  16. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts +15 -0
  17. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
  18. package/dist/service/aws/factory/sim-aws-account-service-cache.js +22 -0
  19. package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
  20. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts +9 -0
  21. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts.map +1 -1
  22. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js +13 -0
  23. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js.map +1 -1
  24. package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts +15 -0
  25. package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts.map +1 -1
  26. package/dist/service/aws/factory/sim-aws-scoped-service-registries.js +15 -0
  27. package/dist/service/aws/factory/sim-aws-scoped-service-registries.js.map +1 -1
  28. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +6 -0
  29. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  30. package/dist/service/aws/factory/sim-aws-service-factory.js +12 -0
  31. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  32. package/dist/service/aws/sim-aws-account-region-scope.d.ts +19 -0
  33. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  34. package/dist/service/aws/sim-aws-account-region-scope.js +42 -19
  35. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  36. package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
  37. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
  38. package/dist/service/aws/sim-aws-service-accessors.js +8 -0
  39. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
  40. package/dist/service/cloudformation/bind/sim-cfn-exec-binding.type.d.ts +17 -0
  41. package/dist/service/cloudformation/bind/sim-cfn-exec-binding.type.d.ts.map +1 -1
  42. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.d.ts +9 -20
  43. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.d.ts.map +1 -1
  44. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.js +16 -49
  45. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.js.map +1 -1
  46. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.d.ts +1 -8
  47. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.d.ts.map +1 -1
  48. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js +16 -45
  49. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js.map +1 -1
  50. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-validator.js +3 -0
  51. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-validator.js.map +1 -1
  52. package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.d.ts +26 -0
  53. package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.d.ts.map +1 -0
  54. package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.js +58 -0
  55. package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.js.map +1 -0
  56. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.d.ts +28 -0
  57. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.d.ts.map +1 -0
  58. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.js +63 -0
  59. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.js.map +1 -0
  60. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.d.ts +20 -0
  61. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.d.ts.map +1 -0
  62. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.js +34 -0
  63. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.js.map +1 -0
  64. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts.map +1 -1
  65. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js +14 -0
  66. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js.map +1 -1
  67. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.d.ts +26 -0
  68. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.d.ts.map +1 -0
  69. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.js +25 -0
  70. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.js.map +1 -0
  71. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.d.ts +31 -0
  72. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.d.ts.map +1 -0
  73. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.js +33 -0
  74. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.js.map +1 -0
  75. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-cfn-value-adapter.d.ts.map +1 -1
  76. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-cfn-value-adapter.js +15 -0
  77. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-cfn-value-adapter.js.map +1 -1
  78. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.d.ts +26 -0
  79. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.d.ts.map +1 -0
  80. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.js +25 -0
  81. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.js.map +1 -0
  82. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.d.ts +25 -0
  83. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.d.ts.map +1 -0
  84. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.js +24 -0
  85. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.js.map +1 -0
  86. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts +1 -0
  87. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
  88. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +20 -9
  89. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
  90. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.d.ts +26 -0
  91. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.d.ts.map +1 -0
  92. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.js +34 -0
  93. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.js.map +1 -0
  94. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.d.ts +37 -0
  95. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.d.ts.map +1 -0
  96. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.js +67 -0
  97. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.js.map +1 -0
  98. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.d.ts +26 -0
  99. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.d.ts.map +1 -0
  100. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.js +37 -0
  101. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.js.map +1 -0
  102. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.d.ts +40 -0
  103. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.d.ts.map +1 -0
  104. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.js +74 -0
  105. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.js.map +1 -0
  106. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.d.ts +29 -3
  107. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.d.ts.map +1 -1
  108. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.js +88 -26
  109. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.js.map +1 -1
  110. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts +5 -3
  111. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts.map +1 -1
  112. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js +15 -3
  113. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js.map +1 -1
  114. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +6 -0
  115. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -1
  116. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +1 -3
  117. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
  118. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts +0 -1
  119. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
  120. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -4
  121. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
  122. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +2 -3
  123. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  124. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +3 -4
  125. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  126. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +5 -6
  127. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  128. package/dist/service/cognito/command/domain/sim-cognito-domain-commands.d.ts +62 -0
  129. package/dist/service/cognito/command/domain/sim-cognito-domain-commands.d.ts.map +1 -0
  130. package/dist/service/cognito/command/domain/sim-cognito-domain-commands.js +87 -0
  131. package/dist/service/cognito/command/domain/sim-cognito-domain-commands.js.map +1 -0
  132. package/dist/service/cognito/command/domain/sim-cognito-domain-view.d.ts +19 -0
  133. package/dist/service/cognito/command/domain/sim-cognito-domain-view.d.ts.map +1 -0
  134. package/dist/service/cognito/command/domain/sim-cognito-domain-view.js +38 -0
  135. package/dist/service/cognito/command/domain/sim-cognito-domain-view.js.map +1 -0
  136. package/dist/service/cognito/command/domain/user-pool-domain.command.d.ts +72 -0
  137. package/dist/service/cognito/command/domain/user-pool-domain.command.d.ts.map +1 -0
  138. package/dist/service/cognito/command/domain/user-pool-domain.command.js +2 -0
  139. package/dist/service/cognito/command/domain/user-pool-domain.command.js.map +1 -0
  140. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +69 -0
  141. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts.map +1 -0
  142. package/dist/service/cognito/command/hosted/hosted-auth.command.js +2 -0
  143. package/dist/service/cognito/command/hosted/hosted-auth.command.js.map +1 -0
  144. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +38 -0
  145. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts.map +1 -0
  146. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +72 -0
  147. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js.map +1 -0
  148. package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.d.ts +37 -0
  149. package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.d.ts.map +1 -0
  150. package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.js +123 -0
  151. package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.js.map +1 -0
  152. package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.d.ts +16 -0
  153. package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.d.ts.map +1 -0
  154. package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.js +34 -0
  155. package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.js.map +1 -0
  156. package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.d.ts +16 -0
  157. package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.d.ts.map +1 -0
  158. package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.js +32 -0
  159. package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.js.map +1 -0
  160. package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.d.ts +49 -0
  161. package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.d.ts.map +1 -0
  162. package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.js +98 -0
  163. package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.js.map +1 -0
  164. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts +28 -0
  165. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts.map +1 -0
  166. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +27 -0
  167. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js.map +1 -0
  168. package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.d.ts +22 -0
  169. package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.d.ts.map +1 -0
  170. package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.js +43 -0
  171. package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.js.map +1 -0
  172. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.d.ts +47 -0
  173. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.d.ts.map +1 -0
  174. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js +92 -0
  175. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js.map +1 -0
  176. package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.d.ts +33 -0
  177. package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.d.ts.map +1 -0
  178. package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.js +58 -0
  179. package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.js.map +1 -0
  180. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts +42 -0
  181. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts.map +1 -0
  182. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js +70 -0
  183. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js.map +1 -0
  184. package/dist/service/cognito/command/idp/identity-provider.command.d.ts +118 -0
  185. package/dist/service/cognito/command/idp/identity-provider.command.d.ts.map +1 -0
  186. package/dist/service/cognito/command/idp/identity-provider.command.js +2 -0
  187. package/dist/service/cognito/command/idp/identity-provider.command.js.map +1 -0
  188. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.d.ts +54 -0
  189. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.d.ts.map +1 -0
  190. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.js +94 -0
  191. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.js.map +1 -0
  192. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.d.ts +22 -0
  193. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.d.ts.map +1 -0
  194. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.js +38 -0
  195. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.js.map +1 -0
  196. package/dist/service/cognito/command/sim-cognito-command.types.d.ts +3 -0
  197. package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
  198. package/dist/service/cognito/command/sim-cognito-commands.d.ts +8 -0
  199. package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
  200. package/dist/service/cognito/command/sim-cognito-commands.js +30 -1
  201. package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
  202. package/dist/service/cognito/error/sim-cognito-oauth.error.d.ts +42 -0
  203. package/dist/service/cognito/error/sim-cognito-oauth.error.d.ts.map +1 -0
  204. package/dist/service/cognito/error/sim-cognito-oauth.error.js +29 -0
  205. package/dist/service/cognito/error/sim-cognito-oauth.error.js.map +1 -0
  206. package/dist/service/cognito/error/sim-cognito.error.d.ts +10 -0
  207. package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
  208. package/dist/service/cognito/error/sim-cognito.error.js +12 -0
  209. package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
  210. package/dist/service/cognito/index.d.ts +15 -1
  211. package/dist/service/cognito/index.d.ts.map +1 -1
  212. package/dist/service/cognito/index.js +15 -1
  213. package/dist/service/cognito/index.js.map +1 -1
  214. package/dist/service/cognito/registry/sim-cognito-domain-registry.d.ts +49 -0
  215. package/dist/service/cognito/registry/sim-cognito-domain-registry.d.ts.map +1 -0
  216. package/dist/service/cognito/registry/sim-cognito-domain-registry.js +83 -0
  217. package/dist/service/cognito/registry/sim-cognito-domain-registry.js.map +1 -0
  218. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +3 -2
  219. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
  220. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +5 -2
  221. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
  222. package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.d.ts +7 -0
  223. package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.d.ts.map +1 -0
  224. package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.js +41 -0
  225. package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.js.map +1 -0
  226. package/dist/service/cognito/serve/sim-cognito-controller.d.ts +5 -0
  227. package/dist/service/cognito/serve/sim-cognito-controller.d.ts.map +1 -1
  228. package/dist/service/cognito/serve/sim-cognito-controller.js +12 -2
  229. package/dist/service/cognito/serve/sim-cognito-controller.js.map +1 -1
  230. package/dist/service/cognito/serve/sim-cognito-domain-controller.d.ts +48 -0
  231. package/dist/service/cognito/serve/sim-cognito-domain-controller.d.ts.map +1 -0
  232. package/dist/service/cognito/serve/sim-cognito-domain-controller.js +79 -0
  233. package/dist/service/cognito/serve/sim-cognito-domain-controller.js.map +1 -0
  234. package/dist/service/cognito/serve/sim-cognito-domain-endpoints.d.ts +49 -0
  235. package/dist/service/cognito/serve/sim-cognito-domain-endpoints.d.ts.map +1 -0
  236. package/dist/service/cognito/serve/sim-cognito-domain-endpoints.js +91 -0
  237. package/dist/service/cognito/serve/sim-cognito-domain-endpoints.js.map +1 -0
  238. package/dist/service/cognito/serve/sim-cognito-oauth-response.d.ts +57 -0
  239. package/dist/service/cognito/serve/sim-cognito-oauth-response.d.ts.map +1 -0
  240. package/dist/service/cognito/serve/sim-cognito-oauth-response.js +113 -0
  241. package/dist/service/cognito/serve/sim-cognito-oauth-response.js.map +1 -0
  242. package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts +15 -4
  243. package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts.map +1 -1
  244. package/dist/service/cognito/serve/sim-cognito-openid-configuration.js +28 -4
  245. package/dist/service/cognito/serve/sim-cognito-openid-configuration.js.map +1 -1
  246. package/dist/service/cognito/serve/sim-cognito-token-request.d.ts +30 -0
  247. package/dist/service/cognito/serve/sim-cognito-token-request.d.ts.map +1 -0
  248. package/dist/service/cognito/serve/sim-cognito-token-request.js +66 -0
  249. package/dist/service/cognito/serve/sim-cognito-token-request.js.map +1 -0
  250. package/dist/service/cognito/sim-cognito-federation.d.ts +74 -0
  251. package/dist/service/cognito/sim-cognito-federation.d.ts.map +1 -0
  252. package/dist/service/cognito/sim-cognito-federation.js +99 -0
  253. package/dist/service/cognito/sim-cognito-federation.js.map +1 -0
  254. package/dist/service/cognito/sim-cognito-identity-provider.d.ts +21 -2
  255. package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
  256. package/dist/service/cognito/sim-cognito-identity-provider.js +21 -4
  257. package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
  258. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.d.ts +28 -0
  259. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.d.ts.map +1 -0
  260. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.js +52 -0
  261. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.js.map +1 -0
  262. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.d.ts +57 -0
  263. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.d.ts.map +1 -0
  264. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.js +75 -0
  265. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.js.map +1 -0
  266. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +8 -0
  267. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -1
  268. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +13 -0
  269. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -1
  270. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +10 -0
  271. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -1
  272. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +6 -0
  273. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -1
  274. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +47 -4
  275. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -1
  276. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +58 -4
  277. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -1
  278. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.d.ts +18 -0
  279. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.d.ts.map +1 -0
  280. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.js +61 -0
  281. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.js.map +1 -0
  282. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.d.ts +60 -0
  283. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.d.ts.map +1 -0
  284. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.js +83 -0
  285. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.js.map +1 -0
  286. package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.d.ts +22 -0
  287. package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.d.ts.map +1 -0
  288. package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.js +47 -0
  289. package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.js.map +1 -0
  290. package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.d.ts +29 -0
  291. package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.d.ts.map +1 -0
  292. package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.js +64 -0
  293. package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.js.map +1 -0
  294. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +4 -5
  295. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts.map +1 -1
  296. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js +4 -5
  297. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js.map +1 -1
  298. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +4 -4
  299. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  300. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +4 -4
  301. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  302. package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.d.ts +30 -0
  303. package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.d.ts.map +1 -0
  304. package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.js +37 -0
  305. package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.js.map +1 -0
  306. package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.d.ts +58 -0
  307. package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.d.ts.map +1 -0
  308. package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.js +123 -0
  309. package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.js.map +1 -0
  310. package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.d.ts +33 -0
  311. package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.d.ts.map +1 -0
  312. package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.js +66 -0
  313. package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.js.map +1 -0
  314. package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.d.ts +58 -0
  315. package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.d.ts.map +1 -0
  316. package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.js +70 -0
  317. package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.js.map +1 -0
  318. package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.d.ts +40 -0
  319. package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.d.ts.map +1 -0
  320. package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.js +56 -0
  321. package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.js.map +1 -0
  322. package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.d.ts +37 -0
  323. package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.d.ts.map +1 -0
  324. package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.js +28 -0
  325. package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.js.map +1 -0
  326. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.d.ts +64 -0
  327. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.d.ts.map +1 -0
  328. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.js +50 -0
  329. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.js.map +1 -0
  330. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.d.ts +47 -0
  331. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.d.ts.map +1 -0
  332. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.js +72 -0
  333. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.js.map +1 -0
  334. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.d.ts +37 -0
  335. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.d.ts.map +1 -0
  336. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.js +55 -0
  337. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.js.map +1 -0
  338. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.d.ts +39 -0
  339. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.d.ts.map +1 -0
  340. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.js +58 -0
  341. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.js.map +1 -0
  342. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.d.ts +29 -0
  343. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.d.ts.map +1 -0
  344. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.js +52 -0
  345. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.js.map +1 -0
  346. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.d.ts +24 -0
  347. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.d.ts.map +1 -0
  348. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.js +67 -0
  349. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.js.map +1 -0
  350. package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.d.ts +82 -0
  351. package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.d.ts.map +1 -0
  352. package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.js +108 -0
  353. package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.js.map +1 -0
  354. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +11 -1
  355. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
  356. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +11 -1
  357. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
  358. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts +5 -0
  359. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts.map +1 -1
  360. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js +16 -5
  361. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js.map +1 -1
  362. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts +7 -0
  363. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts.map +1 -1
  364. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js +14 -0
  365. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js.map +1 -1
  366. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts +10 -1
  367. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts.map +1 -1
  368. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js.map +1 -1
  369. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +5 -0
  370. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -1
  371. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +3 -0
  372. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -1
  373. package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.d.ts +9 -0
  374. package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.d.ts.map +1 -0
  375. package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.js +39 -0
  376. package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.js.map +1 -0
  377. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts.map +1 -1
  378. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js +2 -29
  379. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js.map +1 -1
  380. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts +15 -0
  381. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts.map +1 -1
  382. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js +17 -0
  383. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js.map +1 -1
  384. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts +14 -4
  385. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts.map +1 -1
  386. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js +13 -3
  387. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js.map +1 -1
  388. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +20 -0
  389. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -1
  390. package/dist/service/cognito/user-pool/user/sim-cognito-user.js +29 -1
  391. package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -1
  392. package/dist/service/ecs/cluster/sim-ecs-cluster-arn.d.ts +38 -0
  393. package/dist/service/ecs/cluster/sim-ecs-cluster-arn.d.ts.map +1 -0
  394. package/dist/service/ecs/cluster/sim-ecs-cluster-arn.js +54 -0
  395. package/dist/service/ecs/cluster/sim-ecs-cluster-arn.js.map +1 -0
  396. package/dist/service/ecs/cluster/sim-ecs-cluster-store.d.ts +36 -0
  397. package/dist/service/ecs/cluster/sim-ecs-cluster-store.d.ts.map +1 -0
  398. package/dist/service/ecs/cluster/sim-ecs-cluster-store.js +51 -0
  399. package/dist/service/ecs/cluster/sim-ecs-cluster-store.js.map +1 -0
  400. package/dist/service/ecs/cluster/sim-ecs-cluster.d.ts +95 -0
  401. package/dist/service/ecs/cluster/sim-ecs-cluster.d.ts.map +1 -0
  402. package/dist/service/ecs/cluster/sim-ecs-cluster.js +66 -0
  403. package/dist/service/ecs/cluster/sim-ecs-cluster.js.map +1 -0
  404. package/dist/service/ecs/command/authorize/sim-ecs-authorizer.d.ts +38 -0
  405. package/dist/service/ecs/command/authorize/sim-ecs-authorizer.d.ts.map +1 -0
  406. package/dist/service/ecs/command/authorize/sim-ecs-authorizer.js +61 -0
  407. package/dist/service/ecs/command/authorize/sim-ecs-authorizer.js.map +1 -0
  408. package/dist/service/ecs/command/create-cluster/create-cluster-factory.d.ts +30 -0
  409. package/dist/service/ecs/command/create-cluster/create-cluster-factory.d.ts.map +1 -0
  410. package/dist/service/ecs/command/create-cluster/create-cluster-factory.js +46 -0
  411. package/dist/service/ecs/command/create-cluster/create-cluster-factory.js.map +1 -0
  412. package/dist/service/ecs/command/create-cluster/create-cluster.command.d.ts +28 -0
  413. package/dist/service/ecs/command/create-cluster/create-cluster.command.d.ts.map +1 -0
  414. package/dist/service/ecs/command/create-cluster/create-cluster.command.js +2 -0
  415. package/dist/service/ecs/command/create-cluster/create-cluster.command.js.map +1 -0
  416. package/dist/service/ecs/command/create-cluster/create-cluster.handler.d.ts +23 -0
  417. package/dist/service/ecs/command/create-cluster/create-cluster.handler.d.ts.map +1 -0
  418. package/dist/service/ecs/command/create-cluster/create-cluster.handler.js +47 -0
  419. package/dist/service/ecs/command/create-cluster/create-cluster.handler.js.map +1 -0
  420. package/dist/service/ecs/command/delete-cluster/delete-cluster.command.d.ts +24 -0
  421. package/dist/service/ecs/command/delete-cluster/delete-cluster.command.d.ts.map +1 -0
  422. package/dist/service/ecs/command/delete-cluster/delete-cluster.command.js +2 -0
  423. package/dist/service/ecs/command/delete-cluster/delete-cluster.command.js.map +1 -0
  424. package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.d.ts +34 -0
  425. package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.d.ts.map +1 -0
  426. package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.js +70 -0
  427. package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.js.map +1 -0
  428. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.d.ts +27 -0
  429. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.d.ts.map +1 -0
  430. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.js +2 -0
  431. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.js.map +1 -0
  432. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.d.ts +30 -0
  433. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.d.ts.map +1 -0
  434. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.js +51 -0
  435. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.js.map +1 -0
  436. package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.d.ts +10 -0
  437. package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.d.ts.map +1 -0
  438. package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.js +35 -0
  439. package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.js.map +1 -0
  440. package/dist/service/ecs/command/describe-clusters/describe-clusters.command.d.ts +39 -0
  441. package/dist/service/ecs/command/describe-clusters/describe-clusters.command.d.ts.map +1 -0
  442. package/dist/service/ecs/command/describe-clusters/describe-clusters.command.js +2 -0
  443. package/dist/service/ecs/command/describe-clusters/describe-clusters.command.js.map +1 -0
  444. package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.d.ts +19 -0
  445. package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.d.ts.map +1 -0
  446. package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.js +31 -0
  447. package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.js.map +1 -0
  448. package/dist/service/ecs/command/describe-clusters/described-cluster.d.ts +42 -0
  449. package/dist/service/ecs/command/describe-clusters/described-cluster.d.ts.map +1 -0
  450. package/dist/service/ecs/command/describe-clusters/described-cluster.js +46 -0
  451. package/dist/service/ecs/command/describe-clusters/described-cluster.js.map +1 -0
  452. package/dist/service/ecs/command/describe-clusters/described-clusters.d.ts +28 -0
  453. package/dist/service/ecs/command/describe-clusters/described-clusters.d.ts.map +1 -0
  454. package/dist/service/ecs/command/describe-clusters/described-clusters.js +36 -0
  455. package/dist/service/ecs/command/describe-clusters/described-clusters.js.map +1 -0
  456. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.d.ts +29 -0
  457. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.d.ts.map +1 -0
  458. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.js +2 -0
  459. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.js.map +1 -0
  460. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.d.ts +32 -0
  461. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.d.ts.map +1 -0
  462. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.js +56 -0
  463. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.js.map +1 -0
  464. package/dist/service/ecs/command/list-clusters/list-clusters.command.d.ts +26 -0
  465. package/dist/service/ecs/command/list-clusters/list-clusters.command.d.ts.map +1 -0
  466. package/dist/service/ecs/command/list-clusters/list-clusters.command.js +2 -0
  467. package/dist/service/ecs/command/list-clusters/list-clusters.command.js.map +1 -0
  468. package/dist/service/ecs/command/list-clusters/list-clusters.handler.d.ts +22 -0
  469. package/dist/service/ecs/command/list-clusters/list-clusters.handler.d.ts.map +1 -0
  470. package/dist/service/ecs/command/list-clusters/list-clusters.handler.js +33 -0
  471. package/dist/service/ecs/command/list-clusters/list-clusters.handler.js.map +1 -0
  472. package/dist/service/ecs/command/list-task-definition-families/family-status-filter.d.ts +25 -0
  473. package/dist/service/ecs/command/list-task-definition-families/family-status-filter.d.ts.map +1 -0
  474. package/dist/service/ecs/command/list-task-definition-families/family-status-filter.js +55 -0
  475. package/dist/service/ecs/command/list-task-definition-families/family-status-filter.js.map +1 -0
  476. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.d.ts +27 -0
  477. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.d.ts.map +1 -0
  478. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.js +2 -0
  479. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.js.map +1 -0
  480. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.d.ts +22 -0
  481. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.d.ts.map +1 -0
  482. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.js +42 -0
  483. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.js.map +1 -0
  484. package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.d.ts +23 -0
  485. package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.d.ts.map +1 -0
  486. package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.js +56 -0
  487. package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.js.map +1 -0
  488. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.d.ts +29 -0
  489. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.d.ts.map +1 -0
  490. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.js +2 -0
  491. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.js.map +1 -0
  492. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.d.ts +23 -0
  493. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.d.ts.map +1 -0
  494. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.js +44 -0
  495. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.js.map +1 -0
  496. package/dist/service/ecs/command/register-task-definition/register-task-definition.command.d.ts +33 -0
  497. package/dist/service/ecs/command/register-task-definition/register-task-definition.command.d.ts.map +1 -0
  498. package/dist/service/ecs/command/register-task-definition/register-task-definition.command.js +2 -0
  499. package/dist/service/ecs/command/register-task-definition/register-task-definition.command.js.map +1 -0
  500. package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.d.ts +28 -0
  501. package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.d.ts.map +1 -0
  502. package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.js +70 -0
  503. package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.js.map +1 -0
  504. package/dist/service/ecs/command/sim-ecs-command-context.d.ts +35 -0
  505. package/dist/service/ecs/command/sim-ecs-command-context.d.ts.map +1 -0
  506. package/dist/service/ecs/command/sim-ecs-command-context.js +2 -0
  507. package/dist/service/ecs/command/sim-ecs-command-context.js.map +1 -0
  508. package/dist/service/ecs/command/sim-ecs-command-handler.d.ts +35 -0
  509. package/dist/service/ecs/command/sim-ecs-command-handler.d.ts.map +1 -0
  510. package/dist/service/ecs/command/sim-ecs-command-handler.js +38 -0
  511. package/dist/service/ecs/command/sim-ecs-command-handler.js.map +1 -0
  512. package/dist/service/ecs/command/sim-ecs-command.types.d.ts +13 -0
  513. package/dist/service/ecs/command/sim-ecs-command.types.d.ts.map +1 -0
  514. package/dist/service/ecs/command/sim-ecs-command.types.js +2 -0
  515. package/dist/service/ecs/command/sim-ecs-command.types.js.map +1 -0
  516. package/dist/service/ecs/command/sim-ecs-page.d.ts +22 -0
  517. package/dist/service/ecs/command/sim-ecs-page.d.ts.map +1 -0
  518. package/dist/service/ecs/command/sim-ecs-page.js +60 -0
  519. package/dist/service/ecs/command/sim-ecs-page.js.map +1 -0
  520. package/dist/service/ecs/command/sim-ecs-request-options.d.ts +14 -0
  521. package/dist/service/ecs/command/sim-ecs-request-options.d.ts.map +1 -0
  522. package/dist/service/ecs/command/sim-ecs-request-options.js +2 -0
  523. package/dist/service/ecs/command/sim-ecs-request-options.js.map +1 -0
  524. package/dist/service/ecs/command/sim-ecs-unsimulated-input.d.ts +18 -0
  525. package/dist/service/ecs/command/sim-ecs-unsimulated-input.d.ts.map +1 -0
  526. package/dist/service/ecs/command/sim-ecs-unsimulated-input.js +29 -0
  527. package/dist/service/ecs/command/sim-ecs-unsimulated-input.js.map +1 -0
  528. package/dist/service/ecs/error/sim-ecs.error.d.ts +45 -0
  529. package/dist/service/ecs/error/sim-ecs.error.d.ts.map +1 -0
  530. package/dist/service/ecs/error/sim-ecs.error.js +50 -0
  531. package/dist/service/ecs/error/sim-ecs.error.js.map +1 -0
  532. package/dist/service/ecs/index.d.ts +21 -0
  533. package/dist/service/ecs/index.d.ts.map +1 -0
  534. package/dist/service/ecs/index.js +17 -0
  535. package/dist/service/ecs/index.js.map +1 -0
  536. package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.d.ts +18 -0
  537. package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.d.ts.map +1 -0
  538. package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.js +60 -0
  539. package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.js.map +1 -0
  540. package/dist/service/ecs/sim-ecs-arn.d.ts +26 -0
  541. package/dist/service/ecs/sim-ecs-arn.d.ts.map +1 -0
  542. package/dist/service/ecs/sim-ecs-arn.js +33 -0
  543. package/dist/service/ecs/sim-ecs-arn.js.map +1 -0
  544. package/dist/service/ecs/sim-ecs-name.d.ts +9 -0
  545. package/dist/service/ecs/sim-ecs-name.d.ts.map +1 -0
  546. package/dist/service/ecs/sim-ecs-name.js +26 -0
  547. package/dist/service/ecs/sim-ecs-name.js.map +1 -0
  548. package/dist/service/ecs/sim-ecs.d.ts +78 -0
  549. package/dist/service/ecs/sim-ecs.d.ts.map +1 -0
  550. package/dist/service/ecs/sim-ecs.js +133 -0
  551. package/dist/service/ecs/sim-ecs.js.map +1 -0
  552. package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.d.ts +65 -0
  553. package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.d.ts.map +1 -0
  554. package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.js +50 -0
  555. package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.js.map +1 -0
  556. package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.d.ts +20 -0
  557. package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.d.ts.map +1 -0
  558. package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.js +40 -0
  559. package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.js.map +1 -0
  560. package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.d.ts +87 -0
  561. package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.d.ts.map +1 -0
  562. package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.js +2 -0
  563. package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.js.map +1 -0
  564. package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.d.ts +27 -0
  565. package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.d.ts.map +1 -0
  566. package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.js +33 -0
  567. package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.js.map +1 -0
  568. package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.d.ts +19 -0
  569. package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.d.ts.map +1 -0
  570. package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.js +22 -0
  571. package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.js.map +1 -0
  572. package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.d.ts +46 -0
  573. package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.d.ts.map +1 -0
  574. package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.js +26 -0
  575. package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.js.map +1 -0
  576. package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.d.ts +42 -0
  577. package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.d.ts.map +1 -0
  578. package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.js +55 -0
  579. package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.js.map +1 -0
  580. package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.d.ts +33 -0
  581. package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.d.ts.map +1 -0
  582. package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.js +75 -0
  583. package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.js.map +1 -0
  584. package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.d.ts +71 -0
  585. package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.d.ts.map +1 -0
  586. package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.js +2 -0
  587. package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.js.map +1 -0
  588. package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.d.ts +57 -0
  589. package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.d.ts.map +1 -0
  590. package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.js +86 -0
  591. package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.js.map +1 -0
  592. package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.d.ts +36 -0
  593. package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.d.ts.map +1 -0
  594. package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.js +64 -0
  595. package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.js.map +1 -0
  596. package/dist/service/ecs/task-definition/sim-ecs-task-definition.d.ts +54 -0
  597. package/dist/service/ecs/task-definition/sim-ecs-task-definition.d.ts.map +1 -0
  598. package/dist/service/ecs/task-definition/sim-ecs-task-definition.js +67 -0
  599. package/dist/service/ecs/task-definition/sim-ecs-task-definition.js.map +1 -0
  600. package/dist/service/elbv2/action/sim-elbv2-action-targets.d.ts +19 -0
  601. package/dist/service/elbv2/action/sim-elbv2-action-targets.d.ts.map +1 -0
  602. package/dist/service/elbv2/action/sim-elbv2-action-targets.js +25 -0
  603. package/dist/service/elbv2/action/sim-elbv2-action-targets.js.map +1 -0
  604. package/dist/service/elbv2/action/sim-elbv2-action.d.ts +38 -0
  605. package/dist/service/elbv2/action/sim-elbv2-action.d.ts.map +1 -0
  606. package/dist/service/elbv2/action/sim-elbv2-action.js +138 -0
  607. package/dist/service/elbv2/action/sim-elbv2-action.js.map +1 -0
  608. package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.d.ts +34 -0
  609. package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.d.ts.map +1 -0
  610. package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.js +56 -0
  611. package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.js.map +1 -0
  612. package/dist/service/elbv2/command/listener/create-listener.handler.d.ts +27 -0
  613. package/dist/service/elbv2/command/listener/create-listener.handler.d.ts.map +1 -0
  614. package/dist/service/elbv2/command/listener/create-listener.handler.js +55 -0
  615. package/dist/service/elbv2/command/listener/create-listener.handler.js.map +1 -0
  616. package/dist/service/elbv2/command/listener/delete-listener.handler.d.ts +20 -0
  617. package/dist/service/elbv2/command/listener/delete-listener.handler.d.ts.map +1 -0
  618. package/dist/service/elbv2/command/listener/delete-listener.handler.js +28 -0
  619. package/dist/service/elbv2/command/listener/delete-listener.handler.js.map +1 -0
  620. package/dist/service/elbv2/command/listener/describe-listeners.handler.d.ts +25 -0
  621. package/dist/service/elbv2/command/listener/describe-listeners.handler.d.ts.map +1 -0
  622. package/dist/service/elbv2/command/listener/describe-listeners.handler.js +52 -0
  623. package/dist/service/elbv2/command/listener/describe-listeners.handler.js.map +1 -0
  624. package/dist/service/elbv2/command/listener/listener.command.d.ts +96 -0
  625. package/dist/service/elbv2/command/listener/listener.command.d.ts.map +1 -0
  626. package/dist/service/elbv2/command/listener/listener.command.js +2 -0
  627. package/dist/service/elbv2/command/listener/listener.command.js.map +1 -0
  628. package/dist/service/elbv2/command/listener/modify-listener.handler.d.ts +28 -0
  629. package/dist/service/elbv2/command/listener/modify-listener.handler.d.ts.map +1 -0
  630. package/dist/service/elbv2/command/listener/modify-listener.handler.js +54 -0
  631. package/dist/service/elbv2/command/listener/modify-listener.handler.js.map +1 -0
  632. package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.d.ts +14 -0
  633. package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.d.ts.map +1 -0
  634. package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.js +29 -0
  635. package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.js.map +1 -0
  636. package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.d.ts +27 -0
  637. package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.d.ts.map +1 -0
  638. package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.js +48 -0
  639. package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.js.map +1 -0
  640. package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.d.ts +19 -0
  641. package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.d.ts.map +1 -0
  642. package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.js +27 -0
  643. package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.js.map +1 -0
  644. package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.d.ts +25 -0
  645. package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.d.ts.map +1 -0
  646. package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.js +48 -0
  647. package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.js.map +1 -0
  648. package/dist/service/elbv2/command/load-balancer/load-balancer.command.d.ts +77 -0
  649. package/dist/service/elbv2/command/load-balancer/load-balancer.command.d.ts.map +1 -0
  650. package/dist/service/elbv2/command/load-balancer/load-balancer.command.js +2 -0
  651. package/dist/service/elbv2/command/load-balancer/load-balancer.command.js.map +1 -0
  652. package/dist/service/elbv2/command/rule/create-rule.handler.d.ts +27 -0
  653. package/dist/service/elbv2/command/rule/create-rule.handler.d.ts.map +1 -0
  654. package/dist/service/elbv2/command/rule/create-rule.handler.js +51 -0
  655. package/dist/service/elbv2/command/rule/create-rule.handler.js.map +1 -0
  656. package/dist/service/elbv2/command/rule/delete-rule.handler.d.ts +16 -0
  657. package/dist/service/elbv2/command/rule/delete-rule.handler.d.ts.map +1 -0
  658. package/dist/service/elbv2/command/rule/delete-rule.handler.js +24 -0
  659. package/dist/service/elbv2/command/rule/delete-rule.handler.js.map +1 -0
  660. package/dist/service/elbv2/command/rule/describe-rules.handler.d.ts +29 -0
  661. package/dist/service/elbv2/command/rule/describe-rules.handler.d.ts.map +1 -0
  662. package/dist/service/elbv2/command/rule/describe-rules.handler.js +60 -0
  663. package/dist/service/elbv2/command/rule/describe-rules.handler.js.map +1 -0
  664. package/dist/service/elbv2/command/rule/modify-rule.handler.d.ts +28 -0
  665. package/dist/service/elbv2/command/rule/modify-rule.handler.d.ts.map +1 -0
  666. package/dist/service/elbv2/command/rule/modify-rule.handler.js +48 -0
  667. package/dist/service/elbv2/command/rule/modify-rule.handler.js.map +1 -0
  668. package/dist/service/elbv2/command/rule/rule-condition.command.d.ts +45 -0
  669. package/dist/service/elbv2/command/rule/rule-condition.command.d.ts.map +1 -0
  670. package/dist/service/elbv2/command/rule/rule-condition.command.js +2 -0
  671. package/dist/service/elbv2/command/rule/rule-condition.command.js.map +1 -0
  672. package/dist/service/elbv2/command/rule/rule.command.d.ts +122 -0
  673. package/dist/service/elbv2/command/rule/rule.command.d.ts.map +1 -0
  674. package/dist/service/elbv2/command/rule/rule.command.js +2 -0
  675. package/dist/service/elbv2/command/rule/rule.command.js.map +1 -0
  676. package/dist/service/elbv2/command/rule/set-rule-priorities.handler.d.ts +26 -0
  677. package/dist/service/elbv2/command/rule/set-rule-priorities.handler.d.ts.map +1 -0
  678. package/dist/service/elbv2/command/rule/set-rule-priorities.handler.js +62 -0
  679. package/dist/service/elbv2/command/rule/set-rule-priorities.handler.js.map +1 -0
  680. package/dist/service/elbv2/command/sim-elbv2-command-handler.d.ts +26 -0
  681. package/dist/service/elbv2/command/sim-elbv2-command-handler.d.ts.map +1 -0
  682. package/dist/service/elbv2/command/sim-elbv2-command-handler.js +19 -0
  683. package/dist/service/elbv2/command/sim-elbv2-command-handler.js.map +1 -0
  684. package/dist/service/elbv2/command/sim-elbv2-command.types.d.ts +13 -0
  685. package/dist/service/elbv2/command/sim-elbv2-command.types.d.ts.map +1 -0
  686. package/dist/service/elbv2/command/sim-elbv2-command.types.js +9 -0
  687. package/dist/service/elbv2/command/sim-elbv2-command.types.js.map +1 -0
  688. package/dist/service/elbv2/command/sim-elbv2-commands.d.ts +60 -0
  689. package/dist/service/elbv2/command/sim-elbv2-commands.d.ts.map +1 -0
  690. package/dist/service/elbv2/command/sim-elbv2-commands.js +85 -0
  691. package/dist/service/elbv2/command/sim-elbv2-commands.js.map +1 -0
  692. package/dist/service/elbv2/command/sim-elbv2-page.d.ts +26 -0
  693. package/dist/service/elbv2/command/sim-elbv2-page.d.ts.map +1 -0
  694. package/dist/service/elbv2/command/sim-elbv2-page.js +67 -0
  695. package/dist/service/elbv2/command/sim-elbv2-page.js.map +1 -0
  696. package/dist/service/elbv2/command/sim-elbv2-request-options.d.ts +12 -0
  697. package/dist/service/elbv2/command/sim-elbv2-request-options.d.ts.map +1 -0
  698. package/dist/service/elbv2/command/sim-elbv2-request-options.js +2 -0
  699. package/dist/service/elbv2/command/sim-elbv2-request-options.js.map +1 -0
  700. package/dist/service/elbv2/command/sim-elbv2-shared.command.d.ts +91 -0
  701. package/dist/service/elbv2/command/sim-elbv2-shared.command.d.ts.map +1 -0
  702. package/dist/service/elbv2/command/sim-elbv2-shared.command.js +15 -0
  703. package/dist/service/elbv2/command/sim-elbv2-shared.command.js.map +1 -0
  704. package/dist/service/elbv2/command/target/deregister-targets.handler.d.ts +21 -0
  705. package/dist/service/elbv2/command/target/deregister-targets.handler.d.ts.map +1 -0
  706. package/dist/service/elbv2/command/target/deregister-targets.handler.js +32 -0
  707. package/dist/service/elbv2/command/target/deregister-targets.handler.js.map +1 -0
  708. package/dist/service/elbv2/command/target/describe-target-health.handler.d.ts +30 -0
  709. package/dist/service/elbv2/command/target/describe-target-health.handler.d.ts.map +1 -0
  710. package/dist/service/elbv2/command/target/describe-target-health.handler.js +57 -0
  711. package/dist/service/elbv2/command/target/describe-target-health.handler.js.map +1 -0
  712. package/dist/service/elbv2/command/target/register-targets.handler.d.ts +20 -0
  713. package/dist/service/elbv2/command/target/register-targets.handler.d.ts.map +1 -0
  714. package/dist/service/elbv2/command/target/register-targets.handler.js +31 -0
  715. package/dist/service/elbv2/command/target/register-targets.handler.js.map +1 -0
  716. package/dist/service/elbv2/command/target/target.command.d.ts +77 -0
  717. package/dist/service/elbv2/command/target/target.command.d.ts.map +1 -0
  718. package/dist/service/elbv2/command/target/target.command.js +2 -0
  719. package/dist/service/elbv2/command/target/target.command.js.map +1 -0
  720. package/dist/service/elbv2/command/target-group/create-target-group.handler.d.ts +30 -0
  721. package/dist/service/elbv2/command/target-group/create-target-group.handler.d.ts.map +1 -0
  722. package/dist/service/elbv2/command/target-group/create-target-group.handler.js +55 -0
  723. package/dist/service/elbv2/command/target-group/create-target-group.handler.js.map +1 -0
  724. package/dist/service/elbv2/command/target-group/delete-target-group.handler.d.ts +26 -0
  725. package/dist/service/elbv2/command/target-group/delete-target-group.handler.d.ts.map +1 -0
  726. package/dist/service/elbv2/command/target-group/delete-target-group.handler.js +34 -0
  727. package/dist/service/elbv2/command/target-group/delete-target-group.handler.js.map +1 -0
  728. package/dist/service/elbv2/command/target-group/describe-target-groups-selection.d.ts +33 -0
  729. package/dist/service/elbv2/command/target-group/describe-target-groups-selection.d.ts.map +1 -0
  730. package/dist/service/elbv2/command/target-group/describe-target-groups-selection.js +50 -0
  731. package/dist/service/elbv2/command/target-group/describe-target-groups-selection.js.map +1 -0
  732. package/dist/service/elbv2/command/target-group/describe-target-groups.handler.d.ts +28 -0
  733. package/dist/service/elbv2/command/target-group/describe-target-groups.handler.d.ts.map +1 -0
  734. package/dist/service/elbv2/command/target-group/describe-target-groups.handler.js +38 -0
  735. package/dist/service/elbv2/command/target-group/describe-target-groups.handler.js.map +1 -0
  736. package/dist/service/elbv2/command/target-group/modify-target-group.handler.d.ts +28 -0
  737. package/dist/service/elbv2/command/target-group/modify-target-group.handler.d.ts.map +1 -0
  738. package/dist/service/elbv2/command/target-group/modify-target-group.handler.js +40 -0
  739. package/dist/service/elbv2/command/target-group/modify-target-group.handler.js.map +1 -0
  740. package/dist/service/elbv2/command/target-group/target-group.command.d.ts +97 -0
  741. package/dist/service/elbv2/command/target-group/target-group.command.d.ts.map +1 -0
  742. package/dist/service/elbv2/command/target-group/target-group.command.js +2 -0
  743. package/dist/service/elbv2/command/target-group/target-group.command.js.map +1 -0
  744. package/dist/service/elbv2/error/sim-elbv2.error.d.ts +142 -0
  745. package/dist/service/elbv2/error/sim-elbv2.error.d.ts.map +1 -0
  746. package/dist/service/elbv2/error/sim-elbv2.error.js +169 -0
  747. package/dist/service/elbv2/error/sim-elbv2.error.js.map +1 -0
  748. package/dist/service/elbv2/index.d.ts +18 -0
  749. package/dist/service/elbv2/index.d.ts.map +1 -0
  750. package/dist/service/elbv2/index.js +11 -0
  751. package/dist/service/elbv2/index.js.map +1 -0
  752. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.d.ts +45 -0
  753. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.d.ts.map +1 -0
  754. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.js +69 -0
  755. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.js.map +1 -0
  756. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.d.ts +81 -0
  757. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.d.ts.map +1 -0
  758. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.js +80 -0
  759. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.js.map +1 -0
  760. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.d.ts +35 -0
  761. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.d.ts.map +1 -0
  762. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.js +126 -0
  763. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.js.map +1 -0
  764. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.d.ts +9 -0
  765. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.d.ts.map +1 -0
  766. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.js +22 -0
  767. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.js.map +1 -0
  768. package/dist/service/elbv2/listener/sim-elbv2-listener-security.d.ts +20 -0
  769. package/dist/service/elbv2/listener/sim-elbv2-listener-security.d.ts.map +1 -0
  770. package/dist/service/elbv2/listener/sim-elbv2-listener-security.js +33 -0
  771. package/dist/service/elbv2/listener/sim-elbv2-listener-security.js.map +1 -0
  772. package/dist/service/elbv2/listener/sim-elbv2-listener-store.d.ts +46 -0
  773. package/dist/service/elbv2/listener/sim-elbv2-listener-store.d.ts.map +1 -0
  774. package/dist/service/elbv2/listener/sim-elbv2-listener-store.js +69 -0
  775. package/dist/service/elbv2/listener/sim-elbv2-listener-store.js.map +1 -0
  776. package/dist/service/elbv2/listener/sim-elbv2-listener.d.ts +74 -0
  777. package/dist/service/elbv2/listener/sim-elbv2-listener.d.ts.map +1 -0
  778. package/dist/service/elbv2/listener/sim-elbv2-listener.js +80 -0
  779. package/dist/service/elbv2/listener/sim-elbv2-listener.js.map +1 -0
  780. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.d.ts +34 -0
  781. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.d.ts.map +1 -0
  782. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.js +38 -0
  783. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.js.map +1 -0
  784. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.d.ts +5 -0
  785. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.d.ts.map +1 -0
  786. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.js +21 -0
  787. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.js.map +1 -0
  788. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.d.ts +14 -0
  789. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.d.ts.map +1 -0
  790. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.js +20 -0
  791. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.js.map +1 -0
  792. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.d.ts +45 -0
  793. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.d.ts.map +1 -0
  794. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.js +73 -0
  795. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.js.map +1 -0
  796. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.d.ts +62 -0
  797. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.d.ts.map +1 -0
  798. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.js +51 -0
  799. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.js.map +1 -0
  800. package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.d.ts +22 -0
  801. package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.d.ts.map +1 -0
  802. package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.js +104 -0
  803. package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.js.map +1 -0
  804. package/dist/service/elbv2/sim-elbv2-protocol.d.ts +9 -0
  805. package/dist/service/elbv2/sim-elbv2-protocol.d.ts.map +1 -0
  806. package/dist/service/elbv2/sim-elbv2-protocol.js +44 -0
  807. package/dist/service/elbv2/sim-elbv2-protocol.js.map +1 -0
  808. package/dist/service/elbv2/sim-elbv2-resource-id.d.ts +19 -0
  809. package/dist/service/elbv2/sim-elbv2-resource-id.d.ts.map +1 -0
  810. package/dist/service/elbv2/sim-elbv2-resource-id.js +31 -0
  811. package/dist/service/elbv2/sim-elbv2-resource-id.js.map +1 -0
  812. package/dist/service/elbv2/sim-elbv2-resource-name.d.ts +14 -0
  813. package/dist/service/elbv2/sim-elbv2-resource-name.d.ts.map +1 -0
  814. package/dist/service/elbv2/sim-elbv2-resource-name.js +35 -0
  815. package/dist/service/elbv2/sim-elbv2-resource-name.js.map +1 -0
  816. package/dist/service/elbv2/sim-elbv2-stores.d.ts +34 -0
  817. package/dist/service/elbv2/sim-elbv2-stores.d.ts.map +1 -0
  818. package/dist/service/elbv2/sim-elbv2-stores.js +42 -0
  819. package/dist/service/elbv2/sim-elbv2-stores.js.map +1 -0
  820. package/dist/service/elbv2/sim-elbv2.d.ts +85 -0
  821. package/dist/service/elbv2/sim-elbv2.d.ts.map +1 -0
  822. package/dist/service/elbv2/sim-elbv2.fixture.d.ts +41 -0
  823. package/dist/service/elbv2/sim-elbv2.fixture.d.ts.map +1 -0
  824. package/dist/service/elbv2/sim-elbv2.fixture.js +79 -0
  825. package/dist/service/elbv2/sim-elbv2.fixture.js.map +1 -0
  826. package/dist/service/elbv2/sim-elbv2.js +128 -0
  827. package/dist/service/elbv2/sim-elbv2.js.map +1 -0
  828. package/dist/service/elbv2/target-group/sim-elbv2-health-check.d.ts +59 -0
  829. package/dist/service/elbv2/target-group/sim-elbv2-health-check.d.ts.map +1 -0
  830. package/dist/service/elbv2/target-group/sim-elbv2-health-check.js +73 -0
  831. package/dist/service/elbv2/target-group/sim-elbv2-health-check.js.map +1 -0
  832. package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.d.ts +24 -0
  833. package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.d.ts.map +1 -0
  834. package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.js +18 -0
  835. package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.js.map +1 -0
  836. package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.d.ts +8 -0
  837. package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.d.ts.map +1 -0
  838. package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.js +11 -0
  839. package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.js.map +1 -0
  840. package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.d.ts +46 -0
  841. package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.d.ts.map +1 -0
  842. package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.js +74 -0
  843. package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.js.map +1 -0
  844. package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.d.ts +24 -0
  845. package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.d.ts.map +1 -0
  846. package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.js +38 -0
  847. package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.js.map +1 -0
  848. package/dist/service/elbv2/target-group/sim-elbv2-target-group.d.ts +65 -0
  849. package/dist/service/elbv2/target-group/sim-elbv2-target-group.d.ts.map +1 -0
  850. package/dist/service/elbv2/target-group/sim-elbv2-target-group.js +73 -0
  851. package/dist/service/elbv2/target-group/sim-elbv2-target-group.js.map +1 -0
  852. package/dist/service/elbv2/target-group/sim-elbv2-target-set.d.ts +45 -0
  853. package/dist/service/elbv2/target-group/sim-elbv2-target-set.d.ts.map +1 -0
  854. package/dist/service/elbv2/target-group/sim-elbv2-target-set.js +66 -0
  855. package/dist/service/elbv2/target-group/sim-elbv2-target-set.js.map +1 -0
  856. package/dist/service/elbv2/target-group/sim-elbv2-target-type.d.ts +55 -0
  857. package/dist/service/elbv2/target-group/sim-elbv2-target-type.d.ts.map +1 -0
  858. package/dist/service/elbv2/target-group/sim-elbv2-target-type.js +114 -0
  859. package/dist/service/elbv2/target-group/sim-elbv2-target-type.js.map +1 -0
  860. package/dist/service/elbv2/target-group/sim-elbv2-target.d.ts +37 -0
  861. package/dist/service/elbv2/target-group/sim-elbv2-target.d.ts.map +1 -0
  862. package/dist/service/elbv2/target-group/sim-elbv2-target.js +47 -0
  863. package/dist/service/elbv2/target-group/sim-elbv2-target.js.map +1 -0
  864. package/dist/service/kms/command/key/sim-kms-key-commands.d.ts.map +1 -1
  865. package/dist/service/kms/command/key/sim-kms-key-commands.js +2 -1
  866. package/dist/service/kms/command/key/sim-kms-key-commands.js.map +1 -1
  867. package/dist/service/kms/command/key/sim-kms-key-type.d.ts +44 -6
  868. package/dist/service/kms/command/key/sim-kms-key-type.d.ts.map +1 -1
  869. package/dist/service/kms/command/key/sim-kms-key-type.js +83 -14
  870. package/dist/service/kms/command/key/sim-kms-key-type.js.map +1 -1
  871. package/dist/service/kms/command/sign/sign.command.d.ts +69 -0
  872. package/dist/service/kms/command/sign/sign.command.d.ts.map +1 -0
  873. package/dist/service/kms/command/sign/sign.command.js +2 -0
  874. package/dist/service/kms/command/sign/sign.command.js.map +1 -0
  875. package/dist/service/kms/command/sign/sim-kms-sign-commands.d.ts +40 -0
  876. package/dist/service/kms/command/sign/sim-kms-sign-commands.d.ts.map +1 -0
  877. package/dist/service/kms/command/sign/sim-kms-sign-commands.js +76 -0
  878. package/dist/service/kms/command/sign/sim-kms-sign-commands.js.map +1 -0
  879. package/dist/service/kms/command/sign/sim-kms-signed-message.d.ts +26 -0
  880. package/dist/service/kms/command/sign/sim-kms-signed-message.d.ts.map +1 -0
  881. package/dist/service/kms/command/sign/sim-kms-signed-message.js +62 -0
  882. package/dist/service/kms/command/sign/sim-kms-signed-message.js.map +1 -0
  883. package/dist/service/kms/command/sim-kms-command.types.d.ts +1 -0
  884. package/dist/service/kms/command/sim-kms-command.types.d.ts.map +1 -1
  885. package/dist/service/kms/error/sim-kms.error.d.ts +22 -0
  886. package/dist/service/kms/error/sim-kms.error.d.ts.map +1 -1
  887. package/dist/service/kms/error/sim-kms.error.js +26 -0
  888. package/dist/service/kms/error/sim-kms.error.js.map +1 -1
  889. package/dist/service/kms/index.d.ts +3 -1
  890. package/dist/service/kms/index.d.ts.map +1 -1
  891. package/dist/service/kms/index.js +3 -1
  892. package/dist/service/kms/index.js.map +1 -1
  893. package/dist/service/kms/key/sim-kms-key-factory.d.ts +6 -0
  894. package/dist/service/kms/key/sim-kms-key-factory.d.ts.map +1 -1
  895. package/dist/service/kms/key/sim-kms-key-factory.js +7 -2
  896. package/dist/service/kms/key/sim-kms-key-factory.js.map +1 -1
  897. package/dist/service/kms/key/sim-kms-key-material-factory.d.ts +18 -0
  898. package/dist/service/kms/key/sim-kms-key-material-factory.d.ts.map +1 -0
  899. package/dist/service/kms/key/sim-kms-key-material-factory.js +21 -0
  900. package/dist/service/kms/key/sim-kms-key-material-factory.js.map +1 -0
  901. package/dist/service/kms/key/sim-kms-key-material.d.ts +38 -18
  902. package/dist/service/kms/key/sim-kms-key-material.d.ts.map +1 -1
  903. package/dist/service/kms/key/sim-kms-key-material.js +43 -54
  904. package/dist/service/kms/key/sim-kms-key-material.js.map +1 -1
  905. package/dist/service/kms/key/sim-kms-key-metadata.d.ts +11 -25
  906. package/dist/service/kms/key/sim-kms-key-metadata.d.ts.map +1 -1
  907. package/dist/service/kms/key/sim-kms-key-metadata.js +19 -4
  908. package/dist/service/kms/key/sim-kms-key-metadata.js.map +1 -1
  909. package/dist/service/kms/key/sim-kms-key-metadata.type.d.ts +28 -0
  910. package/dist/service/kms/key/sim-kms-key-metadata.type.d.ts.map +1 -0
  911. package/dist/service/kms/key/sim-kms-key-metadata.type.js +2 -0
  912. package/dist/service/kms/key/sim-kms-key-metadata.type.js.map +1 -0
  913. package/dist/service/kms/key/sim-kms-key.d.ts +21 -0
  914. package/dist/service/kms/key/sim-kms-key.d.ts.map +1 -1
  915. package/dist/service/kms/key/sim-kms-key.js +30 -0
  916. package/dist/service/kms/key/sim-kms-key.js.map +1 -1
  917. package/dist/service/kms/key/sim-kms-signing-key-material.d.ts +38 -0
  918. package/dist/service/kms/key/sim-kms-signing-key-material.d.ts.map +1 -0
  919. package/dist/service/kms/key/sim-kms-signing-key-material.js +56 -0
  920. package/dist/service/kms/key/sim-kms-signing-key-material.js.map +1 -0
  921. package/dist/service/kms/key/sim-kms-symmetric-key-material.d.ts +38 -0
  922. package/dist/service/kms/key/sim-kms-symmetric-key-material.d.ts.map +1 -0
  923. package/dist/service/kms/key/sim-kms-symmetric-key-material.js +74 -0
  924. package/dist/service/kms/key/sim-kms-symmetric-key-material.js.map +1 -0
  925. package/dist/service/kms/key/spec/sim-kms-key-spec.d.ts +69 -0
  926. package/dist/service/kms/key/spec/sim-kms-key-spec.d.ts.map +1 -0
  927. package/dist/service/kms/key/spec/sim-kms-key-spec.js +72 -0
  928. package/dist/service/kms/key/spec/sim-kms-key-spec.js.map +1 -0
  929. package/dist/service/kms/key/spec/sim-kms-key-specs.d.ts +25 -0
  930. package/dist/service/kms/key/spec/sim-kms-key-specs.d.ts.map +1 -0
  931. package/dist/service/kms/key/spec/sim-kms-key-specs.js +90 -0
  932. package/dist/service/kms/key/spec/sim-kms-key-specs.js.map +1 -0
  933. package/dist/service/kms/key/spec/sim-kms-signing-algorithm.d.ts +31 -0
  934. package/dist/service/kms/key/spec/sim-kms-signing-algorithm.d.ts.map +1 -0
  935. package/dist/service/kms/key/spec/sim-kms-signing-algorithm.js +38 -0
  936. package/dist/service/kms/key/spec/sim-kms-signing-algorithm.js.map +1 -0
  937. package/dist/service/kms/registry/sim-kms-registry.d.ts +39 -0
  938. package/dist/service/kms/registry/sim-kms-registry.d.ts.map +1 -0
  939. package/dist/service/kms/registry/sim-kms-registry.js +40 -0
  940. package/dist/service/kms/registry/sim-kms-registry.js.map +1 -0
  941. package/dist/service/kms/sdk/sim-kms-sdk-command-router.d.ts.map +1 -1
  942. package/dist/service/kms/sdk/sim-kms-sdk-command-router.js +12 -0
  943. package/dist/service/kms/sdk/sim-kms-sdk-command-router.js.map +1 -1
  944. package/dist/service/kms/sim-kms-commands.d.ts +2 -0
  945. package/dist/service/kms/sim-kms-commands.d.ts.map +1 -1
  946. package/dist/service/kms/sim-kms-commands.js +3 -0
  947. package/dist/service/kms/sim-kms-commands.js.map +1 -1
  948. package/dist/service/kms/sim-kms.d.ts +12 -0
  949. package/dist/service/kms/sim-kms.d.ts.map +1 -1
  950. package/dist/service/kms/sim-kms.js +21 -0
  951. package/dist/service/kms/sim-kms.js.map +1 -1
  952. package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.d.ts +2 -1
  953. package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.d.ts.map +1 -1
  954. package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js +3 -1
  955. package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js.map +1 -1
  956. package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.d.ts +27 -0
  957. package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.d.ts.map +1 -0
  958. package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.js +33 -0
  959. package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.js.map +1 -0
  960. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.d.ts +13 -1
  961. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.d.ts.map +1 -1
  962. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.js +8 -5
  963. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.js.map +1 -1
  964. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.d.ts +1 -2
  965. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.d.ts.map +1 -1
  966. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.js +8 -10
  967. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.js.map +1 -1
  968. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts +2 -0
  969. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts.map +1 -1
  970. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js +4 -1
  971. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js.map +1 -1
  972. package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.d.ts +41 -0
  973. package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.d.ts.map +1 -0
  974. package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.js +59 -0
  975. package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.js.map +1 -0
  976. package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.d.ts +9 -5
  977. package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.d.ts.map +1 -1
  978. package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.js +9 -5
  979. package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.js.map +1 -1
  980. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.d.ts +12 -0
  981. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.d.ts.map +1 -0
  982. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.js +15 -0
  983. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.js.map +1 -0
  984. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.d.ts +33 -0
  985. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.d.ts.map +1 -0
  986. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.js +58 -0
  987. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.js.map +1 -0
  988. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.d.ts +30 -0
  989. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.d.ts.map +1 -0
  990. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.js +42 -0
  991. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.js.map +1 -0
  992. package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.d.ts +9 -0
  993. package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.d.ts.map +1 -1
  994. package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.js +15 -0
  995. package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.js.map +1 -1
  996. package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.d.ts +2 -0
  997. package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.d.ts.map +1 -1
  998. package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.js +17 -1
  999. package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.js.map +1 -1
  1000. package/dist/service/route53/command/change-resource-record-sets/change-resource-record-sets.handler.d.ts.map +1 -1
  1001. package/dist/service/route53/command/change-resource-record-sets/change-resource-record-sets.handler.js +1 -1
  1002. package/dist/service/route53/command/change-resource-record-sets/change-resource-record-sets.handler.js.map +1 -1
  1003. package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.d.ts +5 -1
  1004. package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.d.ts.map +1 -1
  1005. package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.js +9 -4
  1006. package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.js.map +1 -1
  1007. package/dist/service/route53/command/create-hosted-zone/create-hosted-zone.handler.d.ts.map +1 -1
  1008. package/dist/service/route53/command/create-hosted-zone/create-hosted-zone.handler.js +4 -1
  1009. package/dist/service/route53/command/create-hosted-zone/create-hosted-zone.handler.js.map +1 -1
  1010. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.d.ts +4 -0
  1011. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.d.ts.map +1 -1
  1012. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.js +5 -0
  1013. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.js.map +1 -1
  1014. package/dist/service/route53/command/dnssec/dnssec.command.d.ts +78 -0
  1015. package/dist/service/route53/command/dnssec/dnssec.command.d.ts.map +1 -0
  1016. package/dist/service/route53/command/dnssec/dnssec.command.js +2 -0
  1017. package/dist/service/route53/command/dnssec/dnssec.command.js.map +1 -0
  1018. package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.d.ts +24 -0
  1019. package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.d.ts.map +1 -0
  1020. package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.js +31 -0
  1021. package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.js.map +1 -0
  1022. package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.d.ts +28 -0
  1023. package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.d.ts.map +1 -0
  1024. package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.js +30 -0
  1025. package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.js.map +1 -0
  1026. package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.d.ts +38 -0
  1027. package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.d.ts.map +1 -0
  1028. package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.js +49 -0
  1029. package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.js.map +1 -0
  1030. package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.d.ts +46 -0
  1031. package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.d.ts.map +1 -0
  1032. package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.js +80 -0
  1033. package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.js.map +1 -0
  1034. package/dist/service/route53/command/dnssec/sim-route53-ksk-input.d.ts +20 -0
  1035. package/dist/service/route53/command/dnssec/sim-route53-ksk-input.d.ts.map +1 -0
  1036. package/dist/service/route53/command/dnssec/sim-route53-ksk-input.js +34 -0
  1037. package/dist/service/route53/command/dnssec/sim-route53-ksk-input.js.map +1 -0
  1038. package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.d.ts +32 -0
  1039. package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.d.ts.map +1 -0
  1040. package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.js +57 -0
  1041. package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.js.map +1 -0
  1042. package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.d.ts +30 -0
  1043. package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.d.ts.map +1 -0
  1044. package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.js +40 -0
  1045. package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.js.map +1 -0
  1046. package/dist/service/route53/command/sim-route53-command.types.d.ts +14 -0
  1047. package/dist/service/route53/command/sim-route53-command.types.d.ts.map +1 -0
  1048. package/dist/service/route53/command/sim-route53-command.types.js +2 -0
  1049. package/dist/service/route53/command/sim-route53-command.types.js.map +1 -0
  1050. package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.d.ts +17 -0
  1051. package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.d.ts.map +1 -0
  1052. package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.js +41 -0
  1053. package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.js.map +1 -0
  1054. package/dist/service/route53/dnssec/sim-route53-dnskey-tag.d.ts +10 -0
  1055. package/dist/service/route53/dnssec/sim-route53-dnskey-tag.d.ts.map +1 -0
  1056. package/dist/service/route53/dnssec/sim-route53-dnskey-tag.js +26 -0
  1057. package/dist/service/route53/dnssec/sim-route53-dnskey-tag.js.map +1 -0
  1058. package/dist/service/route53/dnssec/sim-route53-dnskey.d.ts +36 -0
  1059. package/dist/service/route53/dnssec/sim-route53-dnskey.d.ts.map +1 -0
  1060. package/dist/service/route53/dnssec/sim-route53-dnskey.js +67 -0
  1061. package/dist/service/route53/dnssec/sim-route53-dnskey.js.map +1 -0
  1062. package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.d.ts +18 -0
  1063. package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.d.ts.map +1 -0
  1064. package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.js +18 -0
  1065. package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.js.map +1 -0
  1066. package/dist/service/route53/dnssec/sim-route53-key-signing-key.d.ts +95 -0
  1067. package/dist/service/route53/dnssec/sim-route53-key-signing-key.d.ts.map +1 -0
  1068. package/dist/service/route53/dnssec/sim-route53-key-signing-key.js +110 -0
  1069. package/dist/service/route53/dnssec/sim-route53-key-signing-key.js.map +1 -0
  1070. package/dist/service/route53/dnssec/sim-route53-zone-dnssec.d.ts +75 -0
  1071. package/dist/service/route53/dnssec/sim-route53-zone-dnssec.d.ts.map +1 -0
  1072. package/dist/service/route53/dnssec/sim-route53-zone-dnssec.js +109 -0
  1073. package/dist/service/route53/dnssec/sim-route53-zone-dnssec.js.map +1 -0
  1074. package/dist/service/route53/error/sim-route53.error.d.ts +55 -0
  1075. package/dist/service/route53/error/sim-route53.error.d.ts.map +1 -1
  1076. package/dist/service/route53/error/sim-route53.error.js +67 -0
  1077. package/dist/service/route53/error/sim-route53.error.js.map +1 -1
  1078. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.d.ts +16 -8
  1079. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.d.ts.map +1 -1
  1080. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.js +15 -11
  1081. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.js.map +1 -1
  1082. package/dist/service/route53/index.d.ts +3 -0
  1083. package/dist/service/route53/index.d.ts.map +1 -1
  1084. package/dist/service/route53/index.js +3 -0
  1085. package/dist/service/route53/index.js.map +1 -1
  1086. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +1 -0
  1087. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
  1088. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +1 -0
  1089. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
  1090. package/dist/service/route53/resolve/sim-route53-resolver.d.ts +7 -0
  1091. package/dist/service/route53/resolve/sim-route53-resolver.d.ts.map +1 -1
  1092. package/dist/service/route53/resolve/sim-route53-resolver.js +12 -4
  1093. package/dist/service/route53/resolve/sim-route53-resolver.js.map +1 -1
  1094. package/dist/service/route53/sdk/sim-route53-sdk-command-router.d.ts.map +1 -1
  1095. package/dist/service/route53/sdk/sim-route53-sdk-command-router.js +28 -0
  1096. package/dist/service/route53/sdk/sim-route53-sdk-command-router.js.map +1 -1
  1097. package/dist/service/route53/sim-route53-commands.d.ts +40 -0
  1098. package/dist/service/route53/sim-route53-commands.d.ts.map +1 -0
  1099. package/dist/service/route53/sim-route53-commands.js +66 -0
  1100. package/dist/service/route53/sim-route53-commands.js.map +1 -0
  1101. package/dist/service/route53/sim-route53-request-options.d.ts +8 -0
  1102. package/dist/service/route53/sim-route53-request-options.d.ts.map +1 -0
  1103. package/dist/service/route53/sim-route53-request-options.js +2 -0
  1104. package/dist/service/route53/sim-route53-request-options.js.map +1 -0
  1105. package/dist/service/route53/sim-route53.d.ts +52 -19
  1106. package/dist/service/route53/sim-route53.d.ts.map +1 -1
  1107. package/dist/service/route53/sim-route53.js +59 -49
  1108. package/dist/service/route53/sim-route53.js.map +1 -1
  1109. package/package.json +11 -1
  1110. package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.d.ts +0 -24
  1111. package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.d.ts.map +0 -1
  1112. package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.js +0 -51
  1113. package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.js.map +0 -1
  1114. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts +0 -42
  1115. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts.map +0 -1
  1116. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js +0 -44
  1117. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js.map +0 -1
@@ -0,0 +1,75 @@
1
+ import { createHash, randomUUID } from "node:crypto";
2
+ /**
3
+ * How long an authorization code lasts.
4
+ *
5
+ * Real Cognito gives one five minutes, and nothing configures that.
6
+ */
7
+ const codeMinutes = 5;
8
+ /**
9
+ * The only PKCE method real Cognito supports.
10
+ */
11
+ export const simCognitoCodeChallengeMethod = "S256";
12
+ /**
13
+ * One authorization code, which is what an authorization code grant carries
14
+ * from the browser to the application's own server.
15
+ *
16
+ * The code is opaque, single use and tied to the app client and redirect URI
17
+ * it was issued for. Everything the token endpoint needs to answer with tokens
18
+ * is here, because the code is all that request carries.
19
+ */
20
+ export class SimCognitoAuthorizationCode {
21
+ value;
22
+ username;
23
+ clientId;
24
+ redirectUri;
25
+ scopes;
26
+ issuedAt;
27
+ codeChallenge;
28
+ constructor(properties) {
29
+ this.value = randomUUID();
30
+ this.username = properties.username;
31
+ this.clientId = properties.clientId;
32
+ this.redirectUri = properties.redirectUri;
33
+ this.scopes = properties.scopes;
34
+ this.issuedAt = properties.issuedAt;
35
+ this.codeChallenge = properties.codeChallenge;
36
+ }
37
+ /**
38
+ * Whether this code has run out by a given moment.
39
+ */
40
+ isExpiredAt(now) {
41
+ const expiresAt = new Date(this.issuedAt.getTime() + codeMinutes * 60_000);
42
+ return now.getTime() >= expiresAt.getTime();
43
+ }
44
+ /**
45
+ * Whether a token request presents the verifier this code was issued for.
46
+ *
47
+ * A code issued without a challenge needs no verifier, and one issued with a
48
+ * challenge is only redeemed by the verifier it was derived from. Real
49
+ * Cognito supports the `S256` method alone, so the verifier is hashed rather
50
+ * than compared as it stands.
51
+ */
52
+ matchesVerifier(codeVerifier) {
53
+ if (this.codeChallenge === undefined) {
54
+ return true;
55
+ }
56
+ if (codeVerifier === undefined) {
57
+ return false;
58
+ }
59
+ return (createHash("sha256").update(codeVerifier).digest("base64url") ===
60
+ this.codeChallenge);
61
+ }
62
+ /**
63
+ * Whether the token request names the redirect URI this code was issued for.
64
+ */
65
+ isForRedirect(redirectUri) {
66
+ return this.redirectUri === redirectUri;
67
+ }
68
+ /**
69
+ * Whether this code was issued to an app client.
70
+ */
71
+ isFor(clientId) {
72
+ return this.clientId === clientId;
73
+ }
74
+ }
75
+ //# sourceMappingURL=sim-cognito-authorization-code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-authorization-code.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-authorization-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAErD;;;;GAIG;AACH,MAAM,WAAW,GAAG,CAAC,CAAC;AAEtB;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC;AAgBpD;;;;;;;GAOG;AACH,MAAM,OAAO,2BAA2B;IACtB,KAAK,CAAS;IACd,QAAQ,CAAS;IACjB,QAAQ,CAAS;IACjB,WAAW,CAAS;IACpB,MAAM,CAAoB;IAC1B,QAAQ,CAAO;IAEd,aAAa,CAAqB;IAEnD,YAAY,UAAiD;QAC3D,IAAI,CAAC,KAAK,GAAG,UAAU,EAAE,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;QAC1C,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;IAChD,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,GAAS;QACnB,MAAM,SAAS,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,GAAG,WAAW,GAAG,MAAM,CAAC,CAAC;QAE3E,OAAO,GAAG,CAAC,OAAO,EAAE,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;IAC9C,CAAC;IAED;;;;;;;OAOG;IACH,eAAe,CAAC,YAAgC;QAC9C,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,EAAE,CAAC;YACrC,OAAO,IAAI,CAAC;QACd,CAAC;QAED,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;YAC/B,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO,CACL,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC;YAC7D,IAAI,CAAC,aAAa,CACnB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,WAA+B;QAC3C,OAAO,IAAI,CAAC,WAAW,KAAK,WAAW,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,QAAgB;QACpB,OAAO,IAAI,CAAC,QAAQ,KAAK,QAAQ,CAAC;IACpC,CAAC;CACF"}
@@ -39,6 +39,14 @@ export declare class SimCognitoIssuedTokenStore {
39
39
  * same way, as they do on real Cognito.
40
40
  */
41
41
  requireRefreshToken(request: SimCognitoRefreshTokenRequest): SimCognitoIssuedToken;
42
+ /**
43
+ * Find a refresh token this pool issued and still holds.
44
+ *
45
+ * The hosted token endpoint reads one this way rather than through
46
+ * `requireRefreshToken`, because its refusal is an OAuth error rather than
47
+ * the API exception a `REFRESH_TOKEN_AUTH` request is answered with.
48
+ */
49
+ findRefreshToken(value: string | undefined): SimCognitoIssuedToken | undefined;
42
50
  /**
43
51
  * Find an access token this pool issued and still honours.
44
52
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-issued-token-store.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token-store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4C;IAC1E,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA4C;IAEzE;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAe1B;;OAEG;IACH,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAKlD;IAED;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAKjD;IAED;;;;;;OAMG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,GACrC,qBAAqB,CAYvB;IAED;;;;;;OAMG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAEhE;IAED;;;;;;OAMG;IACH,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAMjC;CACF"}
1
+ {"version":3,"file":"sim-cognito-issued-token-store.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token-store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4C;IAC1E,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA4C;IAEzE;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAe1B;;OAEG;IACH,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAKlD;IAED;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAKjD;IAED;;;;;;OAMG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,GACrC,qBAAqB,CAYvB;IAED;;;;;;OAMG;IACH,gBAAgB,CACd,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,qBAAqB,GAAG,SAAS,CAMnC;IAED;;;;;;OAMG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAEhE;IAED;;;;;;OAMG;IACH,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAMjC;CACF"}
@@ -55,6 +55,19 @@ export class SimCognitoIssuedTokenStore {
55
55
  }
56
56
  return issued;
57
57
  }
58
+ /**
59
+ * Find a refresh token this pool issued and still holds.
60
+ *
61
+ * The hosted token endpoint reads one this way rather than through
62
+ * `requireRefreshToken`, because its refusal is an OAuth error rather than
63
+ * the API exception a `REFRESH_TOKEN_AUTH` request is answered with.
64
+ */
65
+ findRefreshToken(value) {
66
+ if (value === undefined) {
67
+ return undefined;
68
+ }
69
+ return this.refreshTokens.get(value);
70
+ }
58
71
  /**
59
72
  * Find an access token this pool issued and still honours.
60
73
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-issued-token-store.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAYpF;;;;;;;GAOG;AACH,MAAM,OAAO,0BAA0B;IACpB,aAAa,GAAG,IAAI,GAAG,EAAiC,CAAC;IACzD,YAAY,GAAG,IAAI,GAAG,EAAiC,CAAC;IAEzE;;;OAGG;IACK,MAAM,CAAC,WAAW,CACxB,MAA0C,EAC1C,KAAiD;QAEjD,MAAM,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;aACR,MAAM,CAAC,KAAK,CAAC;aACb,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;aAC7B,OAAO,EAAE,CAAC;QAEb,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC;IACH,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,KAA4B;QAC1C,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CACpE,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,CACnC,CAAC;QACF,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC7C,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,KAA4B;QACzC,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CACnE,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,CACnC,CAAC;QACF,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED;;;;;;OAMG;IACH,mBAAmB,CACjB,OAAsC;QAEtC,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAErD,IAAI,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,IAAI,EAAE,CAAC;YAC7C,MAAM,IAAI,gCAAgC,CAAC,wBAAwB,CAAC,CAAC;QACvE,CAAC;QAED,IAAI,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YACpC,MAAM,IAAI,gCAAgC,CAAC,4BAA4B,CAAC,CAAC;QAC3E,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACH,eAAe,CAAC,KAAa;QAC3B,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACtC,CAAC;IAED;;;;;;OAMG;IACH,UAAU,CAAC,QAAgB;QACzB,MAAM,MAAM,GAAG,CAAC,MAA6B,EAAW,EAAE,CACxD,MAAM,CAAC,QAAQ,KAAK,QAAQ,CAAC;QAE/B,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QACnE,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACpE,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cognito-issued-token-store.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAYpF;;;;;;;GAOG;AACH,MAAM,OAAO,0BAA0B;IACpB,aAAa,GAAG,IAAI,GAAG,EAAiC,CAAC;IACzD,YAAY,GAAG,IAAI,GAAG,EAAiC,CAAC;IAEzE;;;OAGG;IACK,MAAM,CAAC,WAAW,CACxB,MAA0C,EAC1C,KAAiD;QAEjD,MAAM,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;aACR,MAAM,CAAC,KAAK,CAAC;aACb,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;aAC7B,OAAO,EAAE,CAAC;QAEb,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC;IACH,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,KAA4B;QAC1C,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CACpE,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,CACnC,CAAC;QACF,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC7C,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,KAA4B;QACzC,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CACnE,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,CACnC,CAAC;QACF,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED;;;;;;OAMG;IACH,mBAAmB,CACjB,OAAsC;QAEtC,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAErD,IAAI,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,IAAI,EAAE,CAAC;YAC7C,MAAM,IAAI,gCAAgC,CAAC,wBAAwB,CAAC,CAAC;QACvE,CAAC;QAED,IAAI,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YACpC,MAAM,IAAI,gCAAgC,CAAC,4BAA4B,CAAC,CAAC;QAC3E,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACH,gBAAgB,CACd,KAAyB;QAEzB,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;IAED;;;;;;OAMG;IACH,eAAe,CAAC,KAAa;QAC3B,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACtC,CAAC;IAED;;;;;;OAMG;IACH,UAAU,CAAC,QAAgB;QACzB,MAAM,MAAM,GAAG,CAAC,MAA6B,EAAW,EAAE,CACxD,MAAM,CAAC,QAAQ,KAAK,QAAQ,CAAC;QAE/B,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QACnE,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACpE,CAAC;CACF"}
@@ -4,6 +4,11 @@ interface SimCognitoIssuedTokenProperties {
4
4
  readonly clientId: string;
5
5
  readonly issuedAt: Date;
6
6
  readonly expiresAt: Date;
7
+ /**
8
+ * The scopes the sign-in this token came from was granted, which a refresh
9
+ * gives the tokens it hands out next.
10
+ */
11
+ readonly scopes?: readonly string[] | undefined;
7
12
  }
8
13
  /**
9
14
  * One token a pool has issued, as the pool remembers it.
@@ -20,6 +25,11 @@ export declare class SimCognitoIssuedToken {
20
25
  readonly clientId: string;
21
26
  readonly issuedAt: Date;
22
27
  readonly expiresAt: Date;
28
+ /**
29
+ * The scopes the sign-in was granted, which a token from the API carries
30
+ * none of: the scope of one of those is settled where the token is signed.
31
+ */
32
+ readonly scopes: readonly string[];
23
33
  constructor(properties: SimCognitoIssuedTokenProperties);
24
34
  /**
25
35
  * Whether this token has run out by a given moment.
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-issued-token.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token.ts"],"names":[],"mappings":"AAAA,UAAU,+BAA+B;IACvC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B;AAED;;;;;;;;GAQG;AACH,qBAAa,qBAAqB;IAChC,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,QAAQ,EAAE,IAAI,CAAC;IAC/B,SAAgB,SAAS,EAAE,IAAI,CAAC;IAEhC,YAAY,UAAU,EAAE,+BAA+B,EAMtD;IAED;;OAEG;IACH,WAAW,CAAC,GAAG,EAAE,IAAI,GAAG,OAAO,CAE9B;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAE/B;CACF"}
1
+ {"version":3,"file":"sim-cognito-issued-token.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token.ts"],"names":[],"mappings":"AAAA,UAAU,+BAA+B;IACvC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;IAEzB;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;CACjD;AAED;;;;;;;;GAQG;AACH,qBAAa,qBAAqB;IAChC,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,QAAQ,EAAE,IAAI,CAAC;IAC/B,SAAgB,SAAS,EAAE,IAAI,CAAC;IAEhC;;;OAGG;IACH,SAAgB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAE1C,YAAY,UAAU,EAAE,+BAA+B,EAOtD;IAED;;OAEG;IACH,WAAW,CAAC,GAAG,EAAE,IAAI,GAAG,OAAO,CAE9B;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAE/B;CACF"}
@@ -13,12 +13,18 @@ export class SimCognitoIssuedToken {
13
13
  clientId;
14
14
  issuedAt;
15
15
  expiresAt;
16
+ /**
17
+ * The scopes the sign-in was granted, which a token from the API carries
18
+ * none of: the scope of one of those is settled where the token is signed.
19
+ */
20
+ scopes;
16
21
  constructor(properties) {
17
22
  this.value = properties.value;
18
23
  this.username = properties.username;
19
24
  this.clientId = properties.clientId;
20
25
  this.issuedAt = properties.issuedAt;
21
26
  this.expiresAt = properties.expiresAt;
27
+ this.scopes = properties.scopes ?? [];
22
28
  }
23
29
  /**
24
30
  * Whether this token has run out by a given moment.
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-issued-token.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token.ts"],"names":[],"mappings":"AAQA;;;;;;;;GAQG;AACH,MAAM,OAAO,qBAAqB;IAChB,KAAK,CAAS;IACd,QAAQ,CAAS;IACjB,QAAQ,CAAS;IACjB,QAAQ,CAAO;IACf,SAAS,CAAO;IAEhC,YAAY,UAA2C;QACrD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,GAAS;QACnB,OAAO,GAAG,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;IACnD,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAgB;QACpB,OAAO,IAAI,CAAC,QAAQ,KAAK,QAAQ,CAAC;IACpC,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cognito-issued-token.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token.ts"],"names":[],"mappings":"AAcA;;;;;;;;GAQG;AACH,MAAM,OAAO,qBAAqB;IAChB,KAAK,CAAS;IACd,QAAQ,CAAS;IACjB,QAAQ,CAAS;IACjB,QAAQ,CAAO;IACf,SAAS,CAAO;IAEhC;;;OAGG;IACa,MAAM,CAAoB;IAE1C,YAAY,UAA2C;QACrD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,IAAI,EAAE,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,GAAS;QACnB,OAAO,GAAG,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;IACnD,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAgB;QACpB,OAAO,IAAI,CAAC,QAAQ,KAAK,QAAQ,CAAC;IACpC,CAAC;CACF"}
@@ -1,18 +1,57 @@
1
+ import { SimCognitoIdentityProviderStore } from "../idp/sim-cognito-identity-provider-store.js";
2
+ import type { SimCognitoUserPoolDomain } from "../domain/sim-cognito-user-pool-domain.js";
1
3
  import type { SimCognitoAuthSession } from "./sim-cognito-auth-session.js";
2
4
  import { type SimCognitoAuthSessionRequest } from "./sim-cognito-auth-session-store.js";
5
+ import type { SimCognitoAuthorizationCode } from "./sim-cognito-authorization-code.js";
3
6
  import type { SimCognitoIssuedToken } from "./sim-cognito-issued-token.js";
4
7
  import { type SimCognitoRefreshTokenRequest } from "./sim-cognito-issued-token-store.js";
5
8
  /**
6
- * The authentication state of one simulated user pool: the sign-ins that are
7
- * part way through, and the tokens the finished ones handed out.
9
+ * The authentication state of one simulated user pool: where users can sign
10
+ * in, the sign-ins that are part way through, and the tokens the finished ones
11
+ * handed out.
8
12
  *
9
- * The two live together because signing a user out reaches both kinds of
10
- * state, and because keeping them here leaves `SimCognitoUserPool` as what it
13
+ * These live together because signing a user out reaches more than one of
14
+ * them, and because keeping them here leaves `SimCognitoUserPool` as what it
11
15
  * is elsewhere, a resource holding its contents.
16
+ *
17
+ * The hosted domain and the external identity providers are here for the same
18
+ * reason. A domain is where a browser signs in, a provider is who it signs in
19
+ * with, and an authorization code is a sign-in part way through, in the same
20
+ * way a challenge session is.
12
21
  */
13
22
  export declare class SimCognitoPoolAuth {
23
+ #private;
24
+ /**
25
+ * The external identity providers this pool federates to.
26
+ */
27
+ readonly identityProviders: SimCognitoIdentityProviderStore;
14
28
  private readonly sessions;
29
+ private readonly codes;
15
30
  private readonly tokens;
31
+ /**
32
+ * The hosted domain this pool serves its OAuth endpoints on, if it has one.
33
+ *
34
+ * A pool has at most one, as a real pool does: a prefix domain and a custom
35
+ * domain are two forms of the same thing rather than two domains.
36
+ */
37
+ get domain(): SimCognitoUserPoolDomain | undefined;
38
+ /**
39
+ * Give this pool the domain a `CreateUserPoolDomain` request asked for.
40
+ */
41
+ addDomain(domain: SimCognitoUserPoolDomain): void;
42
+ /**
43
+ * Forget this pool's domain, because it has been deleted.
44
+ */
45
+ removeDomain(): void;
46
+ /**
47
+ * Remember an authorization code this pool handed to a browser.
48
+ */
49
+ addAuthorizationCode(code: SimCognitoAuthorizationCode): void;
50
+ /**
51
+ * Take the authorization code a token request carries, if this pool still
52
+ * holds one that has not run out.
53
+ */
54
+ spendAuthorizationCode(value: string | undefined, now: Date): SimCognitoAuthorizationCode | undefined;
16
55
  /**
17
56
  * Remember a challenge session an authentication was left waiting on.
18
57
  */
@@ -37,6 +76,10 @@ export declare class SimCognitoPoolAuth {
37
76
  * Resolve the refresh token a refresh request carries, or refuse.
38
77
  */
39
78
  requireRefreshToken(request: SimCognitoRefreshTokenRequest): SimCognitoIssuedToken;
79
+ /**
80
+ * Find a refresh token this pool issued and still holds.
81
+ */
82
+ findRefreshToken(value: string | undefined): SimCognitoIssuedToken | undefined;
40
83
  /**
41
84
  * Find an access token this pool issued and still honours.
42
85
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-pool-auth.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-pool-auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAEL,KAAK,6BAA6B,EACnC,MAAM,qCAAqC,CAAC;AAE7C;;;;;;;GAOG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoC;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAE/C;IAED;;OAEG;IACH,cAAc,CAAC,OAAO,EAAE,4BAA4B,GAAG,qBAAqB,CAE3E;IAED;;OAEG;IACH,aAAa,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAElD;IAED;;OAEG;IACH,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAElD;IAED;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAEjD;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,GACrC,qBAAqB,CAEvB;IAED;;OAEG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAEhE;IAED;;OAEG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAE9B;CACF"}
1
+ {"version":3,"file":"sim-cognito-pool-auth.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-pool-auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,+CAA+C,CAAC;AAChG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAEvF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAEL,KAAK,6BAA6B,EACnC,MAAM,qCAAqC,CAAC;AAE7C;;;;;;;;;;;;;GAaG;AACH,qBAAa,kBAAkB;;IAC7B;;OAEG;IACH,SAAgB,iBAAiB,kCAAyC;IAE1E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoC;IAC7D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0C;IAChE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAI3D;;;;;OAKG;IACH,IAAI,MAAM,IAAI,wBAAwB,GAAG,SAAS,CAEjD;IAED;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,wBAAwB,GAAG,IAAI,CAEhD;IAED;;OAEG;IACH,YAAY,IAAI,IAAI,CAEnB;IAED;;OAEG;IACH,oBAAoB,CAAC,IAAI,EAAE,2BAA2B,GAAG,IAAI,CAE5D;IAED;;;OAGG;IACH,sBAAsB,CACpB,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,GAAG,EAAE,IAAI,GACR,2BAA2B,GAAG,SAAS,CAEzC;IAED;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAE/C;IAED;;OAEG;IACH,cAAc,CAAC,OAAO,EAAE,4BAA4B,GAAG,qBAAqB,CAE3E;IAED;;OAEG;IACH,aAAa,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAElD;IAED;;OAEG;IACH,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAElD;IAED;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAEjD;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,GACrC,qBAAqB,CAEvB;IAED;;OAEG;IACH,gBAAgB,CACd,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,qBAAqB,GAAG,SAAS,CAEnC;IAED;;OAEG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAEhE;IAED;;OAEG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAE9B;CACF"}
@@ -1,16 +1,64 @@
1
+ import { SimCognitoIdentityProviderStore } from "../idp/sim-cognito-identity-provider-store.js";
1
2
  import { SimCognitoAuthSessionStore, } from "./sim-cognito-auth-session-store.js";
3
+ import { SimCognitoAuthorizationCodeStore } from "./sim-cognito-authorization-code-store.js";
2
4
  import { SimCognitoIssuedTokenStore, } from "./sim-cognito-issued-token-store.js";
3
5
  /**
4
- * The authentication state of one simulated user pool: the sign-ins that are
5
- * part way through, and the tokens the finished ones handed out.
6
+ * The authentication state of one simulated user pool: where users can sign
7
+ * in, the sign-ins that are part way through, and the tokens the finished ones
8
+ * handed out.
6
9
  *
7
- * The two live together because signing a user out reaches both kinds of
8
- * state, and because keeping them here leaves `SimCognitoUserPool` as what it
10
+ * These live together because signing a user out reaches more than one of
11
+ * them, and because keeping them here leaves `SimCognitoUserPool` as what it
9
12
  * is elsewhere, a resource holding its contents.
13
+ *
14
+ * The hosted domain and the external identity providers are here for the same
15
+ * reason. A domain is where a browser signs in, a provider is who it signs in
16
+ * with, and an authorization code is a sign-in part way through, in the same
17
+ * way a challenge session is.
10
18
  */
11
19
  export class SimCognitoPoolAuth {
20
+ /**
21
+ * The external identity providers this pool federates to.
22
+ */
23
+ identityProviders = new SimCognitoIdentityProviderStore();
12
24
  sessions = new SimCognitoAuthSessionStore();
25
+ codes = new SimCognitoAuthorizationCodeStore();
13
26
  tokens = new SimCognitoIssuedTokenStore();
27
+ #domain;
28
+ /**
29
+ * The hosted domain this pool serves its OAuth endpoints on, if it has one.
30
+ *
31
+ * A pool has at most one, as a real pool does: a prefix domain and a custom
32
+ * domain are two forms of the same thing rather than two domains.
33
+ */
34
+ get domain() {
35
+ return this.#domain;
36
+ }
37
+ /**
38
+ * Give this pool the domain a `CreateUserPoolDomain` request asked for.
39
+ */
40
+ addDomain(domain) {
41
+ this.#domain = domain;
42
+ }
43
+ /**
44
+ * Forget this pool's domain, because it has been deleted.
45
+ */
46
+ removeDomain() {
47
+ this.#domain = undefined;
48
+ }
49
+ /**
50
+ * Remember an authorization code this pool handed to a browser.
51
+ */
52
+ addAuthorizationCode(code) {
53
+ this.codes.add(code);
54
+ }
55
+ /**
56
+ * Take the authorization code a token request carries, if this pool still
57
+ * holds one that has not run out.
58
+ */
59
+ spendAuthorizationCode(value, now) {
60
+ return this.codes.spend(value, now);
61
+ }
14
62
  /**
15
63
  * Remember a challenge session an authentication was left waiting on.
16
64
  */
@@ -47,6 +95,12 @@ export class SimCognitoPoolAuth {
47
95
  requireRefreshToken(request) {
48
96
  return this.tokens.requireRefreshToken(request);
49
97
  }
98
+ /**
99
+ * Find a refresh token this pool issued and still holds.
100
+ */
101
+ findRefreshToken(value) {
102
+ return this.tokens.findRefreshToken(value);
103
+ }
50
104
  /**
51
105
  * Find an access token this pool issued and still honours.
52
106
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-pool-auth.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-pool-auth.ts"],"names":[],"mappings":"AACA,OAAO,EACL,0BAA0B,GAE3B,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,0BAA0B,GAE3B,MAAM,qCAAqC,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,OAAO,kBAAkB;IACZ,QAAQ,GAAG,IAAI,0BAA0B,EAAE,CAAC;IAC5C,MAAM,GAAG,IAAI,0BAA0B,EAAE,CAAC;IAE3D;;OAEG;IACH,UAAU,CAAC,OAA8B;QACvC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,OAAqC;QAClD,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,OAA8B;QAC1C,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,KAA4B;QAC1C,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,KAA4B;QACzC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,KAAa;QAC3B,OAAO,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,QAAgB;QACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cognito-pool-auth.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-pool-auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,+CAA+C,CAAC;AAGhG,OAAO,EACL,0BAA0B,GAE3B,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAE7F,OAAO,EACL,0BAA0B,GAE3B,MAAM,qCAAqC,CAAC;AAE7C;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,kBAAkB;IAC7B;;OAEG;IACa,iBAAiB,GAAG,IAAI,+BAA+B,EAAE,CAAC;IAEzD,QAAQ,GAAG,IAAI,0BAA0B,EAAE,CAAC;IAC5C,KAAK,GAAG,IAAI,gCAAgC,EAAE,CAAC;IAC/C,MAAM,GAAG,IAAI,0BAA0B,EAAE,CAAC;IAE3D,OAAO,CAAuC;IAE9C;;;;;OAKG;IACH,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,MAAgC;QACxC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;IAED;;OAEG;IACH,YAAY;QACV,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,IAAiC;QACpD,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,sBAAsB,CACpB,KAAyB,EACzB,GAAS;QAET,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,OAA8B;QACvC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,OAAqC;QAClD,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,OAA8B;QAC1C,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,KAA4B;QAC1C,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,KAA4B;QACzC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACH,gBAAgB,CACd,KAAyB;QAEzB,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC7C,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,KAAa;QAC3B,OAAO,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,QAAgB;QACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The OAuth grant this simulation runs.
3
+ *
4
+ * The implicit grant hands tokens to the browser in a URL fragment, and the
5
+ * client credentials grant needs the resource servers that define the scopes
6
+ * it is made for. Neither is simulated, so a client asking for one is refused
7
+ * rather than given an authorization server that would not answer it.
8
+ */
9
+ export declare const simCognitoSimulatedOAuthFlow = "code";
10
+ /**
11
+ * The OAuth grants an app client asked to be able to make.
12
+ */
13
+ export declare function simCognitoRequiredOAuthFlows(requested: readonly string[] | undefined): readonly string[];
14
+ /**
15
+ * The scopes an app client asked to be able to grant.
16
+ */
17
+ export declare function simCognitoRequiredOAuthScopes(requested: readonly string[] | undefined): readonly string[];
18
+ //# sourceMappingURL=sim-cognito-oauth-grants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-oauth-grants.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/client/sim-cognito-oauth-grants.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B,SAAS,CAAC;AAsBnD;;GAEG;AACH,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GACvC,SAAS,MAAM,EAAE,CAqBnB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GACvC,SAAS,MAAM,EAAE,CAcnB"}
@@ -0,0 +1,61 @@
1
+ import { SimCognitoInvalidParameterException } from "../../error/sim-cognito.error.js";
2
+ /**
3
+ * The OAuth grant this simulation runs.
4
+ *
5
+ * The implicit grant hands tokens to the browser in a URL fragment, and the
6
+ * client credentials grant needs the resource servers that define the scopes
7
+ * it is made for. Neither is simulated, so a client asking for one is refused
8
+ * rather than given an authorization server that would not answer it.
9
+ */
10
+ export const simCognitoSimulatedOAuthFlow = "code";
11
+ const oauthFlows = new Set([
12
+ simCognitoSimulatedOAuthFlow,
13
+ "implicit",
14
+ "client_credentials",
15
+ ]);
16
+ /**
17
+ * The scopes a pool defines without a resource server.
18
+ *
19
+ * A custom scope belongs to a resource server, which is not simulated, so a
20
+ * client is held to these.
21
+ */
22
+ const systemScopes = new Set([
23
+ "openid",
24
+ "email",
25
+ "phone",
26
+ "profile",
27
+ "aws.cognito.signin.user.admin",
28
+ ]);
29
+ /**
30
+ * The OAuth grants an app client asked to be able to make.
31
+ */
32
+ export function simCognitoRequiredOAuthFlows(requested) {
33
+ const flows = [...(requested ?? [])];
34
+ for (const flow of flows) {
35
+ if (!oauthFlows.has(flow)) {
36
+ throw new SimCognitoInvalidParameterException(`AllowedOAuthFlows '${flow}' is not an OAuth flow: the flows are ` +
37
+ `${oauthFlows.values().toArray().join(", ")}.`);
38
+ }
39
+ if (flow !== simCognitoSimulatedOAuthFlow) {
40
+ throw new SimCognitoInvalidParameterException(`AllowedOAuthFlows '${flow}' is not simulated: the grant would be ` +
41
+ `offered here and answered on real AWS. Only '${simCognitoSimulatedOAuthFlow}' ` +
42
+ `is supported.`);
43
+ }
44
+ }
45
+ return flows;
46
+ }
47
+ /**
48
+ * The scopes an app client asked to be able to grant.
49
+ */
50
+ export function simCognitoRequiredOAuthScopes(requested) {
51
+ const scopes = [...(requested ?? [])];
52
+ for (const scope of scopes) {
53
+ if (!systemScopes.has(scope)) {
54
+ throw new SimCognitoInvalidParameterException(`AllowedOAuthScopes '${scope}' is not simulated: a custom scope ` +
55
+ `belongs to a resource server, which is not simulated. The ` +
56
+ `system scopes are ${systemScopes.values().toArray().join(", ")}.`);
57
+ }
58
+ }
59
+ return scopes;
60
+ }
61
+ //# sourceMappingURL=sim-cognito-oauth-grants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-oauth-grants.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/client/sim-cognito-oauth-grants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAEvF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC;AAEnD,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC;IACzB,4BAA4B;IAC5B,UAAU;IACV,oBAAoB;CACrB,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC;IAC3B,QAAQ;IACR,OAAO;IACP,OAAO;IACP,SAAS;IACT,+BAA+B;CAChC,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,UAAU,4BAA4B,CAC1C,SAAwC;IAExC,MAAM,KAAK,GAAG,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,CAAC;IAErC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;YAC1B,MAAM,IAAI,mCAAmC,CAC3C,sBAAsB,IAAI,wCAAwC;gBAChE,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CACjD,CAAC;QACJ,CAAC;QAED,IAAI,IAAI,KAAK,4BAA4B,EAAE,CAAC;YAC1C,MAAM,IAAI,mCAAmC,CAC3C,sBAAsB,IAAI,yCAAyC;gBACjE,gDAAgD,4BAA4B,IAAI;gBAChF,eAAe,CAClB,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,6BAA6B,CAC3C,SAAwC;IAExC,MAAM,MAAM,GAAG,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,CAAC;IAEtC,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,MAAM,IAAI,mCAAmC,CAC3C,uBAAuB,KAAK,qCAAqC;gBAC/D,4DAA4D;gBAC5D,qBAAqB,YAAY,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CACrE,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,60 @@
1
+ import type { SimCognitoRedirectUrls } from "./sim-cognito-redirect-urls.js";
2
+ /**
3
+ * The OAuth properties of an app client, in the shape a request sets them and
4
+ * a described client reports them.
5
+ */
6
+ export interface SimCognitoOAuthSettingsType {
7
+ readonly AllowedOAuthFlows?: readonly string[] | undefined;
8
+ readonly AllowedOAuthFlowsUserPoolClient?: boolean | undefined;
9
+ readonly AllowedOAuthScopes?: readonly string[] | undefined;
10
+ readonly CallbackURLs?: readonly string[] | undefined;
11
+ readonly LogoutURLs?: readonly string[] | undefined;
12
+ readonly DefaultRedirectURI?: string | undefined;
13
+ readonly SupportedIdentityProviders?: readonly string[] | undefined;
14
+ }
15
+ /**
16
+ * What an app client is allowed to do at a pool's hosted domain.
17
+ *
18
+ * These settings are what the authorize, token and logout endpoints check a
19
+ * request against: which grant it may ask for, which scopes it may be given,
20
+ * which URL it may be sent back to, and which identity provider it may sign a
21
+ * user in through. Nothing here is honoured without a domain, because there is
22
+ * no endpoint to reach until the pool has one.
23
+ *
24
+ * `AllowedOAuthFlowsUserPoolClient` gates the rest, as it does on real
25
+ * Cognito: the other settings cannot be configured until it is true.
26
+ */
27
+ export declare class SimCognitoOAuthSettings {
28
+ readonly enabled: boolean;
29
+ readonly flows: readonly string[];
30
+ readonly scopes: readonly string[];
31
+ readonly callbackUrls: SimCognitoRedirectUrls;
32
+ readonly logoutUrls: SimCognitoRedirectUrls;
33
+ readonly defaultRedirectUri: string | undefined;
34
+ readonly identityProviders: readonly string[];
35
+ constructor(settings: SimCognitoOAuthSettingsType);
36
+ /**
37
+ * These settings as a described app client reports them.
38
+ *
39
+ * A list the request did not set is left out rather than reported empty, so
40
+ * a client created without any of this reports none of it.
41
+ */
42
+ toOutput(): SimCognitoOAuthSettingsType;
43
+ /**
44
+ * Whether this client may complete an authorization code grant.
45
+ */
46
+ get allowsCodeGrant(): boolean;
47
+ /**
48
+ * Whether a redirect URI is one this client registered.
49
+ */
50
+ allowsRedirectTo(redirectUri: string): boolean;
51
+ /**
52
+ * Whether a sign-out URL is one this client registered.
53
+ */
54
+ allowsSignOutTo(logoutUri: string): boolean;
55
+ /**
56
+ * Whether this client offers an identity provider by name.
57
+ */
58
+ allowsIdentityProvider(providerName: string): boolean;
59
+ }
60
+ //# sourceMappingURL=sim-cognito-oauth-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-oauth-settings.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/client/sim-cognito-oauth-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAI7E;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAC3D,QAAQ,CAAC,+BAA+B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAC5D,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACpD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,0BAA0B,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;CACrE;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,uBAAuB;IAClC,SAAgB,OAAO,EAAE,OAAO,CAAC;IACjC,SAAgB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,SAAgB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,SAAgB,YAAY,EAAE,sBAAsB,CAAC;IACrD,SAAgB,UAAU,EAAE,sBAAsB,CAAC;IACnD,SAAgB,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;IACvD,SAAgB,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAC;IAErD,YAAY,QAAQ,EAAE,2BAA2B,EAUhD;IAED;;;;;OAKG;IACH,QAAQ,IAAI,2BAA2B,CAkBtC;IAED;;OAEG;IACH,IAAI,eAAe,IAAI,OAAO,CAE7B;IAED;;OAEG;IACH,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAE7C;IAED;;OAEG;IACH,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAE1C;IAED;;OAEG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAEpD;CACF"}
@@ -0,0 +1,83 @@
1
+ import { simCognitoSimulatedOAuthFlow } from "./sim-cognito-oauth-grants.js";
2
+ import { SimCognitoRequestedOAuth } from "./sim-cognito-requested-oauth.js";
3
+ /**
4
+ * What an app client is allowed to do at a pool's hosted domain.
5
+ *
6
+ * These settings are what the authorize, token and logout endpoints check a
7
+ * request against: which grant it may ask for, which scopes it may be given,
8
+ * which URL it may be sent back to, and which identity provider it may sign a
9
+ * user in through. Nothing here is honoured without a domain, because there is
10
+ * no endpoint to reach until the pool has one.
11
+ *
12
+ * `AllowedOAuthFlowsUserPoolClient` gates the rest, as it does on real
13
+ * Cognito: the other settings cannot be configured until it is true.
14
+ */
15
+ export class SimCognitoOAuthSettings {
16
+ enabled;
17
+ flows;
18
+ scopes;
19
+ callbackUrls;
20
+ logoutUrls;
21
+ defaultRedirectUri;
22
+ identityProviders;
23
+ constructor(settings) {
24
+ const requested = new SimCognitoRequestedOAuth(settings);
25
+ this.enabled = requested.enabled;
26
+ this.flows = requested.flows;
27
+ this.scopes = requested.scopes;
28
+ this.callbackUrls = requested.callbackUrls;
29
+ this.logoutUrls = requested.logoutUrls;
30
+ this.defaultRedirectUri = requested.defaultRedirectUri;
31
+ this.identityProviders = requested.identityProviders;
32
+ }
33
+ /**
34
+ * These settings as a described app client reports them.
35
+ *
36
+ * A list the request did not set is left out rather than reported empty, so
37
+ * a client created without any of this reports none of it.
38
+ */
39
+ toOutput() {
40
+ return {
41
+ AllowedOAuthFlowsUserPoolClient: this.enabled,
42
+ ...(this.flows.length > 0 && { AllowedOAuthFlows: [...this.flows] }),
43
+ ...(this.scopes.length > 0 && { AllowedOAuthScopes: [...this.scopes] }),
44
+ ...(this.callbackUrls.values.length > 0 && {
45
+ CallbackURLs: [...this.callbackUrls.values],
46
+ }),
47
+ ...(this.logoutUrls.values.length > 0 && {
48
+ LogoutURLs: [...this.logoutUrls.values],
49
+ }),
50
+ ...(this.defaultRedirectUri !== undefined && {
51
+ DefaultRedirectURI: this.defaultRedirectUri,
52
+ }),
53
+ ...(this.identityProviders.length > 0 && {
54
+ SupportedIdentityProviders: [...this.identityProviders],
55
+ }),
56
+ };
57
+ }
58
+ /**
59
+ * Whether this client may complete an authorization code grant.
60
+ */
61
+ get allowsCodeGrant() {
62
+ return this.enabled && this.flows.includes(simCognitoSimulatedOAuthFlow);
63
+ }
64
+ /**
65
+ * Whether a redirect URI is one this client registered.
66
+ */
67
+ allowsRedirectTo(redirectUri) {
68
+ return this.callbackUrls.includes(redirectUri);
69
+ }
70
+ /**
71
+ * Whether a sign-out URL is one this client registered.
72
+ */
73
+ allowsSignOutTo(logoutUri) {
74
+ return this.logoutUrls.includes(logoutUri);
75
+ }
76
+ /**
77
+ * Whether this client offers an identity provider by name.
78
+ */
79
+ allowsIdentityProvider(providerName) {
80
+ return this.identityProviders.includes(providerName);
81
+ }
82
+ }
83
+ //# sourceMappingURL=sim-cognito-oauth-settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-oauth-settings.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/client/sim-cognito-oauth-settings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAgB5E;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,uBAAuB;IAClB,OAAO,CAAU;IACjB,KAAK,CAAoB;IACzB,MAAM,CAAoB;IAC1B,YAAY,CAAyB;IACrC,UAAU,CAAyB;IACnC,kBAAkB,CAAqB;IACvC,iBAAiB,CAAoB;IAErD,YAAY,QAAqC;QAC/C,MAAM,SAAS,GAAG,IAAI,wBAAwB,CAAC,QAAQ,CAAC,CAAC;QAEzD,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC;QACjC,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC;QAC/B,IAAI,CAAC,YAAY,GAAG,SAAS,CAAC,YAAY,CAAC;QAC3C,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC;QACvC,IAAI,CAAC,kBAAkB,GAAG,SAAS,CAAC,kBAAkB,CAAC;QACvD,IAAI,CAAC,iBAAiB,GAAG,SAAS,CAAC,iBAAiB,CAAC;IACvD,CAAC;IAED;;;;;OAKG;IACH,QAAQ;QACN,OAAO;YACL,+BAA+B,EAAE,IAAI,CAAC,OAAO;YAC7C,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,iBAAiB,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACpE,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,kBAAkB,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACvE,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI;gBACzC,YAAY,EAAE,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC;aAC5C,CAAC;YACF,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI;gBACvC,UAAU,EAAE,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;aACxC,CAAC;YACF,GAAG,CAAC,IAAI,CAAC,kBAAkB,KAAK,SAAS,IAAI;gBAC3C,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;aAC5C,CAAC;YACF,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,IAAI;gBACvC,0BAA0B,EAAE,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC;aACxD,CAAC;SACH,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,gBAAgB,CAAC,WAAmB;QAClC,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,SAAiB;QAC/B,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC7C,CAAC;IAED;;OAEG;IACH,sBAAsB,CAAC,YAAoB;QACzC,OAAO,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IACvD,CAAC;CACF"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * The URLs an app client may send a browser to, checked as real Cognito checks
3
+ * them.
4
+ *
5
+ * A redirect URI has to be an absolute URI with no fragment, over HTTPS unless
6
+ * it is a loopback address, and an application's own scheme such as
7
+ * `myapp://example` is allowed. Checking them where they are set is what stops
8
+ * a callback URL that could never have been registered on real AWS reaching an
9
+ * authorize request here.
10
+ */
11
+ export declare class SimCognitoRedirectUrls {
12
+ readonly values: readonly string[];
13
+ constructor(option: string, requested: readonly string[] | undefined);
14
+ private static requireRedirect;
15
+ /**
16
+ * Whether a URI is one of these, compared exactly as real Cognito compares
17
+ * one: a URL that differs by a trailing slash is a different URL, and one
18
+ * that matched loosely here would fail in a deployment.
19
+ */
20
+ includes(redirectUri: string): boolean;
21
+ }
22
+ //# sourceMappingURL=sim-cognito-redirect-urls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-redirect-urls.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/client/sim-cognito-redirect-urls.ts"],"names":[],"mappings":"AAOA;;;;;;;;;GASG;AACH,qBAAa,sBAAsB;IACjC,SAAgB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAE1C,YAAY,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EAMnE;IAED,OAAO,CAAC,MAAM,CAAC,eAAe;IAqB9B;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAErC;CACF"}