@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.
- package/README.md +1 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.js +5 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
- package/dist/serve/controller/host/sim-aws-service-hosts.d.ts +27 -0
- package/dist/serve/controller/host/sim-aws-service-hosts.d.ts.map +1 -0
- package/dist/serve/controller/host/sim-aws-service-hosts.js +13 -0
- package/dist/serve/controller/host/sim-aws-service-hosts.js.map +1 -0
- package/dist/serve/http/url/sim-aws-local-url.d.ts.map +1 -1
- package/dist/serve/http/url/sim-aws-local-url.js +1 -0
- package/dist/serve/http/url/sim-aws-local-url.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +9 -7
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +20 -19
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts +15 -0
- package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.js +22 -0
- package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts +9 -0
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js +13 -0
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts +15 -0
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.js +15 -0
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +6 -0
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.js +12 -0
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.d.ts +19 -0
- package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.js +42 -19
- package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
- package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.js +8 -0
- package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
- package/dist/service/cloudformation/bind/sim-cfn-exec-binding.type.d.ts +17 -0
- package/dist/service/cloudformation/bind/sim-cfn-exec-binding.type.d.ts.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.d.ts +9 -20
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.d.ts.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.js +16 -49
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.js.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.d.ts +1 -8
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.d.ts.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js +16 -45
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-validator.js +3 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-validator.js.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.d.ts +26 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.d.ts.map +1 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.js +58 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-image-repository-target.js.map +1 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.d.ts +28 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.d.ts.map +1 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.js +63 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-resource-cdk-path.js.map +1 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.d.ts +20 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.d.ts.map +1 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.js +34 -0
- package/dist/service/cloudformation/bind/validate/sim-cfn-resource-image-uri.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js +14 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.d.ts +26 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.js +25 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-idp-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.d.ts +31 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.js +33 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-domain-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-cfn-value-adapter.js +15 -0
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.d.ts +26 -0
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.js +25 -0
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-dnssec-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.d.ts +25 -0
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.js +24 -0
- package/dist/service/cloudformation/resource/cfn/route53/sim-route53-key-signing-key-cfn.js.map +1 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts +1 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +20 -9
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
- package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.d.ts +26 -0
- package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.d.ts.map +1 -0
- package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.js +34 -0
- package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.js.map +1 -0
- package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.d.ts +37 -0
- package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.d.ts.map +1 -0
- package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.js +67 -0
- package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-properties.js.map +1 -0
- package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.d.ts +26 -0
- package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.d.ts.map +1 -0
- package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.js +37 -0
- package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.js.map +1 -0
- package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.d.ts +40 -0
- package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.d.ts.map +1 -0
- package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.js +74 -0
- package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-properties.js.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.d.ts +29 -3
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.d.ts.map +1 -1
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.js +88 -26
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.js.map +1 -1
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts +5 -3
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts.map +1 -1
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js +15 -3
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +6 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +1 -3
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts +0 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -4
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +2 -3
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +3 -4
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts +5 -6
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
- package/dist/service/cognito/command/domain/sim-cognito-domain-commands.d.ts +62 -0
- package/dist/service/cognito/command/domain/sim-cognito-domain-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/domain/sim-cognito-domain-commands.js +87 -0
- package/dist/service/cognito/command/domain/sim-cognito-domain-commands.js.map +1 -0
- package/dist/service/cognito/command/domain/sim-cognito-domain-view.d.ts +19 -0
- package/dist/service/cognito/command/domain/sim-cognito-domain-view.d.ts.map +1 -0
- package/dist/service/cognito/command/domain/sim-cognito-domain-view.js +38 -0
- package/dist/service/cognito/command/domain/sim-cognito-domain-view.js.map +1 -0
- package/dist/service/cognito/command/domain/user-pool-domain.command.d.ts +72 -0
- package/dist/service/cognito/command/domain/user-pool-domain.command.d.ts.map +1 -0
- package/dist/service/cognito/command/domain/user-pool-domain.command.js +2 -0
- package/dist/service/cognito/command/domain/user-pool-domain.command.js.map +1 -0
- package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +69 -0
- package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/hosted-auth.command.js +2 -0
- package/dist/service/cognito/command/hosted/hosted-auth.command.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +38 -0
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +72 -0
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.d.ts +37 -0
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.js +123 -0
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.d.ts +16 -0
- package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.js +34 -0
- package/dist/service/cognito/command/hosted/sim-cognito-granted-scopes.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.d.ts +16 -0
- package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.js +32 -0
- package/dist/service/cognito/command/hosted/sim-cognito-granted-tokens.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.d.ts +49 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.js +98 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-client.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts +28 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +27 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.d.ts +22 -0
- package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.js +43 -0
- package/dist/service/cognito/command/hosted/sim-cognito-logout-endpoint.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.d.ts +47 -0
- package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js +92 -0
- package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.d.ts +33 -0
- package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.js +58 -0
- package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts +42 -0
- package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js +70 -0
- package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js.map +1 -0
- package/dist/service/cognito/command/idp/identity-provider.command.d.ts +118 -0
- package/dist/service/cognito/command/idp/identity-provider.command.d.ts.map +1 -0
- package/dist/service/cognito/command/idp/identity-provider.command.js +2 -0
- package/dist/service/cognito/command/idp/identity-provider.command.js.map +1 -0
- package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.d.ts +54 -0
- package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.js +94 -0
- package/dist/service/cognito/command/idp/sim-cognito-identity-provider-commands.js.map +1 -0
- package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.d.ts +22 -0
- package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.d.ts.map +1 -0
- package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.js +38 -0
- package/dist/service/cognito/command/idp/sim-cognito-identity-provider-view.js.map +1 -0
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts +3 -0
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.d.ts +8 -0
- package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.js +30 -1
- package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
- package/dist/service/cognito/error/sim-cognito-oauth.error.d.ts +42 -0
- package/dist/service/cognito/error/sim-cognito-oauth.error.d.ts.map +1 -0
- package/dist/service/cognito/error/sim-cognito-oauth.error.js +29 -0
- package/dist/service/cognito/error/sim-cognito-oauth.error.js.map +1 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts +10 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.js +12 -0
- package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
- package/dist/service/cognito/index.d.ts +15 -1
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +15 -1
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/registry/sim-cognito-domain-registry.d.ts +49 -0
- package/dist/service/cognito/registry/sim-cognito-domain-registry.d.ts.map +1 -0
- package/dist/service/cognito/registry/sim-cognito-domain-registry.js +83 -0
- package/dist/service/cognito/registry/sim-cognito-domain-registry.js.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +3 -2
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +5 -2
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.d.ts +7 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.d.ts.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.js +41 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-federation-routes.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-controller.d.ts +5 -0
- package/dist/service/cognito/serve/sim-cognito-controller.d.ts.map +1 -1
- package/dist/service/cognito/serve/sim-cognito-controller.js +12 -2
- package/dist/service/cognito/serve/sim-cognito-controller.js.map +1 -1
- package/dist/service/cognito/serve/sim-cognito-domain-controller.d.ts +48 -0
- package/dist/service/cognito/serve/sim-cognito-domain-controller.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-domain-controller.js +79 -0
- package/dist/service/cognito/serve/sim-cognito-domain-controller.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-domain-endpoints.d.ts +49 -0
- package/dist/service/cognito/serve/sim-cognito-domain-endpoints.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-domain-endpoints.js +91 -0
- package/dist/service/cognito/serve/sim-cognito-domain-endpoints.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-oauth-response.d.ts +57 -0
- package/dist/service/cognito/serve/sim-cognito-oauth-response.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-oauth-response.js +113 -0
- package/dist/service/cognito/serve/sim-cognito-oauth-response.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts +15 -4
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts.map +1 -1
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.js +28 -4
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.js.map +1 -1
- package/dist/service/cognito/serve/sim-cognito-token-request.d.ts +30 -0
- package/dist/service/cognito/serve/sim-cognito-token-request.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-token-request.js +66 -0
- package/dist/service/cognito/serve/sim-cognito-token-request.js.map +1 -0
- package/dist/service/cognito/sim-cognito-federation.d.ts +74 -0
- package/dist/service/cognito/sim-cognito-federation.d.ts.map +1 -0
- package/dist/service/cognito/sim-cognito-federation.js +99 -0
- package/dist/service/cognito/sim-cognito-federation.js.map +1 -0
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts +21 -2
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js +21 -4
- package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.d.ts +28 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.js +52 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.d.ts +57 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.js +75 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +8 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +13 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +10 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +6 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +47 -4
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +58 -4
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.d.ts +18 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.js +61 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-oauth-grants.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.d.ts +60 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.js +83 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-oauth-settings.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.d.ts +22 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.js +47 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-redirect-urls.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.d.ts +29 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.js +64 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-requested-oauth.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +4 -5
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js +4 -5
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +4 -4
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +4 -4
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
- package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.d.ts +30 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.js +37 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-custom-domain-config.js.map +1 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.d.ts +58 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.js +123 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-domain-name.js.map +1 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.d.ts +33 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.js +66 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-pool-domains.js.map +1 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.d.ts +58 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.js +70 -0
- package/dist/service/cognito/user-pool/domain/sim-cognito-user-pool-domain.js.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.d.ts +40 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.js +56 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-attribute-mapping.js.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.d.ts +37 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.js +28 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-external-user.js.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.d.ts +64 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.js +50 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-identity.js.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.d.ts +47 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.js +72 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.js.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.d.ts +37 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.js +55 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-settings.js.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.d.ts +39 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.js +58 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-identity-provider-store.js.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.d.ts +29 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.js +52 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-provider-details.js.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.d.ts +24 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.js +67 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-provider-type.js.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.d.ts +82 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.js +108 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +11 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +11 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts +5 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js +16 -5
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts +7 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js +14 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts +10 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +5 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +3 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.d.ts +9 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.js +39 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-standard-attributes.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js +2 -29
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts +15 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js +17 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts +14 -4
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js +13 -3
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +20 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user.js +29 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -1
- package/dist/service/ecs/cluster/sim-ecs-cluster-arn.d.ts +38 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster-arn.d.ts.map +1 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster-arn.js +54 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster-arn.js.map +1 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster-store.d.ts +36 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster-store.d.ts.map +1 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster-store.js +51 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster-store.js.map +1 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster.d.ts +95 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster.d.ts.map +1 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster.js +66 -0
- package/dist/service/ecs/cluster/sim-ecs-cluster.js.map +1 -0
- package/dist/service/ecs/command/authorize/sim-ecs-authorizer.d.ts +38 -0
- package/dist/service/ecs/command/authorize/sim-ecs-authorizer.d.ts.map +1 -0
- package/dist/service/ecs/command/authorize/sim-ecs-authorizer.js +61 -0
- package/dist/service/ecs/command/authorize/sim-ecs-authorizer.js.map +1 -0
- package/dist/service/ecs/command/create-cluster/create-cluster-factory.d.ts +30 -0
- package/dist/service/ecs/command/create-cluster/create-cluster-factory.d.ts.map +1 -0
- package/dist/service/ecs/command/create-cluster/create-cluster-factory.js +46 -0
- package/dist/service/ecs/command/create-cluster/create-cluster-factory.js.map +1 -0
- package/dist/service/ecs/command/create-cluster/create-cluster.command.d.ts +28 -0
- package/dist/service/ecs/command/create-cluster/create-cluster.command.d.ts.map +1 -0
- package/dist/service/ecs/command/create-cluster/create-cluster.command.js +2 -0
- package/dist/service/ecs/command/create-cluster/create-cluster.command.js.map +1 -0
- package/dist/service/ecs/command/create-cluster/create-cluster.handler.d.ts +23 -0
- package/dist/service/ecs/command/create-cluster/create-cluster.handler.d.ts.map +1 -0
- package/dist/service/ecs/command/create-cluster/create-cluster.handler.js +47 -0
- package/dist/service/ecs/command/create-cluster/create-cluster.handler.js.map +1 -0
- package/dist/service/ecs/command/delete-cluster/delete-cluster.command.d.ts +24 -0
- package/dist/service/ecs/command/delete-cluster/delete-cluster.command.d.ts.map +1 -0
- package/dist/service/ecs/command/delete-cluster/delete-cluster.command.js +2 -0
- package/dist/service/ecs/command/delete-cluster/delete-cluster.command.js.map +1 -0
- package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.d.ts +34 -0
- package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.d.ts.map +1 -0
- package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.js +70 -0
- package/dist/service/ecs/command/delete-cluster/delete-cluster.handler.js.map +1 -0
- package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.d.ts +27 -0
- package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.d.ts.map +1 -0
- package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.js +2 -0
- package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.command.js.map +1 -0
- package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.d.ts +30 -0
- package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.d.ts.map +1 -0
- package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.js +51 -0
- package/dist/service/ecs/command/deregister-task-definition/deregister-task-definition.handler.js.map +1 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.d.ts +10 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.d.ts.map +1 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.js +35 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters-includes.js.map +1 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters.command.d.ts +39 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters.command.d.ts.map +1 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters.command.js +2 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters.command.js.map +1 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.d.ts +19 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.d.ts.map +1 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.js +31 -0
- package/dist/service/ecs/command/describe-clusters/describe-clusters.handler.js.map +1 -0
- package/dist/service/ecs/command/describe-clusters/described-cluster.d.ts +42 -0
- package/dist/service/ecs/command/describe-clusters/described-cluster.d.ts.map +1 -0
- package/dist/service/ecs/command/describe-clusters/described-cluster.js +46 -0
- package/dist/service/ecs/command/describe-clusters/described-cluster.js.map +1 -0
- package/dist/service/ecs/command/describe-clusters/described-clusters.d.ts +28 -0
- package/dist/service/ecs/command/describe-clusters/described-clusters.d.ts.map +1 -0
- package/dist/service/ecs/command/describe-clusters/described-clusters.js +36 -0
- package/dist/service/ecs/command/describe-clusters/described-clusters.js.map +1 -0
- package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.d.ts +29 -0
- package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.d.ts.map +1 -0
- package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.js +2 -0
- package/dist/service/ecs/command/describe-task-definition/describe-task-definition.command.js.map +1 -0
- package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.d.ts +32 -0
- package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.d.ts.map +1 -0
- package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.js +56 -0
- package/dist/service/ecs/command/describe-task-definition/describe-task-definition.handler.js.map +1 -0
- package/dist/service/ecs/command/list-clusters/list-clusters.command.d.ts +26 -0
- package/dist/service/ecs/command/list-clusters/list-clusters.command.d.ts.map +1 -0
- package/dist/service/ecs/command/list-clusters/list-clusters.command.js +2 -0
- package/dist/service/ecs/command/list-clusters/list-clusters.command.js.map +1 -0
- package/dist/service/ecs/command/list-clusters/list-clusters.handler.d.ts +22 -0
- package/dist/service/ecs/command/list-clusters/list-clusters.handler.d.ts.map +1 -0
- package/dist/service/ecs/command/list-clusters/list-clusters.handler.js +33 -0
- package/dist/service/ecs/command/list-clusters/list-clusters.handler.js.map +1 -0
- package/dist/service/ecs/command/list-task-definition-families/family-status-filter.d.ts +25 -0
- package/dist/service/ecs/command/list-task-definition-families/family-status-filter.d.ts.map +1 -0
- package/dist/service/ecs/command/list-task-definition-families/family-status-filter.js +55 -0
- package/dist/service/ecs/command/list-task-definition-families/family-status-filter.js.map +1 -0
- package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.d.ts +27 -0
- package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.d.ts.map +1 -0
- package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.js +2 -0
- package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.command.js.map +1 -0
- package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.d.ts +22 -0
- package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.d.ts.map +1 -0
- package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.js +42 -0
- package/dist/service/ecs/command/list-task-definition-families/list-task-definition-families.handler.js.map +1 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.d.ts +23 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.d.ts.map +1 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.js +56 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions-filter.js.map +1 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.d.ts +29 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.d.ts.map +1 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.js +2 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions.command.js.map +1 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.d.ts +23 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.d.ts.map +1 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.js +44 -0
- package/dist/service/ecs/command/list-task-definitions/list-task-definitions.handler.js.map +1 -0
- package/dist/service/ecs/command/register-task-definition/register-task-definition.command.d.ts +33 -0
- package/dist/service/ecs/command/register-task-definition/register-task-definition.command.d.ts.map +1 -0
- package/dist/service/ecs/command/register-task-definition/register-task-definition.command.js +2 -0
- package/dist/service/ecs/command/register-task-definition/register-task-definition.command.js.map +1 -0
- package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.d.ts +28 -0
- package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.d.ts.map +1 -0
- package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.js +70 -0
- package/dist/service/ecs/command/register-task-definition/register-task-definition.handler.js.map +1 -0
- package/dist/service/ecs/command/sim-ecs-command-context.d.ts +35 -0
- package/dist/service/ecs/command/sim-ecs-command-context.d.ts.map +1 -0
- package/dist/service/ecs/command/sim-ecs-command-context.js +2 -0
- package/dist/service/ecs/command/sim-ecs-command-context.js.map +1 -0
- package/dist/service/ecs/command/sim-ecs-command-handler.d.ts +35 -0
- package/dist/service/ecs/command/sim-ecs-command-handler.d.ts.map +1 -0
- package/dist/service/ecs/command/sim-ecs-command-handler.js +38 -0
- package/dist/service/ecs/command/sim-ecs-command-handler.js.map +1 -0
- package/dist/service/ecs/command/sim-ecs-command.types.d.ts +13 -0
- package/dist/service/ecs/command/sim-ecs-command.types.d.ts.map +1 -0
- package/dist/service/ecs/command/sim-ecs-command.types.js +2 -0
- package/dist/service/ecs/command/sim-ecs-command.types.js.map +1 -0
- package/dist/service/ecs/command/sim-ecs-page.d.ts +22 -0
- package/dist/service/ecs/command/sim-ecs-page.d.ts.map +1 -0
- package/dist/service/ecs/command/sim-ecs-page.js +60 -0
- package/dist/service/ecs/command/sim-ecs-page.js.map +1 -0
- package/dist/service/ecs/command/sim-ecs-request-options.d.ts +14 -0
- package/dist/service/ecs/command/sim-ecs-request-options.d.ts.map +1 -0
- package/dist/service/ecs/command/sim-ecs-request-options.js +2 -0
- package/dist/service/ecs/command/sim-ecs-request-options.js.map +1 -0
- package/dist/service/ecs/command/sim-ecs-unsimulated-input.d.ts +18 -0
- package/dist/service/ecs/command/sim-ecs-unsimulated-input.d.ts.map +1 -0
- package/dist/service/ecs/command/sim-ecs-unsimulated-input.js +29 -0
- package/dist/service/ecs/command/sim-ecs-unsimulated-input.js.map +1 -0
- package/dist/service/ecs/error/sim-ecs.error.d.ts +45 -0
- package/dist/service/ecs/error/sim-ecs.error.d.ts.map +1 -0
- package/dist/service/ecs/error/sim-ecs.error.js +50 -0
- package/dist/service/ecs/error/sim-ecs.error.js.map +1 -0
- package/dist/service/ecs/index.d.ts +21 -0
- package/dist/service/ecs/index.d.ts.map +1 -0
- package/dist/service/ecs/index.js +17 -0
- package/dist/service/ecs/index.js.map +1 -0
- package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.d.ts +18 -0
- package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.d.ts.map +1 -0
- package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.js +60 -0
- package/dist/service/ecs/sdk/sim-ecs-sdk-command-router.js.map +1 -0
- package/dist/service/ecs/sim-ecs-arn.d.ts +26 -0
- package/dist/service/ecs/sim-ecs-arn.d.ts.map +1 -0
- package/dist/service/ecs/sim-ecs-arn.js +33 -0
- package/dist/service/ecs/sim-ecs-arn.js.map +1 -0
- package/dist/service/ecs/sim-ecs-name.d.ts +9 -0
- package/dist/service/ecs/sim-ecs-name.d.ts.map +1 -0
- package/dist/service/ecs/sim-ecs-name.js +26 -0
- package/dist/service/ecs/sim-ecs-name.js.map +1 -0
- package/dist/service/ecs/sim-ecs.d.ts +78 -0
- package/dist/service/ecs/sim-ecs.d.ts.map +1 -0
- package/dist/service/ecs/sim-ecs.js +133 -0
- package/dist/service/ecs/sim-ecs.js.map +1 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.d.ts +65 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.js +50 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-definition.js.map +1 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.d.ts +20 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.js +40 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-definitions.js.map +1 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.d.ts +87 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.js +2 -0
- package/dist/service/ecs/task-definition/container/sim-ecs-container-parts.js.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.d.ts +27 -0
- package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.js +33 -0
- package/dist/service/ecs/task-definition/sim-ecs-registered-task-definition.factory.js.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.d.ts +19 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.js +22 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-arn.js.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.d.ts +46 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.js +26 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-detail.js.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.d.ts +42 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.js +55 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-family.js.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.d.ts +33 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.js +75 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-id.js.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.d.ts +71 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.js +2 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-parts.js.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.d.ts +57 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.js +86 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-settings.js.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.d.ts +36 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.js +64 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition-store.js.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition.d.ts +54 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition.d.ts.map +1 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition.js +67 -0
- package/dist/service/ecs/task-definition/sim-ecs-task-definition.js.map +1 -0
- package/dist/service/elbv2/action/sim-elbv2-action-targets.d.ts +19 -0
- package/dist/service/elbv2/action/sim-elbv2-action-targets.d.ts.map +1 -0
- package/dist/service/elbv2/action/sim-elbv2-action-targets.js +25 -0
- package/dist/service/elbv2/action/sim-elbv2-action-targets.js.map +1 -0
- package/dist/service/elbv2/action/sim-elbv2-action.d.ts +38 -0
- package/dist/service/elbv2/action/sim-elbv2-action.d.ts.map +1 -0
- package/dist/service/elbv2/action/sim-elbv2-action.js +138 -0
- package/dist/service/elbv2/action/sim-elbv2-action.js.map +1 -0
- package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.d.ts +34 -0
- package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.d.ts.map +1 -0
- package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.js +56 -0
- package/dist/service/elbv2/command/authorize/sim-elbv2-authorizer.js.map +1 -0
- package/dist/service/elbv2/command/listener/create-listener.handler.d.ts +27 -0
- package/dist/service/elbv2/command/listener/create-listener.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/listener/create-listener.handler.js +55 -0
- package/dist/service/elbv2/command/listener/create-listener.handler.js.map +1 -0
- package/dist/service/elbv2/command/listener/delete-listener.handler.d.ts +20 -0
- package/dist/service/elbv2/command/listener/delete-listener.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/listener/delete-listener.handler.js +28 -0
- package/dist/service/elbv2/command/listener/delete-listener.handler.js.map +1 -0
- package/dist/service/elbv2/command/listener/describe-listeners.handler.d.ts +25 -0
- package/dist/service/elbv2/command/listener/describe-listeners.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/listener/describe-listeners.handler.js +52 -0
- package/dist/service/elbv2/command/listener/describe-listeners.handler.js.map +1 -0
- package/dist/service/elbv2/command/listener/listener.command.d.ts +96 -0
- package/dist/service/elbv2/command/listener/listener.command.d.ts.map +1 -0
- package/dist/service/elbv2/command/listener/listener.command.js +2 -0
- package/dist/service/elbv2/command/listener/listener.command.js.map +1 -0
- package/dist/service/elbv2/command/listener/modify-listener.handler.d.ts +28 -0
- package/dist/service/elbv2/command/listener/modify-listener.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/listener/modify-listener.handler.js +54 -0
- package/dist/service/elbv2/command/listener/modify-listener.handler.js.map +1 -0
- package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.d.ts +14 -0
- package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.d.ts.map +1 -0
- package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.js +29 -0
- package/dist/service/elbv2/command/load-balancer/create-load-balancer-validator.js.map +1 -0
- package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.d.ts +27 -0
- package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.js +48 -0
- package/dist/service/elbv2/command/load-balancer/create-load-balancer.handler.js.map +1 -0
- package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.d.ts +19 -0
- package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.js +27 -0
- package/dist/service/elbv2/command/load-balancer/delete-load-balancer.handler.js.map +1 -0
- package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.d.ts +25 -0
- package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.js +48 -0
- package/dist/service/elbv2/command/load-balancer/describe-load-balancers.handler.js.map +1 -0
- package/dist/service/elbv2/command/load-balancer/load-balancer.command.d.ts +77 -0
- package/dist/service/elbv2/command/load-balancer/load-balancer.command.d.ts.map +1 -0
- package/dist/service/elbv2/command/load-balancer/load-balancer.command.js +2 -0
- package/dist/service/elbv2/command/load-balancer/load-balancer.command.js.map +1 -0
- package/dist/service/elbv2/command/rule/create-rule.handler.d.ts +27 -0
- package/dist/service/elbv2/command/rule/create-rule.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/rule/create-rule.handler.js +51 -0
- package/dist/service/elbv2/command/rule/create-rule.handler.js.map +1 -0
- package/dist/service/elbv2/command/rule/delete-rule.handler.d.ts +16 -0
- package/dist/service/elbv2/command/rule/delete-rule.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/rule/delete-rule.handler.js +24 -0
- package/dist/service/elbv2/command/rule/delete-rule.handler.js.map +1 -0
- package/dist/service/elbv2/command/rule/describe-rules.handler.d.ts +29 -0
- package/dist/service/elbv2/command/rule/describe-rules.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/rule/describe-rules.handler.js +60 -0
- package/dist/service/elbv2/command/rule/describe-rules.handler.js.map +1 -0
- package/dist/service/elbv2/command/rule/modify-rule.handler.d.ts +28 -0
- package/dist/service/elbv2/command/rule/modify-rule.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/rule/modify-rule.handler.js +48 -0
- package/dist/service/elbv2/command/rule/modify-rule.handler.js.map +1 -0
- package/dist/service/elbv2/command/rule/rule-condition.command.d.ts +45 -0
- package/dist/service/elbv2/command/rule/rule-condition.command.d.ts.map +1 -0
- package/dist/service/elbv2/command/rule/rule-condition.command.js +2 -0
- package/dist/service/elbv2/command/rule/rule-condition.command.js.map +1 -0
- package/dist/service/elbv2/command/rule/rule.command.d.ts +122 -0
- package/dist/service/elbv2/command/rule/rule.command.d.ts.map +1 -0
- package/dist/service/elbv2/command/rule/rule.command.js +2 -0
- package/dist/service/elbv2/command/rule/rule.command.js.map +1 -0
- package/dist/service/elbv2/command/rule/set-rule-priorities.handler.d.ts +26 -0
- package/dist/service/elbv2/command/rule/set-rule-priorities.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/rule/set-rule-priorities.handler.js +62 -0
- package/dist/service/elbv2/command/rule/set-rule-priorities.handler.js.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-command-handler.d.ts +26 -0
- package/dist/service/elbv2/command/sim-elbv2-command-handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-command-handler.js +19 -0
- package/dist/service/elbv2/command/sim-elbv2-command-handler.js.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-command.types.d.ts +13 -0
- package/dist/service/elbv2/command/sim-elbv2-command.types.d.ts.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-command.types.js +9 -0
- package/dist/service/elbv2/command/sim-elbv2-command.types.js.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-commands.d.ts +60 -0
- package/dist/service/elbv2/command/sim-elbv2-commands.d.ts.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-commands.js +85 -0
- package/dist/service/elbv2/command/sim-elbv2-commands.js.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-page.d.ts +26 -0
- package/dist/service/elbv2/command/sim-elbv2-page.d.ts.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-page.js +67 -0
- package/dist/service/elbv2/command/sim-elbv2-page.js.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-request-options.d.ts +12 -0
- package/dist/service/elbv2/command/sim-elbv2-request-options.d.ts.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-request-options.js +2 -0
- package/dist/service/elbv2/command/sim-elbv2-request-options.js.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-shared.command.d.ts +91 -0
- package/dist/service/elbv2/command/sim-elbv2-shared.command.d.ts.map +1 -0
- package/dist/service/elbv2/command/sim-elbv2-shared.command.js +15 -0
- package/dist/service/elbv2/command/sim-elbv2-shared.command.js.map +1 -0
- package/dist/service/elbv2/command/target/deregister-targets.handler.d.ts +21 -0
- package/dist/service/elbv2/command/target/deregister-targets.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/target/deregister-targets.handler.js +32 -0
- package/dist/service/elbv2/command/target/deregister-targets.handler.js.map +1 -0
- package/dist/service/elbv2/command/target/describe-target-health.handler.d.ts +30 -0
- package/dist/service/elbv2/command/target/describe-target-health.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/target/describe-target-health.handler.js +57 -0
- package/dist/service/elbv2/command/target/describe-target-health.handler.js.map +1 -0
- package/dist/service/elbv2/command/target/register-targets.handler.d.ts +20 -0
- package/dist/service/elbv2/command/target/register-targets.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/target/register-targets.handler.js +31 -0
- package/dist/service/elbv2/command/target/register-targets.handler.js.map +1 -0
- package/dist/service/elbv2/command/target/target.command.d.ts +77 -0
- package/dist/service/elbv2/command/target/target.command.d.ts.map +1 -0
- package/dist/service/elbv2/command/target/target.command.js +2 -0
- package/dist/service/elbv2/command/target/target.command.js.map +1 -0
- package/dist/service/elbv2/command/target-group/create-target-group.handler.d.ts +30 -0
- package/dist/service/elbv2/command/target-group/create-target-group.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/target-group/create-target-group.handler.js +55 -0
- package/dist/service/elbv2/command/target-group/create-target-group.handler.js.map +1 -0
- package/dist/service/elbv2/command/target-group/delete-target-group.handler.d.ts +26 -0
- package/dist/service/elbv2/command/target-group/delete-target-group.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/target-group/delete-target-group.handler.js +34 -0
- package/dist/service/elbv2/command/target-group/delete-target-group.handler.js.map +1 -0
- package/dist/service/elbv2/command/target-group/describe-target-groups-selection.d.ts +33 -0
- package/dist/service/elbv2/command/target-group/describe-target-groups-selection.d.ts.map +1 -0
- package/dist/service/elbv2/command/target-group/describe-target-groups-selection.js +50 -0
- package/dist/service/elbv2/command/target-group/describe-target-groups-selection.js.map +1 -0
- package/dist/service/elbv2/command/target-group/describe-target-groups.handler.d.ts +28 -0
- package/dist/service/elbv2/command/target-group/describe-target-groups.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/target-group/describe-target-groups.handler.js +38 -0
- package/dist/service/elbv2/command/target-group/describe-target-groups.handler.js.map +1 -0
- package/dist/service/elbv2/command/target-group/modify-target-group.handler.d.ts +28 -0
- package/dist/service/elbv2/command/target-group/modify-target-group.handler.d.ts.map +1 -0
- package/dist/service/elbv2/command/target-group/modify-target-group.handler.js +40 -0
- package/dist/service/elbv2/command/target-group/modify-target-group.handler.js.map +1 -0
- package/dist/service/elbv2/command/target-group/target-group.command.d.ts +97 -0
- package/dist/service/elbv2/command/target-group/target-group.command.d.ts.map +1 -0
- package/dist/service/elbv2/command/target-group/target-group.command.js +2 -0
- package/dist/service/elbv2/command/target-group/target-group.command.js.map +1 -0
- package/dist/service/elbv2/error/sim-elbv2.error.d.ts +142 -0
- package/dist/service/elbv2/error/sim-elbv2.error.d.ts.map +1 -0
- package/dist/service/elbv2/error/sim-elbv2.error.js +169 -0
- package/dist/service/elbv2/error/sim-elbv2.error.js.map +1 -0
- package/dist/service/elbv2/index.d.ts +18 -0
- package/dist/service/elbv2/index.d.ts.map +1 -0
- package/dist/service/elbv2/index.js +11 -0
- package/dist/service/elbv2/index.js.map +1 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.d.ts +45 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.d.ts.map +1 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.js +69 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule-store.js.map +1 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.d.ts +81 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.d.ts.map +1 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.js +80 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-listener-rule.js.map +1 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.d.ts +35 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.d.ts.map +1 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.js +126 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-rule-condition.js.map +1 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.d.ts +9 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.d.ts.map +1 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.js +22 -0
- package/dist/service/elbv2/listener/rule/sim-elbv2-rule-priority.js.map +1 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener-security.d.ts +20 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener-security.d.ts.map +1 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener-security.js +33 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener-security.js.map +1 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener-store.d.ts +46 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener-store.d.ts.map +1 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener-store.js +69 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener-store.js.map +1 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener.d.ts +74 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener.d.ts.map +1 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener.js +80 -0
- package/dist/service/elbv2/listener/sim-elbv2-listener.js.map +1 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.d.ts +34 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.d.ts.map +1 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.js +38 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-arn.js.map +1 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.d.ts +5 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.d.ts.map +1 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.js +21 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-name.js.map +1 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.d.ts +14 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.d.ts.map +1 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.js +20 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-scheme.js.map +1 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.d.ts +45 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.d.ts.map +1 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.js +73 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer-store.js.map +1 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.d.ts +62 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.d.ts.map +1 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.js +51 -0
- package/dist/service/elbv2/load-balancer/sim-elbv2-load-balancer.js.map +1 -0
- package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.d.ts +22 -0
- package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.d.ts.map +1 -0
- package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.js +104 -0
- package/dist/service/elbv2/sdk/sim-elbv2-sdk-command-router.js.map +1 -0
- package/dist/service/elbv2/sim-elbv2-protocol.d.ts +9 -0
- package/dist/service/elbv2/sim-elbv2-protocol.d.ts.map +1 -0
- package/dist/service/elbv2/sim-elbv2-protocol.js +44 -0
- package/dist/service/elbv2/sim-elbv2-protocol.js.map +1 -0
- package/dist/service/elbv2/sim-elbv2-resource-id.d.ts +19 -0
- package/dist/service/elbv2/sim-elbv2-resource-id.d.ts.map +1 -0
- package/dist/service/elbv2/sim-elbv2-resource-id.js +31 -0
- package/dist/service/elbv2/sim-elbv2-resource-id.js.map +1 -0
- package/dist/service/elbv2/sim-elbv2-resource-name.d.ts +14 -0
- package/dist/service/elbv2/sim-elbv2-resource-name.d.ts.map +1 -0
- package/dist/service/elbv2/sim-elbv2-resource-name.js +35 -0
- package/dist/service/elbv2/sim-elbv2-resource-name.js.map +1 -0
- package/dist/service/elbv2/sim-elbv2-stores.d.ts +34 -0
- package/dist/service/elbv2/sim-elbv2-stores.d.ts.map +1 -0
- package/dist/service/elbv2/sim-elbv2-stores.js +42 -0
- package/dist/service/elbv2/sim-elbv2-stores.js.map +1 -0
- package/dist/service/elbv2/sim-elbv2.d.ts +85 -0
- package/dist/service/elbv2/sim-elbv2.d.ts.map +1 -0
- package/dist/service/elbv2/sim-elbv2.fixture.d.ts +41 -0
- package/dist/service/elbv2/sim-elbv2.fixture.d.ts.map +1 -0
- package/dist/service/elbv2/sim-elbv2.fixture.js +79 -0
- package/dist/service/elbv2/sim-elbv2.fixture.js.map +1 -0
- package/dist/service/elbv2/sim-elbv2.js +128 -0
- package/dist/service/elbv2/sim-elbv2.js.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-health-check.d.ts +59 -0
- package/dist/service/elbv2/target-group/sim-elbv2-health-check.d.ts.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-health-check.js +73 -0
- package/dist/service/elbv2/target-group/sim-elbv2-health-check.js.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.d.ts +24 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.d.ts.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.js +18 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-endpoint.js.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.d.ts +8 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.d.ts.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.js +11 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-name.js.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.d.ts +46 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.d.ts.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.js +74 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-store.js.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.d.ts +24 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.d.ts.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.js +38 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group-usage.js.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group.d.ts +65 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group.d.ts.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group.js +73 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-group.js.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-set.d.ts +45 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-set.d.ts.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-set.js +66 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-set.js.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-type.d.ts +55 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-type.d.ts.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-type.js +114 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target-type.js.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target.d.ts +37 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target.d.ts.map +1 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target.js +47 -0
- package/dist/service/elbv2/target-group/sim-elbv2-target.js.map +1 -0
- package/dist/service/kms/command/key/sim-kms-key-commands.d.ts.map +1 -1
- package/dist/service/kms/command/key/sim-kms-key-commands.js +2 -1
- package/dist/service/kms/command/key/sim-kms-key-commands.js.map +1 -1
- package/dist/service/kms/command/key/sim-kms-key-type.d.ts +44 -6
- package/dist/service/kms/command/key/sim-kms-key-type.d.ts.map +1 -1
- package/dist/service/kms/command/key/sim-kms-key-type.js +83 -14
- package/dist/service/kms/command/key/sim-kms-key-type.js.map +1 -1
- package/dist/service/kms/command/sign/sign.command.d.ts +69 -0
- package/dist/service/kms/command/sign/sign.command.d.ts.map +1 -0
- package/dist/service/kms/command/sign/sign.command.js +2 -0
- package/dist/service/kms/command/sign/sign.command.js.map +1 -0
- package/dist/service/kms/command/sign/sim-kms-sign-commands.d.ts +40 -0
- package/dist/service/kms/command/sign/sim-kms-sign-commands.d.ts.map +1 -0
- package/dist/service/kms/command/sign/sim-kms-sign-commands.js +76 -0
- package/dist/service/kms/command/sign/sim-kms-sign-commands.js.map +1 -0
- package/dist/service/kms/command/sign/sim-kms-signed-message.d.ts +26 -0
- package/dist/service/kms/command/sign/sim-kms-signed-message.d.ts.map +1 -0
- package/dist/service/kms/command/sign/sim-kms-signed-message.js +62 -0
- package/dist/service/kms/command/sign/sim-kms-signed-message.js.map +1 -0
- package/dist/service/kms/command/sim-kms-command.types.d.ts +1 -0
- package/dist/service/kms/command/sim-kms-command.types.d.ts.map +1 -1
- package/dist/service/kms/error/sim-kms.error.d.ts +22 -0
- package/dist/service/kms/error/sim-kms.error.d.ts.map +1 -1
- package/dist/service/kms/error/sim-kms.error.js +26 -0
- package/dist/service/kms/error/sim-kms.error.js.map +1 -1
- package/dist/service/kms/index.d.ts +3 -1
- package/dist/service/kms/index.d.ts.map +1 -1
- package/dist/service/kms/index.js +3 -1
- package/dist/service/kms/index.js.map +1 -1
- package/dist/service/kms/key/sim-kms-key-factory.d.ts +6 -0
- package/dist/service/kms/key/sim-kms-key-factory.d.ts.map +1 -1
- package/dist/service/kms/key/sim-kms-key-factory.js +7 -2
- package/dist/service/kms/key/sim-kms-key-factory.js.map +1 -1
- package/dist/service/kms/key/sim-kms-key-material-factory.d.ts +18 -0
- package/dist/service/kms/key/sim-kms-key-material-factory.d.ts.map +1 -0
- package/dist/service/kms/key/sim-kms-key-material-factory.js +21 -0
- package/dist/service/kms/key/sim-kms-key-material-factory.js.map +1 -0
- package/dist/service/kms/key/sim-kms-key-material.d.ts +38 -18
- package/dist/service/kms/key/sim-kms-key-material.d.ts.map +1 -1
- package/dist/service/kms/key/sim-kms-key-material.js +43 -54
- package/dist/service/kms/key/sim-kms-key-material.js.map +1 -1
- package/dist/service/kms/key/sim-kms-key-metadata.d.ts +11 -25
- package/dist/service/kms/key/sim-kms-key-metadata.d.ts.map +1 -1
- package/dist/service/kms/key/sim-kms-key-metadata.js +19 -4
- package/dist/service/kms/key/sim-kms-key-metadata.js.map +1 -1
- package/dist/service/kms/key/sim-kms-key-metadata.type.d.ts +28 -0
- package/dist/service/kms/key/sim-kms-key-metadata.type.d.ts.map +1 -0
- package/dist/service/kms/key/sim-kms-key-metadata.type.js +2 -0
- package/dist/service/kms/key/sim-kms-key-metadata.type.js.map +1 -0
- package/dist/service/kms/key/sim-kms-key.d.ts +21 -0
- package/dist/service/kms/key/sim-kms-key.d.ts.map +1 -1
- package/dist/service/kms/key/sim-kms-key.js +30 -0
- package/dist/service/kms/key/sim-kms-key.js.map +1 -1
- package/dist/service/kms/key/sim-kms-signing-key-material.d.ts +38 -0
- package/dist/service/kms/key/sim-kms-signing-key-material.d.ts.map +1 -0
- package/dist/service/kms/key/sim-kms-signing-key-material.js +56 -0
- package/dist/service/kms/key/sim-kms-signing-key-material.js.map +1 -0
- package/dist/service/kms/key/sim-kms-symmetric-key-material.d.ts +38 -0
- package/dist/service/kms/key/sim-kms-symmetric-key-material.d.ts.map +1 -0
- package/dist/service/kms/key/sim-kms-symmetric-key-material.js +74 -0
- package/dist/service/kms/key/sim-kms-symmetric-key-material.js.map +1 -0
- package/dist/service/kms/key/spec/sim-kms-key-spec.d.ts +69 -0
- package/dist/service/kms/key/spec/sim-kms-key-spec.d.ts.map +1 -0
- package/dist/service/kms/key/spec/sim-kms-key-spec.js +72 -0
- package/dist/service/kms/key/spec/sim-kms-key-spec.js.map +1 -0
- package/dist/service/kms/key/spec/sim-kms-key-specs.d.ts +25 -0
- package/dist/service/kms/key/spec/sim-kms-key-specs.d.ts.map +1 -0
- package/dist/service/kms/key/spec/sim-kms-key-specs.js +90 -0
- package/dist/service/kms/key/spec/sim-kms-key-specs.js.map +1 -0
- package/dist/service/kms/key/spec/sim-kms-signing-algorithm.d.ts +31 -0
- package/dist/service/kms/key/spec/sim-kms-signing-algorithm.d.ts.map +1 -0
- package/dist/service/kms/key/spec/sim-kms-signing-algorithm.js +38 -0
- package/dist/service/kms/key/spec/sim-kms-signing-algorithm.js.map +1 -0
- package/dist/service/kms/registry/sim-kms-registry.d.ts +39 -0
- package/dist/service/kms/registry/sim-kms-registry.d.ts.map +1 -0
- package/dist/service/kms/registry/sim-kms-registry.js +40 -0
- package/dist/service/kms/registry/sim-kms-registry.js.map +1 -0
- package/dist/service/kms/sdk/sim-kms-sdk-command-router.d.ts.map +1 -1
- package/dist/service/kms/sdk/sim-kms-sdk-command-router.js +12 -0
- package/dist/service/kms/sdk/sim-kms-sdk-command-router.js.map +1 -1
- package/dist/service/kms/sim-kms-commands.d.ts +2 -0
- package/dist/service/kms/sim-kms-commands.d.ts.map +1 -1
- package/dist/service/kms/sim-kms-commands.js +3 -0
- package/dist/service/kms/sim-kms-commands.js.map +1 -1
- package/dist/service/kms/sim-kms.d.ts +12 -0
- package/dist/service/kms/sim-kms.d.ts.map +1 -1
- package/dist/service/kms/sim-kms.js +21 -0
- package/dist/service/kms/sim-kms.js.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.d.ts +2 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js +3 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.d.ts +27 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.d.ts.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.js +33 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-creation-skips.js.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.d.ts +13 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.js +8 -5
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-code-parser.js.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.d.ts +1 -2
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.js +8 -10
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.js.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts +2 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js +4 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.d.ts +41 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.d.ts.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.js +59 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-image-skip.js.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.d.ts +9 -5
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.js +9 -5
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-runtime-skip.js.map +1 -1
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.d.ts +12 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.d.ts.map +1 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.js +15 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-dnssec-properties.js.map +1 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.d.ts +33 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.d.ts.map +1 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.js +58 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.js.map +1 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.d.ts +30 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.d.ts.map +1 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.js +42 -0
- package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.js.map +1 -0
- package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.d.ts +9 -0
- package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.d.ts.map +1 -1
- package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.js +15 -0
- package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.js.map +1 -1
- package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.d.ts +2 -0
- package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.d.ts.map +1 -1
- package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.js +17 -1
- package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.js.map +1 -1
- package/dist/service/route53/command/change-resource-record-sets/change-resource-record-sets.handler.d.ts.map +1 -1
- package/dist/service/route53/command/change-resource-record-sets/change-resource-record-sets.handler.js +1 -1
- package/dist/service/route53/command/change-resource-record-sets/change-resource-record-sets.handler.js.map +1 -1
- package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.d.ts +5 -1
- package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.d.ts.map +1 -1
- package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.js +9 -4
- package/dist/service/route53/command/change-resource-record-sets/schedule/schedule-change-resource-rec-sets.js.map +1 -1
- package/dist/service/route53/command/create-hosted-zone/create-hosted-zone.handler.d.ts.map +1 -1
- package/dist/service/route53/command/create-hosted-zone/create-hosted-zone.handler.js +4 -1
- package/dist/service/route53/command/create-hosted-zone/create-hosted-zone.handler.js.map +1 -1
- package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.d.ts +4 -0
- package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.d.ts.map +1 -1
- package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.js +5 -0
- package/dist/service/route53/command/delete-hosted-zone/delete-hosted-zone.handler.js.map +1 -1
- package/dist/service/route53/command/dnssec/dnssec.command.d.ts +78 -0
- package/dist/service/route53/command/dnssec/dnssec.command.d.ts.map +1 -0
- package/dist/service/route53/command/dnssec/dnssec.command.js +2 -0
- package/dist/service/route53/command/dnssec/dnssec.command.js.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.d.ts +24 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.d.ts.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.js +31 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-authorizer.js.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.d.ts +28 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.d.ts.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.js +30 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-commands.js.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.d.ts +38 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.d.ts.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.js +49 -0
- package/dist/service/route53/command/dnssec/sim-route53-dnssec-scope.js.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.d.ts +46 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.d.ts.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.js +80 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-commands.js.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-input.d.ts +20 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-input.d.ts.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-input.js +34 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-input.js.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.d.ts +32 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.d.ts.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.js +57 -0
- package/dist/service/route53/command/dnssec/sim-route53-ksk-kms-key.js.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.d.ts +30 -0
- package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.d.ts.map +1 -0
- package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.js +40 -0
- package/dist/service/route53/command/dnssec/sim-route53-zone-signing-commands.js.map +1 -0
- package/dist/service/route53/command/sim-route53-command.types.d.ts +14 -0
- package/dist/service/route53/command/sim-route53-command.types.d.ts.map +1 -0
- package/dist/service/route53/command/sim-route53-command.types.js +2 -0
- package/dist/service/route53/command/sim-route53-command.types.js.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.d.ts +17 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.d.ts.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.js +41 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey-rdata.js.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey-tag.d.ts +10 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey-tag.d.ts.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey-tag.js +26 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey-tag.js.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey.d.ts +36 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey.d.ts.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey.js +67 -0
- package/dist/service/route53/dnssec/sim-route53-dnskey.js.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.d.ts +18 -0
- package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.d.ts.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.js +18 -0
- package/dist/service/route53/dnssec/sim-route53-dnssec-algorithm.js.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-key-signing-key.d.ts +95 -0
- package/dist/service/route53/dnssec/sim-route53-key-signing-key.d.ts.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-key-signing-key.js +110 -0
- package/dist/service/route53/dnssec/sim-route53-key-signing-key.js.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-zone-dnssec.d.ts +75 -0
- package/dist/service/route53/dnssec/sim-route53-zone-dnssec.d.ts.map +1 -0
- package/dist/service/route53/dnssec/sim-route53-zone-dnssec.js +109 -0
- package/dist/service/route53/dnssec/sim-route53-zone-dnssec.js.map +1 -0
- package/dist/service/route53/error/sim-route53.error.d.ts +55 -0
- package/dist/service/route53/error/sim-route53.error.d.ts.map +1 -1
- package/dist/service/route53/error/sim-route53.error.js +67 -0
- package/dist/service/route53/error/sim-route53.error.js.map +1 -1
- package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.d.ts +16 -8
- package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.d.ts.map +1 -1
- package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.js +15 -11
- package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.js.map +1 -1
- package/dist/service/route53/index.d.ts +3 -0
- package/dist/service/route53/index.d.ts.map +1 -1
- package/dist/service/route53/index.js +3 -0
- package/dist/service/route53/index.js.map +1 -1
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +1 -0
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +1 -0
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
- package/dist/service/route53/resolve/sim-route53-resolver.d.ts +7 -0
- package/dist/service/route53/resolve/sim-route53-resolver.d.ts.map +1 -1
- package/dist/service/route53/resolve/sim-route53-resolver.js +12 -4
- package/dist/service/route53/resolve/sim-route53-resolver.js.map +1 -1
- package/dist/service/route53/sdk/sim-route53-sdk-command-router.d.ts.map +1 -1
- package/dist/service/route53/sdk/sim-route53-sdk-command-router.js +28 -0
- package/dist/service/route53/sdk/sim-route53-sdk-command-router.js.map +1 -1
- package/dist/service/route53/sim-route53-commands.d.ts +40 -0
- package/dist/service/route53/sim-route53-commands.d.ts.map +1 -0
- package/dist/service/route53/sim-route53-commands.js +66 -0
- package/dist/service/route53/sim-route53-commands.js.map +1 -0
- package/dist/service/route53/sim-route53-request-options.d.ts +8 -0
- package/dist/service/route53/sim-route53-request-options.d.ts.map +1 -0
- package/dist/service/route53/sim-route53-request-options.js +2 -0
- package/dist/service/route53/sim-route53-request-options.js.map +1 -0
- package/dist/service/route53/sim-route53.d.ts +52 -19
- package/dist/service/route53/sim-route53.d.ts.map +1 -1
- package/dist/service/route53/sim-route53.js +59 -49
- package/dist/service/route53/sim-route53.js.map +1 -1
- package/package.json +11 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.d.ts +0 -24
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.d.ts.map +0 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.js +0 -51
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-managed-login.js.map +0 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts +0 -42
- package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts.map +0 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js +0 -44
- package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SimAws } from "../../aws/sim-aws.js";
|
|
2
|
+
import { SimCognitoDomainController } from "./sim-cognito-domain-controller.js";
|
|
2
3
|
import { SimCognitoEndpointResponse } from "./sim-cognito-endpoint-response.js";
|
|
3
4
|
import { SimCognitoOpenIdConfiguration } from "./sim-cognito-openid-configuration.js";
|
|
4
5
|
/**
|
|
@@ -36,6 +37,10 @@ const readMethods = new Set(["GET", "HEAD"]);
|
|
|
36
37
|
* Cognito serves nothing at. Nothing here delivers a message, so this is where
|
|
37
38
|
* one is read during local development.
|
|
38
39
|
*
|
|
40
|
+
* A pool's hosted domain is served too, on its own hostname rather than on the
|
|
41
|
+
* regional endpoint, and `SimCognitoDomainController` answers those requests.
|
|
42
|
+
* That is where the OAuth endpoints of an authorization code grant live.
|
|
43
|
+
*
|
|
39
44
|
* The Cognito API itself is not served. An SDK client reaches the simulator
|
|
40
45
|
* through `SimSdk` rather than through an endpoint override.
|
|
41
46
|
*/
|
|
@@ -43,15 +48,20 @@ export class SimCognitoServiceController {
|
|
|
43
48
|
simAws;
|
|
44
49
|
openIdConfiguration = new SimCognitoOpenIdConfiguration();
|
|
45
50
|
response = new SimCognitoEndpointResponse();
|
|
51
|
+
domainController;
|
|
46
52
|
constructor(properties = {}) {
|
|
47
53
|
const { simAws = new SimAws() } = properties;
|
|
48
54
|
this.simAws = simAws;
|
|
55
|
+
this.domainController = new SimCognitoDomainController({ simAws });
|
|
49
56
|
}
|
|
50
57
|
/**
|
|
51
58
|
* Handle an HTTP request routed to a simulated Cognito regional endpoint.
|
|
52
59
|
*/
|
|
53
|
-
handleRequest(serviceRequest) {
|
|
54
|
-
|
|
60
|
+
async handleRequest(serviceRequest) {
|
|
61
|
+
// A request that reached a hosted domain's hostname names that domain,
|
|
62
|
+
// where one to the regional endpoint names no resource at all.
|
|
63
|
+
const domainResponse = await this.domainController.handleRequest(serviceRequest);
|
|
64
|
+
return domainResponse ?? this.respond(serviceRequest);
|
|
55
65
|
}
|
|
56
66
|
respond(serviceRequest) {
|
|
57
67
|
const { request } = serviceRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-controller.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-controller.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AAEtF;;GAEG;AACH,MAAM,gBAAgB,GAAG,aAAa,CAAC;AAEvC;;;;;;;GAOG;AACH,MAAM,eAAe,GAAG,UAAU,CAAC;AAEnC;;GAEG;AACH,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAAC,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAgB7C
|
|
1
|
+
{"version":3,"file":"sim-cognito-controller.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-controller.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { SimAwsServiceRequest } from "../../../serve/controller/sim-service-controller.js";
|
|
2
|
+
import type { SimAws } from "../../aws/sim-aws.js";
|
|
3
|
+
interface SimCognitoDomainControllerProperties {
|
|
4
|
+
readonly simAws: SimAws;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* The localhost HTTP side of a pool's hosted domain.
|
|
8
|
+
*
|
|
9
|
+
* These are the endpoints a browser and an application's own server reach, and
|
|
10
|
+
* they carry no AWS credentials at all: an authorization code grant is signed
|
|
11
|
+
* by nobody, in the same way `InitiateAuth` is. What authenticates the
|
|
12
|
+
* application is its app client secret, at the token endpoint.
|
|
13
|
+
*
|
|
14
|
+
* The pool's own scope answers each request, found from the domain rather than
|
|
15
|
+
* assumed to be the default one, because a domain names a pool that any
|
|
16
|
+
* Account and Region of the simulation could have created.
|
|
17
|
+
*/
|
|
18
|
+
export declare class SimCognitoDomainController {
|
|
19
|
+
private readonly simAws;
|
|
20
|
+
private readonly endpoints;
|
|
21
|
+
constructor(properties: SimCognitoDomainControllerProperties);
|
|
22
|
+
/**
|
|
23
|
+
* Handle a request that reached a hosted domain's hostname, or answer
|
|
24
|
+
* nothing for one that named no domain at all.
|
|
25
|
+
*
|
|
26
|
+
* A request to the regional endpoint names no resource, and that is what
|
|
27
|
+
* tells the two apart.
|
|
28
|
+
*/
|
|
29
|
+
handleRequest(serviceRequest: SimAwsServiceRequest): Promise<Response | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* The hosted domain a request arrived at, if it arrived at one.
|
|
32
|
+
*/
|
|
33
|
+
private servedDomain;
|
|
34
|
+
/**
|
|
35
|
+
* The pool a hosted domain belongs to.
|
|
36
|
+
*/
|
|
37
|
+
private pool;
|
|
38
|
+
/**
|
|
39
|
+
* The simulated Cognito scope that owns a pool.
|
|
40
|
+
*
|
|
41
|
+
* The Account comes from the pool's ARN and the Region from its id, and each
|
|
42
|
+
* scope's services are made once and kept, so this is the same service
|
|
43
|
+
* object that created the pool rather than another view of it.
|
|
44
|
+
*/
|
|
45
|
+
private cognitoFor;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=sim-cognito-domain-controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-domain-controller.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-domain-controller.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAEhG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAOnD,UAAU,oCAAoC;IAC5C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmC;IAE7D,YAAY,UAAU,EAAE,oCAAoC,EAE3D;IAED;;;;;;OAMG;IACG,aAAa,CACjB,cAAc,EAAE,oBAAoB,GACnC,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAgB/B;IAED;;OAEG;IACH,OAAO,CAAC,YAAY;IAcpB;;OAEG;IACH,OAAO,CAAC,IAAI;IAaZ;;;;;;OAMG;IACH,OAAO,CAAC,UAAU;CAMnB"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { assertDefined } from "../../../util/type-guard/defined.js";
|
|
2
|
+
import { simCognitoUserPoolRegionName } from "../user-pool/sim-cognito-user-pool-id.js";
|
|
3
|
+
import { SimCognitoDomainEndpoints } from "./sim-cognito-domain-endpoints.js";
|
|
4
|
+
/**
|
|
5
|
+
* The localhost HTTP side of a pool's hosted domain.
|
|
6
|
+
*
|
|
7
|
+
* These are the endpoints a browser and an application's own server reach, and
|
|
8
|
+
* they carry no AWS credentials at all: an authorization code grant is signed
|
|
9
|
+
* by nobody, in the same way `InitiateAuth` is. What authenticates the
|
|
10
|
+
* application is its app client secret, at the token endpoint.
|
|
11
|
+
*
|
|
12
|
+
* The pool's own scope answers each request, found from the domain rather than
|
|
13
|
+
* assumed to be the default one, because a domain names a pool that any
|
|
14
|
+
* Account and Region of the simulation could have created.
|
|
15
|
+
*/
|
|
16
|
+
export class SimCognitoDomainController {
|
|
17
|
+
simAws;
|
|
18
|
+
endpoints = new SimCognitoDomainEndpoints();
|
|
19
|
+
constructor(properties) {
|
|
20
|
+
this.simAws = properties.simAws;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Handle a request that reached a hosted domain's hostname, or answer
|
|
24
|
+
* nothing for one that named no domain at all.
|
|
25
|
+
*
|
|
26
|
+
* A request to the regional endpoint names no resource, and that is what
|
|
27
|
+
* tells the two apart.
|
|
28
|
+
*/
|
|
29
|
+
async handleRequest(serviceRequest) {
|
|
30
|
+
const domain = this.servedDomain(serviceRequest);
|
|
31
|
+
if (domain === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
const url = new URL(serviceRequest.request.url);
|
|
35
|
+
const pool = this.pool(domain);
|
|
36
|
+
return await this.endpoints.handleRequest({
|
|
37
|
+
pool,
|
|
38
|
+
cognito: this.cognitoFor(pool),
|
|
39
|
+
serviceRequest,
|
|
40
|
+
url,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The hosted domain a request arrived at, if it arrived at one.
|
|
45
|
+
*/
|
|
46
|
+
servedDomain(serviceRequest) {
|
|
47
|
+
const { resourceName } = serviceRequest.target;
|
|
48
|
+
if (resourceName === "") {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
return this.simAws
|
|
52
|
+
.cognitoIdentityProvider()
|
|
53
|
+
.findUserPoolDomainInAnyAccount(resourceName);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The pool a hosted domain belongs to.
|
|
57
|
+
*/
|
|
58
|
+
pool(domain) {
|
|
59
|
+
const pool = this.simAws
|
|
60
|
+
.cognitoIdentityProvider()
|
|
61
|
+
.findUserPoolInAnyAccount(domain.userPoolId);
|
|
62
|
+
assertDefined(pool, `sim Cognito user pool ${domain.userPoolId} for domain ${domain.value}`);
|
|
63
|
+
return pool;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The simulated Cognito scope that owns a pool.
|
|
67
|
+
*
|
|
68
|
+
* The Account comes from the pool's ARN and the Region from its id, and each
|
|
69
|
+
* scope's services are made once and kept, so this is the same service
|
|
70
|
+
* object that created the pool rather than another view of it.
|
|
71
|
+
*/
|
|
72
|
+
cognitoFor(pool) {
|
|
73
|
+
return this.simAws
|
|
74
|
+
.account(pool.arn.accountId)
|
|
75
|
+
.region(simCognitoUserPoolRegionName(pool.id))
|
|
76
|
+
.cognitoIdentityProvider();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=sim-cognito-domain-controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-domain-controller.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-domain-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAMpE,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AAExF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAM9E;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,0BAA0B;IACpB,MAAM,CAAS;IACf,SAAS,GAAG,IAAI,yBAAyB,EAAE,CAAC;IAE7D,YAAY,UAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAClC,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,aAAa,CACjB,cAAoC;QAEpC,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;QAEjD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAChD,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAE/B,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC;YACxC,IAAI;YACJ,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;YAC9B,cAAc;YACd,GAAG;SACJ,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACK,YAAY,CAClB,cAAoC;QAEpC,MAAM,EAAE,YAAY,EAAE,GAAG,cAAc,CAAC,MAAM,CAAC;QAE/C,IAAI,YAAY,KAAK,EAAE,EAAE,CAAC;YACxB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC,MAAM;aACf,uBAAuB,EAAE;aACzB,8BAA8B,CAAC,YAAY,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACK,IAAI,CAAC,MAAgC;QAC3C,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM;aACrB,uBAAuB,EAAE;aACzB,wBAAwB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAE/C,aAAa,CACX,IAAI,EACJ,yBAAyB,MAAM,CAAC,UAAU,eAAe,MAAM,CAAC,KAAK,EAAE,CACxE,CAAC;QAEF,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;;OAMG;IACK,UAAU,CAAC,IAAwB;QACzC,OAAO,IAAI,CAAC,MAAM;aACf,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC;aAC3B,MAAM,CAAC,4BAA4B,CAAC,IAAI,CAAC,EAAE,CAAkB,CAAC;aAC9D,uBAAuB,EAAE,CAAC;IAC/B,CAAC;CACF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { SimAwsServiceRequest } from "../../../serve/controller/sim-service-controller.js";
|
|
2
|
+
import type { SimCognitoIdentityProvider } from "../sim-cognito-identity-provider.js";
|
|
3
|
+
import type { SimCognitoUserPool } from "../user-pool/sim-cognito-user-pool.js";
|
|
4
|
+
/**
|
|
5
|
+
* One request to a hosted domain, and what answers it.
|
|
6
|
+
*/
|
|
7
|
+
export interface SimCognitoDomainRequest {
|
|
8
|
+
readonly pool: SimCognitoUserPool;
|
|
9
|
+
/** The simulated Cognito scope the pool belongs to. */
|
|
10
|
+
readonly cognito: SimCognitoIdentityProvider;
|
|
11
|
+
readonly serviceRequest: SimAwsServiceRequest;
|
|
12
|
+
readonly url: URL;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The three endpoints a pool's hosted domain serves.
|
|
16
|
+
*
|
|
17
|
+
* Each takes one HTTP method and one only, as real Cognito's do, and turns
|
|
18
|
+
* what the simulation answered into the redirect or the JSON body a browser or
|
|
19
|
+
* an application's own server reads.
|
|
20
|
+
*/
|
|
21
|
+
export declare class SimCognitoDomainEndpoints {
|
|
22
|
+
private readonly response;
|
|
23
|
+
private readonly tokenRequest;
|
|
24
|
+
/**
|
|
25
|
+
* Answer a request that reached the domain's hostname.
|
|
26
|
+
*/
|
|
27
|
+
handleRequest(request: SimCognitoDomainRequest): Promise<Response>;
|
|
28
|
+
/**
|
|
29
|
+
* Sign a user in through an identity provider and send the browser back to
|
|
30
|
+
* the application with a code.
|
|
31
|
+
*/
|
|
32
|
+
private authorize;
|
|
33
|
+
/**
|
|
34
|
+
* Exchange an authorization code or a refresh token for tokens.
|
|
35
|
+
*/
|
|
36
|
+
private token;
|
|
37
|
+
/**
|
|
38
|
+
* Send the browser to the application's sign-out page.
|
|
39
|
+
*/
|
|
40
|
+
private logout;
|
|
41
|
+
/**
|
|
42
|
+
* Answer a request that used the method its endpoint takes.
|
|
43
|
+
*
|
|
44
|
+
* Each endpoint takes one method and one only, as real Cognito's do, so what
|
|
45
|
+
* is left to say about any other is which one it was.
|
|
46
|
+
*/
|
|
47
|
+
private answered;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=sim-cognito-domain-endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-domain-endpoints.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-domain-endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAChG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAWhF;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAElC,uDAAuD;IACvD,QAAQ,CAAC,OAAO,EAAE,0BAA0B,CAAC;IAC7C,QAAQ,CAAC,cAAc,EAAE,oBAAoB,CAAC;IAC9C,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;CACnB;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAiC;IAC1D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAgC;IAE7D;;OAEG;IACG,aAAa,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAgBvE;IAED;;;OAGG;YACW,SAAS;IAkBvB;;OAEG;YACW,KAAK;IAenB;;OAEG;YACW,MAAM;IAcpB;;;;;OAKG;YACW,QAAQ;CAavB"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { SimCognitoOAuthResponse } from "./sim-cognito-oauth-response.js";
|
|
2
|
+
import { SimCognitoTokenRequest } from "./sim-cognito-token-request.js";
|
|
3
|
+
/**
|
|
4
|
+
* The paths a hosted domain serves.
|
|
5
|
+
*/
|
|
6
|
+
const authorizePath = "/oauth2/authorize";
|
|
7
|
+
const tokenPath = "/oauth2/token";
|
|
8
|
+
const logoutPath = "/logout";
|
|
9
|
+
/**
|
|
10
|
+
* The three endpoints a pool's hosted domain serves.
|
|
11
|
+
*
|
|
12
|
+
* Each takes one HTTP method and one only, as real Cognito's do, and turns
|
|
13
|
+
* what the simulation answered into the redirect or the JSON body a browser or
|
|
14
|
+
* an application's own server reads.
|
|
15
|
+
*/
|
|
16
|
+
export class SimCognitoDomainEndpoints {
|
|
17
|
+
response = new SimCognitoOAuthResponse();
|
|
18
|
+
tokenRequest = new SimCognitoTokenRequest();
|
|
19
|
+
/**
|
|
20
|
+
* Answer a request that reached the domain's hostname.
|
|
21
|
+
*/
|
|
22
|
+
async handleRequest(request) {
|
|
23
|
+
const { pathname } = request.url;
|
|
24
|
+
if (pathname === authorizePath) {
|
|
25
|
+
return await this.authorize(request);
|
|
26
|
+
}
|
|
27
|
+
if (pathname === tokenPath) {
|
|
28
|
+
return await this.token(request);
|
|
29
|
+
}
|
|
30
|
+
if (pathname === logoutPath) {
|
|
31
|
+
return await this.logout(request);
|
|
32
|
+
}
|
|
33
|
+
return this.response.noSuchEndpoint(pathname);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Sign a user in through an identity provider and send the browser back to
|
|
37
|
+
* the application with a code.
|
|
38
|
+
*/
|
|
39
|
+
async authorize(request) {
|
|
40
|
+
const parameters = Object.fromEntries(request.url.searchParams);
|
|
41
|
+
return await this.answered(request, "GET", async () => {
|
|
42
|
+
try {
|
|
43
|
+
return this.response.redirect(await request.cognito.hostedAuthorize(request.pool, parameters));
|
|
44
|
+
}
|
|
45
|
+
catch (error) {
|
|
46
|
+
return this.response.refusedRedirect(error, parameters["redirect_uri"], parameters["state"]);
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Exchange an authorization code or a refresh token for tokens.
|
|
52
|
+
*/
|
|
53
|
+
async token(request) {
|
|
54
|
+
return await this.answered(request, "POST", async () => {
|
|
55
|
+
try {
|
|
56
|
+
return this.response.tokens(await request.cognito.hostedToken(request.pool, this.tokenRequest.read(request.serviceRequest)));
|
|
57
|
+
}
|
|
58
|
+
catch (error) {
|
|
59
|
+
return this.response.refusedRequest(error);
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Send the browser to the application's sign-out page.
|
|
65
|
+
*/
|
|
66
|
+
async logout(request) {
|
|
67
|
+
const parameters = Object.fromEntries(request.url.searchParams);
|
|
68
|
+
return await this.answered(request, "GET", async () => {
|
|
69
|
+
try {
|
|
70
|
+
return this.response.redirect(await request.cognito.hostedSignOut(request.pool, parameters));
|
|
71
|
+
}
|
|
72
|
+
catch (error) {
|
|
73
|
+
return this.response.refusedRequest(error);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Answer a request that used the method its endpoint takes.
|
|
79
|
+
*
|
|
80
|
+
* Each endpoint takes one method and one only, as real Cognito's do, so what
|
|
81
|
+
* is left to say about any other is which one it was.
|
|
82
|
+
*/
|
|
83
|
+
async answered(request, method, answer) {
|
|
84
|
+
const requested = request.serviceRequest.request.method;
|
|
85
|
+
if (requested !== method) {
|
|
86
|
+
return this.response.notAllowed(requested, method);
|
|
87
|
+
}
|
|
88
|
+
return await answer();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=sim-cognito-domain-endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-domain-endpoints.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-domain-endpoints.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { SimCognitoHostedRedirect } from "../command/hosted/hosted-auth.command.js";
|
|
2
|
+
/**
|
|
3
|
+
* The responses a pool's hosted OAuth endpoints answer with.
|
|
4
|
+
*
|
|
5
|
+
* A hosted endpoint is answering a browser rather than an SDK client, so its
|
|
6
|
+
* successes are redirects and its failures are either a redirect carrying an
|
|
7
|
+
* error or a JSON body, which is the difference between an error the
|
|
8
|
+
* application can be told about and one only the person in front of the
|
|
9
|
+
* browser can see.
|
|
10
|
+
*/
|
|
11
|
+
export declare class SimCognitoOAuthResponse {
|
|
12
|
+
/**
|
|
13
|
+
* Read an error as an OAuth one, whatever it turned out to be.
|
|
14
|
+
*
|
|
15
|
+
* A refusal from further inside the simulation, such as an identity provider
|
|
16
|
+
* with nobody signed in at it, is a server error to OAuth and its own
|
|
17
|
+
* message to the reader, so the message is kept rather than replaced.
|
|
18
|
+
*/
|
|
19
|
+
private static oauthError;
|
|
20
|
+
private static describe;
|
|
21
|
+
/**
|
|
22
|
+
* Send the browser on to where an endpoint decided it goes.
|
|
23
|
+
*/
|
|
24
|
+
redirect(redirect: SimCognitoHostedRedirect): Response;
|
|
25
|
+
/**
|
|
26
|
+
* Answer a token request with the tokens it asked for.
|
|
27
|
+
*
|
|
28
|
+
* The `Access-Control-Allow-Origin` header is the one real Cognito sets on
|
|
29
|
+
* this endpoint, so a browser-based application completing a grant with PKCE
|
|
30
|
+
* can read the answer.
|
|
31
|
+
*/
|
|
32
|
+
tokens(body: object): Response;
|
|
33
|
+
/**
|
|
34
|
+
* Answer a refused request to the authorize or logout endpoint.
|
|
35
|
+
*
|
|
36
|
+
* An error is sent back to the application's own URL where the request has
|
|
37
|
+
* shown it knows one the app client registered, which is what real Cognito
|
|
38
|
+
* does. Anything else is answered in the browser, because there is nowhere
|
|
39
|
+
* trustworthy to send it.
|
|
40
|
+
*/
|
|
41
|
+
refusedRedirect(error: unknown, redirectUri: string | undefined, state: string | undefined): Response;
|
|
42
|
+
/**
|
|
43
|
+
* Answer a refused request in the shape the OAuth 2.0 specification gives an
|
|
44
|
+
* error, which is what the token endpoint answers with and what a client
|
|
45
|
+
* library reads.
|
|
46
|
+
*/
|
|
47
|
+
refusedRequest(error: unknown): Response;
|
|
48
|
+
/**
|
|
49
|
+
* Refuse a path the hosted domain serves nothing at.
|
|
50
|
+
*/
|
|
51
|
+
noSuchEndpoint(pathname: string): Response;
|
|
52
|
+
/**
|
|
53
|
+
* Refuse a method an endpoint does not answer.
|
|
54
|
+
*/
|
|
55
|
+
notAllowed(method: string, allowed: string): Response;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=sim-cognito-oauth-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-oauth-response.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-oauth-response.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAEzF;;;;;;;;GAQG;AACH,qBAAa,uBAAuB;IAClC;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,UAAU;IAYzB,OAAO,CAAC,MAAM,CAAC,QAAQ;IAQvB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,GAAG,QAAQ,CAKrD;IAED;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,CAQ7B;IAED;;;;;;;OAOG;IACH,eAAe,CACb,KAAK,EAAE,OAAO,EACd,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,QAAQ,CAoBV;IAED;;;;OAIG;IACH,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAOvC;IAED;;OAEG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAUzC;IAED;;OAEG;IACH,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ,CAQpD;CACF"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { isSimCognitoOAuthError, SimCognitoOAuthError, } from "../error/sim-cognito-oauth.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* The responses a pool's hosted OAuth endpoints answer with.
|
|
4
|
+
*
|
|
5
|
+
* A hosted endpoint is answering a browser rather than an SDK client, so its
|
|
6
|
+
* successes are redirects and its failures are either a redirect carrying an
|
|
7
|
+
* error or a JSON body, which is the difference between an error the
|
|
8
|
+
* application can be told about and one only the person in front of the
|
|
9
|
+
* browser can see.
|
|
10
|
+
*/
|
|
11
|
+
export class SimCognitoOAuthResponse {
|
|
12
|
+
/**
|
|
13
|
+
* Read an error as an OAuth one, whatever it turned out to be.
|
|
14
|
+
*
|
|
15
|
+
* A refusal from further inside the simulation, such as an identity provider
|
|
16
|
+
* with nobody signed in at it, is a server error to OAuth and its own
|
|
17
|
+
* message to the reader, so the message is kept rather than replaced.
|
|
18
|
+
*/
|
|
19
|
+
static oauthError(error) {
|
|
20
|
+
if (isSimCognitoOAuthError(error)) {
|
|
21
|
+
return error;
|
|
22
|
+
}
|
|
23
|
+
return new SimCognitoOAuthError({
|
|
24
|
+
code: "invalid_request",
|
|
25
|
+
description: this.describe(error),
|
|
26
|
+
redirectable: false,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
static describe(error) {
|
|
30
|
+
if (error instanceof Error) {
|
|
31
|
+
return error.message;
|
|
32
|
+
}
|
|
33
|
+
return "The request was refused";
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Send the browser on to where an endpoint decided it goes.
|
|
37
|
+
*/
|
|
38
|
+
redirect(redirect) {
|
|
39
|
+
return new Response(undefined, {
|
|
40
|
+
status: 302,
|
|
41
|
+
headers: { location: redirect.location },
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Answer a token request with the tokens it asked for.
|
|
46
|
+
*
|
|
47
|
+
* The `Access-Control-Allow-Origin` header is the one real Cognito sets on
|
|
48
|
+
* this endpoint, so a browser-based application completing a grant with PKCE
|
|
49
|
+
* can read the answer.
|
|
50
|
+
*/
|
|
51
|
+
tokens(body) {
|
|
52
|
+
return Response.json(body, {
|
|
53
|
+
status: 200,
|
|
54
|
+
headers: {
|
|
55
|
+
"cache-control": "no-store",
|
|
56
|
+
"access-control-allow-origin": "*",
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Answer a refused request to the authorize or logout endpoint.
|
|
62
|
+
*
|
|
63
|
+
* An error is sent back to the application's own URL where the request has
|
|
64
|
+
* shown it knows one the app client registered, which is what real Cognito
|
|
65
|
+
* does. Anything else is answered in the browser, because there is nowhere
|
|
66
|
+
* trustworthy to send it.
|
|
67
|
+
*/
|
|
68
|
+
refusedRedirect(error, redirectUri, state) {
|
|
69
|
+
const oauthError = SimCognitoOAuthResponse.oauthError(error);
|
|
70
|
+
if (redirectUri === undefined || !oauthError.redirectable) {
|
|
71
|
+
return this.refusedRequest(oauthError);
|
|
72
|
+
}
|
|
73
|
+
const location = new URL(redirectUri);
|
|
74
|
+
location.searchParams.set("error", oauthError.code);
|
|
75
|
+
location.searchParams.set("error_description", oauthError.description);
|
|
76
|
+
if (state !== undefined) {
|
|
77
|
+
location.searchParams.set("state", state);
|
|
78
|
+
}
|
|
79
|
+
return new Response(undefined, {
|
|
80
|
+
status: 302,
|
|
81
|
+
headers: { location: location.href },
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Answer a refused request in the shape the OAuth 2.0 specification gives an
|
|
86
|
+
* error, which is what the token endpoint answers with and what a client
|
|
87
|
+
* library reads.
|
|
88
|
+
*/
|
|
89
|
+
refusedRequest(error) {
|
|
90
|
+
const oauthError = SimCognitoOAuthResponse.oauthError(error);
|
|
91
|
+
return Response.json({ error: oauthError.code, error_description: oauthError.description }, { status: 400 });
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Refuse a path the hosted domain serves nothing at.
|
|
95
|
+
*/
|
|
96
|
+
noSuchEndpoint(pathname) {
|
|
97
|
+
return Response.json({
|
|
98
|
+
error: "invalid_request",
|
|
99
|
+
error_description: `A simulated user pool domain serves nothing at ${pathname}. It ` +
|
|
100
|
+
`serves /oauth2/authorize, /oauth2/token and /logout.`,
|
|
101
|
+
}, { status: 404 });
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Refuse a method an endpoint does not answer.
|
|
105
|
+
*/
|
|
106
|
+
notAllowed(method, allowed) {
|
|
107
|
+
return Response.json({
|
|
108
|
+
error: "invalid_request",
|
|
109
|
+
error_description: `This endpoint answers ${allowed}, not ${method}`,
|
|
110
|
+
}, { status: 405, headers: { allow: allowed } });
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=sim-cognito-oauth-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-oauth-response.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-oauth-response.ts"],"names":[],"mappings":"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"}
|
|
@@ -6,6 +6,9 @@ import type { SimCognitoUserPool } from "../user-pool/sim-cognito-user-pool.js";
|
|
|
6
6
|
export interface SimCognitoOpenIdConfigurationDocument {
|
|
7
7
|
readonly issuer: string;
|
|
8
8
|
readonly jwks_uri: string;
|
|
9
|
+
readonly authorization_endpoint?: string | undefined;
|
|
10
|
+
readonly token_endpoint?: string | undefined;
|
|
11
|
+
readonly end_session_endpoint?: string | undefined;
|
|
9
12
|
readonly id_token_signing_alg_values_supported: readonly string[];
|
|
10
13
|
readonly response_types_supported: readonly string[];
|
|
11
14
|
readonly scopes_supported: readonly string[];
|
|
@@ -22,15 +25,23 @@ export interface SimCognitoOpenIdConfigurationDocument {
|
|
|
22
25
|
* in `iss`, which is what a verifier builds from a pool id and checks against,
|
|
23
26
|
* so the two disagree here and agree on real Cognito.
|
|
24
27
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* that
|
|
28
|
+
* The OAuth endpoints are published once the pool has a domain, and left out
|
|
29
|
+
* until then, because until then they do not exist. They name the domain's own
|
|
30
|
+
* local hostname for the same reason the issuer names the local one: a client
|
|
31
|
+
* that discovers an endpoint has to be able to reach it.
|
|
32
|
+
*
|
|
33
|
+
* No `userinfo_endpoint` is published, because that endpoint is not
|
|
34
|
+
* simulated. A client discovering nothing there fails rather than calling an
|
|
35
|
+
* endpoint that would not answer.
|
|
29
36
|
*/
|
|
30
37
|
export declare class SimCognitoOpenIdConfiguration {
|
|
31
38
|
/**
|
|
32
39
|
* The discovery document for a pool, as served from an origin.
|
|
33
40
|
*/
|
|
34
41
|
document(pool: SimCognitoUserPool, origin: string): SimCognitoOpenIdConfigurationDocument;
|
|
42
|
+
/**
|
|
43
|
+
* The endpoints a pool's hosted domain serves, for a pool that has one.
|
|
44
|
+
*/
|
|
45
|
+
private hostedEndpoints;
|
|
35
46
|
}
|
|
36
47
|
//# sourceMappingURL=sim-cognito-openid-configuration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-openid-configuration.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-openid-configuration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-cognito-openid-configuration.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-openid-configuration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAEhF;;;GAGG;AACH,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrD,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,qCAAqC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClE,QAAQ,CAAC,wBAAwB,EAAE,SAAS,MAAM,EAAE,CAAC;IACrD,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,QAAQ,CAAC,uBAAuB,EAAE,SAAS,MAAM,EAAE,CAAC;IACpD,QAAQ,CAAC,qCAAqC,EAAE,SAAS,MAAM,EAAE,CAAC;CACnE;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,6BAA6B;IACxC;;OAEG;IACH,QAAQ,CACN,IAAI,EAAE,kBAAkB,EACxB,MAAM,EAAE,MAAM,GACb,qCAAqC,CAgBvC;IAED;;OAEG;IACH,OAAO,CAAC,eAAe;CAqBxB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SimAwsLocalUrl } from "../../../serve/http/url/sim-aws-local-url.js";
|
|
1
2
|
/**
|
|
2
3
|
* Builds the discovery document a simulated user pool publishes.
|
|
3
4
|
*
|
|
@@ -8,10 +9,14 @@
|
|
|
8
9
|
* in `iss`, which is what a verifier builds from a pool id and checks against,
|
|
9
10
|
* so the two disagree here and agree on real Cognito.
|
|
10
11
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* that
|
|
12
|
+
* The OAuth endpoints are published once the pool has a domain, and left out
|
|
13
|
+
* until then, because until then they do not exist. They name the domain's own
|
|
14
|
+
* local hostname for the same reason the issuer names the local one: a client
|
|
15
|
+
* that discovers an endpoint has to be able to reach it.
|
|
16
|
+
*
|
|
17
|
+
* No `userinfo_endpoint` is published, because that endpoint is not
|
|
18
|
+
* simulated. A client discovering nothing there fails rather than calling an
|
|
19
|
+
* endpoint that would not answer.
|
|
15
20
|
*/
|
|
16
21
|
export class SimCognitoOpenIdConfiguration {
|
|
17
22
|
/**
|
|
@@ -22,6 +27,7 @@ export class SimCognitoOpenIdConfiguration {
|
|
|
22
27
|
return {
|
|
23
28
|
issuer,
|
|
24
29
|
jwks_uri: `${issuer}/.well-known/jwks.json`,
|
|
30
|
+
...this.hostedEndpoints(pool, origin),
|
|
25
31
|
id_token_signing_alg_values_supported: ["RS256"],
|
|
26
32
|
response_types_supported: ["code", "token"],
|
|
27
33
|
scopes_supported: ["openid", "email", "phone", "profile"],
|
|
@@ -32,5 +38,23 @@ export class SimCognitoOpenIdConfiguration {
|
|
|
32
38
|
],
|
|
33
39
|
};
|
|
34
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* The endpoints a pool's hosted domain serves, for a pool that has one.
|
|
43
|
+
*/
|
|
44
|
+
hostedEndpoints(pool, origin) {
|
|
45
|
+
const domain = pool.auth.domain;
|
|
46
|
+
if (domain === undefined) {
|
|
47
|
+
return {};
|
|
48
|
+
}
|
|
49
|
+
const domainUrl = new SimAwsLocalUrl({
|
|
50
|
+
input: `https://${domain.hostname}/`,
|
|
51
|
+
port: new URL(origin).port,
|
|
52
|
+
}).toURL();
|
|
53
|
+
return {
|
|
54
|
+
authorization_endpoint: `${domainUrl.origin}/oauth2/authorize`,
|
|
55
|
+
token_endpoint: `${domainUrl.origin}/oauth2/token`,
|
|
56
|
+
end_session_endpoint: `${domainUrl.origin}/logout`,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
35
59
|
}
|
|
36
60
|
//# sourceMappingURL=sim-cognito-openid-configuration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-openid-configuration.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-openid-configuration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-cognito-openid-configuration.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-openid-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAoB9E;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,OAAO,6BAA6B;IACxC;;OAEG;IACH,QAAQ,CACN,IAAwB,EACxB,MAAc;QAEd,MAAM,MAAM,GAAG,GAAG,MAAM,IAAI,IAAI,CAAC,EAAE,EAAE,CAAC;QAEtC,OAAO;YACL,MAAM;YACN,QAAQ,EAAE,GAAG,MAAM,wBAAwB;YAC3C,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC;YACrC,qCAAqC,EAAE,CAAC,OAAO,CAAC;YAChD,wBAAwB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;YAC3C,gBAAgB,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;YACzD,uBAAuB,EAAE,CAAC,QAAQ,CAAC;YACnC,qCAAqC,EAAE;gBACrC,qBAAqB;gBACrB,oBAAoB;aACrB;SACF,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,eAAe,CACrB,IAAwB,EACxB,MAAc;QAEd,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;QAEhC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,cAAc,CAAC;YACnC,KAAK,EAAE,WAAW,MAAM,CAAC,QAAQ,GAAG;YACpC,IAAI,EAAE,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI;SAC3B,CAAC,CAAC,KAAK,EAAE,CAAC;QAEX,OAAO;YACL,sBAAsB,EAAE,GAAG,SAAS,CAAC,MAAM,mBAAmB;YAC9D,cAAc,EAAE,GAAG,SAAS,CAAC,MAAM,eAAe;YAClD,oBAAoB,EAAE,GAAG,SAAS,CAAC,MAAM,SAAS;SACnD,CAAC;IACJ,CAAC;CACF"}
|