@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
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SimAwsServiceRequest } from "../../../serve/controller/sim-service-controller.js";
|
|
2
|
+
import type { SimCognitoTokenInput } from "../command/hosted/hosted-auth.command.js";
|
|
3
|
+
/**
|
|
4
|
+
* Reads a `/oauth2/token` request into the fields the endpoint answers on.
|
|
5
|
+
*
|
|
6
|
+
* The body is form encoded, as the OAuth 2.0 specification requires, and the
|
|
7
|
+
* app client's id and secret arrive either in that body or in a basic
|
|
8
|
+
* authorization header. Both are read here so the endpoint itself does not
|
|
9
|
+
* have to care which the application used, which is what
|
|
10
|
+
* `client_secret_basic` and `client_secret_post` are.
|
|
11
|
+
*/
|
|
12
|
+
export declare class SimCognitoTokenRequest {
|
|
13
|
+
/**
|
|
14
|
+
* The fields a token request carries.
|
|
15
|
+
*/
|
|
16
|
+
read(serviceRequest: SimAwsServiceRequest): SimCognitoTokenInput;
|
|
17
|
+
/**
|
|
18
|
+
* The body as it arrived, which the serving layer buffered.
|
|
19
|
+
*/
|
|
20
|
+
private bodyText;
|
|
21
|
+
/**
|
|
22
|
+
* The app client id and secret from a basic authorization header.
|
|
23
|
+
*
|
|
24
|
+
* The header wins over the body where a request carries both, because it is
|
|
25
|
+
* the more specific of the two: an application that signed its request has
|
|
26
|
+
* said which client it is.
|
|
27
|
+
*/
|
|
28
|
+
private basicCredentials;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=sim-cognito-token-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-token-request.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-token-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAChG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAarF;;;;;;;;GAQG;AACH,qBAAa,sBAAsB;IACjC;;OAEG;IACH,IAAI,CAAC,cAAc,EAAE,oBAAoB,GAAG,oBAAoB,CAS/D;IAED;;OAEG;IACH,OAAO,CAAC,QAAQ;IAQhB;;;;;;OAMG;IACH,OAAO,CAAC,gBAAgB;CAsBzB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The scheme the token endpoint's client authentication header uses.
|
|
3
|
+
*
|
|
4
|
+
* The scheme name is matched without regard to case, as HTTP authentication
|
|
5
|
+
* scheme names are. The credentials are the base64 of `client_id:client_secret`
|
|
6
|
+
* as Cognito's own documentation writes them, rather than the form encoded
|
|
7
|
+
* pair the OAuth specification describes, because an app client's id and
|
|
8
|
+
* secret hold nothing that either encoding would change.
|
|
9
|
+
*/
|
|
10
|
+
const basicScheme = /^basic (?<credentials>.+)$/iu;
|
|
11
|
+
/**
|
|
12
|
+
* Reads a `/oauth2/token` request into the fields the endpoint answers on.
|
|
13
|
+
*
|
|
14
|
+
* The body is form encoded, as the OAuth 2.0 specification requires, and the
|
|
15
|
+
* app client's id and secret arrive either in that body or in a basic
|
|
16
|
+
* authorization header. Both are read here so the endpoint itself does not
|
|
17
|
+
* have to care which the application used, which is what
|
|
18
|
+
* `client_secret_basic` and `client_secret_post` are.
|
|
19
|
+
*/
|
|
20
|
+
export class SimCognitoTokenRequest {
|
|
21
|
+
/**
|
|
22
|
+
* The fields a token request carries.
|
|
23
|
+
*/
|
|
24
|
+
read(serviceRequest) {
|
|
25
|
+
const body = new URLSearchParams(this.bodyText(serviceRequest));
|
|
26
|
+
const fields = Object.fromEntries(body);
|
|
27
|
+
const basic = this.basicCredentials(serviceRequest);
|
|
28
|
+
return {
|
|
29
|
+
...fields,
|
|
30
|
+
...basic,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The body as it arrived, which the serving layer buffered.
|
|
35
|
+
*/
|
|
36
|
+
bodyText(serviceRequest) {
|
|
37
|
+
if (serviceRequest.body === undefined) {
|
|
38
|
+
return "";
|
|
39
|
+
}
|
|
40
|
+
return Buffer.from(serviceRequest.body).toString("utf8");
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The app client id and secret from a basic authorization header.
|
|
44
|
+
*
|
|
45
|
+
* The header wins over the body where a request carries both, because it is
|
|
46
|
+
* the more specific of the two: an application that signed its request has
|
|
47
|
+
* said which client it is.
|
|
48
|
+
*/
|
|
49
|
+
basicCredentials(serviceRequest) {
|
|
50
|
+
const header = serviceRequest.request.headers.get("authorization") ?? "";
|
|
51
|
+
const credentials = basicScheme.exec(header)?.groups?.["credentials"];
|
|
52
|
+
if (credentials === undefined) {
|
|
53
|
+
return {};
|
|
54
|
+
}
|
|
55
|
+
const decoded = Buffer.from(credentials, "base64").toString("utf8");
|
|
56
|
+
const separator = decoded.indexOf(":");
|
|
57
|
+
if (separator === -1) {
|
|
58
|
+
return {};
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
client_id: decoded.slice(0, separator),
|
|
62
|
+
client_secret: decoded.slice(separator + 1),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=sim-cognito-token-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-token-request.js","sourceRoot":"","sources":["../../../../src/service/cognito/serve/sim-cognito-token-request.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,MAAM,WAAW,GAAG,8BAA8B,CAAC;AAEnD;;;;;;;;GAQG;AACH,MAAM,OAAO,sBAAsB;IACjC;;OAEG;IACH,IAAI,CAAC,cAAoC;QACvC,MAAM,IAAI,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACxC,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;QAEpD,OAAO;YACL,GAAG,MAAM;YACT,GAAG,KAAK;SACT,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,QAAQ,CAAC,cAAoC;QACnD,IAAI,cAAc,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YACtC,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;OAMG;IACK,gBAAgB,CACtB,cAAoC;QAEpC,MAAM,MAAM,GAAG,cAAc,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC;QACzE,MAAM,WAAW,GAAG,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,aAAa,CAAC,CAAC;QAEtE,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACpE,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEvC,IAAI,SAAS,KAAK,CAAC,CAAC,EAAE,CAAC;YACrB,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO;YACL,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC;YACtC,aAAa,EAAE,OAAO,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC;SAC5C,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../util/background/background.js";
|
|
2
|
+
import type * as simCognitoCommands from "./command/sim-cognito-command.types.js";
|
|
3
|
+
import type { SimCognitoCommands } from "./command/sim-cognito-commands.js";
|
|
4
|
+
import type { SimCognitoAuthorizeInput, SimCognitoHostedRedirect, SimCognitoLogoutInput, SimCognitoTokenInput, SimCognitoTokenOutput } from "./command/hosted/hosted-auth.command.js";
|
|
5
|
+
import { SimCognitoUserDirectory, type SimCognitoIdentityProviderRequestOptions } from "./sim-cognito-user-directory.js";
|
|
6
|
+
import type { SimCognitoUserPool } from "./user-pool/sim-cognito-user-pool.js";
|
|
7
|
+
export type { SimCognitoIdentityProviderRequestOptions } from "./sim-cognito-authentication.js";
|
|
8
|
+
interface SimCognitoFederationProperties {
|
|
9
|
+
readonly commands: SimCognitoCommands;
|
|
10
|
+
readonly background: BackgroundScheduler;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The federated half of simulated Cognito: the domain a pool is signed in at,
|
|
14
|
+
* the external identity providers it federates to, and the OAuth endpoints
|
|
15
|
+
* that domain serves.
|
|
16
|
+
*
|
|
17
|
+
* The domain and provider operations are ordinary SDK commands.
|
|
18
|
+
* `hostedAuthorize`, `hostedToken` and `hostedSignOut` are not: they are the
|
|
19
|
+
* three endpoints a browser and an application's own server reach over HTTP,
|
|
20
|
+
* and the serving layer is what turns a request into one of them. They are
|
|
21
|
+
* here because they belong to this service's state, and because a test that
|
|
22
|
+
* wants to drive a sign-in without an HTTP round trip can call them directly.
|
|
23
|
+
*/
|
|
24
|
+
export declare abstract class SimCognitoFederation extends SimCognitoUserDirectory {
|
|
25
|
+
protected constructor(properties: SimCognitoFederationProperties);
|
|
26
|
+
/**
|
|
27
|
+
* Handle a CreateUserPoolDomain Command from the SDK.
|
|
28
|
+
*/
|
|
29
|
+
createUserPoolDomain(command: simCognitoCommands.SimCreateUserPoolDomainCommand, options?: SimCognitoIdentityProviderRequestOptions): Promise<simCognitoCommands.SimCreateUserPoolDomainCommandOutput>;
|
|
30
|
+
/**
|
|
31
|
+
* Handle a DescribeUserPoolDomain Command from the SDK.
|
|
32
|
+
*/
|
|
33
|
+
describeUserPoolDomain(command: simCognitoCommands.SimDescribeUserPoolDomainCommand, options?: SimCognitoIdentityProviderRequestOptions): Promise<simCognitoCommands.SimDescribeUserPoolDomainCommandOutput>;
|
|
34
|
+
/**
|
|
35
|
+
* Handle a DeleteUserPoolDomain Command from the SDK.
|
|
36
|
+
*/
|
|
37
|
+
deleteUserPoolDomain(command: simCognitoCommands.SimDeleteUserPoolDomainCommand, options?: SimCognitoIdentityProviderRequestOptions): Promise<simCognitoCommands.SimDeleteUserPoolDomainCommandOutput>;
|
|
38
|
+
/**
|
|
39
|
+
* Handle a CreateIdentityProvider Command from the SDK.
|
|
40
|
+
*/
|
|
41
|
+
createIdentityProvider(command: simCognitoCommands.SimCreateIdentityProviderCommand, options?: SimCognitoIdentityProviderRequestOptions): Promise<simCognitoCommands.SimCreateIdentityProviderCommandOutput>;
|
|
42
|
+
/**
|
|
43
|
+
* Handle a DescribeIdentityProvider Command from the SDK.
|
|
44
|
+
*/
|
|
45
|
+
describeIdentityProvider(command: simCognitoCommands.SimDescribeIdentityProviderCommand, options?: SimCognitoIdentityProviderRequestOptions): Promise<simCognitoCommands.SimDescribeIdentityProviderCommandOutput>;
|
|
46
|
+
/**
|
|
47
|
+
* Handle an UpdateIdentityProvider Command from the SDK.
|
|
48
|
+
*/
|
|
49
|
+
updateIdentityProvider(command: simCognitoCommands.SimUpdateIdentityProviderCommand, options?: SimCognitoIdentityProviderRequestOptions): Promise<simCognitoCommands.SimUpdateIdentityProviderCommandOutput>;
|
|
50
|
+
/**
|
|
51
|
+
* Handle a DeleteIdentityProvider Command from the SDK.
|
|
52
|
+
*/
|
|
53
|
+
deleteIdentityProvider(command: simCognitoCommands.SimDeleteIdentityProviderCommand, options?: SimCognitoIdentityProviderRequestOptions): Promise<simCognitoCommands.SimDeleteIdentityProviderCommandOutput>;
|
|
54
|
+
/**
|
|
55
|
+
* Handle a ListIdentityProviders Command from the SDK.
|
|
56
|
+
*/
|
|
57
|
+
listIdentityProviders(command: simCognitoCommands.SimListIdentityProvidersCommand, options?: SimCognitoIdentityProviderRequestOptions): Promise<simCognitoCommands.SimListIdentityProvidersCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* Handle a request to a pool's `/oauth2/authorize` endpoint.
|
|
60
|
+
*
|
|
61
|
+
* The answer is where the browser goes next, which for a request that signs
|
|
62
|
+
* a user in is the app client's callback URL carrying an authorization code.
|
|
63
|
+
*/
|
|
64
|
+
hostedAuthorize(pool: SimCognitoUserPool, input: SimCognitoAuthorizeInput): Promise<SimCognitoHostedRedirect>;
|
|
65
|
+
/**
|
|
66
|
+
* Handle a request to a pool's `/oauth2/token` endpoint.
|
|
67
|
+
*/
|
|
68
|
+
hostedToken(pool: SimCognitoUserPool, input: SimCognitoTokenInput): Promise<SimCognitoTokenOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* Handle a request to a pool's `/logout` endpoint.
|
|
71
|
+
*/
|
|
72
|
+
hostedSignOut(pool: SimCognitoUserPool, input: SimCognitoLogoutInput): Promise<SimCognitoHostedRedirect>;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=sim-cognito-federation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-federation.d.ts","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-federation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,KAAK,kBAAkB,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,uBAAuB,EACvB,KAAK,wCAAwC,EAC9C,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,YAAY,EAAE,wCAAwC,EAAE,MAAM,iCAAiC,CAAC;AAEhG,UAAU,8BAA8B;IACtC,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;;;;;;;;;;GAWG;AACH,8BAAsB,oBAAqB,SAAQ,uBAAuB;IACxE,SAAS,aAAa,UAAU,EAAE,8BAA8B,EAE/D;IAED;;OAEG;IACG,oBAAoB,CACxB,OAAO,EAAE,kBAAkB,CAAC,8BAA8B,EAC1D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,oCAAoC,CAAC,CAGlE;IAED;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,kBAAkB,CAAC,gCAAgC,EAC5D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,sCAAsC,CAAC,CAGpE;IAED;;OAEG;IACG,oBAAoB,CACxB,OAAO,EAAE,kBAAkB,CAAC,8BAA8B,EAC1D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,oCAAoC,CAAC,CAGlE;IAED;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,kBAAkB,CAAC,gCAAgC,EAC5D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,sCAAsC,CAAC,CAGpE;IAED;;OAEG;IACG,wBAAwB,CAC5B,OAAO,EAAE,kBAAkB,CAAC,kCAAkC,EAC9D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,CAGtE;IAED;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,kBAAkB,CAAC,gCAAgC,EAC5D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,sCAAsC,CAAC,CAGpE;IAED;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,kBAAkB,CAAC,gCAAgC,EAC5D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,sCAAsC,CAAC,CAGpE;IAED;;OAEG;IACG,qBAAqB,CACzB,OAAO,EAAE,kBAAkB,CAAC,+BAA+B,EAC3D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,qCAAqC,CAAC,CAGnE;IAED;;;;;OAKG;IACG,eAAe,CACnB,IAAI,EAAE,kBAAkB,EACxB,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC,wBAAwB,CAAC,CAGnC;IAED;;OAEG;IACG,WAAW,CACf,IAAI,EAAE,kBAAkB,EACxB,KAAK,EAAE,oBAAoB,GAC1B,OAAO,CAAC,qBAAqB,CAAC,CAGhC;IAED;;OAEG;IACG,aAAa,CACjB,IAAI,EAAE,kBAAkB,EACxB,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,wBAAwB,CAAC,CAGnC;CACF"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { SimCognitoUserDirectory, } from "./sim-cognito-user-directory.js";
|
|
2
|
+
/**
|
|
3
|
+
* The federated half of simulated Cognito: the domain a pool is signed in at,
|
|
4
|
+
* the external identity providers it federates to, and the OAuth endpoints
|
|
5
|
+
* that domain serves.
|
|
6
|
+
*
|
|
7
|
+
* The domain and provider operations are ordinary SDK commands.
|
|
8
|
+
* `hostedAuthorize`, `hostedToken` and `hostedSignOut` are not: they are the
|
|
9
|
+
* three endpoints a browser and an application's own server reach over HTTP,
|
|
10
|
+
* and the serving layer is what turns a request into one of them. They are
|
|
11
|
+
* here because they belong to this service's state, and because a test that
|
|
12
|
+
* wants to drive a sign-in without an HTTP round trip can call them directly.
|
|
13
|
+
*/
|
|
14
|
+
export class SimCognitoFederation extends SimCognitoUserDirectory {
|
|
15
|
+
constructor(properties) {
|
|
16
|
+
super(properties);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Handle a CreateUserPoolDomain Command from the SDK.
|
|
20
|
+
*/
|
|
21
|
+
async createUserPoolDomain(command, options) {
|
|
22
|
+
await this.background.sequence();
|
|
23
|
+
return this.commands.domains.create(command, options);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Handle a DescribeUserPoolDomain Command from the SDK.
|
|
27
|
+
*/
|
|
28
|
+
async describeUserPoolDomain(command, options) {
|
|
29
|
+
await this.background.sequence();
|
|
30
|
+
return this.commands.domains.describe(command, options);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Handle a DeleteUserPoolDomain Command from the SDK.
|
|
34
|
+
*/
|
|
35
|
+
async deleteUserPoolDomain(command, options) {
|
|
36
|
+
await this.background.sequence();
|
|
37
|
+
return this.commands.domains.delete(command, options);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Handle a CreateIdentityProvider Command from the SDK.
|
|
41
|
+
*/
|
|
42
|
+
async createIdentityProvider(command, options) {
|
|
43
|
+
await this.background.sequence();
|
|
44
|
+
return this.commands.identityProviders.create(command, options);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Handle a DescribeIdentityProvider Command from the SDK.
|
|
48
|
+
*/
|
|
49
|
+
async describeIdentityProvider(command, options) {
|
|
50
|
+
await this.background.sequence();
|
|
51
|
+
return this.commands.identityProviders.describe(command, options);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Handle an UpdateIdentityProvider Command from the SDK.
|
|
55
|
+
*/
|
|
56
|
+
async updateIdentityProvider(command, options) {
|
|
57
|
+
await this.background.sequence();
|
|
58
|
+
return this.commands.identityProviders.update(command, options);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Handle a DeleteIdentityProvider Command from the SDK.
|
|
62
|
+
*/
|
|
63
|
+
async deleteIdentityProvider(command, options) {
|
|
64
|
+
await this.background.sequence();
|
|
65
|
+
return this.commands.identityProviders.delete(command, options);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Handle a ListIdentityProviders Command from the SDK.
|
|
69
|
+
*/
|
|
70
|
+
async listIdentityProviders(command, options) {
|
|
71
|
+
await this.background.sequence();
|
|
72
|
+
return this.commands.identityProviders.list(command, options);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Handle a request to a pool's `/oauth2/authorize` endpoint.
|
|
76
|
+
*
|
|
77
|
+
* The answer is where the browser goes next, which for a request that signs
|
|
78
|
+
* a user in is the app client's callback URL carrying an authorization code.
|
|
79
|
+
*/
|
|
80
|
+
async hostedAuthorize(pool, input) {
|
|
81
|
+
await this.background.sequence();
|
|
82
|
+
return this.commands.hosted.authorize.handle(pool, input);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Handle a request to a pool's `/oauth2/token` endpoint.
|
|
86
|
+
*/
|
|
87
|
+
async hostedToken(pool, input) {
|
|
88
|
+
await this.background.sequence();
|
|
89
|
+
return await this.commands.hosted.token.handle(pool, input);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Handle a request to a pool's `/logout` endpoint.
|
|
93
|
+
*/
|
|
94
|
+
async hostedSignOut(pool, input) {
|
|
95
|
+
await this.background.sequence();
|
|
96
|
+
return this.commands.hosted.logout.handle(pool, input);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=sim-cognito-federation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-federation.js","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-federation.ts"],"names":[],"mappings":"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"}
|
|
@@ -4,8 +4,11 @@ import type { SimAwsAccountRegionScope } from "../aws/sim-aws-account-region-sco
|
|
|
4
4
|
import { type SimIamInterServiceAuthZ } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
5
5
|
import { SimCognitoCfnResourceFactory } from "./cfn/sim-cfn-cognito-resource-factory.js";
|
|
6
6
|
import type * as simCognitoCommands from "./command/sim-cognito-command.types.js";
|
|
7
|
+
import { SimCognitoDomainRegistry } from "./registry/sim-cognito-domain-registry.js";
|
|
7
8
|
import { SimCognitoUserPoolRegistry } from "./registry/sim-cognito-user-pool-registry.js";
|
|
8
|
-
import {
|
|
9
|
+
import { SimCognitoFederation } from "./sim-cognito-federation.js";
|
|
10
|
+
import type { SimCognitoIdentityProviderRequestOptions } from "./sim-cognito-user-directory.js";
|
|
11
|
+
import type { SimCognitoUserPoolDomain } from "./user-pool/domain/sim-cognito-user-pool-domain.js";
|
|
9
12
|
import type { SimCognitoUserPool } from "./user-pool/sim-cognito-user-pool.js";
|
|
10
13
|
import { type SimCognitoTriggerFunctions } from "./user-pool/trigger/sim-cognito-trigger-functions.js";
|
|
11
14
|
export type { SimCognitoIdentityProviderRequestOptions } from "./sim-cognito-user-directory.js";
|
|
@@ -19,6 +22,13 @@ interface SimCognitoIdentityProviderProperties {
|
|
|
19
22
|
* layer, whichever scope created it.
|
|
20
23
|
*/
|
|
21
24
|
readonly userPoolRegistry?: SimCognitoUserPoolRegistry;
|
|
25
|
+
/**
|
|
26
|
+
* Where every hosted domain in the simulation is indexed. A domain is unique
|
|
27
|
+
* across the whole of AWS rather than within one Account, and a request to
|
|
28
|
+
* one carries a hostname that says nothing about which Account owns the pool
|
|
29
|
+
* behind it.
|
|
30
|
+
*/
|
|
31
|
+
readonly domainRegistry?: SimCognitoDomainRegistry;
|
|
22
32
|
/**
|
|
23
33
|
* The Lambda functions a pool's triggers can reach, which is the whole
|
|
24
34
|
* simulation rather than this scope: a `LambdaConfig` names a function by
|
|
@@ -41,12 +51,21 @@ interface SimCognitoIdentityProviderProperties {
|
|
|
41
51
|
* Only user pools are simulated. Cognito identity pools, which hand out AWS
|
|
42
52
|
* credentials, are a different service and are not simulated at all.
|
|
43
53
|
*/
|
|
44
|
-
export declare class SimCognitoIdentityProvider extends
|
|
54
|
+
export declare class SimCognitoIdentityProvider extends SimCognitoFederation {
|
|
45
55
|
private readonly pools;
|
|
46
56
|
private readonly userPoolRegistry;
|
|
57
|
+
private readonly domainRegistry;
|
|
47
58
|
private readonly sdkRouter;
|
|
48
59
|
private readonly cfnFactory;
|
|
49
60
|
constructor(properties?: SimCognitoIdentityProviderProperties);
|
|
61
|
+
/**
|
|
62
|
+
* Find a hosted domain by the domain string it was created with, in
|
|
63
|
+
* whichever Account and Region created it.
|
|
64
|
+
*
|
|
65
|
+
* A request to a hosted endpoint carries a hostname and nothing else, so
|
|
66
|
+
* this is what the serving layer resolves it with.
|
|
67
|
+
*/
|
|
68
|
+
findUserPoolDomainInAnyAccount(domainValue: string): SimCognitoUserPoolDomain | undefined;
|
|
50
69
|
/**
|
|
51
70
|
* Find a user pool by id, in whichever Account and Region created it.
|
|
52
71
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-identity-provider.d.ts","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-identity-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,KAAK,kBAAkB,MAAM,wCAAwC,CAAC;AAElF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAE1F,OAAO,
|
|
1
|
+
{"version":3,"file":"sim-cognito-identity-provider.d.ts","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-identity-provider.ts"],"names":[],"mappings":"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"}
|
|
@@ -3,9 +3,10 @@ import { simAwsAccountRegionScopeFactory } from "../aws/sim-aws-account-region-s
|
|
|
3
3
|
import { SimIamAllowAllAuth, } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
4
4
|
import { SimCognitoCfnResourceFactory } from "./cfn/sim-cfn-cognito-resource-factory.js";
|
|
5
5
|
import { SimCognitoCommands } from "./command/sim-cognito-commands.js";
|
|
6
|
+
import { SimCognitoDomainRegistry } from "./registry/sim-cognito-domain-registry.js";
|
|
6
7
|
import { SimCognitoUserPoolRegistry } from "./registry/sim-cognito-user-pool-registry.js";
|
|
7
8
|
import { SimCognitoSdkCommandRouter } from "./sdk/sim-cognito-sdk-command-router.js";
|
|
8
|
-
import {
|
|
9
|
+
import { SimCognitoFederation } from "./sim-cognito-federation.js";
|
|
9
10
|
import { requireSimCognitoUserPoolId, } from "./user-pool/sim-cognito-user-pool-id.js";
|
|
10
11
|
import { SimCognitoUserPoolStore } from "./user-pool/sim-cognito-user-pool-store.js";
|
|
11
12
|
import { SimCognitoNoTriggerFunctions, } from "./user-pool/trigger/sim-cognito-trigger-functions.js";
|
|
@@ -24,28 +25,44 @@ import { SimCognitoNoTriggerFunctions, } from "./user-pool/trigger/sim-cognito-t
|
|
|
24
25
|
* Only user pools are simulated. Cognito identity pools, which hand out AWS
|
|
25
26
|
* credentials, are a different service and are not simulated at all.
|
|
26
27
|
*/
|
|
27
|
-
export class SimCognitoIdentityProvider extends
|
|
28
|
+
export class SimCognitoIdentityProvider extends SimCognitoFederation {
|
|
28
29
|
pools;
|
|
29
30
|
userPoolRegistry;
|
|
31
|
+
domainRegistry;
|
|
30
32
|
sdkRouter = new SimCognitoSdkCommandRouter(this);
|
|
31
33
|
cfnFactory = new SimCognitoCfnResourceFactory({
|
|
32
34
|
cognito: this,
|
|
33
35
|
});
|
|
34
36
|
constructor(properties = {}) {
|
|
35
|
-
const { accountRegionScope = simAwsAccountRegionScopeFactory.make(), iam = new SimIamAllowAllAuth(), background = new BackgroundTasks(), userPoolRegistry = new SimCognitoUserPoolRegistry(), triggerFunctions = new SimCognitoNoTriggerFunctions(), } = properties;
|
|
36
|
-
const pools = new SimCognitoUserPoolStore({
|
|
37
|
+
const { accountRegionScope = simAwsAccountRegionScopeFactory.make(), iam = new SimIamAllowAllAuth(), background = new BackgroundTasks(), userPoolRegistry = new SimCognitoUserPoolRegistry(), domainRegistry = new SimCognitoDomainRegistry(), triggerFunctions = new SimCognitoNoTriggerFunctions(), } = properties;
|
|
38
|
+
const pools = new SimCognitoUserPoolStore({
|
|
39
|
+
registry: userPoolRegistry,
|
|
40
|
+
domains: domainRegistry,
|
|
41
|
+
});
|
|
37
42
|
super({
|
|
38
43
|
commands: new SimCognitoCommands({
|
|
39
44
|
accountRegionScope,
|
|
40
45
|
iam,
|
|
41
46
|
clock: background,
|
|
42
47
|
pools,
|
|
48
|
+
domains: domainRegistry,
|
|
43
49
|
triggerFunctions,
|
|
44
50
|
}),
|
|
45
51
|
background,
|
|
46
52
|
});
|
|
47
53
|
this.pools = pools;
|
|
48
54
|
this.userPoolRegistry = userPoolRegistry;
|
|
55
|
+
this.domainRegistry = domainRegistry;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Find a hosted domain by the domain string it was created with, in
|
|
59
|
+
* whichever Account and Region created it.
|
|
60
|
+
*
|
|
61
|
+
* A request to a hosted endpoint carries a hostname and nothing else, so
|
|
62
|
+
* this is what the serving layer resolves it with.
|
|
63
|
+
*/
|
|
64
|
+
findUserPoolDomainInAnyAccount(domainValue) {
|
|
65
|
+
return this.domainRegistry.find(domainValue);
|
|
49
66
|
}
|
|
50
67
|
/**
|
|
51
68
|
* Find a user pool by id, in whichever Account and Region created it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-identity-provider.js","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-identity-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EACL,kBAAkB,GAEnB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAEzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,
|
|
1
|
+
{"version":3,"file":"sim-cognito-identity-provider.js","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-identity-provider.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { SimCognitoAuthorizationCode } from "./sim-cognito-authorization-code.js";
|
|
2
|
+
/**
|
|
3
|
+
* The authorization codes one simulated user pool has issued and not yet been
|
|
4
|
+
* given back.
|
|
5
|
+
*
|
|
6
|
+
* A code is forgotten as soon as it is redeemed, which is what makes a second
|
|
7
|
+
* request carrying the same code fail the way it does on real Cognito.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SimCognitoAuthorizationCodeStore {
|
|
10
|
+
private readonly codes;
|
|
11
|
+
/**
|
|
12
|
+
* Remember a code an authorize request handed to a browser.
|
|
13
|
+
*
|
|
14
|
+
* A code nobody redeemed is dropped once it has run out, so a simulation
|
|
15
|
+
* left running does not hold every abandoned sign-in.
|
|
16
|
+
*/
|
|
17
|
+
add(code: SimCognitoAuthorizationCode): void;
|
|
18
|
+
/**
|
|
19
|
+
* Take the code a token request carries, if this pool still holds it.
|
|
20
|
+
*
|
|
21
|
+
* Redeeming spends the code, whether or not the rest of the request turns
|
|
22
|
+
* out to be right: real Cognito treats a code as used once it has been
|
|
23
|
+
* presented, so a failed exchange cannot be retried with the same one.
|
|
24
|
+
*/
|
|
25
|
+
spend(value: string | undefined, now: Date): SimCognitoAuthorizationCode | undefined;
|
|
26
|
+
private forgetExpired;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=sim-cognito-authorization-code-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-authorization-code-store.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAEvF;;;;;;GAMG;AACH,qBAAa,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkD;IAExE;;;;;OAKG;IACH,GAAG,CAAC,IAAI,EAAE,2BAA2B,GAAG,IAAI,CAG3C;IAED;;;;;;OAMG;IACH,KAAK,CACH,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,GAAG,EAAE,IAAI,GACR,2BAA2B,GAAG,SAAS,CAkBzC;IAED,OAAO,CAAC,aAAa;CAWtB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The authorization codes one simulated user pool has issued and not yet been
|
|
3
|
+
* given back.
|
|
4
|
+
*
|
|
5
|
+
* A code is forgotten as soon as it is redeemed, which is what makes a second
|
|
6
|
+
* request carrying the same code fail the way it does on real Cognito.
|
|
7
|
+
*/
|
|
8
|
+
export class SimCognitoAuthorizationCodeStore {
|
|
9
|
+
codes = new Map();
|
|
10
|
+
/**
|
|
11
|
+
* Remember a code an authorize request handed to a browser.
|
|
12
|
+
*
|
|
13
|
+
* A code nobody redeemed is dropped once it has run out, so a simulation
|
|
14
|
+
* left running does not hold every abandoned sign-in.
|
|
15
|
+
*/
|
|
16
|
+
add(code) {
|
|
17
|
+
this.forgetExpired(code.issuedAt);
|
|
18
|
+
this.codes.set(code.value, code);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Take the code a token request carries, if this pool still holds it.
|
|
22
|
+
*
|
|
23
|
+
* Redeeming spends the code, whether or not the rest of the request turns
|
|
24
|
+
* out to be right: real Cognito treats a code as used once it has been
|
|
25
|
+
* presented, so a failed exchange cannot be retried with the same one.
|
|
26
|
+
*/
|
|
27
|
+
spend(value, now) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
const code = this.codes.get(value);
|
|
32
|
+
if (code === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
this.codes.delete(value);
|
|
36
|
+
if (code.isExpiredAt(now)) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
return code;
|
|
40
|
+
}
|
|
41
|
+
forgetExpired(now) {
|
|
42
|
+
const expired = this.codes
|
|
43
|
+
.values()
|
|
44
|
+
.filter((code) => code.isExpiredAt(now))
|
|
45
|
+
.map((code) => code.value)
|
|
46
|
+
.toArray();
|
|
47
|
+
for (const value of expired) {
|
|
48
|
+
this.codes.delete(value);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=sim-cognito-authorization-code-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-authorization-code-store.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-authorization-code-store.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,MAAM,OAAO,gCAAgC;IAC1B,KAAK,GAAG,IAAI,GAAG,EAAuC,CAAC;IAExE;;;;;OAKG;IACH,GAAG,CAAC,IAAiC;QACnC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAClC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CACH,KAAyB,EACzB,GAAS;QAET,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAEnC,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAEzB,IAAI,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;YAC1B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,aAAa,CAAC,GAAS;QAC7B,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK;aACvB,MAAM,EAAE;aACR,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;aACvC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;aACzB,OAAO,EAAE,CAAC;QAEb,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;YAC5B,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The only PKCE method real Cognito supports.
|
|
3
|
+
*/
|
|
4
|
+
export declare const simCognitoCodeChallengeMethod = "S256";
|
|
5
|
+
interface SimCognitoAuthorizationCodeProperties {
|
|
6
|
+
readonly username: string;
|
|
7
|
+
readonly clientId: string;
|
|
8
|
+
readonly redirectUri: string;
|
|
9
|
+
readonly scopes: readonly string[];
|
|
10
|
+
readonly issuedAt: Date;
|
|
11
|
+
/**
|
|
12
|
+
* The PKCE challenge the authorize request carried, which the token request
|
|
13
|
+
* has to produce the verifier for.
|
|
14
|
+
*/
|
|
15
|
+
readonly codeChallenge?: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* One authorization code, which is what an authorization code grant carries
|
|
19
|
+
* from the browser to the application's own server.
|
|
20
|
+
*
|
|
21
|
+
* The code is opaque, single use and tied to the app client and redirect URI
|
|
22
|
+
* it was issued for. Everything the token endpoint needs to answer with tokens
|
|
23
|
+
* is here, because the code is all that request carries.
|
|
24
|
+
*/
|
|
25
|
+
export declare class SimCognitoAuthorizationCode {
|
|
26
|
+
readonly value: string;
|
|
27
|
+
readonly username: string;
|
|
28
|
+
readonly clientId: string;
|
|
29
|
+
readonly redirectUri: string;
|
|
30
|
+
readonly scopes: readonly string[];
|
|
31
|
+
readonly issuedAt: Date;
|
|
32
|
+
private readonly codeChallenge;
|
|
33
|
+
constructor(properties: SimCognitoAuthorizationCodeProperties);
|
|
34
|
+
/**
|
|
35
|
+
* Whether this code has run out by a given moment.
|
|
36
|
+
*/
|
|
37
|
+
isExpiredAt(now: Date): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Whether a token request presents the verifier this code was issued for.
|
|
40
|
+
*
|
|
41
|
+
* A code issued without a challenge needs no verifier, and one issued with a
|
|
42
|
+
* challenge is only redeemed by the verifier it was derived from. Real
|
|
43
|
+
* Cognito supports the `S256` method alone, so the verifier is hashed rather
|
|
44
|
+
* than compared as it stands.
|
|
45
|
+
*/
|
|
46
|
+
matchesVerifier(codeVerifier: string | undefined): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Whether the token request names the redirect URI this code was issued for.
|
|
49
|
+
*/
|
|
50
|
+
isForRedirect(redirectUri: string | undefined): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Whether this code was issued to an app client.
|
|
53
|
+
*/
|
|
54
|
+
isFor(clientId: string): boolean;
|
|
55
|
+
}
|
|
56
|
+
export {};
|
|
57
|
+
//# sourceMappingURL=sim-cognito-authorization-code.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-authorization-code.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-authorization-code.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,eAAO,MAAM,6BAA6B,SAAS,CAAC;AAEpD,UAAU,qCAAqC;IAC7C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC;IAExB;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7C;AAED;;;;;;;GAOG;AACH,qBAAa,2BAA2B;IACtC,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,WAAW,EAAE,MAAM,CAAC;IACpC,SAAgB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,SAAgB,QAAQ,EAAE,IAAI,CAAC;IAE/B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAqB;IAEnD,YAAY,UAAU,EAAE,qCAAqC,EAQ5D;IAED;;OAEG;IACH,WAAW,CAAC,GAAG,EAAE,IAAI,GAAG,OAAO,CAI9B;IAED;;;;;;;OAOG;IACH,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAazD;IAED;;OAEG;IACH,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAEtD;IAED;;OAEG;IACH,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAE/B;CACF"}
|