@kensio/yulin 1.16.2 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/sdk/router/sim-sdk-caller-options.d.ts +2 -2
- package/dist/sdk/router/sim-sdk-caller-options.d.ts.map +1 -1
- package/dist/sdk/router/sim-sdk-command-router.type.d.ts +7 -2
- package/dist/sdk/router/sim-sdk-command-router.type.d.ts.map +1 -1
- package/dist/sdk/sim-sdk-command-dispatcher.d.ts +7 -1
- package/dist/sdk/sim-sdk-command-dispatcher.d.ts.map +1 -1
- package/dist/sdk/sim-sdk-command-dispatcher.js +16 -4
- package/dist/sdk/sim-sdk-command-dispatcher.js.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.d.ts +7 -6
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.d.ts.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.js +11 -10
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.js.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-operation.d.ts.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-operation.js +1 -0
- package/dist/sdk/wire/sim-sdk-wire-operation.js.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-response.d.ts +12 -0
- package/dist/sdk/wire/sim-sdk-wire-response.d.ts.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-response.js +2 -2
- package/dist/sdk/wire/sim-sdk-wire-response.js.map +1 -1
- package/dist/serve/http/api/query/sim-query-endpoint.d.ts +42 -0
- package/dist/serve/http/api/query/sim-query-endpoint.d.ts.map +1 -0
- package/dist/serve/http/api/query/sim-query-endpoint.js +55 -0
- package/dist/serve/http/api/query/sim-query-endpoint.js.map +1 -0
- package/dist/serve/http/api/query/sim-query-operation.d.ts +19 -0
- package/dist/serve/http/api/query/sim-query-operation.d.ts.map +1 -0
- package/dist/serve/http/api/query/sim-query-operation.js +2 -0
- package/dist/serve/http/api/query/sim-query-operation.js.map +1 -0
- package/dist/serve/http/api/query/sim-query-request.d.ts +85 -0
- package/dist/serve/http/api/query/sim-query-request.d.ts.map +1 -0
- package/dist/serve/http/api/query/sim-query-request.js +136 -0
- package/dist/serve/http/api/query/sim-query-request.js.map +1 -0
- package/dist/serve/http/api/query/sim-query-response.d.ts +35 -0
- package/dist/serve/http/api/query/sim-query-response.d.ts.map +1 -0
- package/dist/serve/http/api/query/sim-query-response.js +63 -0
- package/dist/serve/http/api/query/sim-query-response.js.map +1 -0
- package/dist/serve/http/api/query/sim-query-result.d.ts +33 -0
- package/dist/serve/http/api/query/sim-query-result.d.ts.map +1 -0
- package/dist/serve/http/api/query/sim-query-result.js +87 -0
- package/dist/serve/http/api/query/sim-query-result.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.d.ts +40 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.js +67 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-endpoint.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-input.d.ts +45 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-input.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-input.js +52 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-input.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-request.d.ts +58 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-request.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-request.js +68 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-request.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-response.d.ts +35 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-response.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-response.js +55 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-response.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-route.type.d.ts +37 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-route.type.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-route.type.js +2 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-route.type.js.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-routes.d.ts +27 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-routes.d.ts.map +1 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-routes.js +51 -0
- package/dist/serve/http/api/rest-json/sim-rest-json-routes.js.map +1 -0
- package/dist/serve/http/api/sim-aws-api-endpoint.d.ts +39 -0
- package/dist/serve/http/api/sim-aws-api-endpoint.d.ts.map +1 -0
- package/dist/serve/http/api/sim-aws-api-endpoint.js +105 -0
- package/dist/serve/http/api/sim-aws-api-endpoint.js.map +1 -0
- package/dist/serve/http/api/sim-aws-api-protocols.d.ts +13 -0
- package/dist/serve/http/api/sim-aws-api-protocols.d.ts.map +1 -0
- package/dist/serve/http/api/sim-aws-api-protocols.js +41 -0
- package/dist/serve/http/api/sim-aws-api-protocols.js.map +1 -0
- package/dist/serve/http/sim-aws-http.d.ts +1 -0
- package/dist/serve/http/sim-aws-http.d.ts.map +1 -1
- package/dist/serve/http/sim-aws-http.js +9 -0
- package/dist/serve/http/sim-aws-http.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +1 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.d.ts +29 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.js +36 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest-file.js.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.d.ts +27 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.js +24 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-manifest.js.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.d.ts +12 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.js +54 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-order.js.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts +17 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js +33 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.d.ts +50 -0
- package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.js +69 -0
- package/dist/service/cloudformation/cdk/sim-cdk-cloud-assembly.factory.js.map +1 -0
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts +3 -0
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts.map +1 -1
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.js +14 -4
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.js.map +1 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts +7 -0
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts.map +1 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.js +14 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts +24 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js +40 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts +39 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js +35 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +28 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js +24 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts +9 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js +16 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js +2 -4
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts +13 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js +29 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.d.ts +3 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.js +3 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.js.map +1 -1
- package/dist/service/cloudformation/export/sim-cfn-exports.d.ts +43 -0
- package/dist/service/cloudformation/export/sim-cfn-exports.d.ts.map +1 -0
- package/dist/service/cloudformation/export/sim-cfn-exports.js +65 -0
- package/dist/service/cloudformation/export/sim-cfn-exports.js.map +1 -0
- package/dist/service/cloudformation/export/sim-cfn-stack-exports.d.ts +11 -0
- package/dist/service/cloudformation/export/sim-cfn-stack-exports.d.ts.map +1 -0
- package/dist/service/cloudformation/export/sim-cfn-stack-exports.js +23 -0
- package/dist/service/cloudformation/export/sim-cfn-stack-exports.js.map +1 -0
- package/dist/service/cloudformation/index.d.ts +2 -0
- package/dist/service/cloudformation/index.d.ts.map +1 -1
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.d.ts +10 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.js +21 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-definitions.js.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.d.ts +10 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.js +19 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-input-values.js.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.d.ts +34 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.js +43 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameter-values.js.map +1 -0
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.d.ts +21 -16
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.d.ts.map +1 -1
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.js +33 -62
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.js.map +1 -1
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.type.d.ts +30 -9
- package/dist/service/cloudformation/parameters/sim-cfn-parameters.type.d.ts.map +1 -1
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.d.ts +20 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.js +20 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-value-type.js.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.d.ts +48 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.js +69 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store-values.js.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.d.ts +17 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.js +15 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.js.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.d.ts +28 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.d.ts.map +1 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.js +2 -0
- package/dist/service/cloudformation/parameters/store/sim-cfn-parameter-store.type.js.map +1 -0
- package/dist/service/cloudformation/resource/create/sim-cfn-resource-creator.js +1 -1
- package/dist/service/cloudformation/resource/create/sim-cfn-resource-creator.js.map +1 -1
- package/dist/service/cloudformation/resource/delete/sim-cfn-resource-deleter.js +1 -1
- package/dist/service/cloudformation/resource/delete/sim-cfn-resource-deleter.js.map +1 -1
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts +23 -1
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js +39 -2
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts +6 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +14 -4
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts +7 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts.map +1 -1
- package/dist/service/cloudformation/serve/sim-cloudformation-api.d.ts +11 -0
- package/dist/service/cloudformation/serve/sim-cloudformation-api.d.ts.map +1 -0
- package/dist/service/cloudformation/serve/sim-cloudformation-api.js +87 -0
- package/dist/service/cloudformation/serve/sim-cloudformation-api.js.map +1 -0
- package/dist/service/cloudformation/sim-cloudformation.d.ts +7 -1
- package/dist/service/cloudformation/sim-cloudformation.d.ts.map +1 -1
- package/dist/service/cloudformation/sim-cloudformation.js +19 -12
- package/dist/service/cloudformation/sim-cloudformation.js.map +1 -1
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.d.ts +31 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.js +57 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-lookup.js.map +1 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.d.ts +3 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.js +3 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-output-resolver.js.map +1 -1
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.d.ts +31 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.js +37 -0
- package/dist/service/cloudformation/stack/output/sim-cfn-stack-outputs.js.map +1 -0
- package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.d.ts +9 -5
- package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.js +15 -9
- package/dist/service/cloudformation/stack/report/sim-cfn-stack-resource-report.js.map +1 -1
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.d.ts +28 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.js +36 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-lookup.js.map +1 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js +1 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts +24 -29
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.js +37 -10
- package/dist/service/cloudformation/stack/sim-cfn-stack.js.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts +35 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.js +2 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts +15 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js +19 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.d.ts +42 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.js +41 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-awaited-dynamic-references.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.d.ts +21 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.js +61 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-placeholder.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts +31 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js +25 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.d.ts +21 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.js +39 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-scan.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts +45 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.js +2 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts +51 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts.map +1 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js +77 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js.map +1 -0
- package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.d.ts +33 -0
- package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.d.ts.map +1 -0
- package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.js +47 -0
- package/dist/service/cloudformation/template/node/fn/import-value/sim-cfn-fn-import-value.js.map +1 -0
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts +7 -0
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js +12 -0
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js.map +1 -1
- package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.js +6 -1
- package/dist/service/cloudformation/template/node/fn/sub/sim-cfn-fn-sub.js.map +1 -1
- package/dist/service/cloudformation/template/node/sim-cfn-literal.d.ts +9 -2
- package/dist/service/cloudformation/template/node/sim-cfn-literal.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/sim-cfn-literal.js +12 -3
- package/dist/service/cloudformation/template/node/sim-cfn-literal.js.map +1 -1
- package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.d.ts +26 -0
- package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.d.ts.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.js +31 -0
- package/dist/service/cloudformation/template/parse/fn/import-value/sim-cfn-fn-import-value-parser.js.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts +4 -7
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts.map +1 -1
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js +9 -41
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js.map +1 -1
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.d.ts +19 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.d.ts.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.js +31 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parsers.js.map +1 -0
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts +19 -0
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts.map +1 -1
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js +18 -0
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template.d.ts +5 -0
- package/dist/service/cloudformation/template/sim-cfn-template.d.ts.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template.js +7 -1
- package/dist/service/cloudformation/template/sim-cfn-template.js.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts +4 -0
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js +2 -0
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts +5 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.js +22 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.js.map +1 -1
- package/dist/service/elbv2/serve/api/sim-elbv2-api.d.ts +15 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-api.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-api.js +41 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-api.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-action.d.ts +14 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-action.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-action.js +52 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-action.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.d.ts +14 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.js +20 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-certificate.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.d.ts +11 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.js +39 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-condition.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-input.d.ts +47 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-input.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-input.js +71 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-input.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.d.ts +11 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.js +46 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-certificate-operations.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.d.ts +6 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.js +77 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-listener-operations.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.d.ts +6 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.js +67 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-load-balancer-operations.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-result.d.ts +15 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-result.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-result.js +25 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-result.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.d.ts +6 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.js +74 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-rule-operations.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.d.ts +6 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.js +114 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-group-operations.js.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.d.ts +6 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.d.ts.map +1 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.js +64 -0
- package/dist/service/elbv2/serve/api/sim-elbv2-query-target-operations.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-api.d.ts +18 -0
- package/dist/service/iam/serve/sim-iam-api.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-api.js +38 -0
- package/dist/service/iam/serve/sim-iam-api.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-entity.d.ts +12 -0
- package/dist/service/iam/serve/sim-iam-query-entity.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-entity.js +22 -0
- package/dist/service/iam/serve/sim-iam-query-entity.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-listing.d.ts +18 -0
- package/dist/service/iam/serve/sim-iam-query-listing.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-listing.js +25 -0
- package/dist/service/iam/serve/sim-iam-query-listing.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-policy-operations.d.ts +6 -0
- package/dist/service/iam/serve/sim-iam-query-policy-operations.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-policy-operations.js +70 -0
- package/dist/service/iam/serve/sim-iam-query-policy-operations.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-role-operations.d.ts +10 -0
- package/dist/service/iam/serve/sim-iam-query-role-operations.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-role-operations.js +108 -0
- package/dist/service/iam/serve/sim-iam-query-role-operations.js.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-user-operations.d.ts +11 -0
- package/dist/service/iam/serve/sim-iam-query-user-operations.d.ts.map +1 -0
- package/dist/service/iam/serve/sim-iam-query-user-operations.js +62 -0
- package/dist/service/iam/serve/sim-iam-query-user-operations.js.map +1 -0
- package/dist/service/iam/sim-iam.d.ts +10 -0
- package/dist/service/iam/sim-iam.d.ts.map +1 -1
- package/dist/service/iam/sim-iam.js +10 -0
- package/dist/service/iam/sim-iam.js.map +1 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.d.ts +9 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.js +59 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-event-source-routes.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts +6 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js +91 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.d.ts +12 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.js +28 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-invoke-output.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.d.ts +10 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.js +36 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-permission-routes.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts +11 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.js +19 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.d.ts +11 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.js +50 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-url-routes.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api.d.ts +16 -0
- package/dist/service/lambda/serve/api/sim-lambda-api.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api.js +22 -0
- package/dist/service/lambda/serve/api/sim-lambda-api.js.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection-faces.d.ts +53 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection-faces.d.ts.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection-faces.js +69 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection-faces.js.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection.d.ts +26 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection.d.ts.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection.js +9 -0
- package/dist/service/rekognition/collection/sim-rekognition-collection.js.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collections.d.ts +50 -0
- package/dist/service/rekognition/collection/sim-rekognition-collections.d.ts.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-collections.js +78 -0
- package/dist/service/rekognition/collection/sim-rekognition-collections.js.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-indexed-face.d.ts +41 -0
- package/dist/service/rekognition/collection/sim-rekognition-indexed-face.d.ts.map +1 -0
- package/dist/service/rekognition/collection/sim-rekognition-indexed-face.js +53 -0
- package/dist/service/rekognition/collection/sim-rekognition-indexed-face.js.map +1 -0
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.d.ts +2 -2
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.d.ts.map +1 -1
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.js +7 -4
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.js.map +1 -1
- package/dist/service/rekognition/command/collection/collection-id.d.ts +9 -0
- package/dist/service/rekognition/command/collection/collection-id.d.ts.map +1 -0
- package/dist/service/rekognition/command/collection/collection-id.js +15 -0
- package/dist/service/rekognition/command/collection/collection-id.js.map +1 -0
- package/dist/service/rekognition/command/collection/collection.command.d.ts +55 -0
- package/dist/service/rekognition/command/collection/collection.command.d.ts.map +1 -0
- package/dist/service/rekognition/command/collection/collection.command.js +2 -0
- package/dist/service/rekognition/command/collection/collection.command.js.map +1 -0
- package/dist/service/rekognition/command/collection/collection.handler.d.ts +40 -0
- package/dist/service/rekognition/command/collection/collection.handler.d.ts.map +1 -0
- package/dist/service/rekognition/command/collection/collection.handler.js +62 -0
- package/dist/service/rekognition/command/collection/collection.handler.js.map +1 -0
- package/dist/service/rekognition/command/face/delete-faces-request.d.ts +10 -0
- package/dist/service/rekognition/command/face/delete-faces-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/delete-faces-request.js +18 -0
- package/dist/service/rekognition/command/face/delete-faces-request.js.map +1 -0
- package/dist/service/rekognition/command/face/external-image-id.d.ts +9 -0
- package/dist/service/rekognition/command/face/external-image-id.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/external-image-id.js +28 -0
- package/dist/service/rekognition/command/face/external-image-id.js.map +1 -0
- package/dist/service/rekognition/command/face/face-ids.d.ts +9 -0
- package/dist/service/rekognition/command/face/face-ids.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-ids.js +48 -0
- package/dist/service/rekognition/command/face/face-ids.js.map +1 -0
- package/dist/service/rekognition/command/face/face-indexer.d.ts +38 -0
- package/dist/service/rekognition/command/face/face-indexer.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-indexer.js +64 -0
- package/dist/service/rekognition/command/face/face-indexer.js.map +1 -0
- package/dist/service/rekognition/command/face/face-limits.d.ts +22 -0
- package/dist/service/rekognition/command/face/face-limits.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-limits.js +36 -0
- package/dist/service/rekognition/command/face/face-limits.js.map +1 -0
- package/dist/service/rekognition/command/face/face-listing.d.ts +26 -0
- package/dist/service/rekognition/command/face/face-listing.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-listing.js +36 -0
- package/dist/service/rekognition/command/face/face-listing.js.map +1 -0
- package/dist/service/rekognition/command/face/face-output.d.ts +65 -0
- package/dist/service/rekognition/command/face/face-output.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-output.js +8 -0
- package/dist/service/rekognition/command/face/face-output.js.map +1 -0
- package/dist/service/rekognition/command/face/face-searcher.d.ts +32 -0
- package/dist/service/rekognition/command/face/face-searcher.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face-searcher.js +45 -0
- package/dist/service/rekognition/command/face/face-searcher.js.map +1 -0
- package/dist/service/rekognition/command/face/face.command.d.ts +107 -0
- package/dist/service/rekognition/command/face/face.command.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face.command.js +2 -0
- package/dist/service/rekognition/command/face/face.command.js.map +1 -0
- package/dist/service/rekognition/command/face/face.handler.d.ts +62 -0
- package/dist/service/rekognition/command/face/face.handler.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/face.handler.js +99 -0
- package/dist/service/rekognition/command/face/face.handler.js.map +1 -0
- package/dist/service/rekognition/command/face/index-faces-request.d.ts +20 -0
- package/dist/service/rekognition/command/face/index-faces-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/index-faces-request.js +39 -0
- package/dist/service/rekognition/command/face/index-faces-request.js.map +1 -0
- package/dist/service/rekognition/command/face/list-faces-page.d.ts +26 -0
- package/dist/service/rekognition/command/face/list-faces-page.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/list-faces-page.js +39 -0
- package/dist/service/rekognition/command/face/list-faces-page.js.map +1 -0
- package/dist/service/rekognition/command/face/list-faces-request.d.ts +17 -0
- package/dist/service/rekognition/command/face/list-faces-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/list-faces-request.js +43 -0
- package/dist/service/rekognition/command/face/list-faces-request.js.map +1 -0
- package/dist/service/rekognition/command/face/search-faces-by-image-request.d.ts +24 -0
- package/dist/service/rekognition/command/face/search-faces-by-image-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/face/search-faces-by-image-request.js +61 -0
- package/dist/service/rekognition/command/face/search-faces-by-image-request.js.map +1 -0
- package/dist/service/rekognition/command/sim-rekognition-detection-handlers.d.ts +32 -0
- package/dist/service/rekognition/command/sim-rekognition-detection-handlers.d.ts.map +1 -0
- package/dist/service/rekognition/command/sim-rekognition-detection-handlers.js +37 -0
- package/dist/service/rekognition/command/sim-rekognition-detection-handlers.js.map +1 -0
- package/dist/service/rekognition/error/sim-rekognition.error.d.ts +20 -0
- package/dist/service/rekognition/error/sim-rekognition.error.d.ts.map +1 -1
- package/dist/service/rekognition/error/sim-rekognition.error.js +24 -0
- package/dist/service/rekognition/error/sim-rekognition.error.js.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-detected-face.d.ts +9 -0
- package/dist/service/rekognition/face/sim-rekognition-detected-face.d.ts.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-detected-face.js +12 -0
- package/dist/service/rekognition/face/sim-rekognition-detected-face.js.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-face-detection.d.ts +9 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detection.d.ts.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-face-detection.js +10 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detection.js.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-face-frame.d.ts +5 -1
- package/dist/service/rekognition/face/sim-rekognition-face-frame.d.ts.map +1 -1
- package/dist/service/rekognition/face/sim-rekognition-face-frame.js +3 -0
- package/dist/service/rekognition/face/sim-rekognition-face-frame.js.map +1 -1
- package/dist/service/rekognition/index.d.ts +3 -1
- package/dist/service/rekognition/index.d.ts.map +1 -1
- package/dist/service/rekognition/index.js +2 -1
- package/dist/service/rekognition/index.js.map +1 -1
- package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.d.ts +29 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.d.ts.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.js +2 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-declaration.js.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-result.d.ts +25 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-result.d.ts.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-result.js +44 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-result.js.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-rule.d.ts +26 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-rule.d.ts.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-rule.js +64 -0
- package/dist/service/rekognition/match/sim-rekognition-face-match-rule.js.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-matches.d.ts +32 -0
- package/dist/service/rekognition/match/sim-rekognition-face-matches.d.ts.map +1 -0
- package/dist/service/rekognition/match/sim-rekognition-face-matches.js +39 -0
- package/dist/service/rekognition/match/sim-rekognition-face-matches.js.map +1 -0
- package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.d.ts.map +1 -1
- package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.js +28 -0
- package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.js.map +1 -1
- package/dist/service/rekognition/sim-rekognition.d.ts +51 -3
- package/dist/service/rekognition/sim-rekognition.d.ts.map +1 -1
- package/dist/service/rekognition/sim-rekognition.js +84 -16
- package/dist/service/rekognition/sim-rekognition.js.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +9 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +0 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -1
- package/dist/service/s3/bucket/sim-s3-bucket.d.ts +18 -0
- package/dist/service/s3/bucket/sim-s3-bucket.d.ts.map +1 -1
- package/dist/service/s3/bucket/sim-s3-bucket.js +16 -1
- package/dist/service/s3/bucket/sim-s3-bucket.js.map +1 -1
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.d.ts +23 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.d.ts.map +1 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.js +2 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.command.js.map +1 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.d.ts +23 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.d.ts.map +1 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.js +32 -0
- package/dist/service/s3/command/abort-multipart-upload/abort-multipart-upload.handler.js.map +1 -0
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts +1 -0
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts.map +1 -1
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js +4 -0
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js.map +1 -1
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.d.ts +42 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.d.ts.map +1 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.js +2 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.js.map +1 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.d.ts +28 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.d.ts.map +1 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.js +73 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.js.map +1 -0
- package/dist/service/s3/command/create-bucket/create-bucket.handler.d.ts.map +1 -1
- package/dist/service/s3/command/create-bucket/create-bucket.handler.js +1 -0
- package/dist/service/s3/command/create-bucket/create-bucket.handler.js.map +1 -1
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.d.ts +30 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.d.ts.map +1 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.js +2 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.command.js.map +1 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.d.ts +21 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.d.ts.map +1 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.js +38 -0
- package/dist/service/s3/command/create-multipart-upload/create-multipart-upload.handler.js.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket-authorizer.d.ts +26 -0
- package/dist/service/s3/command/head-bucket/head-bucket-authorizer.d.ts.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket-authorizer.js +48 -0
- package/dist/service/s3/command/head-bucket/head-bucket-authorizer.js.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket.command.d.ts +24 -0
- package/dist/service/s3/command/head-bucket/head-bucket.command.d.ts.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket.command.js +2 -0
- package/dist/service/s3/command/head-bucket/head-bucket.command.js.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket.handler.d.ts +35 -0
- package/dist/service/s3/command/head-bucket/head-bucket.handler.d.ts.map +1 -0
- package/dist/service/s3/command/head-bucket/head-bucket.handler.js +45 -0
- package/dist/service/s3/command/head-bucket/head-bucket.handler.js.map +1 -0
- package/dist/service/s3/command/head-object/head-object-loader.d.ts +17 -0
- package/dist/service/s3/command/head-object/head-object-loader.d.ts.map +1 -0
- package/dist/service/s3/command/head-object/head-object-loader.js +29 -0
- package/dist/service/s3/command/head-object/head-object-loader.js.map +1 -0
- package/dist/service/s3/command/head-object/head-object.command.d.ts +29 -0
- package/dist/service/s3/command/head-object/head-object.command.d.ts.map +1 -0
- package/dist/service/s3/command/head-object/head-object.command.js +2 -0
- package/dist/service/s3/command/head-object/head-object.command.js.map +1 -0
- package/dist/service/s3/command/head-object/head-object.handler.d.ts +38 -0
- package/dist/service/s3/command/head-object/head-object.handler.d.ts.map +1 -0
- package/dist/service/s3/command/head-object/head-object.handler.js +50 -0
- package/dist/service/s3/command/head-object/head-object.handler.js.map +1 -0
- package/dist/service/s3/command/list-buckets/list-buckets-page-builder.d.ts.map +1 -1
- package/dist/service/s3/command/list-buckets/list-buckets-page-builder.js +1 -0
- package/dist/service/s3/command/list-buckets/list-buckets-page-builder.js.map +1 -1
- package/dist/service/s3/command/list-buckets/list-buckets.command.d.ts +1 -0
- package/dist/service/s3/command/list-buckets/list-buckets.command.d.ts.map +1 -1
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.d.ts +34 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.d.ts.map +1 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.js +2 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.command.js.map +1 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.d.ts +23 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.d.ts.map +1 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.js +43 -0
- package/dist/service/s3/command/list-multipart-uploads/list-multipart-uploads.handler.js.map +1 -0
- package/dist/service/s3/command/list-parts/list-parts.command.d.ts +37 -0
- package/dist/service/s3/command/list-parts/list-parts.command.d.ts.map +1 -0
- package/dist/service/s3/command/list-parts/list-parts.command.js +2 -0
- package/dist/service/s3/command/list-parts/list-parts.command.js.map +1 -0
- package/dist/service/s3/command/list-parts/list-parts.handler.d.ts +22 -0
- package/dist/service/s3/command/list-parts/list-parts.handler.d.ts.map +1 -0
- package/dist/service/s3/command/list-parts/list-parts.handler.js +47 -0
- package/dist/service/s3/command/list-parts/list-parts.handler.js.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-access.d.ts +54 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-access.d.ts.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-access.js +60 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-access.js.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.d.ts +36 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.d.ts.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.js +52 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-authorizer.js.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-commands.d.ts +35 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-commands.d.ts.map +1 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-commands.js +52 -0
- package/dist/service/s3/command/multipart/sim-s3-multipart-commands.js.map +1 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +4 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -1
- package/dist/service/s3/command/object/sim-s3-object-commands.js +7 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -1
- package/dist/service/s3/command/put-object/put-object-builder.d.ts +0 -32
- package/dist/service/s3/command/put-object/put-object-builder.d.ts.map +1 -1
- package/dist/service/s3/command/put-object/put-object-builder.js +5 -61
- package/dist/service/s3/command/put-object/put-object-builder.js.map +1 -1
- package/dist/service/s3/command/put-object/put-object.command.d.ts +7 -17
- package/dist/service/s3/command/put-object/put-object.command.d.ts.map +1 -1
- package/dist/service/s3/command/put-object/put-object.handler.d.ts.map +1 -1
- package/dist/service/s3/command/put-object/put-object.handler.js +6 -1
- package/dist/service/s3/command/put-object/put-object.handler.js.map +1 -1
- package/dist/service/s3/command/sim-s3-command.types.d.ts +8 -0
- package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
- package/dist/service/s3/command/upload-part/upload-part.command.d.ts +32 -0
- package/dist/service/s3/command/upload-part/upload-part.command.d.ts.map +1 -0
- package/dist/service/s3/command/upload-part/upload-part.command.js +2 -0
- package/dist/service/s3/command/upload-part/upload-part.command.js.map +1 -0
- package/dist/service/s3/command/upload-part/upload-part.handler.d.ts +22 -0
- package/dist/service/s3/command/upload-part/upload-part.handler.d.ts.map +1 -0
- package/dist/service/s3/command/upload-part/upload-part.handler.js +34 -0
- package/dist/service/s3/command/upload-part/upload-part.handler.js.map +1 -0
- package/dist/service/s3/error/sim-s3.error.d.ts +46 -0
- package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
- package/dist/service/s3/error/sim-s3.error.js +54 -0
- package/dist/service/s3/error/sim-s3.error.js.map +1 -1
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts +10 -0
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts.map +1 -1
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.js +1 -1
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.js.map +1 -1
- package/dist/service/s3/notification/sim-s3-object-notifier.d.ts +1 -1
- package/dist/service/s3/notification/sim-s3-object-notifier.js +2 -2
- package/dist/service/s3/notification/sim-s3-object-notifier.js.map +1 -1
- package/dist/service/s3/object/s3-object-etag.d.ts +20 -4
- package/dist/service/s3/object/s3-object-etag.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object-etag.js +25 -4
- package/dist/service/s3/object/s3-object-etag.js.map +1 -1
- package/dist/service/s3/object/s3-object-summary.d.ts +9 -0
- package/dist/service/s3/object/s3-object-summary.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object-summary.js +2 -2
- package/dist/service/s3/object/s3-object-summary.js.map +1 -1
- package/dist/service/s3/object/s3-object.d.ts +10 -0
- package/dist/service/s3/object/s3-object.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object.js +7 -1
- package/dist/service/s3/object/s3-object.js.map +1 -1
- package/dist/service/s3/object/s3-write-body.d.ts +23 -0
- package/dist/service/s3/object/s3-write-body.d.ts.map +1 -0
- package/dist/service/s3/object/s3-write-body.js +26 -0
- package/dist/service/s3/object/s3-write-body.js.map +1 -0
- package/dist/service/s3/object/s3-write-metadata.d.ts +33 -0
- package/dist/service/s3/object/s3-write-metadata.d.ts.map +1 -0
- package/dist/service/s3/object/s3-write-metadata.js +35 -0
- package/dist/service/s3/object/s3-write-metadata.js.map +1 -0
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +32 -0
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.d.ts +9 -0
- package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.js +128 -0
- package/dist/service/s3/serve/api/sim-s3-api-bucket-routes.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-configuration-output.d.ts +19 -0
- package/dist/service/s3/serve/api/sim-s3-api-configuration-output.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-configuration-output.js +78 -0
- package/dist/service/s3/serve/api/sim-s3-api-configuration-output.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-head-output.d.ts +22 -0
- package/dist/service/s3/serve/api/sim-s3-api-head-output.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-head-output.js +39 -0
- package/dist/service/s3/serve/api/sim-s3-api-head-output.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-input.d.ts +62 -0
- package/dist/service/s3/serve/api/sim-s3-api-input.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-input.js +118 -0
- package/dist/service/s3/serve/api/sim-s3-api-input.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-listing.d.ts +43 -0
- package/dist/service/s3/serve/api/sim-s3-api-listing.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-listing.js +53 -0
- package/dist/service/s3/serve/api/sim-s3-api-listing.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-input.d.ts +25 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-input.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-input.js +48 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-input.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.d.ts +36 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.js +34 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-listing.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-output.d.ts +10 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-output.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-output.js +62 -0
- package/dist/service/s3/serve/api/sim-s3-api-multipart-output.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-notification-read.d.ts +8 -0
- package/dist/service/s3/serve/api/sim-s3-api-notification-read.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-notification-read.js +54 -0
- package/dist/service/s3/serve/api/sim-s3-api-notification-read.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +5 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js +31 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts +6 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +67 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-output.d.ts +10 -0
- package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-output.js +97 -0
- package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-request.d.ts +32 -0
- package/dist/service/s3/serve/api/sim-s3-api-request.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-request.js +48 -0
- package/dist/service/s3/serve/api/sim-s3-api-request.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts +26 -0
- package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-route.type.js +2 -0
- package/dist/service/s3/serve/api/sim-s3-api-route.type.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts +24 -0
- package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-routes.js +91 -0
- package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.d.ts +28 -0
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.js +79 -0
- package/dist/service/s3/serve/api/sim-s3-api-xml-read.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api.d.ts +29 -0
- package/dist/service/s3/serve/api/sim-s3-api.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api.js +60 -0
- package/dist/service/s3/serve/api/sim-s3-api.js.map +1 -0
- package/dist/service/s3/serve/sim-s3-rest-error-response.d.ts +8 -0
- package/dist/service/s3/serve/sim-s3-rest-error-response.d.ts.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-error-response.js +15 -10
- package/dist/service/s3/serve/sim-s3-rest-error-response.js.map +1 -1
- package/dist/service/s3/sim-s3-commands.d.ts +2 -0
- package/dist/service/s3/sim-s3-commands.d.ts.map +1 -1
- package/dist/service/s3/sim-s3-commands.js +3 -0
- package/dist/service/s3/sim-s3-commands.js.map +1 -1
- package/dist/service/s3/sim-s3-operations.d.ts +67 -0
- package/dist/service/s3/sim-s3-operations.d.ts.map +1 -0
- package/dist/service/s3/sim-s3-operations.js +118 -0
- package/dist/service/s3/sim-s3-operations.js.map +1 -0
- package/dist/service/s3/sim-s3.d.ts +6 -41
- package/dist/service/s3/sim-s3.d.ts.map +1 -1
- package/dist/service/s3/sim-s3.js +11 -79
- package/dist/service/s3/sim-s3.js.map +1 -1
- package/dist/service/s3/upload/sim-s3-completed-upload.d.ts +30 -0
- package/dist/service/s3/upload/sim-s3-completed-upload.d.ts.map +1 -0
- package/dist/service/s3/upload/sim-s3-completed-upload.js +69 -0
- package/dist/service/s3/upload/sim-s3-completed-upload.js.map +1 -0
- package/dist/service/s3/upload/sim-s3-multipart-upload.d.ts +66 -0
- package/dist/service/s3/upload/sim-s3-multipart-upload.d.ts.map +1 -0
- package/dist/service/s3/upload/sim-s3-multipart-upload.js +78 -0
- package/dist/service/s3/upload/sim-s3-multipart-upload.js.map +1 -0
- package/dist/service/s3/upload/sim-s3-multipart-uploads.d.ts +48 -0
- package/dist/service/s3/upload/sim-s3-multipart-uploads.d.ts.map +1 -0
- package/dist/service/s3/upload/sim-s3-multipart-uploads.js +62 -0
- package/dist/service/s3/upload/sim-s3-multipart-uploads.js.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.d.ts +51 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.d.ts.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.js +89 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-dynamic-reference-resolver.js.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.d.ts +9 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.d.ts.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.js +40 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-json-key.js.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.d.ts +40 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.d.ts.map +1 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.js +90 -0
- package/dist/service/secretsmanager/cfn/dynamic/sim-cfn-secrets-manager-reference-body.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-api.d.ts +15 -0
- package/dist/service/sns/serve/sim-sns-api.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-api.js +37 -0
- package/dist/service/sns/serve/sim-sns-api.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-publish-operations.d.ts +6 -0
- package/dist/service/sns/serve/sim-sns-query-publish-operations.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-publish-operations.js +36 -0
- package/dist/service/sns/serve/sim-sns-query-publish-operations.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-published-message.d.ts +10 -0
- package/dist/service/sns/serve/sim-sns-query-published-message.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-published-message.js +39 -0
- package/dist/service/sns/serve/sim-sns-query-published-message.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-sms-operations.d.ts +9 -0
- package/dist/service/sns/serve/sim-sns-query-sms-operations.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-sms-operations.js +40 -0
- package/dist/service/sns/serve/sim-sns-query-sms-operations.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-subscription-operations.d.ts +6 -0
- package/dist/service/sns/serve/sim-sns-query-subscription-operations.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-subscription-operations.js +83 -0
- package/dist/service/sns/serve/sim-sns-query-subscription-operations.js.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-topic-operations.d.ts +6 -0
- package/dist/service/sns/serve/sim-sns-query-topic-operations.d.ts.map +1 -0
- package/dist/service/sns/serve/sim-sns-query-topic-operations.js +62 -0
- package/dist/service/sns/serve/sim-sns-query-topic-operations.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts +39 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js +95 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js.map +1 -0
- package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.d.ts +36 -0
- package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.d.ts.map +1 -0
- package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.js +48 -0
- package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.js.map +1 -0
- package/dist/service/ssm/sim-ssm.d.ts +10 -0
- package/dist/service/ssm/sim-ssm.d.ts.map +1 -1
- package/dist/service/ssm/sim-ssm.js +14 -0
- package/dist/service/ssm/sim-ssm.js.map +1 -1
- package/dist/service/sts/command/assume-role/assume-role.handler.d.ts +2 -2
- package/dist/service/sts/command/assume-role/assume-role.handler.d.ts.map +1 -1
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.d.ts +20 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.d.ts.map +1 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.js +2 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.command.js.map +1 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.d.ts +37 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.d.ts.map +1 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.js +50 -0
- package/dist/service/sts/command/get-caller-identity/get-caller-identity.handler.js.map +1 -0
- package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.d.ts +15 -0
- package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.d.ts.map +1 -0
- package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.js +47 -0
- package/dist/service/sts/command/get-caller-identity/sim-sts-caller-user-id.js.map +1 -0
- package/dist/service/sts/sdk/sim-sts-sdk-command-router.d.ts.map +1 -1
- package/dist/service/sts/sdk/sim-sts-sdk-command-router.js +4 -0
- package/dist/service/sts/sdk/sim-sts-sdk-command-router.js.map +1 -1
- package/dist/service/sts/serve/sim-sts-api.d.ts +12 -0
- package/dist/service/sts/serve/sim-sts-api.d.ts.map +1 -0
- package/dist/service/sts/serve/sim-sts-api.js +52 -0
- package/dist/service/sts/serve/sim-sts-api.js.map +1 -0
- package/dist/service/sts/sim-sts.d.ts +9 -2
- package/dist/service/sts/sim-sts.d.ts.map +1 -1
- package/dist/service/sts/sim-sts.js +11 -0
- package/dist/service/sts/sim-sts.js.map +1 -1
- package/dist/util/xml/xml-document.d.ts +46 -0
- package/dist/util/xml/xml-document.d.ts.map +1 -0
- package/dist/util/xml/xml-document.js +108 -0
- package/dist/util/xml/xml-document.js.map +1 -0
- package/dist/util/xml/xml-writer.d.ts +28 -0
- package/dist/util/xml/xml-writer.d.ts.map +1 -0
- package/dist/util/xml/xml-writer.js +53 -0
- package/dist/util/xml/xml-writer.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { SimSsmParameterVersionNotFound } from "../../error/sim-ssm.error.js";
|
|
2
|
+
/** The characters CloudFormation documents a referenced parameter name as. */
|
|
3
|
+
const ssmReferenceName = /^[a-zA-Z0-9_.\-/]+$/;
|
|
4
|
+
/** The version selector, which CloudFormation documents as an integer. */
|
|
5
|
+
const ssmReferenceVersion = /^\d+$/;
|
|
6
|
+
/**
|
|
7
|
+
* Read a reference body as a parameter name and an optional version.
|
|
8
|
+
*
|
|
9
|
+
* A parameter name holds no colon, so the last one always opens the version.
|
|
10
|
+
*/
|
|
11
|
+
function parseSsmReferenceBody(body) {
|
|
12
|
+
const colon = body.lastIndexOf(":");
|
|
13
|
+
if (colon === -1) {
|
|
14
|
+
return ssmReferenceName.test(body)
|
|
15
|
+
? { name: body, version: undefined }
|
|
16
|
+
: undefined;
|
|
17
|
+
}
|
|
18
|
+
const name = body.slice(0, colon);
|
|
19
|
+
const version = body.slice(colon + 1);
|
|
20
|
+
if (!ssmReferenceName.test(name) || !ssmReferenceVersion.test(version)) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
return { name, version };
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Answers `{{resolve:ssm:...}}` references from the simulated Parameter Store.
|
|
27
|
+
*
|
|
28
|
+
* A reference is read as the caller deploying the Stack would read it, at the
|
|
29
|
+
* point the Resource holding it is created. Real CloudFormation makes no
|
|
30
|
+
* dependency out of a dynamic reference, so a parameter another Resource of
|
|
31
|
+
* the same Stack creates is only there in time if the template says
|
|
32
|
+
* `DependsOn`.
|
|
33
|
+
*
|
|
34
|
+
* Anything Parameter Store cannot answer becomes a stand-in value carrying a
|
|
35
|
+
* reason. A template naming parameters a test never created still deploys, and
|
|
36
|
+
* the Resource records what it was given instead.
|
|
37
|
+
*/
|
|
38
|
+
export class SimCfnSsmDynamicReferenceResolver {
|
|
39
|
+
ssm;
|
|
40
|
+
constructor(properties) {
|
|
41
|
+
this.ssm = properties.ssm;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Resolve one reference to the parameter value it names.
|
|
45
|
+
*/
|
|
46
|
+
resolve(reference) {
|
|
47
|
+
const parsed = parseSsmReferenceBody(reference.body);
|
|
48
|
+
if (parsed === undefined) {
|
|
49
|
+
return this.standIn(reference, reference.body, `which is not the parameter name, optionally followed by an integer ` +
|
|
50
|
+
`version, that an ssm dynamic reference takes`);
|
|
51
|
+
}
|
|
52
|
+
const { name, version } = parsed;
|
|
53
|
+
const parameter = this.ssm.findParameter(name);
|
|
54
|
+
if (parameter === undefined) {
|
|
55
|
+
return this.standIn(reference, name, `and simulated Parameter Store holds no parameter '${name}'`);
|
|
56
|
+
}
|
|
57
|
+
if (parameter.type.value === "SecureString") {
|
|
58
|
+
return this.standIn(reference, name, `and '${name}' is a SecureString, which real CloudFormation reads ` +
|
|
59
|
+
`through an ssm-secure reference`);
|
|
60
|
+
}
|
|
61
|
+
return this.parameterValue(reference, parameter, name, version);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Read the version the reference selects, or the current one.
|
|
65
|
+
*/
|
|
66
|
+
parameterValue(reference, parameter, name, version) {
|
|
67
|
+
if (version === undefined) {
|
|
68
|
+
return { value: parameter.currentVersion.value.value };
|
|
69
|
+
}
|
|
70
|
+
try {
|
|
71
|
+
return { value: parameter.versionNumbered(Number(version)).value.value };
|
|
72
|
+
}
|
|
73
|
+
catch (error) {
|
|
74
|
+
/* v8 ignore next 3 -- defensive: only a missing version reaches here */
|
|
75
|
+
if (!(error instanceof SimSsmParameterVersionNotFound)) {
|
|
76
|
+
throw error;
|
|
77
|
+
}
|
|
78
|
+
return this.standIn(reference, name, `and '${name}' has no version ${version}`);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* The value a reference Parameter Store could not answer resolves to.
|
|
83
|
+
*
|
|
84
|
+
* The shape follows CDK, which fills an unresolved context lookup with
|
|
85
|
+
* `dummy-value-for-<name>`. A test reading one back sees where it came from.
|
|
86
|
+
*/
|
|
87
|
+
standIn(reference, name, reason) {
|
|
88
|
+
return {
|
|
89
|
+
value: `dummy-value-for-${name}`,
|
|
90
|
+
reason: `holds ${reference.text}, ${reason}, so the Resource is created ` +
|
|
91
|
+
`with a stand-in value`,
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=sim-cfn-ssm-dynamic-reference-resolver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-ssm-dynamic-reference-resolver.js","sourceRoot":"","sources":["../../../../../src/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAI9E,8EAA8E;AAC9E,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;AAE/C,0EAA0E;AAC1E,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAQpC;;;;GAIG;AACH,SAAS,qBAAqB,CAC5B,IAAY;IAEZ,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;QACjB,OAAO,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC;YAChC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE;YACpC,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;IAClC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;IAEtC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;QACvE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC3B,CAAC;AAMD;;;;;;;;;;;;GAYG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E,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QAC3E,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,wEAAwE;YACxE,IAAI,CAAC,CAAC,KAAK,YAAY,8BAA8B,CAAC,EAAE,CAAC;gBACvD,MAAM,KAAK,CAAC;YACd,CAAC;YAED,OAAO,IAAI,CAAC,OAAO,CACjB,SAAS,EACT,IAAI,EACJ,QAAQ,IAAI,oBAAoB,OAAO,EAAE,CAC1C,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACK,OAAO,CACb,SAAiC,EACjC,IAAY,EACZ,MAAc;QAEd,OAAO;YACL,KAAK,EAAE,mBAAmB,IAAI,EAAE;YAChC,MAAM,EACJ,SAAS,SAAS,CAAC,IAAI,KAAK,MAAM,+BAA+B;gBACjE,uBAAuB;SAC1B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { SimCfnParameterStoreReader, SimCfnParameterStoreValue } from "../../../cloudformation/parameters/store/sim-cfn-parameter-store.type.js";
|
|
2
|
+
import type { SimSsm } from "../../sim-ssm.js";
|
|
3
|
+
interface SimCfnSsmParameterValueReaderProperties {
|
|
4
|
+
readonly ssm: SimSsm;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Answers an `AWS::SSM::Parameter::Value<...>` template Parameter from the
|
|
8
|
+
* simulated Parameter Store.
|
|
9
|
+
*
|
|
10
|
+
* The Parameter is given a parameter name and resolves to the current value
|
|
11
|
+
* held under it, as real CloudFormation resolves one while it reads the
|
|
12
|
+
* template's `Parameters` section. Nothing in the Stack has been created at
|
|
13
|
+
* that point, so a name another Resource of the same Stack goes on to create
|
|
14
|
+
* is a name this cannot answer.
|
|
15
|
+
*
|
|
16
|
+
* A name with nothing behind it becomes a stand-in value carrying a reason,
|
|
17
|
+
* which the Stack records. A template reading configuration a test never
|
|
18
|
+
* created still deploys everything else in it.
|
|
19
|
+
*/
|
|
20
|
+
export declare class SimCfnSsmParameterValueReader implements SimCfnParameterStoreReader {
|
|
21
|
+
private readonly ssm;
|
|
22
|
+
constructor(properties: SimCfnSsmParameterValueReaderProperties);
|
|
23
|
+
/**
|
|
24
|
+
* Read the current value of one parameter.
|
|
25
|
+
*/
|
|
26
|
+
read(name: string): SimCfnParameterStoreValue;
|
|
27
|
+
/**
|
|
28
|
+
* The value a name Parameter Store could not answer resolves to.
|
|
29
|
+
*
|
|
30
|
+
* The shape follows the one a dynamic reference stands in with, so a test
|
|
31
|
+
* reading either back sees where the value came from.
|
|
32
|
+
*/
|
|
33
|
+
private standIn;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=sim-cfn-ssm-parameter-value-reader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-ssm-parameter-value-reader.d.ts","sourceRoot":"","sources":["../../../../../src/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,0EAA0E,CAAC;AAClF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,6BAA8B,YAAW,0BAA0B;IAC9E,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAE7B,YAAY,UAAU,EAAE,uCAAuC,EAE9D;IAED;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,yBAAyB,CAmB5C;IAED;;;;;OAKG;IACH,OAAO,CAAC,OAAO;CAQhB"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Answers an `AWS::SSM::Parameter::Value<...>` template Parameter from the
|
|
3
|
+
* simulated Parameter Store.
|
|
4
|
+
*
|
|
5
|
+
* The Parameter is given a parameter name and resolves to the current value
|
|
6
|
+
* held under it, as real CloudFormation resolves one while it reads the
|
|
7
|
+
* template's `Parameters` section. Nothing in the Stack has been created at
|
|
8
|
+
* that point, so a name another Resource of the same Stack goes on to create
|
|
9
|
+
* is a name this cannot answer.
|
|
10
|
+
*
|
|
11
|
+
* A name with nothing behind it becomes a stand-in value carrying a reason,
|
|
12
|
+
* which the Stack records. A template reading configuration a test never
|
|
13
|
+
* created still deploys everything else in it.
|
|
14
|
+
*/
|
|
15
|
+
export class SimCfnSsmParameterValueReader {
|
|
16
|
+
ssm;
|
|
17
|
+
constructor(properties) {
|
|
18
|
+
this.ssm = properties.ssm;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Read the current value of one parameter.
|
|
22
|
+
*/
|
|
23
|
+
read(name) {
|
|
24
|
+
const parameter = this.ssm.findParameter(name);
|
|
25
|
+
if (parameter === undefined) {
|
|
26
|
+
return this.standIn(name, `which simulated Parameter Store holds no parameter of`);
|
|
27
|
+
}
|
|
28
|
+
if (parameter.type.value === "SecureString") {
|
|
29
|
+
return this.standIn(name, `which is a SecureString, a type real CloudFormation refuses to read ` +
|
|
30
|
+
`into a template Parameter`);
|
|
31
|
+
}
|
|
32
|
+
return { value: parameter.currentVersion.value.value };
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The value a name Parameter Store could not answer resolves to.
|
|
36
|
+
*
|
|
37
|
+
* The shape follows the one a dynamic reference stands in with, so a test
|
|
38
|
+
* reading either back sees where the value came from.
|
|
39
|
+
*/
|
|
40
|
+
standIn(name, reason) {
|
|
41
|
+
return {
|
|
42
|
+
value: `dummy-value-for-${name}`,
|
|
43
|
+
reason: `names the Parameter Store parameter '${name}', ${reason}, so the ` +
|
|
44
|
+
`Parameter resolves to a stand-in value`,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=sim-cfn-ssm-parameter-value-reader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-ssm-parameter-value-reader.js","sourceRoot":"","sources":["../../../../../src/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-value-reader.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,6BAA6B;IACvB,GAAG,CAAS;IAE7B,YAAY,UAAmD;QAC7D,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,IAAY;QACf,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAE/C,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,OAAO,IAAI,CAAC,OAAO,CACjB,IAAI,EACJ,uDAAuD,CACxD,CAAC;QACJ,CAAC;QAED,IAAI,SAAS,CAAC,IAAI,CAAC,KAAK,KAAK,cAAc,EAAE,CAAC;YAC5C,OAAO,IAAI,CAAC,OAAO,CACjB,IAAI,EACJ,sEAAsE;gBACpE,2BAA2B,CAC9B,CAAC;QACJ,CAAC;QAED,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACK,OAAO,CAAC,IAAY,EAAE,MAAc;QAC1C,OAAO;YACL,KAAK,EAAE,mBAAmB,IAAI,EAAE;YAChC,MAAM,EACJ,wCAAwC,IAAI,MAAM,MAAM,WAAW;gBACnE,wCAAwC;SAC3C,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -5,6 +5,8 @@ import type { SimAwsAccountRegionScope } from "../aws/sim-aws-account-region-sco
|
|
|
5
5
|
import { type SimIamInterServiceAuthZ } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
6
6
|
import type * as simSsmCommands from "./command/sim-ssm-command.types.js";
|
|
7
7
|
import { SimSsmCfnResourceFactory } from "./cfn/sim-cfn-ssm-resource-factory.js";
|
|
8
|
+
import { SimCfnSsmDynamicReferenceResolver } from "./cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js";
|
|
9
|
+
import { SimCfnSsmParameterValueReader } from "./cfn/parameter/sim-cfn-ssm-parameter-value-reader.js";
|
|
8
10
|
import type { SimSsmParameter } from "./parameter/sim-ssm-parameter.js";
|
|
9
11
|
import type { SimSsmKmsCrypto } from "./parameter/sim-ssm-kms-crypto.js";
|
|
10
12
|
export interface SimSsmRequestOptions {
|
|
@@ -81,6 +83,14 @@ export declare class SimSsm {
|
|
|
81
83
|
* Get the CloudFormation Resource factory for AWS::SSM::* Resources.
|
|
82
84
|
*/
|
|
83
85
|
cfnResourceFactory(): SimSsmCfnResourceFactory;
|
|
86
|
+
/**
|
|
87
|
+
* Get the resolver for `{{resolve:ssm:...}}` dynamic references.
|
|
88
|
+
*/
|
|
89
|
+
cfnDynamicReferenceResolver(): SimCfnSsmDynamicReferenceResolver;
|
|
90
|
+
/**
|
|
91
|
+
* Get the reader for `AWS::SSM::Parameter::Value<...>` template Parameters.
|
|
92
|
+
*/
|
|
93
|
+
cfnParameterValueReader(): SimCfnSsmParameterValueReader;
|
|
84
94
|
/**
|
|
85
95
|
* Get this service's SDK Command router for SDK client interception.
|
|
86
96
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-ssm.d.ts","sourceRoot":"","sources":["../../../src/service/ssm/sim-ssm.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,OAAO,E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CAAC,cAAc,CAAC,kCAAkC,CAAC,CAG5D;IAED;;OAEG;IACH,kBAAkB,IAAI,wBAAwB,CAE7C;IAED;;OAEG;IACH,2BAA2B,IAAI,iCAAiC,CAE/D;IAED;;OAEG;IACH,uBAAuB,IAAI,6BAA6B,CAEvD;IAED;;OAEG;IACH,gBAAgB,IAAI,mBAAmB,CAEtC;CACF"}
|
|
@@ -9,6 +9,8 @@ import { SimSsmGetParameterCommands } from "./command/parameter/sim-ssm-get-para
|
|
|
9
9
|
import { SimSsmGetParametersByPath } from "./command/parameter/sim-ssm-get-parameters-by-path.js";
|
|
10
10
|
import { SimSsmPutParameter } from "./command/parameter/sim-ssm-put-parameter.js";
|
|
11
11
|
import { SimSsmCfnResourceFactory } from "./cfn/sim-cfn-ssm-resource-factory.js";
|
|
12
|
+
import { SimCfnSsmDynamicReferenceResolver } from "./cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js";
|
|
13
|
+
import { SimCfnSsmParameterValueReader } from "./cfn/parameter/sim-cfn-ssm-parameter-value-reader.js";
|
|
12
14
|
import { SimSsmParameterEncryption } from "./parameter/sim-ssm-parameter-encryption.js";
|
|
13
15
|
import { SimSsmParameterStore } from "./parameter/sim-ssm-parameter-store.js";
|
|
14
16
|
import { SimSsmParameterWriter } from "./parameter/sim-ssm-parameter-writer.js";
|
|
@@ -134,6 +136,18 @@ export class SimSsm {
|
|
|
134
136
|
cfnResourceFactory() {
|
|
135
137
|
return this.cfnFactory;
|
|
136
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* Get the resolver for `{{resolve:ssm:...}}` dynamic references.
|
|
141
|
+
*/
|
|
142
|
+
cfnDynamicReferenceResolver() {
|
|
143
|
+
return new SimCfnSsmDynamicReferenceResolver({ ssm: this });
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Get the reader for `AWS::SSM::Parameter::Value<...>` template Parameters.
|
|
147
|
+
*/
|
|
148
|
+
cfnParameterValueReader() {
|
|
149
|
+
return new SimCfnSsmParameterValueReader({ ssm: this });
|
|
150
|
+
}
|
|
137
151
|
/**
|
|
138
152
|
* Get this service's SDK Command router for SDK client interception.
|
|
139
153
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-ssm.js","sourceRoot":"","sources":["../../../src/service/ssm/sim-ssm.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAI7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EACL,kBAAkB,GAEnB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,0DAA0D,CAAC;AACzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,EAAE,0BAA0B,EAAE,MAAM,uDAAuD,CAAC;AACnG,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAElF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-ssm.js","sourceRoot":"","sources":["../../../src/service/ssm/sim-ssm.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAI7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EACL,kBAAkB,GAEnB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,0DAA0D,CAAC;AACzG,OAAO,EAAE,wB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B;QAE9B,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,2BAA2B;QACzB,OAAO,IAAI,iCAAiC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,uBAAuB;QACrB,OAAO,IAAI,6BAA6B,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;CACF"}
|
|
@@ -3,7 +3,7 @@ import type { SimIamAccountResolver } from "../../../iam/registry/sim-iam-accoun
|
|
|
3
3
|
import type { SimAssumeRoleCommand, SimAssumeRoleCommandOutput } from "./assume-role.command.js";
|
|
4
4
|
import { type BackgroundScheduler } from "../../../../util/background/background.js";
|
|
5
5
|
import type { SimAwsAccountId } from "../../../aws/sim-aws-account.js";
|
|
6
|
-
import type {
|
|
6
|
+
import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
7
7
|
interface AssumeRoleCommandHandlerProperties {
|
|
8
8
|
readonly sourceAccountId: SimAwsAccountId;
|
|
9
9
|
readonly iamResolver: SimIamAccountResolver;
|
|
@@ -33,7 +33,7 @@ export declare class AssumeRoleCommandHandler implements CommandHandler<SimAssum
|
|
|
33
33
|
* coordinates authorization and temporary session creation.
|
|
34
34
|
*/
|
|
35
35
|
handle(command: SimAssumeRoleCommand, options?: {
|
|
36
|
-
caller?:
|
|
36
|
+
caller?: SimAwsCaller;
|
|
37
37
|
}): Promise<SimAssumeRoleCommandOutput>;
|
|
38
38
|
}
|
|
39
39
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assume-role.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/sts/command/assume-role/assume-role.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAMvE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"assume-role.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/sts/command/assume-role/assume-role.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAMvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAG1E,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;IAC5C,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED;;;;;;;;GAQG;AACH,qBAAa,wBAAyB,YAAW,cAAc,CAC7D,oBAAoB,EACpB,0BAA0B,CAC3B;IACC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA8B;IAC7D,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuC;IACrE,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAqC;IAC9E,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAiC;IAChE,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkB;IAElD,YAAY,UAAU,EAAE,kCAAkC,EAiBzD;IAED;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,YAAY,CAAC;KACvB,GACA,OAAO,CAAC,0BAA0B,CAAC,CAgCrC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal structural sim STS GetCallerIdentity command.
|
|
4
|
+
*
|
|
5
|
+
* The operation takes no input. Everything it answers with comes from who the
|
|
6
|
+
* request was made by.
|
|
7
|
+
*/
|
|
8
|
+
export interface SimGetCallerIdentityCommand {
|
|
9
|
+
readonly input?: Record<string, never> | undefined;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Minimal structural sim STS GetCallerIdentity output.
|
|
13
|
+
*/
|
|
14
|
+
export interface SimGetCallerIdentityCommandOutput {
|
|
15
|
+
readonly UserId?: string | undefined;
|
|
16
|
+
readonly Account?: string | undefined;
|
|
17
|
+
readonly Arn?: string | undefined;
|
|
18
|
+
readonly $metadata: SimResponseMetadata;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=get-caller-identity.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-caller-identity.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/get-caller-identity.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-caller-identity.command.js","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/get-caller-identity.command.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { CommandHandler } from "../../../../command/command-handler.js";
|
|
2
|
+
import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
3
|
+
import type { SimAwsAccountId } from "../../../aws/sim-aws-account.js";
|
|
4
|
+
import type { SimIamAccountResolver } from "../../../iam/registry/sim-iam-account-resolver.js";
|
|
5
|
+
import type { SimGetCallerIdentityCommand, SimGetCallerIdentityCommandOutput } from "./get-caller-identity.command.js";
|
|
6
|
+
interface GetCallerIdentityCommandHandlerProperties {
|
|
7
|
+
readonly sourceAccountId: SimAwsAccountId;
|
|
8
|
+
readonly iamResolver: SimIamAccountResolver;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Simulated STS GetCallerIdentity handler.
|
|
12
|
+
*
|
|
13
|
+
* The operation reports who the simulator decided the caller is. Real STS
|
|
14
|
+
* needs no permission for it, which is what makes it the call people reach for
|
|
15
|
+
* to check that credentials and an endpoint are wired up correctly, so this
|
|
16
|
+
* authorizes nothing either.
|
|
17
|
+
*
|
|
18
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sts/command/GetCallerIdentityCommand/
|
|
19
|
+
*/
|
|
20
|
+
export declare class GetCallerIdentityCommandHandler implements CommandHandler<SimGetCallerIdentityCommand, SimGetCallerIdentityCommandOutput> {
|
|
21
|
+
private readonly callerResolver;
|
|
22
|
+
private readonly sourceAccountId;
|
|
23
|
+
private readonly iamResolver;
|
|
24
|
+
constructor(properties: GetCallerIdentityCommandHandlerProperties);
|
|
25
|
+
/**
|
|
26
|
+
* Report the identity behind this request.
|
|
27
|
+
*
|
|
28
|
+
* A caller with no identity has none to report. Real STS answers an
|
|
29
|
+
* unsigned request by refusing the signature, and the simulator reaches the
|
|
30
|
+
* same place by way of the anonymous principal a served request resolves to.
|
|
31
|
+
*/
|
|
32
|
+
handle(_command: SimGetCallerIdentityCommand, options?: {
|
|
33
|
+
caller?: SimAwsCaller;
|
|
34
|
+
}): Promise<SimGetCallerIdentityCommandOutput>;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=get-caller-identity.handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-caller-identity.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/get-caller-identity.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,EACV,2BAA2B,EAC3B,iCAAiC,EAClC,MAAM,kCAAkC,CAAC;AAG1C,UAAU,yCAAyC;IACjD,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;CAC7C;AAED;;;;;;;;;GASG;AACH,qBAAa,+BAAgC,YAAW,cAAc,CACpE,2BAA2B,EAC3B,iCAAiC,CAClC;IACC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA8B;IAC7D,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkB;IAClD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAwB;IAEpD,YAAY,UAAU,EAAE,yCAAyC,EAGhE;IAED;;;;;;OAMG;IAEG,MAAM,CACV,QAAQ,EAAE,2BAA2B,EACrC,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,YAAY,CAAA;KAAE,GAClC,OAAO,CAAC,iCAAiC,CAAC,CAuB5C;CACF"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { SimAwsCallerResolver } from "../../../aws/caller/sim-aws-caller-resolver.js";
|
|
2
|
+
import { makeSimAwsAccountRootPrincipal } from "../../../aws/caller/sim-aws-account-root-principal.js";
|
|
3
|
+
import { SimIamAccessDenied } from "../../../iam/error/sim-iam.error.js";
|
|
4
|
+
import { simStsCallerUserId } from "./sim-sts-caller-user-id.js";
|
|
5
|
+
/**
|
|
6
|
+
* Simulated STS GetCallerIdentity handler.
|
|
7
|
+
*
|
|
8
|
+
* The operation reports who the simulator decided the caller is. Real STS
|
|
9
|
+
* needs no permission for it, which is what makes it the call people reach for
|
|
10
|
+
* to check that credentials and an endpoint are wired up correctly, so this
|
|
11
|
+
* authorizes nothing either.
|
|
12
|
+
*
|
|
13
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sts/command/GetCallerIdentityCommand/
|
|
14
|
+
*/
|
|
15
|
+
export class GetCallerIdentityCommandHandler {
|
|
16
|
+
callerResolver = new SimAwsCallerResolver();
|
|
17
|
+
sourceAccountId;
|
|
18
|
+
iamResolver;
|
|
19
|
+
constructor(properties) {
|
|
20
|
+
this.sourceAccountId = properties.sourceAccountId;
|
|
21
|
+
this.iamResolver = properties.iamResolver;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Report the identity behind this request.
|
|
25
|
+
*
|
|
26
|
+
* A caller with no identity has none to report. Real STS answers an
|
|
27
|
+
* unsigned request by refusing the signature, and the simulator reaches the
|
|
28
|
+
* same place by way of the anonymous principal a served request resolves to.
|
|
29
|
+
*/
|
|
30
|
+
// oxlint-disable-next-line require-await -- the handler contract is asynchronous
|
|
31
|
+
async handle(_command, options) {
|
|
32
|
+
const caller = this.callerResolver.resolve(options?.caller, makeSimAwsAccountRootPrincipal(this.sourceAccountId));
|
|
33
|
+
if (caller.principal.kind !== "arn") {
|
|
34
|
+
throw new SimIamAccessDenied({
|
|
35
|
+
principal: caller.principal,
|
|
36
|
+
action: "sts:GetCallerIdentity",
|
|
37
|
+
resource: "*",
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
const accountId = (caller.accountId ??
|
|
41
|
+
this.sourceAccountId);
|
|
42
|
+
return {
|
|
43
|
+
Arn: caller.arn,
|
|
44
|
+
Account: accountId,
|
|
45
|
+
...simStsCallerUserId(caller.arn, accountId, this.iamResolver),
|
|
46
|
+
$metadata: {},
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=get-caller-identity.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-caller-identity.handler.js","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/get-caller-identity.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAGtF,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAMzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAOjE;;;;;;;;;GASG;AACH,MAAM,OAAO,+BAA+B;IAIzB,cAAc,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC5C,eAAe,CAAkB;IACjC,WAAW,CAAwB;IAEpD,YAAY,UAAqD;QAC/D,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC;QAClD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;IAC5C,CAAC;IAED;;;;;;OAMG;IACH,iFAAiF;IACjF,KAAK,CAAC,MAAM,CACV,QAAqC,EACrC,OAAmC;QAEnC,MAAM,MAAM,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CACxC,OAAO,EAAE,MAAM,EACf,8BAA8B,CAAC,IAAI,CAAC,eAAe,CAAC,CACrD,CAAC;QAEF,IAAI,MAAM,CAAC,SAAS,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;YACpC,MAAM,IAAI,kBAAkB,CAAC;gBAC3B,SAAS,EAAE,MAAM,CAAC,SAAS;gBAC3B,MAAM,EAAE,uBAAuB;gBAC/B,QAAQ,EAAE,GAAG;aACd,CAAC,CAAC;QACL,CAAC;QAED,MAAM,SAAS,GAAG,CAAC,MAAM,CAAC,SAAS;YACjC,IAAI,CAAC,eAAe,CAAoB,CAAC;QAE3C,OAAO;YACL,GAAG,EAAE,MAAM,CAAC,GAAG;YACf,OAAO,EAAE,SAAS;YAClB,GAAG,kBAAkB,CAAC,MAAM,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;YAC9D,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { SimAwsAccountId } from "../../../aws/sim-aws-account.js";
|
|
2
|
+
import type { SimIamAccountResolver } from "../../../iam/registry/sim-iam-account-resolver.js";
|
|
3
|
+
/**
|
|
4
|
+
* The unique id STS reports for a caller, which differs by what the caller is.
|
|
5
|
+
*
|
|
6
|
+
* Real STS answers the Account id for the Account root, the user's own id for
|
|
7
|
+
* an IAM user, and the Role's id joined to the session name for an
|
|
8
|
+
* assumed-role session. Each one is looked up rather than invented, so a
|
|
9
|
+
* caller with no simulated record behind it gets no id at all instead of a
|
|
10
|
+
* plausible-looking one.
|
|
11
|
+
*/
|
|
12
|
+
export declare function simStsCallerUserId(arn: string | undefined, accountId: SimAwsAccountId, iamResolver: SimIamAccountResolver): {
|
|
13
|
+
UserId?: string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=sim-sts-caller-user-id.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sts-caller-user-id.d.ts","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/sim-sts-caller-user-id.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAI/F;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,SAAS,EAAE,eAAe,EAC1B,WAAW,EAAE,qBAAqB,GACjC;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CA+CrB"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The unique id STS reports for a caller, which differs by what the caller is.
|
|
3
|
+
*
|
|
4
|
+
* Real STS answers the Account id for the Account root, the user's own id for
|
|
5
|
+
* an IAM user, and the Role's id joined to the session name for an
|
|
6
|
+
* assumed-role session. Each one is looked up rather than invented, so a
|
|
7
|
+
* caller with no simulated record behind it gets no id at all instead of a
|
|
8
|
+
* plausible-looking one.
|
|
9
|
+
*/
|
|
10
|
+
export function simStsCallerUserId(arn, accountId, iamResolver) {
|
|
11
|
+
if (arn === undefined) {
|
|
12
|
+
return {};
|
|
13
|
+
}
|
|
14
|
+
const resource = arn.split(":").slice(5).join(":");
|
|
15
|
+
if (resource === "root") {
|
|
16
|
+
return { UserId: accountId };
|
|
17
|
+
}
|
|
18
|
+
const iam = iamResolver.findIamForAccount(accountId);
|
|
19
|
+
if (iam === undefined) {
|
|
20
|
+
return {};
|
|
21
|
+
}
|
|
22
|
+
const [kind, ...segments] = resource.split("/");
|
|
23
|
+
if (kind === "user") {
|
|
24
|
+
// A User ARN carries the User's path before its name, so the name is the
|
|
25
|
+
// last segment rather than the first. `user/engineering/Widgets` is the
|
|
26
|
+
// User `Widgets` at path `/engineering/`, and simulated IAM keys Users by
|
|
27
|
+
// name alone.
|
|
28
|
+
const username = segments.at(-1);
|
|
29
|
+
const userId = username === undefined
|
|
30
|
+
? undefined
|
|
31
|
+
: iam.users.get(username)?.userId;
|
|
32
|
+
return userId === undefined ? {} : { UserId: userId };
|
|
33
|
+
}
|
|
34
|
+
if (kind === "assumed-role") {
|
|
35
|
+
// A session ARN names the Role and then the session, and carries no path,
|
|
36
|
+
// which is why these two are read by position.
|
|
37
|
+
const [roleName, sessionName] = segments;
|
|
38
|
+
const roleId = roleName === undefined
|
|
39
|
+
? undefined
|
|
40
|
+
: iam.roles.get(roleName)?.roleId;
|
|
41
|
+
return roleId === undefined
|
|
42
|
+
? {}
|
|
43
|
+
: { UserId: `${roleId}:${sessionName ?? ""}` };
|
|
44
|
+
}
|
|
45
|
+
return {};
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=sim-sts-caller-user-id.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sts-caller-user-id.js","sourceRoot":"","sources":["../../../../../src/service/sts/command/get-caller-identity/sim-sts-caller-user-id.ts"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH,MAAM,UAAU,kBAAkB,CAChC,GAAuB,EACvB,SAA0B,EAC1B,WAAkC;IAElC,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,QAAQ,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CA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;IACnD,CAAC;IAED,OAAO,EAAE,CAAC;AACZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-sts-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/sts/sdk/sim-sts-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-sts-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/sts/sdk/sim-sts-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,qBAAa,sBAAuB,YAAW,mBAAmB;IAChE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,MAAM,EAAE,MAAM,EAmBzB;IAED;;OAEG;IACH,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAEzD;CACF"}
|
|
@@ -6,6 +6,10 @@ export class SimStsSdkCommandRouter {
|
|
|
6
6
|
routes;
|
|
7
7
|
constructor(simSts) {
|
|
8
8
|
this.routes = new Map([
|
|
9
|
+
[
|
|
10
|
+
"GetCallerIdentityCommand",
|
|
11
|
+
async (command, context) => await simSts.getCallerIdentity(command, simSdkCallerOptions(context)),
|
|
12
|
+
],
|
|
9
13
|
[
|
|
10
14
|
"AssumeRoleCommand",
|
|
11
15
|
async (command, context) => await simSts.assumeRole(command, simSdkCallerOptions(context)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-sts-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/sts/sdk/sim-sts-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAGpB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-sts-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/sts/sdk/sim-sts-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAGpB,MAAM,uBAAuB,CAAC;AAK/B;;GAEG;AACH,MAAM,OAAO,sBAAsB;IAChB,MAAM,CAA0C;IAEjE,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD;gBACE,0BAA0B;gBAC1B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,MAAM,CAAC,iBAAiB,CAC5B,OAAsC,EACtC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,mBAAmB;gBACnB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,MAAM,CAAC,UAAU,CACrB,OAA+B,EAC/B,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;SACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SimAws } from "../../aws/sim-aws.js";
|
|
2
|
+
import { SimQueryApiEndpoint } from "../../../serve/http/api/query/sim-query-endpoint.js";
|
|
3
|
+
/**
|
|
4
|
+
* Serve the STS Query API to a client given an endpoint URL.
|
|
5
|
+
*
|
|
6
|
+
* The two operations simulated STS implements are both served.
|
|
7
|
+
* `GetCallerIdentity` is the one a person reaches for to check that an
|
|
8
|
+
* endpoint and a set of credentials are wired up as expected, and `AssumeRole`
|
|
9
|
+
* hands back credentials that sign the requests the caller makes next.
|
|
10
|
+
*/
|
|
11
|
+
export declare function simStsApiEndpoint(simAws: SimAws): SimQueryApiEndpoint;
|
|
12
|
+
//# sourceMappingURL=sim-sts-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sts-api.d.ts","sourceRoot":"","sources":["../../../../src/service/sts/serve/sim-sts-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAY1F;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB,CAOrE"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { SimQueryApiEndpoint } from "../../../serve/http/api/query/sim-query-endpoint.js";
|
|
2
|
+
import { queryMembers, queryStructure, } from "../../../serve/http/api/query/sim-query-result.js";
|
|
3
|
+
/**
|
|
4
|
+
* The XML namespace real STS stamps on every response it sends.
|
|
5
|
+
*/
|
|
6
|
+
const stsNamespace = "https://sts.amazonaws.com/doc/2011-06-15/";
|
|
7
|
+
/**
|
|
8
|
+
* Serve the STS Query API to a client given an endpoint URL.
|
|
9
|
+
*
|
|
10
|
+
* The two operations simulated STS implements are both served.
|
|
11
|
+
* `GetCallerIdentity` is the one a person reaches for to check that an
|
|
12
|
+
* endpoint and a set of credentials are wired up as expected, and `AssumeRole`
|
|
13
|
+
* hands back credentials that sign the requests the caller makes next.
|
|
14
|
+
*/
|
|
15
|
+
export function simStsApiEndpoint(simAws) {
|
|
16
|
+
return new SimQueryApiEndpoint({
|
|
17
|
+
simAws,
|
|
18
|
+
serviceId: "STS",
|
|
19
|
+
namespace: stsNamespace,
|
|
20
|
+
operations: simStsQueryOperations(),
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function simStsQueryOperations() {
|
|
24
|
+
return new Map([
|
|
25
|
+
[
|
|
26
|
+
"GetCallerIdentity",
|
|
27
|
+
{
|
|
28
|
+
input: () => ({}),
|
|
29
|
+
result: (output) => queryMembers(output, ["UserId", "Account", "Arn"]),
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
[
|
|
33
|
+
"AssumeRole",
|
|
34
|
+
{
|
|
35
|
+
input: (fields) => ({
|
|
36
|
+
RoleArn: fields.text("RoleArn"),
|
|
37
|
+
RoleSessionName: fields.text("RoleSessionName"),
|
|
38
|
+
DurationSeconds: fields.number("DurationSeconds"),
|
|
39
|
+
ExternalId: fields.text("ExternalId"),
|
|
40
|
+
}),
|
|
41
|
+
result: (output) => queryStructure(output, "Credentials", (credentials) => queryMembers(credentials, [
|
|
42
|
+
"AccessKeyId",
|
|
43
|
+
"SecretAccessKey",
|
|
44
|
+
"SessionToken",
|
|
45
|
+
"Expiration",
|
|
46
|
+
])) +
|
|
47
|
+
queryStructure(output, "AssumedRoleUser", (user) => queryMembers(user, ["Arn", "AssumedRoleId"])),
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
]);
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=sim-sts-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sts-api.js","sourceRoot":"","sources":["../../../../src/service/sts/serve/sim-sts-api.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAE1F,OAAO,EACL,YAAY,EACZ,cAAc,GACf,MAAM,mDAAmD,CAAC;AAE3D;;GAEG;AACH,MAAM,YAAY,GAAG,2CAA2C,CAAC;AAEjE;;;;;;;GAOG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAc;IAC9C,OAAO,IAAI,mBAAmB,CAAC;QAC7B,MAAM;QACN,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,YAAY;QACvB,UAAU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