@kensio/yulin 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1117) hide show
  1. package/README.md +1 -0
  2. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  3. package/dist/sdk/router/resolve-sim-sdk-command-router.js +5 -0
  4. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  5. package/dist/serve/controller/host/sim-aws-service-hosts.d.ts +27 -0
  6. package/dist/serve/controller/host/sim-aws-service-hosts.d.ts.map +1 -0
  7. package/dist/serve/controller/host/sim-aws-service-hosts.js +13 -0
  8. package/dist/serve/controller/host/sim-aws-service-hosts.js.map +1 -0
  9. package/dist/serve/http/url/sim-aws-local-url.d.ts.map +1 -1
  10. package/dist/serve/http/url/sim-aws-local-url.js +1 -0
  11. package/dist/serve/http/url/sim-aws-local-url.js.map +1 -1
  12. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +9 -7
  13. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  14. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +20 -19
  15. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  16. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts +15 -0
  17. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
  18. package/dist/service/aws/factory/sim-aws-account-service-cache.js +22 -0
  19. package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
  20. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts +9 -0
  21. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts.map +1 -1
  22. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js +13 -0
  23. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js.map +1 -1
  24. package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts +15 -0
  25. package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts.map +1 -1
  26. package/dist/service/aws/factory/sim-aws-scoped-service-registries.js +15 -0
  27. package/dist/service/aws/factory/sim-aws-scoped-service-registries.js.map +1 -1
  28. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +6 -0
  29. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  30. package/dist/service/aws/factory/sim-aws-service-factory.js +12 -0
  31. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  32. package/dist/service/aws/sim-aws-account-region-scope.d.ts +19 -0
  33. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  34. package/dist/service/aws/sim-aws-account-region-scope.js +42 -19
  35. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  36. package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
  37. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
  38. package/dist/service/aws/sim-aws-service-accessors.js +8 -0
  39. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
  40. package/dist/service/cloudformation/bind/sim-cfn-exec-binding.type.d.ts +17 -0
  41. package/dist/service/cloudformation/bind/sim-cfn-exec-binding.type.d.ts.map +1 -1
  42. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.d.ts +9 -20
  43. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.d.ts.map +1 -1
  44. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.js +16 -49
  45. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.js.map +1 -1
  46. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.d.ts +1 -8
  47. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.d.ts.map +1 -1
  48. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js +16 -45
  49. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js.map +1 -1
  50. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-validator.js +3 -0
  51. package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-validator.js.map +1 -1
  52. package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.d.ts +26 -0
  53. package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.d.ts.map +1 -0
  54. package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.js +58 -0
  55. package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.js.map +1 -0
  56. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.d.ts +28 -0
  57. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.d.ts.map +1 -0
  58. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.js +63 -0
  59. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.js.map +1 -0
  60. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.d.ts +20 -0
  61. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.d.ts.map +1 -0
  62. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.js +34 -0
  63. package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.js.map +1 -0
  64. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts.map +1 -1
  65. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js +14 -0
  66. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js.map +1 -1
  67. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.d.ts +26 -0
  68. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.d.ts.map +1 -0
  69. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.js +25 -0
  70. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.js.map +1 -0
  71. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.d.ts +31 -0
  72. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.d.ts.map +1 -0
  73. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.js +33 -0
  74. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.js.map +1 -0
  75. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-cfn-value-adapter.d.ts.map +1 -1
  76. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-cfn-value-adapter.js +15 -0
  77. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-cfn-value-adapter.js.map +1 -1
  78. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.d.ts +26 -0
  79. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.d.ts.map +1 -0
  80. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.js +25 -0
  81. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.js.map +1 -0
  82. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.d.ts +25 -0
  83. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.d.ts.map +1 -0
  84. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.js +24 -0
  85. package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.js.map +1 -0
  86. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts +1 -0
  87. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
  88. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +20 -9
  89. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
  90. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.d.ts +26 -0
  91. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.d.ts.map +1 -0
  92. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.js +34 -0
  93. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.js.map +1 -0
  94. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.d.ts +37 -0
  95. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.d.ts.map +1 -0
  96. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.js +67 -0
  97. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.js.map +1 -0
  98. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.d.ts +26 -0
  99. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.d.ts.map +1 -0
  100. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.js +37 -0
  101. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.js.map +1 -0
  102. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.d.ts +40 -0
  103. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.d.ts.map +1 -0
  104. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.js +74 -0
  105. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.js.map +1 -0
  106. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.d.ts +29 -3
  107. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.d.ts.map +1 -1
  108. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.js +88 -26
  109. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.js.map +1 -1
  110. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts +5 -3
  111. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts.map +1 -1
  112. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js +15 -3
  113. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js.map +1 -1
  114. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +6 -0
  115. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -1
  116. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +1 -3
  117. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
  118. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts +0 -1
  119. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
  120. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -4
  121. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
  122. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +2 -3
  123. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  124. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +3 -4
  125. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  126. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +5 -6
  127. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  128. package/dist/service/cognito/command/domain/sim-cognito-domain-commands.d.ts +62 -0
  129. package/dist/service/cognito/command/domain/sim-cognito-domain-commands.d.ts.map +1 -0
  130. package/dist/service/cognito/command/domain/sim-cognito-domain-commands.js +87 -0
  131. package/dist/service/cognito/command/domain/sim-cognito-domain-commands.js.map +1 -0
  132. package/dist/service/cognito/command/domain/sim-cognito-domain-view.d.ts +19 -0
  133. package/dist/service/cognito/command/domain/sim-cognito-domain-view.d.ts.map +1 -0
  134. package/dist/service/cognito/command/domain/sim-cognito-domain-view.js +38 -0
  135. package/dist/service/cognito/command/domain/sim-cognito-domain-view.js.map +1 -0
  136. package/dist/service/cognito/command/domain/user-pool-domain.command.d.ts +72 -0
  137. package/dist/service/cognito/command/domain/user-pool-domain.command.d.ts.map +1 -0
  138. package/dist/service/cognito/command/domain/user-pool-domain.command.js +2 -0
  139. package/dist/service/cognito/command/domain/user-pool-domain.command.js.map +1 -0
  140. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +69 -0
  141. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts.map +1 -0
  142. package/dist/service/cognito/command/hosted/hosted-auth.command.js +2 -0
  143. package/dist/service/cognito/command/hosted/hosted-auth.command.js.map +1 -0
  144. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +38 -0
  145. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts.map +1 -0
  146. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +72 -0
  147. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js.map +1 -0
  148. package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.d.ts +37 -0
  149. package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.d.ts.map +1 -0
  150. package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.js +123 -0
  151. package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.js.map +1 -0
  152. package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.d.ts +16 -0
  153. package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.d.ts.map +1 -0
  154. package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.js +34 -0
  155. package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.js.map +1 -0
  156. package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.d.ts +16 -0
  157. package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.d.ts.map +1 -0
  158. package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.js +32 -0
  159. package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.js.map +1 -0
  160. package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.d.ts +49 -0
  161. package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.d.ts.map +1 -0
  162. package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.js +98 -0
  163. package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.js.map +1 -0
  164. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts +28 -0
  165. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts.map +1 -0
  166. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +27 -0
  167. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js.map +1 -0
  168. package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.d.ts +22 -0
  169. package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.d.ts.map +1 -0
  170. package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.js +43 -0
  171. package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.js.map +1 -0
  172. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.d.ts +47 -0
  173. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.d.ts.map +1 -0
  174. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js +92 -0
  175. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js.map +1 -0
  176. package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.d.ts +33 -0
  177. package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.d.ts.map +1 -0
  178. package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.js +58 -0
  179. package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.js.map +1 -0
  180. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts +42 -0
  181. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts.map +1 -0
  182. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js +70 -0
  183. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js.map +1 -0
  184. package/dist/service/cognito/command/idp/identity-provider.command.d.ts +118 -0
  185. package/dist/service/cognito/command/idp/identity-provider.command.d.ts.map +1 -0
  186. package/dist/service/cognito/command/idp/identity-provider.command.js +2 -0
  187. package/dist/service/cognito/command/idp/identity-provider.command.js.map +1 -0
  188. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.d.ts +54 -0
  189. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.d.ts.map +1 -0
  190. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.js +94 -0
  191. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.js.map +1 -0
  192. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.d.ts +22 -0
  193. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.d.ts.map +1 -0
  194. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.js +38 -0
  195. package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.js.map +1 -0
  196. package/dist/service/cognito/command/sim-cognito-command.types.d.ts +3 -0
  197. package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
  198. package/dist/service/cognito/command/sim-cognito-commands.d.ts +8 -0
  199. package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
  200. package/dist/service/cognito/command/sim-cognito-commands.js +30 -1
  201. package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
  202. package/dist/service/cognito/error/sim-cognito-oauth.error.d.ts +42 -0
  203. package/dist/service/cognito/error/sim-cognito-oauth.error.d.ts.map +1 -0
  204. package/dist/service/cognito/error/sim-cognito-oauth.error.js +29 -0
  205. package/dist/service/cognito/error/sim-cognito-oauth.error.js.map +1 -0
  206. package/dist/service/cognito/error/sim-cognito.error.d.ts +10 -0
  207. package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
  208. package/dist/service/cognito/error/sim-cognito.error.js +12 -0
  209. package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
  210. package/dist/service/cognito/index.d.ts +15 -1
  211. package/dist/service/cognito/index.d.ts.map +1 -1
  212. package/dist/service/cognito/index.js +15 -1
  213. package/dist/service/cognito/index.js.map +1 -1
  214. package/dist/service/cognito/registry/sim-cognito-domain-registry.d.ts +49 -0
  215. package/dist/service/cognito/registry/sim-cognito-domain-registry.d.ts.map +1 -0
  216. package/dist/service/cognito/registry/sim-cognito-domain-registry.js +83 -0
  217. package/dist/service/cognito/registry/sim-cognito-domain-registry.js.map +1 -0
  218. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +3 -2
  219. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
  220. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +5 -2
  221. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
  222. package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.d.ts +7 -0
  223. package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.d.ts.map +1 -0
  224. package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.js +41 -0
  225. package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.js.map +1 -0
  226. package/dist/service/cognito/serve/sim-cognito-controller.d.ts +5 -0
  227. package/dist/service/cognito/serve/sim-cognito-controller.d.ts.map +1 -1
  228. package/dist/service/cognito/serve/sim-cognito-controller.js +12 -2
  229. package/dist/service/cognito/serve/sim-cognito-controller.js.map +1 -1
  230. package/dist/service/cognito/serve/sim-cognito-domain-controller.d.ts +48 -0
  231. package/dist/service/cognito/serve/sim-cognito-domain-controller.d.ts.map +1 -0
  232. package/dist/service/cognito/serve/sim-cognito-domain-controller.js +79 -0
  233. package/dist/service/cognito/serve/sim-cognito-domain-controller.js.map +1 -0
  234. package/dist/service/cognito/serve/sim-cognito-domain-endpoints.d.ts +49 -0
  235. package/dist/service/cognito/serve/sim-cognito-domain-endpoints.d.ts.map +1 -0
  236. package/dist/service/cognito/serve/sim-cognito-domain-endpoints.js +91 -0
  237. package/dist/service/cognito/serve/sim-cognito-domain-endpoints.js.map +1 -0
  238. package/dist/service/cognito/serve/sim-cognito-oauth-response.d.ts +57 -0
  239. package/dist/service/cognito/serve/sim-cognito-oauth-response.d.ts.map +1 -0
  240. package/dist/service/cognito/serve/sim-cognito-oauth-response.js +113 -0
  241. package/dist/service/cognito/serve/sim-cognito-oauth-response.js.map +1 -0
  242. package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts +15 -4
  243. package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts.map +1 -1
  244. package/dist/service/cognito/serve/sim-cognito-openid-configuration.js +28 -4
  245. package/dist/service/cognito/serve/sim-cognito-openid-configuration.js.map +1 -1
  246. package/dist/service/cognito/serve/sim-cognito-token-request.d.ts +30 -0
  247. package/dist/service/cognito/serve/sim-cognito-token-request.d.ts.map +1 -0
  248. package/dist/service/cognito/serve/sim-cognito-token-request.js +66 -0
  249. package/dist/service/cognito/serve/sim-cognito-token-request.js.map +1 -0
  250. package/dist/service/cognito/sim-cognito-federation.d.ts +74 -0
  251. package/dist/service/cognito/sim-cognito-federation.d.ts.map +1 -0
  252. package/dist/service/cognito/sim-cognito-federation.js +99 -0
  253. package/dist/service/cognito/sim-cognito-federation.js.map +1 -0
  254. package/dist/service/cognito/sim-cognito-identity-provider.d.ts +21 -2
  255. package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
  256. package/dist/service/cognito/sim-cognito-identity-provider.js +21 -4
  257. package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
  258. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.d.ts +28 -0
  259. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.d.ts.map +1 -0
  260. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.js +52 -0
  261. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.js.map +1 -0
  262. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.d.ts +57 -0
  263. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.d.ts.map +1 -0
  264. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.js +75 -0
  265. package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.js.map +1 -0
  266. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +8 -0
  267. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -1
  268. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +13 -0
  269. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -1
  270. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +10 -0
  271. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -1
  272. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +6 -0
  273. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -1
  274. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +47 -4
  275. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -1
  276. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +58 -4
  277. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -1
  278. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.d.ts +18 -0
  279. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.d.ts.map +1 -0
  280. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.js +61 -0
  281. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.js.map +1 -0
  282. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.d.ts +60 -0
  283. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.d.ts.map +1 -0
  284. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.js +83 -0
  285. package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.js.map +1 -0
  286. package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.d.ts +22 -0
  287. package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.d.ts.map +1 -0
  288. package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.js +47 -0
  289. package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.js.map +1 -0
  290. package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.d.ts +29 -0
  291. package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.d.ts.map +1 -0
  292. package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.js +64 -0
  293. package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.js.map +1 -0
  294. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +4 -5
  295. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts.map +1 -1
  296. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js +4 -5
  297. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js.map +1 -1
  298. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +4 -4
  299. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  300. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +4 -4
  301. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  302. package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.d.ts +30 -0
  303. package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.d.ts.map +1 -0
  304. package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.js +37 -0
  305. package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.js.map +1 -0
  306. package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.d.ts +58 -0
  307. package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.d.ts.map +1 -0
  308. package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.js +123 -0
  309. package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.js.map +1 -0
  310. package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.d.ts +33 -0
  311. package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.d.ts.map +1 -0
  312. package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.js +66 -0
  313. package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.js.map +1 -0
  314. package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.d.ts +58 -0
  315. package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.d.ts.map +1 -0
  316. package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.js +70 -0
  317. package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.js.map +1 -0
  318. package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.d.ts +40 -0
  319. package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.d.ts.map +1 -0
  320. package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.js +56 -0
  321. package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.js.map +1 -0
  322. package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.d.ts +37 -0
  323. package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.d.ts.map +1 -0
  324. package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.js +28 -0
  325. package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.js.map +1 -0
  326. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.d.ts +64 -0
  327. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.d.ts.map +1 -0
  328. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.js +50 -0
  329. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.js.map +1 -0
  330. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.d.ts +47 -0
  331. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.d.ts.map +1 -0
  332. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.js +72 -0
  333. package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.js.map +1 -0
  334. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.d.ts +37 -0
  335. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.d.ts.map +1 -0
  336. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.js +55 -0
  337. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.js.map +1 -0
  338. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.d.ts +39 -0
  339. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.d.ts.map +1 -0
  340. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.js +58 -0
  341. package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.js.map +1 -0
  342. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.d.ts +29 -0
  343. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.d.ts.map +1 -0
  344. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.js +52 -0
  345. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.js.map +1 -0
  346. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.d.ts +24 -0
  347. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.d.ts.map +1 -0
  348. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.js +67 -0
  349. package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.js.map +1 -0
  350. package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.d.ts +82 -0
  351. package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.d.ts.map +1 -0
  352. package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.js +108 -0
  353. package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.js.map +1 -0
  354. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +11 -1
  355. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
  356. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +11 -1
  357. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
  358. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts +5 -0
  359. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts.map +1 -1
  360. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js +16 -5
  361. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js.map +1 -1
  362. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts +7 -0
  363. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts.map +1 -1
  364. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js +14 -0
  365. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js.map +1 -1
  366. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts +10 -1
  367. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts.map +1 -1
  368. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js.map +1 -1
  369. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +5 -0
  370. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -1
  371. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +3 -0
  372. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -1
  373. package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.d.ts +9 -0
  374. package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.d.ts.map +1 -0
  375. package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.js +39 -0
  376. package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.js.map +1 -0
  377. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts.map +1 -1
  378. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js +2 -29
  379. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js.map +1 -1
  380. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts +15 -0
  381. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts.map +1 -1
  382. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js +17 -0
  383. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js.map +1 -1
  384. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts +14 -4
  385. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts.map +1 -1
  386. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js +13 -3
  387. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js.map +1 -1
  388. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +20 -0
  389. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -1
  390. package/dist/service/cognito/user-pool/user/sim-cognito-user.js +29 -1
  391. package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -1
  392. package/dist/service/ecs/cluster/sim-ecs-cluster-arn.d.ts +38 -0
  393. package/dist/service/ecs/cluster/sim-ecs-cluster-arn.d.ts.map +1 -0
  394. package/dist/service/ecs/cluster/sim-ecs-cluster-arn.js +54 -0
  395. package/dist/service/ecs/cluster/sim-ecs-cluster-arn.js.map +1 -0
  396. package/dist/service/ecs/cluster/sim-ecs-cluster-store.d.ts +36 -0
  397. package/dist/service/ecs/cluster/sim-ecs-cluster-store.d.ts.map +1 -0
  398. package/dist/service/ecs/cluster/sim-ecs-cluster-store.js +51 -0
  399. package/dist/service/ecs/cluster/sim-ecs-cluster-store.js.map +1 -0
  400. package/dist/service/ecs/cluster/sim-ecs-cluster.d.ts +95 -0
  401. package/dist/service/ecs/cluster/sim-ecs-cluster.d.ts.map +1 -0
  402. package/dist/service/ecs/cluster/sim-ecs-cluster.js +66 -0
  403. package/dist/service/ecs/cluster/sim-ecs-cluster.js.map +1 -0
  404. package/dist/service/ecs/command/authorize/sim-ecs-authorizer.d.ts +38 -0
  405. package/dist/service/ecs/command/authorize/sim-ecs-authorizer.d.ts.map +1 -0
  406. package/dist/service/ecs/command/authorize/sim-ecs-authorizer.js +61 -0
  407. package/dist/service/ecs/command/authorize/sim-ecs-authorizer.js.map +1 -0
  408. package/dist/service/ecs/command/create-cluster/create-cluster-factory.d.ts +30 -0
  409. package/dist/service/ecs/command/create-cluster/create-cluster-factory.d.ts.map +1 -0
  410. package/dist/service/ecs/command/create-cluster/create-cluster-factory.js +46 -0
  411. package/dist/service/ecs/command/create-cluster/create-cluster-factory.js.map +1 -0
  412. package/dist/service/ecs/command/create-cluster/create-cluster.command.d.ts +28 -0
  413. package/dist/service/ecs/command/create-cluster/create-cluster.command.d.ts.map +1 -0
  414. package/dist/service/ecs/command/create-cluster/create-cluster.command.js +2 -0
  415. package/dist/service/ecs/command/create-cluster/create-cluster.command.js.map +1 -0
  416. package/dist/service/ecs/command/create-cluster/create-cluster.handler.d.ts +23 -0
  417. package/dist/service/ecs/command/create-cluster/create-cluster.handler.d.ts.map +1 -0
  418. package/dist/service/ecs/command/create-cluster/create-cluster.handler.js +47 -0
  419. package/dist/service/ecs/command/create-cluster/create-cluster.handler.js.map +1 -0
  420. package/dist/service/ecs/command/delete-cluster/delete-cluster.command.d.ts +24 -0
  421. package/dist/service/ecs/command/delete-cluster/delete-cluster.command.d.ts.map +1 -0
  422. package/dist/service/ecs/command/delete-cluster/delete-cluster.command.js +2 -0
  423. package/dist/service/ecs/command/delete-cluster/delete-cluster.command.js.map +1 -0
  424. package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.d.ts +34 -0
  425. package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.d.ts.map +1 -0
  426. package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.js +70 -0
  427. package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.js.map +1 -0
  428. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.d.ts +27 -0
  429. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.d.ts.map +1 -0
  430. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.js +2 -0
  431. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.js.map +1 -0
  432. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.d.ts +30 -0
  433. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.d.ts.map +1 -0
  434. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.js +51 -0
  435. package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.js.map +1 -0
  436. package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.d.ts +10 -0
  437. package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.d.ts.map +1 -0
  438. package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.js +35 -0
  439. package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.js.map +1 -0
  440. package/dist/service/ecs/command/describe-clusters/describe-clusters.command.d.ts +39 -0
  441. package/dist/service/ecs/command/describe-clusters/describe-clusters.command.d.ts.map +1 -0
  442. package/dist/service/ecs/command/describe-clusters/describe-clusters.command.js +2 -0
  443. package/dist/service/ecs/command/describe-clusters/describe-clusters.command.js.map +1 -0
  444. package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.d.ts +19 -0
  445. package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.d.ts.map +1 -0
  446. package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.js +31 -0
  447. package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.js.map +1 -0
  448. package/dist/service/ecs/command/describe-clusters/described-cluster.d.ts +42 -0
  449. package/dist/service/ecs/command/describe-clusters/described-cluster.d.ts.map +1 -0
  450. package/dist/service/ecs/command/describe-clusters/described-cluster.js +46 -0
  451. package/dist/service/ecs/command/describe-clusters/described-cluster.js.map +1 -0
  452. package/dist/service/ecs/command/describe-clusters/described-clusters.d.ts +28 -0
  453. package/dist/service/ecs/command/describe-clusters/described-clusters.d.ts.map +1 -0
  454. package/dist/service/ecs/command/describe-clusters/described-clusters.js +36 -0
  455. package/dist/service/ecs/command/describe-clusters/described-clusters.js.map +1 -0
  456. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.d.ts +29 -0
  457. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.d.ts.map +1 -0
  458. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.js +2 -0
  459. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.js.map +1 -0
  460. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.d.ts +32 -0
  461. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.d.ts.map +1 -0
  462. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.js +56 -0
  463. package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.js.map +1 -0
  464. package/dist/service/ecs/command/list-clusters/list-clusters.command.d.ts +26 -0
  465. package/dist/service/ecs/command/list-clusters/list-clusters.command.d.ts.map +1 -0
  466. package/dist/service/ecs/command/list-clusters/list-clusters.command.js +2 -0
  467. package/dist/service/ecs/command/list-clusters/list-clusters.command.js.map +1 -0
  468. package/dist/service/ecs/command/list-clusters/list-clusters.handler.d.ts +22 -0
  469. package/dist/service/ecs/command/list-clusters/list-clusters.handler.d.ts.map +1 -0
  470. package/dist/service/ecs/command/list-clusters/list-clusters.handler.js +33 -0
  471. package/dist/service/ecs/command/list-clusters/list-clusters.handler.js.map +1 -0
  472. package/dist/service/ecs/command/list-task-definition-families/family-status-filter.d.ts +25 -0
  473. package/dist/service/ecs/command/list-task-definition-families/family-status-filter.d.ts.map +1 -0
  474. package/dist/service/ecs/command/list-task-definition-families/family-status-filter.js +55 -0
  475. package/dist/service/ecs/command/list-task-definition-families/family-status-filter.js.map +1 -0
  476. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.d.ts +27 -0
  477. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.d.ts.map +1 -0
  478. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.js +2 -0
  479. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.js.map +1 -0
  480. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.d.ts +22 -0
  481. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.d.ts.map +1 -0
  482. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.js +42 -0
  483. package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.js.map +1 -0
  484. package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.d.ts +23 -0
  485. package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.d.ts.map +1 -0
  486. package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.js +56 -0
  487. package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.js.map +1 -0
  488. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.d.ts +29 -0
  489. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.d.ts.map +1 -0
  490. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.js +2 -0
  491. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.js.map +1 -0
  492. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.d.ts +23 -0
  493. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.d.ts.map +1 -0
  494. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.js +44 -0
  495. package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.js.map +1 -0
  496. package/dist/service/ecs/command/register-task-definition/register-task-definition.command.d.ts +33 -0
  497. package/dist/service/ecs/command/register-task-definition/register-task-definition.command.d.ts.map +1 -0
  498. package/dist/service/ecs/command/register-task-definition/register-task-definition.command.js +2 -0
  499. package/dist/service/ecs/command/register-task-definition/register-task-definition.command.js.map +1 -0
  500. package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.d.ts +28 -0
  501. package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.d.ts.map +1 -0
  502. package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.js +70 -0
  503. package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.js.map +1 -0
  504. package/dist/service/ecs/command/sim-ecs-command-context.d.ts +35 -0
  505. package/dist/service/ecs/command/sim-ecs-command-context.d.ts.map +1 -0
  506. package/dist/service/ecs/command/sim-ecs-command-context.js +2 -0
  507. package/dist/service/ecs/command/sim-ecs-command-context.js.map +1 -0
  508. package/dist/service/ecs/command/sim-ecs-command-handler.d.ts +35 -0
  509. package/dist/service/ecs/command/sim-ecs-command-handler.d.ts.map +1 -0
  510. package/dist/service/ecs/command/sim-ecs-command-handler.js +38 -0
  511. package/dist/service/ecs/command/sim-ecs-command-handler.js.map +1 -0
  512. package/dist/service/ecs/command/sim-ecs-command.types.d.ts +13 -0
  513. package/dist/service/ecs/command/sim-ecs-command.types.d.ts.map +1 -0
  514. package/dist/service/ecs/command/sim-ecs-command.types.js +2 -0
  515. package/dist/service/ecs/command/sim-ecs-command.types.js.map +1 -0
  516. package/dist/service/ecs/command/sim-ecs-page.d.ts +22 -0
  517. package/dist/service/ecs/command/sim-ecs-page.d.ts.map +1 -0
  518. package/dist/service/ecs/command/sim-ecs-page.js +60 -0
  519. package/dist/service/ecs/command/sim-ecs-page.js.map +1 -0
  520. package/dist/service/ecs/command/sim-ecs-request-options.d.ts +14 -0
  521. package/dist/service/ecs/command/sim-ecs-request-options.d.ts.map +1 -0
  522. package/dist/service/ecs/command/sim-ecs-request-options.js +2 -0
  523. package/dist/service/ecs/command/sim-ecs-request-options.js.map +1 -0
  524. package/dist/service/ecs/command/sim-ecs-unsimulated-input.d.ts +18 -0
  525. package/dist/service/ecs/command/sim-ecs-unsimulated-input.d.ts.map +1 -0
  526. package/dist/service/ecs/command/sim-ecs-unsimulated-input.js +29 -0
  527. package/dist/service/ecs/command/sim-ecs-unsimulated-input.js.map +1 -0
  528. package/dist/service/ecs/error/sim-ecs.error.d.ts +45 -0
  529. package/dist/service/ecs/error/sim-ecs.error.d.ts.map +1 -0
  530. package/dist/service/ecs/error/sim-ecs.error.js +50 -0
  531. package/dist/service/ecs/error/sim-ecs.error.js.map +1 -0
  532. package/dist/service/ecs/index.d.ts +21 -0
  533. package/dist/service/ecs/index.d.ts.map +1 -0
  534. package/dist/service/ecs/index.js +17 -0
  535. package/dist/service/ecs/index.js.map +1 -0
  536. package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.d.ts +18 -0
  537. package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.d.ts.map +1 -0
  538. package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.js +60 -0
  539. package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.js.map +1 -0
  540. package/dist/service/ecs/sim-ecs-arn.d.ts +26 -0
  541. package/dist/service/ecs/sim-ecs-arn.d.ts.map +1 -0
  542. package/dist/service/ecs/sim-ecs-arn.js +33 -0
  543. package/dist/service/ecs/sim-ecs-arn.js.map +1 -0
  544. package/dist/service/ecs/sim-ecs-name.d.ts +9 -0
  545. package/dist/service/ecs/sim-ecs-name.d.ts.map +1 -0
  546. package/dist/service/ecs/sim-ecs-name.js +26 -0
  547. package/dist/service/ecs/sim-ecs-name.js.map +1 -0
  548. package/dist/service/ecs/sim-ecs.d.ts +78 -0
  549. package/dist/service/ecs/sim-ecs.d.ts.map +1 -0
  550. package/dist/service/ecs/sim-ecs.js +133 -0
  551. package/dist/service/ecs/sim-ecs.js.map +1 -0
  552. package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.d.ts +65 -0
  553. package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.d.ts.map +1 -0
  554. package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.js +50 -0
  555. package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.js.map +1 -0
  556. package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.d.ts +20 -0
  557. package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.d.ts.map +1 -0
  558. package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.js +40 -0
  559. package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.js.map +1 -0
  560. package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.d.ts +87 -0
  561. package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.d.ts.map +1 -0
  562. package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.js +2 -0
  563. package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.js.map +1 -0
  564. package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.d.ts +27 -0
  565. package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.d.ts.map +1 -0
  566. package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.js +33 -0
  567. package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.js.map +1 -0
  568. package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.d.ts +19 -0
  569. package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.d.ts.map +1 -0
  570. package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.js +22 -0
  571. package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.js.map +1 -0
  572. package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.d.ts +46 -0
  573. package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.d.ts.map +1 -0
  574. package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.js +26 -0
  575. package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.js.map +1 -0
  576. package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.d.ts +42 -0
  577. package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.d.ts.map +1 -0
  578. package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.js +55 -0
  579. package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.js.map +1 -0
  580. package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.d.ts +33 -0
  581. package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.d.ts.map +1 -0
  582. package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.js +75 -0
  583. package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.js.map +1 -0
  584. package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.d.ts +71 -0
  585. package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.d.ts.map +1 -0
  586. package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.js +2 -0
  587. package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.js.map +1 -0
  588. package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.d.ts +57 -0
  589. package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.d.ts.map +1 -0
  590. package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.js +86 -0
  591. package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.js.map +1 -0
  592. package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.d.ts +36 -0
  593. package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.d.ts.map +1 -0
  594. package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.js +64 -0
  595. package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.js.map +1 -0
  596. package/dist/service/ecs/task-definition/sim-ecs-task-definition.d.ts +54 -0
  597. package/dist/service/ecs/task-definition/sim-ecs-task-definition.d.ts.map +1 -0
  598. package/dist/service/ecs/task-definition/sim-ecs-task-definition.js +67 -0
  599. package/dist/service/ecs/task-definition/sim-ecs-task-definition.js.map +1 -0
  600. package/dist/service/elbv2/action/sim-elbv2-action-targets.d.ts +19 -0
  601. package/dist/service/elbv2/action/sim-elbv2-action-targets.d.ts.map +1 -0
  602. package/dist/service/elbv2/action/sim-elbv2-action-targets.js +25 -0
  603. package/dist/service/elbv2/action/sim-elbv2-action-targets.js.map +1 -0
  604. package/dist/service/elbv2/action/sim-elbv2-action.d.ts +38 -0
  605. package/dist/service/elbv2/action/sim-elbv2-action.d.ts.map +1 -0
  606. package/dist/service/elbv2/action/sim-elbv2-action.js +138 -0
  607. package/dist/service/elbv2/action/sim-elbv2-action.js.map +1 -0
  608. package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.d.ts +34 -0
  609. package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.d.ts.map +1 -0
  610. package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.js +56 -0
  611. package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.js.map +1 -0
  612. package/dist/service/elbv2/command/listener/create-listener.handler.d.ts +27 -0
  613. package/dist/service/elbv2/command/listener/create-listener.handler.d.ts.map +1 -0
  614. package/dist/service/elbv2/command/listener/create-listener.handler.js +55 -0
  615. package/dist/service/elbv2/command/listener/create-listener.handler.js.map +1 -0
  616. package/dist/service/elbv2/command/listener/delete-listener.handler.d.ts +20 -0
  617. package/dist/service/elbv2/command/listener/delete-listener.handler.d.ts.map +1 -0
  618. package/dist/service/elbv2/command/listener/delete-listener.handler.js +28 -0
  619. package/dist/service/elbv2/command/listener/delete-listener.handler.js.map +1 -0
  620. package/dist/service/elbv2/command/listener/describe-listeners.handler.d.ts +25 -0
  621. package/dist/service/elbv2/command/listener/describe-listeners.handler.d.ts.map +1 -0
  622. package/dist/service/elbv2/command/listener/describe-listeners.handler.js +52 -0
  623. package/dist/service/elbv2/command/listener/describe-listeners.handler.js.map +1 -0
  624. package/dist/service/elbv2/command/listener/listener.command.d.ts +96 -0
  625. package/dist/service/elbv2/command/listener/listener.command.d.ts.map +1 -0
  626. package/dist/service/elbv2/command/listener/listener.command.js +2 -0
  627. package/dist/service/elbv2/command/listener/listener.command.js.map +1 -0
  628. package/dist/service/elbv2/command/listener/modify-listener.handler.d.ts +28 -0
  629. package/dist/service/elbv2/command/listener/modify-listener.handler.d.ts.map +1 -0
  630. package/dist/service/elbv2/command/listener/modify-listener.handler.js +54 -0
  631. package/dist/service/elbv2/command/listener/modify-listener.handler.js.map +1 -0
  632. package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.d.ts +14 -0
  633. package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.d.ts.map +1 -0
  634. package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.js +29 -0
  635. package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.js.map +1 -0
  636. package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.d.ts +27 -0
  637. package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.d.ts.map +1 -0
  638. package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.js +48 -0
  639. package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.js.map +1 -0
  640. package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.d.ts +19 -0
  641. package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.d.ts.map +1 -0
  642. package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.js +27 -0
  643. package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.js.map +1 -0
  644. package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.d.ts +25 -0
  645. package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.d.ts.map +1 -0
  646. package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.js +48 -0
  647. package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.js.map +1 -0
  648. package/dist/service/elbv2/command/load-balancer/load-balancer.command.d.ts +77 -0
  649. package/dist/service/elbv2/command/load-balancer/load-balancer.command.d.ts.map +1 -0
  650. package/dist/service/elbv2/command/load-balancer/load-balancer.command.js +2 -0
  651. package/dist/service/elbv2/command/load-balancer/load-balancer.command.js.map +1 -0
  652. package/dist/service/elbv2/command/rule/create-rule.handler.d.ts +27 -0
  653. package/dist/service/elbv2/command/rule/create-rule.handler.d.ts.map +1 -0
  654. package/dist/service/elbv2/command/rule/create-rule.handler.js +51 -0
  655. package/dist/service/elbv2/command/rule/create-rule.handler.js.map +1 -0
  656. package/dist/service/elbv2/command/rule/delete-rule.handler.d.ts +16 -0
  657. package/dist/service/elbv2/command/rule/delete-rule.handler.d.ts.map +1 -0
  658. package/dist/service/elbv2/command/rule/delete-rule.handler.js +24 -0
  659. package/dist/service/elbv2/command/rule/delete-rule.handler.js.map +1 -0
  660. package/dist/service/elbv2/command/rule/describe-rules.handler.d.ts +29 -0
  661. package/dist/service/elbv2/command/rule/describe-rules.handler.d.ts.map +1 -0
  662. package/dist/service/elbv2/command/rule/describe-rules.handler.js +60 -0
  663. package/dist/service/elbv2/command/rule/describe-rules.handler.js.map +1 -0
  664. package/dist/service/elbv2/command/rule/modify-rule.handler.d.ts +28 -0
  665. package/dist/service/elbv2/command/rule/modify-rule.handler.d.ts.map +1 -0
  666. package/dist/service/elbv2/command/rule/modify-rule.handler.js +48 -0
  667. package/dist/service/elbv2/command/rule/modify-rule.handler.js.map +1 -0
  668. package/dist/service/elbv2/command/rule/rule-condition.command.d.ts +45 -0
  669. package/dist/service/elbv2/command/rule/rule-condition.command.d.ts.map +1 -0
  670. package/dist/service/elbv2/command/rule/rule-condition.command.js +2 -0
  671. package/dist/service/elbv2/command/rule/rule-condition.command.js.map +1 -0
  672. package/dist/service/elbv2/command/rule/rule.command.d.ts +122 -0
  673. package/dist/service/elbv2/command/rule/rule.command.d.ts.map +1 -0
  674. package/dist/service/elbv2/command/rule/rule.command.js +2 -0
  675. package/dist/service/elbv2/command/rule/rule.command.js.map +1 -0
  676. package/dist/service/elbv2/command/rule/set-rule-priorities.handler.d.ts +26 -0
  677. package/dist/service/elbv2/command/rule/set-rule-priorities.handler.d.ts.map +1 -0
  678. package/dist/service/elbv2/command/rule/set-rule-priorities.handler.js +62 -0
  679. package/dist/service/elbv2/command/rule/set-rule-priorities.handler.js.map +1 -0
  680. package/dist/service/elbv2/command/sim-elbv2-command-handler.d.ts +26 -0
  681. package/dist/service/elbv2/command/sim-elbv2-command-handler.d.ts.map +1 -0
  682. package/dist/service/elbv2/command/sim-elbv2-command-handler.js +19 -0
  683. package/dist/service/elbv2/command/sim-elbv2-command-handler.js.map +1 -0
  684. package/dist/service/elbv2/command/sim-elbv2-command.types.d.ts +13 -0
  685. package/dist/service/elbv2/command/sim-elbv2-command.types.d.ts.map +1 -0
  686. package/dist/service/elbv2/command/sim-elbv2-command.types.js +9 -0
  687. package/dist/service/elbv2/command/sim-elbv2-command.types.js.map +1 -0
  688. package/dist/service/elbv2/command/sim-elbv2-commands.d.ts +60 -0
  689. package/dist/service/elbv2/command/sim-elbv2-commands.d.ts.map +1 -0
  690. package/dist/service/elbv2/command/sim-elbv2-commands.js +85 -0
  691. package/dist/service/elbv2/command/sim-elbv2-commands.js.map +1 -0
  692. package/dist/service/elbv2/command/sim-elbv2-page.d.ts +26 -0
  693. package/dist/service/elbv2/command/sim-elbv2-page.d.ts.map +1 -0
  694. package/dist/service/elbv2/command/sim-elbv2-page.js +67 -0
  695. package/dist/service/elbv2/command/sim-elbv2-page.js.map +1 -0
  696. package/dist/service/elbv2/command/sim-elbv2-request-options.d.ts +12 -0
  697. package/dist/service/elbv2/command/sim-elbv2-request-options.d.ts.map +1 -0
  698. package/dist/service/elbv2/command/sim-elbv2-request-options.js +2 -0
  699. package/dist/service/elbv2/command/sim-elbv2-request-options.js.map +1 -0
  700. package/dist/service/elbv2/command/sim-elbv2-shared.command.d.ts +91 -0
  701. package/dist/service/elbv2/command/sim-elbv2-shared.command.d.ts.map +1 -0
  702. package/dist/service/elbv2/command/sim-elbv2-shared.command.js +15 -0
  703. package/dist/service/elbv2/command/sim-elbv2-shared.command.js.map +1 -0
  704. package/dist/service/elbv2/command/target/deregister-targets.handler.d.ts +21 -0
  705. package/dist/service/elbv2/command/target/deregister-targets.handler.d.ts.map +1 -0
  706. package/dist/service/elbv2/command/target/deregister-targets.handler.js +32 -0
  707. package/dist/service/elbv2/command/target/deregister-targets.handler.js.map +1 -0
  708. package/dist/service/elbv2/command/target/describe-target-health.handler.d.ts +30 -0
  709. package/dist/service/elbv2/command/target/describe-target-health.handler.d.ts.map +1 -0
  710. package/dist/service/elbv2/command/target/describe-target-health.handler.js +57 -0
  711. package/dist/service/elbv2/command/target/describe-target-health.handler.js.map +1 -0
  712. package/dist/service/elbv2/command/target/register-targets.handler.d.ts +20 -0
  713. package/dist/service/elbv2/command/target/register-targets.handler.d.ts.map +1 -0
  714. package/dist/service/elbv2/command/target/register-targets.handler.js +31 -0
  715. package/dist/service/elbv2/command/target/register-targets.handler.js.map +1 -0
  716. package/dist/service/elbv2/command/target/target.command.d.ts +77 -0
  717. package/dist/service/elbv2/command/target/target.command.d.ts.map +1 -0
  718. package/dist/service/elbv2/command/target/target.command.js +2 -0
  719. package/dist/service/elbv2/command/target/target.command.js.map +1 -0
  720. package/dist/service/elbv2/command/target-group/create-target-group.handler.d.ts +30 -0
  721. package/dist/service/elbv2/command/target-group/create-target-group.handler.d.ts.map +1 -0
  722. package/dist/service/elbv2/command/target-group/create-target-group.handler.js +55 -0
  723. package/dist/service/elbv2/command/target-group/create-target-group.handler.js.map +1 -0
  724. package/dist/service/elbv2/command/target-group/delete-target-group.handler.d.ts +26 -0
  725. package/dist/service/elbv2/command/target-group/delete-target-group.handler.d.ts.map +1 -0
  726. package/dist/service/elbv2/command/target-group/delete-target-group.handler.js +34 -0
  727. package/dist/service/elbv2/command/target-group/delete-target-group.handler.js.map +1 -0
  728. package/dist/service/elbv2/command/target-group/describe-target-groups-selection.d.ts +33 -0
  729. package/dist/service/elbv2/command/target-group/describe-target-groups-selection.d.ts.map +1 -0
  730. package/dist/service/elbv2/command/target-group/describe-target-groups-selection.js +50 -0
  731. package/dist/service/elbv2/command/target-group/describe-target-groups-selection.js.map +1 -0
  732. package/dist/service/elbv2/command/target-group/describe-target-groups.handler.d.ts +28 -0
  733. package/dist/service/elbv2/command/target-group/describe-target-groups.handler.d.ts.map +1 -0
  734. package/dist/service/elbv2/command/target-group/describe-target-groups.handler.js +38 -0
  735. package/dist/service/elbv2/command/target-group/describe-target-groups.handler.js.map +1 -0
  736. package/dist/service/elbv2/command/target-group/modify-target-group.handler.d.ts +28 -0
  737. package/dist/service/elbv2/command/target-group/modify-target-group.handler.d.ts.map +1 -0
  738. package/dist/service/elbv2/command/target-group/modify-target-group.handler.js +40 -0
  739. package/dist/service/elbv2/command/target-group/modify-target-group.handler.js.map +1 -0
  740. package/dist/service/elbv2/command/target-group/target-group.command.d.ts +97 -0
  741. package/dist/service/elbv2/command/target-group/target-group.command.d.ts.map +1 -0
  742. package/dist/service/elbv2/command/target-group/target-group.command.js +2 -0
  743. package/dist/service/elbv2/command/target-group/target-group.command.js.map +1 -0
  744. package/dist/service/elbv2/error/sim-elbv2.error.d.ts +142 -0
  745. package/dist/service/elbv2/error/sim-elbv2.error.d.ts.map +1 -0
  746. package/dist/service/elbv2/error/sim-elbv2.error.js +169 -0
  747. package/dist/service/elbv2/error/sim-elbv2.error.js.map +1 -0
  748. package/dist/service/elbv2/index.d.ts +18 -0
  749. package/dist/service/elbv2/index.d.ts.map +1 -0
  750. package/dist/service/elbv2/index.js +11 -0
  751. package/dist/service/elbv2/index.js.map +1 -0
  752. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.d.ts +45 -0
  753. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.d.ts.map +1 -0
  754. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.js +69 -0
  755. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.js.map +1 -0
  756. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.d.ts +81 -0
  757. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.d.ts.map +1 -0
  758. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.js +80 -0
  759. package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.js.map +1 -0
  760. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.d.ts +35 -0
  761. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.d.ts.map +1 -0
  762. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.js +126 -0
  763. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.js.map +1 -0
  764. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.d.ts +9 -0
  765. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.d.ts.map +1 -0
  766. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.js +22 -0
  767. package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.js.map +1 -0
  768. package/dist/service/elbv2/listener/sim-elbv2-listener-security.d.ts +20 -0
  769. package/dist/service/elbv2/listener/sim-elbv2-listener-security.d.ts.map +1 -0
  770. package/dist/service/elbv2/listener/sim-elbv2-listener-security.js +33 -0
  771. package/dist/service/elbv2/listener/sim-elbv2-listener-security.js.map +1 -0
  772. package/dist/service/elbv2/listener/sim-elbv2-listener-store.d.ts +46 -0
  773. package/dist/service/elbv2/listener/sim-elbv2-listener-store.d.ts.map +1 -0
  774. package/dist/service/elbv2/listener/sim-elbv2-listener-store.js +69 -0
  775. package/dist/service/elbv2/listener/sim-elbv2-listener-store.js.map +1 -0
  776. package/dist/service/elbv2/listener/sim-elbv2-listener.d.ts +74 -0
  777. package/dist/service/elbv2/listener/sim-elbv2-listener.d.ts.map +1 -0
  778. package/dist/service/elbv2/listener/sim-elbv2-listener.js +80 -0
  779. package/dist/service/elbv2/listener/sim-elbv2-listener.js.map +1 -0
  780. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.d.ts +34 -0
  781. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.d.ts.map +1 -0
  782. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.js +38 -0
  783. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.js.map +1 -0
  784. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.d.ts +5 -0
  785. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.d.ts.map +1 -0
  786. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.js +21 -0
  787. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.js.map +1 -0
  788. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.d.ts +14 -0
  789. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.d.ts.map +1 -0
  790. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.js +20 -0
  791. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.js.map +1 -0
  792. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.d.ts +45 -0
  793. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.d.ts.map +1 -0
  794. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.js +73 -0
  795. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.js.map +1 -0
  796. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.d.ts +62 -0
  797. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.d.ts.map +1 -0
  798. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.js +51 -0
  799. package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.js.map +1 -0
  800. package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.d.ts +22 -0
  801. package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.d.ts.map +1 -0
  802. package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.js +104 -0
  803. package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.js.map +1 -0
  804. package/dist/service/elbv2/sim-elbv2-protocol.d.ts +9 -0
  805. package/dist/service/elbv2/sim-elbv2-protocol.d.ts.map +1 -0
  806. package/dist/service/elbv2/sim-elbv2-protocol.js +44 -0
  807. package/dist/service/elbv2/sim-elbv2-protocol.js.map +1 -0
  808. package/dist/service/elbv2/sim-elbv2-resource-id.d.ts +19 -0
  809. package/dist/service/elbv2/sim-elbv2-resource-id.d.ts.map +1 -0
  810. package/dist/service/elbv2/sim-elbv2-resource-id.js +31 -0
  811. package/dist/service/elbv2/sim-elbv2-resource-id.js.map +1 -0
  812. package/dist/service/elbv2/sim-elbv2-resource-name.d.ts +14 -0
  813. package/dist/service/elbv2/sim-elbv2-resource-name.d.ts.map +1 -0
  814. package/dist/service/elbv2/sim-elbv2-resource-name.js +35 -0
  815. package/dist/service/elbv2/sim-elbv2-resource-name.js.map +1 -0
  816. package/dist/service/elbv2/sim-elbv2-stores.d.ts +34 -0
  817. package/dist/service/elbv2/sim-elbv2-stores.d.ts.map +1 -0
  818. package/dist/service/elbv2/sim-elbv2-stores.js +42 -0
  819. package/dist/service/elbv2/sim-elbv2-stores.js.map +1 -0
  820. package/dist/service/elbv2/sim-elbv2.d.ts +85 -0
  821. package/dist/service/elbv2/sim-elbv2.d.ts.map +1 -0
  822. package/dist/service/elbv2/sim-elbv2.fixture.d.ts +41 -0
  823. package/dist/service/elbv2/sim-elbv2.fixture.d.ts.map +1 -0
  824. package/dist/service/elbv2/sim-elbv2.fixture.js +79 -0
  825. package/dist/service/elbv2/sim-elbv2.fixture.js.map +1 -0
  826. package/dist/service/elbv2/sim-elbv2.js +128 -0
  827. package/dist/service/elbv2/sim-elbv2.js.map +1 -0
  828. package/dist/service/elbv2/target-group/sim-elbv2-health-check.d.ts +59 -0
  829. package/dist/service/elbv2/target-group/sim-elbv2-health-check.d.ts.map +1 -0
  830. package/dist/service/elbv2/target-group/sim-elbv2-health-check.js +73 -0
  831. package/dist/service/elbv2/target-group/sim-elbv2-health-check.js.map +1 -0
  832. package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.d.ts +24 -0
  833. package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.d.ts.map +1 -0
  834. package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.js +18 -0
  835. package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.js.map +1 -0
  836. package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.d.ts +8 -0
  837. package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.d.ts.map +1 -0
  838. package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.js +11 -0
  839. package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.js.map +1 -0
  840. package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.d.ts +46 -0
  841. package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.d.ts.map +1 -0
  842. package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.js +74 -0
  843. package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.js.map +1 -0
  844. package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.d.ts +24 -0
  845. package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.d.ts.map +1 -0
  846. package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.js +38 -0
  847. package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.js.map +1 -0
  848. package/dist/service/elbv2/target-group/sim-elbv2-target-group.d.ts +65 -0
  849. package/dist/service/elbv2/target-group/sim-elbv2-target-group.d.ts.map +1 -0
  850. package/dist/service/elbv2/target-group/sim-elbv2-target-group.js +73 -0
  851. package/dist/service/elbv2/target-group/sim-elbv2-target-group.js.map +1 -0
  852. package/dist/service/elbv2/target-group/sim-elbv2-target-set.d.ts +45 -0
  853. package/dist/service/elbv2/target-group/sim-elbv2-target-set.d.ts.map +1 -0
  854. package/dist/service/elbv2/target-group/sim-elbv2-target-set.js +66 -0
  855. package/dist/service/elbv2/target-group/sim-elbv2-target-set.js.map +1 -0
  856. package/dist/service/elbv2/target-group/sim-elbv2-target-type.d.ts +55 -0
  857. package/dist/service/elbv2/target-group/sim-elbv2-target-type.d.ts.map +1 -0
  858. package/dist/service/elbv2/target-group/sim-elbv2-target-type.js +114 -0
  859. package/dist/service/elbv2/target-group/sim-elbv2-target-type.js.map +1 -0
  860. package/dist/service/elbv2/target-group/sim-elbv2-target.d.ts +37 -0
  861. package/dist/service/elbv2/target-group/sim-elbv2-target.d.ts.map +1 -0
  862. package/dist/service/elbv2/target-group/sim-elbv2-target.js +47 -0
  863. package/dist/service/elbv2/target-group/sim-elbv2-target.js.map +1 -0
  864. package/dist/service/kms/command/key/sim-kms-key-commands.d.ts.map +1 -1
  865. package/dist/service/kms/command/key/sim-kms-key-commands.js +2 -1
  866. package/dist/service/kms/command/key/sim-kms-key-commands.js.map +1 -1
  867. package/dist/service/kms/command/key/sim-kms-key-type.d.ts +44 -6
  868. package/dist/service/kms/command/key/sim-kms-key-type.d.ts.map +1 -1
  869. package/dist/service/kms/command/key/sim-kms-key-type.js +83 -14
  870. package/dist/service/kms/command/key/sim-kms-key-type.js.map +1 -1
  871. package/dist/service/kms/command/sign/sign.command.d.ts +69 -0
  872. package/dist/service/kms/command/sign/sign.command.d.ts.map +1 -0
  873. package/dist/service/kms/command/sign/sign.command.js +2 -0
  874. package/dist/service/kms/command/sign/sign.command.js.map +1 -0
  875. package/dist/service/kms/command/sign/sim-kms-sign-commands.d.ts +40 -0
  876. package/dist/service/kms/command/sign/sim-kms-sign-commands.d.ts.map +1 -0
  877. package/dist/service/kms/command/sign/sim-kms-sign-commands.js +76 -0
  878. package/dist/service/kms/command/sign/sim-kms-sign-commands.js.map +1 -0
  879. package/dist/service/kms/command/sign/sim-kms-signed-message.d.ts +26 -0
  880. package/dist/service/kms/command/sign/sim-kms-signed-message.d.ts.map +1 -0
  881. package/dist/service/kms/command/sign/sim-kms-signed-message.js +62 -0
  882. package/dist/service/kms/command/sign/sim-kms-signed-message.js.map +1 -0
  883. package/dist/service/kms/command/sim-kms-command.types.d.ts +1 -0
  884. package/dist/service/kms/command/sim-kms-command.types.d.ts.map +1 -1
  885. package/dist/service/kms/error/sim-kms.error.d.ts +22 -0
  886. package/dist/service/kms/error/sim-kms.error.d.ts.map +1 -1
  887. package/dist/service/kms/error/sim-kms.error.js +26 -0
  888. package/dist/service/kms/error/sim-kms.error.js.map +1 -1
  889. package/dist/service/kms/index.d.ts +3 -1
  890. package/dist/service/kms/index.d.ts.map +1 -1
  891. package/dist/service/kms/index.js +3 -1
  892. package/dist/service/kms/index.js.map +1 -1
  893. package/dist/service/kms/key/sim-kms-key-factory.d.ts +6 -0
  894. package/dist/service/kms/key/sim-kms-key-factory.d.ts.map +1 -1
  895. package/dist/service/kms/key/sim-kms-key-factory.js +7 -2
  896. package/dist/service/kms/key/sim-kms-key-factory.js.map +1 -1
  897. package/dist/service/kms/key/sim-kms-key-material-factory.d.ts +18 -0
  898. package/dist/service/kms/key/sim-kms-key-material-factory.d.ts.map +1 -0
  899. package/dist/service/kms/key/sim-kms-key-material-factory.js +21 -0
  900. package/dist/service/kms/key/sim-kms-key-material-factory.js.map +1 -0
  901. package/dist/service/kms/key/sim-kms-key-material.d.ts +38 -18
  902. package/dist/service/kms/key/sim-kms-key-material.d.ts.map +1 -1
  903. package/dist/service/kms/key/sim-kms-key-material.js +43 -54
  904. package/dist/service/kms/key/sim-kms-key-material.js.map +1 -1
  905. package/dist/service/kms/key/sim-kms-key-metadata.d.ts +11 -25
  906. package/dist/service/kms/key/sim-kms-key-metadata.d.ts.map +1 -1
  907. package/dist/service/kms/key/sim-kms-key-metadata.js +19 -4
  908. package/dist/service/kms/key/sim-kms-key-metadata.js.map +1 -1
  909. package/dist/service/kms/key/sim-kms-key-metadata.type.d.ts +28 -0
  910. package/dist/service/kms/key/sim-kms-key-metadata.type.d.ts.map +1 -0
  911. package/dist/service/kms/key/sim-kms-key-metadata.type.js +2 -0
  912. package/dist/service/kms/key/sim-kms-key-metadata.type.js.map +1 -0
  913. package/dist/service/kms/key/sim-kms-key.d.ts +21 -0
  914. package/dist/service/kms/key/sim-kms-key.d.ts.map +1 -1
  915. package/dist/service/kms/key/sim-kms-key.js +30 -0
  916. package/dist/service/kms/key/sim-kms-key.js.map +1 -1
  917. package/dist/service/kms/key/sim-kms-signing-key-material.d.ts +38 -0
  918. package/dist/service/kms/key/sim-kms-signing-key-material.d.ts.map +1 -0
  919. package/dist/service/kms/key/sim-kms-signing-key-material.js +56 -0
  920. package/dist/service/kms/key/sim-kms-signing-key-material.js.map +1 -0
  921. package/dist/service/kms/key/sim-kms-symmetric-key-material.d.ts +38 -0
  922. package/dist/service/kms/key/sim-kms-symmetric-key-material.d.ts.map +1 -0
  923. package/dist/service/kms/key/sim-kms-symmetric-key-material.js +74 -0
  924. package/dist/service/kms/key/sim-kms-symmetric-key-material.js.map +1 -0
  925. package/dist/service/kms/key/spec/sim-kms-key-spec.d.ts +69 -0
  926. package/dist/service/kms/key/spec/sim-kms-key-spec.d.ts.map +1 -0
  927. package/dist/service/kms/key/spec/sim-kms-key-spec.js +72 -0
  928. package/dist/service/kms/key/spec/sim-kms-key-spec.js.map +1 -0
  929. package/dist/service/kms/key/spec/sim-kms-key-specs.d.ts +25 -0
  930. package/dist/service/kms/key/spec/sim-kms-key-specs.d.ts.map +1 -0
  931. package/dist/service/kms/key/spec/sim-kms-key-specs.js +90 -0
  932. package/dist/service/kms/key/spec/sim-kms-key-specs.js.map +1 -0
  933. package/dist/service/kms/key/spec/sim-kms-signing-algorithm.d.ts +31 -0
  934. package/dist/service/kms/key/spec/sim-kms-signing-algorithm.d.ts.map +1 -0
  935. package/dist/service/kms/key/spec/sim-kms-signing-algorithm.js +38 -0
  936. package/dist/service/kms/key/spec/sim-kms-signing-algorithm.js.map +1 -0
  937. package/dist/service/kms/registry/sim-kms-registry.d.ts +39 -0
  938. package/dist/service/kms/registry/sim-kms-registry.d.ts.map +1 -0
  939. package/dist/service/kms/registry/sim-kms-registry.js +40 -0
  940. package/dist/service/kms/registry/sim-kms-registry.js.map +1 -0
  941. package/dist/service/kms/sdk/sim-kms-sdk-command-router.d.ts.map +1 -1
  942. package/dist/service/kms/sdk/sim-kms-sdk-command-router.js +12 -0
  943. package/dist/service/kms/sdk/sim-kms-sdk-command-router.js.map +1 -1
  944. package/dist/service/kms/sim-kms-commands.d.ts +2 -0
  945. package/dist/service/kms/sim-kms-commands.d.ts.map +1 -1
  946. package/dist/service/kms/sim-kms-commands.js +3 -0
  947. package/dist/service/kms/sim-kms-commands.js.map +1 -1
  948. package/dist/service/kms/sim-kms.d.ts +12 -0
  949. package/dist/service/kms/sim-kms.d.ts.map +1 -1
  950. package/dist/service/kms/sim-kms.js +21 -0
  951. package/dist/service/kms/sim-kms.js.map +1 -1
  952. package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.d.ts +2 -1
  953. package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.d.ts.map +1 -1
  954. package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js +3 -1
  955. package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js.map +1 -1
  956. package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.d.ts +27 -0
  957. package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.d.ts.map +1 -0
  958. package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.js +33 -0
  959. package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.js.map +1 -0
  960. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.d.ts +13 -1
  961. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.d.ts.map +1 -1
  962. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.js +8 -5
  963. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.js.map +1 -1
  964. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.d.ts +1 -2
  965. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.d.ts.map +1 -1
  966. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.js +8 -10
  967. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.js.map +1 -1
  968. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts +2 -0
  969. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts.map +1 -1
  970. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js +4 -1
  971. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js.map +1 -1
  972. package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.d.ts +41 -0
  973. package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.d.ts.map +1 -0
  974. package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.js +59 -0
  975. package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.js.map +1 -0
  976. package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.d.ts +9 -5
  977. package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.d.ts.map +1 -1
  978. package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.js +9 -5
  979. package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.js.map +1 -1
  980. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.d.ts +12 -0
  981. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.d.ts.map +1 -0
  982. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.js +15 -0
  983. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.js.map +1 -0
  984. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.d.ts +33 -0
  985. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.d.ts.map +1 -0
  986. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.js +58 -0
  987. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.js.map +1 -0
  988. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.d.ts +30 -0
  989. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.d.ts.map +1 -0
  990. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.js +42 -0
  991. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.js.map +1 -0
  992. package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.d.ts +9 -0
  993. package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.d.ts.map +1 -1
  994. package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.js +15 -0
  995. package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.js.map +1 -1
  996. package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.d.ts +2 -0
  997. package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.d.ts.map +1 -1
  998. package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.js +17 -1
  999. package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.js.map +1 -1
  1000. package/dist/service/route53/command/change-resource-record-sets/change-resource-record-sets.handler.d.ts.map +1 -1
  1001. package/dist/service/route53/command/change-resource-record-sets/change-resource-record-sets.handler.js +1 -1
  1002. package/dist/service/route53/command/change-resource-record-sets/change-resource-record-sets.handler.js.map +1 -1
  1003. package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.d.ts +5 -1
  1004. package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.d.ts.map +1 -1
  1005. package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.js +9 -4
  1006. package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.js.map +1 -1
  1007. package/dist/service/route53/command/create-hosted-zone/create-hosted-zone.handler.d.ts.map +1 -1
  1008. package/dist/service/route53/command/create-hosted-zone/create-hosted-zone.handler.js +4 -1
  1009. package/dist/service/route53/command/create-hosted-zone/create-hosted-zone.handler.js.map +1 -1
  1010. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.d.ts +4 -0
  1011. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.d.ts.map +1 -1
  1012. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.js +5 -0
  1013. package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.js.map +1 -1
  1014. package/dist/service/route53/command/dnssec/dnssec.command.d.ts +78 -0
  1015. package/dist/service/route53/command/dnssec/dnssec.command.d.ts.map +1 -0
  1016. package/dist/service/route53/command/dnssec/dnssec.command.js +2 -0
  1017. package/dist/service/route53/command/dnssec/dnssec.command.js.map +1 -0
  1018. package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.d.ts +24 -0
  1019. package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.d.ts.map +1 -0
  1020. package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.js +31 -0
  1021. package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.js.map +1 -0
  1022. package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.d.ts +28 -0
  1023. package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.d.ts.map +1 -0
  1024. package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.js +30 -0
  1025. package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.js.map +1 -0
  1026. package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.d.ts +38 -0
  1027. package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.d.ts.map +1 -0
  1028. package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.js +49 -0
  1029. package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.js.map +1 -0
  1030. package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.d.ts +46 -0
  1031. package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.d.ts.map +1 -0
  1032. package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.js +80 -0
  1033. package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.js.map +1 -0
  1034. package/dist/service/route53/command/dnssec/sim-route53-ksk-input.d.ts +20 -0
  1035. package/dist/service/route53/command/dnssec/sim-route53-ksk-input.d.ts.map +1 -0
  1036. package/dist/service/route53/command/dnssec/sim-route53-ksk-input.js +34 -0
  1037. package/dist/service/route53/command/dnssec/sim-route53-ksk-input.js.map +1 -0
  1038. package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.d.ts +32 -0
  1039. package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.d.ts.map +1 -0
  1040. package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.js +57 -0
  1041. package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.js.map +1 -0
  1042. package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.d.ts +30 -0
  1043. package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.d.ts.map +1 -0
  1044. package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.js +40 -0
  1045. package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.js.map +1 -0
  1046. package/dist/service/route53/command/sim-route53-command.types.d.ts +14 -0
  1047. package/dist/service/route53/command/sim-route53-command.types.d.ts.map +1 -0
  1048. package/dist/service/route53/command/sim-route53-command.types.js +2 -0
  1049. package/dist/service/route53/command/sim-route53-command.types.js.map +1 -0
  1050. package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.d.ts +17 -0
  1051. package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.d.ts.map +1 -0
  1052. package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.js +41 -0
  1053. package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.js.map +1 -0
  1054. package/dist/service/route53/dnssec/sim-route53-dnskey-tag.d.ts +10 -0
  1055. package/dist/service/route53/dnssec/sim-route53-dnskey-tag.d.ts.map +1 -0
  1056. package/dist/service/route53/dnssec/sim-route53-dnskey-tag.js +26 -0
  1057. package/dist/service/route53/dnssec/sim-route53-dnskey-tag.js.map +1 -0
  1058. package/dist/service/route53/dnssec/sim-route53-dnskey.d.ts +36 -0
  1059. package/dist/service/route53/dnssec/sim-route53-dnskey.d.ts.map +1 -0
  1060. package/dist/service/route53/dnssec/sim-route53-dnskey.js +67 -0
  1061. package/dist/service/route53/dnssec/sim-route53-dnskey.js.map +1 -0
  1062. package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.d.ts +18 -0
  1063. package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.d.ts.map +1 -0
  1064. package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.js +18 -0
  1065. package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.js.map +1 -0
  1066. package/dist/service/route53/dnssec/sim-route53-key-signing-key.d.ts +95 -0
  1067. package/dist/service/route53/dnssec/sim-route53-key-signing-key.d.ts.map +1 -0
  1068. package/dist/service/route53/dnssec/sim-route53-key-signing-key.js +110 -0
  1069. package/dist/service/route53/dnssec/sim-route53-key-signing-key.js.map +1 -0
  1070. package/dist/service/route53/dnssec/sim-route53-zone-dnssec.d.ts +75 -0
  1071. package/dist/service/route53/dnssec/sim-route53-zone-dnssec.d.ts.map +1 -0
  1072. package/dist/service/route53/dnssec/sim-route53-zone-dnssec.js +109 -0
  1073. package/dist/service/route53/dnssec/sim-route53-zone-dnssec.js.map +1 -0
  1074. package/dist/service/route53/error/sim-route53.error.d.ts +55 -0
  1075. package/dist/service/route53/error/sim-route53.error.d.ts.map +1 -1
  1076. package/dist/service/route53/error/sim-route53.error.js +67 -0
  1077. package/dist/service/route53/error/sim-route53.error.js.map +1 -1
  1078. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.d.ts +16 -8
  1079. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.d.ts.map +1 -1
  1080. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.js +15 -11
  1081. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.js.map +1 -1
  1082. package/dist/service/route53/index.d.ts +3 -0
  1083. package/dist/service/route53/index.d.ts.map +1 -1
  1084. package/dist/service/route53/index.js +3 -0
  1085. package/dist/service/route53/index.js.map +1 -1
  1086. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +1 -0
  1087. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
  1088. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +1 -0
  1089. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
  1090. package/dist/service/route53/resolve/sim-route53-resolver.d.ts +7 -0
  1091. package/dist/service/route53/resolve/sim-route53-resolver.d.ts.map +1 -1
  1092. package/dist/service/route53/resolve/sim-route53-resolver.js +12 -4
  1093. package/dist/service/route53/resolve/sim-route53-resolver.js.map +1 -1
  1094. package/dist/service/route53/sdk/sim-route53-sdk-command-router.d.ts.map +1 -1
  1095. package/dist/service/route53/sdk/sim-route53-sdk-command-router.js +28 -0
  1096. package/dist/service/route53/sdk/sim-route53-sdk-command-router.js.map +1 -1
  1097. package/dist/service/route53/sim-route53-commands.d.ts +40 -0
  1098. package/dist/service/route53/sim-route53-commands.d.ts.map +1 -0
  1099. package/dist/service/route53/sim-route53-commands.js +66 -0
  1100. package/dist/service/route53/sim-route53-commands.js.map +1 -0
  1101. package/dist/service/route53/sim-route53-request-options.d.ts +8 -0
  1102. package/dist/service/route53/sim-route53-request-options.d.ts.map +1 -0
  1103. package/dist/service/route53/sim-route53-request-options.js +2 -0
  1104. package/dist/service/route53/sim-route53-request-options.js.map +1 -0
  1105. package/dist/service/route53/sim-route53.d.ts +52 -19
  1106. package/dist/service/route53/sim-route53.d.ts.map +1 -1
  1107. package/dist/service/route53/sim-route53.js +59 -49
  1108. package/dist/service/route53/sim-route53.js.map +1 -1
  1109. package/package.json +11 -1
  1110. package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.d.ts +0 -24
  1111. package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.d.ts.map +0 -1
  1112. package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.js +0 -51
  1113. package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.js.map +0 -1
  1114. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts +0 -42
  1115. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts.map +0 -1
  1116. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js +0 -44
  1117. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js.map +0 -1
