@kensio/yulin 1.15.1 → 1.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -46
- package/dist/sdk/error/sim-sdk.error.d.ts +10 -0
- package/dist/sdk/error/sim-sdk.error.d.ts.map +1 -1
- package/dist/sdk/error/sim-sdk.error.js +10 -0
- package/dist/sdk/error/sim-sdk.error.js.map +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.js +5 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-command.d.ts +20 -0
- package/dist/sdk/wire/sim-sdk-wire-command.d.ts.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-command.js +31 -0
- package/dist/sdk/wire/sim-sdk-wire-command.js.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.d.ts +42 -0
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.d.ts.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.js +63 -0
- package/dist/sdk/wire/sim-sdk-wire-dispatcher.js.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-json.d.ts +26 -0
- package/dist/sdk/wire/sim-sdk-wire-json.d.ts.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-json.js +59 -0
- package/dist/sdk/wire/sim-sdk-wire-json.js.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-operation.d.ts +37 -0
- package/dist/sdk/wire/sim-sdk-wire-operation.d.ts.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-operation.js +79 -0
- package/dist/sdk/wire/sim-sdk-wire-operation.js.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-response.d.ts +17 -0
- package/dist/sdk/wire/sim-sdk-wire-response.d.ts.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-response.js +67 -0
- package/dist/sdk/wire/sim-sdk-wire-response.js.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-unbridged.d.ts +17 -0
- package/dist/sdk/wire/sim-sdk-wire-unbridged.d.ts.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire-unbridged.js +25 -0
- package/dist/sdk/wire/sim-sdk-wire-unbridged.js.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire.types.d.ts +32 -0
- package/dist/sdk/wire/sim-sdk-wire.types.d.ts.map +1 -0
- package/dist/sdk/wire/sim-sdk-wire.types.js +2 -0
- package/dist/sdk/wire/sim-sdk-wire.types.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-endpoint-style.d.ts +33 -0
- package/dist/serve/payload-2/sim-payload-2-endpoint-style.d.ts.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-endpoint-style.js +2 -0
- package/dist/serve/payload-2/sim-payload-2-endpoint-style.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-event-builder.d.ts.map +1 -1
- package/dist/serve/payload-2/sim-payload-2-event-builder.js +2 -2
- package/dist/serve/payload-2/sim-payload-2-event-builder.js.map +1 -1
- package/dist/serve/payload-2/sim-payload-2-event-query.d.ts +12 -0
- package/dist/serve/payload-2/sim-payload-2-event-query.d.ts.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-event-query.js +15 -0
- package/dist/serve/payload-2/sim-payload-2-event-query.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-event-request.d.ts +32 -0
- package/dist/serve/payload-2/sim-payload-2-event-request.d.ts.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-event-request.js +42 -0
- package/dist/serve/payload-2/sim-payload-2-event-request.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-event.factory.d.ts +15 -0
- package/dist/serve/payload-2/sim-payload-2-event.factory.d.ts.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-event.factory.js +71 -0
- package/dist/serve/payload-2/sim-payload-2-event.factory.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-request-parts.d.ts +23 -12
- package/dist/serve/payload-2/sim-payload-2-request-parts.d.ts.map +1 -1
- package/dist/serve/payload-2/sim-payload-2-request-parts.js +38 -26
- package/dist/serve/payload-2/sim-payload-2-request-parts.js.map +1 -1
- package/dist/service/apigatewayv2/factory/http-api-proxy-event.factory.d.ts +35 -0
- package/dist/service/apigatewayv2/factory/http-api-proxy-event.factory.d.ts.map +1 -0
- package/dist/service/apigatewayv2/factory/http-api-proxy-event.factory.js +65 -0
- package/dist/service/apigatewayv2/factory/http-api-proxy-event.factory.js.map +1 -0
- package/dist/service/apigatewayv2/index.d.ts +1 -0
- package/dist/service/apigatewayv2/index.d.ts.map +1 -1
- package/dist/service/apigatewayv2/index.js +1 -0
- package/dist/service/apigatewayv2/index.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +10 -36
- 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 +18 -65
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-cloudwatch-collaborators.d.ts +22 -0
- package/dist/service/aws/factory/sim-aws-cloudwatch-collaborators.d.ts.map +1 -0
- package/dist/service/aws/factory/sim-aws-cloudwatch-collaborators.js +20 -0
- package/dist/service/aws/factory/sim-aws-cloudwatch-collaborators.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-registered-service-builder.d.ts +71 -0
- package/dist/service/aws/factory/sim-aws-registered-service-builder.d.ts.map +1 -0
- package/dist/service/aws/factory/sim-aws-registered-service-builder.js +96 -0
- package/dist/service/aws/factory/sim-aws-registered-service-builder.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +9 -0
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +11 -0
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +7 -0
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.js +19 -5
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.d.ts +6 -0
- package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.js +8 -0
- package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
- package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.js +8 -0
- package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-alarm-cfn.d.ts +26 -0
- package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-alarm-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-alarm-cfn.js +28 -0
- package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-alarm-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-cfn-value-adapter.d.ts +6 -0
- package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-cfn-value-adapter.js +13 -0
- package/dist/service/cloudformation/resource/cfn/cloudwatch/sim-cloudwatch-cfn-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.d.ts +6 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.js +19 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.d.ts +27 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.js +46 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.d.ts +33 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.js +48 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-template-cfn.d.ts +27 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-template-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-template-cfn.js +29 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-template-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +8 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts +3 -2
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-signer.d.ts +5 -2
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-signer.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-signer.js +38 -2
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-signer.js.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-function-url-origin-template.factory.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-function-url-origin-template.factory.js +5 -2
- package/dist/service/cloudfront/origin/custom/sim-cf-function-url-origin-template.factory.js.map +1 -1
- package/dist/service/cloudwatch/alarm/action/sim-aws-cloudwatch-alarm-topics.d.ts +34 -0
- package/dist/service/cloudwatch/alarm/action/sim-aws-cloudwatch-alarm-topics.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/action/sim-aws-cloudwatch-alarm-topics.js +51 -0
- package/dist/service/cloudwatch/alarm/action/sim-aws-cloudwatch-alarm-topics.js.map +1 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-action-failures.d.ts +54 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-action-failures.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-action-failures.js +70 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-action-failures.js.map +1 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-actions.d.ts +30 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-actions.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-actions.js +58 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-actions.js.map +1 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-notification.d.ts +26 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-notification.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-notification.js +56 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-notification.js.map +1 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-targets.d.ts +37 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-targets.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-targets.js +19 -0
- package/dist/service/cloudwatch/alarm/action/sim-cloudwatch-alarm-targets.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-arn.d.ts +10 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-arn.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-arn.js +11 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-arn.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-definition.d.ts +33 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-definition.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-definition.js +2 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-definition.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-evaluation.d.ts +32 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-evaluation.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-evaluation.js +75 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-evaluation.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-history.d.ts +26 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-history.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-history.js +16 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-history.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-periods.d.ts +23 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-periods.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-periods.js +37 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-periods.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-schedule.d.ts +55 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-schedule.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-schedule.js +84 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-schedule.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-state.d.ts +18 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-state.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-state.js +29 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-state.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-store.d.ts +24 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-store.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-store.js +33 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm-store.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm.d.ts +57 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm.js +84 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-alarm.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-comparison.d.ts +19 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-comparison.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-comparison.js +48 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-comparison.js.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-missing-data.d.ts +16 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-missing-data.d.ts.map +1 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-missing-data.js +31 -0
- package/dist/service/cloudwatch/alarm/sim-cloudwatch-missing-data.js.map +1 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.d.ts +33 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.d.ts.map +1 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.js +41 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.js.map +1 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-properties.d.ts +39 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-properties.d.ts.map +1 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-properties.js +80 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-properties.js.map +1 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-property-rules.d.ts +20 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-property-rules.d.ts.map +1 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-property-rules.js +80 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-property-rules.js.map +1 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-values.d.ts +56 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-values.d.ts.map +1 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-values.js +107 -0
- package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-values.js.map +1 -0
- package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.d.ts +29 -0
- package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.js +43 -0
- package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.js.map +1 -0
- package/dist/service/cloudwatch/command/alarm/alarm.command.d.ts +155 -0
- package/dist/service/cloudwatch/command/alarm/alarm.command.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/alarm/alarm.command.js +2 -0
- package/dist/service/cloudwatch/command/alarm/alarm.command.js.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-action-input.d.ts +19 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-action-input.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-action-input.js +56 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-action-input.js.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-context.d.ts +22 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-context.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-context.js +2 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-context.js.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-detail.d.ts +15 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-detail.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-detail.js +61 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-detail.js.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-input.d.ts +7 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-input.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-input.js +39 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-input.js.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-numbers.d.ts +20 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-numbers.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-numbers.js +52 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-numbers.js.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-reads.d.ts +25 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-reads.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-reads.js +60 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-reads.js.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-selection.d.ts +12 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-selection.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-selection.js +59 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-selection.js.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-writes.d.ts +23 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-writes.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-writes.js +63 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-alarm-writes.js.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-set-alarm-state.d.ts +19 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-set-alarm-state.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-set-alarm-state.js +47 -0
- package/dist/service/cloudwatch/command/alarm/sim-cloudwatch-set-alarm-state.js.map +1 -0
- package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-authorizer.d.ts +41 -0
- package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-authorizer.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-authorizer.js +65 -0
- package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-authorizer.js.map +1 -0
- package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-decide.d.ts +23 -0
- package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-decide.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-decide.js +30 -0
- package/dist/service/cloudwatch/command/authorize/sim-cloudwatch-decide.js.map +1 -0
- package/dist/service/cloudwatch/command/data/data.command.d.ts +42 -0
- package/dist/service/cloudwatch/command/data/data.command.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/data/data.command.js +2 -0
- package/dist/service/cloudwatch/command/data/data.command.js.map +1 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-datum.d.ts +11 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-datum.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-datum.js +66 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-datum.js.map +1 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-value.d.ts +14 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-value.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-value.js +58 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-metric-value.js.map +1 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-observation.d.ts +15 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-observation.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-observation.js +34 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-observation.js.map +1 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-put-metric-data.d.ts +28 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-put-metric-data.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-put-metric-data.js +66 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-put-metric-data.js.map +1 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-weighted-values.d.ts +9 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-weighted-values.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-weighted-values.js +22 -0
- package/dist/service/cloudwatch/command/data/sim-cloudwatch-weighted-values.js.map +1 -0
- package/dist/service/cloudwatch/command/query/query.command.d.ts +133 -0
- package/dist/service/cloudwatch/command/query/query.command.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/query.command.js +2 -0
- package/dist/service/cloudwatch/command/query/query.command.js.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-data.d.ts +25 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-data.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-data.js +46 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-data.js.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-statistics.d.ts +25 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-statistics.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-statistics.js +55 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-get-metric-statistics.js.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-list-metrics.d.ts +23 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-list-metrics.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-list-metrics.js +46 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-list-metrics.js.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-query.d.ts +25 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-query.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-query.js +63 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-query.js.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-request.d.ts +26 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-request.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-request.js +61 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-request.js.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-result.d.ts +20 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-result.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-result.js +36 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-data-result.js.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-filter.d.ts +12 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-filter.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-filter.js +27 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-filter.js.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-listing.d.ts +20 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-listing.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-listing.js +52 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-metric-listing.js.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-requested-statistics.d.ts +10 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-requested-statistics.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-requested-statistics.js +20 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-requested-statistics.js.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-statistic-datapoints.d.ts +17 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-statistic-datapoints.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-statistic-datapoints.js +45 -0
- package/dist/service/cloudwatch/command/query/sim-cloudwatch-statistic-datapoints.js.map +1 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-command.types.d.ts +7 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-command.types.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-command.types.js +2 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-command.types.js.map +1 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-page.d.ts +24 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-page.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-page.js +36 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-page.js.map +1 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-request-options.d.ts +21 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-request-options.d.ts.map +1 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-request-options.js +10 -0
- package/dist/service/cloudwatch/command/sim-cloudwatch-request-options.js.map +1 -0
- package/dist/service/cloudwatch/error/sim-cloudwatch.error.d.ts +48 -0
- package/dist/service/cloudwatch/error/sim-cloudwatch.error.d.ts.map +1 -0
- package/dist/service/cloudwatch/error/sim-cloudwatch.error.js +51 -0
- package/dist/service/cloudwatch/error/sim-cloudwatch.error.js.map +1 -0
- package/dist/service/cloudwatch/index.d.ts +26 -0
- package/dist/service/cloudwatch/index.d.ts.map +1 -0
- package/dist/service/cloudwatch/index.js +25 -0
- package/dist/service/cloudwatch/index.js.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-datapoint.d.ts +54 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-datapoint.d.ts.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-datapoint.js +29 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-datapoint.js.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-dimension.d.ts +37 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-dimension.d.ts.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-dimension.js +42 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-dimension.js.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-metric-store.d.ts +46 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-metric-store.d.ts.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-metric-store.js +61 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-metric-store.js.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-metric.d.ts +53 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-metric.d.ts.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-metric.js +45 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-metric.js.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-name.d.ts +22 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-name.d.ts.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-name.js +54 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-name.js.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-namespace.d.ts +22 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-namespace.d.ts.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-namespace.js +34 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-namespace.js.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-period.d.ts +32 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-period.d.ts.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-period.js +70 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-period.js.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-statistic.d.ts +20 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-statistic.d.ts.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-statistic.js +51 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-statistic.js.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-time-range.d.ts +16 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-time-range.d.ts.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-time-range.js +25 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-time-range.js.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-unit.d.ts +18 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-unit.d.ts.map +1 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-unit.js +56 -0
- package/dist/service/cloudwatch/metric/sim-cloudwatch-unit.js.map +1 -0
- package/dist/service/cloudwatch/sdk/sim-cloudwatch-sdk-command-router.d.ts +18 -0
- package/dist/service/cloudwatch/sdk/sim-cloudwatch-sdk-command-router.d.ts.map +1 -0
- package/dist/service/cloudwatch/sdk/sim-cloudwatch-sdk-command-router.js +60 -0
- package/dist/service/cloudwatch/sdk/sim-cloudwatch-sdk-command-router.js.map +1 -0
- package/dist/service/cloudwatch/sim-cloudwatch-commands.d.ts +47 -0
- package/dist/service/cloudwatch/sim-cloudwatch-commands.d.ts.map +1 -0
- package/dist/service/cloudwatch/sim-cloudwatch-commands.js +86 -0
- package/dist/service/cloudwatch/sim-cloudwatch-commands.js.map +1 -0
- package/dist/service/cloudwatch/sim-cloudwatch.d.ts +98 -0
- package/dist/service/cloudwatch/sim-cloudwatch.d.ts.map +1 -0
- package/dist/service/cloudwatch/sim-cloudwatch.js +138 -0
- package/dist/service/cloudwatch/sim-cloudwatch.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +7 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
- package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +10 -0
- package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +14 -13
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +14 -18
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.d.ts +15 -6
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.js +26 -19
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-request.js.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +5 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-password-sign-in.d.ts +41 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-password-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-password-sign-in.js +71 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-password-sign-in.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts +32 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js +36 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-sign-in-value-check.d.ts +30 -0
- package/dist/service/cognito/command/user/sim-cognito-sign-in-value-check.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-sign-in-value-check.js +47 -0
- package/dist/service/cognito/command/user/sim-cognito-sign-in-value-check.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-sign-up-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-sign-up-commands.js +8 -4
- package/dist/service/cognito/command/user/sim-cognito-sign-up-commands.js.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-user-commands.js +7 -3
- package/dist/service/cognito/command/user/sim-cognito-user-commands.js.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js +3 -1
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-identity.d.ts +9 -16
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-identity.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-identity.js +9 -26
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-identity.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-updates.d.ts +12 -3
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-updates.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-updates.js +19 -3
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-updates.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.js +5 -4
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +3 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +4 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
- package/dist/service/cognito/command/user-pool/user-pool.command.d.ts +7 -6
- package/dist/service/cognito/command/user-pool/user-pool.command.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts +22 -0
- package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts.map +1 -0
- package/dist/service/cognito/error/sim-cognito-managed-login.error.js +32 -0
- package/dist/service/cognito/error/sim-cognito-managed-login.error.js.map +1 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts +10 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.js +12 -0
- package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
- package/dist/service/cognito/index.d.ts +1 -1
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +1 -1
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/serve/page/sim-cognito-confirm-page.d.ts +29 -0
- package/dist/service/cognito/serve/page/sim-cognito-confirm-page.d.ts.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-confirm-page.js +90 -0
- package/dist/service/cognito/serve/page/sim-cognito-confirm-page.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts +38 -0
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.js +62 -0
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-form.d.ts +47 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-form.d.ts.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-form.js +76 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-form.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-markup.d.ts +69 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-markup.d.ts.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-markup.js +111 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-markup.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-paths.d.ts +39 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-paths.d.ts.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-paths.js +59 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-paths.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-request.d.ts +22 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-request.d.ts.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-request.js +30 -0
- package/dist/service/cognito/serve/page/sim-cognito-page-request.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts +28 -0
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js +45 -0
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-sign-up-page.d.ts +35 -0
- package/dist/service/cognito/serve/page/sim-cognito-sign-up-page.d.ts.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-sign-up-page.js +85 -0
- package/dist/service/cognito/serve/page/sim-cognito-sign-up-page.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-domain-endpoints.d.ts +20 -23
- package/dist/service/cognito/serve/sim-cognito-domain-endpoints.d.ts.map +1 -1
- package/dist/service/cognito/serve/sim-cognito-domain-endpoints.js +40 -19
- package/dist/service/cognito/serve/sim-cognito-domain-endpoints.js.map +1 -1
- package/dist/service/cognito/serve/sim-cognito-domain-request.d.ts +14 -0
- package/dist/service/cognito/serve/sim-cognito-domain-request.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-domain-request.js +2 -0
- package/dist/service/cognito/serve/sim-cognito-domain-request.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-attribute.d.ts +22 -0
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-attribute.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-attribute.js +52 -0
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-attribute.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts +26 -9
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js +23 -9
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +2 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-username-attributes.d.ts +87 -0
- package/dist/service/cognito/user-pool/sim-cognito-username-attributes.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-username-attributes.js +137 -0
- package/dist/service/cognito/user-pool/sim-cognito-username-attributes.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts +25 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js +39 -2
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js.map +1 -1
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-payload-hash.d.ts +8 -0
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-payload-hash.d.ts.map +1 -1
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-payload-hash.js +14 -6
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-payload-hash.js.map +1 -1
- package/dist/service/lambda/factory/lambda-dynamodb-stream-event.factory.d.ts +47 -0
- package/dist/service/lambda/factory/lambda-dynamodb-stream-event.factory.d.ts.map +1 -0
- package/dist/service/lambda/factory/lambda-dynamodb-stream-event.factory.js +96 -0
- package/dist/service/lambda/factory/lambda-dynamodb-stream-event.factory.js.map +1 -0
- package/dist/service/lambda/factory/lambda-dynamodb-stream-record-change.d.ts +36 -0
- package/dist/service/lambda/factory/lambda-dynamodb-stream-record-change.d.ts.map +1 -0
- package/dist/service/lambda/factory/lambda-dynamodb-stream-record-change.js +64 -0
- package/dist/service/lambda/factory/lambda-dynamodb-stream-record-change.js.map +1 -0
- package/dist/service/lambda/factory/lambda-function-url-event.factory.d.ts +37 -0
- package/dist/service/lambda/factory/lambda-function-url-event.factory.d.ts.map +1 -0
- package/dist/service/lambda/factory/lambda-function-url-event.factory.js +55 -0
- package/dist/service/lambda/factory/lambda-function-url-event.factory.js.map +1 -0
- package/dist/service/lambda/factory/lambda-sqs-event.factory.d.ts +37 -0
- package/dist/service/lambda/factory/lambda-sqs-event.factory.d.ts.map +1 -0
- package/dist/service/lambda/factory/lambda-sqs-event.factory.js +78 -0
- package/dist/service/lambda/factory/lambda-sqs-event.factory.js.map +1 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-module.d.ts +27 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-module.d.ts.map +1 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-module.js +78 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-module.js.map +1 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-target.d.ts +23 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-target.d.ts.map +1 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-target.js +111 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-http-target.js.map +1 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-wire-request.d.ts +37 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-wire-request.d.ts.map +1 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-wire-request.js +78 -0
- package/dist/service/lambda/function/code/vm/http/sim-lambda-vm-wire-request.js.map +1 -0
- package/dist/service/lambda/function/code/vm/sdk/sim-lambda-vm-sdk-module-provider.d.ts +5 -3
- package/dist/service/lambda/function/code/vm/sdk/sim-lambda-vm-sdk-module-provider.d.ts.map +1 -1
- package/dist/service/lambda/function/code/vm/sdk/sim-lambda-vm-sdk-module-provider.js.map +1 -1
- package/dist/service/lambda/function/code/vm/sdk/sim-sdk-lambda-vm-module-provider.d.ts +10 -2
- package/dist/service/lambda/function/code/vm/sdk/sim-sdk-lambda-vm-module-provider.d.ts.map +1 -1
- package/dist/service/lambda/function/code/vm/sdk/sim-sdk-lambda-vm-module-provider.js +21 -6
- package/dist/service/lambda/function/code/vm/sdk/sim-sdk-lambda-vm-module-provider.js.map +1 -1
- package/dist/service/lambda/function/code/vm/sim-lambda-vm-module.types.d.ts +12 -0
- package/dist/service/lambda/function/code/vm/sim-lambda-vm-module.types.d.ts.map +1 -0
- package/dist/service/lambda/function/code/vm/sim-lambda-vm-module.types.js +2 -0
- package/dist/service/lambda/function/code/vm/sim-lambda-vm-module.types.js.map +1 -0
- package/dist/service/lambda/function/code/vm/sim-lambda-vm-modules.d.ts.map +1 -1
- package/dist/service/lambda/function/code/vm/sim-lambda-vm-modules.js +5 -1
- package/dist/service/lambda/function/code/vm/sim-lambda-vm-modules.js.map +1 -1
- package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts.map +1 -1
- package/dist/service/lambda/function/environment/sim-lambda-environment.js +2 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.js.map +1 -1
- package/dist/service/lambda/function/environment/sim-lambda-execution-credentials.d.ts +19 -0
- package/dist/service/lambda/function/environment/sim-lambda-execution-credentials.d.ts.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-execution-credentials.js +20 -0
- package/dist/service/lambda/function/environment/sim-lambda-execution-credentials.js.map +1 -0
- package/dist/service/lambda/index.d.ts +3 -0
- package/dist/service/lambda/index.d.ts.map +1 -1
- package/dist/service/lambda/index.js +3 -0
- package/dist/service/lambda/index.js.map +1 -1
- package/dist/service/lambda/serve/auth/sim-lambda-url-payload-hash.d.ts +28 -0
- package/dist/service/lambda/serve/auth/sim-lambda-url-payload-hash.d.ts.map +1 -0
- package/dist/service/lambda/serve/auth/sim-lambda-url-payload-hash.js +56 -0
- package/dist/service/lambda/serve/auth/sim-lambda-url-payload-hash.js.map +1 -0
- package/dist/service/lambda/serve/response/sim-lambda-url-error-response.d.ts +16 -0
- package/dist/service/lambda/serve/response/sim-lambda-url-error-response.d.ts.map +1 -1
- package/dist/service/lambda/serve/response/sim-lambda-url-error-response.js +24 -0
- package/dist/service/lambda/serve/response/sim-lambda-url-error-response.js.map +1 -1
- package/dist/service/lambda/serve/sim-lambda-controller.d.ts +6 -0
- package/dist/service/lambda/serve/sim-lambda-controller.d.ts.map +1 -1
- package/dist/service/lambda/serve/sim-lambda-controller.js +11 -0
- package/dist/service/lambda/serve/sim-lambda-controller.js.map +1 -1
- package/dist/service/s3/factory/s3-notification-event-object.d.ts +10 -0
- package/dist/service/s3/factory/s3-notification-event-object.d.ts.map +1 -0
- package/dist/service/s3/factory/s3-notification-event-object.js +12 -0
- package/dist/service/s3/factory/s3-notification-event-object.js.map +1 -0
- package/dist/service/s3/factory/s3-notification-event.factory.d.ts +45 -0
- package/dist/service/s3/factory/s3-notification-event.factory.d.ts.map +1 -0
- package/dist/service/s3/factory/s3-notification-event.factory.js +102 -0
- package/dist/service/s3/factory/s3-notification-event.factory.js.map +1 -0
- package/dist/service/s3/index.d.ts +2 -0
- package/dist/service/s3/index.d.ts.map +1 -1
- package/dist/service/s3/index.js +1 -0
- package/dist/service/s3/index.js.map +1 -1
- package/dist/service/s3/notification/event/sim-s3-event-records.d.ts +32 -1
- package/dist/service/s3/notification/event/sim-s3-event-records.d.ts.map +1 -1
- package/dist/service/s3/notification/event/sim-s3-event-records.js +5 -5
- package/dist/service/s3/notification/event/sim-s3-event-records.js.map +1 -1
- package/dist/service/s3/notification/event/sim-s3-event.type.d.ts +83 -0
- package/dist/service/s3/notification/event/sim-s3-event.type.d.ts.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-event.type.js +2 -0
- package/dist/service/s3/notification/event/sim-s3-event.type.js.map +1 -0
- package/dist/service/ses/account/sim-ses-account.d.ts +59 -0
- package/dist/service/ses/account/sim-ses-account.d.ts.map +1 -0
- package/dist/service/ses/account/sim-ses-account.js +66 -0
- package/dist/service/ses/account/sim-ses-account.js.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.d.ts +35 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.d.ts.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.js +52 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.js.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.d.ts +37 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.d.ts.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.js +61 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.js.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.d.ts +17 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.d.ts.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.js +48 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.js.map +1 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-error.d.ts +24 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-error.d.ts.map +1 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-error.js +39 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-error.js.map +1 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.d.ts +13 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.d.ts.map +1 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.js +13 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.js.map +1 -0
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.d.ts +28 -0
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.js +69 -0
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.js.map +1 -0
- package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.d.ts +30 -0
- package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.d.ts.map +1 -0
- package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.js +48 -0
- package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.js.map +1 -0
- package/dist/service/ses/cfn/template/sim-cfn-ses-template-properties.d.ts +58 -0
- package/dist/service/ses/cfn/template/sim-cfn-ses-template-properties.d.ts.map +1 -0
- package/dist/service/ses/cfn/template/sim-cfn-ses-template-properties.js +121 -0
- package/dist/service/ses/cfn/template/sim-cfn-ses-template-properties.js.map +1 -0
- package/dist/service/ses/command/account/account.command.d.ts +59 -0
- package/dist/service/ses/command/account/account.command.d.ts.map +1 -0
- package/dist/service/ses/command/account/account.command.js +2 -0
- package/dist/service/ses/command/account/account.command.js.map +1 -0
- package/dist/service/ses/command/account/sim-ses-account-commands.d.ts +34 -0
- package/dist/service/ses/command/account/sim-ses-account-commands.d.ts.map +1 -0
- package/dist/service/ses/command/account/sim-ses-account-commands.js +41 -0
- package/dist/service/ses/command/account/sim-ses-account-commands.js.map +1 -0
- package/dist/service/ses/command/account/sim-ses-account-details-input.d.ts +11 -0
- package/dist/service/ses/command/account/sim-ses-account-details-input.d.ts.map +1 -0
- package/dist/service/ses/command/account/sim-ses-account-details-input.js +50 -0
- package/dist/service/ses/command/account/sim-ses-account-details-input.js.map +1 -0
- package/dist/service/ses/command/account/sim-ses-account-report.d.ts +21 -0
- package/dist/service/ses/command/account/sim-ses-account-report.d.ts.map +1 -0
- package/dist/service/ses/command/account/sim-ses-account-report.js +45 -0
- package/dist/service/ses/command/account/sim-ses-account-report.js.map +1 -0
- package/dist/service/ses/command/authorize/sim-ses-authorizer.d.ts +55 -0
- package/dist/service/ses/command/authorize/sim-ses-authorizer.d.ts.map +1 -0
- package/dist/service/ses/command/authorize/sim-ses-authorizer.js +78 -0
- package/dist/service/ses/command/authorize/sim-ses-authorizer.js.map +1 -0
- package/dist/service/ses/command/identity/identity.command.d.ts +84 -0
- package/dist/service/ses/command/identity/identity.command.d.ts.map +1 -0
- package/dist/service/ses/command/identity/identity.command.js +2 -0
- package/dist/service/ses/command/identity/identity.command.js.map +1 -0
- package/dist/service/ses/command/identity/sim-ses-identity-commands.d.ts +44 -0
- package/dist/service/ses/command/identity/sim-ses-identity-commands.d.ts.map +1 -0
- package/dist/service/ses/command/identity/sim-ses-identity-commands.js +92 -0
- package/dist/service/ses/command/identity/sim-ses-identity-commands.js.map +1 -0
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.d.ts +12 -0
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.d.ts.map +1 -0
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.js +26 -0
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.js.map +1 -0
- package/dist/service/ses/command/send/send.command.d.ts +71 -0
- package/dist/service/ses/command/send/send.command.d.ts.map +1 -0
- package/dist/service/ses/command/send/send.command.js +2 -0
- package/dist/service/ses/command/send/send.command.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-content.d.ts +24 -0
- package/dist/service/ses/command/send/sim-ses-content.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-content.js +40 -0
- package/dist/service/ses/command/send/sim-ses-content.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-read-content.d.ts +19 -0
- package/dist/service/ses/command/send/sim-ses-read-content.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-read-content.js +2 -0
- package/dist/service/ses/command/send/sim-ses-read-content.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-send-email.d.ts +36 -0
- package/dist/service/ses/command/send/sim-ses-send-email.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-send-email.js +80 -0
- package/dist/service/ses/command/send/sim-ses-send-email.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-simple-content.d.ts +12 -0
- package/dist/service/ses/command/send/sim-ses-simple-content.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-simple-content.js +33 -0
- package/dist/service/ses/command/send/sim-ses-simple-content.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-template-send.d.ts +34 -0
- package/dist/service/ses/command/send/sim-ses-template-send.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-template-send.js +101 -0
- package/dist/service/ses/command/send/sim-ses-template-send.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-unsimulated-send-input.d.ts +12 -0
- package/dist/service/ses/command/send/sim-ses-unsimulated-send-input.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-unsimulated-send-input.js +26 -0
- package/dist/service/ses/command/send/sim-ses-unsimulated-send-input.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-verified-identities.d.ts +36 -0
- package/dist/service/ses/command/send/sim-ses-verified-identities.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-verified-identities.js +50 -0
- package/dist/service/ses/command/send/sim-ses-verified-identities.js.map +1 -0
- package/dist/service/ses/command/sim-ses-command.types.d.ts +8 -0
- package/dist/service/ses/command/sim-ses-command.types.d.ts.map +1 -0
- package/dist/service/ses/command/sim-ses-command.types.js +2 -0
- package/dist/service/ses/command/sim-ses-command.types.js.map +1 -0
- package/dist/service/ses/command/sim-ses-page.d.ts +20 -0
- package/dist/service/ses/command/sim-ses-page.d.ts.map +1 -0
- package/dist/service/ses/command/sim-ses-page.js +49 -0
- package/dist/service/ses/command/sim-ses-page.js.map +1 -0
- package/dist/service/ses/command/sim-ses-request-options.d.ts +12 -0
- package/dist/service/ses/command/sim-ses-request-options.d.ts.map +1 -0
- package/dist/service/ses/command/sim-ses-request-options.js +2 -0
- package/dist/service/ses/command/sim-ses-request-options.js.map +1 -0
- package/dist/service/ses/command/template/sim-ses-template-commands.d.ts +56 -0
- package/dist/service/ses/command/template/sim-ses-template-commands.d.ts.map +1 -0
- package/dist/service/ses/command/template/sim-ses-template-commands.js +96 -0
- package/dist/service/ses/command/template/sim-ses-template-commands.js.map +1 -0
- package/dist/service/ses/command/template/sim-ses-template-reporting.d.ts +14 -0
- package/dist/service/ses/command/template/sim-ses-template-reporting.d.ts.map +1 -0
- package/dist/service/ses/command/template/sim-ses-template-reporting.js +23 -0
- package/dist/service/ses/command/template/sim-ses-template-reporting.js.map +1 -0
- package/dist/service/ses/command/template/template.command.d.ts +98 -0
- package/dist/service/ses/command/template/template.command.d.ts.map +1 -0
- package/dist/service/ses/command/template/template.command.js +2 -0
- package/dist/service/ses/command/template/template.command.js.map +1 -0
- package/dist/service/ses/email/sim-ses-address.d.ts +15 -0
- package/dist/service/ses/email/sim-ses-address.d.ts.map +1 -0
- package/dist/service/ses/email/sim-ses-address.js +29 -0
- package/dist/service/ses/email/sim-ses-address.js.map +1 -0
- package/dist/service/ses/email/sim-ses-sent-email-store.d.ts +33 -0
- package/dist/service/ses/email/sim-ses-sent-email-store.d.ts.map +1 -0
- package/dist/service/ses/email/sim-ses-sent-email-store.js +42 -0
- package/dist/service/ses/email/sim-ses-sent-email-store.js.map +1 -0
- package/dist/service/ses/email/sim-ses-sent-email.d.ts +78 -0
- package/dist/service/ses/email/sim-ses-sent-email.d.ts.map +1 -0
- package/dist/service/ses/email/sim-ses-sent-email.js +61 -0
- package/dist/service/ses/email/sim-ses-sent-email.js.map +1 -0
- package/dist/service/ses/error/sim-ses.error.d.ts +70 -0
- package/dist/service/ses/error/sim-ses.error.d.ts.map +1 -0
- package/dist/service/ses/error/sim-ses.error.js +77 -0
- package/dist/service/ses/error/sim-ses.error.js.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity-name.d.ts +34 -0
- package/dist/service/ses/identity/sim-ses-identity-name.d.ts.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity-name.js +90 -0
- package/dist/service/ses/identity/sim-ses-identity-name.js.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity-store.d.ts +62 -0
- package/dist/service/ses/identity/sim-ses-identity-store.d.ts.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity-store.js +93 -0
- package/dist/service/ses/identity/sim-ses-identity-store.js.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity.d.ts +63 -0
- package/dist/service/ses/identity/sim-ses-identity.d.ts.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity.js +62 -0
- package/dist/service/ses/identity/sim-ses-identity.js.map +1 -0
- package/dist/service/ses/index.d.ts +13 -0
- package/dist/service/ses/index.d.ts.map +1 -0
- package/dist/service/ses/index.js +11 -0
- package/dist/service/ses/index.js.map +1 -0
- package/dist/service/ses/sdk/sim-ses-sdk-command-router.d.ts +18 -0
- package/dist/service/ses/sdk/sim-ses-sdk-command-router.d.ts.map +1 -0
- package/dist/service/ses/sdk/sim-ses-sdk-command-router.js +72 -0
- package/dist/service/ses/sdk/sim-ses-sdk-command-router.js.map +1 -0
- package/dist/service/ses/sim-ses-arn.d.ts +20 -0
- package/dist/service/ses/sim-ses-arn.d.ts.map +1 -0
- package/dist/service/ses/sim-ses-arn.js +25 -0
- package/dist/service/ses/sim-ses-arn.js.map +1 -0
- package/dist/service/ses/sim-ses-commands.d.ts +37 -0
- package/dist/service/ses/sim-ses-commands.d.ts.map +1 -0
- package/dist/service/ses/sim-ses-commands.js +75 -0
- package/dist/service/ses/sim-ses-commands.js.map +1 -0
- package/dist/service/ses/sim-ses-v2.d.ts +139 -0
- package/dist/service/ses/sim-ses-v2.d.ts.map +1 -0
- package/dist/service/ses/sim-ses-v2.js +195 -0
- package/dist/service/ses/sim-ses-v2.js.map +1 -0
- package/dist/service/ses/template/sim-ses-render.d.ts +16 -0
- package/dist/service/ses/template/sim-ses-render.d.ts.map +1 -0
- package/dist/service/ses/template/sim-ses-render.js +88 -0
- package/dist/service/ses/template/sim-ses-render.js.map +1 -0
- package/dist/service/ses/template/sim-ses-template-content.d.ts +28 -0
- package/dist/service/ses/template/sim-ses-template-content.d.ts.map +1 -0
- package/dist/service/ses/template/sim-ses-template-content.js +67 -0
- package/dist/service/ses/template/sim-ses-template-content.js.map +1 -0
- package/dist/service/ses/template/sim-ses-template-store.d.ts +47 -0
- package/dist/service/ses/template/sim-ses-template-store.d.ts.map +1 -0
- package/dist/service/ses/template/sim-ses-template-store.js +81 -0
- package/dist/service/ses/template/sim-ses-template-store.js.map +1 -0
- package/dist/service/ses/template/sim-ses-template.d.ts +38 -0
- package/dist/service/ses/template/sim-ses-template.d.ts.map +1 -0
- package/dist/service/ses/template/sim-ses-template.js +39 -0
- package/dist/service/ses/template/sim-ses-template.js.map +1 -0
- package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-properties.d.ts +4 -3
- package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-properties.d.ts.map +1 -1
- package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-properties.js +4 -3
- package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-properties.js.map +1 -1
- package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-property-names.d.ts +2 -2
- package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-property-names.js +2 -2
- package/dist/service/sns/command/publish/sim-sns-publish-commands.d.ts +3 -0
- package/dist/service/sns/command/publish/sim-sns-publish-commands.d.ts.map +1 -1
- package/dist/service/sns/command/publish/sim-sns-publish-commands.js +4 -2
- package/dist/service/sns/command/publish/sim-sns-publish-commands.js.map +1 -1
- package/dist/service/sns/command/publish/sim-sns-publish-dispatch.d.ts +39 -0
- package/dist/service/sns/command/publish/sim-sns-publish-dispatch.d.ts.map +1 -0
- package/dist/service/sns/command/publish/sim-sns-publish-dispatch.js +42 -0
- package/dist/service/sns/command/publish/sim-sns-publish-dispatch.js.map +1 -0
- package/dist/service/sns/command/publish/sim-sns-publish-input.d.ts +3 -3
- package/dist/service/sns/command/publish/sim-sns-publish-input.d.ts.map +1 -1
- package/dist/service/sns/command/publish/sim-sns-publish-input.js +8 -8
- package/dist/service/sns/command/publish/sim-sns-publish-input.js.map +1 -1
- package/dist/service/sns/command/publish/sim-sns-publish-sms.d.ts +38 -0
- package/dist/service/sns/command/publish/sim-sns-publish-sms.d.ts.map +1 -0
- package/dist/service/sns/command/publish/sim-sns-publish-sms.js +53 -0
- package/dist/service/sns/command/publish/sim-sns-publish-sms.js.map +1 -0
- package/dist/service/sns/command/sim-sns-command.types.d.ts +1 -0
- package/dist/service/sns/command/sim-sns-command.types.d.ts.map +1 -1
- package/dist/service/sns/command/sim-sns-commands.d.ts +12 -4
- package/dist/service/sns/command/sim-sns-commands.d.ts.map +1 -1
- package/dist/service/sns/command/sim-sns-commands.js +39 -4
- package/dist/service/sns/command/sim-sns-commands.js.map +1 -1
- package/dist/service/sns/command/sms/sim-sns-opt-out-commands.d.ts +41 -0
- package/dist/service/sns/command/sms/sim-sns-opt-out-commands.d.ts.map +1 -0
- package/dist/service/sns/command/sms/sim-sns-opt-out-commands.js +56 -0
- package/dist/service/sns/command/sms/sim-sns-opt-out-commands.js.map +1 -0
- package/dist/service/sns/command/sms/sms.command.d.ts +50 -0
- package/dist/service/sns/command/sms/sms.command.d.ts.map +1 -0
- package/dist/service/sns/command/sms/sms.command.js +2 -0
- package/dist/service/sns/command/sms/sms.command.js.map +1 -0
- package/dist/service/sns/delivery/sim-aws-sns-delivery-endpoints.d.ts +5 -6
- package/dist/service/sns/delivery/sim-aws-sns-delivery-endpoints.d.ts.map +1 -1
- package/dist/service/sns/delivery/sim-aws-sns-delivery-endpoints.js +8 -12
- package/dist/service/sns/delivery/sim-aws-sns-delivery-endpoints.js.map +1 -1
- package/dist/service/sns/delivery/sim-sns-no-delivery-endpoints.d.ts +6 -13
- package/dist/service/sns/delivery/sim-sns-no-delivery-endpoints.d.ts.map +1 -1
- package/dist/service/sns/delivery/sim-sns-no-delivery-endpoints.js +13 -2
- package/dist/service/sns/delivery/sim-sns-no-delivery-endpoints.js.map +1 -1
- package/dist/service/sns/delivery/sim-sns-protocol-delivery-endpoints.d.ts +10 -1
- package/dist/service/sns/delivery/sim-sns-protocol-delivery-endpoints.d.ts.map +1 -1
- package/dist/service/sns/delivery/sim-sns-protocol-delivery-endpoints.js.map +1 -1
- package/dist/service/sns/delivery/sms/sim-sns-delivery-sms.d.ts +34 -0
- package/dist/service/sns/delivery/sms/sim-sns-delivery-sms.d.ts.map +1 -0
- package/dist/service/sns/delivery/sms/sim-sns-delivery-sms.js +46 -0
- package/dist/service/sns/delivery/sms/sim-sns-delivery-sms.js.map +1 -0
- package/dist/service/sns/index.d.ts +5 -1
- package/dist/service/sns/index.d.ts.map +1 -1
- package/dist/service/sns/index.js +4 -1
- package/dist/service/sns/index.js.map +1 -1
- package/dist/service/sns/message/sim-sns-message-attribute-rules.d.ts.map +1 -1
- package/dist/service/sns/message/sim-sns-message-attribute-rules.js +9 -1
- package/dist/service/sns/message/sim-sns-message-attribute-rules.js.map +1 -1
- package/dist/service/sns/message/sim-sns-message-attributes.d.ts +8 -0
- package/dist/service/sns/message/sim-sns-message-attributes.d.ts.map +1 -1
- package/dist/service/sns/message/sim-sns-message-attributes.js +10 -0
- package/dist/service/sns/message/sim-sns-message-attributes.js.map +1 -1
- package/dist/service/sns/message/sim-sns-sms-attributes.d.ts +25 -0
- package/dist/service/sns/message/sim-sns-sms-attributes.d.ts.map +1 -0
- package/dist/service/sns/message/sim-sns-sms-attributes.js +46 -0
- package/dist/service/sns/message/sim-sns-sms-attributes.js.map +1 -0
- package/dist/service/sns/sdk/sim-sns-sdk-command-router.d.ts.map +1 -1
- package/dist/service/sns/sdk/sim-sns-sdk-command-router.js +12 -0
- package/dist/service/sns/sdk/sim-sns-sdk-command-router.js.map +1 -1
- package/dist/service/sns/sim-sns-sms.d.ts +63 -0
- package/dist/service/sns/sim-sns-sms.d.ts.map +1 -0
- package/dist/service/sns/sim-sns-sms.js +76 -0
- package/dist/service/sns/sim-sns-sms.js.map +1 -0
- package/dist/service/sns/sim-sns.d.ts +7 -15
- package/dist/service/sns/sim-sns.d.ts.map +1 -1
- package/dist/service/sns/sim-sns.js +23 -30
- package/dist/service/sns/sim-sns.js.map +1 -1
- package/dist/service/sns/sms/sim-sns-opt-out-list.d.ts +40 -0
- package/dist/service/sns/sms/sim-sns-opt-out-list.d.ts.map +1 -0
- package/dist/service/sns/sms/sim-sns-opt-out-list.js +47 -0
- package/dist/service/sns/sms/sim-sns-opt-out-list.js.map +1 -0
- package/dist/service/sns/sms/sim-sns-phone-number.d.ts +21 -0
- package/dist/service/sns/sms/sim-sns-phone-number.d.ts.map +1 -0
- package/dist/service/sns/sms/sim-sns-phone-number.js +41 -0
- package/dist/service/sns/sms/sim-sns-phone-number.js.map +1 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-message.d.ts +69 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-message.d.ts.map +1 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-message.js +71 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-message.js.map +1 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-store.d.ts +25 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-store.d.ts.map +1 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-store.js +28 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-store.js.map +1 -0
- package/dist/service/sns/subscription/sim-sns-subscription-endpoint.d.ts +9 -7
- package/dist/service/sns/subscription/sim-sns-subscription-endpoint.d.ts.map +1 -1
- package/dist/service/sns/subscription/sim-sns-subscription-endpoint.js +7 -2
- package/dist/service/sns/subscription/sim-sns-subscription-endpoint.js.map +1 -1
- package/dist/service/sns/subscription/sim-sns-subscription-protocol.d.ts +19 -1
- package/dist/service/sns/subscription/sim-sns-subscription-protocol.d.ts.map +1 -1
- package/dist/service/sns/subscription/sim-sns-subscription-protocol.js +26 -5
- package/dist/service/sns/subscription/sim-sns-subscription-protocol.js.map +1 -1
- package/dist/service/sqs/message/sim-sqs-message-body.d.ts +10 -5
- package/dist/service/sqs/message/sim-sqs-message-body.d.ts.map +1 -1
- package/dist/service/sqs/message/sim-sqs-message-body.js +13 -6
- package/dist/service/sqs/message/sim-sqs-message-body.js.map +1 -1
- package/dist/util/factory/sim-records-event.factory.d.ts +60 -0
- package/dist/util/factory/sim-records-event.factory.d.ts.map +1 -0
- package/dist/util/factory/sim-records-event.factory.js +47 -0
- package/dist/util/factory/sim-records-event.factory.js.map +1 -0
- package/package.json +12 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-metric-listing.js","sourceRoot":"","sources":["../../../../../src/service/cloudwatch/command/query/sim-cloudwatch-metric-listing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2CAA2C,EAAE,MAAM,qCAAqC,CAAC;AAIlG;;;GAGG;AACH,MAAM,oBAAoB,GAAG,MAAM,CAAC;AACpC,MAAM,0BAA0B,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEtD;;;GAGG;AACH,MAAM,UAAU,yBAAyB,CACvC,MAA2B;IAE3B,OAAO;QACL,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;YAChD,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,KAAK,EAAE,SAAS,CAAC,KAAK;SACvB,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,6BAA6B,CAC3C,MAA2B,EAC3B,cAAkC,EAClC,GAAS;IAET,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,cAAc,KAAK,oBAAoB,EAAE,CAAC;QAC5C,MAAM,IAAI,2CAA2C,CACnD,wCAAwC,oBAAoB,UAAU;YACpE,4CAA4C,CAC/C,CAAC;IACJ,CAAC;IAED,MAAM,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC;IAE3C,OAAO,CACL,aAAa,KAAK,SAAS;QAC3B,GAAG,CAAC,OAAO,EAAE,GAAG,aAAa,IAAI,0BAA0B,CAC5D,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iCAAiC,CAC/C,qBAA0C,EAC1C,aAAiC;IAEjC,IAAI,qBAAqB,KAAK,IAAI,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;QAClE,OAAO;IACT,CAAC;IAED,MAAM,IAAI,2CAA2C,CACnD,yEAAyE;QACvE,wEAAwE;QACxE,oCAAoC,CACvC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type SimCloudWatchStatistic } from "../../metric/sim-cloudwatch-statistic.js";
|
|
2
|
+
/**
|
|
3
|
+
* Read the statistics a GetMetricStatistics request asked for.
|
|
4
|
+
*
|
|
5
|
+
* Extended statistics are refused rather than dropped. They are the percentiles
|
|
6
|
+
* and trimmed means, and answering a request for `p99` with the plain values
|
|
7
|
+
* beside it would let a test assert on a number that is not the one it named.
|
|
8
|
+
*/
|
|
9
|
+
export declare function requiredSimCloudWatchStatistics(statistics: readonly string[] | undefined, extendedStatistics: readonly string[] | undefined): readonly SimCloudWatchStatistic[];
|
|
10
|
+
//# sourceMappingURL=sim-cloudwatch-requested-statistics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-requested-statistics.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudwatch/command/query/sim-cloudwatch-requested-statistics.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,0CAA0C,CAAC;AAElD;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EACzC,kBAAkB,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GAChD,SAAS,sBAAsB,EAAE,CAiBnC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SimCloudWatchInvalidParameterValueException, SimCloudWatchMissingRequiredParameterException, } from "../../error/sim-cloudwatch.error.js";
|
|
2
|
+
import { requiredSimCloudWatchStatistic, } from "../../metric/sim-cloudwatch-statistic.js";
|
|
3
|
+
/**
|
|
4
|
+
* Read the statistics a GetMetricStatistics request asked for.
|
|
5
|
+
*
|
|
6
|
+
* Extended statistics are refused rather than dropped. They are the percentiles
|
|
7
|
+
* and trimmed means, and answering a request for `p99` with the plain values
|
|
8
|
+
* beside it would let a test assert on a number that is not the one it named.
|
|
9
|
+
*/
|
|
10
|
+
export function requiredSimCloudWatchStatistics(statistics, extendedStatistics) {
|
|
11
|
+
if (extendedStatistics !== undefined && extendedStatistics.length > 0) {
|
|
12
|
+
throw new SimCloudWatchInvalidParameterValueException("ExtendedStatistics is not simulated: percentiles need the individual " +
|
|
13
|
+
"values behind a period, which a StatisticValues datum never carries.");
|
|
14
|
+
}
|
|
15
|
+
if (statistics === undefined || statistics.length === 0) {
|
|
16
|
+
throw new SimCloudWatchMissingRequiredParameterException("The parameter Statistics must be present and not empty.");
|
|
17
|
+
}
|
|
18
|
+
return statistics.map((statistic) => requiredSimCloudWatchStatistic(statistic));
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=sim-cloudwatch-requested-statistics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-requested-statistics.js","sourceRoot":"","sources":["../../../../../src/service/cloudwatch/command/query/sim-cloudwatch-requested-statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2CAA2C,EAC3C,8CAA8C,GAC/C,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,8BAA8B,GAE/B,MAAM,0CAA0C,CAAC;AAElD;;;;;;GAMG;AACH,MAAM,UAAU,+BAA+B,CAC7C,UAAyC,EACzC,kBAAiD;IAEjD,IAAI,kBAAkB,KAAK,SAAS,IAAI,kBAAkB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACtE,MAAM,IAAI,2CAA2C,CACnD,uEAAuE;YACrE,sEAAsE,CACzE,CAAC;IACJ,CAAC;IAED,IAAI,UAAU,KAAK,SAAS,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxD,MAAM,IAAI,8CAA8C,CACtD,yDAAyD,CAC1D,CAAC;IACJ,CAAC;IAED,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAClC,8BAA8B,CAAC,SAAS,CAAC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SimCloudWatchDatapoint } from "../../metric/sim-cloudwatch-datapoint.js";
|
|
2
|
+
import { type SimCloudWatchStatistic } from "../../metric/sim-cloudwatch-statistic.js";
|
|
3
|
+
import type { SimCloudWatchDatapointDetail } from "./query.command.js";
|
|
4
|
+
/**
|
|
5
|
+
* Report one datapoint per period holding observations, earliest first.
|
|
6
|
+
*
|
|
7
|
+
* Real CloudWatch returns datapoints in no particular order. Ordering them
|
|
8
|
+
* here is something that contract allows, and something a test reading the
|
|
9
|
+
* third period of five needs.
|
|
10
|
+
*/
|
|
11
|
+
export declare function simCloudWatchStatisticDatapoints(datapoints: readonly SimCloudWatchDatapoint[], period: number, statistics: readonly SimCloudWatchStatistic[]): readonly SimCloudWatchDatapointDetail[];
|
|
12
|
+
/**
|
|
13
|
+
* Refuse a window and period that between them cover more periods than one
|
|
14
|
+
* response can report.
|
|
15
|
+
*/
|
|
16
|
+
export declare function refuseTooManySimCloudWatchPeriods(milliseconds: number, period: number): void;
|
|
17
|
+
//# sourceMappingURL=sim-cloudwatch-statistic-datapoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-statistic-datapoints.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudwatch/command/query/sim-cloudwatch-statistic-datapoints.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,sBAAsB,EACvB,MAAM,0CAA0C,CAAC;AAElD,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AASvE;;;;;;GAMG;AACH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,SAAS,sBAAsB,EAAE,EAC7C,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,SAAS,sBAAsB,EAAE,GAC5C,SAAS,4BAA4B,EAAE,CAKzC;AAED;;;GAGG;AACH,wBAAgB,iCAAiC,CAC/C,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,GACb,IAAI,CAUN"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { SimCloudWatchInvalidParameterCombinationException } from "../../error/sim-cloudwatch.error.js";
|
|
2
|
+
import { simCloudWatchPeriodAggregates } from "../../metric/sim-cloudwatch-period.js";
|
|
3
|
+
import { simCloudWatchStatisticValue, } from "../../metric/sim-cloudwatch-statistic.js";
|
|
4
|
+
/**
|
|
5
|
+
* How many datapoints real CloudWatch returns from one GetMetricStatistics.
|
|
6
|
+
*/
|
|
7
|
+
const maximumDatapoints = 1440;
|
|
8
|
+
const millisecondsPerSecond = 1000;
|
|
9
|
+
/**
|
|
10
|
+
* Report one datapoint per period holding observations, earliest first.
|
|
11
|
+
*
|
|
12
|
+
* Real CloudWatch returns datapoints in no particular order. Ordering them
|
|
13
|
+
* here is something that contract allows, and something a test reading the
|
|
14
|
+
* third period of five needs.
|
|
15
|
+
*/
|
|
16
|
+
export function simCloudWatchStatisticDatapoints(datapoints, period, statistics) {
|
|
17
|
+
return simCloudWatchPeriodAggregates(datapoints, period)
|
|
18
|
+
.entries()
|
|
19
|
+
.map(([start, aggregate]) => detail(start, aggregate, statistics))
|
|
20
|
+
.toArray();
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Refuse a window and period that between them cover more periods than one
|
|
24
|
+
* response can report.
|
|
25
|
+
*/
|
|
26
|
+
export function refuseTooManySimCloudWatchPeriods(milliseconds, period) {
|
|
27
|
+
const periods = milliseconds / (period * millisecondsPerSecond);
|
|
28
|
+
if (periods > maximumDatapoints) {
|
|
29
|
+
throw new SimCloudWatchInvalidParameterCombinationException(`The requested time range covers ${Math.ceil(periods)} periods of ` +
|
|
30
|
+
`${period} seconds, and at most ${maximumDatapoints} datapoints can ` +
|
|
31
|
+
`be returned. Ask for a shorter range or a longer period.`);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* What one period reports, which is only the statistics that were asked for: a
|
|
36
|
+
* request for `Sum` alone gets no `Average` beside it, as on real CloudWatch.
|
|
37
|
+
*/
|
|
38
|
+
function detail(start, aggregate, statistics) {
|
|
39
|
+
const reported = Object.fromEntries(statistics.map((statistic) => [
|
|
40
|
+
statistic,
|
|
41
|
+
simCloudWatchStatisticValue(aggregate, statistic),
|
|
42
|
+
]));
|
|
43
|
+
return { Timestamp: new Date(start), Unit: aggregate.unit, ...reported };
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=sim-cloudwatch-statistic-datapoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-statistic-datapoints.js","sourceRoot":"","sources":["../../../../../src/service/cloudwatch/command/query/sim-cloudwatch-statistic-datapoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iDAAiD,EAAE,MAAM,qCAAqC,CAAC;AAKxG,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAEL,2BAA2B,GAC5B,MAAM,0CAA0C,CAAC;AAGlD;;GAEG;AACH,MAAM,iBAAiB,GAAG,IAAI,CAAC;AAE/B,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAEnC;;;;;;GAMG;AACH,MAAM,UAAU,gCAAgC,CAC9C,UAA6C,EAC7C,MAAc,EACd,UAA6C;IAE7C,OAAO,6BAA6B,CAAC,UAAU,EAAE,MAAM,CAAC;SACrD,OAAO,EAAE;SACT,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;SACjE,OAAO,EAAE,CAAC;AACf,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,iCAAiC,CAC/C,YAAoB,EACpB,MAAc;IAEd,MAAM,OAAO,GAAG,YAAY,GAAG,CAAC,MAAM,GAAG,qBAAqB,CAAC,CAAC;IAEhE,IAAI,OAAO,GAAG,iBAAiB,EAAE,CAAC;QAChC,MAAM,IAAI,iDAAiD,CACzD,mCAAmC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc;YACjE,GAAG,MAAM,yBAAyB,iBAAiB,kBAAkB;YACrE,0DAA0D,CAC7D,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,SAAS,MAAM,CACb,KAAa,EACb,SAAiC,EACjC,UAA6C;IAE7C,MAAM,QAAQ,GACZ,MAAM,CAAC,WAAW,CAChB,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC;QAC5B,SAAS;QACT,2BAA2B,CAAC,SAAS,EAAE,SAAS,CAAC;KAClD,CAAC,CACH,CAAC;IAEJ,OAAO,EAAE,SAAS,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,QAAQ,EAAE,CAAC;AAC3E,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The sim CloudWatch Command types, gathered for the service facade.
|
|
3
|
+
*/
|
|
4
|
+
export type { SimCloudWatchAlarmHistoryItemDetail, SimCloudWatchMetricAlarmDetail, SimDeleteAlarmsCommand, SimDeleteAlarmsCommandInput, SimDeleteAlarmsCommandOutput, SimDescribeAlarmHistoryCommand, SimDescribeAlarmHistoryCommandInput, SimDescribeAlarmHistoryCommandOutput, SimDescribeAlarmsCommand, SimDescribeAlarmsCommandInput, SimDescribeAlarmsCommandOutput, SimPutMetricAlarmCommand, SimPutMetricAlarmCommandInput, SimPutMetricAlarmCommandOutput, SimSetAlarmStateCommand, SimSetAlarmStateCommandInput, SimSetAlarmStateCommandOutput, } from "./alarm/alarm.command.js";
|
|
5
|
+
export type { SimCloudWatchMetricDatumInput, SimCloudWatchStatisticSetInput, SimPutMetricDataCommand, SimPutMetricDataCommandInput, SimPutMetricDataCommandOutput, } from "./data/data.command.js";
|
|
6
|
+
export type { SimCloudWatchDatapointDetail, SimCloudWatchDimensionFilterInput, SimCloudWatchMetricDataQueryInput, SimCloudWatchMetricDataResult, SimCloudWatchMetricDetail, SimCloudWatchMetricInput, SimCloudWatchMetricStatInput, SimGetMetricDataCommand, SimGetMetricDataCommandInput, SimGetMetricDataCommandOutput, SimGetMetricStatisticsCommand, SimGetMetricStatisticsCommandInput, SimGetMetricStatisticsCommandOutput, SimListMetricsCommand, SimListMetricsCommandInput, SimListMetricsCommandOutput, } from "./query/query.command.js";
|
|
7
|
+
//# sourceMappingURL=sim-cloudwatch-command.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-command.types.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudwatch/command/sim-cloudwatch-command.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,YAAY,EACV,mCAAmC,EACnC,8BAA8B,EAC9B,sBAAsB,EACtB,2BAA2B,EAC3B,4BAA4B,EAC5B,8BAA8B,EAC9B,mCAAmC,EACnC,oCAAoC,EACpC,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,EAC9B,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,EAC9B,uBAAuB,EACvB,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,6BAA6B,EAC7B,8BAA8B,EAC9B,uBAAuB,EACvB,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,4BAA4B,EAC5B,iCAAiC,EACjC,iCAAiC,EACjC,6BAA6B,EAC7B,yBAAyB,EACzB,wBAAwB,EACxB,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,6BAA6B,EAC7B,6BAA6B,EAC7B,kCAAkC,EAClC,mCAAmC,EACnC,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-command.types.js","sourceRoot":"","sources":["../../../../src/service/cloudwatch/command/sim-cloudwatch-command.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
interface SimCloudWatchPageProperties<T> {
|
|
2
|
+
/** Everything the request selected, before paging. */
|
|
3
|
+
readonly listed: readonly T[];
|
|
4
|
+
readonly nextToken?: string | undefined;
|
|
5
|
+
/** How many entries one page of this operation holds. */
|
|
6
|
+
readonly pageSize: number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* One page of a listing, and the token that reaches the next one.
|
|
10
|
+
*
|
|
11
|
+
* CloudWatch listings take no page size of their own, so a page is a fixed
|
|
12
|
+
* number of entries and the token is the offset of the next one. A token from
|
|
13
|
+
* somewhere else is refused rather than quietly starting again from the
|
|
14
|
+
* beginning, and an offset only means anything against the selection it was
|
|
15
|
+
* issued for: a token carried over to a request with different filters reaches
|
|
16
|
+
* a different place.
|
|
17
|
+
*/
|
|
18
|
+
export declare class SimCloudWatchPage<T> {
|
|
19
|
+
readonly items: readonly T[];
|
|
20
|
+
readonly nextToken: string | undefined;
|
|
21
|
+
constructor(properties: SimCloudWatchPageProperties<T>);
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=sim-cloudwatch-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-page.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudwatch/command/sim-cloudwatch-page.ts"],"names":[],"mappings":"AAEA,UAAU,2BAA2B,CAAC,CAAC;IACrC,sDAAsD;IACtD,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC,EAAE,CAAC;IAE9B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAExC,yDAAyD;IACzD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;;;;GASG;AACH,qBAAa,iBAAiB,CAAC,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAEvC,YAAY,UAAU,EAAE,2BAA2B,CAAC,CAAC,CAAC,EAOrD;CACF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { SimCloudWatchInvalidParameterValueException } from "../error/sim-cloudwatch.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* One page of a listing, and the token that reaches the next one.
|
|
4
|
+
*
|
|
5
|
+
* CloudWatch listings take no page size of their own, so a page is a fixed
|
|
6
|
+
* number of entries and the token is the offset of the next one. A token from
|
|
7
|
+
* somewhere else is refused rather than quietly starting again from the
|
|
8
|
+
* beginning, and an offset only means anything against the selection it was
|
|
9
|
+
* issued for: a token carried over to a request with different filters reaches
|
|
10
|
+
* a different place.
|
|
11
|
+
*/
|
|
12
|
+
export class SimCloudWatchPage {
|
|
13
|
+
items;
|
|
14
|
+
nextToken;
|
|
15
|
+
constructor(properties) {
|
|
16
|
+
const { listed, pageSize } = properties;
|
|
17
|
+
const startIndex = pageStartIndex(properties.nextToken, listed.length);
|
|
18
|
+
const nextIndex = startIndex + pageSize;
|
|
19
|
+
this.items = listed.slice(startIndex, nextIndex);
|
|
20
|
+
this.nextToken = nextIndex >= listed.length ? undefined : String(nextIndex);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function pageStartIndex(nextToken, listedCount) {
|
|
24
|
+
if (nextToken === undefined) {
|
|
25
|
+
return 0;
|
|
26
|
+
}
|
|
27
|
+
const startIndex = Number(nextToken);
|
|
28
|
+
if (!Number.isSafeInteger(startIndex) ||
|
|
29
|
+
startIndex < 0 ||
|
|
30
|
+
startIndex >= listedCount ||
|
|
31
|
+
String(startIndex) !== nextToken) {
|
|
32
|
+
throw new SimCloudWatchInvalidParameterValueException("The parameter NextToken is not a token this simulation issued.");
|
|
33
|
+
}
|
|
34
|
+
return startIndex;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=sim-cloudwatch-page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-page.js","sourceRoot":"","sources":["../../../../src/service/cloudwatch/command/sim-cloudwatch-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2CAA2C,EAAE,MAAM,kCAAkC,CAAC;AAY/F;;;;;;;;;GASG;AACH,MAAM,OAAO,iBAAiB;IACnB,KAAK,CAAe;IACpB,SAAS,CAAqB;IAEvC,YAAY,UAA0C;QACpD,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;QACxC,MAAM,UAAU,GAAG,cAAc,CAAC,UAAU,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;QACvE,MAAM,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;QAExC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QACjD,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IAC9E,CAAC;CACF;AAED,SAAS,cAAc,CACrB,SAA6B,EAC7B,WAAmB;IAEnB,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,CAAC,CAAC;IACX,CAAC;IAED,MAAM,UAAU,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;IAErC,IACE,CAAC,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC;QACjC,UAAU,GAAG,CAAC;QACd,UAAU,IAAI,WAAW;QACzB,MAAM,CAAC,UAAU,CAAC,KAAK,SAAS,EAChC,CAAC;QACD,MAAM,IAAI,2CAA2C,CACnD,gEAAgE,CACjE,CAAC;IACJ,CAAC;IAED,OAAO,UAAU,CAAC;AACpB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SimAwsCaller } from "../../aws/caller/sim-aws-caller.js";
|
|
2
|
+
/**
|
|
3
|
+
* The condition key naming the namespace a PutMetricData request writes into.
|
|
4
|
+
*
|
|
5
|
+
* CloudWatch metrics have no ARN, so a policy cannot scope this action by
|
|
6
|
+
* resource. This key is what a policy narrows it with instead, and it is the
|
|
7
|
+
* only way to grant a principal the right to publish into one namespace and no
|
|
8
|
+
* other.
|
|
9
|
+
*/
|
|
10
|
+
export declare const simCloudWatchNamespaceConditionKey = "cloudwatch:namespace";
|
|
11
|
+
/**
|
|
12
|
+
* What a simulated CloudWatch request carries besides its command input.
|
|
13
|
+
*/
|
|
14
|
+
export interface SimCloudWatchRequestOptions {
|
|
15
|
+
/**
|
|
16
|
+
* Who is making the request. An omitted caller is the Account root, as it is
|
|
17
|
+
* everywhere else in the simulation.
|
|
18
|
+
*/
|
|
19
|
+
readonly caller?: SimAwsCaller;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=sim-cloudwatch-request-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-request-options.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudwatch/command/sim-cloudwatch-request-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;;;;;;GAOG;AACH,eAAO,MAAM,kCAAkC,yBAAyB,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The condition key naming the namespace a PutMetricData request writes into.
|
|
3
|
+
*
|
|
4
|
+
* CloudWatch metrics have no ARN, so a policy cannot scope this action by
|
|
5
|
+
* resource. This key is what a policy narrows it with instead, and it is the
|
|
6
|
+
* only way to grant a principal the right to publish into one namespace and no
|
|
7
|
+
* other.
|
|
8
|
+
*/
|
|
9
|
+
export const simCloudWatchNamespaceConditionKey = "cloudwatch:namespace";
|
|
10
|
+
//# sourceMappingURL=sim-cloudwatch-request-options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-request-options.js","sourceRoot":"","sources":["../../../../src/service/cloudwatch/command/sim-cloudwatch-request-options.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal metadata shape for simulated CloudWatch errors.
|
|
3
|
+
*/
|
|
4
|
+
export interface SimCloudWatchErrorMetadata {
|
|
5
|
+
readonly httpStatusCode?: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Base class for simulated CloudWatch errors.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SimCloudWatchError extends Error {
|
|
11
|
+
readonly $metadata: SimCloudWatchErrorMetadata;
|
|
12
|
+
constructor(message: string, $metadata?: SimCloudWatchErrorMetadata);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Simulated CloudWatch InvalidParameterValueException error.
|
|
16
|
+
*
|
|
17
|
+
* Real CloudWatch reports a value it cannot accept this way: a reserved
|
|
18
|
+
* namespace, a metric datum carrying no value at all, a period that is not a
|
|
19
|
+
* multiple of sixty. Yulin also uses it for an input real CloudWatch would
|
|
20
|
+
* accept and this simulation does not carry out, with a message saying so,
|
|
21
|
+
* rather than inventing an error name the SDK has never seen.
|
|
22
|
+
*/
|
|
23
|
+
export declare class SimCloudWatchInvalidParameterValueException extends SimCloudWatchError {
|
|
24
|
+
readonly name = "InvalidParameterValueException";
|
|
25
|
+
constructor(message: string);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Simulated CloudWatch MissingRequiredParameterException error.
|
|
29
|
+
*
|
|
30
|
+
* This is what leaving out a parameter the operation cannot run without
|
|
31
|
+
* produces, such as a PutMetricData with no Namespace.
|
|
32
|
+
*/
|
|
33
|
+
export declare class SimCloudWatchMissingRequiredParameterException extends SimCloudWatchError {
|
|
34
|
+
readonly name = "MissingRequiredParameterException";
|
|
35
|
+
constructor(message: string);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Simulated CloudWatch InvalidParameterCombinationException error.
|
|
39
|
+
*
|
|
40
|
+
* Real CloudWatch reports parameters that are each valid but cannot be used
|
|
41
|
+
* together this way, such as a time range and period that between them would
|
|
42
|
+
* return more datapoints than one response holds.
|
|
43
|
+
*/
|
|
44
|
+
export declare class SimCloudWatchInvalidParameterCombinationException extends SimCloudWatchError {
|
|
45
|
+
readonly name = "InvalidParameterCombinationException";
|
|
46
|
+
constructor(message: string);
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=sim-cloudwatch.error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch.error.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudwatch/error/sim-cloudwatch.error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,KAAK;aAGzB,SAAS,EAAE,0BAA0B;IAFvD,YACE,OAAO,EAAE,MAAM,EACC,SAAS,GAAE,0BAA+B,EAG3D;CACF;AAED;;;;;;;;GAQG;AACH,qBAAa,2CAA4C,SAAQ,kBAAkB;IACjF,SAAyB,IAAI,oCAAoC;IAEjE,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;GAKG;AACH,qBAAa,8CAA+C,SAAQ,kBAAkB;IACpF,SAAyB,IAAI,uCAAuC;IAEpE,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;GAMG;AACH,qBAAa,iDAAkD,SAAQ,kBAAkB;IACvF,SAAyB,IAAI,0CAA0C;IAEvE,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base class for simulated CloudWatch errors.
|
|
3
|
+
*/
|
|
4
|
+
export class SimCloudWatchError extends Error {
|
|
5
|
+
$metadata;
|
|
6
|
+
constructor(message, $metadata = {}) {
|
|
7
|
+
super(message);
|
|
8
|
+
this.$metadata = $metadata;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Simulated CloudWatch InvalidParameterValueException error.
|
|
13
|
+
*
|
|
14
|
+
* Real CloudWatch reports a value it cannot accept this way: a reserved
|
|
15
|
+
* namespace, a metric datum carrying no value at all, a period that is not a
|
|
16
|
+
* multiple of sixty. Yulin also uses it for an input real CloudWatch would
|
|
17
|
+
* accept and this simulation does not carry out, with a message saying so,
|
|
18
|
+
* rather than inventing an error name the SDK has never seen.
|
|
19
|
+
*/
|
|
20
|
+
export class SimCloudWatchInvalidParameterValueException extends SimCloudWatchError {
|
|
21
|
+
name = "InvalidParameterValueException";
|
|
22
|
+
constructor(message) {
|
|
23
|
+
super(message, { httpStatusCode: 400 });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Simulated CloudWatch MissingRequiredParameterException error.
|
|
28
|
+
*
|
|
29
|
+
* This is what leaving out a parameter the operation cannot run without
|
|
30
|
+
* produces, such as a PutMetricData with no Namespace.
|
|
31
|
+
*/
|
|
32
|
+
export class SimCloudWatchMissingRequiredParameterException extends SimCloudWatchError {
|
|
33
|
+
name = "MissingRequiredParameterException";
|
|
34
|
+
constructor(message) {
|
|
35
|
+
super(message, { httpStatusCode: 400 });
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Simulated CloudWatch InvalidParameterCombinationException error.
|
|
40
|
+
*
|
|
41
|
+
* Real CloudWatch reports parameters that are each valid but cannot be used
|
|
42
|
+
* together this way, such as a time range and period that between them would
|
|
43
|
+
* return more datapoints than one response holds.
|
|
44
|
+
*/
|
|
45
|
+
export class SimCloudWatchInvalidParameterCombinationException extends SimCloudWatchError {
|
|
46
|
+
name = "InvalidParameterCombinationException";
|
|
47
|
+
constructor(message) {
|
|
48
|
+
super(message, { httpStatusCode: 400 });
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=sim-cloudwatch.error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch.error.js","sourceRoot":"","sources":["../../../../src/service/cloudwatch/error/sim-cloudwatch.error.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAGzB,SAAS;IAF3B,YACE,OAAe,EACC,SAAS,GAA+B,EAAE;QAE1D,KAAK,CAAC,OAAO,CAAC,CAAC;yBAFC,SAAS;IAG3B,CAAC;CACF;AAED;;;;;;;;GAQG;AACH,MAAM,OAAO,2CAA4C,SAAQ,kBAAkB;IACxD,IAAI,GAAG,gCAAgC,CAAC;IAEjE,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,OAAO,8CAA+C,SAAQ,kBAAkB;IAC3D,IAAI,GAAG,mCAAmC,CAAC;IAEpE,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,iDAAkD,SAAQ,kBAAkB;IAC9D,IAAI,GAAG,sCAAsC,CAAC;IAEvE,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { SimCloudWatch } from "./sim-cloudwatch.js";
|
|
2
|
+
export { simCloudWatchNamespaceConditionKey, type SimCloudWatchRequestOptions, } from "./command/sim-cloudwatch-request-options.js";
|
|
3
|
+
export { SimCloudWatchAlarm, type SimCloudWatchAlarmTransition, } from "./alarm/sim-cloudwatch-alarm.js";
|
|
4
|
+
export type { SimCloudWatchAlarmDefinition } from "./alarm/sim-cloudwatch-alarm-definition.js";
|
|
5
|
+
export { SimCloudWatchAlarmHistory, type SimCloudWatchAlarmHistoryItem, } from "./alarm/sim-cloudwatch-alarm-history.js";
|
|
6
|
+
export { SimCloudWatchAlarmStore } from "./alarm/sim-cloudwatch-alarm-store.js";
|
|
7
|
+
export { simCloudWatchActionsFieldFor, type SimCloudWatchAlarmActionsField, type SimCloudWatchAlarmState, simCloudWatchAlarmStates, } from "./alarm/sim-cloudwatch-alarm-state.js";
|
|
8
|
+
export { simCloudWatchAlarmArn } from "./alarm/sim-cloudwatch-alarm-arn.js";
|
|
9
|
+
export { evaluateSimCloudWatchAlarm, type SimCloudWatchEvaluation, type SimCloudWatchPeriodVerdict, } from "./alarm/sim-cloudwatch-alarm-evaluation.js";
|
|
10
|
+
export { simCloudWatchAlarmPeriods, simCloudWatchNextPeriodBoundary, } from "./alarm/sim-cloudwatch-alarm-periods.js";
|
|
11
|
+
export { requiredSimCloudWatchComparisonOperator, simCloudWatchBreaches, type SimCloudWatchComparisonOperator, simCloudWatchComparisonOperators, } from "./alarm/sim-cloudwatch-comparison.js";
|
|
12
|
+
export { simCloudWatchDefaultMissingData, type SimCloudWatchMissingDataTreatment, simCloudWatchMissingDataOrDefault, simCloudWatchMissingDataTreatments, } from "./alarm/sim-cloudwatch-missing-data.js";
|
|
13
|
+
export { SimCloudWatchAlarmActionFailure, SimCloudWatchAlarmActionFailures, } from "./alarm/action/sim-cloudwatch-alarm-action-failures.js";
|
|
14
|
+
export { type SimCloudWatchAlarmNotification, type SimCloudWatchAlarmTargets, SimCloudWatchNoAlarmTargets, } from "./alarm/action/sim-cloudwatch-alarm-targets.js";
|
|
15
|
+
export { aggregateSimCloudWatchDatapoints, type SimCloudWatchAggregate, type SimCloudWatchDatapoint, type SimCloudWatchObservations, } from "./metric/sim-cloudwatch-datapoint.js";
|
|
16
|
+
export { type SimCloudWatchDimension, type SimCloudWatchDimensionInput, simCloudWatchDimensionsKey, simCloudWatchMaximumDimensions, requiredSimCloudWatchDimensionName, requiredSimCloudWatchDimensions, } from "./metric/sim-cloudwatch-dimension.js";
|
|
17
|
+
export { SimCloudWatchMetric, type SimCloudWatchDatapointWindow, type SimCloudWatchMetricIdentity, } from "./metric/sim-cloudwatch-metric.js";
|
|
18
|
+
export { type SimCloudWatchDimensionFilter, type SimCloudWatchMetricFilter, SimCloudWatchMetricStore, } from "./metric/sim-cloudwatch-metric-store.js";
|
|
19
|
+
export { refuseSimCloudWatchLeadingColon, requiredSimCloudWatchName, simCloudWatchMaximumNameLength, } from "./metric/sim-cloudwatch-name.js";
|
|
20
|
+
export { type SimCloudWatchUnit, simCloudWatchUnitOrUndefined, simCloudWatchUnits, } from "./metric/sim-cloudwatch-unit.js";
|
|
21
|
+
export { requiredSimCloudWatchNamespace, requiredSimCloudWatchWritableNamespace, simCloudWatchReservedNamespacePrefix, } from "./metric/sim-cloudwatch-namespace.js";
|
|
22
|
+
export { requiredSimCloudWatchPeriod, simCloudWatchMinimumPeriodSeconds, simCloudWatchPeriodAggregates, simCloudWatchPeriodStart, } from "./metric/sim-cloudwatch-period.js";
|
|
23
|
+
export { requiredSimCloudWatchStatistic, type SimCloudWatchStatistic, simCloudWatchStatistics, simCloudWatchStatisticValue, } from "./metric/sim-cloudwatch-statistic.js";
|
|
24
|
+
export { requiredSimCloudWatchTimeRange, type SimCloudWatchTimeRange, } from "./metric/sim-cloudwatch-time-range.js";
|
|
25
|
+
export { SimCloudWatchError, type SimCloudWatchErrorMetadata, SimCloudWatchInvalidParameterCombinationException, SimCloudWatchInvalidParameterValueException, SimCloudWatchMissingRequiredParameterException, } from "./error/sim-cloudwatch.error.js";
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/cloudwatch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACL,kCAAkC,EAClC,KAAK,2BAA2B,GACjC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,kBAAkB,EAClB,KAAK,4BAA4B,GAClC,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,EACL,yBAAyB,EACzB,KAAK,6BAA6B,GACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EACL,4BAA4B,EAC5B,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC5B,wBAAwB,GACzB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EACL,0BAA0B,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,GAChC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,yBAAyB,EACzB,+BAA+B,GAChC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,uCAAuC,EACvC,qBAAqB,EACrB,KAAK,+BAA+B,EACpC,gCAAgC,GACjC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,+BAA+B,EAC/B,KAAK,iCAAiC,EACtC,iCAAiC,EACjC,kCAAkC,GACnC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,GACjC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,2BAA2B,GAC5B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,gCAAgC,EAChC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,GAC/B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,0BAA0B,EAC1B,8BAA8B,EAC9B,kCAAkC,EAClC,+BAA+B,GAChC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,mBAAmB,EACnB,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,GACjC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,wBAAwB,GACzB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,KAAK,iBAAiB,EACtB,4BAA4B,EAC5B,kBAAkB,GACnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,8BAA8B,EAC9B,sCAAsC,EACtC,oCAAoC,GACrC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,EACjC,6BAA6B,EAC7B,wBAAwB,GACzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,8BAA8B,EAC9B,KAAK,sBAAsB,EAC3B,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,8BAA8B,EAC9B,KAAK,sBAAsB,GAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kBAAkB,EAClB,KAAK,0BAA0B,EAC/B,iDAAiD,EACjD,2CAA2C,EAC3C,8CAA8C,GAC/C,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export { SimCloudWatch } from "./sim-cloudwatch.js";
|
|
2
|
+
export { simCloudWatchNamespaceConditionKey, } from "./command/sim-cloudwatch-request-options.js";
|
|
3
|
+
export { SimCloudWatchAlarm, } from "./alarm/sim-cloudwatch-alarm.js";
|
|
4
|
+
export { SimCloudWatchAlarmHistory, } from "./alarm/sim-cloudwatch-alarm-history.js";
|
|
5
|
+
export { SimCloudWatchAlarmStore } from "./alarm/sim-cloudwatch-alarm-store.js";
|
|
6
|
+
export { simCloudWatchActionsFieldFor, simCloudWatchAlarmStates, } from "./alarm/sim-cloudwatch-alarm-state.js";
|
|
7
|
+
export { simCloudWatchAlarmArn } from "./alarm/sim-cloudwatch-alarm-arn.js";
|
|
8
|
+
export { evaluateSimCloudWatchAlarm, } from "./alarm/sim-cloudwatch-alarm-evaluation.js";
|
|
9
|
+
export { simCloudWatchAlarmPeriods, simCloudWatchNextPeriodBoundary, } from "./alarm/sim-cloudwatch-alarm-periods.js";
|
|
10
|
+
export { requiredSimCloudWatchComparisonOperator, simCloudWatchBreaches, simCloudWatchComparisonOperators, } from "./alarm/sim-cloudwatch-comparison.js";
|
|
11
|
+
export { simCloudWatchDefaultMissingData, simCloudWatchMissingDataOrDefault, simCloudWatchMissingDataTreatments, } from "./alarm/sim-cloudwatch-missing-data.js";
|
|
12
|
+
export { SimCloudWatchAlarmActionFailure, SimCloudWatchAlarmActionFailures, } from "./alarm/action/sim-cloudwatch-alarm-action-failures.js";
|
|
13
|
+
export { SimCloudWatchNoAlarmTargets, } from "./alarm/action/sim-cloudwatch-alarm-targets.js";
|
|
14
|
+
export { aggregateSimCloudWatchDatapoints, } from "./metric/sim-cloudwatch-datapoint.js";
|
|
15
|
+
export { simCloudWatchDimensionsKey, simCloudWatchMaximumDimensions, requiredSimCloudWatchDimensionName, requiredSimCloudWatchDimensions, } from "./metric/sim-cloudwatch-dimension.js";
|
|
16
|
+
export { SimCloudWatchMetric, } from "./metric/sim-cloudwatch-metric.js";
|
|
17
|
+
export { SimCloudWatchMetricStore, } from "./metric/sim-cloudwatch-metric-store.js";
|
|
18
|
+
export { refuseSimCloudWatchLeadingColon, requiredSimCloudWatchName, simCloudWatchMaximumNameLength, } from "./metric/sim-cloudwatch-name.js";
|
|
19
|
+
export { simCloudWatchUnitOrUndefined, simCloudWatchUnits, } from "./metric/sim-cloudwatch-unit.js";
|
|
20
|
+
export { requiredSimCloudWatchNamespace, requiredSimCloudWatchWritableNamespace, simCloudWatchReservedNamespacePrefix, } from "./metric/sim-cloudwatch-namespace.js";
|
|
21
|
+
export { requiredSimCloudWatchPeriod, simCloudWatchMinimumPeriodSeconds, simCloudWatchPeriodAggregates, simCloudWatchPeriodStart, } from "./metric/sim-cloudwatch-period.js";
|
|
22
|
+
export { requiredSimCloudWatchStatistic, simCloudWatchStatistics, simCloudWatchStatisticValue, } from "./metric/sim-cloudwatch-statistic.js";
|
|
23
|
+
export { requiredSimCloudWatchTimeRange, } from "./metric/sim-cloudwatch-time-range.js";
|
|
24
|
+
export { SimCloudWatchError, SimCloudWatchInvalidParameterCombinationException, SimCloudWatchInvalidParameterValueException, SimCloudWatchMissingRequiredParameterException, } from "./error/sim-cloudwatch.error.js";
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/cloudwatch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACL,kCAAkC,GAEnC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,kBAAkB,GAEnB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,yBAAyB,GAE1B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EACL,4BAA4B,EAG5B,wBAAwB,GACzB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EACL,0BAA0B,GAG3B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,yBAAyB,EACzB,+BAA+B,GAChC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,uCAAuC,EACvC,qBAAqB,EAErB,gCAAgC,GACjC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,+BAA+B,EAE/B,iCAAiC,EACjC,kCAAkC,GACnC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,GACjC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAGL,2BAA2B,GAC5B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,gCAAgC,GAIjC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAGL,0BAA0B,EAC1B,8BAA8B,EAC9B,kCAAkC,EAClC,+BAA+B,GAChC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,mBAAmB,GAGpB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAGL,wBAAwB,GACzB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,4BAA4B,EAC5B,kBAAkB,GACnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,8BAA8B,EAC9B,sCAAsC,EACtC,oCAAoC,GACrC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,EACjC,6BAA6B,EAC7B,wBAAwB,GACzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,8BAA8B,EAE9B,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,8BAA8B,GAE/B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kBAAkB,EAElB,iDAAiD,EACjD,2CAA2C,EAC3C,8CAA8C,GAC/C,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { SimCloudWatchUnit } from "./sim-cloudwatch-unit.js";
|
|
2
|
+
/**
|
|
3
|
+
* One observation of a metric, held the way every statistic is read from.
|
|
4
|
+
*
|
|
5
|
+
* A single `Value: 3` and a `StatisticValues` block describing a thousand
|
|
6
|
+
* requests are the same shape here, because that shape is what CloudWatch can
|
|
7
|
+
* answer every statistic from: a count, a total, and the two extremes. Storing
|
|
8
|
+
* individual values instead would answer no more questions and would make a
|
|
9
|
+
* `StatisticValues` datum impossible to store at all, since it never carries
|
|
10
|
+
* the values it summarises.
|
|
11
|
+
*/
|
|
12
|
+
export interface SimCloudWatchDatapoint {
|
|
13
|
+
/** When the observation was made, in milliseconds since the epoch. */
|
|
14
|
+
readonly timestamp: number;
|
|
15
|
+
readonly sampleCount: number;
|
|
16
|
+
readonly sum: number;
|
|
17
|
+
readonly minimum: number;
|
|
18
|
+
readonly maximum: number;
|
|
19
|
+
/** The unit given with the observation, if it carried one. */
|
|
20
|
+
readonly unit: SimCloudWatchUnit | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The statistics a set of datapoints answers with.
|
|
24
|
+
*/
|
|
25
|
+
export interface SimCloudWatchAggregate {
|
|
26
|
+
readonly sampleCount: number;
|
|
27
|
+
readonly sum: number;
|
|
28
|
+
readonly minimum: number;
|
|
29
|
+
readonly maximum: number;
|
|
30
|
+
readonly average: number;
|
|
31
|
+
readonly unit: SimCloudWatchUnit | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* One or more observations of the same metric.
|
|
35
|
+
*
|
|
36
|
+
* Aggregating takes this rather than a plain array because there are no
|
|
37
|
+
* statistics to report for no observations at all, and real CloudWatch reports
|
|
38
|
+
* no datapoint for a period nothing was written into rather than a zeroed one.
|
|
39
|
+
* Saying so in the type means the empty case cannot reach here to be guarded
|
|
40
|
+
* against.
|
|
41
|
+
*/
|
|
42
|
+
export type SimCloudWatchObservations = readonly [
|
|
43
|
+
SimCloudWatchDatapoint,
|
|
44
|
+
...SimCloudWatchDatapoint[]
|
|
45
|
+
];
|
|
46
|
+
/**
|
|
47
|
+
* Combine observations into the statistics CloudWatch reports for them.
|
|
48
|
+
*
|
|
49
|
+
* The unit reported is the first one seen. Real CloudWatch keeps values of
|
|
50
|
+
* different units apart within a metric, and a caller wanting one of them says
|
|
51
|
+
* so with the `Unit` filter before the values reach here.
|
|
52
|
+
*/
|
|
53
|
+
export declare function aggregateSimCloudWatchDatapoints(datapoints: SimCloudWatchObservations): SimCloudWatchAggregate;
|
|
54
|
+
//# sourceMappingURL=sim-cloudwatch-datapoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-datapoint.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudwatch/metric/sim-cloudwatch-datapoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE;;;;;;;;;GASG;AACH,MAAM,WAAW,sBAAsB;IACrC,sEAAsE;IACtE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEzB,8DAA8D;IAC9D,QAAQ,CAAC,IAAI,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC9C;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,yBAAyB,GAAG,SAAS;IAC/C,sBAAsB;IACtB,GAAG,sBAAsB,EAAE;CAC5B,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,yBAAyB,GACpC,sBAAsB,CAuBxB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Combine observations into the statistics CloudWatch reports for them.
|
|
3
|
+
*
|
|
4
|
+
* The unit reported is the first one seen. Real CloudWatch keeps values of
|
|
5
|
+
* different units apart within a metric, and a caller wanting one of them says
|
|
6
|
+
* so with the `Unit` filter before the values reach here.
|
|
7
|
+
*/
|
|
8
|
+
export function aggregateSimCloudWatchDatapoints(datapoints) {
|
|
9
|
+
const [first] = datapoints;
|
|
10
|
+
let sampleCount = 0;
|
|
11
|
+
let sum = 0;
|
|
12
|
+
let minimum = first.minimum;
|
|
13
|
+
let maximum = first.maximum;
|
|
14
|
+
for (const datapoint of datapoints) {
|
|
15
|
+
sampleCount += datapoint.sampleCount;
|
|
16
|
+
sum += datapoint.sum;
|
|
17
|
+
minimum = Math.min(minimum, datapoint.minimum);
|
|
18
|
+
maximum = Math.max(maximum, datapoint.maximum);
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
sampleCount,
|
|
22
|
+
sum,
|
|
23
|
+
minimum,
|
|
24
|
+
maximum,
|
|
25
|
+
average: sum / sampleCount,
|
|
26
|
+
unit: datapoints.find((datapoint) => datapoint.unit !== undefined)?.unit,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=sim-cloudwatch-datapoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-datapoint.js","sourceRoot":"","sources":["../../../../src/service/cloudwatch/metric/sim-cloudwatch-datapoint.ts"],"names":[],"mappings":"AAmDA;;;;;;GAMG;AACH,MAAM,UAAU,gCAAgC,CAC9C,UAAqC;IAErC,MAAM,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC;IAE3B,IAAI,WAAW,GAAG,CAAC,CAAC;IACpB,IAAI,GAAG,GAAG,CAAC,CAAC;IACZ,IAAI,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;IAC5B,IAAI,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;IAE5B,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,WAAW,IAAI,SAAS,CAAC,WAAW,CAAC;QACrC,GAAG,IAAI,SAAS,CAAC,GAAG,CAAC;QACrB,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;QAC/C,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IACjD,CAAC;IAED,OAAO;QACL,WAAW;QACX,GAAG;QACH,OAAO;QACP,OAAO;QACP,OAAO,EAAE,GAAG,GAAG,WAAW;QAC1B,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,SAAS,CAAC,EAAE,IAAI;KACzE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How many dimensions real CloudWatch allows on one metric.
|
|
3
|
+
*/
|
|
4
|
+
export declare const simCloudWatchMaximumDimensions = 30;
|
|
5
|
+
/**
|
|
6
|
+
* One name/value pair narrowing what a metric measures.
|
|
7
|
+
*/
|
|
8
|
+
export interface SimCloudWatchDimension {
|
|
9
|
+
readonly name: string;
|
|
10
|
+
readonly value: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A dimension as it arrives on a command, before it has been read.
|
|
14
|
+
*/
|
|
15
|
+
export interface SimCloudWatchDimensionInput {
|
|
16
|
+
readonly Name?: string | undefined;
|
|
17
|
+
readonly Value?: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Read the dimensions of one metric, refusing what real CloudWatch would.
|
|
21
|
+
*/
|
|
22
|
+
export declare function requiredSimCloudWatchDimensions(dimensions?: readonly SimCloudWatchDimensionInput[]): readonly SimCloudWatchDimension[];
|
|
23
|
+
/**
|
|
24
|
+
* Read a dimension name, which real CloudWatch refuses to let start with a
|
|
25
|
+
* colon. A dimension value carries no such rule.
|
|
26
|
+
*/
|
|
27
|
+
export declare function requiredSimCloudWatchDimensionName(name?: string): string;
|
|
28
|
+
/**
|
|
29
|
+
* Write a dimension set as the string that identifies it.
|
|
30
|
+
*
|
|
31
|
+
* Order does not distinguish two dimension sets on real CloudWatch, so the
|
|
32
|
+
* pairs are sorted by name before they are written. JSON does the writing
|
|
33
|
+
* because a dimension value may hold any of the characters a separator could
|
|
34
|
+
* be built from, and two different sets must never write the same key.
|
|
35
|
+
*/
|
|
36
|
+
export declare function simCloudWatchDimensionsKey(dimensions: readonly SimCloudWatchDimension[]): string;
|
|
37
|
+
//# sourceMappingURL=sim-cloudwatch-dimension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cloudwatch-dimension.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudwatch/metric/sim-cloudwatch-dimension.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC7C,UAAU,CAAC,EAAE,SAAS,2BAA2B,EAAE,GAClD,SAAS,sBAAsB,EAAE,CAgBnC;AAED;;;GAGG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAKxE;AAED;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,SAAS,sBAAsB,EAAE,GAC5C,MAAM,CAMR"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { SimCloudWatchInvalidParameterValueException } from "../error/sim-cloudwatch.error.js";
|
|
2
|
+
import { refuseSimCloudWatchLeadingColon, requiredSimCloudWatchName, } from "./sim-cloudwatch-name.js";
|
|
3
|
+
/**
|
|
4
|
+
* How many dimensions real CloudWatch allows on one metric.
|
|
5
|
+
*/
|
|
6
|
+
export const simCloudWatchMaximumDimensions = 30;
|
|
7
|
+
/**
|
|
8
|
+
* Read the dimensions of one metric, refusing what real CloudWatch would.
|
|
9
|
+
*/
|
|
10
|
+
export function requiredSimCloudWatchDimensions(dimensions) {
|
|
11
|
+
if (dimensions === undefined) {
|
|
12
|
+
return [];
|
|
13
|
+
}
|
|
14
|
+
if (dimensions.length > simCloudWatchMaximumDimensions) {
|
|
15
|
+
throw new SimCloudWatchInvalidParameterValueException(`A metric may carry at most ${simCloudWatchMaximumDimensions} ` +
|
|
16
|
+
`dimensions, and ${dimensions.length} were given.`);
|
|
17
|
+
}
|
|
18
|
+
return dimensions.map((dimension) => ({
|
|
19
|
+
name: requiredSimCloudWatchDimensionName(dimension.Name),
|
|
20
|
+
value: requiredSimCloudWatchName("Dimension.Value", dimension.Value),
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Read a dimension name, which real CloudWatch refuses to let start with a
|
|
25
|
+
* colon. A dimension value carries no such rule.
|
|
26
|
+
*/
|
|
27
|
+
export function requiredSimCloudWatchDimensionName(name) {
|
|
28
|
+
return refuseSimCloudWatchLeadingColon("Dimension.Name", requiredSimCloudWatchName("Dimension.Name", name));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Write a dimension set as the string that identifies it.
|
|
32
|
+
*
|
|
33
|
+
* Order does not distinguish two dimension sets on real CloudWatch, so the
|
|
34
|
+
* pairs are sorted by name before they are written. JSON does the writing
|
|
35
|
+
* because a dimension value may hold any of the characters a separator could
|
|
36
|
+
* be built from, and two different sets must never write the same key.
|
|
37
|
+
*/
|
|
38
|
+
export function simCloudWatchDimensionsKey(dimensions) {
|
|
39
|
+
const sorted = dimensions.toSorted((left, right) => left.name.localeCompare(right.name));
|
|
40
|
+
return JSON.stringify(sorted.map((one) => [one.name, one.value]));
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=sim-cloudwatch-dimension.js.map
|