@kensio/yulin 1.16.2 → 1.17.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/sim-sdk-caller-options.d.ts +2 -2
- package/dist/sdk/router/sim-sdk-caller-options.d.ts.map +1 -1
- package/dist/sdk/router/sim-sdk-command-router.type.d.ts +7 -2
- package/dist/sdk/router/sim-sdk-command-router.type.d.ts.map +1 -1
- package/dist/sdk/sim-sdk-command-dispatcher.d.ts +7 -1
- package/dist/sdk/sim-sdk-command-dispatcher.d.ts.map +1 -1
- package/dist/sdk/sim-sdk-command-dispatcher.js +16 -4
- package/dist/sdk/sim-sdk-command-dispatcher.js.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.d.ts +7 -6
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.d.ts.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.js +11 -10
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.js.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-operation.d.ts.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-operation.js +1 -0
- package/dist/sdk/wire/sim-sdk-wire-operation.js.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-response.d.ts +12 -0
- package/dist/sdk/wire/sim-sdk-wire-response.d.ts.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-response.js +2 -2
- package/dist/sdk/wire/sim-sdk-wire-response.js.map +1 -1
- package/dist/serve/http/api/query/sim-query-endpoint.d.ts +42 -0
- package/dist/serve/http/api/query/sim-query-endpoint.d.ts.map +1 -0
- package/dist/serve/http/api/query/sim-query-endpoint.js +55 -0
- package/dist/serve/http/api/query/sim-query-endpoint.js.map +1 -0
- package/dist/serve/http/api/query/sim-query-operation.d.ts +19 -0
- package/dist/serve/http/api/query/sim-query-operation.d.ts.map +1 -0
- package/dist/serve/http/api/query/sim-query-operation.js +2 -0
- package/dist/serve/http/api/query/sim-query-operation.js.map +1 -0
- package/dist/serve/http/api/query/sim-query-request.d.ts +85 -0
- package/dist/serve/http/api/query/sim-query-request.d.ts.map +1 -0
- package/dist/serve/http/api/query/sim-query-request.js +136 -0
- package/dist/serve/http/api/query/sim-query-request.js.map +1 -0
- package/dist/serve/http/api/query/sim-query-response.d.ts +35 -0
- package/dist/serve/http/api/query/sim-query-response.d.ts.map +1 -0
- package/dist/serve/http/api/query/sim-query-response.js +63 -0
- package/dist/serve/http/api/query/sim-query-response.js.map +1 -0
- package/dist/serve/http/api/query/sim-query-result.d.ts +33 -0
- package/dist/serve/http/api/query/sim-query-result.d.ts.map +1 -0
- package/dist/serve/http/api/query/sim-query-result.js +87 -0
- package/dist/serve/http/api/query/sim-query-result.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.d.ts +40 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.js +67 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-input.d.ts +45 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-input.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-input.js +52 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-input.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-request.d.ts +58 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-request.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-request.js +68 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-request.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-response.d.ts +35 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-response.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-response.js +55 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-response.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-route.type.d.ts +37 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-route.type.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-route.type.js +2 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-route.type.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-routes.d.ts +27 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-routes.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-routes.js +51 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-routes.js.map +1 -0
- package/dist/serve/http/api/sim-aws-api-endpoint.d.ts +39 -0
- package/dist/serve/http/api/sim-aws-api-endpoint.d.ts.map +1 -0
- package/dist/serve/http/api/sim-aws-api-endpoint.js +105 -0
- package/dist/serve/http/api/sim-aws-api-endpoint.js.map +1 -0
- package/dist/serve/http/api/sim-aws-api-protocols.d.ts +13 -0
- package/dist/serve/http/api/sim-aws-api-protocols.d.ts.map +1 -0
- package/dist/serve/http/api/sim-aws-api-protocols.js +41 -0
- package/dist/serve/http/api/sim-aws-api-protocols.js.map +1 -0
- package/dist/serve/http/sim-aws-http.d.ts +1 -0
- package/dist/serve/http/sim-aws-http.d.ts.map +1 -1
- package/dist/serve/http/sim-aws-http.js +9 -0
- package/dist/serve/http/sim-aws-http.js.map +1 -1
- 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 +1 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.d.ts +29 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.js +36 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.js.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.d.ts +27 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.js +24 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.js.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.d.ts +12 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.js +54 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.js.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts +17 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js +33 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.d.ts +50 -0
- package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.js +69 -0
- package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.js.map +1 -0
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts +3 -0
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts.map +1 -1
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.js +14 -4
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.js.map +1 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts +7 -0
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts.map +1 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.js +14 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts +24 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js +40 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts +39 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js +35 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +28 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js +24 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts +9 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js +16 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js +2 -4
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts +13 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js +29 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.d.ts +3 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.js +3 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.js.map +1 -1
- package/dist/service/cloudformation/export/sim-cfn-exports.d.ts +43 -0
- package/dist/service/cloudformation/export/sim-cfn-exports.d.ts.map +1 -0
- package/dist/service/cloudformation/export/sim-cfn-exports.js +65 -0
- package/dist/service/cloudformation/export/sim-cfn-exports.js.map +1 -0
- package/dist/service/cloudformation/export/sim-cfn-stack-exports.d.ts +11 -0
- package/dist/service/cloudformation/export/sim-cfn-stack-exports.d.ts.map +1 -0
- package/dist/service/cloudformation/export/sim-cfn-stack-exports.js +23 -0
- package/dist/service/cloudformation/export/sim-cfn-stack-exports.js.map +1 -0
- package/dist/service/cloudformation/index.d.ts +2 -0
- package/dist/service/cloudformation/index.d.ts.map +1 -1
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.d.ts +10 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.js +21 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.js.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.d.ts +10 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.js +19 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.js.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.d.ts +34 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.js +43 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.js.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.d.ts +21 -16
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.d.ts.map +1 -1
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.js +33 -62
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.js.map +1 -1
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.type.d.ts +30 -9
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.type.d.ts.map +1 -1
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.d.ts +20 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.js +20 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.js.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.d.ts +48 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.js +69 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.js.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.d.ts +17 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.js +15 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.js.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.d.ts +28 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.js +2 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.js.map +1 -0
- package/dist/service/cloudformation/resource/create/sim-cfn-resource-creator.js +1 -1
- package/dist/service/cloudformation/resource/create/sim-cfn-resource-creator.js.map +1 -1
- package/dist/service/cloudformation/resource/delete/sim-cfn-resource-deleter.js +1 -1
- package/dist/service/cloudformation/resource/delete/sim-cfn-resource-deleter.js.map +1 -1
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts +23 -1
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js +39 -2
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts +6 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +14 -4
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts +7 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts.map +1 -1
- package/dist/service/cloudformation/serve/sim-cloudformation-api.d.ts +11 -0
- package/dist/service/cloudformation/serve/sim-cloudformation-api.d.ts.map +1 -0
- package/dist/service/cloudformation/serve/sim-cloudformation-api.js +87 -0
- package/dist/service/cloudformation/serve/sim-cloudformation-api.js.map +1 -0
- package/dist/service/cloudformation/sim-cloudformation.d.ts +7 -1
- package/dist/service/cloudformation/sim-cloudformation.d.ts.map +1 -1
- package/dist/service/cloudformation/sim-cloudformation.js +19 -12
- package/dist/service/cloudformation/sim-cloudformation.js.map +1 -1
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.d.ts +31 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.js +57 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.js.map +1 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.d.ts +3 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.js +3 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.js.map +1 -1
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.d.ts +31 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.js +37 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.js.map +1 -0
- package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.d.ts +9 -5
- package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.js +15 -9
- package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.js.map +1 -1
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.d.ts +28 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.js +36 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.js.map +1 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js +1 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts +24 -29
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.js +37 -10
- package/dist/service/cloudformation/stack/sim-cfn-stack.js.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts +35 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.js +2 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts +15 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js +19 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.d.ts +42 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.js +41 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.d.ts +21 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.js +61 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts +31 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js +25 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.d.ts +21 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.js +39 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts +45 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.js +2 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts +51 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js +77 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js.map +1 -0
- package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.d.ts +33 -0
- package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.d.ts.map +1 -0
- package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.js +47 -0
- package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.js.map +1 -0
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts +7 -0
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js +12 -0
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js.map +1 -1
- package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.js +6 -1
- package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.js.map +1 -1
- package/dist/service/cloudformation/template/node/sim-cfn-literal.d.ts +9 -2
- package/dist/service/cloudformation/template/node/sim-cfn-literal.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/sim-cfn-literal.js +12 -3
- package/dist/service/cloudformation/template/node/sim-cfn-literal.js.map +1 -1
- package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.d.ts +26 -0
- package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.d.ts.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.js +31 -0
- package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.js.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts +4 -7
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts.map +1 -1
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js +9 -41
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js.map +1 -1
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.d.ts +19 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.d.ts.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.js +31 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.js.map +1 -0
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts +19 -0
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts.map +1 -1
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js +18 -0
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template.d.ts +5 -0
- package/dist/service/cloudformation/template/sim-cfn-template.d.ts.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template.js +7 -1
- package/dist/service/cloudformation/template/sim-cfn-template.js.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts +4 -0
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js +2 -0
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts +5 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.js +22 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.js.map +1 -1
- package/dist/service/elbv2/serve/api/sim-elbv2-api.d.ts +15 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-api.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-api.js +41 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-api.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-action.d.ts +14 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-action.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-action.js +52 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-action.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.d.ts +14 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.js +20 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.d.ts +11 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.js +39 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-input.d.ts +47 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-input.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-input.js +71 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-input.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.d.ts +11 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.js +46 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.d.ts +6 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.js +77 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.d.ts +6 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.js +67 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-result.d.ts +15 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-result.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-result.js +25 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-result.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.d.ts +6 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.js +74 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.d.ts +6 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.js +114 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.d.ts +6 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.js +64 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-api.d.ts +18 -0
- package/dist/service/iam/serve/sim-iam-api.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-api.js +38 -0
- package/dist/service/iam/serve/sim-iam-api.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-entity.d.ts +12 -0
- package/dist/service/iam/serve/sim-iam-query-entity.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-entity.js +22 -0
- package/dist/service/iam/serve/sim-iam-query-entity.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-listing.d.ts +18 -0
- package/dist/service/iam/serve/sim-iam-query-listing.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-listing.js +25 -0
- package/dist/service/iam/serve/sim-iam-query-listing.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-policy-operations.d.ts +6 -0
- package/dist/service/iam/serve/sim-iam-query-policy-operations.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-policy-operations.js +70 -0
- package/dist/service/iam/serve/sim-iam-query-policy-operations.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-role-operations.d.ts +10 -0
- package/dist/service/iam/serve/sim-iam-query-role-operations.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-role-operations.js +108 -0
- package/dist/service/iam/serve/sim-iam-query-role-operations.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-user-operations.d.ts +11 -0
- package/dist/service/iam/serve/sim-iam-query-user-operations.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-user-operations.js +62 -0
- package/dist/service/iam/serve/sim-iam-query-user-operations.js.map +1 -0
- package/dist/service/iam/sim-iam.d.ts +10 -0
- package/dist/service/iam/sim-iam.d.ts.map +1 -1
- package/dist/service/iam/sim-iam.js +10 -0
- package/dist/service/iam/sim-iam.js.map +1 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.d.ts +9 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.js +59 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts +6 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js +91 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.d.ts +12 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.js +28 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.d.ts +10 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.js +36 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts +11 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.js +19 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.d.ts +11 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.js +50 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api.d.ts +16 -0
- package/dist/service/lambda/serve/api/sim-lambda-api.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api.js +22 -0
- package/dist/service/lambda/serve/api/sim-lambda-api.js.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection-faces.d.ts +53 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection-faces.d.ts.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection-faces.js +69 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection-faces.js.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection.d.ts +26 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection.d.ts.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection.js +9 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection.js.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collections.d.ts +50 -0
- package/dist/service/rekognition/collection/sim-rekognition-collections.d.ts.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collections.js +78 -0
- package/dist/service/rekognition/collection/sim-rekognition-collections.js.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-indexed-face.d.ts +41 -0
- package/dist/service/rekognition/collection/sim-rekognition-indexed-face.d.ts.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-indexed-face.js +53 -0
- package/dist/service/rekognition/collection/sim-rekognition-indexed-face.js.map +1 -0
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.d.ts +2 -2
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.d.ts.map +1 -1
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.js +7 -4
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.js.map +1 -1
- package/dist/service/rekognition/command/collection/collection-id.d.ts +9 -0
- package/dist/service/rekognition/command/collection/collection-id.d.ts.map +1 -0
- package/dist/service/rekognition/command/collection/collection-id.js +15 -0
- package/dist/service/rekognition/command/collection/collection-id.js.map +1 -0
- package/dist/service/rekognition/command/collection/collection.command.d.ts +55 -0
- package/dist/service/rekognition/command/collection/collection.command.d.ts.map +1 -0
- package/dist/service/rekognition/command/collection/collection.command.js +2 -0
- package/dist/service/rekognition/command/collection/collection.command.js.map +1 -0
- package/dist/service/rekognition/command/collection/collection.handler.d.ts +40 -0
- package/dist/service/rekognition/command/collection/collection.handler.d.ts.map +1 -0
- package/dist/service/rekognition/command/collection/collection.handler.js +62 -0
- package/dist/service/rekognition/command/collection/collection.handler.js.map +1 -0
- package/dist/service/rekognition/command/face/delete-faces-request.d.ts +10 -0
- package/dist/service/rekognition/command/face/delete-faces-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/delete-faces-request.js +18 -0
- package/dist/service/rekognition/command/face/delete-faces-request.js.map +1 -0
- package/dist/service/rekognition/command/face/external-image-id.d.ts +9 -0
- package/dist/service/rekognition/command/face/external-image-id.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/external-image-id.js +28 -0
- package/dist/service/rekognition/command/face/external-image-id.js.map +1 -0
- package/dist/service/rekognition/command/face/face-ids.d.ts +9 -0
- package/dist/service/rekognition/command/face/face-ids.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-ids.js +48 -0
- package/dist/service/rekognition/command/face/face-ids.js.map +1 -0
- package/dist/service/rekognition/command/face/face-indexer.d.ts +38 -0
- package/dist/service/rekognition/command/face/face-indexer.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-indexer.js +64 -0
- package/dist/service/rekognition/command/face/face-indexer.js.map +1 -0
- package/dist/service/rekognition/command/face/face-limits.d.ts +22 -0
- package/dist/service/rekognition/command/face/face-limits.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-limits.js +36 -0
- package/dist/service/rekognition/command/face/face-limits.js.map +1 -0
- package/dist/service/rekognition/command/face/face-listing.d.ts +26 -0
- package/dist/service/rekognition/command/face/face-listing.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-listing.js +36 -0
- package/dist/service/rekognition/command/face/face-listing.js.map +1 -0
- package/dist/service/rekognition/command/face/face-output.d.ts +65 -0
- package/dist/service/rekognition/command/face/face-output.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-output.js +8 -0
- package/dist/service/rekognition/command/face/face-output.js.map +1 -0
- package/dist/service/rekognition/command/face/face-searcher.d.ts +32 -0
- package/dist/service/rekognition/command/face/face-searcher.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-searcher.js +45 -0
- package/dist/service/rekognition/command/face/face-searcher.js.map +1 -0
- package/dist/service/rekognition/command/face/face.command.d.ts +107 -0
- package/dist/service/rekognition/command/face/face.command.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face.command.js +2 -0
- package/dist/service/rekognition/command/face/face.command.js.map +1 -0
- package/dist/service/rekognition/command/face/face.handler.d.ts +62 -0
- package/dist/service/rekognition/command/face/face.handler.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face.handler.js +99 -0
- package/dist/service/rekognition/command/face/face.handler.js.map +1 -0
- package/dist/service/rekognition/command/face/index-faces-request.d.ts +20 -0
- package/dist/service/rekognition/command/face/index-faces-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/index-faces-request.js +39 -0
- package/dist/service/rekognition/command/face/index-faces-request.js.map +1 -0
- package/dist/service/rekognition/command/face/list-faces-page.d.ts +26 -0
- package/dist/service/rekognition/command/face/list-faces-page.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/list-faces-page.js +39 -0
- package/dist/service/rekognition/command/face/list-faces-page.js.map +1 -0
- package/dist/service/rekognition/command/face/list-faces-request.d.ts +17 -0
- package/dist/service/rekognition/command/face/list-faces-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/list-faces-request.js +43 -0
- package/dist/service/rekognition/command/face/list-faces-request.js.map +1 -0
- package/dist/service/rekognition/command/face/search-faces-by-image-request.d.ts +24 -0
- package/dist/service/rekognition/command/face/search-faces-by-image-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/search-faces-by-image-request.js +61 -0
- package/dist/service/rekognition/command/face/search-faces-by-image-request.js.map +1 -0
- package/dist/service/rekognition/command/sim-rekognition-detection-handlers.d.ts +32 -0
- package/dist/service/rekognition/command/sim-rekognition-detection-handlers.d.ts.map +1 -0
- package/dist/service/rekognition/command/sim-rekognition-detection-handlers.js +37 -0
- package/dist/service/rekognition/command/sim-rekognition-detection-handlers.js.map +1 -0
- package/dist/service/rekognition/error/sim-rekognition.error.d.ts +20 -0
- package/dist/service/rekognition/error/sim-rekognition.error.d.ts.map +1 -1
- package/dist/service/rekognition/error/sim-rekognition.error.js +24 -0
- package/dist/service/rekognition/error/sim-rekognition.error.js.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-detected-face.d.ts +9 -0
- package/dist/service/rekognition/face/sim-rekognition-detected-face.d.ts.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-detected-face.js +12 -0
- package/dist/service/rekognition/face/sim-rekognition-detected-face.js.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-face-detection.d.ts +9 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detection.d.ts.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-face-detection.js +10 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detection.js.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-face-frame.d.ts +5 -1
- package/dist/service/rekognition/face/sim-rekognition-face-frame.d.ts.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-face-frame.js +3 -0
- package/dist/service/rekognition/face/sim-rekognition-face-frame.js.map +1 -1
- package/dist/service/rekognition/index.d.ts +3 -1
- package/dist/service/rekognition/index.d.ts.map +1 -1
- package/dist/service/rekognition/index.js +2 -1
- package/dist/service/rekognition/index.js.map +1 -1
- package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.d.ts +29 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.d.ts.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.js +2 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.js.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-result.d.ts +25 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-result.d.ts.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-result.js +44 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-result.js.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-rule.d.ts +26 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-rule.d.ts.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-rule.js +64 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-rule.js.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-matches.d.ts +32 -0
- package/dist/service/rekognition/match/sim-rekognition-face-matches.d.ts.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-matches.js +39 -0
- package/dist/service/rekognition/match/sim-rekognition-face-matches.js.map +1 -0
- package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.d.ts.map +1 -1
- package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.js +28 -0
- package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.js.map +1 -1
- package/dist/service/rekognition/sim-rekognition.d.ts +51 -3
- package/dist/service/rekognition/sim-rekognition.d.ts.map +1 -1
- package/dist/service/rekognition/sim-rekognition.js +84 -16
- package/dist/service/rekognition/sim-rekognition.js.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +9 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +0 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -1
- package/dist/service/s3/bucket/sim-s3-bucket.d.ts +18 -0
- package/dist/service/s3/bucket/sim-s3-bucket.d.ts.map +1 -1
- package/dist/service/s3/bucket/sim-s3-bucket.js +16 -1
- package/dist/service/s3/bucket/sim-s3-bucket.js.map +1 -1
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.d.ts +23 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.d.ts.map +1 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.js +2 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.js.map +1 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.d.ts +23 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.d.ts.map +1 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.js +32 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.js.map +1 -0
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts +1 -0
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts.map +1 -1
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js +4 -0
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js.map +1 -1
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.d.ts +42 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.d.ts.map +1 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.js +2 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.js.map +1 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.d.ts +28 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.d.ts.map +1 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.js +73 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.js.map +1 -0
- package/dist/service/s3/command/create-bucket/create-bucket.handler.d.ts.map +1 -1
- package/dist/service/s3/command/create-bucket/create-bucket.handler.js +1 -0
- package/dist/service/s3/command/create-bucket/create-bucket.handler.js.map +1 -1
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.d.ts +30 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.d.ts.map +1 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.js +2 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.js.map +1 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.d.ts +21 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.d.ts.map +1 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.js +38 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.js.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket-authorizer.d.ts +26 -0
- package/dist/service/s3/command/head-bucket/head-bucket-authorizer.d.ts.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket-authorizer.js +48 -0
- package/dist/service/s3/command/head-bucket/head-bucket-authorizer.js.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket.command.d.ts +24 -0
- package/dist/service/s3/command/head-bucket/head-bucket.command.d.ts.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket.command.js +2 -0
- package/dist/service/s3/command/head-bucket/head-bucket.command.js.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket.handler.d.ts +35 -0
- package/dist/service/s3/command/head-bucket/head-bucket.handler.d.ts.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket.handler.js +45 -0
- package/dist/service/s3/command/head-bucket/head-bucket.handler.js.map +1 -0
- package/dist/service/s3/command/head-object/head-object-loader.d.ts +17 -0
- package/dist/service/s3/command/head-object/head-object-loader.d.ts.map +1 -0
- package/dist/service/s3/command/head-object/head-object-loader.js +29 -0
- package/dist/service/s3/command/head-object/head-object-loader.js.map +1 -0
- package/dist/service/s3/command/head-object/head-object.command.d.ts +29 -0
- package/dist/service/s3/command/head-object/head-object.command.d.ts.map +1 -0
- package/dist/service/s3/command/head-object/head-object.command.js +2 -0
- package/dist/service/s3/command/head-object/head-object.command.js.map +1 -0
- package/dist/service/s3/command/head-object/head-object.handler.d.ts +38 -0
- package/dist/service/s3/command/head-object/head-object.handler.d.ts.map +1 -0
- package/dist/service/s3/command/head-object/head-object.handler.js +50 -0
- package/dist/service/s3/command/head-object/head-object.handler.js.map +1 -0
- package/dist/service/s3/command/list-buckets/list-buckets-page-builder.d.ts.map +1 -1
- package/dist/service/s3/command/list-buckets/list-buckets-page-builder.js +1 -0
- package/dist/service/s3/command/list-buckets/list-buckets-page-builder.js.map +1 -1
- package/dist/service/s3/command/list-buckets/list-buckets.command.d.ts +1 -0
- package/dist/service/s3/command/list-buckets/list-buckets.command.d.ts.map +1 -1
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.d.ts +34 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.d.ts.map +1 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.js +2 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.js.map +1 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.d.ts +23 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.d.ts.map +1 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.js +43 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.js.map +1 -0
- package/dist/service/s3/command/list-parts/list-parts.command.d.ts +37 -0
- package/dist/service/s3/command/list-parts/list-parts.command.d.ts.map +1 -0
- package/dist/service/s3/command/list-parts/list-parts.command.js +2 -0
- package/dist/service/s3/command/list-parts/list-parts.command.js.map +1 -0
- package/dist/service/s3/command/list-parts/list-parts.handler.d.ts +22 -0
- package/dist/service/s3/command/list-parts/list-parts.handler.d.ts.map +1 -0
- package/dist/service/s3/command/list-parts/list-parts.handler.js +47 -0
- package/dist/service/s3/command/list-parts/list-parts.handler.js.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-access.d.ts +54 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-access.d.ts.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-access.js +60 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-access.js.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.d.ts +36 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.d.ts.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.js +52 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.js.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-commands.d.ts +35 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-commands.d.ts.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-commands.js +52 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-commands.js.map +1 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +4 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -1
- package/dist/service/s3/command/object/sim-s3-object-commands.js +7 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -1
- package/dist/service/s3/command/put-object/put-object-builder.d.ts +0 -32
- package/dist/service/s3/command/put-object/put-object-builder.d.ts.map +1 -1
- package/dist/service/s3/command/put-object/put-object-builder.js +5 -61
- package/dist/service/s3/command/put-object/put-object-builder.js.map +1 -1
- package/dist/service/s3/command/put-object/put-object.command.d.ts +7 -17
- package/dist/service/s3/command/put-object/put-object.command.d.ts.map +1 -1
- package/dist/service/s3/command/put-object/put-object.handler.d.ts.map +1 -1
- package/dist/service/s3/command/put-object/put-object.handler.js +6 -1
- package/dist/service/s3/command/put-object/put-object.handler.js.map +1 -1
- package/dist/service/s3/command/sim-s3-command.types.d.ts +8 -0
- package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
- package/dist/service/s3/command/upload-part/upload-part.command.d.ts +32 -0
- package/dist/service/s3/command/upload-part/upload-part.command.d.ts.map +1 -0
- package/dist/service/s3/command/upload-part/upload-part.command.js +2 -0
- package/dist/service/s3/command/upload-part/upload-part.command.js.map +1 -0
- package/dist/service/s3/command/upload-part/upload-part.handler.d.ts +22 -0
- package/dist/service/s3/command/upload-part/upload-part.handler.d.ts.map +1 -0
- package/dist/service/s3/command/upload-part/upload-part.handler.js +34 -0
- package/dist/service/s3/command/upload-part/upload-part.handler.js.map +1 -0
- package/dist/service/s3/error/sim-s3.error.d.ts +46 -0
- package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
- package/dist/service/s3/error/sim-s3.error.js +54 -0
- package/dist/service/s3/error/sim-s3.error.js.map +1 -1
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts +10 -0
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts.map +1 -1
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.js +1 -1
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.js.map +1 -1
- package/dist/service/s3/notification/sim-s3-object-notifier.d.ts +1 -1
- package/dist/service/s3/notification/sim-s3-object-notifier.js +2 -2
- package/dist/service/s3/notification/sim-s3-object-notifier.js.map +1 -1
- package/dist/service/s3/object/s3-object-etag.d.ts +20 -4
- package/dist/service/s3/object/s3-object-etag.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object-etag.js +25 -4
- package/dist/service/s3/object/s3-object-etag.js.map +1 -1
- package/dist/service/s3/object/s3-object-summary.d.ts +9 -0
- package/dist/service/s3/object/s3-object-summary.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object-summary.js +2 -2
- package/dist/service/s3/object/s3-object-summary.js.map +1 -1
- package/dist/service/s3/object/s3-object.d.ts +10 -0
- package/dist/service/s3/object/s3-object.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object.js +7 -1
- package/dist/service/s3/object/s3-object.js.map +1 -1
- package/dist/service/s3/object/s3-write-body.d.ts +23 -0
- package/dist/service/s3/object/s3-write-body.d.ts.map +1 -0
- package/dist/service/s3/object/s3-write-body.js +26 -0
- package/dist/service/s3/object/s3-write-body.js.map +1 -0
- package/dist/service/s3/object/s3-write-metadata.d.ts +33 -0
- package/dist/service/s3/object/s3-write-metadata.d.ts.map +1 -0
- package/dist/service/s3/object/s3-write-metadata.js +35 -0
- package/dist/service/s3/object/s3-write-metadata.js.map +1 -0
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +32 -0
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.d.ts +9 -0
- package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.js +128 -0
- package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-configuration-output.d.ts +19 -0
- package/dist/service/s3/serve/api/sim-s3-api-configuration-output.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-configuration-output.js +78 -0
- package/dist/service/s3/serve/api/sim-s3-api-configuration-output.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-head-output.d.ts +22 -0
- package/dist/service/s3/serve/api/sim-s3-api-head-output.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-head-output.js +39 -0
- package/dist/service/s3/serve/api/sim-s3-api-head-output.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-input.d.ts +62 -0
- package/dist/service/s3/serve/api/sim-s3-api-input.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-input.js +118 -0
- package/dist/service/s3/serve/api/sim-s3-api-input.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-listing.d.ts +43 -0
- package/dist/service/s3/serve/api/sim-s3-api-listing.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-listing.js +53 -0
- package/dist/service/s3/serve/api/sim-s3-api-listing.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-input.d.ts +25 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-input.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-input.js +48 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-input.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.d.ts +36 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.js +34 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-output.d.ts +10 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-output.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-output.js +62 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-output.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-notification-read.d.ts +8 -0
- package/dist/service/s3/serve/api/sim-s3-api-notification-read.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-notification-read.js +54 -0
- package/dist/service/s3/serve/api/sim-s3-api-notification-read.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +5 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js +31 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts +6 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +67 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-output.d.ts +10 -0
- package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-output.js +97 -0
- package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-request.d.ts +32 -0
- package/dist/service/s3/serve/api/sim-s3-api-request.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-request.js +48 -0
- package/dist/service/s3/serve/api/sim-s3-api-request.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts +26 -0
- package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-route.type.js +2 -0
- package/dist/service/s3/serve/api/sim-s3-api-route.type.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts +24 -0
- package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-routes.js +91 -0
- package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.d.ts +28 -0
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.js +79 -0
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api.d.ts +29 -0
- package/dist/service/s3/serve/api/sim-s3-api.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api.js +60 -0
- package/dist/service/s3/serve/api/sim-s3-api.js.map +1 -0
- package/dist/service/s3/serve/sim-s3-rest-error-response.d.ts +8 -0
- package/dist/service/s3/serve/sim-s3-rest-error-response.d.ts.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-error-response.js +15 -10
- package/dist/service/s3/serve/sim-s3-rest-error-response.js.map +1 -1
- package/dist/service/s3/sim-s3-commands.d.ts +2 -0
- package/dist/service/s3/sim-s3-commands.d.ts.map +1 -1
- package/dist/service/s3/sim-s3-commands.js +3 -0
- package/dist/service/s3/sim-s3-commands.js.map +1 -1
- package/dist/service/s3/sim-s3-operations.d.ts +67 -0
- package/dist/service/s3/sim-s3-operations.d.ts.map +1 -0
- package/dist/service/s3/sim-s3-operations.js +118 -0
- package/dist/service/s3/sim-s3-operations.js.map +1 -0
- package/dist/service/s3/sim-s3.d.ts +6 -41
- package/dist/service/s3/sim-s3.d.ts.map +1 -1
- package/dist/service/s3/sim-s3.js +11 -79
- package/dist/service/s3/sim-s3.js.map +1 -1
- package/dist/service/s3/upload/sim-s3-completed-upload.d.ts +30 -0
- package/dist/service/s3/upload/sim-s3-completed-upload.d.ts.map +1 -0
- package/dist/service/s3/upload/sim-s3-completed-upload.js +69 -0
- package/dist/service/s3/upload/sim-s3-completed-upload.js.map +1 -0
- package/dist/service/s3/upload/sim-s3-multipart-upload.d.ts +66 -0
- package/dist/service/s3/upload/sim-s3-multipart-upload.d.ts.map +1 -0
- package/dist/service/s3/upload/sim-s3-multipart-upload.js +78 -0
- package/dist/service/s3/upload/sim-s3-multipart-upload.js.map +1 -0
- package/dist/service/s3/upload/sim-s3-multipart-uploads.d.ts +48 -0
- package/dist/service/s3/upload/sim-s3-multipart-uploads.d.ts.map +1 -0
- package/dist/service/s3/upload/sim-s3-multipart-uploads.js +62 -0
- package/dist/service/s3/upload/sim-s3-multipart-uploads.js.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.d.ts +51 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.d.ts.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.js +89 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.js.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.d.ts +9 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.d.ts.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.js +40 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.js.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.d.ts +40 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.d.ts.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.js +90 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-api.d.ts +15 -0
- package/dist/service/sns/serve/sim-sns-api.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-api.js +37 -0
- package/dist/service/sns/serve/sim-sns-api.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-publish-operations.d.ts +6 -0
- package/dist/service/sns/serve/sim-sns-query-publish-operations.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-publish-operations.js +36 -0
- package/dist/service/sns/serve/sim-sns-query-publish-operations.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-published-message.d.ts +10 -0
- package/dist/service/sns/serve/sim-sns-query-published-message.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-published-message.js +39 -0
- package/dist/service/sns/serve/sim-sns-query-published-message.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-sms-operations.d.ts +9 -0
- package/dist/service/sns/serve/sim-sns-query-sms-operations.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-sms-operations.js +40 -0
- package/dist/service/sns/serve/sim-sns-query-sms-operations.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-subscription-operations.d.ts +6 -0
- package/dist/service/sns/serve/sim-sns-query-subscription-operations.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-subscription-operations.js +83 -0
- package/dist/service/sns/serve/sim-sns-query-subscription-operations.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-topic-operations.d.ts +6 -0
- package/dist/service/sns/serve/sim-sns-query-topic-operations.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-topic-operations.js +62 -0
- package/dist/service/sns/serve/sim-sns-query-topic-operations.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts +39 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js +95 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js.map +1 -0
- package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.d.ts +36 -0
- package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.d.ts.map +1 -0
- package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.js +48 -0
- package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.js.map +1 -0
- package/dist/service/ssm/sim-ssm.d.ts +10 -0
- package/dist/service/ssm/sim-ssm.d.ts.map +1 -1
- package/dist/service/ssm/sim-ssm.js +14 -0
- package/dist/service/ssm/sim-ssm.js.map +1 -1
- package/dist/service/sts/command/assume-role/assume-role.handler.d.ts +2 -2
- package/dist/service/sts/command/assume-role/assume-role.handler.d.ts.map +1 -1
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.d.ts +20 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.d.ts.map +1 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.js +2 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.js.map +1 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.d.ts +37 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.d.ts.map +1 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.js +50 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.js.map +1 -0
- package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.d.ts +15 -0
- package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.d.ts.map +1 -0
- package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.js +47 -0
- package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.js.map +1 -0
- package/dist/service/sts/sdk/sim-sts-sdk-command-router.d.ts.map +1 -1
- package/dist/service/sts/sdk/sim-sts-sdk-command-router.js +4 -0
- package/dist/service/sts/sdk/sim-sts-sdk-command-router.js.map +1 -1
- package/dist/service/sts/serve/sim-sts-api.d.ts +12 -0
- package/dist/service/sts/serve/sim-sts-api.d.ts.map +1 -0
- package/dist/service/sts/serve/sim-sts-api.js +52 -0
- package/dist/service/sts/serve/sim-sts-api.js.map +1 -0
- package/dist/service/sts/sim-sts.d.ts +9 -2
- package/dist/service/sts/sim-sts.d.ts.map +1 -1
- package/dist/service/sts/sim-sts.js +11 -0
- package/dist/service/sts/sim-sts.js.map +1 -1
- package/dist/util/xml/xml-document.d.ts +46 -0
- package/dist/util/xml/xml-document.d.ts.map +1 -0
- package/dist/util/xml/xml-document.js +108 -0
- package/dist/util/xml/xml-document.js.map +1 -0
- package/dist/util/xml/xml-writer.d.ts +28 -0
- package/dist/util/xml/xml-writer.d.ts.map +1 -0
- package/dist/util/xml/xml-writer.js +53 -0
- package/dist/util/xml/xml-writer.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SimAwsServiceControllerContainer } from "../controller/container/sim-aws-service-controller-container.js";
|
|
2
2
|
import { SimAws } from "../../service/aws/sim-aws.js";
|
|
3
3
|
import { isSimAwsRequestAuthFailure } from "../../service/iam/request/error/sim-aws-request-auth.error.js";
|
|
4
|
+
import { SimAwsApiEndpoint } from "./api/sim-aws-api-endpoint.js";
|
|
4
5
|
import { SimAwsRequestAuthenticator } from "./request/sim-aws-request-authenticator.js";
|
|
5
6
|
import { SimAwsAuthFailureResponse } from "./response/sim-aws-auth-failure-response.js";
|
|
6
7
|
import { SimAwsResponseHints } from "./response/sim-aws-response-hints.js";
|
|
@@ -11,6 +12,7 @@ export class SimAwsHttp {
|
|
|
11
12
|
simAws;
|
|
12
13
|
controllers;
|
|
13
14
|
authenticator;
|
|
15
|
+
apiEndpoint;
|
|
14
16
|
authFailureResponse = new SimAwsAuthFailureResponse();
|
|
15
17
|
hints = new SimAwsResponseHints();
|
|
16
18
|
constructor(properties = {}) {
|
|
@@ -18,6 +20,7 @@ export class SimAwsHttp {
|
|
|
18
20
|
this.simAws = simAws;
|
|
19
21
|
this.controllers = new SimAwsServiceControllerContainer({ simAws });
|
|
20
22
|
this.authenticator = new SimAwsRequestAuthenticator({ simAws });
|
|
23
|
+
this.apiEndpoint = new SimAwsApiEndpoint({ simAws });
|
|
21
24
|
}
|
|
22
25
|
/**
|
|
23
26
|
* Send a Fetch API request to simulated AWS.
|
|
@@ -46,6 +49,12 @@ export class SimAwsHttp {
|
|
|
46
49
|
}
|
|
47
50
|
const target = this.simAws.route53().resolveHttpHost(hostname);
|
|
48
51
|
if (target === undefined) {
|
|
52
|
+
// A signed AWS API request names its service in its credential scope
|
|
53
|
+
// and needs no hostname to route on.
|
|
54
|
+
const apiResponse = await this.apiEndpoint.handle(request);
|
|
55
|
+
if (apiResponse !== undefined) {
|
|
56
|
+
return apiResponse;
|
|
57
|
+
}
|
|
49
58
|
return new Response(`Unknown simulated AWS host ${hostname} \n`, {
|
|
50
59
|
status: 501,
|
|
51
60
|
headers: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-aws-http.js","sourceRoot":"","sources":["../../../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GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,YAAY,CAC1D,MAAM,EACN,OAAO,CACR,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,oBAAoB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAEzE,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAC3B,MAAM,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC,EAC9C,cAAc,CAAC,MAAM,CACtB,CAAC;IACJ,CAAC;IAEO,mBAAmB,CAAC,OAAgB;QAC1C,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACjC,MAAM,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC;QAE5C,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC1B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-aws-account-region-service-builder.d.ts","sourceRoot":"","sources":["../../../../src/service/aws/factory/sim-aws-account-region-service-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAM5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc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EAAE,2CAA2C,EAOlE;IAED,wDAAwD;IACxD,mEAAmE;IACnE,oBAAoB,CAAC,KAAK,EAAE,4BAA4B,GAAG,iBAAiB,CAK3E;IAED;;;;;;;;OAQG;IACH,gBAAgB,CAAC,KAAK,EAAE,4BAA4B,GAAG,aAAa,CAKnE;IAED;;;;;OAKG;IACH,6BAA6B,CAC3B,KAAK,EAAE,4BAA4B,GAClC,0BAA0B,CAO5B;IAED,wDAAwD;IACxD,SAAS,CAAC,KAAK,EAAE,4BAA4B,GAAG,MAAM,CAKrD;IAED;;;;;OAKG;IACH,iBAAiB,CAAC,KAAK,EAAE,4BAA4B,GAAG,cAAc,CAKrE;IAED,oEAAoE;IACpE,UAAU,CAAC,KAAK,EAAE,4BAA4B,GAAG,OAAO,CAKvD;IAED,2DAA2D;IAC3D,YAAY,CAAC,KAAK,EAAE,4BAA4B,GAAG,SAAS,CAU3D;IAED;;;;;OAKG;IACH,iBAAiB,CAAC,KAAK,EAAE,4BAA4B,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"sim-aws-account-region-service-builder.d.ts","sourceRoot":"","sources":["../../../../src/service/aws/factory/sim-aws-account-region-service-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAM5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,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,EAOlE;IAED,wDAAwD;IACxD,mEAAmE;IACnE,oBAAoB,CAAC,KAAK,EAAE,4BAA4B,GAAG,iBAAiB,CAK3E;IAED;;;;;;;;OAQG;IACH,gBAAgB,CAAC,KAAK,EAAE,4BAA4B,GAAG,aAAa,CAKnE;IAED;;;;;OAKG;IACH,6BAA6B,CAC3B,KAAK,EAAE,4BAA4B,GAClC,0BAA0B,CAO5B;IAED,wDAAwD;IACxD,SAAS,CAAC,KAAK,EAAE,4BAA4B,GAAG,MAAM,CAKrD;IAED;;;;;OAKG;IACH,iBAAiB,CAAC,KAAK,EAAE,4BAA4B,GAAG,cAAc,CAKrE;IAED,oEAAoE;IACpE,UAAU,CAAC,KAAK,EAAE,4BAA4B,GAAG,OAAO,CAKvD;IAED,2DAA2D;IAC3D,YAAY,CAAC,KAAK,EAAE,4BAA4B,GAAG,SAAS,CAU3D;IAED;;;;;OAKG;IACH,iBAAiB,CAAC,KAAK,EAAE,4BAA4B,GAAG,cAAc,CAOrE;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,KAAK,EAAE,4BAA4B,GAAG,KAAK,CAQnD;IAED;;;;;;;OAOG;IACH,SAAS,CAAC,KAAK,EAAE,4BAA4B,GAAG,MAAM,CAIrD;IAED,0EAA0E;IAC1E,eAAe,CAAC,KAAK,EAAE,4BAA4B,GAAG,YAAY,CAKjE;IAED,wDAAwD;IACxD,SAAS,CAAC,KAAK,EAAE,4BAA4B,GAAG,MAAM,CAQrD;IAED;;OAEG;IACH,OAAO,CAAC,MAAM;CAKf"}
|
|
@@ -138,6 +138,7 @@ export class SimAwsAccountRegionServiceBuilder {
|
|
|
138
138
|
*/
|
|
139
139
|
createRekognition(scope) {
|
|
140
140
|
return new SimRekognition({
|
|
141
|
+
accountRegionScope: scope.accountRegionScope,
|
|
141
142
|
iam: this.accountServices.createIam(scope),
|
|
142
143
|
background: this.background,
|
|
143
144
|
images: simAwsRekognitionImages(this.simAws, scope),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-aws-account-region-service-builder.js","sourceRoot":"","sources":["../../../../src/service/aws/factory/sim-aws-account-region-service-builder.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,gCAAgC,EAChC,uBAAuB,EACvB,8BAA8B,GAC/B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,sEAAsE,CAAC;AACrH,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAc9C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MA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C;IAC7D,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"sim-aws-account-region-service-builder.js","sourceRoot":"","sources":["../../../../src/service/aws/factory/sim-aws-account-region-service-builder.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,gCAAgC,EAChC,uBAAuB,EACvB,8BAA8B,GAC/B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,sEAAsE,CAAC;AACrH,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAc9C;;;;;;;;;;;;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QAEnC,OAAO,IAAI,CAAC,eAAe,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC;IAC7D,CAAC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AwsRegionName } from "../../aws/sim-aws-region.js";
|
|
2
|
+
/** The file a CDK cloud assembly describes itself in. */
|
|
3
|
+
export declare const CDK_ASSEMBLY_MANIFEST_FILE_NAME = "manifest.json";
|
|
4
|
+
interface SimCdkAssemblyArtifact {
|
|
5
|
+
readonly type?: string | undefined;
|
|
6
|
+
readonly environment?: string | undefined;
|
|
7
|
+
readonly dependencies?: readonly string[] | undefined;
|
|
8
|
+
readonly properties?: {
|
|
9
|
+
readonly templateFile?: string | undefined;
|
|
10
|
+
readonly stackName?: string | undefined;
|
|
11
|
+
} | undefined;
|
|
12
|
+
}
|
|
13
|
+
export type SimCdkAssemblyArtifacts = Record<string, SimCdkAssemblyArtifact>;
|
|
14
|
+
/**
|
|
15
|
+
* Read the artifacts a CDK cloud assembly's `manifest.json` holds.
|
|
16
|
+
*
|
|
17
|
+
* Reading it is what tells a caller that the directory they named is a cloud
|
|
18
|
+
* assembly at all, so the failure names the file rather than the directory.
|
|
19
|
+
*/
|
|
20
|
+
export declare function readCdkAssemblyArtifacts(manifestPath: string): Promise<SimCdkAssemblyArtifacts>;
|
|
21
|
+
/**
|
|
22
|
+
* Read the region out of a CDK environment such as `aws://111111111111/eu-west-2`.
|
|
23
|
+
*
|
|
24
|
+
* An environment-agnostic Stack carries `unknown-region`, and takes its region
|
|
25
|
+
* from whoever deploys it instead.
|
|
26
|
+
*/
|
|
27
|
+
export declare function cdkEnvironmentRegionName(environment: string | undefined): AwsRegionName | undefined;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=sim-cdk-assembly-manifest-file.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-assembly-manifest-file.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,yDAAyD;AACzD,eAAO,MAAM,+BAA+B,kBAAkB,CAAC;AAK/D,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,UAAU,CAAC,EAChB;QACE,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC3C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACzC,GACD,SAAS,CAAC;CACf;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;AAM7E;;;;;GAKG;AACH,wBAAsB,wBAAwB,CAC5C,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,uBAAuB,CAAC,CAalC;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,aAAa,GAAG,SAAS,CAM3B"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { readFile } from "node:fs/promises";
|
|
2
|
+
import { jsonParse } from "../../../util/type-guard/json.js";
|
|
3
|
+
/** The file a CDK cloud assembly describes itself in. */
|
|
4
|
+
export const CDK_ASSEMBLY_MANIFEST_FILE_NAME = "manifest.json";
|
|
5
|
+
/** What an environment-agnostic Stack carries in place of a region. */
|
|
6
|
+
const CDK_UNKNOWN_REGION = "unknown-region";
|
|
7
|
+
/**
|
|
8
|
+
* Read the artifacts a CDK cloud assembly's `manifest.json` holds.
|
|
9
|
+
*
|
|
10
|
+
* Reading it is what tells a caller that the directory they named is a cloud
|
|
11
|
+
* assembly at all, so the failure names the file rather than the directory.
|
|
12
|
+
*/
|
|
13
|
+
export async function readCdkAssemblyArtifacts(manifestPath) {
|
|
14
|
+
try {
|
|
15
|
+
// oxlint-disable-next-line security/detect-non-literal-fs-filename
|
|
16
|
+
const body = await readFile(manifestPath, "utf8");
|
|
17
|
+
const manifest = jsonParse(body);
|
|
18
|
+
return manifest.artifacts ?? {};
|
|
19
|
+
}
|
|
20
|
+
catch (error) {
|
|
21
|
+
throw new Error(`Could not read the CDK cloud assembly manifest at ${manifestPath}. A cloud assembly is what \`cdk synth\` writes, and it holds a manifest naming every Stack in it.`, { cause: error });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Read the region out of a CDK environment such as `aws://111111111111/eu-west-2`.
|
|
26
|
+
*
|
|
27
|
+
* An environment-agnostic Stack carries `unknown-region`, and takes its region
|
|
28
|
+
* from whoever deploys it instead.
|
|
29
|
+
*/
|
|
30
|
+
export function cdkEnvironmentRegionName(environment) {
|
|
31
|
+
const regionName = environment?.split("/").at(-1);
|
|
32
|
+
return regionName === CDK_UNKNOWN_REGION
|
|
33
|
+
? undefined
|
|
34
|
+
: regionName;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=sim-cdk-assembly-manifest-file.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-assembly-manifest-file.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAmB,MAAM,kCAAkC,CAAC;AAG9E,yDAAyD;AACzD,MAAM,CAAC,MAAM,+BAA+B,GAAG,eAAe,CAAC;AAE/D,uEAAuE;AACvE,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;AAoB5C;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAC5C,YAAoB;IAEpB,IAAI,CAAC;QACH,mEAAmE;QACnE,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;QAClD,MAAM,QAAQ,GAAG,SAAS,CAAC,IAA0C,CAAC,CAAC;QAEvE,OAAO,QAAQ,CAAC,SAAS,IAAI,EAAE,CAAC;IAClC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,IAAI,KAAK,CACb,qDAAqD,YAAY,oGAAoG,EACrK,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CACtC,WAA+B;IAE/B,MAAM,UAAU,GAAG,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAElD,OAAO,UAAU,KAAK,kBAAkB;QACtC,CAAC,CAAC,SAAS;QACX,CAAC,CAAE,UAAwC,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { AwsRegionName } from "../../aws/sim-aws-region.js";
|
|
2
|
+
/**
|
|
3
|
+
* One CloudFormation Stack artifact in a CDK cloud assembly.
|
|
4
|
+
*/
|
|
5
|
+
export interface SimCdkAssemblyStack {
|
|
6
|
+
/** The key the artifact is held under, which other artifacts depend on. */
|
|
7
|
+
readonly artifactId: string;
|
|
8
|
+
/** The name the Stack is deployed as. */
|
|
9
|
+
readonly stackName: string;
|
|
10
|
+
/** The absolute path to the synthesized template file. */
|
|
11
|
+
readonly templatePath: string;
|
|
12
|
+
/**
|
|
13
|
+
* The region the Stack's environment names, absent when it names none.
|
|
14
|
+
*/
|
|
15
|
+
readonly regionName?: AwsRegionName | undefined;
|
|
16
|
+
/** The artifacts this one comes after, Stacks and assets alike. */
|
|
17
|
+
readonly dependencyArtifactIds: readonly string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Read the Stack artifacts a CDK cloud assembly holds.
|
|
21
|
+
*
|
|
22
|
+
* The manifest is the only file that knows about the set. Each Stack artifact
|
|
23
|
+
* carries the template file to deploy, the environment naming its region, and
|
|
24
|
+
* the artifacts it comes after.
|
|
25
|
+
*/
|
|
26
|
+
export declare function loadCdkAssemblyStacks(directoryPath: string): Promise<readonly SimCdkAssemblyStack[]>;
|
|
27
|
+
//# sourceMappingURL=sim-cdk-assembly-manifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-assembly-manifest.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-manifest.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AASjE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,2EAA2E;IAC3E,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAE5B,yCAAyC;IACzC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,0DAA0D;IAC1D,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAEhD,mEAAmE;IACnE,QAAQ,CAAC,qBAAqB,EAAE,SAAS,MAAM,EAAE,CAAC;CACnD;AAED;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CACzC,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,SAAS,mBAAmB,EAAE,CAAC,CAkBzC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { CDK_ASSEMBLY_MANIFEST_FILE_NAME, cdkEnvironmentRegionName, readCdkAssemblyArtifacts, } from "./sim-cdk-assembly-manifest-file.js";
|
|
3
|
+
const CDK_STACK_ARTIFACT_TYPE = "aws:cloudformation:stack";
|
|
4
|
+
/**
|
|
5
|
+
* Read the Stack artifacts a CDK cloud assembly holds.
|
|
6
|
+
*
|
|
7
|
+
* The manifest is the only file that knows about the set. Each Stack artifact
|
|
8
|
+
* carries the template file to deploy, the environment naming its region, and
|
|
9
|
+
* the artifacts it comes after.
|
|
10
|
+
*/
|
|
11
|
+
export async function loadCdkAssemblyStacks(directoryPath) {
|
|
12
|
+
const assemblyPath = path.resolve(directoryPath);
|
|
13
|
+
const artifacts = await readCdkAssemblyArtifacts(path.join(assemblyPath, CDK_ASSEMBLY_MANIFEST_FILE_NAME));
|
|
14
|
+
return Object.entries(artifacts)
|
|
15
|
+
.filter(([, artifact]) => artifact.type === CDK_STACK_ARTIFACT_TYPE)
|
|
16
|
+
.map(([artifactId, artifact]) => ({
|
|
17
|
+
artifactId,
|
|
18
|
+
stackName: artifact.properties?.stackName ?? artifactId,
|
|
19
|
+
templatePath: path.join(assemblyPath, artifact.properties?.templateFile ?? `${artifactId}.template.json`),
|
|
20
|
+
regionName: cdkEnvironmentRegionName(artifact.environment),
|
|
21
|
+
dependencyArtifactIds: artifact.dependencies ?? [],
|
|
22
|
+
}));
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=sim-cdk-assembly-manifest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-assembly-manifest.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-manifest.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EACL,+BAA+B,EAC/B,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAE7C,MAAM,uBAAuB,GAAG,0BAA0B,CAAC;AAwB3D;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,aAAqB;IAErB,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IACjD,MAAM,SAAS,GAAG,MAAM,wBAAwB,CAC9C,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,+BAA+B,CAAC,CACzD,CAAC;IAEF,OAAO,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC;SAC7B,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,KAAK,uBAAuB,CAAC;SACnE,GAAG,CAAC,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC;QAChC,UAAU;QACV,SAAS,EAAE,QAAQ,CAAC,UAAU,EAAE,SAAS,IAAI,UAAU;QACvD,YAAY,EAAE,IAAI,CAAC,IAAI,CACrB,YAAY,EACZ,QAAQ,CAAC,UAAU,EAAE,YAAY,IAAI,GAAG,UAAU,gBAAgB,CACnE;QACD,UAAU,EAAE,wBAAwB,CAAC,QAAQ,CAAC,WAAW,CAAC;QAC1D,qBAAqB,EAAE,QAAQ,CAAC,YAAY,IAAI,EAAE;KACnD,CAAC,CAAC,CAAC;AACR,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SimCdkAssemblyStack } from "./sim-cdk-assembly-manifest.js";
|
|
2
|
+
/**
|
|
3
|
+
* Put Stack artifacts into an order their dependencies allow.
|
|
4
|
+
*
|
|
5
|
+
* A Stack comes after every Stack it depends on. Artifacts outside the given
|
|
6
|
+
* set are left where they are, so a selected subset is ordered among itself
|
|
7
|
+
* and an assets artifact orders nothing.
|
|
8
|
+
*
|
|
9
|
+
* Stacks that depend on nothing keep the order the manifest holds them in.
|
|
10
|
+
*/
|
|
11
|
+
export declare function orderCdkAssemblyStacks(stacks: readonly SimCdkAssemblyStack[]): readonly SimCdkAssemblyStack[];
|
|
12
|
+
//# sourceMappingURL=sim-cdk-assembly-order.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-assembly-order.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-order.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE1E;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,SAAS,mBAAmB,EAAE,GACrC,SAAS,mBAAmB,EAAE,CAQhC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Put Stack artifacts into an order their dependencies allow.
|
|
3
|
+
*
|
|
4
|
+
* A Stack comes after every Stack it depends on. Artifacts outside the given
|
|
5
|
+
* set are left where they are, so a selected subset is ordered among itself
|
|
6
|
+
* and an assets artifact orders nothing.
|
|
7
|
+
*
|
|
8
|
+
* Stacks that depend on nothing keep the order the manifest holds them in.
|
|
9
|
+
*/
|
|
10
|
+
export function orderCdkAssemblyStacks(stacks) {
|
|
11
|
+
const ordering = new SimCdkAssemblyStackOrdering(stacks);
|
|
12
|
+
for (const stack of stacks) {
|
|
13
|
+
ordering.place(stack, []);
|
|
14
|
+
}
|
|
15
|
+
return ordering.ordered;
|
|
16
|
+
}
|
|
17
|
+
class SimCdkAssemblyStackOrdering {
|
|
18
|
+
ordered = [];
|
|
19
|
+
byArtifactId;
|
|
20
|
+
placed = new Set();
|
|
21
|
+
placing = new Set();
|
|
22
|
+
constructor(stacks) {
|
|
23
|
+
this.byArtifactId = new Map(stacks.map((stack) => [stack.artifactId, stack]));
|
|
24
|
+
}
|
|
25
|
+
place(stack, trail) {
|
|
26
|
+
if (this.placed.has(stack.artifactId)) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
this.assertNoCycle(stack, trail);
|
|
30
|
+
this.placing.add(stack.artifactId);
|
|
31
|
+
for (const dependency of this.dependenciesOf(stack)) {
|
|
32
|
+
this.place(dependency, [...trail, stack.artifactId]);
|
|
33
|
+
}
|
|
34
|
+
this.placing.delete(stack.artifactId);
|
|
35
|
+
this.placed.add(stack.artifactId);
|
|
36
|
+
this.ordered.push(stack);
|
|
37
|
+
}
|
|
38
|
+
dependenciesOf(stack) {
|
|
39
|
+
return stack.dependencyArtifactIds
|
|
40
|
+
.map((artifactId) => this.byArtifactId.get(artifactId))
|
|
41
|
+
.filter((dependency) => dependency !== undefined);
|
|
42
|
+
}
|
|
43
|
+
assertNoCycle(stack, trail) {
|
|
44
|
+
if (!this.placing.has(stack.artifactId)) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const cycle = [
|
|
48
|
+
...trail.slice(trail.indexOf(stack.artifactId)),
|
|
49
|
+
stack.artifactId,
|
|
50
|
+
];
|
|
51
|
+
throw new Error(`The CDK cloud assembly holds Stacks that depend on each other in a cycle, so there is no order to deploy them in: ${cycle.join(" -> ")}.`);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=sim-cdk-assembly-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-assembly-order.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-order.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,MAAM,UAAU,sBAAsB,CACpC,MAAsC;IAEtC,MAAM,QAAQ,GAAG,IAAI,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAEzD,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAC5B,CAAC;IAED,OAAO,QAAQ,CAAC,OAAO,CAAC;AAC1B,CAAC;AAED,MAAM,2BAA2B;IACf,OAAO,GAA0B,EAAE,CAAC;IAEnC,YAAY,CAAmC;IAC/C,MAAM,GAAG,IAAI,GAAG,EAAU,CAAC;IAC3B,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAE7C,YAAY,MAAsC;QAChD,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CACzB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE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AK,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YAC/C,KAAK,CAAC,UAAU;SACjB,CAAC;QAEF,MAAM,IAAI,KAAK,CACb,qHAAqH,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAC3I,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SimCdkAssemblyStack } from "./sim-cdk-assembly-manifest.js";
|
|
2
|
+
/**
|
|
3
|
+
* Pick the named Stack artifacts out of a CDK cloud assembly.
|
|
4
|
+
*
|
|
5
|
+
* A name matches the Stack name or the artifact ID, since a CDK app under a
|
|
6
|
+
* Stage deploys a Stack whose artifact ID is not what the Stack is called.
|
|
7
|
+
* Naming nothing takes every Stack in the assembly.
|
|
8
|
+
*
|
|
9
|
+
* Throws naming the Stacks the assembly does hold, which is what a caller who
|
|
10
|
+
* has just renamed one needs to see.
|
|
11
|
+
*/
|
|
12
|
+
export declare function selectCdkAssemblyStacks(properties: {
|
|
13
|
+
readonly stacks: readonly SimCdkAssemblyStack[];
|
|
14
|
+
readonly stackNames?: readonly string[] | undefined;
|
|
15
|
+
readonly directoryPath: string;
|
|
16
|
+
}): readonly SimCdkAssemblyStack[];
|
|
17
|
+
//# sourceMappingURL=sim-cdk-assembly-selection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-assembly-selection.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-selection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE1E;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,EAAE;IAClD,QAAQ,CAAC,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAChD,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACpD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC,GAAG,SAAS,mBAAmB,EAAE,CAcjC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { assertDefined } from "../../../util/type-guard/defined.js";
|
|
2
|
+
/**
|
|
3
|
+
* Pick the named Stack artifacts out of a CDK cloud assembly.
|
|
4
|
+
*
|
|
5
|
+
* A name matches the Stack name or the artifact ID, since a CDK app under a
|
|
6
|
+
* Stage deploys a Stack whose artifact ID is not what the Stack is called.
|
|
7
|
+
* Naming nothing takes every Stack in the assembly.
|
|
8
|
+
*
|
|
9
|
+
* Throws naming the Stacks the assembly does hold, which is what a caller who
|
|
10
|
+
* has just renamed one needs to see.
|
|
11
|
+
*/
|
|
12
|
+
export function selectCdkAssemblyStacks(properties) {
|
|
13
|
+
const { stacks, stackNames, directoryPath } = properties;
|
|
14
|
+
if (stackNames === undefined) {
|
|
15
|
+
return stacks;
|
|
16
|
+
}
|
|
17
|
+
const selected = new Set(stackNames.map((stackName) => selectOne({ stacks, stackName, directoryPath })));
|
|
18
|
+
return stacks.filter((stack) => selected.has(stack));
|
|
19
|
+
}
|
|
20
|
+
function selectOne(properties) {
|
|
21
|
+
const { stacks, stackName, directoryPath } = properties;
|
|
22
|
+
const selected = stacks.find((stack) => stack.stackName === stackName || stack.artifactId === stackName);
|
|
23
|
+
assertDefined(selected, `The CDK cloud assembly at ${directoryPath} holds no Stack named ${stackName}. ` +
|
|
24
|
+
`It holds ${stackNameList(stacks)}.`);
|
|
25
|
+
return selected;
|
|
26
|
+
}
|
|
27
|
+
function stackNameList(stacks) {
|
|
28
|
+
if (stacks.length === 0) {
|
|
29
|
+
return "no Stacks at all";
|
|
30
|
+
}
|
|
31
|
+
return stacks.map((stack) => stack.stackName).join(", ");
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=sim-cdk-assembly-selection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-assembly-selection.js","sourceRoot":"","sources":["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K,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3D,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AsyncMappedFactory } from "@kensio/part-factory";
|
|
2
|
+
import { TemporaryDirectory } from "../../../util/filesystem/temporary-directory.js";
|
|
3
|
+
import type { SimCfnTemplateValueRecord } from "../template/value/sim-cfn-template-value.js";
|
|
4
|
+
/**
|
|
5
|
+
* One synthesized Stack in a cloud assembly a test writes.
|
|
6
|
+
*/
|
|
7
|
+
export interface SimCdkCloudAssemblyStackInput {
|
|
8
|
+
/** The key the manifest holds the artifact under. */
|
|
9
|
+
readonly artifactId: string;
|
|
10
|
+
/** The name the Stack deploys as, which defaults to the artifact ID. */
|
|
11
|
+
readonly stackName?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* The region the Stack's environment names.
|
|
14
|
+
*
|
|
15
|
+
* Left out, the Stack is environment-agnostic, the way `cdk synth` writes a
|
|
16
|
+
* Stack given no `env`.
|
|
17
|
+
*/
|
|
18
|
+
readonly regionName?: string | undefined;
|
|
19
|
+
/** The artifact IDs the manifest says this Stack comes after. */
|
|
20
|
+
readonly dependencies?: readonly string[] | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The template's Resources, which default to one Bucket named after the
|
|
23
|
+
* artifact, so a test can find the Stack's work in the region it landed in.
|
|
24
|
+
*/
|
|
25
|
+
readonly resources?: SimCfnTemplateValueRecord | undefined;
|
|
26
|
+
/** The template's Outputs, which a Stack sharing a value needs. */
|
|
27
|
+
readonly outputs?: SimCfnTemplateValueRecord | undefined;
|
|
28
|
+
}
|
|
29
|
+
export interface SimCdkCloudAssemblyInput {
|
|
30
|
+
readonly stacks: readonly SimCdkCloudAssemblyStackInput[];
|
|
31
|
+
}
|
|
32
|
+
/** The Bucket a Stack in a written assembly creates, unless it is given others. */
|
|
33
|
+
export declare function assemblyStackBucketName(artifactId: string): string;
|
|
34
|
+
/**
|
|
35
|
+
* Writes a synthesized CDK cloud assembly to a temporary directory.
|
|
36
|
+
*
|
|
37
|
+
* What comes back is the directory holding it, so the assembly itself is at
|
|
38
|
+
* `directory.join("cdk.out")`.
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* const directory = await simCdkCloudAssemblyFactory.make({
|
|
42
|
+
* stacks: [
|
|
43
|
+
* { artifactId: "SiteStack", regionName: "eu-west-2" },
|
|
44
|
+
* { artifactId: "DnsStack", regionName: "us-east-1" },
|
|
45
|
+
* ],
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare const simCdkCloudAssemblyFactory: AsyncMappedFactory<SimCdkCloudAssemblyInput, TemporaryDirectory, undefined>;
|
|
50
|
+
//# sourceMappingURL=sim-cdk-cloud-assembly.factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-cloud-assembly.factory.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAErF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAE7F;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,qDAAqD;IACrD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAE5B,wEAAwE;IACxE,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAExC;;;;;OAKG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEzC,iEAAiE;IACjE,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAEtD;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAE3D,mEAAmE;IACnE,QAAQ,CAAC,OAAO,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAC1D;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,MAAM,EAAE,SAAS,6BAA6B,EAAE,CAAC;CAC3D;AAED,mFAAmF;AACnF,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAElE;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,0BAA0B,6EA6BtC,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { AsyncMappedFactory } from "@kensio/part-factory";
|
|
2
|
+
import { TemporaryDirectory } from "../../../util/filesystem/temporary-directory.js";
|
|
3
|
+
import { jsonStringify } from "../../../util/type-guard/json.js";
|
|
4
|
+
/** The Bucket a Stack in a written assembly creates, unless it is given others. */
|
|
5
|
+
export function assemblyStackBucketName(artifactId) {
|
|
6
|
+
return `${artifactId.toLowerCase()}-bucket`;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Writes a synthesized CDK cloud assembly to a temporary directory.
|
|
10
|
+
*
|
|
11
|
+
* What comes back is the directory holding it, so the assembly itself is at
|
|
12
|
+
* `directory.join("cdk.out")`.
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* const directory = await simCdkCloudAssemblyFactory.make({
|
|
16
|
+
* stacks: [
|
|
17
|
+
* { artifactId: "SiteStack", regionName: "eu-west-2" },
|
|
18
|
+
* { artifactId: "DnsStack", regionName: "us-east-1" },
|
|
19
|
+
* ],
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export const simCdkCloudAssemblyFactory = new AsyncMappedFactory(() => ({ stacks: [{ artifactId: "SiteStack", regionName: "eu-west-2" }] }), async (input) => {
|
|
24
|
+
const directory = new TemporaryDirectory();
|
|
25
|
+
await directory.writeFile(["cdk.out", "manifest.json"], jsonStringify(assemblyManifest(input.stacks)));
|
|
26
|
+
await Promise.all(input.stacks.map(async (stack) => directory.writeFile(["cdk.out", templateFileName(stack)],
|
|
27
|
+
// JSON.stringify drops an undefined value, so a Stack given no
|
|
28
|
+
// Outputs writes a template with none rather than a null one.
|
|
29
|
+
jsonStringify({
|
|
30
|
+
Resources: stackResources(stack),
|
|
31
|
+
Outputs: stack.outputs,
|
|
32
|
+
}))));
|
|
33
|
+
return directory;
|
|
34
|
+
});
|
|
35
|
+
function assemblyManifest(stacks) {
|
|
36
|
+
return {
|
|
37
|
+
version: "54.0.0",
|
|
38
|
+
artifacts: Object.fromEntries(stacks.map((stack) => [
|
|
39
|
+
stack.artifactId,
|
|
40
|
+
{
|
|
41
|
+
type: "aws:cloudformation:stack",
|
|
42
|
+
environment: `aws://111111111111/${stack.regionName ?? "unknown-region"}`,
|
|
43
|
+
displayName: stack.artifactId,
|
|
44
|
+
dependencies: [
|
|
45
|
+
...(stack.dependencies ?? []),
|
|
46
|
+
`${stack.artifactId}.assets`,
|
|
47
|
+
],
|
|
48
|
+
properties: {
|
|
49
|
+
templateFile: templateFileName(stack),
|
|
50
|
+
stackName: stack.stackName,
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
])),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function templateFileName(stack) {
|
|
57
|
+
return `${stack.artifactId}.template.json`;
|
|
58
|
+
}
|
|
59
|
+
function stackResources(stack) {
|
|
60
|
+
return (stack.resources ?? {
|
|
61
|
+
[`${stack.artifactId}Bucket`]: {
|
|
62
|
+
Type: "AWS::S3::Bucket",
|
|
63
|
+
Properties: {
|
|
64
|
+
BucketName: assemblyStackBucketName(stack.artifactId),
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=sim-cdk-cloud-assembly.factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cdk-cloud-assembly.factory.js","sourceRo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AAO,EAAE,QAAQ;QACjB,SAAS,EAAE,MAAM,CAAC,WAAW,CAC3B,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC;YACpB,KAAK,CAAC,UAAU;YAChB;gBACE,IAAI,EAAE,0BAA0B;gBAChC,WAAW,EAAE,sBAAsB,KAAK,CAAC,UAAU,IAAI,gBAAgB,EAAE;gBACzE,WAAW,EAAE,KAAK,CAAC,UAAU;gBAC7B,YAAY,EAAE;oBACZ,GAAG,CAAC,KAAK,CAAC,YAAY,IAAI,EAAE,CAAC;oBAC7B,GAAG,KAAK,CAAC,UAAU,SAAS;iBAC7B;gBACD,UAAU,EAAE;oBACV,YAAY,EAAE,gBAAgB,CAAC,KAAK,CAAC;oBACrC,SAAS,EAAE,KAAK,CAAC,SAAS;iBAC3B;aACF;SACF,CAAC,CACH;KACF,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAoC;IAC5D,OAAO,GAAG,KAAK,CAAC,UAAU,gBAAgB,CAAC;AAC7C,CAAC;AAED,SAAS,cAAc,CACrB,KAAoC;IAEpC,OAAO,CACL,KAAK,CAAC,SAAS,IAAI;QACjB,CAAC,GAAG,KAAK,CAAC,UAAU,QAAQ,CAAC,EAAE;YAC7B,IAAI,EAAE,iBAAiB;YACvB,UAAU,EAAE;gBACV,UAAU,EAAE,uBAAuB,CAAC,KAAK,CAAC,UAAU,CAAC;aACtD;SACF;KACF,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { SimCfnStack, type SimCloudFormationStackName } from "../../stack/sim-cf
|
|
|
6
6
|
import type { SimCreateStackCommand, SimCreateStackCommandOutput } from "./create-stack.command.js";
|
|
7
7
|
import type { SimCdkOutContext } from "../../cdk/sim-cdk-out-context.js";
|
|
8
8
|
import type { SimCfnDeployBinding } from "../../bind/sim-cfn-deploy-binding.js";
|
|
9
|
+
import type { SimCfnExports } from "../../export/sim-cfn-exports.js";
|
|
9
10
|
interface CreateStackCommandHandlerProperties {
|
|
10
11
|
readonly simAws: SimAws;
|
|
11
12
|
readonly accountRegionScope: SimAwsAccountRegionScope;
|
|
@@ -13,6 +14,7 @@ interface CreateStackCommandHandlerProperties {
|
|
|
13
14
|
readonly background: BackgroundScheduler & BackgroundCompleter;
|
|
14
15
|
readonly cdkOutContext?: SimCdkOutContext | undefined;
|
|
15
16
|
readonly bindings?: readonly SimCfnDeployBinding[] | undefined;
|
|
17
|
+
readonly exports?: SimCfnExports | undefined;
|
|
16
18
|
}
|
|
17
19
|
/**
|
|
18
20
|
* Simulated CloudFormation CreateStackCommand handler.
|
|
@@ -26,6 +28,7 @@ export declare class CreateStackCommandHandler implements CommandHandler<SimCrea
|
|
|
26
28
|
private readonly background;
|
|
27
29
|
private readonly cdkOutContext;
|
|
28
30
|
private readonly bindings;
|
|
31
|
+
private readonly exports;
|
|
29
32
|
constructor(properties: CreateStackCommandHandlerProperties);
|
|
30
33
|
/**
|
|
31
34
|
* Create a simulated CloudFormation Stack.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-stack.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/create-stack/create-stack.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EACL,WAAW,EACX,KAAK,0BAA0B,EAChC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"create-stack.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/create-stack/create-stack.hand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O,CAAC,QAAQ,CAAC,MAAM,CAA+C;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4C;IACvE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA+B;IAC7D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA6C;IACtE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IAEpD,YAAY,UAAU,EAAE,mCAAmC,EAkB1D;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,2BAA2B,CAAC,CAyDtC;CACF"}
|
|
@@ -3,6 +3,7 @@ import { SimCfnStack, } from "../../stack/sim-cfn-stack.js";
|
|
|
3
3
|
import { SimCloudFormationAlreadyExistsException } from "../../error/sim-cloudformation.error.js";
|
|
4
4
|
import { SimCfnTemplate, } from "../../template/sim-cfn-template.js";
|
|
5
5
|
import { SimCfnParameters } from "../../parameters/sim-cfn-parameters.js";
|
|
6
|
+
import { makeSimCfnParameterStore } from "../../parameters/store/sim-cfn-parameter-store.js";
|
|
6
7
|
/**
|
|
7
8
|
* Simulated CloudFormation CreateStackCommand handler.
|
|
8
9
|
*
|
|
@@ -15,14 +16,16 @@ export class CreateStackCommandHandler {
|
|
|
15
16
|
background;
|
|
16
17
|
cdkOutContext;
|
|
17
18
|
bindings;
|
|
19
|
+
exports;
|
|
18
20
|
constructor(properties) {
|
|
19
|
-
const { simAws, accountRegionScope, stacks, background, cdkOutContext, bindings, } = properties;
|
|
21
|
+
const { simAws, accountRegionScope, stacks, background, cdkOutContext, bindings, exports, } = properties;
|
|
20
22
|
this.simAws = simAws;
|
|
21
23
|
this.accountRegionScope = accountRegionScope;
|
|
22
24
|
this.stacks = stacks;
|
|
23
25
|
this.background = background;
|
|
24
26
|
this.cdkOutContext = cdkOutContext;
|
|
25
27
|
this.bindings = bindings;
|
|
28
|
+
this.exports = exports;
|
|
26
29
|
}
|
|
27
30
|
/**
|
|
28
31
|
* Create a simulated CloudFormation Stack.
|
|
@@ -36,12 +39,18 @@ export class CreateStackCommandHandler {
|
|
|
36
39
|
if (this.stacks.has(stackName)) {
|
|
37
40
|
throw new SimCloudFormationAlreadyExistsException(`Stack [${stackName}] already exists`);
|
|
38
41
|
}
|
|
39
|
-
const
|
|
42
|
+
const parameters = SimCfnParameters.fromInput(command.input, {
|
|
40
43
|
stackName,
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
parameterStore: makeSimCfnParameterStore({
|
|
45
|
+
simAws: this.simAws,
|
|
46
|
+
accountRegionScope: this.accountRegionScope,
|
|
43
47
|
}),
|
|
48
|
+
});
|
|
49
|
+
const template = SimCfnTemplate.fromJson(command.input.TemplateBody, {
|
|
50
|
+
stackName,
|
|
51
|
+
parameters,
|
|
44
52
|
accountRegionScope: this.accountRegionScope,
|
|
53
|
+
exports: this.exports,
|
|
45
54
|
});
|
|
46
55
|
const stack = new SimCfnStack({
|
|
47
56
|
simAws: this.simAws,
|
|
@@ -51,6 +60,7 @@ export class CreateStackCommandHandler {
|
|
|
51
60
|
template,
|
|
52
61
|
cdkOutContext: this.cdkOutContext,
|
|
53
62
|
bindings: this.bindings,
|
|
63
|
+
exports: this.exports,
|
|
54
64
|
});
|
|
55
65
|
this.stacks.set(stack.stackName, stack);
|
|
56
66
|
await stack.deploy();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-stack.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/create-stack/create-stack.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAOvE,OAAO,EACL,WAAW,GAEZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAKlG,OAAO,EAEL,cAAc,GACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"create-stack.handler.js","sourceRoot":"","sources":["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