@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 @@
1
+ {"version":3,"file":"sign.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/kms/command/sign/sign.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;CACrC;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAE1C;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1C,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChD;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,SAAS,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/C,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,KAAK,EAAE,qBAAqB,CAAC;CACvC;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC1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appingURL=sign.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sign.command.js","sourceRoot":"","sources":["../../../../../src/service/kms/command/sign/sign.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ import type { SimKmsKeyStore } from "../../key/sim-kms-key-store.js";
2
+ import type { SimKmsAuthorizer } from "../authorize/sim-kms-authorizer.js";
3
+ import type { SimKmsRequestOptions } from "../sim-kms-request-options.js";
4
+ import type { SimGetPublicKeyCommand, SimGetPublicKeyCommandOutput, SimSignCommand, SimSignCommandOutput, SimVerifyCommand, SimVerifyCommandOutput } from "./sign.command.js";
5
+ interface SimKmsSignCommandsProperties {
6
+ readonly keys: SimKmsKeyStore;
7
+ readonly authorizer: SimKmsAuthorizer;
8
+ }
9
+ /**
10
+ * The Sign, Verify and GetPublicKey commands of one simulated KMS scope.
11
+ *
12
+ * The three go together: they are the operations an asymmetric signing key
13
+ * answers, they share the key store and the authorizer, and each of them has
14
+ * to refuse a key whose usage is not SIGN_VERIFY.
15
+ */
16
+ export declare class SimKmsSignCommands {
17
+ private readonly keys;
18
+ private readonly authorizer;
19
+ private readonly message;
20
+ constructor(properties: SimKmsSignCommandsProperties);
21
+ /**
22
+ * Sign a message under a key.
23
+ */
24
+ sign(command: SimSignCommand, options?: SimKmsRequestOptions): SimSignCommandOutput;
25
+ /**
26
+ * Check a signature against a message and a key.
27
+ *
28
+ * A signature that does not check out fails rather than returning false.
29
+ * That is what real KMS does, so a caller that only handles the exception is
30
+ * not left believing an unverified signature was good.
31
+ */
32
+ verify(command: SimVerifyCommand, options?: SimKmsRequestOptions): SimVerifyCommandOutput;
33
+ /**
34
+ * Get a key's public key.
35
+ */
36
+ getPublicKey(command: SimGetPublicKeyCommand, options?: SimKmsRequestOptions): SimGetPublicKeyCommandOutput;
37
+ private authorizedKey;
38
+ }
39
+ export {};
40
+ //# sourceMappingURL=sim-kms-sign-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-kms-sign-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/kms/command/sign/sim-kms-sign-commands.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,KAAK,EACV,sBAAsB,EACtB,4BAA4B,EAC5B,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,mBAAmB,CAAC;AAE3B,UAAU,4BAA4B;IACpC,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9B,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;CACvC;AAED;;;;;;GAMG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiB;IACtC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmB;IAC9C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA6B;IAErD,YAAY,UAAU,EAAE,4BAA4B,EAGnD;IAED;;OAEG;IACH,IAAI,CACF,OAAO,EAAE,cAAc,EACvB,OAAO,CAAC,EAAE,oBAAoB,GAC7B,oBAAoB,CAgBtB;IAED;;;;;;OAMG;IACH,MAAM,CACJ,OAAO,EAAE,gBAAgB,EACzB,OAAO,CAAC,EAAE,oBAAoB,GAC7B,sBAAsB,CAuBxB;IAED;;OAEG;IACH,YAAY,CACV,OAAO,EAAE,sBAAsB,EAC/B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,4BAA4B,CAiB9B;IAED,OAAO,CAAC,aAAa;CAUtB"}
@@ -0,0 +1,76 @@
1
+ import { SimKmsInvalidSignatureException } from "../../error/sim-kms.error.js";
2
+ import { SimKmsSignedMessage } from "./sim-kms-signed-message.js";
3
+ /**
4
+ * The Sign, Verify and GetPublicKey commands of one simulated KMS scope.
5
+ *
6
+ * The three go together: they are the operations an asymmetric signing key
7
+ * answers, they share the key store and the authorizer, and each of them has
8
+ * to refuse a key whose usage is not SIGN_VERIFY.
9
+ */
10
+ export class SimKmsSignCommands {
11
+ keys;
12
+ authorizer;
13
+ message = new SimKmsSignedMessage();
14
+ constructor(properties) {
15
+ this.keys = properties.keys;
16
+ this.authorizer = properties.authorizer;
17
+ }
18
+ /**
19
+ * Sign a message under a key.
20
+ */
21
+ sign(command, options) {
22
+ const message = this.message.require(command.input.Message, command.input.MessageType);
23
+ const key = this.authorizedKey("kms:Sign", command.input.KeyId, options);
24
+ const algorithm = key.keySpec.requireSigningAlgorithm(command.input.SigningAlgorithm);
25
+ return {
26
+ $metadata: {},
27
+ KeyId: key.arn,
28
+ Signature: key.sign(message, algorithm),
29
+ SigningAlgorithm: algorithm.name,
30
+ };
31
+ }
32
+ /**
33
+ * Check a signature against a message and a key.
34
+ *
35
+ * A signature that does not check out fails rather than returning false.
36
+ * That is what real KMS does, so a caller that only handles the exception is
37
+ * not left believing an unverified signature was good.
38
+ */
39
+ verify(command, options) {
40
+ const message = this.message.require(command.input.Message, command.input.MessageType);
41
+ const key = this.authorizedKey("kms:Verify", command.input.KeyId, options);
42
+ const algorithm = key.keySpec.requireSigningAlgorithm(command.input.SigningAlgorithm);
43
+ const signature = this.message.requireSignature(command.input.Signature);
44
+ if (!key.verify(message, signature, algorithm)) {
45
+ throw new SimKmsInvalidSignatureException(`The signature was not verified by key ${key.arn} under ${algorithm.name}`);
46
+ }
47
+ return {
48
+ $metadata: {},
49
+ KeyId: key.arn,
50
+ SignatureValid: true,
51
+ SigningAlgorithm: algorithm.name,
52
+ };
53
+ }
54
+ /**
55
+ * Get a key's public key.
56
+ */
57
+ getPublicKey(command, options) {
58
+ const key = this.authorizedKey("kms:GetPublicKey", command.input.KeyId, options);
59
+ const keySpec = key.keySpec;
60
+ return {
61
+ $metadata: {},
62
+ KeyId: key.arn,
63
+ PublicKey: key.publicKeyDer(),
64
+ KeySpec: keySpec.name,
65
+ CustomerMasterKeySpec: keySpec.name,
66
+ KeyUsage: keySpec.keyUsage,
67
+ SigningAlgorithms: keySpec.signingAlgorithmNames(),
68
+ };
69
+ }
70
+ authorizedKey(action, keyId, options) {
71
+ const key = this.keys.require(keyId);
72
+ this.authorizer.authorizeKey(action, key, options);
73
+ return key;
74
+ }
75
+ }
76
+ //# sourceMappingURL=sim-kms-sign-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-kms-sign-commands.js","sourceRoot":"","sources":["../../../../../src/service/kms/command/sign/sim-kms-sign-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAK/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAelE;;;;;;GAMG;AACH,MAAM,OAAO,kBAAkB;IACZ,IAAI,CAAiB;IACrB,UAAU,CAAmB;IAC7B,OAAO,GAAG,IAAI,mBAAmB,EAAE,CAAC;IAErD,YAAY,UAAwC;QAClD,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,IAAI,CACF,OAAuB,EACvB,OAA8B;QAE9B,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAClC,OAAO,CAAC,KAAK,CAAC,OAAO,EACrB,OAAO,CAAC,KAAK,CAAC,WAAW,CAC1B,CAAC;QACF,MAAM,GAAG,GAAG,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACzE,MAAM,SAAS,GAAG,GAAG,CAAC,OAAO,CAAC,uBAAuB,CACnD,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAC/B,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,EAAE;YACb,KAAK,EAAE,GAAG,CAAC,GAAG;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AAO;YACL,SAAS,EAAE,EAAE;YACb,KAAK,EAAE,GAAG,CAAC,GAAG;YACd,SAAS,EAAE,GAAG,CAAC,YAAY,EAAE;YAC7B,OAAO,EAAE,OAAO,CAAC,IAAI;YACrB,qBAAqB,EAAE,OAAO,CAAC,IAAI;YACnC,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,iBAAiB,EAAE,OAAO,CAAC,qBAAqB,EAAE;SACnD,CAAC;IACJ,CAAC;IAEO,aAAa,CACnB,MAAc,EACd,KAAyB,EACzB,OAAyC;QAEzC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACrC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;QAEnD,OAAO,GAAG,CAAC;IACb,CAAC;CACF"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Reads the message a Sign or Verify request carries.
3
+ *
4
+ * `MessageType: DIGEST` is refused rather than answered. Node has no way to
5
+ * sign a digest that has already been computed: `crypto.sign` with no
6
+ * algorithm hashes what it is given rather than signing it, so the signature
7
+ * would not be the one real KMS makes and would not verify against the message
8
+ * anywhere outside this simulation. A wrong signature that passes here is the
9
+ * worst outcome available, so this fails closed.
10
+ */
11
+ export declare class SimKmsSignedMessage {
12
+ /**
13
+ * The message bytes to sign or verify.
14
+ */
15
+ require(message: Uint8Array | undefined, messageType: string | undefined): Uint8Array;
16
+ /**
17
+ * The signature bytes to check.
18
+ *
19
+ * A missing signature is a request AWS refuses before it does any
20
+ * cryptography, so it fails as validation here rather than as a signature
21
+ * that did not verify. The two mean different things to a caller.
22
+ */
23
+ requireSignature(signature: Uint8Array | undefined): Uint8Array;
24
+ private requireRawMessageType;
25
+ }
26
+ //# sourceMappingURL=sim-kms-signed-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-kms-signed-message.d.ts","sourceRoot":"","sources":["../../../../../src/service/kms/command/sign/sim-kms-signed-message.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;GASG;AACH,qBAAa,mBAAmB;IAC9B;;OAEG;IACH,OAAO,CACL,OAAO,EAAE,UAAU,GAAG,SAAS,EAC/B,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,UAAU,CAcZ;IAED;;;;;;OAMG;IACH,gBAAgB,CAAC,SAAS,EAAE,UAAU,GAAG,SAAS,GAAG,UAAU,CAY9D;IAED,OAAO,CAAC,qBAAqB;CAS9B"}
@@ -0,0 +1,62 @@
1
+ import { SimKmsValidationException } from "../../error/sim-kms.error.js";
2
+ const rawMessageType = "RAW";
3
+ /**
4
+ * The largest message Sign and Verify accept.
5
+ *
6
+ * Real KMS takes 4096 bytes for a RAW message, which is the limit that pushes
7
+ * a caller signing something larger towards hashing it first.
8
+ */
9
+ const maxMessageBytes = 4096;
10
+ /**
11
+ * The largest signature Verify accepts, which is what an RSA_4096 signature
12
+ * needs room for.
13
+ */
14
+ const maxSignatureBytes = 6144;
15
+ /**
16
+ * Reads the message a Sign or Verify request carries.
17
+ *
18
+ * `MessageType: DIGEST` is refused rather than answered. Node has no way to
19
+ * sign a digest that has already been computed: `crypto.sign` with no
20
+ * algorithm hashes what it is given rather than signing it, so the signature
21
+ * would not be the one real KMS makes and would not verify against the message
22
+ * anywhere outside this simulation. A wrong signature that passes here is the
23
+ * worst outcome available, so this fails closed.
24
+ */
25
+ export class SimKmsSignedMessage {
26
+ /**
27
+ * The message bytes to sign or verify.
28
+ */
29
+ require(message, messageType) {
30
+ this.requireRawMessageType(messageType);
31
+ if (message === undefined || message.length === 0) {
32
+ throw new SimKmsValidationException("Message is required");
33
+ }
34
+ if (message.length > maxMessageBytes) {
35
+ throw new SimKmsValidationException(`Message of ${String(message.length)} bytes exceeds the ${String(maxMessageBytes)} byte limit`);
36
+ }
37
+ return message;
38
+ }
39
+ /**
40
+ * The signature bytes to check.
41
+ *
42
+ * A missing signature is a request AWS refuses before it does any
43
+ * cryptography, so it fails as validation here rather than as a signature
44
+ * that did not verify. The two mean different things to a caller.
45
+ */
46
+ requireSignature(signature) {
47
+ if (signature === undefined || signature.length === 0) {
48
+ throw new SimKmsValidationException("Signature is required");
49
+ }
50
+ if (signature.length > maxSignatureBytes) {
51
+ throw new SimKmsValidationException(`Signature of ${String(signature.length)} bytes exceeds the ${String(maxSignatureBytes)} byte limit`);
52
+ }
53
+ return signature;
54
+ }
55
+ requireRawMessageType(messageType) {
56
+ if (messageType === undefined || messageType === rawMessageType) {
57
+ return;
58
+ }
59
+ throw new SimKmsValidationException(`MessageType '${messageType}' is not simulated: simulated KMS signs ${rawMessageType} messages, and hashes them itself`);
60
+ }
61
+ }
62
+ //# sourceMappingURL=sim-kms-signed-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-kms-signed-message.js","sourceRoot":"","sources":["../../../../../src/service/kms/command/sign/sim-kms-signed-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,MAAM,cAAc,GAAG,KAAK,CAAC;AAE7B;;;;;GAKG;AACH,MAAM,eAAe,GAAG,IAAI,CAAC;AAE7B;;;GAGG;AACH,MAAM,iBAAiB,GAAG,IAAI,CAAC;AAE/B;;;;;;;;;GASG;AACH,MAAM,OAAO,mBAAmB;IAC9B;;OAEG;IACH,OAAO,CACL,OAA+B,EAC/B,WAA+B;QAE/B,IAAI,CAAC,qBAAqB,CAAC,WAAW,CAAC,CAAC;QAExC,IAAI,OAAO,KAAK,SAAS,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAClD,MAAM,IAAI,yBAAyB,CAAC,qBAAqB,CAAC,CAAC;QAC7D,CAAC;QAED,IAAI,OAAO,CAAC,MAAM,GAAG,eAAe,EAAE,CAAC;YACrC,MAAM,IAAI,yBAAyB,CACjC,cAAc,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAsB,MAAM,CAAC,eAAe,CAAC,aAAa,CAC/F,CAAC;QACJ,CAAC;QAED,OAAO,OAAO,CAAC;IACjB,CAAC;IAED;;;;;;OAMG;IACH,gBAAgB,CAAC,SAAiC;QAChD,IAAI,SAAS,KAAK,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACtD,MAAM,IAAI,yBAAyB,CAAC,uBAAuB,CAAC,CAAC;QAC/D,CAAC;QAED,IAAI,SAAS,CAAC,MAAM,GAAG,iBAAiB,EAAE,CAAC;YACzC,MAAM,IAAI,yBAAyB,CACjC,gBAAgB,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,sBAAsB,MAAM,CAAC,iBAAiB,CAAC,aAAa,CACrG,CAAC;QACJ,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAEO,qBAAqB,CAAC,WAA+B;QAC3D,IAAI,WAAW,KAAK,SAAS,IAAI,WAAW,KAAK,cAAc,EAAE,CAAC;YAChE,OAAO;QACT,CAAC;QAED,MAAM,IAAI,yBAAyB,CACjC,gBAAgB,WAAW,2CAA2C,cAAc,mCAAmC,CACxH,CAAC;IACJ,CAAC;CACF"}
@@ -7,4 +7,5 @@
7
7
  export type { SimCreateAliasCommand, SimCreateAliasCommandOutput, SimDeleteAliasCommand, SimDeleteAliasCommandOutput, SimListAliasesCommand, SimListAliasesCommandOutput, } from "./alias/alias.command.js";
8
8
  export type { SimDecryptCommand, SimDecryptCommandOutput, SimEncryptCommand, SimEncryptCommandOutput, SimGenerateDataKeyCommand, SimGenerateDataKeyCommandOutput, } from "./crypto/crypto.command.js";
9
9
  export type { SimCancelKeyDeletionCommand, SimCancelKeyDeletionCommandOutput, SimCreateKeyCommand, SimCreateKeyCommandOutput, SimDescribeKeyCommand, SimDescribeKeyCommandOutput, SimDisableKeyCommand, SimDisableKeyCommandOutput, SimEnableKeyCommand, SimEnableKeyCommandOutput, SimGetKeyPolicyCommand, SimGetKeyPolicyCommandOutput, SimListKeysCommand, SimListKeysCommandOutput, SimPutKeyPolicyCommand, SimPutKeyPolicyCommandOutput, SimScheduleKeyDeletionCommand, SimScheduleKeyDeletionCommandOutput, } from "./key/key.command.js";
10
+ export type { SimGetPublicKeyCommand, SimGetPublicKeyCommandOutput, SimSignCommand, SimSignCommandOutput, SimVerifyCommand, SimVerifyCommandOutput, } from "./sign/sign.command.js";
10
11
  //# sourceMappingURL=sim-kms-command.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-kms-command.types.d.ts","sourceRoot":"","sources":["../../../../src/service/kms/command/sim-kms-command.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,YAAY,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAEpC,YAAY,EACV,2BAA2B,EAC3B,iCAAiC,EACjC,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,EAC3B,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,yBAAyB,EACzB,sBAAsB,EACtB,4BAA4B,EAC5B,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,mCAAmC,GACpC,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"sim-kms-command.types.d.ts","sourceRoot":"","sources":["../../../../src/service/kms/command/sim-kms-command.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,YAAY,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAEpC,YAAY,EACV,2BAA2B,EAC3B,iCAAiC,EACjC,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,EAC3B,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,yBAAyB,EACzB,sBAAsB,EACtB,4BAA4B,EAC5B,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,mCAAmC,GACpC,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EACV,sBAAsB,EACtB,4BAA4B,EAC5B,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,wBAAwB,CAAC"}
@@ -85,4 +85,26 @@ export declare class SimKmsInvalidKeyUsageException extends SimKmsError {
85
85
  readonly name = "InvalidKeyUsageException";
86
86
  constructor(message: string);
87
87
  }
88
+ /**
89
+ * Simulated KMS UnsupportedOperationException error.
90
+ *
91
+ * Real KMS keeps this apart from InvalidKeyUsageException, and GetPublicKey is
92
+ * where the difference shows: a symmetric key has no public key to hand out at
93
+ * all, rather than having one it is not allowed to use for the operation.
94
+ */
95
+ export declare class SimKmsUnsupportedOperationException extends SimKmsError {
96
+ readonly name = "UnsupportedOperationException";
97
+ constructor(message: string);
98
+ }
99
+ /**
100
+ * Simulated KMS KMSInvalidSignatureException error.
101
+ *
102
+ * Verify reports a signature that does not check out by failing rather than by
103
+ * returning SignatureValid false, which is what real KMS does and what code
104
+ * written against it handles.
105
+ */
106
+ export declare class SimKmsInvalidSignatureException extends SimKmsError {
107
+ readonly name = "KMSInvalidSignatureException";
108
+ constructor(message: string);
109
+ }
88
110
  //# sourceMappingURL=sim-kms.error.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-kms.error.d.ts","sourceRoot":"","sources":["../../../../src/service/kms/error/sim-kms.error.ts"],"names":[],"mappings":"AAAA;;GA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;;;;;GAMG;AACH,qBAAa,mCAAoC,SAAQ,WAAW;IAClE,SAAyB,IAAI,mCAAmC;IAEhE,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;GAMG;AACH,qBAAa,+BAAgC,SAAQ,WAAW;IAC9D,SAAyB,IAAI,kCAAkC;IAE/D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF"}
@@ -98,4 +98,30 @@ export class SimKmsInvalidKeyUsageException extends SimKmsError {
98
98
  super(message, { httpStatusCode: 400 });
99
99
  }
100
100
  }
101
+ /**
102
+ * Simulated KMS UnsupportedOperationException error.
103
+ *
104
+ * Real KMS keeps this apart from InvalidKeyUsageException, and GetPublicKey is
105
+ * where the difference shows: a symmetric key has no public key to hand out at
106
+ * all, rather than having one it is not allowed to use for the operation.
107
+ */
108
+ export class SimKmsUnsupportedOperationException extends SimKmsError {
109
+ name = "UnsupportedOperationException";
110
+ constructor(message) {
111
+ super(message, { httpStatusCode: 400 });
112
+ }
113
+ }
114
+ /**
115
+ * Simulated KMS KMSInvalidSignatureException error.
116
+ *
117
+ * Verify reports a signature that does not check out by failing rather than by
118
+ * returning SignatureValid false, which is what real KMS does and what code
119
+ * written against it handles.
120
+ */
121
+ export class SimKmsInvalidSignatureException extends SimKmsError {
122
+ name = "KMSInvalidSignatureException";
123
+ constructor(message) {
124
+ super(message, { httpStatusCode: 400 });
125
+ }
126
+ }
101
127
  //# sourceMappingURL=sim-kms.error.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-kms.error.js","sourceRoot":"","sources":["../../../../src/service/kms/error/sim-kms.error.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,KAAK;IAGlB,SAAS;IAF3B,YACE,OAAe,EACC,SAAS,GAAwB,EAAE;QAEnD,KAAK,CAAC,OAAO,CAAC,CAAC;yBAFC,SAAS;IAG3B,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,OAAO,uBAAwB,SAAQ,WAAW;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AAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF"}
@@ -5,5 +5,7 @@ export { SimKmsAlias } from "./key/sim-kms-alias.js";
5
5
  export { SimKmsKeyPolicy } from "./key/sim-kms-key-policy.js";
6
6
  export type { SimKmsEncryptionContext } from "./key/sim-kms-encryption-context.js";
7
7
  export type { SimKmsKeyMetadata } from "./key/sim-kms-key-metadata.js";
8
- export { SimKmsAlreadyExistsException, SimKmsDisabledException, SimKmsError, SimKmsIncorrectKeyException, SimKmsInvalidCiphertextException, SimKmsInvalidKeyUsageException, SimKmsInvalidStateException, SimKmsNotFoundException, SimKmsValidationException, } from "./error/sim-kms.error.js";
8
+ export { SimKmsKeySpec, SimKmsKeyUsage } from "./key/spec/sim-kms-key-spec.js";
9
+ export { simKmsKeySpecs } from "./key/spec/sim-kms-key-specs.js";
10
+ export { SimKmsAlreadyExistsException, SimKmsDisabledException, SimKmsError, SimKmsIncorrectKeyException, SimKmsInvalidCiphertextException, SimKmsInvalidKeyUsageException, SimKmsInvalidSignatureException, SimKmsInvalidStateException, SimKmsNotFoundException, SimKmsUnsupportedOperationException, SimKmsValidationException, } from "./error/sim-kms.error.js";
9
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/kms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,YAAY,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,KAAK,WAAW,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,YAAY,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,YAAY,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,EACvB,WAAW,EACX,2BAA2B,EAC3B,gCAAgC,EAChC,8BAA8B,EAC9B,2BAA2B,EAC3B,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/kms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,YAAY,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,KAAK,WAAW,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,YAAY,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,YAAY,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,EACvB,WAAW,EACX,2BAA2B,EAC3B,gCAAgC,EAChC,8BAA8B,EAC9B,+BAA+B,EAC/B,2BAA2B,EAC3B,uBAAuB,EACvB,mCAAmC,EACnC,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC"}
@@ -2,5 +2,7 @@ export { SimKms } from "./sim-kms.js";
2
2
  export { SimKmsKey, SimKmsKeyManager, SimKmsKeyState, } from "./key/sim-kms-key.js";
3
3
  export { SimKmsAlias } from "./key/sim-kms-alias.js";
4
4
  export { SimKmsKeyPolicy } from "./key/sim-kms-key-policy.js";
5
- export { SimKmsAlreadyExistsException, SimKmsDisabledException, SimKmsError, SimKmsIncorrectKeyException, SimKmsInvalidCiphertextException, SimKmsInvalidKeyUsageException, SimKmsInvalidStateException, SimKmsNotFoundException, SimKmsValidationException, } from "./error/sim-kms.error.js";
5
+ export { SimKmsKeySpec, SimKmsKeyUsage } from "./key/spec/sim-kms-key-spec.js";
6
+ export { simKmsKeySpecs } from "./key/spec/sim-kms-key-specs.js";
7
+ export { SimKmsAlreadyExistsException, SimKmsDisabledException, SimKmsError, SimKmsIncorrectKeyException, SimKmsInvalidCiphertextException, SimKmsInvalidKeyUsageException, SimKmsInvalidSignatureException, SimKmsInvalidStateException, SimKmsNotFoundException, SimKmsUnsupportedOperationException, SimKmsValidationException, } from "./error/sim-kms.error.js";
6
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/kms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,cAAc,GAEf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,EACvB,WAAW,EACX,2BAA2B,EAC3B,gCAAgC,EAChC,8BAA8B,EAC9B,2BAA2B,EAC3B,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/kms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,cAAc,GAEf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,EACvB,WAAW,EACX,2BAA2B,EAC3B,gCAAgC,EAChC,8BAA8B,EAC9B,+BAA+B,EAC/B,2BAA2B,EAC3B,uBAAuB,EACvB,mCAAmC,EACnC,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC"}
@@ -2,6 +2,7 @@ import type { SimClock } from "../../../util/clock/sim-clock.js";
2
2
  import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
3
3
  import type { SimIamPolicyDocument } from "../../iam/policy/sim-iam-policy.js";
4
4
  import { SimKmsKey } from "./sim-kms-key.js";
5
+ import type { SimKmsKeySpec } from "./spec/sim-kms-key-spec.js";
5
6
  interface SimKmsKeyFactoryProperties {
6
7
  readonly accountRegionScope: SimAwsAccountRegionScope;
7
8
  readonly clock: SimClock;
@@ -9,6 +10,11 @@ interface SimKmsKeyFactoryProperties {
9
10
  interface SimKmsMakeKeyProperties {
10
11
  readonly description?: string | undefined;
11
12
  readonly policy?: SimIamPolicyDocument | undefined;
13
+ /**
14
+ * The spec the key is made to. Omitting it gets a symmetric encryption key,
15
+ * which is what CreateKey gives a request naming no KeySpec.
16
+ */
17
+ readonly keySpec?: SimKmsKeySpec | undefined;
12
18
  /**
13
19
  * The service an AWS managed key belongs to, such as `ssm`.
14
20
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sim-kms-key-factory.d.ts","sourceRoot":"","sources":["../../../../src/service/kms/key/sim-kms-key-factory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,C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B,CAAC;IACtD,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED,UAAU,uBAAuB;IAC/B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,MAAM,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAEnD;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAE7C;;;;;;OAMG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjD;AAED;;;;;;GAMG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA8B;IAEnD,YAAY,UAAU,EAAE,0BAA0B,EAGjD;IAED;;;;;OAKG;IACH,IAAI,CAAC,UAAU,GAAE,uBAA4B,GAAG,SAAS,CAiBxD;IAED;;OAEG;IACH,OAAO,CAAC,UAAU;IAUlB;;;OAGG;IACH,OAAO,CAAC,SAAS;CAuBlB"}
@@ -1,9 +1,10 @@
1
1
  import { randomUUID } from "node:crypto";
2
2
  import { SimKmsCiphertextBlob } from "./sim-kms-ciphertext-blob.js";
3
3
  import { SimKmsKey, SimKmsKeyManager } from "./sim-kms-key.js";
4
- import { SimKmsKeyMaterial } from "./sim-kms-key-material.js";
4
+ import { makeSimKmsKeyMaterial } from "./sim-kms-key-material-factory.js";
5
5
  import { SimKmsKeyPolicy } from "./sim-kms-key-policy.js";
6
6
  import { SimKmsViaService } from "./sim-kms-via-service.js";
7
+ import { simKmsSymmetricKeySpec } from "./spec/sim-kms-key-specs.js";
7
8
  /**
8
9
  * Builds simulated KMS keys, including their key material.
9
10
  *
@@ -31,7 +32,11 @@ export class SimKmsKeyFactory {
31
32
  return new SimKmsKey({
32
33
  keyId,
33
34
  accountRegionScope: this.accountRegionScope,
34
- material: new SimKmsKeyMaterial({ keyArn: arn, blob: this.blob }),
35
+ material: makeSimKmsKeyMaterial({
36
+ keyArn: arn,
37
+ keySpec: properties.keySpec ?? simKmsSymmetricKeySpec,
38
+ blob: this.blob,
39
+ }),
35
40
  policy: this.keyPolicy(arn, properties),
36
41
  creationDate: this.clock.now(),
37
42
  description: properties.description,
@@ -1 +1 @@
1
- {"version":3,"file":"sim-kms-key-factory.js","sourceRoot":"","sources":["../../../../src/service/kms/key/sim-kms-key-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAIzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAqB5D;;;;;;GAMG;AACH,MAAM,OAAO,gBAAgB;IACV,kBAAkB,CAA2B;IAC7C,KAAK,CAAW;IAChB,IAAI,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAEnD,YAAY,UAAsC;QAChD,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;;;;OAKG;IACH,IAAI,CAAC,UAAU,GAA4B,EAAE;QAC3C,MAAM,KAAK,GAAG,UAAU,EAAE,CAAC;QAC3B,MAAM,GAAG,GAAG,eAAe,IAAI,CAAC,kBAAkB,CAAC,UAAU,IAAI,IAAI,CAAC,kBAAkB,CAAC,SAAS,QAAQ,KAAK,EAAE,CAAC;QAElH,OAAO,IAAI,SAAS,CAAC;YACnB,KAAK;YACL,kBAAkB,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,WAAW,EAAE,UAAU,CAAC,WAAW;YACnC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;SACxC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACK,UAAU,CAChB,UAAmC;QAEnC,IAAI,UAAU,CAAC,iBAAiB,KAAK,SAAS,EAAE,CAAC;YAC/C,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,gBAAgB,CAAC,GAAG,CAAC;IAC9B,CAAC;IAED;;;OAGG;IACK,SAAS,CACf,MAAc,EACd,UAAmC;QAEnC,IAAI,UAAU,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;YACpC,OAAO,IAAI,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;QACxD,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC;QAEpD,IAAI,UAAU,CAAC,iBAAiB,KAAK,SAAS,EAAE,CAAC;YAC/C,OAAO,eAAe,CAAC,UAAU,CAC/B,MAAM,EACN,SAAS,EACT,IAAI,gBAAgB,CAClB,UAAU,CAAC,iBAAiB,EAC5B,IAAI,CAAC,kBAAkB,CAAC,UAAU,CACnC,CACF,CAAC;QACJ,CAAC;QAED,OAAO,eAAe,CAAC,OAAO,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACpD,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ import type { SimKmsCiphertextBlob } from "./sim-kms-ciphertext-blob.js";
2
+ import type { SimKmsKeyMaterial } from "./sim-kms-key-material.js";
3
+ import type { SimKmsKeySpec } from "./spec/sim-kms-key-spec.js";
4
+ interface SimKmsMakeKeyMaterialProperties {
5
+ readonly keyArn: string;
6
+ readonly keySpec: SimKmsKeySpec;
7
+ readonly blob: SimKmsCiphertextBlob;
8
+ }
9
+ /**
10
+ * Make the key material a key spec calls for: an AES key or a key pair.
11
+ *
12
+ * Which of the two a spec means is the only thing the key factory would have
13
+ * to know about key material, so it lives here instead and the factory stays
14
+ * about assembling a key.
15
+ */
16
+ export declare function makeSimKmsKeyMaterial(properties: SimKmsMakeKeyMaterialProperties): SimKmsKeyMaterial;
17
+ export {};
18
+ //# sourceMappingURL=sim-kms-key-material-factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-kms-key-material-factory.d.ts","sourceRoot":"","sources":["../../../../src/service/kms/key/sim-kms-key-material-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,UAAU,+BAA+B;IACvC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;CACrC;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,+BAA+B,GAC1C,iBAAiB,CAYnB"}
@@ -0,0 +1,21 @@
1
+ import { SimKmsSigningKeyMaterial } from "./sim-kms-signing-key-material.js";
2
+ import { SimKmsSymmetricKeyMaterial } from "./sim-kms-symmetric-key-material.js";
3
+ /**
4
+ * Make the key material a key spec calls for: an AES key or a key pair.
5
+ *
6
+ * Which of the two a spec means is the only thing the key factory would have
7
+ * to know about key material, so it lives here instead and the factory stays
8
+ * about assembling a key.
9
+ */
10
+ export function makeSimKmsKeyMaterial(properties) {
11
+ const { keyArn, keySpec } = properties;
12
+ if (keySpec.isAsymmetric) {
13
+ return new SimKmsSigningKeyMaterial({ keyArn, keySpec });
14
+ }
15
+ return new SimKmsSymmetricKeyMaterial({
16
+ keyArn,
17
+ keySpec,
18
+ blob: properties.blob,
19
+ });
20
+ }
21
+ //# sourceMappingURL=sim-kms-key-material-factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-kms-key-material-factory.js","sourceRoot":"","sources":["../../../../src/service/kms/key/sim-kms-key-material-factory.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AASjF;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,UAA2C;IAE3C,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC;IAEvC,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;QACzB,OAAO,IAAI,wBAAwB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,OAAO,IAAI,0BAA0B,CAAC;QACpC,MAAM;QACN,OAAO;QACP,IAAI,EAAE,UAAU,CAAC,IAAI;KACtB,CAAC,CAAC;AACL,CAAC"}
@@ -1,36 +1,56 @@
1
- import { SimKmsCiphertextBlobParts, type SimKmsCiphertextBlob } from "./sim-kms-ciphertext-blob.js";
2
- import { type SimKmsEncryptionContext } from "./sim-kms-encryption-context.js";
1
+ import type { SimKmsSigningAlgorithm } from "./spec/sim-kms-signing-algorithm.js";
2
+ import type { SimKmsKeySpec } from "./spec/sim-kms-key-spec.js";
3
+ import type { SimKmsCiphertextBlobParts } from "./sim-kms-ciphertext-blob.js";
4
+ import type { SimKmsEncryptionContext } from "./sim-kms-encryption-context.js";
3
5
  interface SimKmsKeyMaterialProperties {
4
6
  readonly keyArn: string;
5
- readonly blob: SimKmsCiphertextBlob;
6
- readonly bytes?: Uint8Array | undefined;
7
+ readonly keySpec: SimKmsKeySpec;
7
8
  }
8
9
  /**
9
10
  * The key material of one simulated KMS key, and the operations that use it.
10
11
  *
11
- * The bytes are generated here and never leave: nothing exposes them, exactly
12
- * as real key material never leaves KMS. That is a modelling choice rather
13
- * than a security boundary, since this all runs in one process and anything
14
- * sharing that process can reach the object.
12
+ * The bytes are generated in the subclass and never leave, exactly as real key
13
+ * material never leaves KMS. That is a modelling choice rather than a security
14
+ * boundary, since this all runs in one process and anything sharing that
15
+ * process can reach the object.
16
+ *
17
+ * Every operation is declared here and refused by default, because that is how
18
+ * AWS answers one: an `Encrypt` against a signing key is not an unknown
19
+ * operation, it is `InvalidKeyUsageException` on a key that cannot do it. A
20
+ * subclass overrides the operations its usage allows and inherits the refusal
21
+ * for the rest.
15
22
  */
16
- export declare class SimKmsKeyMaterial {
17
- private readonly keyArn;
18
- private readonly blob;
19
- private readonly bytes;
20
- private readonly aad;
23
+ export declare abstract class SimKmsKeyMaterial {
24
+ readonly keySpec: SimKmsKeySpec;
25
+ protected readonly keyArn: string;
21
26
  constructor(properties: SimKmsKeyMaterialProperties);
22
27
  /**
23
28
  * Encrypt plaintext under this key, binding the encryption context.
24
29
  */
25
- encrypt(plaintext: Uint8Array, encryptionContext?: SimKmsEncryptionContext): Uint8Array;
30
+ encrypt(_plaintext: Uint8Array, _encryptionContext?: SimKmsEncryptionContext): Uint8Array;
26
31
  /**
27
32
  * Decrypt a ciphertext produced under this key.
33
+ */
34
+ decrypt(_parts: SimKmsCiphertextBlobParts, _encryptionContext?: SimKmsEncryptionContext): Uint8Array;
35
+ /**
36
+ * Sign a message under this key.
37
+ */
38
+ sign(_message: Uint8Array, _algorithm: SimKmsSigningAlgorithm): Uint8Array;
39
+ /**
40
+ * Check a signature made under this key.
41
+ */
42
+ verify(_message: Uint8Array, _signature: Uint8Array, _algorithm: SimKmsSigningAlgorithm): boolean;
43
+ /**
44
+ * This key's public key, as DER SubjectPublicKeyInfo.
28
45
  *
29
- * A wrong encryption context fails the GCM authentication tag rather than an
30
- * explicit comparison, so the failure comes from the cipher for the same
31
- * reason it does on real KMS.
46
+ * A symmetric key has no public key at all, which real KMS reports as an
47
+ * unsupported operation rather than as a key usage that does not allow it.
48
+ */
49
+ publicKeyDer(): Uint8Array;
50
+ /**
51
+ * The refusal for an operation this key's usage does not allow.
32
52
  */
33
- decrypt(parts: SimKmsCiphertextBlobParts, encryptionContext?: SimKmsEncryptionContext): Uint8Array;
53
+ private notForThisUsage;
34
54
  }
35
55
  export {};
36
56
  //# sourceMappingURL=sim-kms-key-material.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-kms-key-material.d.ts","sourceRoot":"","sources":["../../../../src/service/kms/key/sim-kms-key-material.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,yBAAyB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,iCAAiC,CAAC;AAezC,UAAU,2BAA2B;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CACzC;AAED;;;;;;;GAOG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAuB;IAC5C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAa;IACnC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAoC;IAExD,YAAY,UAAU,EAAE,2BAA2B,EAIlD;IAED;;OAEG;IACH,OAAO,CACL,SAAS,EAAE,UAAU,EACrB,iBAAiB,CAAC,EAAE,uBAAuB,GAC1C,UAAU,CAoBZ;IAED;;;;;;OAMG;IACH,OAAO,CACL,KAAK,EAAE,yBAAyB,EAChC,iBAAiB,CAAC,EAAE,uBAAuB,GAC1C,UAAU,CAgBZ;CACF"}
1
+ {"version":3,"file":"sim-kms-key-material.d.ts","sourceRoot":"","sources":["../../../../src/service/kms/key/sim-kms-key-material.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE/E,UAAU,2BAA2B;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;CACjC;AAED;;;;;;;;;;;;;GAaG;AACH,8BAAsB,iBAAiB;IACrC,SAAgB,OAAO,EAAE,aAAa,CAAC;IAEvC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAElC,YAAY,UAAU,EAAE,2BAA2B,EAGlD;IAED;;OAEG;IACH,OAAO,CACL,UAAU,EAAE,UAAU,EACtB,kBAAkB,CAAC,EAAE,uBAAuB,GAC3C,UAAU,CAEZ;IAED;;OAEG;IACH,OAAO,CACL,MAAM,EAAE,yBAAyB,EACjC,kBAAkB,CAAC,EAAE,uBAAuB,GAC3C,UAAU,CAEZ;IAED;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,sBAAsB,GAAG,UAAU,CAEzE;IAED;;OAEG;IACH,MAAM,CACJ,QAAQ,EAAE,UAAU,EACpB,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,sBAAsB,GACjC,OAAO,CAET;IAED;;;;;OAKG;IACH,YAAY,IAAI,UAAU,CAIzB;IAED;;OAEG;IACH,OAAO,CAAC,eAAe;CAKxB"}