@@ -0,0 +1,66 @@
1
+ import { SimCognitoInvalidParameterException } from "../../error/sim-cognito.error.js";
2
+ import { simCognitoUserPoolRegionName } from "../sim-cognito-user-pool-id.js";
3
+ import { SimCognitoCustomDomainConfig, } from "./sim-cognito-custom-domain-config.js";
4
+ import { SimCognitoDomainName } from "./sim-cognito-domain-name.js";
5
+ import { SimCognitoUserPoolDomain } from "./sim-cognito-user-pool-domain.js";
6
+ /**
7
+ * The one domain a pool can have: building the one a request asked for, and
8
+ * resolving the one the pool holds.
9
+ *
10
+ * A `CustomDomainConfig` is what says the request wants a custom domain rather
11
+ * than a Cognito prefix, so it decides both how the domain string is checked
12
+ * and whether a certificate is required.
13
+ */
14
+ export class SimCognitoPoolDomains {
15
+ /**
16
+ * Refuse a second domain on a pool that has one.
17
+ *
18
+ * Real Cognito allows one domain per pool, prefix or custom, so a request
19
+ * adding another is refused rather than quietly replacing what is there.
20
+ */
21
+ static requireNoDomain(pool) {
22
+ const existing = pool.auth.domain;
23
+ if (existing !== undefined) {
24
+ throw new SimCognitoInvalidParameterException(`User pool ${pool.id} already has the domain '${existing.value}': a ` +
25
+ `pool has one domain, so delete that one before adding another`);
26
+ }
27
+ }
28
+ static customDomainConfig(config) {
29
+ if (config === undefined) {
30
+ return undefined;
31
+ }
32
+ return new SimCognitoCustomDomainConfig(config);
33
+ }
34
+ /**
35
+ * Make a pool's domain, refusing a pool that already has one.
36
+ */
37
+ make(pool, input) {
38
+ SimCognitoPoolDomains.requireNoDomain(pool);
39
+ return new SimCognitoUserPoolDomain({
40
+ name: new SimCognitoDomainName({
41
+ value: input.Domain,
42
+ custom: input.CustomDomainConfig !== undefined,
43
+ // A prefix domain is served under the pool's own region, which the
44
+ // pool id names, so no separate region is needed here.
45
+ regionName: simCognitoUserPoolRegionName(pool.id),
46
+ }),
47
+ userPoolId: pool.id,
48
+ customDomainConfig: SimCognitoPoolDomains.customDomainConfig(input.CustomDomainConfig),
49
+ managedLoginVersion: input.ManagedLoginVersion,
50
+ });
51
+ }
52
+ /**
53
+ * The domain a delete request named, or a refusal.
54
+ *
55
+ * Real Cognito answers a request naming a domain the pool does not hold the
56
+ * same way it answers one naming no pool at all, and says no more than that.
57
+ */
58
+ require(pool, domainValue) {
59
+ const domain = pool.auth.domain;
60
+ if (domain === undefined || domain.value !== domainValue) {
61
+ throw new SimCognitoInvalidParameterException("No such domain or user pool exists.");
62
+ }
63
+ return domain;
64
+ }
65
+ }
66
+ //# sourceMappingURL=sim-cognito-pool-domains.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-pool-domains.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/domain/sim-cognito-pool-domains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAGvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EACL,4BAA4B,GAE7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAE7E;;;;;;;GAOG;AACH,MAAM,OAAO,qBAAqB;IAChC;;;;;OAKG;IACK,MAAM,CAAC,eAAe,CAAC,IAAwB;QACrD,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;QAElC,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,IAAI,mCAAmC,CAC3C,aAAa,IAAI,CAAC,EAAE,4BAA4B,QAAQ,CAAC,KAAK,OAAO;gBACnE,+DAA+D,CAClE,CAAC;QACJ,CAAC;IACH,CAAC;IAEO,MAAM,CAAC,kBAAkB,CAC/B,MAAoD;QAEpD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,4BAA4B,CAAC,MAAM,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACH,IAAI,CACF,IAAwB,EACxB,KAA0C;QAE1C,qBAAqB,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;QAE5C,OAAO,IAAI,wBAAwB,CAAC;YAClC,IAAI,EAAE,IAAI,oBAAoB,CAAC;gBAC7B,KAAK,EAAE,KAAK,CAAC,MAAM;gBACnB,MAAM,EAAE,KAAK,CAAC,kBAAkB,KAAK,SAAS;gBAC9C,mEAAmE;gBACnE,uDAAuD;gBACvD,UAAU,EAAE,4BAA4B,CAAC,IAAI,CAAC,EAAE,CAAC;aAClD,CAAC;YACF,UAAU,EAAE,IAAI,CAAC,EAAE;YACnB,kBAAkB,EAAE,qBAAqB,CAAC,kBAAkB,CAC1D,KAAK,CAAC,kBAAkB,CACzB;YACD,mBAAmB,EAAE,KAAK,CAAC,mBAAmB;SAC/C,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,OAAO,CACL,IAAwB,EACxB,WAA+B;QAE/B,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;QAEhC,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;YACzD,MAAM,IAAI,mCAAmC,CAC3C,qCAAqC,CACtC,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
@@ -0,0 +1,58 @@
1
+ import type { SimCognitoUserPoolId } from "../sim-cognito-user-pool-id.js";
2
+ import type { SimCognitoCustomDomainConfig } from "./sim-cognito-custom-domain-config.js";
3
+ import type { SimCognitoDomainName } from "./sim-cognito-domain-name.js";
4
+ interface SimCognitoUserPoolDomainProperties {
5
+ readonly name: SimCognitoDomainName;
6
+ readonly userPoolId: SimCognitoUserPoolId;
7
+ readonly customDomainConfig?: SimCognitoCustomDomainConfig | undefined;
8
+ /**
9
+ * Which managed login branding the domain was created with: `1` for the
10
+ * classic hosted UI and `2` for managed login. Neither set of pages is
11
+ * simulated, so the version is recorded and reported rather than changing
12
+ * anything.
13
+ */
14
+ readonly managedLoginVersion?: number | undefined;
15
+ }
16
+ /**
17
+ * One simulated user pool domain.
18
+ *
19
+ * A pool has at most one domain, and the domain is where the OAuth endpoints
20
+ * are served: without one, a pool has an API and nothing a browser can reach.
21
+ *
22
+ * Real Cognito puts a CloudFront distribution in front of a custom domain and
23
+ * expects the domain's own DNS to point at it. This simulation answers on the
24
+ * custom hostname directly, so the distribution it reports is a name nothing
25
+ * here serves, and a test needs no DNS record of its own.
26
+ */
27
+ export declare class SimCognitoUserPoolDomain {
28
+ readonly name: SimCognitoDomainName;
29
+ readonly userPoolId: SimCognitoUserPoolId;
30
+ readonly customDomainConfig: SimCognitoCustomDomainConfig | undefined;
31
+ readonly managedLoginVersion: number | undefined;
32
+ /**
33
+ * The CloudFront distribution real Cognito would put in front of a custom
34
+ * domain, which a prefix domain does not get.
35
+ */
36
+ readonly cloudFrontDistribution: string | undefined;
37
+ constructor(properties: SimCognitoUserPoolDomainProperties);
38
+ /**
39
+ * The distribution name a domain reports, which only a custom domain has.
40
+ */
41
+ private static distributionFor;
42
+ /** The domain string this domain was created with. */
43
+ get value(): string;
44
+ /** The hostname real Cognito would serve this domain on. */
45
+ get hostname(): string;
46
+ /** The hostname this domain answers on inside the simulation. */
47
+ get localHostname(): string;
48
+ /**
49
+ * The hostnames a request can reach this domain by.
50
+ *
51
+ * A prefix domain answers on both the real AWS hostname and the local one it
52
+ * is rewritten to, so a request that names either finds it. They are the
53
+ * same hostname for a custom domain, which has no AWS domain to drop.
54
+ */
55
+ get hostnames(): readonly string[];
56
+ }
57
+ export {};
58
+ //# sourceMappingURL=sim-cognito-user-pool-domain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-user-pool-domain.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAOzE,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,UAAU,EAAE,oBAAoB,CAAC;IAC1C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IAEvE;;;;;OAKG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnD;AAED;;;;;;;;;;GAUG;AACH,qBAAa,wBAAwB;IACnC,SAAgB,IAAI,EAAE,oBAAoB,CAAC;IAC3C,SAAgB,UAAU,EAAE,oBAAoB,CAAC;IACjD,SAAgB,kBAAkB,EAAE,4BAA4B,GAAG,SAAS,CAAC;IAC7E,SAAgB,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IAExD;;;OAGG;IACH,SAAgB,sBAAsB,EAAE,MAAM,GAAG,SAAS,CAAC;IAE3D,YAAY,UAAU,EAAE,kCAAkC,EAQzD;IAED;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,eAAe;IAa9B,sDAAsD;IACtD,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,4DAA4D;IAC5D,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,iEAAiE;IACjE,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED;;;;;;OAMG;IACH,IAAI,SAAS,IAAI,SAAS,MAAM,EAAE,CAEjC;CACF"}
@@ -0,0 +1,70 @@
1
+ import { faker } from "@faker-js/faker";
2
+ /**
3
+ * How many characters a simulated CloudFront distribution name carries.
4
+ */
5
+ const distributionNameLength = 13;
6
+ /**
7
+ * One simulated user pool domain.
8
+ *
9
+ * A pool has at most one domain, and the domain is where the OAuth endpoints
10
+ * are served: without one, a pool has an API and nothing a browser can reach.
11
+ *
12
+ * Real Cognito puts a CloudFront distribution in front of a custom domain and
13
+ * expects the domain's own DNS to point at it. This simulation answers on the
14
+ * custom hostname directly, so the distribution it reports is a name nothing
15
+ * here serves, and a test needs no DNS record of its own.
16
+ */
17
+ export class SimCognitoUserPoolDomain {
18
+ name;
19
+ userPoolId;
20
+ customDomainConfig;
21
+ managedLoginVersion;
22
+ /**
23
+ * The CloudFront distribution real Cognito would put in front of a custom
24
+ * domain, which a prefix domain does not get.
25
+ */
26
+ cloudFrontDistribution;
27
+ constructor(properties) {
28
+ this.name = properties.name;
29
+ this.userPoolId = properties.userPoolId;
30
+ this.customDomainConfig = properties.customDomainConfig;
31
+ this.managedLoginVersion = properties.managedLoginVersion;
32
+ this.cloudFrontDistribution = SimCognitoUserPoolDomain.distributionFor(this.name.custom);
33
+ }
34
+ /**
35
+ * The distribution name a domain reports, which only a custom domain has.
36
+ */
37
+ static distributionFor(custom) {
38
+ if (!custom) {
39
+ return undefined;
40
+ }
41
+ const name = faker.string.alphanumeric({
42
+ length: distributionNameLength,
43
+ casing: "lower",
44
+ });
45
+ return `${name}.cloudfront.net`;
46
+ }
47
+ /** The domain string this domain was created with. */
48
+ get value() {
49
+ return this.name.value;
50
+ }
51
+ /** The hostname real Cognito would serve this domain on. */
52
+ get hostname() {
53
+ return this.name.hostname;
54
+ }
55
+ /** The hostname this domain answers on inside the simulation. */
56
+ get localHostname() {
57
+ return this.name.localHostname;
58
+ }
59
+ /**
60
+ * The hostnames a request can reach this domain by.
61
+ *
62
+ * A prefix domain answers on both the real AWS hostname and the local one it
63
+ * is rewritten to, so a request that names either finds it. They are the
64
+ * same hostname for a custom domain, which has no AWS domain to drop.
65
+ */
66
+ get hostnames() {
67
+ return [...new Set([this.hostname, this.localHostname])];
68
+ }
69
+ }
70
+ //# sourceMappingURL=sim-cognito-user-pool-domain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-user-pool-domain.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAKxC;;GAEG;AACH,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAgBlC;;;;;;;;;;GAUG;AACH,MAAM,OAAO,wBAAwB;IACnB,IAAI,CAAuB;IAC3B,UAAU,CAAuB;IACjC,kBAAkB,CAA2C;IAC7D,mBAAmB,CAAqB;IAExD;;;OAGG;IACa,sBAAsB,CAAqB;IAE3D,YAAY,UAA8C;QACxD,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,mBAAmB,GAAG,UAAU,CAAC,mBAAmB,CAAC;QAC1D,IAAI,CAAC,sBAAsB,GAAG,wBAAwB,CAAC,eAAe,CACpE,IAAI,CAAC,IAAI,CAAC,MAAM,CACjB,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,MAAM,CAAC,eAAe,CAAC,MAAe;QAC5C,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC;YACrC,MAAM,EAAE,sBAAsB;YAC9B,MAAM,EAAE,OAAO;SAChB,CAAC,CAAC;QAEH,OAAO,GAAG,IAAI,iBAAiB,CAAC;IAClC,CAAC;IAED,sDAAsD;IACtD,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;IACzB,CAAC;IAED,4DAA4D;IAC5D,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC5B,CAAC;IAED,iEAAiE;IACjE,IAAI,aAAa;QACf,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;IACjC,CAAC;IAED;;;;;;OAMG;IACH,IAAI,SAAS;QACX,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAC3D,CAAC;CACF"}
@@ -0,0 +1,40 @@
1
+ import type { SimCognitoAttributeType } from "../user/sim-cognito-user-attributes.js";
2
+ import type { SimCognitoExternalUser } from "./sim-cognito-external-user.js";
3
+ /**
4
+ * How a provider's claims are mapped onto pool attributes, as a request sets
5
+ * it and a described provider reports it.
6
+ *
7
+ * The key is the pool attribute and the value is the provider's claim, which
8
+ * is the direction real Cognito reads it in and the one most easily got
9
+ * backwards.
10
+ */
11
+ export type SimCognitoAttributeMappingType = Readonly<Record<string, string>>;
12
+ /**
13
+ * What a provider's claims become on the pool user signing in.
14
+ *
15
+ * A claim the mapping says nothing about is dropped, as it is on real Cognito:
16
+ * an attribute reaches a user only where something mapped it there. A mapped
17
+ * claim the provider did not send is left alone rather than written empty.
18
+ */
19
+ export declare class SimCognitoAttributeMapping {
20
+ private readonly mapping;
21
+ constructor(mapping: SimCognitoAttributeMappingType | undefined);
22
+ /**
23
+ * This mapping as a described provider reports it.
24
+ */
25
+ toOutput(): SimCognitoAttributeMappingType;
26
+ /**
27
+ * The attributes an external user's claims map onto.
28
+ */
29
+ attributesFor(externalUser: SimCognitoExternalUser): readonly SimCognitoAttributeType[];
30
+ /**
31
+ * Refuse a mapping onto an attribute no pool here holds.
32
+ *
33
+ * `username` is refused with its own message: real Cognito builds a
34
+ * federated user's username from the provider and the subject, and a mapping
35
+ * cannot change it. It is refused here rather than during a sign-in much
36
+ * later, which is where the pool's schema would otherwise catch it.
37
+ */
38
+ private requireMappedNames;
39
+ }
40
+ //# sourceMappingURL=sim-cognito-attribute-mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-attribute-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7E;;;;;;;GAOG;AACH,MAAM,MAAM,8BAA8B,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAE9E;;;;;;GAMG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAiC;IAEzD,YAAY,OAAO,EAAE,8BAA8B,GAAG,SAAS,EAG9D;IAED;;OAEG;IACH,QAAQ,IAAI,8BAA8B,CAEzC;IAED;;OAEG;IACH,aAAa,CACX,YAAY,EAAE,sBAAsB,GACnC,SAAS,uBAAuB,EAAE,CAOpC;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,kBAAkB;CAmB3B"}
@@ -0,0 +1,56 @@
1
+ import { SimCognitoInvalidParameterException } from "../../error/sim-cognito.error.js";
2
+ import { isSimCognitoStandardAttribute } from "../user/sim-cognito-standard-attributes.js";
3
+ /**
4
+ * What a provider's claims become on the pool user signing in.
5
+ *
6
+ * A claim the mapping says nothing about is dropped, as it is on real Cognito:
7
+ * an attribute reaches a user only where something mapped it there. A mapped
8
+ * claim the provider did not send is left alone rather than written empty.
9
+ */
10
+ export class SimCognitoAttributeMapping {
11
+ mapping;
12
+ constructor(mapping) {
13
+ this.mapping = { ...mapping };
14
+ this.requireMappedNames();
15
+ }
16
+ /**
17
+ * This mapping as a described provider reports it.
18
+ */
19
+ toOutput() {
20
+ return { ...this.mapping };
21
+ }
22
+ /**
23
+ * The attributes an external user's claims map onto.
24
+ */
25
+ attributesFor(externalUser) {
26
+ return Object.entries(this.mapping)
27
+ .map(([attributeName, claimName]) => ({
28
+ Name: attributeName,
29
+ Value: externalUser.claim(claimName),
30
+ }))
31
+ .filter((attribute) => attribute.Value !== undefined);
32
+ }
33
+ /**
34
+ * Refuse a mapping onto an attribute no pool here holds.
35
+ *
36
+ * `username` is refused with its own message: real Cognito builds a
37
+ * federated user's username from the provider and the subject, and a mapping
38
+ * cannot change it. It is refused here rather than during a sign-in much
39
+ * later, which is where the pool's schema would otherwise catch it.
40
+ */
41
+ requireMappedNames() {
42
+ for (const attributeName of Object.keys(this.mapping)) {
43
+ if (attributeName === "username") {
44
+ throw new SimCognitoInvalidParameterException("AttributeMapping cannot map to 'username': Cognito builds a " +
45
+ "federated user's username from the provider name and the " +
46
+ "subject it signed in with");
47
+ }
48
+ if (!isSimCognitoStandardAttribute(attributeName)) {
49
+ throw new SimCognitoInvalidParameterException(`AttributeMapping '${attributeName}' is not in the pool's schema: ` +
50
+ `a pool here holds the standard attributes only, so there is ` +
51
+ `nothing for the provider's claim to be mapped onto`);
52
+ }
53
+ }
54
+ }
55
+ }
56
+ //# sourceMappingURL=sim-cognito-attribute-mapping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-attribute-mapping.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAc3F;;;;;;GAMG;AACH,MAAM,OAAO,0BAA0B;IACpB,OAAO,CAAiC;IAEzD,YAAY,OAAmD;QAC7D,IAAI,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,CAAC;QAC9B,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,aAAa,CACX,YAAoC;QAEpC,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;aAChC,GAAG,CAAC,CAAC,CAAC,aAAa,EAAE,SAAS,CAAC,EAAE,EAAE,CAAC,CAAC;YACpC,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC;SACrC,CAAC,CAAC;aACF,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;;OAOG;IACK,kBAAkB;QACxB,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YACtD,IAAI,aAAa,KAAK,UAAU,EAAE,CAAC;gBACjC,MAAM,IAAI,mCAAmC,CAC3C,8DAA8D;oBAC5D,2DAA2D;oBAC3D,2BAA2B,CAC9B,CAAC;YACJ,CAAC;YAED,IAAI,CAAC,6BAA6B,CAAC,aAAa,CAAC,EAAE,CAAC;gBAClD,MAAM,IAAI,mCAAmC,CAC3C,qBAAqB,aAAa,iCAAiC;oBACjE,8DAA8D;oBAC9D,oDAAoD,CACvD,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * A user as an external provider would hand it back, in the shape a test puts
3
+ * one there.
4
+ */
5
+ export interface SimCognitoExternalUserType {
6
+ /**
7
+ * The provider's own identifier for the user, which is the `sub` of a social
8
+ * or OIDC provider and the name id of a SAML one. It is what the pool builds
9
+ * the federated username from, so the same subject signing in twice reaches
10
+ * the same pool user.
11
+ */
12
+ readonly Subject: string | undefined;
13
+ /**
14
+ * The claims the provider would return about the user. The provider's own
15
+ * claim names are used, and the identity provider's attribute mapping is
16
+ * what turns them into pool attributes.
17
+ */
18
+ readonly Claims?: Readonly<Record<string, string>> | undefined;
19
+ }
20
+ /**
21
+ * The user signed in at a simulated external identity provider.
22
+ *
23
+ * Nothing here calls Google or reads a SAML assertion, so the provider has to
24
+ * be told who is signed in at it. That is what this is: the answer the
25
+ * provider gives when a browser is redirected to it, put there by the test
26
+ * rather than by a user typing a password into someone else's login page.
27
+ */
28
+ export declare class SimCognitoExternalUser {
29
+ readonly subject: string;
30
+ private readonly claims;
31
+ constructor(externalUser: SimCognitoExternalUserType);
32
+ /**
33
+ * One claim this user carries, if the provider would return it.
34
+ */
35
+ claim(name: string): string | undefined;
36
+ }
37
+ //# sourceMappingURL=sim-cognito-external-user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-external-user.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/idp/sim-cognito-external-user.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAErC;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;CAChE;AAED;;;;;;;GAOG;AACH,qBAAa,sBAAsB;IACjC,SAAgB,OAAO,EAAE,MAAM,CAAC;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD,YAAY,YAAY,EAAE,0BAA0B,EAUnD;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEtC;CACF"}
@@ -0,0 +1,28 @@
1
+ import { SimCognitoInvalidParameterException } from "../../error/sim-cognito.error.js";
2
+ /**
3
+ * The user signed in at a simulated external identity provider.
4
+ *
5
+ * Nothing here calls Google or reads a SAML assertion, so the provider has to
6
+ * be told who is signed in at it. That is what this is: the answer the
7
+ * provider gives when a browser is redirected to it, put there by the test
8
+ * rather than by a user typing a password into someone else's login page.
9
+ */
10
+ export class SimCognitoExternalUser {
11
+ subject;
12
+ claims;
13
+ constructor(externalUser) {
14
+ if (externalUser.Subject === undefined || externalUser.Subject === "") {
15
+ throw new SimCognitoInvalidParameterException("An external user needs a Subject: it is what the provider " +
16
+ "identifies the user by, and what the pool builds its username from");
17
+ }
18
+ this.subject = externalUser.Subject;
19
+ this.claims = new Map(Object.entries(externalUser.Claims ?? {}));
20
+ }
21
+ /**
22
+ * One claim this user carries, if the provider would return it.
23
+ */
24
+ claim(name) {
25
+ return this.claims.get(name);
26
+ }
27
+ }
28
+ //# sourceMappingURL=sim-cognito-external-user.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-external-user.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/idp/sim-cognito-external-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAuBvF;;;;;;;GAOG;AACH,MAAM,OAAO,sBAAsB;IACjB,OAAO,CAAS;IACf,MAAM,CAA8B;IAErD,YAAY,YAAwC;QAClD,IAAI,YAAY,CAAC,OAAO,KAAK,SAAS,IAAI,YAAY,CAAC,OAAO,KAAK,EAAE,EAAE,CAAC;YACtE,MAAM,IAAI,mCAAmC,CAC3C,4DAA4D;gBAC1D,oEAAoE,CACvE,CAAC;QACJ,CAAC;QAED,IAAI,CAAC,OAAO,GAAG,YAAY,CAAC,OAAO,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAY;QAChB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;CACF"}
@@ -0,0 +1,64 @@
1
+ /**
2
+ * One entry of a user's `identities`, in the shape an id token carries it.
3
+ *
4
+ * `issuer` is null for the social providers, which have one issuer each, and
5
+ * names the issuer for a SAML or OIDC provider. `primary` says which identity
6
+ * a linked user signs in as, and is always true here because a user linked to
7
+ * more than one provider is what `AdminLinkProviderForUser` does, and that is
8
+ * not simulated.
9
+ */
10
+ export interface SimCognitoIdentityClaim {
11
+ readonly userId: string;
12
+ readonly providerName: string;
13
+ readonly providerType: string;
14
+ readonly issuer: string | null;
15
+ /**
16
+ * Whether this is the identity the user signs in as, which Cognito writes as
17
+ * the string `"true"` rather than as a boolean, in the token as well as in
18
+ * the attribute.
19
+ */
20
+ readonly primary: string;
21
+ /** When the identity was linked, in milliseconds, written as a string. */
22
+ readonly dateCreated: string;
23
+ }
24
+ interface SimCognitoFederatedIdentityProperties {
25
+ readonly userId: string;
26
+ readonly providerName: string;
27
+ readonly providerType: string;
28
+ readonly issuer: string | undefined;
29
+ readonly createdAt: Date;
30
+ }
31
+ /**
32
+ * Where a federated user came from.
33
+ *
34
+ * Cognito records this on the user it creates for an external subject, and
35
+ * reports it in two places: as an `identities` attribute holding JSON, and as
36
+ * an `identities` claim in the id token holding the same thing as an array. A
37
+ * request cannot set it, so it lives on the user rather than among its
38
+ * attributes, in the same way `sub` does.
39
+ */
40
+ export declare class SimCognitoFederatedIdentity {
41
+ readonly userId: string;
42
+ readonly providerName: string;
43
+ readonly providerType: string;
44
+ readonly issuer: string | null;
45
+ readonly dateCreated: number;
46
+ constructor(properties: SimCognitoFederatedIdentityProperties);
47
+ /**
48
+ * This identity as a token claim carries it.
49
+ *
50
+ * `primary` and `dateCreated` are strings, which is how the AWS
51
+ * documentation's own id token example writes them.
52
+ */
53
+ toClaim(): SimCognitoIdentityClaim;
54
+ /**
55
+ * This identity as the user's `identities` attribute holds it.
56
+ *
57
+ * The attribute is a JSON string, which is what a described user reports and
58
+ * what code reading `identities` from `AdminGetUser` has to parse. What it
59
+ * holds is what the token claim holds.
60
+ */
61
+ toAttributeValue(): string;
62
+ }
63
+ export {};
64
+ //# sourceMappingURL=sim-cognito-federated-identity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-federated-identity.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/idp/sim-cognito-federated-identity.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEzB,0EAA0E;IAC1E,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,UAAU,qCAAqC;IAC7C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B;AAED;;;;;;;;GAQG;AACH,qBAAa,2BAA2B;IACtC,SAAgB,MAAM,EAAE,MAAM,CAAC;IAC/B,SAAgB,YAAY,EAAE,MAAM,CAAC;IACrC,SAAgB,YAAY,EAAE,MAAM,CAAC;IACrC,SAAgB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,SAAgB,WAAW,EAAE,MAAM,CAAC;IAEpC,YAAY,UAAU,EAAE,qCAAqC,EAM5D;IAED;;;;;OAKG;IACH,OAAO,IAAI,uBAAuB,CASjC;IAED;;;;;;OAMG;IACH,gBAAgB,IAAI,MAAM,CAEzB;CACF"}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Where a federated user came from.
3
+ *
4
+ * Cognito records this on the user it creates for an external subject, and
5
+ * reports it in two places: as an `identities` attribute holding JSON, and as
6
+ * an `identities` claim in the id token holding the same thing as an array. A
7
+ * request cannot set it, so it lives on the user rather than among its
8
+ * attributes, in the same way `sub` does.
9
+ */
10
+ export class SimCognitoFederatedIdentity {
11
+ userId;
12
+ providerName;
13
+ providerType;
14
+ issuer;
15
+ dateCreated;
16
+ constructor(properties) {
17
+ this.userId = properties.userId;
18
+ this.providerName = properties.providerName;
19
+ this.providerType = properties.providerType;
20
+ this.issuer = properties.issuer ?? null;
21
+ this.dateCreated = properties.createdAt.getTime();
22
+ }
23
+ /**
24
+ * This identity as a token claim carries it.
25
+ *
26
+ * `primary` and `dateCreated` are strings, which is how the AWS
27
+ * documentation's own id token example writes them.
28
+ */
29
+ toClaim() {
30
+ return {
31
+ userId: this.userId,
32
+ providerName: this.providerName,
33
+ providerType: this.providerType,
34
+ issuer: this.issuer,
35
+ primary: "true",
36
+ dateCreated: String(this.dateCreated),
37
+ };
38
+ }
39
+ /**
40
+ * This identity as the user's `identities` attribute holds it.
41
+ *
42
+ * The attribute is a JSON string, which is what a described user reports and
43
+ * what code reading `identities` from `AdminGetUser` has to parse. What it
44
+ * holds is what the token claim holds.
45
+ */
46
+ toAttributeValue() {
47
+ return JSON.stringify([this.toClaim()]);
48
+ }
49
+ }
50
+ //# sourceMappingURL=sim-cognito-federated-identity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-federated-identity.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/idp/sim-cognito-federated-identity.ts"],"names":[],"mappings":"AAkCA;;;;;;;;GAQG;AACH,MAAM,OAAO,2BAA2B;IACtB,MAAM,CAAS;IACf,YAAY,CAAS;IACrB,YAAY,CAAS;IACrB,MAAM,CAAgB;IACtB,WAAW,CAAS;IAEpC,YAAY,UAAiD;QAC3D,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,IAAI,IAAI,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;IACpD,CAAC;IAED;;;;;OAKG;IACH,OAAO;QACL,OAAO;YACL,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC;SACtC,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IAC1C,CAAC;CACF"}
@@ -0,0 +1,47 @@
1
+ import type { SimCognitoUserPool } from "../sim-cognito-user-pool.js";
2
+ import type { SimCognitoUser } from "../user/sim-cognito-user.js";
3
+ import type { SimCognitoUserFactory } from "../user/sim-cognito-user-factory.js";
4
+ import type { SimCognitoUserPoolIdentityProvider } from "./sim-cognito-user-pool-identity-provider.js";
5
+ interface SimCognitoFederatedSignInProperties {
6
+ readonly userFactory: SimCognitoUserFactory;
7
+ }
8
+ interface SimCognitoFederatedSignInRequest {
9
+ readonly pool: SimCognitoUserPool;
10
+ readonly provider: SimCognitoUserPoolIdentityProvider;
11
+ readonly now: Date;
12
+ }
13
+ /**
14
+ * Signs an external user in to a pool, creating the pool's own user for it the
15
+ * first time.
16
+ *
17
+ * Cognito keeps a user of its own for every external subject that signs in,
18
+ * because everything downstream of the sign-in works on pool users: the tokens
19
+ * name one, groups hold one, and the pool's own operations describe one. The
20
+ * username it builds is the provider name and the subject with an underscore
21
+ * between them, which is what makes the same subject signing in twice reach
22
+ * the same user rather than a second one.
23
+ *
24
+ * The provider's claims reach the user through the provider's attribute
25
+ * mapping, on every sign-in rather than only the first, because real Cognito
26
+ * updates a mapped attribute when the value at the provider changes.
27
+ */
28
+ export declare class SimCognitoFederatedSignIn {
29
+ private readonly userFactory;
30
+ constructor(properties: SimCognitoFederatedSignInProperties);
31
+ /**
32
+ * Refuse a sign-in that would take over a user it did not create.
33
+ *
34
+ * A username is only reserved by being taken, and a pool's own user may
35
+ * validly be called `Google_1234`, so the user found by name is only the
36
+ * federated one when its identity says so. Signing in as it otherwise would
37
+ * hand an application a token for someone else's account, which is worth
38
+ * refusing rather than guessing at.
39
+ */
40
+ private static requireSameIdentity;
41
+ /**
42
+ * Sign the user signed in at the provider in to the pool.
43
+ */
44
+ signIn(request: SimCognitoFederatedSignInRequest): SimCognitoUser;
45
+ }
46
+ export {};
47
+ //# sourceMappingURL=sim-cognito-federated-sign-in.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-federated-sign-in.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAGjF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,8CAA8C,CAAC;AAEvG,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;CAC7C;AAED,UAAU,gCAAgC;IACxC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,kCAAkC,CAAC;IACtD,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAwB;IAEpD,YAAY,UAAU,EAAE,mCAAmC,EAE1D;IAED;;;;;;;;OAQG;IACH,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAmBlC;;OAEG;IACH,MAAM,CAAC,OAAO,EAAE,gCAAgC,GAAG,cAAc,CA+BhE;CACF"}
@@ -0,0 +1,72 @@
1
+ import { SimCognitoUsernameExistsException } from "../../error/sim-cognito.error.js";
2
+ import { requireSimCognitoUsername } from "../user/sim-cognito-username.js";
3
+ import { SimCognitoFederatedIdentity } from "./sim-cognito-federated-identity.js";
4
+ /**
5
+ * Signs an external user in to a pool, creating the pool's own user for it the
6
+ * first time.
7
+ *
8
+ * Cognito keeps a user of its own for every external subject that signs in,
9
+ * because everything downstream of the sign-in works on pool users: the tokens
10
+ * name one, groups hold one, and the pool's own operations describe one. The
11
+ * username it builds is the provider name and the subject with an underscore
12
+ * between them, which is what makes the same subject signing in twice reach
13
+ * the same user rather than a second one.
14
+ *
15
+ * The provider's claims reach the user through the provider's attribute
16
+ * mapping, on every sign-in rather than only the first, because real Cognito
17
+ * updates a mapped attribute when the value at the provider changes.
18
+ */
19
+ export class SimCognitoFederatedSignIn {
20
+ userFactory;
21
+ constructor(properties) {
22
+ this.userFactory = properties.userFactory;
23
+ }
24
+ /**
25
+ * Refuse a sign-in that would take over a user it did not create.
26
+ *
27
+ * A username is only reserved by being taken, and a pool's own user may
28
+ * validly be called `Google_1234`, so the user found by name is only the
29
+ * federated one when its identity says so. Signing in as it otherwise would
30
+ * hand an application a token for someone else's account, which is worth
31
+ * refusing rather than guessing at.
32
+ */
33
+ static requireSameIdentity(existing, provider) {
34
+ const { identity } = existing;
35
+ const externalUser = provider.requireSignedInUser();
36
+ if (identity?.providerName !== provider.name ||
37
+ identity.userId !== externalUser.subject) {
38
+ throw new SimCognitoUsernameExistsException(`User ${existing.username} already exists in user pool ` +
39
+ `${provider.userPoolId} and is not the ${provider.name} user this ` +
40
+ `sign-in is for.`);
41
+ }
42
+ }
43
+ /**
44
+ * Sign the user signed in at the provider in to the pool.
45
+ */
46
+ signIn(request) {
47
+ const { pool, provider, now } = request;
48
+ const externalUser = provider.requireSignedInUser();
49
+ const username = requireSimCognitoUsername(`${provider.name}_${externalUser.subject}`);
50
+ const attributes = provider.attributeMapping.attributesFor(externalUser);
51
+ const existing = pool.findUser(username);
52
+ if (existing !== undefined) {
53
+ SimCognitoFederatedSignIn.requireSameIdentity(existing, provider);
54
+ existing.updateAttributes(attributes);
55
+ return existing;
56
+ }
57
+ const user = this.userFactory.federated({
58
+ username,
59
+ attributes,
60
+ identity: new SimCognitoFederatedIdentity({
61
+ userId: externalUser.subject,
62
+ providerName: provider.name,
63
+ providerType: provider.type.value,
64
+ issuer: provider.issuer,
65
+ createdAt: now,
66
+ }),
67
+ });
68
+ pool.addUser(user);
69
+ return user;
70
+ }
71
+ }
72
+ //# sourceMappingURL=sim-cognito-federated-sign-in.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-federated-sign-in.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAIrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAalF;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,yBAAyB;IACnB,WAAW,CAAwB;IAEpD,YAAY,UAA+C;QACzD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;IAC5C,CAAC;IAED;;;;;;;;OAQG;IACK,MAAM,CAAC,mBAAmB,CAChC,QAAwB,EACxB,QAA4C;QAE5C,MAAM,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC;QAC9B,MAAM,YAAY,GAAG,QAAQ,CAAC,mBAAmB,EAAE,CAAC;QAEpD,IACE,QAAQ,EAAE,YAAY,KAAK,QAAQ,CAAC,IAAI;YACxC,QAAQ,CAAC,MAAM,KAAK,YAAY,CAAC,OAAO,EACxC,CAAC;YACD,MAAM,IAAI,iCAAiC,CACzC,QAAQ,QAAQ,CAAC,QAAQ,+BAA+B;gBACtD,GAAG,QAAQ,CAAC,UAAU,mBAAmB,QAAQ,CAAC,IAAI,aAAa;gBACnE,iBAAiB,CACpB,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAyC;QAC9C,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC;QACxC,MAAM,YAAY,GAAG,QAAQ,CAAC,mBAAmB,EAAE,CAAC;QACpD,MAAM,QAAQ,GAAG,yBAAyB,CACxC,GAAG,QAAQ,CAAC,IAAI,IAAI,YAAY,CAAC,OAAO,EAAE,CAC3C,CAAC;QACF,MAAM,UAAU,GAAG,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAEzC,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,yBAAyB,CAAC,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;YAClE,QAAQ,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;YAEtC,OAAO,QAAQ,CAAC;QAClB,CAAC;QAED,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC;YACtC,QAAQ;YACR,UAAU;YACV,QAAQ,EAAE,IAAI,2BAA2B,CAAC;gBACxC,MAAM,EAAE,YAAY,CAAC,OAAO;gBAC5B,YAAY,EAAE,QAAQ,CAAC,IAAI;gBAC3B,YAAY,EAAE,QAAQ,CAAC,IAAI,CAAC,KAAK;gBACjC,MAAM,EAAE,QAAQ,CAAC,MAAM;gBACvB,SAAS,EAAE,GAAG;aACf,CAAC;SACH,CAAC,CAAC;QAEH,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAEnB,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}