@kensio/yulin 1.16.3 → 1.17.1
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/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 +3 -4
- package/dist/serve/http/api/sim-aws-api-endpoint.d.ts.map +1 -1
- package/dist/serve/http/api/sim-aws-api-endpoint.js +8 -23
- package/dist/serve/http/api/sim-aws-api-endpoint.js.map +1 -1
- 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/service/acm/certificate/register-sim-acm-certificate.d.ts +41 -0
- package/dist/service/acm/certificate/register-sim-acm-certificate.d.ts.map +1 -0
- package/dist/service/acm/certificate/register-sim-acm-certificate.js +60 -0
- package/dist/service/acm/certificate/register-sim-acm-certificate.js.map +1 -0
- package/dist/service/acm/command/request-certificate/request-certificate.handler.d.ts +9 -0
- package/dist/service/acm/command/request-certificate/request-certificate.handler.d.ts.map +1 -1
- package/dist/service/acm/command/request-certificate/request-certificate.handler.js +18 -1
- package/dist/service/acm/command/request-certificate/request-certificate.handler.js.map +1 -1
- package/dist/service/acm/sim-acm.d.ts +15 -0
- package/dist/service/acm/sim-acm.d.ts.map +1 -1
- package/dist/service/acm/sim-acm.js +21 -0
- package/dist/service/acm/sim-acm.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 +21 -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 +38 -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 +42 -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 +43 -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 +51 -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 +37 -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/cfn/iam/sim-iam-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.js +4 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.d.ts +28 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.js +33 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.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 +29 -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 +42 -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 +15 -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-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 +14 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.js +26 -8
- package/dist/service/cloudformation/stack/sim-cfn-stack.js.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts +7 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts.map +1 -1
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts +16 -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 +20 -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 +29 -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 +63 -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 +57 -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 +83 -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/cloudfront/command/create-function/create-function-code-size.d.ts +23 -0
- package/dist/service/cloudfront/command/create-function/create-function-code-size.d.ts.map +1 -0
- package/dist/service/cloudfront/command/create-function/create-function-code-size.js +33 -0
- package/dist/service/cloudfront/command/create-function/create-function-code-size.js.map +1 -0
- package/dist/service/cloudfront/command/create-function/create-function.handler.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-function/create-function.handler.js +2 -0
- package/dist/service/cloudfront/command/create-function/create-function.handler.js.map +1 -1
- package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +11 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
- package/dist/service/cloudfront/error/sim-cloudfront.error.js +13 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
- package/dist/service/cloudfront/index.d.ts +1 -1
- package/dist/service/cloudfront/index.d.ts.map +1 -1
- package/dist/service/cloudfront/index.js +1 -1
- package/dist/service/cloudfront/index.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.d.ts +6 -0
- package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.js +22 -6
- package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.d.ts +22 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.js +26 -0
- package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
- package/dist/service/cognito/index.d.ts +2 -1
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +1 -1
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts +24 -0
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js +26 -0
- package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +9 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -2
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.d.ts +22 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.js +36 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.js.map +1 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.d.ts +25 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.js +30 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.d.ts +40 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.js +2 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.d.ts +34 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.js +28 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts +9 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js +3 -2
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.d.ts +9 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.js +18 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +8 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +15 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.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/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts +40 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts.map +1 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js +65 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js.map +1 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts +1 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts.map +1 -1
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js +5 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js.map +1 -1
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts +11 -20
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts.map +1 -1
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js +29 -61
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js.map +1 -1
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.d.ts +38 -0
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.d.ts.map +1 -0
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.js +79 -0
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.js.map +1 -0
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.d.ts +2 -2
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.d.ts.map +1 -1
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.js +4 -2
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.js.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.d.ts +35 -0
- package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.d.ts.map +1 -0
- package/dist/service/iam/cfn/{role/sim-cfn-iam-role-policies-parser.js → sim-cfn-iam-policies-parser.js} +17 -12
- package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.js.map +1 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts +11 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js +25 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.d.ts +1 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.d.ts.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js +6 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js.map +1 -1
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts +28 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js +67 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts +26 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js +29 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.d.ts +38 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.d.ts.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.js +80 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.js.map +1 -0
- package/dist/service/iam/command/sim-iam-command.types.d.ts +3 -0
- package/dist/service/iam/command/sim-iam-command.types.d.ts.map +1 -1
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.d.ts +9 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.d.ts.map +1 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.js +2 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.js.map +1 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.d.ts +30 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.d.ts.map +1 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.js +44 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.js.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.d.ts +16 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.d.ts.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.js +2 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.js.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.d.ts +32 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.d.ts.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.js +59 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.js.map +1 -0
- package/dist/service/iam/command/user/create-user/create-user-record-factory.d.ts.map +1 -1
- package/dist/service/iam/command/user/create-user/create-user-record-factory.js +1 -0
- package/dist/service/iam/command/user/create-user/create-user-record-factory.js.map +1 -1
- package/dist/service/iam/command/user/delete-user/delete-user.command.d.ts +19 -0
- package/dist/service/iam/command/user/delete-user/delete-user.command.d.ts.map +1 -0
- package/dist/service/iam/command/user/delete-user/delete-user.command.js +2 -0
- package/dist/service/iam/command/user/delete-user/delete-user.command.js.map +1 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.d.ts +34 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.d.ts.map +1 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.js +51 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.js.map +1 -0
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.d.ts +15 -0
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.d.ts.map +1 -1
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.js +36 -0
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.js.map +1 -1
- package/dist/service/iam/sdk/sim-iam-sdk-command-router.d.ts.map +1 -1
- package/dist/service/iam/sdk/sim-iam-sdk-command-router.js +12 -0
- package/dist/service/iam/sdk/sim-iam-sdk-command-router.js.map +1 -1
- 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 +12 -0
- package/dist/service/iam/sim-iam.d.ts.map +1 -1
- package/dist/service/iam/sim-iam.js +18 -0
- package/dist/service/iam/sim-iam.js.map +1 -1
- package/dist/service/iam/user/sim-iam-user-login-profile.d.ts +14 -0
- package/dist/service/iam/user/sim-iam-user-login-profile.d.ts.map +1 -0
- package/dist/service/iam/user/sim-iam-user-login-profile.js +2 -0
- package/dist/service/iam/user/sim-iam-user-login-profile.js.map +1 -0
- package/dist/service/iam/user/sim-iam-user.d.ts +8 -0
- package/dist/service/iam/user/sim-iam-user.d.ts.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts +6 -5
- package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-executable-code.js +7 -6
- package/dist/service/lambda/function/code/sim-lambda-executable-code.js.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.d.ts +11 -3
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.d.ts.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.js +13 -7
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.js.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.d.ts +104 -0
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.d.ts.map +1 -0
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.js +133 -0
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.js.map +1 -0
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.d.ts +10 -0
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.d.ts.map +1 -1
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.js +11 -0
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.js.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.d.ts +2 -1
- package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.js +5 -2
- package/dist/service/lambda/function/sim-lambda-function.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/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 +10 -0
- package/dist/service/s3/bucket/sim-s3-bucket.d.ts.map +1 -1
- package/dist/service/s3/bucket/sim-s3-bucket.js +12 -0
- 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/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-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/get-object/get-object-loader.d.ts +5 -3
- package/dist/service/s3/command/get-object/get-object-loader.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object-loader.js +19 -4
- package/dist/service/s3/command/get-object/get-object-loader.js.map +1 -1
- package/dist/service/s3/command/get-object/get-object.command.d.ts +13 -0
- package/dist/service/s3/command/get-object/get-object.command.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object.handler.d.ts +3 -0
- package/dist/service/s3/command/get-object/get-object.handler.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object.handler.js +4 -1
- package/dist/service/s3/command/get-object/get-object.handler.js.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/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 +6 -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 +47 -0
- package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
- package/dist/service/s3/error/sim-s3.error.js +55 -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-range.d.ts +26 -0
- package/dist/service/s3/object/s3-object-range.d.ts.map +1 -0
- package/dist/service/s3/object/s3-object-range.js +89 -0
- package/dist/service/s3/object/s3-object-range.js.map +1 -0
- package/dist/service/s3/object/s3-object-response-headers.d.ts +7 -1
- package/dist/service/s3/object/s3-object-response-headers.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object-response-headers.js +5 -1
- package/dist/service/s3/object/s3-object-response-headers.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 +24 -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.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.js +8 -0
- package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-input.d.ts +0 -9
- package/dist/service/s3/serve/api/sim-s3-api-input.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-input.js +0 -23
- package/dist/service/s3/serve/api/sim-s3-api-input.js.map +1 -1
- 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-object-input.d.ts +27 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.js +47 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +10 -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 +38 -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.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +38 -2
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-output.js +15 -36
- package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-routes.js +2 -1
- package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.d.ts +7 -0
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.js +16 -1
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.js.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts +5 -0
- package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.js +20 -3
- package/dist/service/s3/serve/sim-s3-rest-object-reader.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 +12 -0
- package/dist/service/s3/sim-s3-operations.d.ts.map +1 -1
- package/dist/service/s3/sim-s3-operations.js +24 -0
- package/dist/service/s3/sim-s3-operations.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 +32 -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 +61 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.d.ts +14 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.js +26 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.d.ts +11 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.js +16 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.d.ts +40 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.js +67 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.d.ts +8 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.js +61 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.d.ts +19 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.js +37 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.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 +15 -0
- package/dist/service/ssm/sim-ssm.d.ts.map +1 -1
- package/dist/service/ssm/sim-ssm.js +21 -0
- package/dist/service/ssm/sim-ssm.js.map +1 -1
- package/dist/service/sts/serve/sim-sts-api.d.ts +7 -19
- package/dist/service/sts/serve/sim-sts-api.d.ts.map +1 -1
- package/dist/service/sts/serve/sim-sts-api.js +44 -48
- package/dist/service/sts/serve/sim-sts-api.js.map +1 -1
- package/dist/util/xml/xml-document.d.ts +4 -0
- package/dist/util/xml/xml-document.d.ts.map +1 -1
- package/dist/util/xml/xml-document.js +11 -0
- package/dist/util/xml/xml-document.js.map +1 -1
- package/package.json +1 -1
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.d.ts +0 -25
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.d.ts.map +0 -1
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.js.map +0 -1
- package/dist/service/sts/serve/sim-sts-query-request.d.ts +0 -19
- package/dist/service/sts/serve/sim-sts-query-request.d.ts.map +0 -1
- package/dist/service/sts/serve/sim-sts-query-request.js +0 -27
- package/dist/service/sts/serve/sim-sts-query-request.js.map +0 -1
- package/dist/service/sts/serve/sim-sts-query-response.d.ts +0 -15
- package/dist/service/sts/serve/sim-sts-query-response.d.ts.map +0 -1
- package/dist/service/sts/serve/sim-sts-query-response.js +0 -42
- package/dist/service/sts/serve/sim-sts-query-response.js.map +0 -1
|
@@ -32,6 +32,7 @@ export declare class SimCfnStack {
|
|
|
32
32
|
private readonly background;
|
|
33
33
|
private readonly operations;
|
|
34
34
|
private readonly operationStatus;
|
|
35
|
+
private readonly stackOutputs;
|
|
35
36
|
private cfnTemplate;
|
|
36
37
|
constructor(properties: SimCloudFormationStackProperties);
|
|
37
38
|
/** The externally visible Stack status. */
|
|
@@ -98,6 +99,18 @@ export declare class SimCfnStack {
|
|
|
98
99
|
* the hash CDK appended.
|
|
99
100
|
*/
|
|
100
101
|
getResource(logicalId: string): SimCfnResource | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Get one Stack Output's resolved value, as the string it is.
|
|
104
|
+
*
|
|
105
|
+
* The `outputs` map holds every resolved Output whole, including its
|
|
106
|
+
* description and its export name, typed as the union a parsed template can
|
|
107
|
+
* hold. A caller after the value alone wants the string CloudFormation would
|
|
108
|
+
* have answered with, and this hands it over already narrowed.
|
|
109
|
+
*
|
|
110
|
+
* An Output the template never declared throws, as does one that resolved to
|
|
111
|
+
* something other than a string.
|
|
112
|
+
*/
|
|
113
|
+
output(outputKey: string): string;
|
|
101
114
|
/** Resources skipped because their sim implementation is not available. */
|
|
102
115
|
get skippedResources(): readonly SimCfnResource[];
|
|
103
116
|
/** Resources deliberately created as nothing, because nothing reads them. */
|
|
@@ -106,7 +119,7 @@ export declare class SimCfnStack {
|
|
|
106
119
|
get skippedResourceDeletions(): readonly SimCfnResource[];
|
|
107
120
|
/** Resources a teardown left in simulated AWS, as their policy says to. */
|
|
108
121
|
get retainedResources(): readonly SimCfnResource[];
|
|
109
|
-
/** Every property
|
|
122
|
+
/** Every property or Parameter that did not reach simulated AWS as written. */
|
|
110
123
|
get ignoredProperties(): readonly SimCfnIgnoredProperty[];
|
|
111
124
|
private get report();
|
|
112
125
|
private createResources;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-stack.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,4BAA4B,EAC5B,KAAK,2BAA2B,EACjC,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAEhG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cfn-stack.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.ts"],"names":[],"mappings":"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"}
|
|
@@ -4,7 +4,8 @@ import { SimCfnStackResourceLookup } from "./resource-map/sim-cfn-stack-resource
|
|
|
4
4
|
import { SimCfnStackDeploymentLifecycle } from "./deploy/sim-cfn-stack-deployment-lifecycle.js";
|
|
5
5
|
import { SimCfnStackResourceOperations } from "./sim-cfn-stack-resource-operations.js";
|
|
6
6
|
import { SimCfnStackUpdateLifecycle } from "./update/sim-cfn-stack-update-lifecycle.js";
|
|
7
|
-
import {
|
|
7
|
+
import { SimCfnStackOutputs } from "./output/sim-cfn-stack-outputs.js";
|
|
8
|
+
import { SimCfnStackOutputLookup } from "./output/sim-cfn-stack-output-lookup.js";
|
|
8
9
|
import { SimCfnStackResourceReport } from "./report/sim-cfn-stack-resource-report.js";
|
|
9
10
|
import { SimCfnStackOperationStatus } from "./status/sim-cfn-stack-operation-status.js";
|
|
10
11
|
import { validateSimCfnExecutableResourceBindings } from "../bind/validate/sim-cfn-exec-binding-validator.js";
|
|
@@ -34,11 +35,13 @@ export class SimCfnStack {
|
|
|
34
35
|
background;
|
|
35
36
|
operations;
|
|
36
37
|
operationStatus;
|
|
38
|
+
stackOutputs;
|
|
37
39
|
cfnTemplate;
|
|
38
40
|
constructor(properties) {
|
|
39
|
-
const { simAws, accountRegionScope, background, stackName, template, cdkOutContext, bindings, } = properties;
|
|
41
|
+
const { simAws, accountRegionScope, background, stackName, template, cdkOutContext, bindings, exports, } = properties;
|
|
40
42
|
this.background = background;
|
|
41
43
|
this.stackName = stackName;
|
|
44
|
+
this.stackOutputs = new SimCfnStackOutputs({ stackName, exports });
|
|
42
45
|
this.cfnTemplate = template;
|
|
43
46
|
this.template = this.cfnTemplate.template;
|
|
44
47
|
this.resources = makeSimCfnStackResourceMap({
|
|
@@ -168,6 +171,7 @@ export class SimCfnStack {
|
|
|
168
171
|
*/
|
|
169
172
|
async teardown() {
|
|
170
173
|
await this.operations.deleteAll(this.resources);
|
|
174
|
+
this.stackOutputs.release();
|
|
171
175
|
}
|
|
172
176
|
/**
|
|
173
177
|
* Get a Stack Resource by logical ID, or by the CDK construct ID a
|
|
@@ -180,6 +184,23 @@ export class SimCfnStack {
|
|
|
180
184
|
getResource(logicalId) {
|
|
181
185
|
return new SimCfnStackResourceLookup(this.resources).find(logicalId);
|
|
182
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* Get one Stack Output's resolved value, as the string it is.
|
|
189
|
+
*
|
|
190
|
+
* The `outputs` map holds every resolved Output whole, including its
|
|
191
|
+
* description and its export name, typed as the union a parsed template can
|
|
192
|
+
* hold. A caller after the value alone wants the string CloudFormation would
|
|
193
|
+
* have answered with, and this hands it over already narrowed.
|
|
194
|
+
*
|
|
195
|
+
* An Output the template never declared throws, as does one that resolved to
|
|
196
|
+
* something other than a string.
|
|
197
|
+
*/
|
|
198
|
+
output(outputKey) {
|
|
199
|
+
return new SimCfnStackOutputLookup({
|
|
200
|
+
stackName: this.stackName,
|
|
201
|
+
outputs: this.outputs,
|
|
202
|
+
}).value(outputKey);
|
|
203
|
+
}
|
|
183
204
|
/** Resources skipped because their sim implementation is not available. */
|
|
184
205
|
get skippedResources() {
|
|
185
206
|
return this.report.skipped;
|
|
@@ -196,22 +217,19 @@ export class SimCfnStack {
|
|
|
196
217
|
get retainedResources() {
|
|
197
218
|
return this.report.retained;
|
|
198
219
|
}
|
|
199
|
-
/** Every property
|
|
220
|
+
/** Every property or Parameter that did not reach simulated AWS as written. */
|
|
200
221
|
get ignoredProperties() {
|
|
201
222
|
return this.report.ignoredProperties;
|
|
202
223
|
}
|
|
203
224
|
get report() {
|
|
204
|
-
return new SimCfnStackResourceReport(this.resources);
|
|
225
|
+
return new SimCfnStackResourceReport(this.resources, this.cfnTemplate);
|
|
205
226
|
}
|
|
206
227
|
async createResources() {
|
|
207
228
|
await this.operations.createAll(this.resources);
|
|
208
229
|
this.resolveOutputs();
|
|
209
230
|
}
|
|
210
231
|
resolveOutputs() {
|
|
211
|
-
this.outputs =
|
|
212
|
-
template: this.cfnTemplate,
|
|
213
|
-
resources: this.resources,
|
|
214
|
-
}).resolve();
|
|
232
|
+
this.outputs = this.stackOutputs.resolve(this.cfnTemplate, this.resources);
|
|
215
233
|
}
|
|
216
234
|
}
|
|
217
235
|
export {} from "./sim-cfn-stack.type.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-stack.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,4BAA4B,GAE7B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CAAC;AAC5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"sim-cfn-stack.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.ts"],"names":[],"mappings":"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"}
|
|
@@ -5,6 +5,7 @@ import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-
|
|
|
5
5
|
import type { SimCfnTemplate } from "../template/sim-cfn-template.js";
|
|
6
6
|
import type { SimCdkOutContext } from "../cdk/sim-cdk-out-context.js";
|
|
7
7
|
import type { SimCfnDeployBinding } from "../bind/sim-cfn-deploy-binding.js";
|
|
8
|
+
import type { SimCfnExports } from "../export/sim-cfn-exports.js";
|
|
8
9
|
export type SimCloudFormationStackName = Brand<string, "SimCloudFormationStackName">;
|
|
9
10
|
export type SimCloudFormationStackStatus = "REVIEW_IN_PROGRESS" | "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED";
|
|
10
11
|
export interface SimCfnStackUpdateProperties {
|
|
@@ -24,5 +25,11 @@ export interface SimCloudFormationStackProperties {
|
|
|
24
25
|
readonly template: SimCfnTemplate;
|
|
25
26
|
readonly cdkOutContext?: SimCdkOutContext | undefined;
|
|
26
27
|
readonly bindings?: readonly SimCfnDeployBinding[] | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The export names published in the Account and Region this Stack deploys
|
|
30
|
+
* into. This Stack publishes its own Outputs here and reads the ones its
|
|
31
|
+
* `Fn::ImportValue` expressions name.
|
|
32
|
+
*/
|
|
33
|
+
readonly exports?: SimCfnExports | undefined;
|
|
27
34
|
}
|
|
28
35
|
//# sourceMappingURL=sim-cfn-stack.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-stack.type.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cfn-stack.type.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAC5C,MAAM,EACN,4BAA4B,CAC7B,CAAC;AAEF,MAAM,MAAM,4BAA4B,GACpC,oBAAoB,GACpB,oBAAoB,GACpB,iBAAiB,GACjB,eAAe,GACf,oBAAoB,GACpB,iBAAiB,GACjB,eAAe,GACf,oBAAoB,GACpB,iBAAiB,GACjB,eAAe,CAAC;AAEpB,MAAM,WAAW,2BAA2B;IAC1C;;;;;OAKG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACvD;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,SAAS,EAAE,0BAA0B,CAAC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAE/D;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CAC9C"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SimAws } from "../../../aws/sim-aws.js";
|
|
2
|
+
import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
|
|
3
|
+
import type { SimCfnPropertyIgnorer } from "../../resource/ignore/sim-cfn-ignored-property.type.js";
|
|
4
|
+
import { SimCfnDynamicReferences } from "./sim-cfn-dynamic-references.js";
|
|
5
|
+
interface MakeSimCfnDynamicReferencesProperties {
|
|
6
|
+
readonly simAws: SimAws;
|
|
7
|
+
readonly accountRegionScope: SimAwsAccountRegionScope;
|
|
8
|
+
readonly propertyIgnorer?: SimCfnPropertyIgnorer | undefined;
|
|
9
|
+
readonly resourceType?: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Build the dynamic reference resolvers for one Account and Region scope.
|
|
13
|
+
*/
|
|
14
|
+
export declare function makeSimCfnDynamicReferences(properties: MakeSimCfnDynamicReferencesProperties): SimCfnDynamicReferences;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=make-sim-cfn-dynamic-references.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"make-sim-cfn-dynamic-references.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AACpG,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAG1E,UAAU,qCAAqC;IAC7C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,eAAe,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC7D,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5C;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,qCAAqC,GAChD,uBAAuB,CAqBzB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SimCfnDynamicReferences } from "./sim-cfn-dynamic-references.js";
|
|
2
|
+
import { simCfnDynamicReferenceResolvers } from "./sim-cfn-dynamic-reference-resolvers.js";
|
|
3
|
+
/**
|
|
4
|
+
* Build the dynamic reference resolvers for one Account and Region scope.
|
|
5
|
+
*/
|
|
6
|
+
export function makeSimCfnDynamicReferences(properties) {
|
|
7
|
+
const { simAws, accountRegionScope, propertyIgnorer, resourceType } = properties;
|
|
8
|
+
const scopedAws = simAws.accountRegionScope(accountRegionScope.accountId, accountRegionScope.regionName);
|
|
9
|
+
return new SimCfnDynamicReferences({
|
|
10
|
+
propertyIgnorer,
|
|
11
|
+
resourceType,
|
|
12
|
+
resolvers: new Map(simCfnDynamicReferenceResolvers
|
|
13
|
+
.entries()
|
|
14
|
+
.map(([service, resolver]) => [
|
|
15
|
+
service,
|
|
16
|
+
resolver({ simAws, scopedAws }),
|
|
17
|
+
])),
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=make-sim-cfn-dynamic-references.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"make-sim-cfn-dynamic-references.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAS3F;;GAEG;AACH,MAAM,UAAU,2BAA2B,CACzC,UAAiD;IAEjD,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,eAAe,EAAE,YAAY,EAAE,GACjE,UAAU,CAAC;IAEb,MAAM,SAAS,GAAG,MAAM,CAAC,kBAAkB,CACzC,kBAAkB,CAAC,SAAS,EAC5B,kBAAkB,CAAC,UAAU,CAC9B,CAAC;IAEF,OAAO,IAAI,uBAAuB,CAAC;QACjC,eAAe;QACf,YAAY;QACZ,SAAS,EAAE,IAAI,GAAG,CAChB,+BAA+B;aAC5B,OAAO,EAAE;aACT,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC;YAC5B,OAAO;YACP,QAAQ,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;SAChC,CAAC,CACL;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { SimCfnDynamicReferenceResolution } from "./sim-cfn-dynamic-reference.type.js";
|
|
2
|
+
/**
|
|
3
|
+
* One reference, once the service reading it has answered.
|
|
4
|
+
*
|
|
5
|
+
* The property the reference sat on is carried here rather than looked up
|
|
6
|
+
* later. The path is only knowable while resolution is inside that property,
|
|
7
|
+
* and by the time the service answers, resolution has moved on.
|
|
8
|
+
*/
|
|
9
|
+
export interface SimCfnSettledDynamicReference {
|
|
10
|
+
readonly placeholder: string;
|
|
11
|
+
readonly path: string;
|
|
12
|
+
readonly resolution: SimCfnDynamicReferenceResolution;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The references of one property resolution that a service is still reading.
|
|
16
|
+
*
|
|
17
|
+
* Each one is held behind a marker while the properties resolve around it. The
|
|
18
|
+
* markers come back in the order the properties were resolved in, so a
|
|
19
|
+
* template holding two references records them in the order it wrote them.
|
|
20
|
+
*/
|
|
21
|
+
export declare class SimCfnAwaitedDynamicReferences {
|
|
22
|
+
private readonly awaited;
|
|
23
|
+
/**
|
|
24
|
+
* What this resolution's markers are marked with.
|
|
25
|
+
*
|
|
26
|
+
* A marker is text in a resolved property until the service answers, so it
|
|
27
|
+
* has to be one nothing else can produce. A property that was written to
|
|
28
|
+
* look like a marker misses this marking and is left as it was written.
|
|
29
|
+
*/
|
|
30
|
+
private readonly marking;
|
|
31
|
+
/** Whether every reference was answered as the properties resolved. */
|
|
32
|
+
get isEmpty(): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Hold one reference, and take the marker standing in for it.
|
|
35
|
+
*/
|
|
36
|
+
hold(resolution: Promise<SimCfnDynamicReferenceResolution>, path: string): string;
|
|
37
|
+
/**
|
|
38
|
+
* Wait for every service to answer.
|
|
39
|
+
*/
|
|
40
|
+
settled(): Promise<readonly SimCfnSettledDynamicReference[]>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=sim-cfn-awaited-dynamic-references.d.ts.map
|
package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-awaited-dynamic-references.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AAE5F;;;;;;GAMG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,gCAAgC,CAAC;CACvD;AAQD;;;;;;GAMG;AACH,qBAAa,8BAA8B;IACzC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAE/D;;;;;;OAMG;IACH,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmC;IAE3D,uEAAuE;IACvE,IAAI,OAAO,IAAI,OAAO,CAErB;IAED;;OAEG;IACH,IAAI,CACF,UAAU,EAAE,OAAO,CAAC,gCAAgC,CAAC,EACrD,IAAI,EAAE,MAAM,GACX,MAAM,CASR;IAED;;OAEG;IACG,OAAO,IAAI,OAAO,CAAC,SAAS,6BAA6B,EAAE,CAAC,CAOjE;CACF"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { simCfnDynamicReferenceMarking, simCfnDynamicReferencePlaceholder, } from "./sim-cfn-dynamic-reference-placeholder.js";
|
|
2
|
+
/**
|
|
3
|
+
* The references of one property resolution that a service is still reading.
|
|
4
|
+
*
|
|
5
|
+
* Each one is held behind a marker while the properties resolve around it. The
|
|
6
|
+
* markers come back in the order the properties were resolved in, so a
|
|
7
|
+
* template holding two references records them in the order it wrote them.
|
|
8
|
+
*/
|
|
9
|
+
export class SimCfnAwaitedDynamicReferences {
|
|
10
|
+
awaited = [];
|
|
11
|
+
/**
|
|
12
|
+
* What this resolution's markers are marked with.
|
|
13
|
+
*
|
|
14
|
+
* A marker is text in a resolved property until the service answers, so it
|
|
15
|
+
* has to be one nothing else can produce. A property that was written to
|
|
16
|
+
* look like a marker misses this marking and is left as it was written.
|
|
17
|
+
*/
|
|
18
|
+
marking = simCfnDynamicReferenceMarking();
|
|
19
|
+
/** Whether every reference was answered as the properties resolved. */
|
|
20
|
+
get isEmpty() {
|
|
21
|
+
return this.awaited.length === 0;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Hold one reference, and take the marker standing in for it.
|
|
25
|
+
*/
|
|
26
|
+
hold(resolution, path) {
|
|
27
|
+
const placeholder = simCfnDynamicReferencePlaceholder(this.marking, this.awaited.length);
|
|
28
|
+
this.awaited.push({ placeholder, path, resolution });
|
|
29
|
+
return placeholder;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Wait for every service to answer.
|
|
33
|
+
*/
|
|
34
|
+
async settled() {
|
|
35
|
+
return await Promise.all(this.awaited.map(async (reference) => ({
|
|
36
|
+
...reference,
|
|
37
|
+
resolution: await reference.resolution,
|
|
38
|
+
})));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=sim-cfn-awaited-dynamic-references.js.map
|
package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-awaited-dynamic-references.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,GAClC,MAAM,4CAA4C,CAAC;AAsBpD;;;;;;GAMG;AACH,MAAM,OAAO,8BAA8B;IACxB,OAAO,GAAoC,EAAE,CAAC;IAE/D;;;;;;OAMG;IACc,OAAO,GAAG,6BAA6B,EAAE,CAAC;IAE3D,uEAAuE;IACvE,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC;IACnC,CAAC;IAED;;OAEG;IACH,IAAI,CACF,UAAqD,EACrD,IAAY;QAEZ,MAAM,WAAW,GAAG,iCAAiC,CACnD,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,OAAO,CAAC,MAAM,CACpB,CAAC;QAEF,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;QAErD,OAAO,WAAW,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,OAAO;QACX,OAAO,MAAM,OAAO,CAAC,GAAG,CACtB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;YACrC,GAAG,SAAS;YACZ,UAAU,EAAE,MAAM,SAAS,CAAC,UAAU;SACvC,CAAC,CAAC,CACJ,CAAC;IACJ,CAAC;CACF"}
|
package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SimCfnTemplateValueRecord } from "../value/sim-cfn-template-value.js";
|
|
2
|
+
/**
|
|
3
|
+
* What one resolution's markers are marked with, so that no other resolution
|
|
4
|
+
* and nothing a template wrote produces the same marker.
|
|
5
|
+
*/
|
|
6
|
+
export declare function simCfnDynamicReferenceMarking(): string;
|
|
7
|
+
/**
|
|
8
|
+
* The marker standing in for the reference at this position in a resolution.
|
|
9
|
+
*/
|
|
10
|
+
export declare function simCfnDynamicReferencePlaceholder(marking: string, position: number): string;
|
|
11
|
+
/**
|
|
12
|
+
* Replace every marker in a resolved template object with the value the
|
|
13
|
+
* service answered with.
|
|
14
|
+
*
|
|
15
|
+
* A marker sits inside a string rather than being one, since a reference can
|
|
16
|
+
* be written into the middle of a longer value, so each string is rewritten
|
|
17
|
+
* rather than swapped. The rewrite goes through a function so that a value
|
|
18
|
+
* holding `$&` or `$1` arrives as it was written.
|
|
19
|
+
*/
|
|
20
|
+
export declare function fillSimCfnDynamicReferencePlaceholders(properties: SimCfnTemplateValueRecord, values: ReadonlyMap<string, string>): SimCfnTemplateValueRecord;
|
|
21
|
+
//# sourceMappingURL=sim-cfn-dynamic-reference-placeholder.d.ts.map
|
package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-dynamic-reference-placeholder.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,yBAAyB,EAC1B,MAAM,oCAAoC,CAAC;AAuB5C;;;GAGG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,CAEtD;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,MAAM,CAER;AAED;;;;;;;;GAQG;AACH,wBAAgB,sCAAsC,CACpD,UAAU,EAAE,yBAAyB,EACrC,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GAClC,yBAAyB,CAE3B"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { randomBytes } from "node:crypto";
|
|
2
|
+
/**
|
|
3
|
+
* What stands in a resolved string for a reference still being read.
|
|
4
|
+
*
|
|
5
|
+
* Property resolution is synchronous, and a service such as Secrets Manager
|
|
6
|
+
* cannot answer a reference without being waited on. The substitution
|
|
7
|
+
* therefore happens in two steps. A marker goes into the string while the
|
|
8
|
+
* template resolves, and the value replaces it once the service has answered.
|
|
9
|
+
*
|
|
10
|
+
* The marker is wrapped in a private use character (one nothing in a
|
|
11
|
+
* CloudFormation template holds) and carries random bytes of its own. A
|
|
12
|
+
* property holding text a template author wrote is therefore left alone, even
|
|
13
|
+
* where that text was written to look like a marker. While it is in flight the
|
|
14
|
+
* marker is opaque text, which is what an intrinsic function reading the
|
|
15
|
+
* string around it sees. An `Fn::Split` over a value the service has yet to
|
|
16
|
+
* answer with splits the marker.
|
|
17
|
+
*/
|
|
18
|
+
const placeholderPattern = /\u{E000}dynamic-reference-[\da-f]+-\d+\u{E000}/gu;
|
|
19
|
+
/** How many random bytes each resolution's markers are marked with. */
|
|
20
|
+
const markingLength = 8;
|
|
21
|
+
/**
|
|
22
|
+
* What one resolution's markers are marked with, so that no other resolution
|
|
23
|
+
* and nothing a template wrote produces the same marker.
|
|
24
|
+
*/
|
|
25
|
+
export function simCfnDynamicReferenceMarking() {
|
|
26
|
+
return randomBytes(markingLength).toString("hex");
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The marker standing in for the reference at this position in a resolution.
|
|
30
|
+
*/
|
|
31
|
+
export function simCfnDynamicReferencePlaceholder(marking, position) {
|
|
32
|
+
return `\u{E000}dynamic-reference-${marking}-${String(position)}\u{E000}`;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Replace every marker in a resolved template object with the value the
|
|
36
|
+
* service answered with.
|
|
37
|
+
*
|
|
38
|
+
* A marker sits inside a string rather than being one, since a reference can
|
|
39
|
+
* be written into the middle of a longer value, so each string is rewritten
|
|
40
|
+
* rather than swapped. The rewrite goes through a function so that a value
|
|
41
|
+
* holding `$&` or `$1` arrives as it was written.
|
|
42
|
+
*/
|
|
43
|
+
export function fillSimCfnDynamicReferencePlaceholders(properties, values) {
|
|
44
|
+
return filledRecord(properties, values);
|
|
45
|
+
}
|
|
46
|
+
function filled(value, values) {
|
|
47
|
+
if (typeof value === "string") {
|
|
48
|
+
return value.replaceAll(placeholderPattern, (marker) => values.get(marker) ?? marker);
|
|
49
|
+
}
|
|
50
|
+
if (Array.isArray(value)) {
|
|
51
|
+
return value.map((entry) => filled(entry, values));
|
|
52
|
+
}
|
|
53
|
+
if (value !== null && typeof value === "object") {
|
|
54
|
+
return filledRecord(value, values);
|
|
55
|
+
}
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
function filledRecord(record, values) {
|
|
59
|
+
return Object.fromEntries(Object.entries(record).map(([key, value]) => [key, filled(value, values)]));
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=sim-cfn-dynamic-reference-placeholder.js.map
|
package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-dynamic-reference-placeholder.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C;;;;;;;;;;;;;;;GAeG;AACH,MAAM,kBAAkB,GAAG,kDAAkD,CAAC;AAE9E,uEAAuE;AACvE,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB;;;GAGG;AACH,MAAM,UAAU,6BAA6B;IAC3C,OAAO,WAAW,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACpD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iCAAiC,CAC/C,OAAe,EACf,QAAgB;IAEhB,OAAO,6BAA6B,OAAO,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC;AAC5E,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,sCAAsC,CACpD,UAAqC,EACrC,MAAmC;IAEnC,OAAO,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAC1C,CAAC;AAED,SAAS,MAAM,CACb,KAA0B,EAC1B,MAAmC;IAEnC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,KAAK,CAAC,UAAU,CACrB,kBAAkB,EAClB,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,MAAM,CACzC,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;IACrD,CAAC;IAED,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAChD,OAAO,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACrC,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,YAAY,CACnB,MAAiC,EACjC,MAAmC;IAEnC,OAAO,MAAM,CAAC,WAAW,CACvB,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAC3E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { SimAws } from "../../../aws/sim-aws.js";
|
|
2
|
+
import type { SimAwsAccountRegionContainer } from "../../../aws/sim-aws-account-region-scope.js";
|
|
3
|
+
import type { SimCfnDynamicReferenceResolver } from "./sim-cfn-dynamic-reference.type.js";
|
|
4
|
+
/**
|
|
5
|
+
* The simulation a dynamic reference resolver is built against.
|
|
6
|
+
*
|
|
7
|
+
* A reference reads the Stack's own Account and Region, which is what
|
|
8
|
+
* `scopedAws` is. The whole simulation comes with it because a reference can
|
|
9
|
+
* name another Account. A `secretsmanager` reference carrying a secret ARN
|
|
10
|
+
* reads the Account that ARN names, as real CloudFormation does.
|
|
11
|
+
*/
|
|
12
|
+
interface SimCfnDynamicReferenceSimulation {
|
|
13
|
+
readonly simAws: SimAws;
|
|
14
|
+
readonly scopedAws: SimAwsAccountRegionContainer;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* How one simulated service hands over its dynamic reference resolver, given
|
|
18
|
+
* the simulation the Stack is deploying into.
|
|
19
|
+
*/
|
|
20
|
+
type SimCfnScopedDynamicReferenceResolver = (simulation: SimCfnDynamicReferenceSimulation) => SimCfnDynamicReferenceResolver;
|
|
21
|
+
/**
|
|
22
|
+
* The simulated service behind each `{{resolve:<service>:...}}` reference.
|
|
23
|
+
*
|
|
24
|
+
* The same shape as the Resource factory registry, for the same reason. A
|
|
25
|
+
* service name with no entry here leaves its references in the template as
|
|
26
|
+
* written, so a template using one this simulation has yet to implement still
|
|
27
|
+
* deploys everything else.
|
|
28
|
+
*/
|
|
29
|
+
export declare const simCfnDynamicReferenceResolvers: ReadonlyMap<string, SimCfnScopedDynamicReferenceResolver>;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=sim-cfn-dynamic-reference-resolvers.d.ts.map
|
package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-dynamic-reference-resolvers.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAEjG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE1F;;;;;;;GAOG;AACH,UAAU,gCAAgC;IACxC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,4BAA4B,CAAC;CAClD;AAED;;;GAGG;AACH,KAAK,oCAAoC,GAAG,CAC1C,UAAU,EAAE,gCAAgC,KACzC,8BAA8B,CAAC;AAEpC;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B,EAAE,WAAW,CACvD,MAAM,EACN,oCAAoC,CAuBpC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SimCfnSecretsManagerDynamicReferenceResolver } from "../../../secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.js";
|
|
2
|
+
/**
|
|
3
|
+
* The simulated service behind each `{{resolve:<service>:...}}` reference.
|
|
4
|
+
*
|
|
5
|
+
* The same shape as the Resource factory registry, for the same reason. A
|
|
6
|
+
* service name with no entry here leaves its references in the template as
|
|
7
|
+
* written, so a template using one this simulation has yet to implement still
|
|
8
|
+
* deploys everything else.
|
|
9
|
+
*/
|
|
10
|
+
export const simCfnDynamicReferenceResolvers = new Map([
|
|
11
|
+
[
|
|
12
|
+
"ssm",
|
|
13
|
+
({ scopedAws }) => scopedAws.ssm().cfnDynamicReferenceResolver(),
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
"ssm-secure",
|
|
17
|
+
({ scopedAws }) => scopedAws.ssm().cfnSecureDynamicReferenceResolver(),
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"secretsmanager",
|
|
21
|
+
({ simAws, scopedAws }) => new SimCfnSecretsManagerDynamicReferenceResolver({
|
|
22
|
+
secretsManager: scopedAws.secretsManager(),
|
|
23
|
+
secretsManagerIn: (scope) => simAws
|
|
24
|
+
.accountRegionScope(scope.accountId, scope.regionName)
|
|
25
|
+
.secretsManager(),
|
|
26
|
+
}),
|
|
27
|
+
],
|
|
28
|
+
]);
|
|
29
|
+
//# sourceMappingURL=sim-cfn-dynamic-reference-resolvers.js.map
|
package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-dynamic-reference-resolvers.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4CAA4C,EAAE,MAAM,2FAA2F,CAAC;AAwBzJ;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAGxC,IAAI,GAAG,CAAC;IACV;QACE,KAAK;QACL,CAAC,EAAE,SAAS,EAAE,EAAkC,EAAE,CAChD,SAAS,CAAC,GAAG,EAAE,CAAC,2BAA2B,EAAE;KAChD;IACD;QACE,YAAY;QACZ,CAAC,EAAE,SAAS,EAAE,EAAkC,EAAE,CAChD,SAAS,CAAC,GAAG,EAAE,CAAC,iCAAiC,EAAE;KACtD;IACD;QACE,gBAAgB;QAChB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAkC,EAAE,CACxD,IAAI,4CAA4C,CAAC;YAC/C,cAAc,EAAE,SAAS,CAAC,cAAc,EAAE;YAC1C,gBAAgB,EAAE,CAAC,KAAK,EAAE,EAAE,CAC1B,MAAM;iBACH,kBAAkB,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC;iBACrD,cAAc,EAAE;SACtB,CAAC;KACL;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SimCfnDynamicReference } from "./sim-cfn-dynamic-reference.type.js";
|
|
2
|
+
/**
|
|
3
|
+
* What a caller answers each reference with.
|
|
4
|
+
*
|
|
5
|
+
* Answering `undefined` leaves the reference in the string as it was written,
|
|
6
|
+
* which is what happens for a service this simulation has no resolver for.
|
|
7
|
+
*/
|
|
8
|
+
type SimCfnDynamicReferenceSubstitution = (reference: SimCfnDynamicReference) => string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Whether a string holds anything worth scanning.
|
|
11
|
+
*/
|
|
12
|
+
export declare function hasSimCfnDynamicReference(text: string): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Replace every dynamic reference in a string with what the caller answers.
|
|
15
|
+
*
|
|
16
|
+
* The text around each reference is untouched, so a value written as
|
|
17
|
+
* `prefix-{{resolve:ssm:name}}-suffix` keeps its prefix and suffix.
|
|
18
|
+
*/
|
|
19
|
+
export declare function substituteSimCfnDynamicReferences(text: string, substitute: SimCfnDynamicReferenceSubstitution): string;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=sim-cfn-dynamic-reference-scan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-dynamic-reference-scan.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAiBlF;;;;;GAKG;AACH,KAAK,kCAAkC,GAAG,CACxC,SAAS,EAAE,sBAAsB,KAC9B,MAAM,GAAG,SAAS,CAAC;AAExB;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED;;;;;GAKG;AACH,wBAAgB,iCAAiC,CAC/C,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,kCAAkC,GAC7C,MAAM,CAiBR"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The opening of every dynamic reference, used to skip strings holding none.
|
|
3
|
+
*/
|
|
4
|
+
const dynamicReferenceOpening = "{{resolve:";
|
|
5
|
+
/**
|
|
6
|
+
* One dynamic reference inside a larger string.
|
|
7
|
+
*
|
|
8
|
+
* The body runs to the first `}`, which is what stops a reference from eating
|
|
9
|
+
* the rest of the value it sits in. No segment of any reference CloudFormation
|
|
10
|
+
* documents may hold a brace, and a secret ARN's colons are left for the
|
|
11
|
+
* service reading the body to split.
|
|
12
|
+
*/
|
|
13
|
+
const dynamicReferencePattern = /\{\{resolve:([A-Za-z][\w-]*):([^{}]*)\}\}/g;
|
|
14
|
+
/**
|
|
15
|
+
* Whether a string holds anything worth scanning.
|
|
16
|
+
*/
|
|
17
|
+
export function hasSimCfnDynamicReference(text) {
|
|
18
|
+
return text.includes(dynamicReferenceOpening);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Replace every dynamic reference in a string with what the caller answers.
|
|
22
|
+
*
|
|
23
|
+
* The text around each reference is untouched, so a value written as
|
|
24
|
+
* `prefix-{{resolve:ssm:name}}-suffix` keeps its prefix and suffix.
|
|
25
|
+
*/
|
|
26
|
+
export function substituteSimCfnDynamicReferences(text, substitute) {
|
|
27
|
+
if (!hasSimCfnDynamicReference(text)) {
|
|
28
|
+
return text;
|
|
29
|
+
}
|
|
30
|
+
return text.replaceAll(dynamicReferencePattern, (matched, service, body) => {
|
|
31
|
+
const reference = {
|
|
32
|
+
text: matched,
|
|
33
|
+
service,
|
|
34
|
+
body,
|
|
35
|
+
};
|
|
36
|
+
return substitute(reference) ?? matched;
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=sim-cfn-dynamic-reference-scan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-dynamic-reference-scan.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,uBAAuB,GAAG,YAAY,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,uBAAuB,GAAG,4CAA4C,CAAC;AAY7E;;GAEG;AACH,MAAM,UAAU,yBAAyB,CAAC,IAAY;IACpD,OAAO,IAAI,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC;AAChD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,iCAAiC,CAC/C,IAAY,EACZ,UAA8C;IAE9C,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,IAAI,CAAC,UAAU,CACpB,uBAAuB,EACvB,CAAC,OAAO,EAAE,OAAe,EAAE,IAAY,EAAE,EAAE;QACzC,MAAM,SAAS,GAA2B;YACxC,IAAI,EAAE,OAAO;YACb,OAAO;YACP,IAAI;SACL,CAAC;QAEF,OAAO,UAAU,CAAC,SAAS,CAAC,IAAI,OAAO,CAAC;IAC1C,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One `{{resolve:service:...}}` dynamic reference found inside a template
|
|
3
|
+
* string.
|
|
4
|
+
*
|
|
5
|
+
* A dynamic reference is read out of a resolved string rather than parsed as
|
|
6
|
+
* its own node, because CloudFormation lets one sit inside a longer value.
|
|
7
|
+
* Only the span holding the reference is replaced, and the text around it is
|
|
8
|
+
* left as it was written.
|
|
9
|
+
*/
|
|
10
|
+
export interface SimCfnDynamicReference {
|
|
11
|
+
/** The whole reference as written, e.g. `{{resolve:ssm:/db/host:2}}`. */
|
|
12
|
+
readonly text: string;
|
|
13
|
+
/** The service the reference names, e.g. `ssm`. */
|
|
14
|
+
readonly service: string;
|
|
15
|
+
/** Everything after the service name, e.g. `/db/host:2`. */
|
|
16
|
+
readonly body: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* What one service answers a dynamic reference with.
|
|
20
|
+
*
|
|
21
|
+
* A reference the service cannot answer still resolves to a value. Simulated
|
|
22
|
+
* CloudFormation deploys what it can, and a template naming parameters a test
|
|
23
|
+
* never created is one of the things it can mostly deploy. The stand-in value
|
|
24
|
+
* carries a reason, which the Resource records so a test asserting on that
|
|
25
|
+
* value can find out it was never read.
|
|
26
|
+
*/
|
|
27
|
+
export interface SimCfnDynamicReferenceResolution {
|
|
28
|
+
/** The value the reference is replaced with. */
|
|
29
|
+
readonly value: string;
|
|
30
|
+
/** Why the value is a stand-in, left out when the reference resolved. */
|
|
31
|
+
readonly reason?: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Where in a Stack one dynamic reference was written.
|
|
35
|
+
*
|
|
36
|
+
* CloudFormation accepts an `ssm-secure` reference in a fixed list of Resource
|
|
37
|
+
* properties and refuses it everywhere else, so the service answering a
|
|
38
|
+
* reference has to be told where the reference sits. The path is the one an
|
|
39
|
+
* ignored property is recorded under, e.g. `LoginProfile.Password`.
|
|
40
|
+
*/
|
|
41
|
+
export interface SimCfnDynamicReferenceSite {
|
|
42
|
+
/** The Resource type holding the reference, e.g. `AWS::IAM::User`. */
|
|
43
|
+
readonly resourceType: string | undefined;
|
|
44
|
+
/** The path to the property inside the Resource's `Properties`. */
|
|
45
|
+
readonly propertyPath: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* How one simulated service answers the dynamic references naming it.
|
|
49
|
+
*
|
|
50
|
+
* A service that cannot answer without being waited on returns a promise, as
|
|
51
|
+
* Secrets Manager does (reading a secret decrypts it through simulated KMS).
|
|
52
|
+
* Property resolution stays synchronous either way. A promised answer is
|
|
53
|
+
* substituted once the Resource's properties have resolved around it, so the
|
|
54
|
+
* resolver is free to await whatever answering takes.
|
|
55
|
+
*
|
|
56
|
+
* Throwing fails the Resource, which is what a reference the template had no
|
|
57
|
+
* business writing does. A reference the service simply could not answer
|
|
58
|
+
* resolves to a stand-in value instead.
|
|
59
|
+
*/
|
|
60
|
+
export interface SimCfnDynamicReferenceResolver {
|
|
61
|
+
resolve(reference: SimCfnDynamicReference, site: SimCfnDynamicReferenceSite): SimCfnDynamicReferenceResolution | Promise<SimCfnDynamicReferenceResolution>;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=sim-cfn-dynamic-reference.type.d.ts.map
|