@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
@@ -1,4 +1,5 @@
1
1
  import { SimAws } from "../../aws/sim-aws.js";
2
+ import { SimCognitoDomainController } from "./sim-cognito-domain-controller.js";
2
3
  import { SimCognitoEndpointResponse } from "./sim-cognito-endpoint-response.js";
3
4
  import { SimCognitoOpenIdConfiguration } from "./sim-cognito-openid-configuration.js";
4
5
  /**
@@ -36,6 +37,10 @@ const readMethods = new Set(["GET", "HEAD"]);
36
37
  * Cognito serves nothing at. Nothing here delivers a message, so this is where
37
38
  * one is read during local development.
38
39
  *
40
+ * A pool's hosted domain is served too, on its own hostname rather than on the
41
+ * regional endpoint, and `SimCognitoDomainController` answers those requests.
42
+ * That is where the OAuth endpoints of an authorization code grant live.
43
+ *
39
44
  * The Cognito API itself is not served. An SDK client reaches the simulator
40
45
  * through `SimSdk` rather than through an endpoint override.
41
46
  */
@@ -43,15 +48,20 @@ export class SimCognitoServiceController {
43
48
  simAws;
44
49
  openIdConfiguration = new SimCognitoOpenIdConfiguration();
45
50
  response = new SimCognitoEndpointResponse();
51
+ domainController;
46
52
  constructor(properties = {}) {
47
53
  const { simAws = new SimAws() } = properties;
48
54
  this.simAws = simAws;
55
+ this.domainController = new SimCognitoDomainController({ simAws });
49
56
  }
50
57
  /**
51
58
  * Handle an HTTP request routed to a simulated Cognito regional endpoint.
52
59
  */
53
- handleRequest(serviceRequest) {
54
- return Promise.resolve(this.respond(serviceRequest));
60
+ async handleRequest(serviceRequest) {
61
+ // A request that reached a hosted domain's hostname names that domain,
62
+ // where one to the regional endpoint names no resource at all.
63
+ const domainResponse = await this.domainController.handleRequest(serviceRequest);
64
+ return domainResponse ?? this.respond(serviceRequest);
55
65
  }
56
66
  respond(serviceRequest) {
57
67
  const { request } = serviceRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-controller.js","sourceRoot":"","sources":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CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAE/C,IAAI,cAAc,KAAK,MAAM,CAAC,UAAU,EAAE,CAAC;YACzC,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
@@ -0,0 +1,48 @@
1
+ import type { SimAwsServiceRequest } from "../../../serve/controller/sim-service-controller.js";
2
+ import type { SimAws } from "../../aws/sim-aws.js";
3
+ interface SimCognitoDomainControllerProperties {
4
+ readonly simAws: SimAws;
5
+ }
6
+ /**
7
+ * The localhost HTTP side of a pool's hosted domain.
8
+ *
9
+ * These are the endpoints a browser and an application's own server reach, and
10
+ * they carry no AWS credentials at all: an authorization code grant is signed
11
+ * by nobody, in the same way `InitiateAuth` is. What authenticates the
12
+ * application is its app client secret, at the token endpoint.
13
+ *
14
+ * The pool's own scope answers each request, found from the domain rather than
15
+ * assumed to be the default one, because a domain names a pool that any
16
+ * Account and Region of the simulation could have created.
17
+ */
18
+ export declare class SimCognitoDomainController {
19
+ private readonly simAws;
20
+ private readonly endpoints;
21
+ constructor(properties: SimCognitoDomainControllerProperties);
22
+ /**
23
+ * Handle a request that reached a hosted domain's hostname, or answer
24
+ * nothing for one that named no domain at all.
25
+ *
26
+ * A request to the regional endpoint names no resource, and that is what
27
+ * tells the two apart.
28
+ */
29
+ handleRequest(serviceRequest: SimAwsServiceRequest): Promise<Response | undefined>;
30
+ /**
31
+ * The hosted domain a request arrived at, if it arrived at one.
32
+ */
33
+ private servedDomain;
34
+ /**
35
+ * The pool a hosted domain belongs to.
36
+ */
37
+ private pool;
38
+ /**
39
+ * The simulated Cognito scope that owns a pool.
40
+ *
41
+ * The Account comes from the pool's ARN and the Region from its id, and each
42
+ * scope's services are made once and kept, so this is the same service
43
+ * object that created the pool rather than another view of it.
44
+ */
45
+ private cognitoFor;
46
+ }
47
+ export {};
48
+ //# sourceMappingURL=sim-cognito-domain-controller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-domain-controller.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-domain-controller.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAEhG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAOnD,UAAU,oCAAoC;IAC5C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmC;IAE7D,YAAY,UAAU,EAAE,oCAAoC,EAE3D;IAED;;;;;;OAMG;IACG,aAAa,CACjB,cAAc,EAAE,oBAAoB,GACnC,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAgB/B;IAED;;OAEG;IACH,OAAO,CAAC,YAAY;IAcpB;;OAEG;IACH,OAAO,CAAC,IAAI;IAaZ;;;;;;OAMG;IACH,OAAO,CAAC,UAAU;CAMnB"}
@@ -0,0 +1,79 @@
1
+ import { assertDefined } from "../../../util/type-guard/defined.js";
2
+ import { simCognitoUserPoolRegionName } from "../user-pool/sim-cognito-user-pool-id.js";
3
+ import { SimCognitoDomainEndpoints } from "./sim-cognito-domain-endpoints.js";
4
+ /**
5
+ * The localhost HTTP side of a pool's hosted domain.
6
+ *
7
+ * These are the endpoints a browser and an application's own server reach, and
8
+ * they carry no AWS credentials at all: an authorization code grant is signed
9
+ * by nobody, in the same way `InitiateAuth` is. What authenticates the
10
+ * application is its app client secret, at the token endpoint.
11
+ *
12
+ * The pool's own scope answers each request, found from the domain rather than
13
+ * assumed to be the default one, because a domain names a pool that any
14
+ * Account and Region of the simulation could have created.
15
+ */
16
+ export class SimCognitoDomainController {
17
+ simAws;
18
+ endpoints = new SimCognitoDomainEndpoints();
19
+ constructor(properties) {
20
+ this.simAws = properties.simAws;
21
+ }
22
+ /**
23
+ * Handle a request that reached a hosted domain's hostname, or answer
24
+ * nothing for one that named no domain at all.
25
+ *
26
+ * A request to the regional endpoint names no resource, and that is what
27
+ * tells the two apart.
28
+ */
29
+ async handleRequest(serviceRequest) {
30
+ const domain = this.servedDomain(serviceRequest);
31
+ if (domain === undefined) {
32
+ return undefined;
33
+ }
34
+ const url = new URL(serviceRequest.request.url);
35
+ const pool = this.pool(domain);
36
+ return await this.endpoints.handleRequest({
37
+ pool,
38
+ cognito: this.cognitoFor(pool),
39
+ serviceRequest,
40
+ url,
41
+ });
42
+ }
43
+ /**
44
+ * The hosted domain a request arrived at, if it arrived at one.
45
+ */
46
+ servedDomain(serviceRequest) {
47
+ const { resourceName } = serviceRequest.target;
48
+ if (resourceName === "") {
49
+ return undefined;
50
+ }
51
+ return this.simAws
52
+ .cognitoIdentityProvider()
53
+ .findUserPoolDomainInAnyAccount(resourceName);
54
+ }
55
+ /**
56
+ * The pool a hosted domain belongs to.
57
+ */
58
+ pool(domain) {
59
+ const pool = this.simAws
60
+ .cognitoIdentityProvider()
61
+ .findUserPoolInAnyAccount(domain.userPoolId);
62
+ assertDefined(pool, `sim Cognito user pool ${domain.userPoolId} for domain ${domain.value}`);
63
+ return pool;
64
+ }
65
+ /**
66
+ * The simulated Cognito scope that owns a pool.
67
+ *
68
+ * The Account comes from the pool's ARN and the Region from its id, and each
69
+ * scope's services are made once and kept, so this is the same service
70
+ * object that created the pool rather than another view of it.
71
+ */
72
+ cognitoFor(pool) {
73
+ return this.simAws
74
+ .account(pool.arn.accountId)
75
+ .region(simCognitoUserPoolRegionName(pool.id))
76
+ .cognitoIdentityProvider();
77
+ }
78
+ }
79
+ //# sourceMappingURL=sim-cognito-domain-controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-domain-controller.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-domain-controller.ts"],"names":[],"mapp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,MAAM;aACrB,uBAAuB,EAAE;aACzB,wBAAwB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAE/C,aAAa,CACX,IAAI,EACJ,yBAAyB,MAAM,CAAC,UAAU,eAAe,MAAM,CAAC,KAAK,EAAE,CACxE,CAAC;QAEF,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;;OAMG;IACK,UAAU,CAAC,IAAwB;QACzC,OAAO,IAAI,CAAC,MAAM;aACf,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC;aAC3B,MAAM,CAAC,4BAA4B,CAAC,IAAI,CAAC,EAAE,CAAkB,CAAC;aAC9D,uBAAuB,EAAE,CAAC;IAC/B,CAAC;CACF"}
@@ -0,0 +1,49 @@
1
+ import type { SimAwsServiceRequest } from "../../../serve/controller/sim-service-controller.js";
2
+ import type { SimCognitoIdentityProvider } from "../sim-cognito-identity-provider.js";
3
+ import type { SimCognitoUserPool } from "../user-pool/sim-cognito-user-pool.js";
4
+ /**
5
+ * One request to a hosted domain, and what answers it.
6
+ */
7
+ export interface SimCognitoDomainRequest {
8
+ readonly pool: SimCognitoUserPool;
9
+ /** The simulated Cognito scope the pool belongs to. */
10
+ readonly cognito: SimCognitoIdentityProvider;
11
+ readonly serviceRequest: SimAwsServiceRequest;
12
+ readonly url: URL;
13
+ }
14
+ /**
15
+ * The three endpoints a pool's hosted domain serves.
16
+ *
17
+ * Each takes one HTTP method and one only, as real Cognito's do, and turns
18
+ * what the simulation answered into the redirect or the JSON body a browser or
19
+ * an application's own server reads.
20
+ */
21
+ export declare class SimCognitoDomainEndpoints {
22
+ private readonly response;
23
+ private readonly tokenRequest;
24
+ /**
25
+ * Answer a request that reached the domain's hostname.
26
+ */
27
+ handleRequest(request: SimCognitoDomainRequest): Promise<Response>;
28
+ /**
29
+ * Sign a user in through an identity provider and send the browser back to
30
+ * the application with a code.
31
+ */
32
+ private authorize;
33
+ /**
34
+ * Exchange an authorization code or a refresh token for tokens.
35
+ */
36
+ private token;
37
+ /**
38
+ * Send the browser to the application's sign-out page.
39
+ */
40
+ private logout;
41
+ /**
42
+ * Answer a request that used the method its endpoint takes.
43
+ *
44
+ * Each endpoint takes one method and one only, as real Cognito's do, so what
45
+ * is left to say about any other is which one it was.
46
+ */
47
+ private answered;
48
+ }
49
+ //# sourceMappingURL=sim-cognito-domain-endpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-domain-endpoints.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-domain-endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAChG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAWhF;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAElC,uDAAuD;IACvD,QAAQ,CAAC,OAAO,EAAE,0BAA0B,CAAC;IAC7C,QAAQ,CAAC,cAAc,EAAE,oBAAoB,CAAC;IAC9C,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;CACnB;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAiC;IAC1D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAgC;IAE7D;;OAEG;IACG,aAAa,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAgBvE;IAED;;;OAGG;YACW,SAAS;IAkBvB;;OAEG;YACW,KAAK;IAenB;;OAEG;YACW,MAAM;IAcpB;;;;;OAKG;YACW,QAAQ;CAavB"}
@@ -0,0 +1,91 @@
1
+ import { SimCognitoOAuthResponse } from "./sim-cognito-oauth-response.js";
2
+ import { SimCognitoTokenRequest } from "./sim-cognito-token-request.js";
3
+ /**
4
+ * The paths a hosted domain serves.
5
+ */
6
+ const authorizePath = "/oauth2/authorize";
7
+ const tokenPath = "/oauth2/token";
8
+ const logoutPath = "/logout";
9
+ /**
10
+ * The three endpoints a pool's hosted domain serves.
11
+ *
12
+ * Each takes one HTTP method and one only, as real Cognito's do, and turns
13
+ * what the simulation answered into the redirect or the JSON body a browser or
14
+ * an application's own server reads.
15
+ */
16
+ export class SimCognitoDomainEndpoints {
17
+ response = new SimCognitoOAuthResponse();
18
+ tokenRequest = new SimCognitoTokenRequest();
19
+ /**
20
+ * Answer a request that reached the domain's hostname.
21
+ */
22
+ async handleRequest(request) {
23
+ const { pathname } = request.url;
24
+ if (pathname === authorizePath) {
25
+ return await this.authorize(request);
26
+ }
27
+ if (pathname === tokenPath) {
28
+ return await this.token(request);
29
+ }
30
+ if (pathname === logoutPath) {
31
+ return await this.logout(request);
32
+ }
33
+ return this.response.noSuchEndpoint(pathname);
34
+ }
35
+ /**
36
+ * Sign a user in through an identity provider and send the browser back to
37
+ * the application with a code.
38
+ */
39
+ async authorize(request) {
40
+ const parameters = Object.fromEntries(request.url.searchParams);
41
+ return await this.answered(request, "GET", async () => {
42
+ try {
43
+ return this.response.redirect(await request.cognito.hostedAuthorize(request.pool, parameters));
44
+ }
45
+ catch (error) {
46
+ return this.response.refusedRedirect(error, parameters["redirect_uri"], parameters["state"]);
47
+ }
48
+ });
49
+ }
50
+ /**
51
+ * Exchange an authorization code or a refresh token for tokens.
52
+ */
53
+ async token(request) {
54
+ return await this.answered(request, "POST", async () => {
55
+ try {
56
+ return this.response.tokens(await request.cognito.hostedToken(request.pool, this.tokenRequest.read(request.serviceRequest)));
57
+ }
58
+ catch (error) {
59
+ return this.response.refusedRequest(error);
60
+ }
61
+ });
62
+ }
63
+ /**
64
+ * Send the browser to the application's sign-out page.
65
+ */
66
+ async logout(request) {
67
+ const parameters = Object.fromEntries(request.url.searchParams);
68
+ return await this.answered(request, "GET", async () => {
69
+ try {
70
+ return this.response.redirect(await request.cognito.hostedSignOut(request.pool, parameters));
71
+ }
72
+ catch (error) {
73
+ return this.response.refusedRequest(error);
74
+ }
75
+ });
76
+ }
77
+ /**
78
+ * Answer a request that used the method its endpoint takes.
79
+ *
80
+ * Each endpoint takes one method and one only, as real Cognito's do, so what
81
+ * is left to say about any other is which one it was.
82
+ */
83
+ async answered(request, method, answer) {
84
+ const requested = request.serviceRequest.request.method;
85
+ if (requested !== method) {
86
+ return this.response.notAllowed(requested, method);
87
+ }
88
+ return await answer();
89
+ }
90
+ }
91
+ //# sourceMappingURL=sim-cognito-domain-endpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-domain-endpoints.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-domain-endpoints.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE;;GAEG;AACH,MAAM,aAAa,GAAG,mBAAmB,CAAC;AAC1C,MAAM,SAAS,GAAG,eAAe,CAAC;AAClC,MAAM,UAAU,GAAG,SAAS,CAAC;AAc7B;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IACnB,QAAQ,GAAG,IAAI,uBAAuB,EAAE,CAAC;IACzC,YAAY,GAAG,IAAI,sBAAsB,EAAE,CAAC;IAE7D;;OAEG;IACH,KAAK,CAAC,aAAa,CAAC,OAAgC;QAClD,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC;QAEjC,IAAI,QAAQ,KAAK,aAAa,EAAE,CAAC;YAC/B,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACvC,CAAC;QAED,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACnC,CAAC;QAED,IAAI,QAAQ,KAAK,UAAU,EAAE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ACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACK,KAAK,CAAC,MAAM,CAAC,OAAgC;QACnD,MAAM,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QAEhE,OAAO,MAAM,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE;YACpD,IAAI,CAAC;gBACH,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAC3B,MAAM,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,CAC9D,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACK,KAAK,CAAC,QAAQ,CACpB,OAAgC,EAChC,MAAc,EACd,MAA+B;QAE/B,MAAM,SAAS,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,MAAM,CAAC;QAExD,IAAI,SAAS,KAAK,MAAM,EAAE,CAAC;YACzB,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;QACrD,CAAC;QAED,OAAO,MAAM,MAAM,EAAE,CAAC;IACxB,CAAC;CACF"}
@@ -0,0 +1,57 @@
1
+ import type { SimCognitoHostedRedirect } from "../command/hosted/hosted-auth.command.js";
2
+ /**
3
+ * The responses a pool's hosted OAuth endpoints answer with.
4
+ *
5
+ * A hosted endpoint is answering a browser rather than an SDK client, so its
6
+ * successes are redirects and its failures are either a redirect carrying an
7
+ * error or a JSON body, which is the difference between an error the
8
+ * application can be told about and one only the person in front of the
9
+ * browser can see.
10
+ */
11
+ export declare class SimCognitoOAuthResponse {
12
+ /**
13
+ * Read an error as an OAuth one, whatever it turned out to be.
14
+ *
15
+ * A refusal from further inside the simulation, such as an identity provider
16
+ * with nobody signed in at it, is a server error to OAuth and its own
17
+ * message to the reader, so the message is kept rather than replaced.
18
+ */
19
+ private static oauthError;
20
+ private static describe;
21
+ /**
22
+ * Send the browser on to where an endpoint decided it goes.
23
+ */
24
+ redirect(redirect: SimCognitoHostedRedirect): Response;
25
+ /**
26
+ * Answer a token request with the tokens it asked for.
27
+ *
28
+ * The `Access-Control-Allow-Origin` header is the one real Cognito sets on
29
+ * this endpoint, so a browser-based application completing a grant with PKCE
30
+ * can read the answer.
31
+ */
32
+ tokens(body: object): Response;
33
+ /**
34
+ * Answer a refused request to the authorize or logout endpoint.
35
+ *
36
+ * An error is sent back to the application's own URL where the request has
37
+ * shown it knows one the app client registered, which is what real Cognito
38
+ * does. Anything else is answered in the browser, because there is nowhere
39
+ * trustworthy to send it.
40
+ */
41
+ refusedRedirect(error: unknown, redirectUri: string | undefined, state: string | undefined): Response;
42
+ /**
43
+ * Answer a refused request in the shape the OAuth 2.0 specification gives an
44
+ * error, which is what the token endpoint answers with and what a client
45
+ * library reads.
46
+ */
47
+ refusedRequest(error: unknown): Response;
48
+ /**
49
+ * Refuse a path the hosted domain serves nothing at.
50
+ */
51
+ noSuchEndpoint(pathname: string): Response;
52
+ /**
53
+ * Refuse a method an endpoint does not answer.
54
+ */
55
+ notAllowed(method: string, allowed: string): Response;
56
+ }
57
+ //# sourceMappingURL=sim-cognito-oauth-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-oauth-response.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-oauth-response.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAEzF;;;;;;;;GAQG;AACH,qBAAa,uBAAuB;IAClC;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,UAAU;IAYzB,OAAO,CAAC,MAAM,CAAC,QAAQ;IAQvB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,GAAG,QAAQ,CAKrD;IAED;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,CAQ7B;IAED;;;;;;;OAOG;IACH,eAAe,CACb,KAAK,EAAE,OAAO,EACd,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,QAAQ,CAoBV;IAED;;;;OAIG;IACH,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAOvC;IAED;;OAEG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAUzC;IAED;;OAEG;IACH,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ,CAQpD;CACF"}
@@ -0,0 +1,113 @@
1
+ import { isSimCognitoOAuthError, SimCognitoOAuthError, } from "../error/sim-cognito-oauth.error.js";
2
+ /**
3
+ * The responses a pool's hosted OAuth endpoints answer with.
4
+ *
5
+ * A hosted endpoint is answering a browser rather than an SDK client, so its
6
+ * successes are redirects and its failures are either a redirect carrying an
7
+ * error or a JSON body, which is the difference between an error the
8
+ * application can be told about and one only the person in front of the
9
+ * browser can see.
10
+ */
11
+ export class SimCognitoOAuthResponse {
12
+ /**
13
+ * Read an error as an OAuth one, whatever it turned out to be.
14
+ *
15
+ * A refusal from further inside the simulation, such as an identity provider
16
+ * with nobody signed in at it, is a server error to OAuth and its own
17
+ * message to the reader, so the message is kept rather than replaced.
18
+ */
19
+ static oauthError(error) {
20
+ if (isSimCognitoOAuthError(error)) {
21
+ return error;
22
+ }
23
+ return new SimCognitoOAuthError({
24
+ code: "invalid_request",
25
+ description: this.describe(error),
26
+ redirectable: false,
27
+ });
28
+ }
29
+ static describe(error) {
30
+ if (error instanceof Error) {
31
+ return error.message;
32
+ }
33
+ return "The request was refused";
34
+ }
35
+ /**
36
+ * Send the browser on to where an endpoint decided it goes.
37
+ */
38
+ redirect(redirect) {
39
+ return new Response(undefined, {
40
+ status: 302,
41
+ headers: { location: redirect.location },
42
+ });
43
+ }
44
+ /**
45
+ * Answer a token request with the tokens it asked for.
46
+ *
47
+ * The `Access-Control-Allow-Origin` header is the one real Cognito sets on
48
+ * this endpoint, so a browser-based application completing a grant with PKCE
49
+ * can read the answer.
50
+ */
51
+ tokens(body) {
52
+ return Response.json(body, {
53
+ status: 200,
54
+ headers: {
55
+ "cache-control": "no-store",
56
+ "access-control-allow-origin": "*",
57
+ },
58
+ });
59
+ }
60
+ /**
61
+ * Answer a refused request to the authorize or logout endpoint.
62
+ *
63
+ * An error is sent back to the application's own URL where the request has
64
+ * shown it knows one the app client registered, which is what real Cognito
65
+ * does. Anything else is answered in the browser, because there is nowhere
66
+ * trustworthy to send it.
67
+ */
68
+ refusedRedirect(error, redirectUri, state) {
69
+ const oauthError = SimCognitoOAuthResponse.oauthError(error);
70
+ if (redirectUri === undefined || !oauthError.redirectable) {
71
+ return this.refusedRequest(oauthError);
72
+ }
73
+ const location = new URL(redirectUri);
74
+ location.searchParams.set("error", oauthError.code);
75
+ location.searchParams.set("error_description", oauthError.description);
76
+ if (state !== undefined) {
77
+ location.searchParams.set("state", state);
78
+ }
79
+ return new Response(undefined, {
80
+ status: 302,
81
+ headers: { location: location.href },
82
+ });
83
+ }
84
+ /**
85
+ * Answer a refused request in the shape the OAuth 2.0 specification gives an
86
+ * error, which is what the token endpoint answers with and what a client
87
+ * library reads.
88
+ */
89
+ refusedRequest(error) {
90
+ const oauthError = SimCognitoOAuthResponse.oauthError(error);
91
+ return Response.json({ error: oauthError.code, error_description: oauthError.description }, { status: 400 });
92
+ }
93
+ /**
94
+ * Refuse a path the hosted domain serves nothing at.
95
+ */
96
+ noSuchEndpoint(pathname) {
97
+ return Response.json({
98
+ error: "invalid_request",
99
+ error_description: `A simulated user pool domain serves nothing at ${pathname}. It ` +
100
+ `serves /oauth2/authorize, /oauth2/token and /logout.`,
101
+ }, { status: 404 });
102
+ }
103
+ /**
104
+ * Refuse a method an endpoint does not answer.
105
+ */
106
+ notAllowed(method, allowed) {
107
+ return Response.json({
108
+ error: "invalid_request",
109
+ error_description: `This endpoint answers ${allowed}, not ${method}`,
110
+ }, { status: 405, headers: { allow: allowed } });
111
+ }
112
+ }
113
+ //# sourceMappingURL=sim-cognito-oauth-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-oauth-response.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-oauth-response.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,qCAAqC,CAAC;AAG7C;;;;;;;;GAQG;AACH,MAAM,OAAO,uBAAuB;IAClC;;;;;;OAMG;IACK,MAAM,CAAC,UAAU,CAAC,KAAc;QACtC,IAAI,sBAAsB,CAAC,KAAK,CAAC,EAAE,CAAC;YAClC,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO,IAAI,oBAAoB,CAAC;YAC9B,IAAI,EAAE,iBAAiB;YACvB,WAAW,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC;YACjC,YAAY,EAAE,KAAK;SACpB,CAAC,CAAC;IACL,CAAC;IAEO,MAAM,CAAC,QAAQ,CAAC,KAAc;QACpC,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;YAC3B,OAAO,KAAK,CAAC,OAAO,CAAC;QACvB,CAAC;QAED,OAAO,yBAAyB,CAAC;IACnC,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,QAAkC;QACzC,OAAO,IAAI,QAAQ,CAAC,SAAS,EAAE;YAC7B,MAAM,EAAE,GAAG;YACX,OAAO,EAAE,EAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE;SACzC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,IAAY;QACjB,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE;YACzB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AAC,QAAgB;QAC7B,OAAO,QAAQ,CAAC,IAAI,CAClB;YACE,KAAK,EAAE,iBAAiB;YACxB,iBAAiB,EACf,kDAAkD,QAAQ,OAAO;gBACjE,sDAAsD;SACzD,EACD,EAAE,MAAM,EAAE,GAAG,EAAE,CAChB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,MAAc,EAAE,OAAe;QACxC,OAAO,QAAQ,CAAC,IAAI,CAClB;YACE,KAAK,EAAE,iBAAiB;YACxB,iBAAiB,EAAE,yBAAyB,OAAO,SAAS,MAAM,EAAE;SACrE,EACD,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,CAC7C,CAAC;IACJ,CAAC;CACF"}
@@ -6,6 +6,9 @@ import type { SimCognitoUserPool } from "../user-pool/sim-cognito-user-pool.js";
6
6
  export interface SimCognitoOpenIdConfigurationDocument {
7
7
  readonly issuer: string;
8
8
  readonly jwks_uri: string;
9
+ readonly authorization_endpoint?: string | undefined;
10
+ readonly token_endpoint?: string | undefined;
11
+ readonly end_session_endpoint?: string | undefined;
9
12
  readonly id_token_signing_alg_values_supported: readonly string[];
10
13
  readonly response_types_supported: readonly string[];
11
14
  readonly scopes_supported: readonly string[];
@@ -22,15 +25,23 @@ export interface SimCognitoOpenIdConfigurationDocument {
22
25
  * in `iss`, which is what a verifier builds from a pool id and checks against,
23
26
  * so the two disagree here and agree on real Cognito.
24
27
  *
25
- * No `authorization_endpoint`, `token_endpoint` or `userinfo_endpoint` is
26
- * published, because the hosted UI and the OAuth endpoints are not simulated.
27
- * A client discovering nothing there fails rather than calling an endpoint
28
- * that would not answer.
28
+ * The OAuth endpoints are published once the pool has a domain, and left out
29
+ * until then, because until then they do not exist. They name the domain's own
30
+ * local hostname for the same reason the issuer names the local one: a client
31
+ * that discovers an endpoint has to be able to reach it.
32
+ *
33
+ * No `userinfo_endpoint` is published, because that endpoint is not
34
+ * simulated. A client discovering nothing there fails rather than calling an
35
+ * endpoint that would not answer.
29
36
  */
30
37
  export declare class SimCognitoOpenIdConfiguration {
31
38
  /**
32
39
  * The discovery document for a pool, as served from an origin.
33
40
  */
34
41
  document(pool: SimCognitoUserPool, origin: string): SimCognitoOpenIdConfigurationDocument;
42
+ /**
43
+ * The endpoints a pool's hosted domain serves, for a pool that has one.
44
+ */
45
+ private hostedEndpoints;
35
46
  }
36
47
  //# sourceMappingURL=sim-cognito-openid-configuration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-openid-configuration.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-openid-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAEhF;;;GAGG;AACH,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,qCAAqC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClE,QAAQ,CAAC,wBAAwB,EAAE,SAAS,MAAM,EAAE,CAAC;IACrD,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,QAAQ,CAAC,uBAAuB,EAAE,SAAS,MAAM,EAAE,CAAC;IACpD,QAAQ,CAAC,qCAAqC,EAAE,SAAS,MAAM,EAAE,CAAC;CACnE;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,6BAA6B;IACxC;;OAEG;IACH,QAAQ,CACN,IAAI,EAAE,kBAAkB,EACxB,MAAM,EAAE,MAAM,GACb,qCAAqC,CAevC;CACF"}
1
+ {"version":3,"file":"sim-cognito-openid-configuration.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-openid-configuration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAEhF;;;GAGG;AACH,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrD,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,qCAAqC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClE,QAAQ,CAAC,wBAAwB,EAAE,SAAS,MAAM,EAAE,CAAC;IACrD,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,QAAQ,CAAC,uBAAuB,EAAE,SAAS,MAAM,EAAE,CAAC;IACpD,QAAQ,CAAC,qCAAqC,EAAE,SAAS,MAAM,EAAE,CAAC;CACnE;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,6BAA6B;IACxC;;OAEG;IACH,QAAQ,CACN,IAAI,EAAE,kBAAkB,EACxB,MAAM,EAAE,MAAM,GACb,qCAAqC,CAgBvC;IAED;;OAEG;IACH,OAAO,CAAC,eAAe;CAqBxB"}
@@ -1,3 +1,4 @@
1
+ import { SimAwsLocalUrl } from "../../../serve/http/url/sim-aws-local-url.js";
1
2
  /**
2
3
  * Builds the discovery document a simulated user pool publishes.
3
4
  *
@@ -8,10 +9,14 @@
8
9
  * in `iss`, which is what a verifier builds from a pool id and checks against,
9
10
  * so the two disagree here and agree on real Cognito.
10
11
  *
11
- * No `authorization_endpoint`, `token_endpoint` or `userinfo_endpoint` is
12
- * published, because the hosted UI and the OAuth endpoints are not simulated.
13
- * A client discovering nothing there fails rather than calling an endpoint
14
- * that would not answer.
12
+ * The OAuth endpoints are published once the pool has a domain, and left out
13
+ * until then, because until then they do not exist. They name the domain's own
14
+ * local hostname for the same reason the issuer names the local one: a client
15
+ * that discovers an endpoint has to be able to reach it.
16
+ *
17
+ * No `userinfo_endpoint` is published, because that endpoint is not
18
+ * simulated. A client discovering nothing there fails rather than calling an
19
+ * endpoint that would not answer.
15
20
  */
16
21
  export class SimCognitoOpenIdConfiguration {
17
22
  /**
@@ -22,6 +27,7 @@ export class SimCognitoOpenIdConfiguration {
22
27
  return {
23
28
  issuer,
24
29
  jwks_uri: `${issuer}/.well-known/jwks.json`,
30
+ ...this.hostedEndpoints(pool, origin),
25
31
  id_token_signing_alg_values_supported: ["RS256"],
26
32
  response_types_supported: ["code", "token"],
27
33
  scopes_supported: ["openid", "email", "phone", "profile"],
@@ -32,5 +38,23 @@ export class SimCognitoOpenIdConfiguration {
32
38
  ],
33
39
  };
34
40
  }
41
+ /**
42
+ * The endpoints a pool's hosted domain serves, for a pool that has one.
43
+ */
44
+ hostedEndpoints(pool, origin) {
45
+ const domain = pool.auth.domain;
46
+ if (domain === undefined) {
47
+ return {};
48
+ }
49
+ const domainUrl = new SimAwsLocalUrl({
50
+ input: `https://${domain.hostname}/`,
51
+ port: new URL(origin).port,
52
+ }).toURL();
53
+ return {
54
+ authorization_endpoint: `${domainUrl.origin}/oauth2/authorize`,
55
+ token_endpoint: `${domainUrl.origin}/oauth2/token`,
56
+ end_session_endpoint: `${domainUrl.origin}/logout`,
57
+ };
58
+ }
35
59
  }
36
60
  //# sourceMappingURL=sim-cognito-openid-configuration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-openid-configuration.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-openid-configuration.ts"],"names":[],"mappings":"AAgBA;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,6BAA6B;IACxC;;OAEG;IACH,QAAQ,CACN,IAAwB,EACxB,MAAc;QAEd,MAAM,MAAM,GAAG,GAAG,MAAM,IAAI,IAAI,CAAC,EAAE,EAAE,CAAC;QAEtC,OAAO;YACL,MAAM;YACN,QAAQ,EAAE,GAAG,MAAM,wBAAwB;YAC3C,qCAAqC,EAAE,CAAC,OAAO,CAAC;YAChD,wBAAwB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;YAC3C,gBAAgB,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;YACzD,uBAAuB,EAAE,CAAC,QAAQ,CAAC;YACnC,qCAAqC,EAAE;gBACrC,qBAAqB;gBACrB,oBAAoB;aACrB;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cognito-openid-configuration.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-openid-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAoB9E;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,OAAO,6BAA6B;IACxC;;OAEG;IACH,QAAQ,CACN,IAAwB,EACxB,MAAc;QAEd,MAAM,MAAM,GAAG,GAAG,MAAM,IAAI,IAAI,CAAC,EAAE,EAAE,CAAC;QAEtC,OAAO;YACL,MAAM;YACN,QAAQ,EAAE,GAAG,MAAM,wBAAwB;YAC3C,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC;YACrC,qCAAqC,EAAE,CAAC,OAAO,CAAC;YAChD,wBAAwB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;YAC3C,gBAAgB,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;YACzD,uBAAuB,EAAE,CAAC,QAAQ,CAAC;YACnC,qCAAqC,EAAE;gBACrC,qBAAqB;gBACrB,oBAAoB;aACrB;SACF,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,eAAe,CACrB,IAAwB,EACxB,MAAc;QAEd,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;QAEhC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,EAAE,CAAC;QACZ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