@kensio/yulin 1.3.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.js +3 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +10 -8
- 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 +22 -23
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-s3-notification-destinations.d.ts +11 -0
- package/dist/service/aws/factory/sim-aws-s3-notification-destinations.d.ts.map +1 -0
- package/dist/service/aws/factory/sim-aws-s3-notification-destinations.js +23 -0
- package/dist/service/aws/factory/sim-aws-s3-notification-destinations.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +3 -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 +4 -0
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.d.ts +5 -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 +6 -0
- package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.d.ts +3 -0
- package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.js +4 -0
- package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-cfn-value-adapter.d.ts +4 -0
- package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-cfn-value-adapter.js +19 -2
- package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-table-cfn.d.ts +20 -4
- package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-table-cfn.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-table-cfn.js +28 -6
- package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-table-cfn.js.map +1 -1
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-capacity.d.ts +26 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-capacity.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-capacity.js +28 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-capacity.js.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-creator.d.ts +26 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-creator.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-creator.js +27 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-creator.js.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-indexes.d.ts +17 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-indexes.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-indexes.js +62 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-indexes.js.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-properties.d.ts +37 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-properties.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-properties.js +88 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-properties.js.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property-rules.d.ts +23 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property-rules.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property-rules.js +151 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property-rules.js.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property.d.ts +29 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property.js +26 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-property.js.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replica-rules.d.ts +15 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replica-rules.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replica-rules.js +98 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replica-rules.js.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replicas.d.ts +48 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replicas.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replicas.js +78 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-replicas.js.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-resource.factory.d.ts +53 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-resource.factory.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-resource.factory.js +46 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-resource.factory.js.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-simulated.d.ts +18 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-simulated.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-simulated.js +41 -0
- package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-simulated.js.map +1 -0
- package/dist/service/dynamodb/cfn/{table/sim-cfn-dynamodb-table-property-error.d.ts → property/sim-cfn-dynamodb-property-error.d.ts} +9 -5
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-error.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/{table/sim-cfn-dynamodb-table-property-error.js → property/sim-cfn-dynamodb-property-error.js} +11 -7
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-error.js.map +1 -0
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-rules.d.ts +54 -0
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-rules.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-rules.js +71 -0
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-rules.js.map +1 -0
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-scalars.d.ts +17 -0
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-scalars.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-scalars.js +35 -0
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-scalars.js.map +1 -0
- package/dist/service/dynamodb/cfn/{table/sim-cfn-dynamodb-table-values.d.ts → property/sim-cfn-dynamodb-property-values.d.ts} +23 -17
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-values.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/{table/sim-cfn-dynamodb-table-values.js → property/sim-cfn-dynamodb-property-values.js} +33 -30
- package/dist/service/dynamodb/cfn/property/sim-cfn-dynamodb-property-values.js.map +1 -0
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-factory.d.ts +6 -4
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-factory.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-factory.js +15 -5
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-factory.js.map +1 -1
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-type.d.ts +14 -0
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-type.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-type.js +14 -0
- package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-type.js.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.d.ts +8 -26
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.js +23 -59
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.d.ts +2 -2
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.d.ts +2 -2
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.js +4 -2
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.d.ts +2 -3
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.js +13 -18
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-resource.factory.d.ts +7 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-resource.factory.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-resource.factory.js +5 -2
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-resource.factory.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream-rules.d.ts +3 -15
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream-rules.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream-rules.js +11 -33
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream-rules.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream.d.ts +2 -2
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-stream.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.d.ts +2 -2
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-time-to-live.d.ts +2 -2
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-time-to-live.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-time-to-live.js.map +1 -1
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.d.ts +26 -0
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.d.ts.map +1 -0
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.js +45 -0
- package/dist/service/rekognition/command/authorize/sim-rekognition-authorizer.js.map +1 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces-request.d.ts +12 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces-request.js +18 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces-request.js.map +1 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces.command.d.ts +133 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces.command.d.ts.map +1 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces.command.js +2 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces.command.js.map +1 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces.handler.d.ts +35 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces.handler.d.ts.map +1 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces.handler.js +39 -0
- package/dist/service/rekognition/command/detect-faces/detect-faces.handler.js.map +1 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels-request.d.ts +30 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels-request.js +71 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels-request.js.map +1 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels.command.d.ts +57 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels.command.d.ts.map +1 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels.command.js +2 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels.command.js.map +1 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels.handler.d.ts +35 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels.handler.d.ts.map +1 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels.handler.js +41 -0
- package/dist/service/rekognition/command/detect-labels/detect-labels.handler.js.map +1 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels-request.d.ts +17 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels-request.d.ts.map +1 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels-request.js +30 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels-request.js.map +1 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels.command.d.ts +42 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels.command.d.ts.map +1 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels.command.js +2 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels.command.js.map +1 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels.handler.d.ts +36 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels.handler.d.ts.map +1 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels.handler.js +47 -0
- package/dist/service/rekognition/command/detect-moderation-labels/detect-moderation-labels.handler.js.map +1 -0
- package/dist/service/rekognition/command/sim-rekognition-min-confidence.d.ts +19 -0
- package/dist/service/rekognition/command/sim-rekognition-min-confidence.d.ts.map +1 -0
- package/dist/service/rekognition/command/sim-rekognition-min-confidence.js +34 -0
- package/dist/service/rekognition/command/sim-rekognition-min-confidence.js.map +1 -0
- package/dist/service/rekognition/command/sim-rekognition-request-options.d.ts +16 -0
- package/dist/service/rekognition/command/sim-rekognition-request-options.d.ts.map +1 -0
- package/dist/service/rekognition/command/sim-rekognition-request-options.js +2 -0
- package/dist/service/rekognition/command/sim-rekognition-request-options.js.map +1 -0
- package/dist/service/rekognition/command/sim-rekognition-unsimulated-input.d.ts +19 -0
- package/dist/service/rekognition/command/sim-rekognition-unsimulated-input.d.ts.map +1 -0
- package/dist/service/rekognition/command/sim-rekognition-unsimulated-input.js +30 -0
- package/dist/service/rekognition/command/sim-rekognition-unsimulated-input.js.map +1 -0
- package/dist/service/rekognition/error/sim-rekognition.error.d.ts +87 -0
- package/dist/service/rekognition/error/sim-rekognition.error.d.ts.map +1 -0
- package/dist/service/rekognition/error/sim-rekognition.error.js +95 -0
- package/dist/service/rekognition/error/sim-rekognition.error.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-declared-value.d.ts +26 -0
- package/dist/service/rekognition/face/sim-rekognition-declared-value.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-declared-value.js +28 -0
- package/dist/service/rekognition/face/sim-rekognition-declared-value.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-detected-face.d.ts +29 -0
- package/dist/service/rekognition/face/sim-rekognition-detected-face.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-detected-face.js +53 -0
- package/dist/service/rekognition/face/sim-rekognition-detected-face.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-emotion-name.d.ts +18 -0
- package/dist/service/rekognition/face/sim-rekognition-emotion-name.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-emotion-name.js +27 -0
- package/dist/service/rekognition/face/sim-rekognition-emotion-name.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-age-and-gender.d.ts +24 -0
- package/dist/service/rekognition/face/sim-rekognition-face-age-and-gender.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-age-and-gender.js +62 -0
- package/dist/service/rekognition/face/sim-rekognition-face-age-and-gender.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-attributes.d.ts +41 -0
- package/dist/service/rekognition/face/sim-rekognition-face-attributes.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-attributes.js +75 -0
- package/dist/service/rekognition/face/sim-rekognition-face-attributes.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-declaration.d.ts +116 -0
- package/dist/service/rekognition/face/sim-rekognition-face-declaration.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-declaration.js +2 -0
- package/dist/service/rekognition/face/sim-rekognition-face-declaration.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-defaults.d.ts +31 -0
- package/dist/service/rekognition/face/sim-rekognition-face-defaults.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-defaults.js +120 -0
- package/dist/service/rekognition/face/sim-rekognition-face-defaults.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detail-builder.d.ts +31 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detail-builder.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detail-builder.js +38 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detail-builder.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detection.d.ts +21 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detection.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detection.js +33 -0
- package/dist/service/rekognition/face/sim-rekognition-face-detection.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-emotions.d.ts +23 -0
- package/dist/service/rekognition/face/sim-rekognition-face-emotions.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-emotions.js +55 -0
- package/dist/service/rekognition/face/sim-rekognition-face-emotions.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-eye-direction.d.ts +19 -0
- package/dist/service/rekognition/face/sim-rekognition-face-eye-direction.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-eye-direction.js +31 -0
- package/dist/service/rekognition/face/sim-rekognition-face-eye-direction.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-feature-members.d.ts +56 -0
- package/dist/service/rekognition/face/sim-rekognition-face-feature-members.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-feature-members.js +22 -0
- package/dist/service/rekognition/face/sim-rekognition-face-feature-members.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-features.d.ts +19 -0
- package/dist/service/rekognition/face/sim-rekognition-face-features.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-features.js +39 -0
- package/dist/service/rekognition/face/sim-rekognition-face-features.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-frame.d.ts +27 -0
- package/dist/service/rekognition/face/sim-rekognition-face-frame.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-frame.js +74 -0
- package/dist/service/rekognition/face/sim-rekognition-face-frame.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-landmark-points.d.ts +25 -0
- package/dist/service/rekognition/face/sim-rekognition-face-landmark-points.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-landmark-points.js +89 -0
- package/dist/service/rekognition/face/sim-rekognition-face-landmark-points.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-landmarks.d.ts +20 -0
- package/dist/service/rekognition/face/sim-rekognition-face-landmarks.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-landmarks.js +32 -0
- package/dist/service/rekognition/face/sim-rekognition-face-landmarks.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-measures.d.ts +27 -0
- package/dist/service/rekognition/face/sim-rekognition-face-measures.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-face-measures.js +49 -0
- package/dist/service/rekognition/face/sim-rekognition-face-measures.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-faces.d.ts +36 -0
- package/dist/service/rekognition/face/sim-rekognition-faces.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-faces.js +49 -0
- package/dist/service/rekognition/face/sim-rekognition-faces.js.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-landmark-name.d.ts +30 -0
- package/dist/service/rekognition/face/sim-rekognition-landmark-name.d.ts.map +1 -0
- package/dist/service/rekognition/face/sim-rekognition-landmark-name.js +66 -0
- package/dist/service/rekognition/face/sim-rekognition-landmark-name.js.map +1 -0
- package/dist/service/rekognition/image/s3/sim-aws-rekognition-image-objects.d.ts +48 -0
- package/dist/service/rekognition/image/s3/sim-aws-rekognition-image-objects.d.ts.map +1 -0
- package/dist/service/rekognition/image/s3/sim-aws-rekognition-image-objects.js +78 -0
- package/dist/service/rekognition/image/s3/sim-aws-rekognition-image-objects.js.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-bounding-box.d.ts +48 -0
- package/dist/service/rekognition/image/sim-rekognition-bounding-box.d.ts.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-bounding-box.js +50 -0
- package/dist/service/rekognition/image/sim-rekognition-bounding-box.js.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image-format.d.ts +17 -0
- package/dist/service/rekognition/image/sim-rekognition-image-format.d.ts.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image-format.js +28 -0
- package/dist/service/rekognition/image/sim-rekognition-image-format.js.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image-hash.d.ts +15 -0
- package/dist/service/rekognition/image/sim-rekognition-image-hash.d.ts.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image-hash.js +20 -0
- package/dist/service/rekognition/image/sim-rekognition-image-hash.js.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image-input.d.ts +23 -0
- package/dist/service/rekognition/image/sim-rekognition-image-input.d.ts.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image-input.js +2 -0
- package/dist/service/rekognition/image/sim-rekognition-image-input.js.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image-objects.d.ts +35 -0
- package/dist/service/rekognition/image/sim-rekognition-image-objects.d.ts.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image-objects.js +21 -0
- package/dist/service/rekognition/image/sim-rekognition-image-objects.js.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image-request.d.ts +59 -0
- package/dist/service/rekognition/image/sim-rekognition-image-request.d.ts.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image-request.js +88 -0
- package/dist/service/rekognition/image/sim-rekognition-image-request.js.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image.d.ts +30 -0
- package/dist/service/rekognition/image/sim-rekognition-image.d.ts.map +1 -0
- package/dist/service/rekognition/image/sim-rekognition-image.js +36 -0
- package/dist/service/rekognition/image/sim-rekognition-image.js.map +1 -0
- package/dist/service/rekognition/index.d.ts +18 -0
- package/dist/service/rekognition/index.d.ts.map +1 -0
- package/dist/service/rekognition/index.js +13 -0
- package/dist/service/rekognition/index.js.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-detected-label.d.ts +11 -0
- package/dist/service/rekognition/label/sim-rekognition-detected-label.d.ts.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-detected-label.js +49 -0
- package/dist/service/rekognition/label/sim-rekognition-detected-label.js.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-label-declaration.d.ts +43 -0
- package/dist/service/rekognition/label/sim-rekognition-label-declaration.d.ts.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-label-declaration.js +10 -0
- package/dist/service/rekognition/label/sim-rekognition-label-declaration.js.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-label-defaults.d.ts +22 -0
- package/dist/service/rekognition/label/sim-rekognition-label-defaults.d.ts.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-label-defaults.js +42 -0
- package/dist/service/rekognition/label/sim-rekognition-label-defaults.js.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-label-detection.d.ts +32 -0
- package/dist/service/rekognition/label/sim-rekognition-label-detection.d.ts.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-label-detection.js +35 -0
- package/dist/service/rekognition/label/sim-rekognition-label-detection.js.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-label-instances.d.ts +19 -0
- package/dist/service/rekognition/label/sim-rekognition-label-instances.d.ts.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-label-instances.js +28 -0
- package/dist/service/rekognition/label/sim-rekognition-label-instances.js.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-labels.d.ts +30 -0
- package/dist/service/rekognition/label/sim-rekognition-labels.d.ts.map +1 -0
- package/dist/service/rekognition/label/sim-rekognition-labels.js +38 -0
- package/dist/service/rekognition/label/sim-rekognition-labels.js.map +1 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-labels.d.ts +29 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-labels.d.ts.map +1 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-labels.js +85 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-labels.js.map +1 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-result.d.ts +46 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-result.d.ts.map +1 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-result.js +79 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-result.js.map +1 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-taxonomy.d.ts +55 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-taxonomy.d.ts.map +1 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-taxonomy.js +87 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation-taxonomy.js.map +1 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation.d.ts +35 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation.d.ts.map +1 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation.js +57 -0
- package/dist/service/rekognition/moderation/sim-rekognition-moderation.js.map +1 -0
- package/dist/service/rekognition/rule/sim-rekognition-declared-confidence.d.ts +21 -0
- package/dist/service/rekognition/rule/sim-rekognition-declared-confidence.d.ts.map +1 -0
- package/dist/service/rekognition/rule/sim-rekognition-declared-confidence.js +34 -0
- package/dist/service/rekognition/rule/sim-rekognition-declared-confidence.js.map +1 -0
- package/dist/service/rekognition/rule/sim-rekognition-result-rules.d.ts +51 -0
- package/dist/service/rekognition/rule/sim-rekognition-result-rules.d.ts.map +1 -0
- package/dist/service/rekognition/rule/sim-rekognition-result-rules.js +80 -0
- package/dist/service/rekognition/rule/sim-rekognition-result-rules.js.map +1 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-image-files.d.ts +27 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-image-files.d.ts.map +1 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-image-files.js +62 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-image-files.js.map +1 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-image.d.ts +26 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-image.d.ts.map +1 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-image.js +32 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-image.js.map +1 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-images.d.ts +52 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-images.d.ts.map +1 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-images.js +63 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-images.js.map +1 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-rules.d.ts +29 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-rules.d.ts.map +1 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-rules.js +31 -0
- package/dist/service/rekognition/sample/sim-rekognition-sample-rules.js.map +1 -0
- package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.d.ts +20 -0
- package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.d.ts.map +1 -0
- package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.js +38 -0
- package/dist/service/rekognition/sdk/sim-rekognition-sdk-command-router.js.map +1 -0
- package/dist/service/rekognition/sim-rekognition.d.ts +95 -0
- package/dist/service/rekognition/sim-rekognition.d.ts.map +1 -0
- package/dist/service/rekognition/sim-rekognition.js +124 -0
- package/dist/service/rekognition/sim-rekognition.js.map +1 -0
- package/package.json +7 -2
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-error.d.ts.map +0 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-error.js.map +0 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-values.d.ts.map +0 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-values.js.map +0 -1
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
|
|
2
|
+
import type { SimRekognitionBoundingBoxOutput } from "../../image/sim-rekognition-bounding-box.js";
|
|
3
|
+
import type { SimRekognitionImageInput } from "../../image/sim-rekognition-image-input.js";
|
|
4
|
+
/**
|
|
5
|
+
* A face attribute Rekognition answers yes or no to, with how sure it is of
|
|
6
|
+
* the answer.
|
|
7
|
+
*
|
|
8
|
+
* `Smile`, `Eyeglasses`, `Sunglasses`, `Beard`, `Mustache`, `EyesOpen`,
|
|
9
|
+
* `MouthOpen` and `FaceOccluded` are all this shape on the wire, and all
|
|
10
|
+
* separate types in the SDK, so one structural type stands in for each.
|
|
11
|
+
*
|
|
12
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_Smile.html
|
|
13
|
+
*/
|
|
14
|
+
export interface SimRekognitionFaceFeatureOutput {
|
|
15
|
+
readonly Value: boolean;
|
|
16
|
+
readonly Confidence: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The gender predicted for a detected face.
|
|
20
|
+
*
|
|
21
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_Gender.html
|
|
22
|
+
*/
|
|
23
|
+
export interface SimRekognitionGenderOutput {
|
|
24
|
+
readonly Value: string;
|
|
25
|
+
readonly Confidence: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The age range estimated for a detected face, in years.
|
|
29
|
+
*
|
|
30
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_AgeRange.html
|
|
31
|
+
*/
|
|
32
|
+
export interface SimRekognitionAgeRangeOutput {
|
|
33
|
+
readonly Low: number;
|
|
34
|
+
readonly High: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* One emotion a detected face appears to express.
|
|
38
|
+
*
|
|
39
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_Emotion.html
|
|
40
|
+
*/
|
|
41
|
+
export interface SimRekognitionEmotionOutput {
|
|
42
|
+
readonly Type: string;
|
|
43
|
+
readonly Confidence: number;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* One facial landmark, located as ratios of the image's own size.
|
|
47
|
+
*
|
|
48
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_Landmark.html
|
|
49
|
+
*/
|
|
50
|
+
export interface SimRekognitionLandmarkOutput {
|
|
51
|
+
readonly Type: string;
|
|
52
|
+
readonly X: number;
|
|
53
|
+
readonly Y: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* How a detected face is turned, in degrees.
|
|
57
|
+
*
|
|
58
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_Pose.html
|
|
59
|
+
*/
|
|
60
|
+
export interface SimRekognitionPoseOutput {
|
|
61
|
+
readonly Roll: number;
|
|
62
|
+
readonly Yaw: number;
|
|
63
|
+
readonly Pitch: number;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* How well a detected face was captured.
|
|
67
|
+
*
|
|
68
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ImageQuality.html
|
|
69
|
+
*/
|
|
70
|
+
export interface SimRekognitionImageQualityOutput {
|
|
71
|
+
readonly Brightness: number;
|
|
72
|
+
readonly Sharpness: number;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Where a detected face is looking, in degrees.
|
|
76
|
+
*
|
|
77
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_EyeDirection.html
|
|
78
|
+
*/
|
|
79
|
+
export interface SimRekognitionEyeDirectionOutput {
|
|
80
|
+
readonly Yaw: number;
|
|
81
|
+
readonly Pitch: number;
|
|
82
|
+
readonly Confidence: number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* One detected face.
|
|
86
|
+
*
|
|
87
|
+
* Every member is optional, as it is on AWS: a response carries the attributes
|
|
88
|
+
* the request asked for and leaves the rest out entirely.
|
|
89
|
+
*
|
|
90
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_FaceDetail.html
|
|
91
|
+
*/
|
|
92
|
+
export interface SimRekognitionFaceDetailOutput {
|
|
93
|
+
readonly BoundingBox?: SimRekognitionBoundingBoxOutput;
|
|
94
|
+
readonly Confidence?: number;
|
|
95
|
+
readonly Pose?: SimRekognitionPoseOutput;
|
|
96
|
+
readonly Quality?: SimRekognitionImageQualityOutput;
|
|
97
|
+
readonly Landmarks?: readonly SimRekognitionLandmarkOutput[];
|
|
98
|
+
readonly AgeRange?: SimRekognitionAgeRangeOutput;
|
|
99
|
+
readonly Gender?: SimRekognitionGenderOutput;
|
|
100
|
+
readonly Emotions?: readonly SimRekognitionEmotionOutput[];
|
|
101
|
+
readonly EyeDirection?: SimRekognitionEyeDirectionOutput;
|
|
102
|
+
readonly Smile?: SimRekognitionFaceFeatureOutput;
|
|
103
|
+
readonly Eyeglasses?: SimRekognitionFaceFeatureOutput;
|
|
104
|
+
readonly Sunglasses?: SimRekognitionFaceFeatureOutput;
|
|
105
|
+
readonly Beard?: SimRekognitionFaceFeatureOutput;
|
|
106
|
+
readonly Mustache?: SimRekognitionFaceFeatureOutput;
|
|
107
|
+
readonly EyesOpen?: SimRekognitionFaceFeatureOutput;
|
|
108
|
+
readonly MouthOpen?: SimRekognitionFaceFeatureOutput;
|
|
109
|
+
readonly FaceOccluded?: SimRekognitionFaceFeatureOutput;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Minimal structural sim Rekognition DetectFaces command.
|
|
113
|
+
*
|
|
114
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rekognition/command/DetectFacesCommand/
|
|
115
|
+
*/
|
|
116
|
+
export interface SimDetectFacesCommand {
|
|
117
|
+
readonly input: SimDetectFacesCommandInput;
|
|
118
|
+
}
|
|
119
|
+
export interface SimDetectFacesCommandInput {
|
|
120
|
+
readonly Image?: SimRekognitionImageInput | undefined;
|
|
121
|
+
readonly Attributes?: readonly string[] | undefined;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* The DetectFaces response.
|
|
125
|
+
*
|
|
126
|
+
* `OrientationCorrection` is not carried, because AWS documents its value as
|
|
127
|
+
* always null.
|
|
128
|
+
*/
|
|
129
|
+
export interface SimDetectFacesCommandOutput {
|
|
130
|
+
readonly FaceDetails: readonly SimRekognitionFaceDetailOutput[];
|
|
131
|
+
readonly $metadata: SimResponseMetadata;
|
|
132
|
+
}
|
|
133
|
+
//# sourceMappingURL=detect-faces.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-faces.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-faces/detect-faces.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAE3F;;;;;;;;;GASG;AACH,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,WAAW,CAAC,EAAE,+BAA+B,CAAC;IACvD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,IAAI,CAAC,EAAE,wBAAwB,CAAC;IACzC,QAAQ,CAAC,OAAO,CAAC,EAAE,gCAAgC,CAAC;IACpD,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,4BAA4B,EAAE,CAAC;IAC7D,QAAQ,CAAC,QAAQ,CAAC,EAAE,4BAA4B,CAAC;IACjD,QAAQ,CAAC,MAAM,CAAC,EAAE,0BAA0B,CAAC;IAC7C,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,2BAA2B,EAAE,CAAC;IAC3D,QAAQ,CAAC,YAAY,CAAC,EAAE,gCAAgC,CAAC;IACzD,QAAQ,CAAC,KAAK,CAAC,EAAE,+BAA+B,CAAC;IACjD,QAAQ,CAAC,UAAU,CAAC,EAAE,+BAA+B,CAAC;IACtD,QAAQ,CAAC,UAAU,CAAC,EAAE,+BAA+B,CAAC;IACtD,QAAQ,CAAC,KAAK,CAAC,EAAE,+BAA+B,CAAC;IACjD,QAAQ,CAAC,QAAQ,CAAC,EAAE,+BAA+B,CAAC;IACpD,QAAQ,CAAC,QAAQ,CAAC,EAAE,+BAA+B,CAAC;IACpD,QAAQ,CAAC,SAAS,CAAC,EAAE,+BAA+B,CAAC;IACrD,QAAQ,CAAC,YAAY,CAAC,EAAE,+BAA+B,CAAC;CACzD;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,0BAA0B,CAAC;CAC5C;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;CACrD;AAED;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,WAAW,EAAE,SAAS,8BAA8B,EAAE,CAAC;IAChE,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-faces.command.js","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-faces/detect-faces.command.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../../../util/background/background.js";
|
|
2
|
+
import type { SimRekognitionFaces } from "../../face/sim-rekognition-faces.js";
|
|
3
|
+
import type { SimRekognitionImageObjects } from "../../image/sim-rekognition-image-objects.js";
|
|
4
|
+
import type { SimRekognitionAuthorizer } from "../authorize/sim-rekognition-authorizer.js";
|
|
5
|
+
import type { SimRekognitionRequestOptions } from "../sim-rekognition-request-options.js";
|
|
6
|
+
import type { SimDetectFacesCommand, SimDetectFacesCommandOutput } from "./detect-faces.command.js";
|
|
7
|
+
interface DetectFacesHandlerProperties {
|
|
8
|
+
readonly faces: SimRekognitionFaces;
|
|
9
|
+
readonly authorizer: SimRekognitionAuthorizer;
|
|
10
|
+
readonly images: SimRekognitionImageObjects;
|
|
11
|
+
readonly background: BackgroundScheduler;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Handles a DetectFaces command.
|
|
15
|
+
*
|
|
16
|
+
* The steps are in the same order as the other detections. The request is
|
|
17
|
+
* checked first, so a malformed one fails the same way whatever else the
|
|
18
|
+
* simulation is doing. The caller is then authorized for the Rekognition
|
|
19
|
+
* action before the image is read, so a caller without
|
|
20
|
+
* `rekognition:DetectFaces` is told about that rather than about an S3 object.
|
|
21
|
+
* Only then is the image read, as the caller, and the rules consulted.
|
|
22
|
+
*/
|
|
23
|
+
export declare class DetectFacesHandler {
|
|
24
|
+
private readonly faces;
|
|
25
|
+
private readonly authorizer;
|
|
26
|
+
private readonly images;
|
|
27
|
+
private readonly background;
|
|
28
|
+
constructor(properties: DetectFacesHandlerProperties);
|
|
29
|
+
/**
|
|
30
|
+
* Detect the faces an image is declared to hold.
|
|
31
|
+
*/
|
|
32
|
+
handle(command: SimDetectFacesCommand, options?: SimRekognitionRequestOptions): Promise<SimDetectFacesCommandOutput>;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=detect-faces.handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-faces.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-faces/detect-faces.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAE1F,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;AAInC,UAAU,4BAA4B;IACpC,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;IACpC,QAAQ,CAAC,UAAU,EAAE,wBAAwB,CAAC;IAC9C,QAAQ,CAAC,MAAM,EAAE,0BAA0B,CAAC;IAC5C,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;;;;;;;;GASG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsB;IAC5C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA2B;IACtD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IACpD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,YAAY,UAAU,EAAE,4BAA4B,EAKnD;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,qBAAqB,EAC9B,OAAO,GAAE,4BAAiC,GACzC,OAAO,CAAC,2BAA2B,CAAC,CActC;CACF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DetectFacesRequest } from "./detect-faces-request.js";
|
|
2
|
+
const action = "rekognition:DetectFaces";
|
|
3
|
+
/**
|
|
4
|
+
* Handles a DetectFaces command.
|
|
5
|
+
*
|
|
6
|
+
* The steps are in the same order as the other detections. The request is
|
|
7
|
+
* checked first, so a malformed one fails the same way whatever else the
|
|
8
|
+
* simulation is doing. The caller is then authorized for the Rekognition
|
|
9
|
+
* action before the image is read, so a caller without
|
|
10
|
+
* `rekognition:DetectFaces` is told about that rather than about an S3 object.
|
|
11
|
+
* Only then is the image read, as the caller, and the rules consulted.
|
|
12
|
+
*/
|
|
13
|
+
export class DetectFacesHandler {
|
|
14
|
+
faces;
|
|
15
|
+
authorizer;
|
|
16
|
+
images;
|
|
17
|
+
background;
|
|
18
|
+
constructor(properties) {
|
|
19
|
+
this.faces = properties.faces;
|
|
20
|
+
this.authorizer = properties.authorizer;
|
|
21
|
+
this.images = properties.images;
|
|
22
|
+
this.background = properties.background;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Detect the faces an image is declared to hold.
|
|
26
|
+
*/
|
|
27
|
+
async handle(command, options = {}) {
|
|
28
|
+
const request = new DetectFacesRequest(command.input);
|
|
29
|
+
await this.background.sequence();
|
|
30
|
+
this.authorizer.authorize(action, options);
|
|
31
|
+
const image = await request.image.read(this.images, options);
|
|
32
|
+
const detection = this.faces.detectionFor(image);
|
|
33
|
+
return {
|
|
34
|
+
FaceDetails: detection.detailsFor(request.attributes),
|
|
35
|
+
$metadata: {},
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=detect-faces.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-faces.handler.js","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-faces/detect-faces.handler.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAM/D,MAAM,MAAM,GAAG,yBAAyB,CAAC;AASzC;;;;;;;;;GASG;AACH,MAAM,OAAO,kBAAkB;IACZ,KAAK,CAAsB;IAC3B,UAAU,CAA2B;IACrC,MAAM,CAA6B;IACnC,UAAU,CAAsB;IAEjD,YAAY,UAAwC;QAClD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAA8B,EAC9B,OAAO,GAAiC,EAAE;QAE1C,MAAM,OAAO,GAAG,IAAI,kBAAkB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAEtD,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAEjC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAE3C,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC7D,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAEjD,OAAO;YACL,WAAW,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC;YACrD,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type SimRekognitionImageRequest } from "../../image/sim-rekognition-image-request.js";
|
|
2
|
+
import type { SimDetectLabelsCommandInput } from "./detect-labels.command.js";
|
|
3
|
+
/**
|
|
4
|
+
* A DetectLabels request, checked before anything acts on it.
|
|
5
|
+
*
|
|
6
|
+
* `Settings` is refused with everything else this simulation does not model,
|
|
7
|
+
* because its filters decide which labels a response carries: applying none of
|
|
8
|
+
* them would answer with labels a real caller asked to have left out.
|
|
9
|
+
*/
|
|
10
|
+
export declare class DetectLabelsRequest {
|
|
11
|
+
readonly image: SimRekognitionImageRequest;
|
|
12
|
+
readonly minConfidence: number;
|
|
13
|
+
readonly maxLabels: number | undefined;
|
|
14
|
+
constructor(input: SimDetectLabelsCommandInput);
|
|
15
|
+
/**
|
|
16
|
+
* The most labels this request wants back, if it said.
|
|
17
|
+
*
|
|
18
|
+
* There is no cap when the request left it out, so an explicit `0` asks for
|
|
19
|
+
* no labels rather than being read as unset.
|
|
20
|
+
*/
|
|
21
|
+
private static maxLabelsOf;
|
|
22
|
+
/**
|
|
23
|
+
* Refuse the response members this simulation cannot fill in.
|
|
24
|
+
*
|
|
25
|
+
* `GENERAL_LABELS` is the whole of what is simulated, and it is what a
|
|
26
|
+
* request asking for no features gets, here as on AWS.
|
|
27
|
+
*/
|
|
28
|
+
private static refuseUnsimulatedFeatures;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=detect-labels-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-labels-request.d.ts","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-labels/detect-labels-request.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,8CAA8C,CAAC;AAGtD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAe9E;;;;;;GAMG;AACH,qBAAa,mBAAmB;IAC9B,SAAgB,KAAK,EAAE,0BAA0B,CAAC;IAClD,SAAgB,aAAa,EAAE,MAAM,CAAC;IACtC,SAAgB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9C,YAAY,KAAK,EAAE,2BAA2B,EAU7C;IAED;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAiB1B;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;CAwBzC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { SimRekognitionInvalidParameterException, SimRekognitionUnsimulatedInputException, } from "../../error/sim-rekognition.error.js";
|
|
2
|
+
import { SimRekognitionImageRequests, } from "../../image/sim-rekognition-image-request.js";
|
|
3
|
+
import { SimRekognitionMinConfidence } from "../sim-rekognition-min-confidence.js";
|
|
4
|
+
import { SimRekognitionUnsimulatedInput } from "../sim-rekognition-unsimulated-input.js";
|
|
5
|
+
/**
|
|
6
|
+
* The confidence real Rekognition filters labels at when a request does not
|
|
7
|
+
* say. Label detection uses 55 here, which is not the 50 content moderation
|
|
8
|
+
* uses.
|
|
9
|
+
*/
|
|
10
|
+
const minConfidence = new SimRekognitionMinConfidence(55);
|
|
11
|
+
const operation = "DetectLabels";
|
|
12
|
+
const acceptedInput = ["Image", "MaxLabels", "MinConfidence", "Features"];
|
|
13
|
+
const generalLabels = "GENERAL_LABELS";
|
|
14
|
+
const imageProperties = "IMAGE_PROPERTIES";
|
|
15
|
+
/**
|
|
16
|
+
* A DetectLabels request, checked before anything acts on it.
|
|
17
|
+
*
|
|
18
|
+
* `Settings` is refused with everything else this simulation does not model,
|
|
19
|
+
* because its filters decide which labels a response carries: applying none of
|
|
20
|
+
* them would answer with labels a real caller asked to have left out.
|
|
21
|
+
*/
|
|
22
|
+
export class DetectLabelsRequest {
|
|
23
|
+
image;
|
|
24
|
+
minConfidence;
|
|
25
|
+
maxLabels;
|
|
26
|
+
constructor(input) {
|
|
27
|
+
new SimRekognitionUnsimulatedInput(operation).refuseUnaccepted(input, acceptedInput);
|
|
28
|
+
DetectLabelsRequest.refuseUnsimulatedFeatures(input.Features);
|
|
29
|
+
this.image = new SimRekognitionImageRequests(operation).parse(input.Image);
|
|
30
|
+
this.minConfidence = minConfidence.of(input.MinConfidence);
|
|
31
|
+
this.maxLabels = DetectLabelsRequest.maxLabelsOf(input.MaxLabels);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The most labels this request wants back, if it said.
|
|
35
|
+
*
|
|
36
|
+
* There is no cap when the request left it out, so an explicit `0` asks for
|
|
37
|
+
* no labels rather than being read as unset.
|
|
38
|
+
*/
|
|
39
|
+
static maxLabelsOf(requested) {
|
|
40
|
+
if (requested === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (!Number.isSafeInteger(requested) || requested < 0) {
|
|
44
|
+
throw new SimRekognitionInvalidParameterException(`Request has invalid parameters: MaxLabels of ${String(requested)} ` +
|
|
45
|
+
`is not a whole number of labels from 0 upwards`);
|
|
46
|
+
}
|
|
47
|
+
return requested;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Refuse the response members this simulation cannot fill in.
|
|
51
|
+
*
|
|
52
|
+
* `GENERAL_LABELS` is the whole of what is simulated, and it is what a
|
|
53
|
+
* request asking for no features gets, here as on AWS.
|
|
54
|
+
*/
|
|
55
|
+
static refuseUnsimulatedFeatures(requested) {
|
|
56
|
+
const features = requested ?? [];
|
|
57
|
+
for (const feature of features) {
|
|
58
|
+
if (feature === generalLabels) {
|
|
59
|
+
continue;
|
|
60
|
+
}
|
|
61
|
+
if (feature === imageProperties) {
|
|
62
|
+
throw new SimRekognitionUnsimulatedInputException(`${operation} ${imageProperties} is not simulated: nothing here ` +
|
|
63
|
+
`looks at the image, so the quality and dominant colours a ` +
|
|
64
|
+
`response carries would be invented rather than measured`);
|
|
65
|
+
}
|
|
66
|
+
throw new SimRekognitionInvalidParameterException(`Request has invalid parameters: Features of ${feature} is neither ` +
|
|
67
|
+
`${generalLabels} nor ${imageProperties}`);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=detect-labels-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-labels-request.js","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-labels/detect-labels-request.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uCAAuC,EACvC,uCAAuC,GACxC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEL,2BAA2B,GAC5B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAGzF;;;;GAIG;AACH,MAAM,aAAa,GAAG,IAAI,2BAA2B,CAAC,EAAE,CAAC,CAAC;AAE1D,MAAM,SAAS,GAAG,cAAc,CAAC;AACjC,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,CAAC,CAAC;AAE1E,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,OAAO,mBAAmB;IACd,KAAK,CAA6B;IAClC,aAAa,CAAS;IACtB,SAAS,CAAqB;IAE9C,YAAY,KAAkC;QAC5C,IAAI,8BAA8B,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAC5D,KAAK,EACL,aAAa,CACd,CAAC;QACF,mBAAmB,CAAC,yBAAyB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAE9D,IAAI,CAAC,KAAK,GAAG,IAAI,2BAA2B,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC3E,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAC3D,IAAI,CAAC,SAAS,GAAG,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IACpE,CAAC;IAED;;;;;OAKG;IACK,MAAM,CAAC,WAAW,CACxB,SAA6B;QAE7B,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,IAAI,SAAS,GAAG,CAAC,EAAE,CAAC;YACtD,MAAM,IAAI,uCAAuC,CAC/C,gDAAgD,MAAM,CAAC,SAAS,CAAC,GAAG;gBAClE,gDAAgD,CACnD,CAAC;QACJ,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED;;;;;OAKG;IACK,MAAM,CAAC,yBAAyB,CACtC,SAAwC;QAExC,MAAM,QAAQ,GAAG,SAAS,IAAI,EAAE,CAAC;QAEjC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC/B,IAAI,OAAO,KAAK,aAAa,EAAE,CAAC;gBAC9B,SAAS;YACX,CAAC;YAED,IAAI,OAAO,KAAK,eAAe,EAAE,CAAC;gBAChC,MAAM,IAAI,uCAAuC,CAC/C,GAAG,SAAS,IAAI,eAAe,kCAAkC;oBAC/D,4DAA4D;oBAC5D,yDAAyD,CAC5D,CAAC;YACJ,CAAC;YAED,MAAM,IAAI,uCAAuC,CAC/C,+CAA+C,OAAO,cAAc;gBAClE,GAAG,aAAa,QAAQ,eAAe,EAAE,CAC5C,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
|
|
2
|
+
import type { SimRekognitionBoundingBoxOutput } from "../../image/sim-rekognition-bounding-box.js";
|
|
3
|
+
import type { SimRekognitionImageInput } from "../../image/sim-rekognition-image-input.js";
|
|
4
|
+
/**
|
|
5
|
+
* A name Rekognition reports alongside a detected label: a parent, an alias
|
|
6
|
+
* or a category.
|
|
7
|
+
*
|
|
8
|
+
* All three are the same shape on the wire, and all three are separate types
|
|
9
|
+
* in the SDK, so one structural type stands in for each of them.
|
|
10
|
+
*
|
|
11
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_Parent.html
|
|
12
|
+
*/
|
|
13
|
+
export interface SimRekognitionLabelNameOutput {
|
|
14
|
+
readonly Name: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* One instance of a detected label, located in the image.
|
|
18
|
+
*
|
|
19
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_Instance.html
|
|
20
|
+
*/
|
|
21
|
+
export interface SimRekognitionLabelInstanceOutput {
|
|
22
|
+
readonly BoundingBox: SimRekognitionBoundingBoxOutput;
|
|
23
|
+
readonly Confidence: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A detected label: an object, a scene or a concept found in an image.
|
|
27
|
+
*
|
|
28
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_Label.html
|
|
29
|
+
*/
|
|
30
|
+
export interface SimRekognitionLabelOutput {
|
|
31
|
+
readonly Name: string;
|
|
32
|
+
readonly Confidence: number;
|
|
33
|
+
readonly Parents: readonly SimRekognitionLabelNameOutput[];
|
|
34
|
+
readonly Aliases: readonly SimRekognitionLabelNameOutput[];
|
|
35
|
+
readonly Categories: readonly SimRekognitionLabelNameOutput[];
|
|
36
|
+
readonly Instances: readonly SimRekognitionLabelInstanceOutput[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Minimal structural sim Rekognition DetectLabels command.
|
|
40
|
+
*
|
|
41
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rekognition/command/DetectLabelsCommand/
|
|
42
|
+
*/
|
|
43
|
+
export interface SimDetectLabelsCommand {
|
|
44
|
+
readonly input: SimDetectLabelsCommandInput;
|
|
45
|
+
}
|
|
46
|
+
export interface SimDetectLabelsCommandInput {
|
|
47
|
+
readonly Image?: SimRekognitionImageInput | undefined;
|
|
48
|
+
readonly MaxLabels?: number | undefined;
|
|
49
|
+
readonly MinConfidence?: number | undefined;
|
|
50
|
+
readonly Features?: readonly string[] | undefined;
|
|
51
|
+
}
|
|
52
|
+
export interface SimDetectLabelsCommandOutput {
|
|
53
|
+
readonly Labels: readonly SimRekognitionLabelOutput[];
|
|
54
|
+
readonly LabelModelVersion: string;
|
|
55
|
+
readonly $metadata: SimResponseMetadata;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=detect-labels.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-labels.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-labels/detect-labels.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAE3F;;;;;;;;GAQG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,WAAW,EAAE,+BAA+B,CAAC;IACtD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,SAAS,6BAA6B,EAAE,CAAC;IAC3D,QAAQ,CAAC,OAAO,EAAE,SAAS,6BAA6B,EAAE,CAAC;IAC3D,QAAQ,CAAC,UAAU,EAAE,SAAS,6BAA6B,EAAE,CAAC;IAC9D,QAAQ,CAAC,SAAS,EAAE,SAAS,iCAAiC,EAAE,CAAC;CAClE;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,KAAK,EAAE,2BAA2B,CAAC;CAC7C;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;CACnD;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,MAAM,EAAE,SAAS,yBAAyB,EAAE,CAAC;IACtD,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-labels.command.js","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-labels/detect-labels.command.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../../../util/background/background.js";
|
|
2
|
+
import type { SimRekognitionImageObjects } from "../../image/sim-rekognition-image-objects.js";
|
|
3
|
+
import type { SimRekognitionLabels } from "../../label/sim-rekognition-labels.js";
|
|
4
|
+
import type { SimRekognitionAuthorizer } from "../authorize/sim-rekognition-authorizer.js";
|
|
5
|
+
import type { SimRekognitionRequestOptions } from "../sim-rekognition-request-options.js";
|
|
6
|
+
import type { SimDetectLabelsCommand, SimDetectLabelsCommandOutput } from "./detect-labels.command.js";
|
|
7
|
+
interface DetectLabelsHandlerProperties {
|
|
8
|
+
readonly labels: SimRekognitionLabels;
|
|
9
|
+
readonly authorizer: SimRekognitionAuthorizer;
|
|
10
|
+
readonly images: SimRekognitionImageObjects;
|
|
11
|
+
readonly background: BackgroundScheduler;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Handles a DetectLabels command.
|
|
15
|
+
*
|
|
16
|
+
* The steps are in the same order as the other detections. The request is
|
|
17
|
+
* checked first, so a malformed one fails the same way whatever else the
|
|
18
|
+
* simulation is doing. The caller is then authorized for the Rekognition
|
|
19
|
+
* action before the image is read, so a caller without
|
|
20
|
+
* `rekognition:DetectLabels` is told about that rather than about an S3
|
|
21
|
+
* object. Only then is the image read, as the caller, and the rules consulted.
|
|
22
|
+
*/
|
|
23
|
+
export declare class DetectLabelsHandler {
|
|
24
|
+
private readonly labels;
|
|
25
|
+
private readonly authorizer;
|
|
26
|
+
private readonly images;
|
|
27
|
+
private readonly background;
|
|
28
|
+
constructor(properties: DetectLabelsHandlerProperties);
|
|
29
|
+
/**
|
|
30
|
+
* Detect the labels an image is declared to have.
|
|
31
|
+
*/
|
|
32
|
+
handle(command: SimDetectLabelsCommand, options?: SimRekognitionRequestOptions): Promise<SimDetectLabelsCommandOutput>;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=detect-labels.handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-labels.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-labels/detect-labels.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAElF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAE1F,OAAO,KAAK,EACV,sBAAsB,EACtB,4BAA4B,EAC7B,MAAM,4BAA4B,CAAC;AAIpC,UAAU,6BAA6B;IACrC,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,wBAAwB,CAAC;IAC9C,QAAQ,CAAC,MAAM,EAAE,0BAA0B,CAAC;IAC5C,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;;;;;;;;GASG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAC9C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA2B;IACtD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IACpD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,YAAY,UAAU,EAAE,6BAA6B,EAKpD;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,sBAAsB,EAC/B,OAAO,GAAE,4BAAiC,GACzC,OAAO,CAAC,4BAA4B,CAAC,CAevC;CACF"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { simRekognitionLabelModelVersion } from "../../label/sim-rekognition-label-defaults.js";
|
|
2
|
+
import { DetectLabelsRequest } from "./detect-labels-request.js";
|
|
3
|
+
const action = "rekognition:DetectLabels";
|
|
4
|
+
/**
|
|
5
|
+
* Handles a DetectLabels command.
|
|
6
|
+
*
|
|
7
|
+
* The steps are in the same order as the other detections. The request is
|
|
8
|
+
* checked first, so a malformed one fails the same way whatever else the
|
|
9
|
+
* simulation is doing. The caller is then authorized for the Rekognition
|
|
10
|
+
* action before the image is read, so a caller without
|
|
11
|
+
* `rekognition:DetectLabels` is told about that rather than about an S3
|
|
12
|
+
* object. Only then is the image read, as the caller, and the rules consulted.
|
|
13
|
+
*/
|
|
14
|
+
export class DetectLabelsHandler {
|
|
15
|
+
labels;
|
|
16
|
+
authorizer;
|
|
17
|
+
images;
|
|
18
|
+
background;
|
|
19
|
+
constructor(properties) {
|
|
20
|
+
this.labels = properties.labels;
|
|
21
|
+
this.authorizer = properties.authorizer;
|
|
22
|
+
this.images = properties.images;
|
|
23
|
+
this.background = properties.background;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Detect the labels an image is declared to have.
|
|
27
|
+
*/
|
|
28
|
+
async handle(command, options = {}) {
|
|
29
|
+
const request = new DetectLabelsRequest(command.input);
|
|
30
|
+
await this.background.sequence();
|
|
31
|
+
this.authorizer.authorize(action, options);
|
|
32
|
+
const image = await request.image.read(this.images, options);
|
|
33
|
+
const detection = this.labels.detectionFor(image);
|
|
34
|
+
return {
|
|
35
|
+
Labels: detection.labelsFor(request),
|
|
36
|
+
LabelModelVersion: simRekognitionLabelModelVersion,
|
|
37
|
+
$metadata: {},
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=detect-labels.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-labels.handler.js","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-labels/detect-labels.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,+BAA+B,EAAE,MAAM,+CAA+C,CAAC;AAGhG,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAMjE,MAAM,MAAM,GAAG,0BAA0B,CAAC;AAS1C;;;;;;;;;GASG;AACH,MAAM,OAAO,mBAAmB;IACb,MAAM,CAAuB;IAC7B,UAAU,CAA2B;IACrC,MAAM,CAA6B;IACnC,UAAU,CAAsB;IAEjD,YAAY,UAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAA+B,EAC/B,OAAO,GAAiC,EAAE;QAE1C,MAAM,OAAO,GAAG,IAAI,mBAAmB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAEvD,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAEjC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAE3C,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC7D,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAElD,OAAO;YACL,MAAM,EAAE,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC;YACpC,iBAAiB,EAAE,+BAA+B;YAClD,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type SimRekognitionImageRequest } from "../../image/sim-rekognition-image-request.js";
|
|
2
|
+
import type { SimDetectModerationLabelsCommandInput } from "./detect-moderation-labels.command.js";
|
|
3
|
+
/**
|
|
4
|
+
* A DetectModerationLabels request, checked before anything acts on it.
|
|
5
|
+
*
|
|
6
|
+
* `HumanLoopConfig` and `ProjectVersion` are refused here rather than ignored.
|
|
7
|
+
* A request naming a custom moderation adapter through `ProjectVersion` would
|
|
8
|
+
* otherwise be answered by the built-in model, which is the failure that looks
|
|
9
|
+
* like a pass: the adapter would appear applied here and be applied for real
|
|
10
|
+
* in production.
|
|
11
|
+
*/
|
|
12
|
+
export declare class DetectModerationLabelsRequest {
|
|
13
|
+
readonly image: SimRekognitionImageRequest;
|
|
14
|
+
readonly minConfidence: number;
|
|
15
|
+
constructor(input: SimDetectModerationLabelsCommandInput);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=detect-moderation-labels-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-moderation-labels-request.d.ts","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-moderation-labels/detect-moderation-labels-request.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,8CAA8C,CAAC;AAGtD,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,uCAAuC,CAAC;AAYnG;;;;;;;;GAQG;AACH,qBAAa,6BAA6B;IACxC,SAAgB,KAAK,EAAE,0BAA0B,CAAC;IAClD,SAAgB,aAAa,EAAE,MAAM,CAAC;IAEtC,YAAY,KAAK,EAAE,qCAAqC,EAQvD;CACF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SimRekognitionImageRequests, } from "../../image/sim-rekognition-image-request.js";
|
|
2
|
+
import { SimRekognitionMinConfidence } from "../sim-rekognition-min-confidence.js";
|
|
3
|
+
import { SimRekognitionUnsimulatedInput } from "../sim-rekognition-unsimulated-input.js";
|
|
4
|
+
/**
|
|
5
|
+
* The confidence real Rekognition filters moderation labels at when a request
|
|
6
|
+
* does not say. Content moderation uses 50 here, which is not the 55 label
|
|
7
|
+
* detection uses.
|
|
8
|
+
*/
|
|
9
|
+
const minConfidence = new SimRekognitionMinConfidence(50);
|
|
10
|
+
const operation = "DetectModerationLabels";
|
|
11
|
+
const acceptedInput = ["Image", "MinConfidence"];
|
|
12
|
+
/**
|
|
13
|
+
* A DetectModerationLabels request, checked before anything acts on it.
|
|
14
|
+
*
|
|
15
|
+
* `HumanLoopConfig` and `ProjectVersion` are refused here rather than ignored.
|
|
16
|
+
* A request naming a custom moderation adapter through `ProjectVersion` would
|
|
17
|
+
* otherwise be answered by the built-in model, which is the failure that looks
|
|
18
|
+
* like a pass: the adapter would appear applied here and be applied for real
|
|
19
|
+
* in production.
|
|
20
|
+
*/
|
|
21
|
+
export class DetectModerationLabelsRequest {
|
|
22
|
+
image;
|
|
23
|
+
minConfidence;
|
|
24
|
+
constructor(input) {
|
|
25
|
+
new SimRekognitionUnsimulatedInput(operation).refuseUnaccepted(input, acceptedInput);
|
|
26
|
+
this.image = new SimRekognitionImageRequests(operation).parse(input.Image);
|
|
27
|
+
this.minConfidence = minConfidence.of(input.MinConfidence);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=detect-moderation-labels-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-moderation-labels-request.js","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-moderation-labels/detect-moderation-labels-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,2BAA2B,GAC5B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAGzF;;;;GAIG;AACH,MAAM,aAAa,GAAG,IAAI,2BAA2B,CAAC,EAAE,CAAC,CAAC;AAE1D,MAAM,SAAS,GAAG,wBAAwB,CAAC;AAC3C,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;AAEjD;;;;;;;;GAQG;AACH,MAAM,OAAO,6BAA6B;IACxB,KAAK,CAA6B;IAClC,aAAa,CAAS;IAEtC,YAAY,KAA4C;QACtD,IAAI,8BAA8B,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAC5D,KAAK,EACL,aAAa,CACd,CAAC;QAEF,IAAI,CAAC,KAAK,GAAG,IAAI,2BAA2B,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC3E,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IAC7D,CAAC;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
|
|
2
|
+
import type { SimRekognitionImageInput } from "../../image/sim-rekognition-image-input.js";
|
|
3
|
+
/**
|
|
4
|
+
* A detected moderation label, with the label above it in the taxonomy.
|
|
5
|
+
*
|
|
6
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ModerationLabel.html
|
|
7
|
+
*/
|
|
8
|
+
export interface SimRekognitionModerationLabelOutput {
|
|
9
|
+
readonly Confidence: number;
|
|
10
|
+
readonly Name: string;
|
|
11
|
+
readonly ParentName: string;
|
|
12
|
+
readonly TaxonomyLevel: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A kind of content an image was identified as, such as animated or
|
|
16
|
+
* illustrated.
|
|
17
|
+
*
|
|
18
|
+
* https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ContentType.html
|
|
19
|
+
*/
|
|
20
|
+
export interface SimRekognitionContentTypeOutput {
|
|
21
|
+
readonly Confidence?: number | undefined;
|
|
22
|
+
readonly Name?: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Minimal structural sim Rekognition DetectModerationLabels command.
|
|
26
|
+
*
|
|
27
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rekognition/command/DetectModerationLabelsCommand/
|
|
28
|
+
*/
|
|
29
|
+
export interface SimDetectModerationLabelsCommand {
|
|
30
|
+
readonly input: SimDetectModerationLabelsCommandInput;
|
|
31
|
+
}
|
|
32
|
+
export interface SimDetectModerationLabelsCommandInput {
|
|
33
|
+
readonly Image?: SimRekognitionImageInput | undefined;
|
|
34
|
+
readonly MinConfidence?: number | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface SimDetectModerationLabelsCommandOutput {
|
|
37
|
+
readonly ModerationLabels: readonly SimRekognitionModerationLabelOutput[];
|
|
38
|
+
readonly ModerationModelVersion: string;
|
|
39
|
+
readonly ContentTypes: readonly SimRekognitionContentTypeOutput[];
|
|
40
|
+
readonly $metadata: SimResponseMetadata;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=detect-moderation-labels.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-moderation-labels.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-moderation-labels/detect-moderation-labels.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC;AAED;;;;;GAKG;AACH,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,KAAK,EAAE,qCAAqC,CAAC;CACvD;AAED,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7C;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,gBAAgB,EAAE,SAAS,mCAAmC,EAAE,CAAC;IAC1E,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,YAAY,EAAE,SAAS,+BAA+B,EAAE,CAAC;IAClE,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-moderation-labels.command.js","sourceRoot":"","sources":["../../../../../src/service/rekognition/command/detect-moderation-labels/detect-moderation-labels.command.ts"],"names":[],"mappings":""}
|