amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.Lens

Contents

Description

 
Synopsis

Operations

CompareFaces

compareFaces_qualityFilter :: Lens' CompareFaces (Maybe QualityFilter) Source #

A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't compared. If you specify AUTO, Amazon Rekognition chooses the quality bar. If you specify LOW, MEDIUM, or HIGH, filtering removes all faces that don’t meet the chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality detections can occur for a number of reasons. Some examples are an object that's misidentified as a face, a face that's too blurry, or a face with a pose that's too extreme to use. If you specify NONE, no filtering is performed. The default value is NONE.

To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.

compareFaces_similarityThreshold :: Lens' CompareFaces (Maybe Double) Source #

The minimum level of confidence in the face matches that a match must meet to be included in the FaceMatches array.

compareFaces_sourceImage :: Lens' CompareFaces Image Source #

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

compareFaces_targetImage :: Lens' CompareFaces Image Source #

The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

compareFacesResponse_faceMatches :: Lens' CompareFacesResponse (Maybe [CompareFacesMatch]) Source #

An array of faces in the target image that match the source image face. Each CompareFacesMatch object provides the bounding box, the confidence level that the bounding box contains a face, and the similarity score for the face in the bounding box and the face in the source image.

compareFacesResponse_sourceImageFace :: Lens' CompareFacesResponse (Maybe ComparedSourceImageFace) Source #

The face in the source image that was used for comparison.

compareFacesResponse_sourceImageOrientationCorrection :: Lens' CompareFacesResponse (Maybe OrientationCorrection) Source #

The value of SourceImageOrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

compareFacesResponse_targetImageOrientationCorrection :: Lens' CompareFacesResponse (Maybe OrientationCorrection) Source #

The value of TargetImageOrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

compareFacesResponse_unmatchedFaces :: Lens' CompareFacesResponse (Maybe [ComparedFace]) Source #

An array of faces in the target image that did not match the source image face.

CopyProjectVersion

copyProjectVersion_kmsKeyId :: Lens' CopyProjectVersion (Maybe Text) Source #

The identifier for your AWS Key Management Service key (AWS KMS key). You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig).

If you choose to use your own KMS key, you need the following permissions on the KMS key.

  • kms:CreateGrant
  • kms:DescribeKey
  • kms:GenerateDataKey
  • kms:Decrypt

If you don't specify a value for KmsKeyId, images copied into the service are encrypted using a key that AWS owns and manages.

copyProjectVersion_tags :: Lens' CopyProjectVersion (Maybe (HashMap Text Text)) Source #

The key-value tags to assign to the model version.

copyProjectVersion_sourceProjectArn :: Lens' CopyProjectVersion Text Source #

The ARN of the source project in the trusting AWS account.

copyProjectVersion_sourceProjectVersionArn :: Lens' CopyProjectVersion Text Source #

The ARN of the model version in the source project that you want to copy to a destination project.

copyProjectVersion_destinationProjectArn :: Lens' CopyProjectVersion Text Source #

The ARN of the project in the trusted AWS account that you want to copy the model version to.

copyProjectVersion_versionName :: Lens' CopyProjectVersion Text Source #

A name for the version of the model that's copied to the destination project.

copyProjectVersion_outputConfig :: Lens' CopyProjectVersion OutputConfig Source #

The S3 bucket and folder location where the training output for the source model version is placed.

copyProjectVersionResponse_projectVersionArn :: Lens' CopyProjectVersionResponse (Maybe Text) Source #

The ARN of the copied model version in the destination project.

CreateCollection

createCollection_tags :: Lens' CreateCollection (Maybe (HashMap Text Text)) Source #

A set of tags (key-value pairs) that you want to attach to the collection.

createCollection_collectionId :: Lens' CreateCollection Text Source #

ID for the collection that you are creating.

createCollectionResponse_collectionArn :: Lens' CreateCollectionResponse (Maybe Text) Source #

Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.

createCollectionResponse_faceModelVersion :: Lens' CreateCollectionResponse (Maybe Text) Source #

Version number of the face detection model associated with the collection you are creating.

createCollectionResponse_statusCode :: Lens' CreateCollectionResponse (Maybe Natural) Source #

HTTP status code indicating the result of the operation.

CreateDataset

createDataset_datasetSource :: Lens' CreateDataset (Maybe DatasetSource) Source #

The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource, an empty dataset is created. To add labeled images to the dataset, You can use the console or call UpdateDatasetEntries.

createDataset_datasetType :: Lens' CreateDataset DatasetType Source #

The type of the dataset. Specify train to create a training dataset. Specify test to create a test dataset.

createDataset_projectArn :: Lens' CreateDataset Text Source #

The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.

createDatasetResponse_datasetArn :: Lens' CreateDatasetResponse (Maybe Text) Source #

The ARN of the created Amazon Rekognition Custom Labels dataset.

CreateProject

createProject_projectName :: Lens' CreateProject Text Source #

The name of the project to create.

createProjectResponse_projectArn :: Lens' CreateProjectResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the new project. You can use the ARN to configure IAM access to the project.

CreateProjectVersion

createProjectVersion_kmsKeyId :: Lens' CreateProjectVersion (Maybe Text) Source #

The identifier for your AWS Key Management Service key (AWS KMS key). You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. The key is also used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig).

If you choose to use your own KMS key, you need the following permissions on the KMS key.

  • kms:CreateGrant
  • kms:DescribeKey
  • kms:GenerateDataKey
  • kms:Decrypt

If you don't specify a value for KmsKeyId, images copied into the service are encrypted using a key that AWS owns and manages.

createProjectVersion_tags :: Lens' CreateProjectVersion (Maybe (HashMap Text Text)) Source #

A set of tags (key-value pairs) that you want to attach to the model.

createProjectVersion_testingData :: Lens' CreateProjectVersion (Maybe TestingData) Source #

Specifies an external manifest that the service uses to test the model. If you specify TestingData you must also specify TrainingData. The project must not have any associated datasets.

createProjectVersion_trainingData :: Lens' CreateProjectVersion (Maybe TrainingData) Source #

Specifies an external manifest that the services uses to train the model. If you specify TrainingData you must also specify TestingData. The project must not have any associated datasets.

createProjectVersion_projectArn :: Lens' CreateProjectVersion Text Source #

The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.

createProjectVersion_versionName :: Lens' CreateProjectVersion Text Source #

A name for the version of the model. This value must be unique.

createProjectVersion_outputConfig :: Lens' CreateProjectVersion OutputConfig Source #

The Amazon S3 bucket location to store the results of training. The S3 bucket can be in any AWS account as long as the caller has s3:PutObject permissions on the S3 bucket.

createProjectVersionResponse_projectVersionArn :: Lens' CreateProjectVersionResponse (Maybe Text) Source #

The ARN of the model version that was created. Use DescribeProjectVersion to get the current status of the training operation.

CreateStreamProcessor

createStreamProcessor_dataSharingPreference :: Lens' CreateStreamProcessor (Maybe StreamProcessorDataSharingPreference) Source #

Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.

createStreamProcessor_kmsKeyId :: Lens' CreateStreamProcessor (Maybe Text) Source #

The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor. You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt results and data published to your Amazon S3 bucket, which includes image frames and hero images. Your source images are unaffected.

createStreamProcessor_regionsOfInterest :: Lens' CreateStreamProcessor (Maybe [RegionOfInterest]) Source #

Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor.

createStreamProcessor_tags :: Lens' CreateStreamProcessor (Maybe (HashMap Text Text)) Source #

A set of tags (key-value pairs) that you want to attach to the stream processor.

createStreamProcessor_input :: Lens' CreateStreamProcessor StreamProcessorInput Source #

Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter name is StreamProcessorInput. This is required for both face search and label detection stream processors.

createStreamProcessor_output :: Lens' CreateStreamProcessor StreamProcessorOutput Source #

Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput. This must be a S3Destination of an Amazon S3 bucket that you own for a label detection stream processor or a Kinesis data stream ARN for a face search stream processor.

createStreamProcessor_name :: Lens' CreateStreamProcessor Text Source #

An identifier you assign to the stream processor. You can use Name to manage the stream processor. For example, you can get the current status of the stream processor by calling DescribeStreamProcessor. Name is idempotent. This is required for both face search and label detection stream processors.

createStreamProcessor_settings :: Lens' CreateStreamProcessor StreamProcessorSettings Source #

Input parameters used in a streaming video analyzed by a stream processor. You can use FaceSearch to recognize faces in a streaming video, or you can use ConnectedHome to detect labels.

createStreamProcessor_roleArn :: Lens' CreateStreamProcessor Text Source #

The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor. The IAM role provides Rekognition read permissions for a Kinesis stream. It also provides write permissions to an Amazon S3 bucket and Amazon Simple Notification Service topic for a label detection stream processor. This is required for both face search and label detection stream processors.

createStreamProcessorResponse_streamProcessorArn :: Lens' CreateStreamProcessorResponse (Maybe Text) Source #

Amazon Resource Number for the newly created stream processor.

DeleteCollection

deleteCollectionResponse_statusCode :: Lens' DeleteCollectionResponse (Maybe Natural) Source #

HTTP status code that indicates the result of the operation.

DeleteDataset

deleteDataset_datasetArn :: Lens' DeleteDataset Text Source #

The ARN of the Amazon Rekognition Custom Labels dataset that you want to delete.

DeleteFaces

deleteFaces_collectionId :: Lens' DeleteFaces Text Source #

Collection from which to remove the specific faces.

deleteFaces_faceIds :: Lens' DeleteFaces (NonEmpty Text) Source #

An array of face IDs to delete.

deleteFacesResponse_deletedFaces :: Lens' DeleteFacesResponse (Maybe (NonEmpty Text)) Source #

An array of strings (face IDs) of the faces that were deleted.

DeleteProject

deleteProject_projectArn :: Lens' DeleteProject Text Source #

The Amazon Resource Name (ARN) of the project that you want to delete.

deleteProjectResponse_status :: Lens' DeleteProjectResponse (Maybe ProjectStatus) Source #

The current status of the delete project operation.

DeleteProjectPolicy

deleteProjectPolicy_policyRevisionId :: Lens' DeleteProjectPolicy (Maybe Text) Source #

The ID of the project policy revision that you want to delete.

deleteProjectPolicy_projectArn :: Lens' DeleteProjectPolicy Text Source #

The Amazon Resource Name (ARN) of the project that the project policy you want to delete is attached to.

deleteProjectPolicy_policyName :: Lens' DeleteProjectPolicy Text Source #

The name of the policy that you want to delete.

DeleteProjectVersion

deleteProjectVersion_projectVersionArn :: Lens' DeleteProjectVersion Text Source #

The Amazon Resource Name (ARN) of the model version that you want to delete.

DeleteStreamProcessor

deleteStreamProcessor_name :: Lens' DeleteStreamProcessor Text Source #

The name of the stream processor you want to delete.

DescribeCollection

describeCollection_collectionId :: Lens' DescribeCollection Text Source #

The ID of the collection to describe.

describeCollectionResponse_collectionARN :: Lens' DescribeCollectionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the collection.

describeCollectionResponse_creationTimestamp :: Lens' DescribeCollectionResponse (Maybe UTCTime) Source #

The number of milliseconds since the Unix epoch time until the creation of the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970.

describeCollectionResponse_faceCount :: Lens' DescribeCollectionResponse (Maybe Natural) Source #

The number of faces that are indexed into the collection. To index faces into a collection, use IndexFaces.

describeCollectionResponse_faceModelVersion :: Lens' DescribeCollectionResponse (Maybe Text) Source #

The version of the face model that's used by the collection for face detection.

For more information, see Model versioning in the Amazon Rekognition Developer Guide.

DescribeDataset

describeDataset_datasetArn :: Lens' DescribeDataset Text Source #

The Amazon Resource Name (ARN) of the dataset that you want to describe.

DescribeProjectVersions

describeProjectVersions_maxResults :: Lens' DescribeProjectVersions (Maybe Natural) Source #

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

describeProjectVersions_nextToken :: Lens' DescribeProjectVersions (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

describeProjectVersions_versionNames :: Lens' DescribeProjectVersions (Maybe (NonEmpty Text)) Source #

A list of model version names that you want to describe. You can add up to 10 model version names to the list. If you don't specify a value, all model descriptions are returned. A version name is part of a model (ProjectVersion) ARN. For example, my-model.2020-01-21T09.10.15 is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123.

describeProjectVersions_projectArn :: Lens' DescribeProjectVersions Text Source #

The Amazon Resource Name (ARN) of the project that contains the models you want to describe.

describeProjectVersionsResponse_nextToken :: Lens' DescribeProjectVersionsResponse (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

describeProjectVersionsResponse_projectVersionDescriptions :: Lens' DescribeProjectVersionsResponse (Maybe [ProjectVersionDescription]) Source #

A list of model descriptions. The list is sorted by the creation date and time of the model versions, latest to earliest.

DescribeProjects

describeProjects_maxResults :: Lens' DescribeProjects (Maybe Natural) Source #

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

describeProjects_nextToken :: Lens' DescribeProjects (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

describeProjects_projectNames :: Lens' DescribeProjects (Maybe (NonEmpty Text)) Source #

A list of the projects that you want Amazon Rekognition Custom Labels to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.

describeProjectsResponse_nextToken :: Lens' DescribeProjectsResponse (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

describeProjectsResponse_projectDescriptions :: Lens' DescribeProjectsResponse (Maybe [ProjectDescription]) Source #

A list of project descriptions. The list is sorted by the date and time the projects are created.

DescribeStreamProcessor

describeStreamProcessor_name :: Lens' DescribeStreamProcessor Text Source #

Name of the stream processor for which you want information.

describeStreamProcessorResponse_dataSharingPreference :: Lens' DescribeStreamProcessorResponse (Maybe StreamProcessorDataSharingPreference) Source #

Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.

describeStreamProcessorResponse_input :: Lens' DescribeStreamProcessorResponse (Maybe StreamProcessorInput) Source #

Kinesis video stream that provides the source streaming video.

describeStreamProcessorResponse_kmsKeyId :: Lens' DescribeStreamProcessorResponse (Maybe Text) Source #

The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors.

describeStreamProcessorResponse_lastUpdateTimestamp :: Lens' DescribeStreamProcessorResponse (Maybe UTCTime) Source #

The time, in Unix format, the stream processor was last updated. For example, when the stream processor moves from a running state to a failed state, or when the user starts or stops the stream processor.

describeStreamProcessorResponse_output :: Lens' DescribeStreamProcessorResponse (Maybe StreamProcessorOutput) Source #

Kinesis data stream to which Amazon Rekognition Video puts the analysis results.

describeStreamProcessorResponse_regionsOfInterest :: Lens' DescribeStreamProcessorResponse (Maybe [RegionOfInterest]) Source #

Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.

describeStreamProcessorResponse_roleArn :: Lens' DescribeStreamProcessorResponse (Maybe Text) Source #

ARN of the IAM role that allows access to the stream processor.

describeStreamProcessorResponse_settings :: Lens' DescribeStreamProcessorResponse (Maybe StreamProcessorSettings) Source #

Input parameters used in a streaming video analyzed by a stream processor. You can use FaceSearch to recognize faces in a streaming video, or you can use ConnectedHome to detect labels.

DetectCustomLabels

detectCustomLabels_maxResults :: Lens' DetectCustomLabels (Maybe Natural) Source #

Maximum number of results you want the service to return in the response. The service returns the specified number of highest confidence labels ranked from highest confidence to lowest.

detectCustomLabels_minConfidence :: Lens' DetectCustomLabels (Maybe Double) Source #

Specifies the minimum confidence level for the labels to return. DetectCustomLabels doesn't return any labels with a confidence value that's lower than this specified value. If you specify a value of 0, DetectCustomLabels returns all labels, regardless of the assumed threshold applied to each label. If you don't specify a value for MinConfidence, DetectCustomLabels returns labels based on the assumed threshold of each label.

detectCustomLabels_projectVersionArn :: Lens' DetectCustomLabels Text Source #

The ARN of the model version that you want to use.

detectCustomLabelsResponse_customLabels :: Lens' DetectCustomLabelsResponse (Maybe [CustomLabel]) Source #

An array of custom labels detected in the input image.

DetectFaces

detectFaces_attributes :: Lens' DetectFaces (Maybe [Attribute]) Source #

An array of facial attributes you want to be returned. This can be the default list of attributes or all attributes. If you don't specify a value for Attributes or if you specify ["DEFAULT"], the API returns the following subset of facial attributes: BoundingBox, Confidence, Pose, Quality, and Landmarks. If you provide ["ALL"], all facial attributes are returned, but the operation takes longer to complete.

If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which attributes to return (in this case, all attributes).

detectFaces_image :: Lens' DetectFaces Image Source #

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

detectFacesResponse_faceDetails :: Lens' DetectFacesResponse (Maybe [FaceDetail]) Source #

Details of each face found in the image.

detectFacesResponse_orientationCorrection :: Lens' DetectFacesResponse (Maybe OrientationCorrection) Source #

The value of OrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

DetectLabels

detectLabels_features :: Lens' DetectLabels (Maybe [DetectLabelsFeatureName]) Source #

A list of the types of analysis to perform. Specifying GENERAL_LABELS uses the label detection feature, while specifying IMAGE_PROPERTIES returns information regarding image color and quality. If no option is specified GENERAL_LABELS is used by default.

detectLabels_maxLabels :: Lens' DetectLabels (Maybe Natural) Source #

Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels.

detectLabels_minConfidence :: Lens' DetectLabels (Maybe Double) Source #

Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value.

If MinConfidence is not specified, the operation returns labels with a confidence values greater than or equal to 55 percent.

detectLabels_settings :: Lens' DetectLabels (Maybe DetectLabelsSettings) Source #

A list of the filters to be applied to returned detected labels and image properties. Specified filters can be inclusive, exclusive, or a combination of both. Filters can be used for individual labels or label categories. The exact label names or label categories must be supplied. For a full list of labels and label categories, see LINK HERE.

detectLabels_image :: Lens' DetectLabels Image Source #

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. Images stored in an S3 Bucket do not need to be base64-encoded.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

detectLabelsResponse_imageProperties :: Lens' DetectLabelsResponse (Maybe DetectLabelsImageProperties) Source #

Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant colors.

detectLabelsResponse_labelModelVersion :: Lens' DetectLabelsResponse (Maybe Text) Source #

Version number of the label detection model that was used to detect labels.

detectLabelsResponse_labels :: Lens' DetectLabelsResponse (Maybe [Label]) Source #

An array of labels for the real-world objects detected.

detectLabelsResponse_orientationCorrection :: Lens' DetectLabelsResponse (Maybe OrientationCorrection) Source #

The value of OrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

DetectModerationLabels

detectModerationLabels_humanLoopConfig :: Lens' DetectModerationLabels (Maybe HumanLoopConfig) Source #

Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.

detectModerationLabels_minConfidence :: Lens' DetectModerationLabels (Maybe Double) Source #

Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.

If you don't specify MinConfidence, the operation returns labels with confidence values greater than or equal to 50 percent.

detectModerationLabels_image :: Lens' DetectModerationLabels Image Source #

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

detectModerationLabelsResponse_moderationLabels :: Lens' DetectModerationLabelsResponse (Maybe [ModerationLabel]) Source #

Array of detected Moderation labels and the time, in milliseconds from the start of the video, they were detected.

detectModerationLabelsResponse_moderationModelVersion :: Lens' DetectModerationLabelsResponse (Maybe Text) Source #

Version number of the moderation detection model that was used to detect unsafe content.

DetectProtectiveEquipment

detectProtectiveEquipment_image :: Lens' DetectProtectiveEquipment Image Source #

The image in which you want to detect PPE on detected persons. The image can be passed as image bytes or you can reference an image stored in an Amazon S3 bucket.

detectProtectiveEquipmentResponse_persons :: Lens' DetectProtectiveEquipmentResponse (Maybe [ProtectiveEquipmentPerson]) Source #

An array of persons detected in the image (including persons not wearing PPE).

detectProtectiveEquipmentResponse_protectiveEquipmentModelVersion :: Lens' DetectProtectiveEquipmentResponse (Maybe Text) Source #

The version number of the PPE detection model used to detect PPE in the image.

detectProtectiveEquipmentResponse_summary :: Lens' DetectProtectiveEquipmentResponse (Maybe ProtectiveEquipmentSummary) Source #

Summary information for the types of PPE specified in the SummarizationAttributes input parameter.

DetectText

detectText_filters :: Lens' DetectText (Maybe DetectTextFilters) Source #

Optional parameters that let you set the criteria that the text must meet to be included in your response.

detectText_image :: Lens' DetectText Image Source #

The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

detectTextResponse_textDetections :: Lens' DetectTextResponse (Maybe [TextDetection]) Source #

An array of text that was detected in the input image.

DistributeDatasetEntries

distributeDatasetEntries_datasets :: Lens' DistributeDatasetEntries (NonEmpty DistributeDataset) Source #

The ARNS for the training dataset and test dataset that you want to use. The datasets must belong to the same project. The test dataset must be empty.

GetCelebrityInfo

getCelebrityInfo_id :: Lens' GetCelebrityInfo Text Source #

The ID for the celebrity. You get the celebrity ID from a call to the RecognizeCelebrities operation, which recognizes celebrities in an image.

getCelebrityInfoResponse_urls :: Lens' GetCelebrityInfoResponse (Maybe [Text]) Source #

An array of URLs pointing to additional celebrity information.

GetCelebrityRecognition

getCelebrityRecognition_maxResults :: Lens' GetCelebrityRecognition (Maybe Natural) Source #

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

getCelebrityRecognition_nextToken :: Lens' GetCelebrityRecognition (Maybe Text) Source #

If the previous response was incomplete (because there is more recognized celebrities to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of celebrities.

getCelebrityRecognition_sortBy :: Lens' GetCelebrityRecognition (Maybe CelebrityRecognitionSortBy) Source #

Sort to use for celebrities returned in Celebrities field. Specify ID to sort by the celebrity identifier, specify TIMESTAMP to sort by the time the celebrity was recognized.

getCelebrityRecognition_jobId :: Lens' GetCelebrityRecognition Text Source #

Job identifier for the required celebrity recognition analysis. You can get the job identifer from a call to StartCelebrityRecognition.

getCelebrityRecognitionResponse_nextToken :: Lens' GetCelebrityRecognitionResponse (Maybe Text) Source #

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of celebrities.

getCelebrityRecognitionResponse_statusMessage :: Lens' GetCelebrityRecognitionResponse (Maybe Text) Source #

If the job fails, StatusMessage provides a descriptive error message.

getCelebrityRecognitionResponse_videoMetadata :: Lens' GetCelebrityRecognitionResponse (Maybe VideoMetadata) Source #

Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.

GetContentModeration

getContentModeration_maxResults :: Lens' GetContentModeration (Maybe Natural) Source #

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

getContentModeration_nextToken :: Lens' GetContentModeration (Maybe Text) Source #

If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of content moderation labels.

getContentModeration_sortBy :: Lens' GetContentModeration (Maybe ContentModerationSortBy) Source #

Sort to use for elements in the ModerationLabelDetections array. Use TIMESTAMP to sort array elements by the time labels are detected. Use NAME to alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is by TIMESTAMP.

getContentModeration_jobId :: Lens' GetContentModeration Text Source #

The identifier for the inappropriate, unwanted, or offensive content moderation job. Use JobId to identify the job in a subsequent call to GetContentModeration.

getContentModerationResponse_jobStatus :: Lens' GetContentModerationResponse (Maybe VideoJobStatus) Source #

The current status of the content moderation analysis job.

getContentModerationResponse_moderationLabels :: Lens' GetContentModerationResponse (Maybe [ContentModerationDetection]) Source #

The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.

getContentModerationResponse_moderationModelVersion :: Lens' GetContentModerationResponse (Maybe Text) Source #

Version number of the moderation detection model that was used to detect inappropriate, unwanted, or offensive content.

getContentModerationResponse_nextToken :: Lens' GetContentModerationResponse (Maybe Text) Source #

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of content moderation labels.

getContentModerationResponse_statusMessage :: Lens' GetContentModerationResponse (Maybe Text) Source #

If the job fails, StatusMessage provides a descriptive error message.

getContentModerationResponse_videoMetadata :: Lens' GetContentModerationResponse (Maybe VideoMetadata) Source #

Information about a video that Amazon Rekognition analyzed. Videometadata is returned in every page of paginated responses from GetContentModeration.

GetFaceDetection

getFaceDetection_maxResults :: Lens' GetFaceDetection (Maybe Natural) Source #

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

getFaceDetection_nextToken :: Lens' GetFaceDetection (Maybe Text) Source #

If the previous response was incomplete (because there are more faces to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces.

getFaceDetection_jobId :: Lens' GetFaceDetection Text Source #

Unique identifier for the face detection job. The JobId is returned from StartFaceDetection.

getFaceDetectionResponse_faces :: Lens' GetFaceDetectionResponse (Maybe [FaceDetection]) Source #

An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.

getFaceDetectionResponse_nextToken :: Lens' GetFaceDetectionResponse (Maybe Text) Source #

If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.

getFaceDetectionResponse_statusMessage :: Lens' GetFaceDetectionResponse (Maybe Text) Source #

If the job fails, StatusMessage provides a descriptive error message.

getFaceDetectionResponse_videoMetadata :: Lens' GetFaceDetectionResponse (Maybe VideoMetadata) Source #

Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition video operation.

GetFaceSearch

getFaceSearch_maxResults :: Lens' GetFaceSearch (Maybe Natural) Source #

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

getFaceSearch_nextToken :: Lens' GetFaceSearch (Maybe Text) Source #

If the previous response was incomplete (because there is more search results to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of search results.

getFaceSearch_sortBy :: Lens' GetFaceSearch (Maybe FaceSearchSortBy) Source #

Sort to use for grouping faces in the response. Use TIMESTAMP to group faces by the time that they are recognized. Use INDEX to sort by recognized faces.

getFaceSearch_jobId :: Lens' GetFaceSearch Text Source #

The job identifer for the search request. You get the job identifier from an initial call to StartFaceSearch.

getFaceSearchResponse_nextToken :: Lens' GetFaceSearchResponse (Maybe Text) Source #

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of search results.

getFaceSearchResponse_persons :: Lens' GetFaceSearchResponse (Maybe [PersonMatch]) Source #

An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition collection. It also includes time information for when persons are matched in the video. You specify the input collection in an initial call to StartFaceSearch. Each Persons element includes a time the person was matched, face match details (FaceMatches) for matching faces in the collection, and person information (Person) for the matched person.

getFaceSearchResponse_statusMessage :: Lens' GetFaceSearchResponse (Maybe Text) Source #

If the job fails, StatusMessage provides a descriptive error message.

getFaceSearchResponse_videoMetadata :: Lens' GetFaceSearchResponse (Maybe VideoMetadata) Source #

Information about a video that Amazon Rekognition analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.

GetLabelDetection

getLabelDetection_aggregateBy :: Lens' GetLabelDetection (Maybe LabelDetectionAggregateBy) Source #

Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.

getLabelDetection_maxResults :: Lens' GetLabelDetection (Maybe Natural) Source #

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

getLabelDetection_nextToken :: Lens' GetLabelDetection (Maybe Text) Source #

If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of labels.

getLabelDetection_sortBy :: Lens' GetLabelDetection (Maybe LabelDetectionSortBy) Source #

Sort to use for elements in the Labels array. Use TIMESTAMP to sort array elements by the time labels are detected. Use NAME to alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is by TIMESTAMP.

getLabelDetection_jobId :: Lens' GetLabelDetection Text Source #

Job identifier for the label detection operation for which you want results returned. You get the job identifer from an initial call to StartlabelDetection.

getLabelDetectionResponse_labelModelVersion :: Lens' GetLabelDetectionResponse (Maybe Text) Source #

Version number of the label detection model that was used to detect labels.

getLabelDetectionResponse_labels :: Lens' GetLabelDetectionResponse (Maybe [LabelDetection]) Source #

An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.

getLabelDetectionResponse_nextToken :: Lens' GetLabelDetectionResponse (Maybe Text) Source #

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of labels.

getLabelDetectionResponse_statusMessage :: Lens' GetLabelDetectionResponse (Maybe Text) Source #

If the job fails, StatusMessage provides a descriptive error message.

getLabelDetectionResponse_videoMetadata :: Lens' GetLabelDetectionResponse (Maybe VideoMetadata) Source #

Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition video operation.

GetPersonTracking

getPersonTracking_maxResults :: Lens' GetPersonTracking (Maybe Natural) Source #

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

getPersonTracking_nextToken :: Lens' GetPersonTracking (Maybe Text) Source #

If the previous response was incomplete (because there are more persons to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of persons.

getPersonTracking_sortBy :: Lens' GetPersonTracking (Maybe PersonTrackingSortBy) Source #

Sort to use for elements in the Persons array. Use TIMESTAMP to sort array elements by the time persons are detected. Use INDEX to sort by the tracked persons. If you sort by INDEX, the array elements for each person are sorted by detection confidence. The default sort is by TIMESTAMP.

getPersonTracking_jobId :: Lens' GetPersonTracking Text Source #

The identifier for a job that tracks persons in a video. You get the JobId from a call to StartPersonTracking.

getPersonTrackingResponse_nextToken :: Lens' GetPersonTrackingResponse (Maybe Text) Source #

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of persons.

getPersonTrackingResponse_persons :: Lens' GetPersonTrackingResponse (Maybe [PersonDetection]) Source #

An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.

getPersonTrackingResponse_statusMessage :: Lens' GetPersonTrackingResponse (Maybe Text) Source #

If the job fails, StatusMessage provides a descriptive error message.

getPersonTrackingResponse_videoMetadata :: Lens' GetPersonTrackingResponse (Maybe VideoMetadata) Source #

Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.

GetSegmentDetection

getSegmentDetection_maxResults :: Lens' GetSegmentDetection (Maybe Natural) Source #

Maximum number of results to return per paginated call. The largest value you can specify is 1000.

getSegmentDetection_nextToken :: Lens' GetSegmentDetection (Maybe Text) Source #

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of text.

getSegmentDetection_jobId :: Lens' GetSegmentDetection Text Source #

Job identifier for the text detection operation for which you want results returned. You get the job identifer from an initial call to StartSegmentDetection.

getSegmentDetectionResponse_audioMetadata :: Lens' GetSegmentDetectionResponse (Maybe [AudioMetadata]) Source #

An array of objects. There can be multiple audio streams. Each AudioMetadata object contains metadata for a single audio stream. Audio information in an AudioMetadata objects includes the audio codec, the number of audio channels, the duration of the audio stream, and the sample rate. Audio metadata is returned in each page of information returned by GetSegmentDetection.

getSegmentDetectionResponse_nextToken :: Lens' GetSegmentDetectionResponse (Maybe Text) Source #

If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of text.

getSegmentDetectionResponse_segments :: Lens' GetSegmentDetectionResponse (Maybe [SegmentDetection]) Source #

An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT) specified in the SegmentTypes input parameter of StartSegmentDetection. Within each segment type the array is sorted by timestamp values.

getSegmentDetectionResponse_selectedSegmentTypes :: Lens' GetSegmentDetectionResponse (Maybe [SegmentTypeInfo]) Source #

An array containing the segment types requested in the call to StartSegmentDetection.

getSegmentDetectionResponse_statusMessage :: Lens' GetSegmentDetectionResponse (Maybe Text) Source #

If the job fails, StatusMessage provides a descriptive error message.

getSegmentDetectionResponse_videoMetadata :: Lens' GetSegmentDetectionResponse (Maybe [VideoMetadata]) Source #

Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array. The object contains information about the video stream in the input file that Amazon Rekognition Video chose to analyze. The VideoMetadata object includes the video codec, video format and other information. Video metadata is returned in each page of information returned by GetSegmentDetection.

GetTextDetection

getTextDetection_maxResults :: Lens' GetTextDetection (Maybe Natural) Source #

Maximum number of results to return per paginated call. The largest value you can specify is 1000.

getTextDetection_nextToken :: Lens' GetTextDetection (Maybe Text) Source #

If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of text.

getTextDetection_jobId :: Lens' GetTextDetection Text Source #

Job identifier for the text detection operation for which you want results returned. You get the job identifer from an initial call to StartTextDetection.

getTextDetectionResponse_nextToken :: Lens' GetTextDetectionResponse (Maybe Text) Source #

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of text.

getTextDetectionResponse_statusMessage :: Lens' GetTextDetectionResponse (Maybe Text) Source #

If the job fails, StatusMessage provides a descriptive error message.

getTextDetectionResponse_textDetections :: Lens' GetTextDetectionResponse (Maybe [TextDetectionResult]) Source #

An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.

getTextDetectionResponse_textModelVersion :: Lens' GetTextDetectionResponse (Maybe Text) Source #

Version number of the text detection model that was used to detect text.

IndexFaces

indexFaces_detectionAttributes :: Lens' IndexFaces (Maybe [Attribute]) Source #

An array of facial attributes that you want to be returned. This can be the default list of attributes or all attributes. If you don't specify a value for Attributes or if you specify ["DEFAULT"], the API returns the following subset of facial attributes: BoundingBox, Confidence, Pose, Quality, and Landmarks. If you provide ["ALL"], all facial attributes are returned, but the operation takes longer to complete.

If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which attributes to return (in this case, all attributes).

indexFaces_externalImageId :: Lens' IndexFaces (Maybe Text) Source #

The ID you want to assign to all the faces detected in the image.

indexFaces_maxFaces :: Lens' IndexFaces (Maybe Natural) Source #

The maximum number of faces to index. The value of MaxFaces must be greater than or equal to 1. IndexFaces returns no more than 100 detected faces in an image, even if you specify a larger value for MaxFaces.

If IndexFaces detects more faces than the value of MaxFaces, the faces with the lowest quality are filtered out first. If there are still more faces than the value of MaxFaces, the faces with the smallest bounding boxes are filtered out (up to the number that's needed to satisfy the value of MaxFaces). Information about the unindexed faces is available in the UnindexedFaces array.

The faces that are returned by IndexFaces are sorted by the largest face bounding box size to the smallest size, in descending order.

MaxFaces can be used with a collection associated with any version of the face model.

indexFaces_qualityFilter :: Lens' IndexFaces (Maybe QualityFilter) Source #

A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't indexed. If you specify AUTO, Amazon Rekognition chooses the quality bar. If you specify LOW, MEDIUM, or HIGH, filtering removes all faces that don’t meet the chosen quality bar. The default value is AUTO. The quality bar is based on a variety of common use cases. Low-quality detections can occur for a number of reasons. Some examples are an object that's misidentified as a face, a face that's too blurry, or a face with a pose that's too extreme to use. If you specify NONE, no filtering is performed.

To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.

indexFaces_collectionId :: Lens' IndexFaces Text Source #

The ID of an existing collection to which you want to add the faces that are detected in the input images.

indexFaces_image :: Lens' IndexFaces Image Source #

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes isn't supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

indexFacesResponse_faceModelVersion :: Lens' IndexFacesResponse (Maybe Text) Source #

The version number of the face detection model that's associated with the input collection (CollectionId).

indexFacesResponse_faceRecords :: Lens' IndexFacesResponse (Maybe [FaceRecord]) Source #

An array of faces detected and added to the collection. For more information, see Searching Faces in a Collection in the Amazon Rekognition Developer Guide.

indexFacesResponse_orientationCorrection :: Lens' IndexFacesResponse (Maybe OrientationCorrection) Source #

If your collection is associated with a face detection model that's later than version 3.0, the value of OrientationCorrection is always null and no orientation information is returned.

If your collection is associated with a face detection model that's version 3.0 or earlier, the following applies:

  • If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction - the bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata. The value of OrientationCorrection is null.
  • If the image doesn't contain orientation information in its Exif metadata, Amazon Rekognition returns an estimated orientation (ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270). Amazon Rekognition doesn’t perform image correction for images. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

Bounding box information is returned in the FaceRecords array. You can get the version of the face detection model by calling DescribeCollection.

indexFacesResponse_unindexedFaces :: Lens' IndexFacesResponse (Maybe [UnindexedFace]) Source #

An array of faces that were detected in the image but weren't indexed. They weren't indexed because the quality filter identified them as low quality, or the MaxFaces request parameter filtered them out. To use the quality filter, you specify the QualityFilter request parameter.

ListCollections

listCollections_maxResults :: Lens' ListCollections (Maybe Natural) Source #

Maximum number of collection IDs to return.

listCollections_nextToken :: Lens' ListCollections (Maybe Text) Source #

Pagination token from the previous response.

listCollectionsResponse_faceModelVersions :: Lens' ListCollectionsResponse (Maybe [Text]) Source #

Version numbers of the face detection models associated with the collections in the array CollectionIds. For example, the value of FaceModelVersions[2] is the version number for the face detection model used by the collection in CollectionId[2].

listCollectionsResponse_nextToken :: Lens' ListCollectionsResponse (Maybe Text) Source #

If the result is truncated, the response provides a NextToken that you can use in the subsequent request to fetch the next set of collection IDs.

ListDatasetEntries

listDatasetEntries_containsLabels :: Lens' ListDatasetEntries (Maybe (NonEmpty Text)) Source #

Specifies a label filter for the response. The response includes an entry only if one or more of the labels in ContainsLabels exist in the entry.

listDatasetEntries_hasErrors :: Lens' ListDatasetEntries (Maybe Bool) Source #

Specifies an error filter for the response. Specify True to only include entries that have errors.

listDatasetEntries_labeled :: Lens' ListDatasetEntries (Maybe Bool) Source #

Specify true to get only the JSON Lines where the image is labeled. Specify false to get only the JSON Lines where the image isn't labeled. If you don't specify Labeled, ListDatasetEntries returns JSON Lines for labeled and unlabeled images.

listDatasetEntries_maxResults :: Lens' ListDatasetEntries (Maybe Natural) Source #

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

listDatasetEntries_nextToken :: Lens' ListDatasetEntries (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

listDatasetEntries_sourceRefContains :: Lens' ListDatasetEntries (Maybe Text) Source #

If specified, ListDatasetEntries only returns JSON Lines where the value of SourceRefContains is part of the source-ref field. The source-ref field contains the Amazon S3 location of the image. You can use SouceRefContains for tasks such as getting the JSON Line for a single image, or gettting JSON Lines for all images within a specific folder.

listDatasetEntries_datasetArn :: Lens' ListDatasetEntries Text Source #

The Amazon Resource Name (ARN) for the dataset that you want to use.

listDatasetEntriesResponse_nextToken :: Lens' ListDatasetEntriesResponse (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

ListDatasetLabels

listDatasetLabels_maxResults :: Lens' ListDatasetLabels (Maybe Natural) Source #

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

listDatasetLabels_nextToken :: Lens' ListDatasetLabels (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

listDatasetLabels_datasetArn :: Lens' ListDatasetLabels Text Source #

The Amazon Resource Name (ARN) of the dataset that you want to use.

listDatasetLabelsResponse_nextToken :: Lens' ListDatasetLabelsResponse (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

ListFaces

listFaces_maxResults :: Lens' ListFaces (Maybe Natural) Source #

Maximum number of faces to return.

listFaces_nextToken :: Lens' ListFaces (Maybe Text) Source #

If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces.

listFaces_collectionId :: Lens' ListFaces Text Source #

ID of the collection from which to list the faces.

listFacesResponse_faceModelVersion :: Lens' ListFacesResponse (Maybe Text) Source #

Version number of the face detection model associated with the input collection (CollectionId).

listFacesResponse_nextToken :: Lens' ListFacesResponse (Maybe Text) Source #

If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.

listFacesResponse_httpStatus :: Lens' ListFacesResponse Int Source #

The response's http status code.

ListProjectPolicies

listProjectPolicies_maxResults :: Lens' ListProjectPolicies (Maybe Natural) Source #

The maximum number of results to return per paginated call. The largest value you can specify is 5. If you specify a value greater than 5, a ValidationException error occurs. The default value is 5.

listProjectPolicies_nextToken :: Lens' ListProjectPolicies (Maybe Text) Source #

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

listProjectPolicies_projectArn :: Lens' ListProjectPolicies Text Source #

The ARN of the project for which you want to list the project policies.

listProjectPoliciesResponse_nextToken :: Lens' ListProjectPoliciesResponse (Maybe Text) Source #

If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of project policies.

ListStreamProcessors

listStreamProcessors_maxResults :: Lens' ListStreamProcessors (Maybe Natural) Source #

Maximum number of stream processors you want Amazon Rekognition Video to return in the response. The default is 1000.

listStreamProcessors_nextToken :: Lens' ListStreamProcessors (Maybe Text) Source #

If the previous response was incomplete (because there are more stream processors to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of stream processors.

listStreamProcessorsResponse_nextToken :: Lens' ListStreamProcessorsResponse (Maybe Text) Source #

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of stream processors.

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

Amazon Resource Name (ARN) of the model, collection, or stream processor that contains the tags that you want a list of.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) Source #

A list of key-value tags assigned to the resource.

PutProjectPolicy

putProjectPolicy_policyRevisionId :: Lens' PutProjectPolicy (Maybe Text) Source #

The revision ID for the Project Policy. Each time you modify a policy, Amazon Rekognition Custom Labels generates and assigns a new PolicyRevisionId and then deletes the previous version of the policy.

putProjectPolicy_projectArn :: Lens' PutProjectPolicy Text Source #

The Amazon Resource Name (ARN) of the project that the project policy is attached to.

putProjectPolicy_policyDocument :: Lens' PutProjectPolicy Text Source #

A resource policy to add to the model. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference.

RecognizeCelebrities

recognizeCelebrities_image :: Lens' RecognizeCelebrities Image Source #

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

recognizeCelebritiesResponse_celebrityFaces :: Lens' RecognizeCelebritiesResponse (Maybe [Celebrity]) Source #

Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image. Each celebrity object includes the following attributes: Face, Confidence, Emotions, Landmarks, Pose, Quality, Smile, Id, KnownGender, MatchConfidence, Name, Urls.

recognizeCelebritiesResponse_orientationCorrection :: Lens' RecognizeCelebritiesResponse (Maybe OrientationCorrection) Source #

Support for estimating image orientation using the the OrientationCorrection field has ceased as of August 2021. Any returned values for this field included in an API response will always be NULL.

The orientation of the input image (counterclockwise direction). If your application displays the image, you can use this value to correct the orientation. The bounding box coordinates returned in CelebrityFaces and UnrecognizedFaces represent face locations before the image orientation is corrected.

If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value of OrientationCorrection is null. The CelebrityFaces and UnrecognizedFaces bounding box coordinates represent face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

SearchFaces

searchFaces_faceMatchThreshold :: Lens' SearchFaces (Maybe Double) Source #

Optional value specifying the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%.

searchFaces_maxFaces :: Lens' SearchFaces (Maybe Natural) Source #

Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.

searchFaces_collectionId :: Lens' SearchFaces Text Source #

ID of the collection the face belongs to.

searchFaces_faceId :: Lens' SearchFaces Text Source #

ID of a face to find matches for in the collection.

searchFacesResponse_faceMatches :: Lens' SearchFacesResponse (Maybe [FaceMatch]) Source #

An array of faces that matched the input face, along with the confidence in the match.

searchFacesResponse_faceModelVersion :: Lens' SearchFacesResponse (Maybe Text) Source #

Version number of the face detection model associated with the input collection (CollectionId).

searchFacesResponse_searchedFaceId :: Lens' SearchFacesResponse (Maybe Text) Source #

ID of the face that was searched for matches in a collection.

SearchFacesByImage

searchFacesByImage_faceMatchThreshold :: Lens' SearchFacesByImage (Maybe Double) Source #

(Optional) Specifies the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%.

searchFacesByImage_maxFaces :: Lens' SearchFacesByImage (Maybe Natural) Source #

Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.

searchFacesByImage_qualityFilter :: Lens' SearchFacesByImage (Maybe QualityFilter) Source #

A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't searched for in the collection. If you specify AUTO, Amazon Rekognition chooses the quality bar. If you specify LOW, MEDIUM, or HIGH, filtering removes all faces that don’t meet the chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality detections can occur for a number of reasons. Some examples are an object that's misidentified as a face, a face that's too blurry, or a face with a pose that's too extreme to use. If you specify NONE, no filtering is performed. The default value is NONE.

To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.

searchFacesByImage_image :: Lens' SearchFacesByImage Image Source #

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

searchFacesByImageResponse_faceMatches :: Lens' SearchFacesByImageResponse (Maybe [FaceMatch]) Source #

An array of faces that match the input face, along with the confidence in the match.

searchFacesByImageResponse_faceModelVersion :: Lens' SearchFacesByImageResponse (Maybe Text) Source #

Version number of the face detection model associated with the input collection (CollectionId).

searchFacesByImageResponse_searchedFaceBoundingBox :: Lens' SearchFacesByImageResponse (Maybe BoundingBox) Source #

The bounding box around the face in the input image that Amazon Rekognition used for the search.

searchFacesByImageResponse_searchedFaceConfidence :: Lens' SearchFacesByImageResponse (Maybe Double) Source #

The level of confidence that the searchedFaceBoundingBox, contains a face.

StartCelebrityRecognition

startCelebrityRecognition_clientRequestToken :: Lens' StartCelebrityRecognition (Maybe Text) Source #

Idempotent token used to identify the start request. If you use the same token with multiple StartCelebrityRecognition requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

startCelebrityRecognition_jobTag :: Lens' StartCelebrityRecognition (Maybe Text) Source #

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

startCelebrityRecognition_notificationChannel :: Lens' StartCelebrityRecognition (Maybe NotificationChannel) Source #

The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the celebrity recognition analysis to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.

startCelebrityRecognition_video :: Lens' StartCelebrityRecognition Video Source #

The video in which you want to recognize celebrities. The video must be stored in an Amazon S3 bucket.

startCelebrityRecognitionResponse_jobId :: Lens' StartCelebrityRecognitionResponse (Maybe Text) Source #

The identifier for the celebrity recognition analysis job. Use JobId to identify the job in a subsequent call to GetCelebrityRecognition.

StartContentModeration

startContentModeration_clientRequestToken :: Lens' StartContentModeration (Maybe Text) Source #

Idempotent token used to identify the start request. If you use the same token with multiple StartContentModeration requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

startContentModeration_jobTag :: Lens' StartContentModeration (Maybe Text) Source #

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

startContentModeration_minConfidence :: Lens' StartContentModeration (Maybe Double) Source #

Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label. Confidence represents how certain Amazon Rekognition is that the moderated content is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition doesn't return any moderated content labels with a confidence level lower than this specified value. If you don't specify MinConfidence, GetContentModeration returns labels with confidence values greater than or equal to 50 percent.

startContentModeration_notificationChannel :: Lens' StartContentModeration (Maybe NotificationChannel) Source #

The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content analysis to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.

startContentModeration_video :: Lens' StartContentModeration Video Source #

The video in which you want to detect inappropriate, unwanted, or offensive content. The video must be stored in an Amazon S3 bucket.

startContentModerationResponse_jobId :: Lens' StartContentModerationResponse (Maybe Text) Source #

The identifier for the content analysis job. Use JobId to identify the job in a subsequent call to GetContentModeration.

StartFaceDetection

startFaceDetection_clientRequestToken :: Lens' StartFaceDetection (Maybe Text) Source #

Idempotent token used to identify the start request. If you use the same token with multiple StartFaceDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

startFaceDetection_faceAttributes :: Lens' StartFaceDetection (Maybe FaceAttributes) Source #

The face attributes you want returned.

DEFAULT - The following subset of facial attributes are returned: BoundingBox, Confidence, Pose, Quality and Landmarks.

ALL - All facial attributes are returned.

startFaceDetection_jobTag :: Lens' StartFaceDetection (Maybe Text) Source #

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

startFaceDetection_notificationChannel :: Lens' StartFaceDetection (Maybe NotificationChannel) Source #

The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.

startFaceDetection_video :: Lens' StartFaceDetection Video Source #

The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.

startFaceDetectionResponse_jobId :: Lens' StartFaceDetectionResponse (Maybe Text) Source #

The identifier for the face detection job. Use JobId to identify the job in a subsequent call to GetFaceDetection.

StartFaceSearch

startFaceSearch_clientRequestToken :: Lens' StartFaceSearch (Maybe Text) Source #

Idempotent token used to identify the start request. If you use the same token with multiple StartFaceSearch requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

startFaceSearch_faceMatchThreshold :: Lens' StartFaceSearch (Maybe Double) Source #

The minimum confidence in the person match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%.

startFaceSearch_jobTag :: Lens' StartFaceSearch (Maybe Text) Source #

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

startFaceSearch_notificationChannel :: Lens' StartFaceSearch (Maybe NotificationChannel) Source #

The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.

startFaceSearch_video :: Lens' StartFaceSearch Video Source #

The video you want to search. The video must be stored in an Amazon S3 bucket.

startFaceSearch_collectionId :: Lens' StartFaceSearch Text Source #

ID of the collection that contains the faces you want to search for.

startFaceSearchResponse_jobId :: Lens' StartFaceSearchResponse (Maybe Text) Source #

The identifier for the search job. Use JobId to identify the job in a subsequent call to GetFaceSearch.

StartLabelDetection

startLabelDetection_clientRequestToken :: Lens' StartLabelDetection (Maybe Text) Source #

Idempotent token used to identify the start request. If you use the same token with multiple StartLabelDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

startLabelDetection_features :: Lens' StartLabelDetection (Maybe [LabelDetectionFeatureName]) Source #

The features to return after video analysis. You can specify that GENERAL_LABELS are returned.

startLabelDetection_jobTag :: Lens' StartLabelDetection (Maybe Text) Source #

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

startLabelDetection_minConfidence :: Lens' StartLabelDetection (Maybe Double) Source #

Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label. Confidence represents how certain Amazon Rekognition is that a label is correctly identified.0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any labels with a confidence level lower than this specified value.

If you don't specify MinConfidence, the operation returns labels and bounding boxes (if detected) with confidence values greater than or equal to 50 percent.

startLabelDetection_notificationChannel :: Lens' StartLabelDetection (Maybe NotificationChannel) Source #

The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.

startLabelDetection_settings :: Lens' StartLabelDetection (Maybe LabelDetectionSettings) Source #

The settings for a StartLabelDetection request.Contains the specified parameters for the label detection request of an asynchronous label analysis operation. Settings can include filters for GENERAL_LABELS.

startLabelDetection_video :: Lens' StartLabelDetection Video Source #

The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket.

startLabelDetectionResponse_jobId :: Lens' StartLabelDetectionResponse (Maybe Text) Source #

The identifier for the label detection job. Use JobId to identify the job in a subsequent call to GetLabelDetection.

StartPersonTracking

startPersonTracking_clientRequestToken :: Lens' StartPersonTracking (Maybe Text) Source #

Idempotent token used to identify the start request. If you use the same token with multiple StartPersonTracking requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

startPersonTracking_jobTag :: Lens' StartPersonTracking (Maybe Text) Source #

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

startPersonTracking_notificationChannel :: Lens' StartPersonTracking (Maybe NotificationChannel) Source #

The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the people detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.

startPersonTracking_video :: Lens' StartPersonTracking Video Source #

The video in which you want to detect people. The video must be stored in an Amazon S3 bucket.

startPersonTrackingResponse_jobId :: Lens' StartPersonTrackingResponse (Maybe Text) Source #

The identifier for the person detection job. Use JobId to identify the job in a subsequent call to GetPersonTracking.

StartProjectVersion

startProjectVersion_maxInferenceUnits :: Lens' StartProjectVersion (Maybe Natural) Source #

The maximum number of inference units to use for auto-scaling the model. If you don't specify a value, Amazon Rekognition Custom Labels doesn't auto-scale the model.

startProjectVersion_projectVersionArn :: Lens' StartProjectVersion Text Source #

The Amazon Resource Name(ARN) of the model version that you want to start.

startProjectVersion_minInferenceUnits :: Lens' StartProjectVersion Natural Source #

The minimum number of inference units to use. A single inference unit represents 1 hour of processing.

For information about the number of transactions per second (TPS) that an inference unit can support, see /Running a trained Amazon Rekognition Custom Labels model/ in the Amazon Rekognition Custom Labels Guide.

Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.

StartSegmentDetection

startSegmentDetection_clientRequestToken :: Lens' StartSegmentDetection (Maybe Text) Source #

Idempotent token used to identify the start request. If you use the same token with multiple StartSegmentDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

startSegmentDetection_jobTag :: Lens' StartSegmentDetection (Maybe Text) Source #

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

startSegmentDetection_notificationChannel :: Lens' StartSegmentDetection (Maybe NotificationChannel) Source #

The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.

startSegmentDetection_segmentTypes :: Lens' StartSegmentDetection (NonEmpty SegmentType) Source #

An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.

startSegmentDetectionResponse_jobId :: Lens' StartSegmentDetectionResponse (Maybe Text) Source #

Unique identifier for the segment detection job. The JobId is returned from StartSegmentDetection.

StartStreamProcessor

startStreamProcessor_startSelector :: Lens' StartStreamProcessor (Maybe StreamProcessingStartSelector) Source #

Specifies the starting point in the Kinesis stream to start processing. You can use the producer timestamp or the fragment number. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, see Fragment.

This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.

startStreamProcessor_stopSelector :: Lens' StartStreamProcessor (Maybe StreamProcessingStopSelector) Source #

Specifies when to stop processing the stream. You can specify a maximum amount of time to process the video.

This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.

startStreamProcessor_name :: Lens' StartStreamProcessor Text Source #

The name of the stream processor to start processing.

startStreamProcessorResponse_sessionId :: Lens' StartStreamProcessorResponse (Maybe Text) Source #

A unique identifier for the stream processing session.

StartTextDetection

startTextDetection_clientRequestToken :: Lens' StartTextDetection (Maybe Text) Source #

Idempotent token used to identify the start request. If you use the same token with multiple StartTextDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidentaly started more than once.

startTextDetection_filters :: Lens' StartTextDetection (Maybe StartTextDetectionFilters) Source #

Optional parameters that let you set criteria the text must meet to be included in your response.

startTextDetection_jobTag :: Lens' StartTextDetection (Maybe Text) Source #

An identifier returned in the completion status published by your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

startTextDetectionResponse_jobId :: Lens' StartTextDetectionResponse (Maybe Text) Source #

Identifier for the text detection job. Use JobId to identify the job in a subsequent call to GetTextDetection.

StopProjectVersion

stopProjectVersion_projectVersionArn :: Lens' StopProjectVersion Text Source #

The Amazon Resource Name (ARN) of the model version that you want to delete.

This operation requires permissions to perform the rekognition:StopProjectVersion action.

StopStreamProcessor

stopStreamProcessor_name :: Lens' StopStreamProcessor Text Source #

The name of a stream processor created by CreateStreamProcessor.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to assign the tags to.

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

The key-value tags to assign to the resource.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to remove the tags from.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

A list of the tags that you want to remove.

UpdateDatasetEntries

updateDatasetEntries_datasetArn :: Lens' UpdateDatasetEntries Text Source #

The Amazon Resource Name (ARN) of the dataset that you want to update.

updateDatasetEntries_changes :: Lens' UpdateDatasetEntries DatasetChanges Source #

The changes that you want to make to the dataset.

UpdateStreamProcessor

updateStreamProcessor_dataSharingPreferenceForUpdate :: Lens' UpdateStreamProcessor (Maybe StreamProcessorDataSharingPreference) Source #

Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.

updateStreamProcessor_parametersToDelete :: Lens' UpdateStreamProcessor (Maybe [StreamProcessorParameterToDelete]) Source #

A list of parameters you want to delete from the stream processor.

updateStreamProcessor_regionsOfInterestForUpdate :: Lens' UpdateStreamProcessor (Maybe [RegionOfInterest]) Source #

Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.

updateStreamProcessor_settingsForUpdate :: Lens' UpdateStreamProcessor (Maybe StreamProcessorSettingsForUpdate) Source #

The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.

updateStreamProcessor_name :: Lens' UpdateStreamProcessor Text Source #

Name of the stream processor that you want to update.

Types

AgeRange

ageRange_high :: Lens' AgeRange (Maybe Natural) Source #

The highest estimated age.

ageRange_low :: Lens' AgeRange (Maybe Natural) Source #

The lowest estimated age.

Asset

AudioMetadata

audioMetadata_codec :: Lens' AudioMetadata (Maybe Text) Source #

The audio codec used to encode or decode the audio stream.

audioMetadata_durationMillis :: Lens' AudioMetadata (Maybe Natural) Source #

The duration of the audio stream in milliseconds.

audioMetadata_numberOfChannels :: Lens' AudioMetadata (Maybe Natural) Source #

The number of audio channels in the segment.

audioMetadata_sampleRate :: Lens' AudioMetadata (Maybe Natural) Source #

The sample rate for the audio stream.

Beard

beard_confidence :: Lens' Beard (Maybe Double) Source #

Level of confidence in the determination.

beard_value :: Lens' Beard (Maybe Bool) Source #

Boolean value that indicates whether the face has beard or not.

BlackFrame

blackFrame_maxPixelThreshold :: Lens' BlackFrame (Maybe Double) Source #

A threshold used to determine the maximum luminance value for a pixel to be considered black. In a full color range video, luminance values range from 0-255. A pixel value of 0 is pure black, and the most strict filter. The maximum black pixel value is computed as follows: max_black_pixel_value = minimum_luminance + MaxPixelThreshold *luminance_range.

For example, for a full range video with BlackPixelThreshold = 0.1, max_black_pixel_value is 0 + 0.1 * (255-0) = 25.5.

The default value of MaxPixelThreshold is 0.2, which maps to a max_black_pixel_value of 51 for a full range video. You can lower this threshold to be more strict on black levels.

blackFrame_minCoveragePercentage :: Lens' BlackFrame (Maybe Double) Source #

The minimum percentage of pixels in a frame that need to have a luminance below the max_black_pixel_value for a frame to be considered a black frame. Luminance is calculated using the BT.709 matrix.

The default value is 99, which means at least 99% of all pixels in the frame are black pixels as per the MaxPixelThreshold set. You can reduce this value to allow more noise on the black frame.

BoundingBox

boundingBox_height :: Lens' BoundingBox (Maybe Double) Source #

Height of the bounding box as a ratio of the overall image height.

boundingBox_left :: Lens' BoundingBox (Maybe Double) Source #

Left coordinate of the bounding box as a ratio of overall image width.

boundingBox_top :: Lens' BoundingBox (Maybe Double) Source #

Top coordinate of the bounding box as a ratio of overall image height.

boundingBox_width :: Lens' BoundingBox (Maybe Double) Source #

Width of the bounding box as a ratio of the overall image width.

Celebrity

celebrity_face :: Lens' Celebrity (Maybe ComparedFace) Source #

Provides information about the celebrity's face, such as its location on the image.

celebrity_id :: Lens' Celebrity (Maybe Text) Source #

A unique identifier for the celebrity.

celebrity_matchConfidence :: Lens' Celebrity (Maybe Double) Source #

The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.

celebrity_name :: Lens' Celebrity (Maybe Text) Source #

The name of the celebrity.

celebrity_urls :: Lens' Celebrity (Maybe [Text]) Source #

An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.

CelebrityDetail

celebrityDetail_boundingBox :: Lens' CelebrityDetail (Maybe BoundingBox) Source #

Bounding box around the body of a celebrity.

celebrityDetail_confidence :: Lens' CelebrityDetail (Maybe Double) Source #

The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.

celebrityDetail_face :: Lens' CelebrityDetail (Maybe FaceDetail) Source #

Face details for the recognized celebrity.

celebrityDetail_id :: Lens' CelebrityDetail (Maybe Text) Source #

The unique identifier for the celebrity.

celebrityDetail_knownGender :: Lens' CelebrityDetail (Maybe KnownGender) Source #

Retrieves the known gender for the celebrity.

celebrityDetail_urls :: Lens' CelebrityDetail (Maybe [Text]) Source #

An array of URLs pointing to additional celebrity information.

CelebrityRecognition

celebrityRecognition_timestamp :: Lens' CelebrityRecognition (Maybe Integer) Source #

The time, in milliseconds from the start of the video, that the celebrity was recognized. Note that Timestamp is not guaranteed to be accurate to the individual frame where the celebrity first appears.

CompareFacesMatch

compareFacesMatch_face :: Lens' CompareFacesMatch (Maybe ComparedFace) Source #

Provides face metadata (bounding box and confidence that the bounding box actually contains a face).

compareFacesMatch_similarity :: Lens' CompareFacesMatch (Maybe Double) Source #

Level of confidence that the faces match.

ComparedFace

comparedFace_confidence :: Lens' ComparedFace (Maybe Double) Source #

Level of confidence that what the bounding box contains is a face.

comparedFace_emotions :: Lens' ComparedFace (Maybe [Emotion]) Source #

The emotions that appear to be expressed on the face, and the confidence level in the determination. Valid values include "Happy", "Sad", "Angry", "Confused", "Disgusted", "Surprised", "Calm", "Unknown", and "Fear".

comparedFace_landmarks :: Lens' ComparedFace (Maybe [Landmark]) Source #

An array of facial landmarks.

comparedFace_pose :: Lens' ComparedFace (Maybe Pose) Source #

Indicates the pose of the face as determined by its pitch, roll, and yaw.

comparedFace_quality :: Lens' ComparedFace (Maybe ImageQuality) Source #

Identifies face image brightness and sharpness.

comparedFace_smile :: Lens' ComparedFace (Maybe Smile) Source #

Indicates whether or not the face is smiling, and the confidence level in the determination.

ComparedSourceImageFace

comparedSourceImageFace_confidence :: Lens' ComparedSourceImageFace (Maybe Double) Source #

Confidence level that the selected bounding box contains a face.

ConnectedHomeSettings

connectedHomeSettings_minConfidence :: Lens' ConnectedHomeSettings (Maybe Double) Source #

The minimum confidence required to label an object in the video.

connectedHomeSettings_labels :: Lens' ConnectedHomeSettings (NonEmpty Text) Source #

Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".

ConnectedHomeSettingsForUpdate

connectedHomeSettingsForUpdate_labels :: Lens' ConnectedHomeSettingsForUpdate (Maybe (NonEmpty Text)) Source #

Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".

connectedHomeSettingsForUpdate_minConfidence :: Lens' ConnectedHomeSettingsForUpdate (Maybe Double) Source #

The minimum confidence required to label an object in the video.

ContentModerationDetection

contentModerationDetection_moderationLabel :: Lens' ContentModerationDetection (Maybe ModerationLabel) Source #

The content moderation label detected by in the stored video.

contentModerationDetection_timestamp :: Lens' ContentModerationDetection (Maybe Integer) Source #

Time, in milliseconds from the beginning of the video, that the content moderation label was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the moderated content first appears.

CoversBodyPart

coversBodyPart_confidence :: Lens' CoversBodyPart (Maybe Double) Source #

The confidence that Amazon Rekognition has in the value of Value.

coversBodyPart_value :: Lens' CoversBodyPart (Maybe Bool) Source #

True if the PPE covers the corresponding body part, otherwise false.

CustomLabel

customLabel_confidence :: Lens' CustomLabel (Maybe Double) Source #

The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

customLabel_geometry :: Lens' CustomLabel (Maybe Geometry) Source #

The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.

customLabel_name :: Lens' CustomLabel (Maybe Text) Source #

The name of the custom label.

DatasetChanges

datasetChanges_groundTruth :: Lens' DatasetChanges ByteString Source #

A Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset. You change a dataset by calling UpdateDatasetEntries. If you are using an AWS SDK to call UpdateDatasetEntries, you don't need to encode Changes as the SDK encodes the data for you.

For example JSON lines, see Image-Level labels in manifest files and and Object localization in manifest files in the /Amazon Rekognition Custom Labels Developer Guide/.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

DatasetDescription

datasetDescription_creationTimestamp :: Lens' DatasetDescription (Maybe UTCTime) Source #

The Unix timestamp for the time and date that the dataset was created.

datasetDescription_lastUpdatedTimestamp :: Lens' DatasetDescription (Maybe UTCTime) Source #

The Unix timestamp for the date and time that the dataset was last updated.

datasetDescription_statusMessageCode :: Lens' DatasetDescription (Maybe DatasetStatusMessageCode) Source #

The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.

DatasetLabelDescription

DatasetLabelStats

datasetLabelStats_boundingBoxCount :: Lens' DatasetLabelStats (Maybe Natural) Source #

The total number of images that have the label assigned to a bounding box.

datasetLabelStats_entryCount :: Lens' DatasetLabelStats (Maybe Natural) Source #

The total number of images that use the label.

DatasetMetadata

datasetMetadata_creationTimestamp :: Lens' DatasetMetadata (Maybe UTCTime) Source #

The Unix timestamp for the date and time that the dataset was created.

datasetMetadata_datasetArn :: Lens' DatasetMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) for the dataset.

datasetMetadata_statusMessage :: Lens' DatasetMetadata (Maybe Text) Source #

The status message for the dataset.

datasetMetadata_statusMessageCode :: Lens' DatasetMetadata (Maybe DatasetStatusMessageCode) Source #

The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.

DatasetSource

datasetSource_datasetArn :: Lens' DatasetSource (Maybe Text) Source #

The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.

DatasetStats

datasetStats_errorEntries :: Lens' DatasetStats (Maybe Natural) Source #

The total number of entries that contain at least one error.

datasetStats_labeledEntries :: Lens' DatasetStats (Maybe Natural) Source #

The total number of images in the dataset that have labels.

datasetStats_totalEntries :: Lens' DatasetStats (Maybe Natural) Source #

The total number of images in the dataset.

datasetStats_totalLabels :: Lens' DatasetStats (Maybe Natural) Source #

The total number of labels declared in the dataset.

DetectLabelsImageBackground

detectLabelsImageBackground_dominantColors :: Lens' DetectLabelsImageBackground (Maybe [DominantColor]) Source #

The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

detectLabelsImageBackground_quality :: Lens' DetectLabelsImageBackground (Maybe DetectLabelsImageQuality) Source #

The quality of the image background as defined by brightness and sharpness.

DetectLabelsImageForeground

detectLabelsImageForeground_dominantColors :: Lens' DetectLabelsImageForeground (Maybe [DominantColor]) Source #

The dominant colors found in the foreground of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

detectLabelsImageForeground_quality :: Lens' DetectLabelsImageForeground (Maybe DetectLabelsImageQuality) Source #

The quality of the image foreground as defined by brightness and sharpness.

DetectLabelsImageProperties

detectLabelsImageProperties_background :: Lens' DetectLabelsImageProperties (Maybe DetectLabelsImageBackground) Source #

Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.

detectLabelsImageProperties_dominantColors :: Lens' DetectLabelsImageProperties (Maybe [DominantColor]) Source #

Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

detectLabelsImageProperties_foreground :: Lens' DetectLabelsImageProperties (Maybe DetectLabelsImageForeground) Source #

Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.

detectLabelsImageProperties_quality :: Lens' DetectLabelsImageProperties (Maybe DetectLabelsImageQuality) Source #

Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.

DetectLabelsImagePropertiesSettings

detectLabelsImagePropertiesSettings_maxDominantColors :: Lens' DetectLabelsImagePropertiesSettings (Maybe Natural) Source #

The maximum number of dominant colors to return when detecting labels in an image. The default value is 10.

DetectLabelsImageQuality

detectLabelsImageQuality_brightness :: Lens' DetectLabelsImageQuality (Maybe Double) Source #

The brightness of an image provided for label detection.

detectLabelsImageQuality_contrast :: Lens' DetectLabelsImageQuality (Maybe Double) Source #

The contrast of an image provided for label detection.

detectLabelsImageQuality_sharpness :: Lens' DetectLabelsImageQuality (Maybe Double) Source #

The sharpness of an image provided for label detection.

DetectLabelsSettings

detectLabelsSettings_imageProperties :: Lens' DetectLabelsSettings (Maybe DetectLabelsImagePropertiesSettings) Source #

Contains the chosen number of maximum dominant colors in an image.

DetectTextFilters

detectTextFilters_regionsOfInterest :: Lens' DetectTextFilters (Maybe [RegionOfInterest]) Source #

A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the region of the image.

DetectionFilter

detectionFilter_minBoundingBoxHeight :: Lens' DetectionFilter (Maybe Double) Source #

Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value will be excluded from the result. Value is relative to the video frame height.

detectionFilter_minBoundingBoxWidth :: Lens' DetectionFilter (Maybe Double) Source #

Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value will be excluded from the result. Value is relative to the video frame width.

detectionFilter_minConfidence :: Lens' DetectionFilter (Maybe Double) Source #

Sets the confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0 and 100. The default MinConfidence is 80.

DistributeDataset

distributeDataset_arn :: Lens' DistributeDataset Text Source #

The Amazon Resource Name (ARN) of the dataset that you want to use.

DominantColor

dominantColor_blue :: Lens' DominantColor (Maybe Natural) Source #

The Blue RGB value for a dominant color.

dominantColor_cSSColor :: Lens' DominantColor (Maybe Text) Source #

The CSS color name of a dominant color.

dominantColor_green :: Lens' DominantColor (Maybe Natural) Source #

The Green RGB value for a dominant color.

dominantColor_hexCode :: Lens' DominantColor (Maybe Text) Source #

The Hex code equivalent of the RGB values for a dominant color.

dominantColor_pixelPercent :: Lens' DominantColor (Maybe Double) Source #

The percentage of image pixels that have a given dominant color.

dominantColor_red :: Lens' DominantColor (Maybe Natural) Source #

The Red RGB value for a dominant color.

dominantColor_simplifiedColor :: Lens' DominantColor (Maybe Text) Source #

One of 12 simplified color names applied to a dominant color.

Emotion

emotion_confidence :: Lens' Emotion (Maybe Double) Source #

Level of confidence in the determination.

emotion_type :: Lens' Emotion (Maybe EmotionName) Source #

Type of emotion detected.

EquipmentDetection

equipmentDetection_boundingBox :: Lens' EquipmentDetection (Maybe BoundingBox) Source #

A bounding box surrounding the item of detected PPE.

equipmentDetection_confidence :: Lens' EquipmentDetection (Maybe Double) Source #

The confidence that Amazon Rekognition has that the bounding box (BoundingBox) contains an item of PPE.

equipmentDetection_coversBodyPart :: Lens' EquipmentDetection (Maybe CoversBodyPart) Source #

Information about the body part covered by the detected PPE.

EvaluationResult

evaluationResult_f1Score :: Lens' EvaluationResult (Maybe Double) Source #

The F1 score for the evaluation of all labels. The F1 score metric evaluates the overall precision and recall performance of the model as a single value. A higher value indicates better precision and recall performance. A lower score indicates that precision, recall, or both are performing poorly.

evaluationResult_summary :: Lens' EvaluationResult (Maybe Summary) Source #

The S3 bucket that contains the training summary.

EyeOpen

eyeOpen_confidence :: Lens' EyeOpen (Maybe Double) Source #

Level of confidence in the determination.

eyeOpen_value :: Lens' EyeOpen (Maybe Bool) Source #

Boolean value that indicates whether the eyes on the face are open.

Eyeglasses

eyeglasses_confidence :: Lens' Eyeglasses (Maybe Double) Source #

Level of confidence in the determination.

eyeglasses_value :: Lens' Eyeglasses (Maybe Bool) Source #

Boolean value that indicates whether the face is wearing eye glasses or not.

Face

face_boundingBox :: Lens' Face (Maybe BoundingBox) Source #

Bounding box of the face.

face_confidence :: Lens' Face (Maybe Double) Source #

Confidence level that the bounding box contains a face (and not a different object such as a tree).

face_externalImageId :: Lens' Face (Maybe Text) Source #

Identifier that you assign to all the faces in the input image.

face_faceId :: Lens' Face (Maybe Text) Source #

Unique identifier that Amazon Rekognition assigns to the face.

face_imageId :: Lens' Face (Maybe Text) Source #

Unique identifier that Amazon Rekognition assigns to the input image.

face_indexFacesModelVersion :: Lens' Face (Maybe Text) Source #

The version of the face detect and storage model that was used when indexing the face vector.

FaceDetail

faceDetail_ageRange :: Lens' FaceDetail (Maybe AgeRange) Source #

The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.

faceDetail_beard :: Lens' FaceDetail (Maybe Beard) Source #

Indicates whether or not the face has a beard, and the confidence level in the determination.

faceDetail_boundingBox :: Lens' FaceDetail (Maybe BoundingBox) Source #

Bounding box of the face. Default attribute.

faceDetail_confidence :: Lens' FaceDetail (Maybe Double) Source #

Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.

faceDetail_emotions :: Lens' FaceDetail (Maybe [Emotion]) Source #

The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.

faceDetail_eyeglasses :: Lens' FaceDetail (Maybe Eyeglasses) Source #

Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.

faceDetail_eyesOpen :: Lens' FaceDetail (Maybe EyeOpen) Source #

Indicates whether or not the eyes on the face are open, and the confidence level in the determination.

faceDetail_gender :: Lens' FaceDetail (Maybe Gender) Source #

The predicted gender of a detected face.

faceDetail_landmarks :: Lens' FaceDetail (Maybe [Landmark]) Source #

Indicates the location of landmarks on the face. Default attribute.

faceDetail_mouthOpen :: Lens' FaceDetail (Maybe MouthOpen) Source #

Indicates whether or not the mouth on the face is open, and the confidence level in the determination.

faceDetail_mustache :: Lens' FaceDetail (Maybe Mustache) Source #

Indicates whether or not the face has a mustache, and the confidence level in the determination.

faceDetail_pose :: Lens' FaceDetail (Maybe Pose) Source #

Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.

faceDetail_quality :: Lens' FaceDetail (Maybe ImageQuality) Source #

Identifies image brightness and sharpness. Default attribute.

faceDetail_smile :: Lens' FaceDetail (Maybe Smile) Source #

Indicates whether or not the face is smiling, and the confidence level in the determination.

faceDetail_sunglasses :: Lens' FaceDetail (Maybe Sunglasses) Source #

Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.

FaceDetection

faceDetection_face :: Lens' FaceDetection (Maybe FaceDetail) Source #

The face properties for the detected face.

faceDetection_timestamp :: Lens' FaceDetection (Maybe Integer) Source #

Time, in milliseconds from the start of the video, that the face was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the face first appears.

FaceMatch

faceMatch_face :: Lens' FaceMatch (Maybe Face) Source #

Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.

faceMatch_similarity :: Lens' FaceMatch (Maybe Double) Source #

Confidence in the match of this face with the input face.

FaceRecord

faceRecord_face :: Lens' FaceRecord (Maybe Face) Source #

Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.

faceRecord_faceDetail :: Lens' FaceRecord (Maybe FaceDetail) Source #

Structure containing attributes of the face that the algorithm detected.

FaceSearchSettings

faceSearchSettings_collectionId :: Lens' FaceSearchSettings (Maybe Text) Source #

The ID of a collection that contains faces that you want to search for.

faceSearchSettings_faceMatchThreshold :: Lens' FaceSearchSettings (Maybe Double) Source #

Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.

Gender

gender_confidence :: Lens' Gender (Maybe Double) Source #

Level of confidence in the prediction.

gender_value :: Lens' Gender (Maybe GenderType) Source #

The predicted gender of the face.

GeneralLabelsSettings

generalLabelsSettings_labelCategoryExclusionFilters :: Lens' GeneralLabelsSettings (Maybe [Text]) Source #

The label categories that should be excluded from the return from DetectLabels.

generalLabelsSettings_labelCategoryInclusionFilters :: Lens' GeneralLabelsSettings (Maybe [Text]) Source #

The label categories that should be included in the return from DetectLabels.

generalLabelsSettings_labelExclusionFilters :: Lens' GeneralLabelsSettings (Maybe [Text]) Source #

The labels that should be excluded from the return from DetectLabels.

generalLabelsSettings_labelInclusionFilters :: Lens' GeneralLabelsSettings (Maybe [Text]) Source #

The labels that should be included in the return from DetectLabels.

Geometry

geometry_boundingBox :: Lens' Geometry (Maybe BoundingBox) Source #

An axis-aligned coarse representation of the detected item's location on the image.

geometry_polygon :: Lens' Geometry (Maybe [Point]) Source #

Within the bounding box, a fine-grained polygon around the detected item.

GroundTruthManifest

HumanLoopActivationOutput

humanLoopActivationOutput_humanLoopActivationConditionsEvaluationResults :: Lens' HumanLoopActivationOutput (Maybe Text) Source #

Shows the result of condition evaluations, including those conditions which activated a human review.

humanLoopActivationOutput_humanLoopArn :: Lens' HumanLoopActivationOutput (Maybe Text) Source #

The Amazon Resource Name (ARN) of the HumanLoop created.

HumanLoopConfig

humanLoopConfig_humanLoopName :: Lens' HumanLoopConfig Text Source #

The name of the human review used for this image. This should be kept unique within a region.

humanLoopConfig_flowDefinitionArn :: Lens' HumanLoopConfig Text Source #

The Amazon Resource Name (ARN) of the flow definition. You can create a flow definition by using the Amazon Sagemaker CreateFlowDefinition Operation.

HumanLoopDataAttributes

humanLoopDataAttributes_contentClassifiers :: Lens' HumanLoopDataAttributes (Maybe [ContentClassifier]) Source #

Sets whether the input image is free of personally identifiable information.

Image

image_bytes :: Lens' Image (Maybe ByteString) Source #

Blob of image bytes up to 5 MBs.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

image_s3Object :: Lens' Image (Maybe S3Object) Source #

Identifies an S3 object as the image source.

ImageQuality

imageQuality_brightness :: Lens' ImageQuality (Maybe Double) Source #

Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.

imageQuality_sharpness :: Lens' ImageQuality (Maybe Double) Source #

Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.

Instance

instance_boundingBox :: Lens' Instance (Maybe BoundingBox) Source #

The position of the label instance on the image.

instance_confidence :: Lens' Instance (Maybe Double) Source #

The confidence that Amazon Rekognition has in the accuracy of the bounding box.

instance_dominantColors :: Lens' Instance (Maybe [DominantColor]) Source #

The dominant colors found in an individual instance of a label.

KinesisDataStream

kinesisDataStream_arn :: Lens' KinesisDataStream (Maybe Text) Source #

ARN of the output Amazon Kinesis Data Streams stream.

KinesisVideoStream

kinesisVideoStream_arn :: Lens' KinesisVideoStream (Maybe Text) Source #

ARN of the Kinesis video stream stream that streams the source video.

KinesisVideoStreamStartSelector

kinesisVideoStreamStartSelector_fragmentNumber :: Lens' KinesisVideoStreamStartSelector (Maybe Text) Source #

The unique identifier of the fragment. This value monotonically increases based on the ingestion order.

kinesisVideoStreamStartSelector_producerTimestamp :: Lens' KinesisVideoStreamStartSelector (Maybe Natural) Source #

The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time format.

KnownGender

knownGender_type :: Lens' KnownGender (Maybe KnownGenderType) Source #

A string value of the KnownGender info about the Celebrity.

Label

label_aliases :: Lens' Label (Maybe [LabelAlias]) Source #

A list of potential aliases for a given label.

label_categories :: Lens' Label (Maybe [LabelCategory]) Source #

A list of the categories associated with a given label.

label_confidence :: Lens' Label (Maybe Double) Source #

Level of confidence.

label_instances :: Lens' Label (Maybe [Instance]) Source #

If Label represents an object, Instances contains the bounding boxes for each instance of the detected object. Bounding boxes are returned for common object labels such as people, cars, furniture, apparel or pets.

label_name :: Lens' Label (Maybe Text) Source #

The name (label) of the object or scene.

label_parents :: Lens' Label (Maybe [Parent]) Source #

The parent labels for a label. The response includes all ancestor labels.

LabelAlias

labelAlias_name :: Lens' LabelAlias (Maybe Text) Source #

The name of an alias for a given label.

LabelCategory

labelCategory_name :: Lens' LabelCategory (Maybe Text) Source #

The name of a category that applies to a given label.

LabelDetection

labelDetection_durationMillis :: Lens' LabelDetection (Maybe Natural) Source #

The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.

labelDetection_endTimestampMillis :: Lens' LabelDetection (Maybe Natural) Source #

The time in milliseconds defining the end of the timeline segment containing a continuously detected label.

labelDetection_label :: Lens' LabelDetection (Maybe Label) Source #

Details about the detected label.

labelDetection_startTimestampMillis :: Lens' LabelDetection (Maybe Natural) Source #

The time in milliseconds defining the start of the timeline segment containing a continuously detected label.

labelDetection_timestamp :: Lens' LabelDetection (Maybe Integer) Source #

Time, in milliseconds from the start of the video, that the label was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the label first appears.

LabelDetectionSettings

Landmark

landmark_x :: Lens' Landmark (Maybe Double) Source #

The x-coordinate of the landmark expressed as a ratio of the width of the image. The x-coordinate is measured from the left-side of the image. For example, if the image is 700 pixels wide and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.

landmark_y :: Lens' Landmark (Maybe Double) Source #

The y-coordinate of the landmark expressed as a ratio of the height of the image. The y-coordinate is measured from the top of the image. For example, if the image height is 200 pixels and the y-coordinate of the landmark is at 50 pixels, this value is 0.25.

ModerationLabel

moderationLabel_confidence :: Lens' ModerationLabel (Maybe Double) Source #

Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.

If you don't specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent.

moderationLabel_name :: Lens' ModerationLabel (Maybe Text) Source #

The label name for the type of unsafe content detected in the image.

moderationLabel_parentName :: Lens' ModerationLabel (Maybe Text) Source #

The name for the parent label. Labels at the top level of the hierarchy have the parent label "".

MouthOpen

mouthOpen_confidence :: Lens' MouthOpen (Maybe Double) Source #

Level of confidence in the determination.

mouthOpen_value :: Lens' MouthOpen (Maybe Bool) Source #

Boolean value that indicates whether the mouth on the face is open or not.

Mustache

mustache_confidence :: Lens' Mustache (Maybe Double) Source #

Level of confidence in the determination.

mustache_value :: Lens' Mustache (Maybe Bool) Source #

Boolean value that indicates whether the face has mustache or not.

NotificationChannel

notificationChannel_sNSTopicArn :: Lens' NotificationChannel Text Source #

The Amazon SNS topic to which Amazon Rekognition posts the completion status.

notificationChannel_roleArn :: Lens' NotificationChannel Text Source #

The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic.

OutputConfig

outputConfig_s3Bucket :: Lens' OutputConfig (Maybe Text) Source #

The S3 bucket where training output is placed.

outputConfig_s3KeyPrefix :: Lens' OutputConfig (Maybe Text) Source #

The prefix applied to the training output files.

Parent

parent_name :: Lens' Parent (Maybe Text) Source #

The name of the parent label.

PersonDetail

personDetail_boundingBox :: Lens' PersonDetail (Maybe BoundingBox) Source #

Bounding box around the detected person.

personDetail_face :: Lens' PersonDetail (Maybe FaceDetail) Source #

Face details for the detected person.

personDetail_index :: Lens' PersonDetail (Maybe Integer) Source #

Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.

PersonDetection

personDetection_person :: Lens' PersonDetection (Maybe PersonDetail) Source #

Details about a person whose path was tracked in a video.

personDetection_timestamp :: Lens' PersonDetection (Maybe Integer) Source #

The time, in milliseconds from the start of the video, that the person's path was tracked. Note that Timestamp is not guaranteed to be accurate to the individual frame where the person's path first appears.

PersonMatch

personMatch_faceMatches :: Lens' PersonMatch (Maybe [FaceMatch]) Source #

Information about the faces in the input collection that match the face of a person in the video.

personMatch_person :: Lens' PersonMatch (Maybe PersonDetail) Source #

Information about the matched person.

personMatch_timestamp :: Lens' PersonMatch (Maybe Integer) Source #

The time, in milliseconds from the beginning of the video, that the person was matched in the video.

Point

point_x :: Lens' Point (Maybe Double) Source #

The value of the X coordinate for a point on a Polygon.

point_y :: Lens' Point (Maybe Double) Source #

The value of the Y coordinate for a point on a Polygon.

Pose

pose_pitch :: Lens' Pose (Maybe Double) Source #

Value representing the face rotation on the pitch axis.

pose_roll :: Lens' Pose (Maybe Double) Source #

Value representing the face rotation on the roll axis.

pose_yaw :: Lens' Pose (Maybe Double) Source #

Value representing the face rotation on the yaw axis.

ProjectDescription

projectDescription_creationTimestamp :: Lens' ProjectDescription (Maybe UTCTime) Source #

The Unix timestamp for the date and time that the project was created.

projectDescription_datasets :: Lens' ProjectDescription (Maybe [DatasetMetadata]) Source #

Information about the training and test datasets in the project.

projectDescription_projectArn :: Lens' ProjectDescription (Maybe Text) Source #

The Amazon Resource Name (ARN) of the project.

ProjectPolicy

projectPolicy_creationTimestamp :: Lens' ProjectPolicy (Maybe UTCTime) Source #

The Unix datetime for the creation of the project policy.

projectPolicy_lastUpdatedTimestamp :: Lens' ProjectPolicy (Maybe UTCTime) Source #

The Unix datetime for when the project policy was last updated.

projectPolicy_policyDocument :: Lens' ProjectPolicy (Maybe Text) Source #

The JSON document for the project policy.

projectPolicy_policyName :: Lens' ProjectPolicy (Maybe Text) Source #

The name of the project policy.

projectPolicy_policyRevisionId :: Lens' ProjectPolicy (Maybe Text) Source #

The revision ID of the project policy.

projectPolicy_projectArn :: Lens' ProjectPolicy (Maybe Text) Source #

The Amazon Resource Name (ARN) of the project to which the project policy is attached.

ProjectVersionDescription

projectVersionDescription_billableTrainingTimeInSeconds :: Lens' ProjectVersionDescription (Maybe Natural) Source #

The duration, in seconds, that you were billed for a successful training of the model version. This value is only returned if the model version has been successfully trained.

projectVersionDescription_creationTimestamp :: Lens' ProjectVersionDescription (Maybe UTCTime) Source #

The Unix datetime for the date and time that training started.

projectVersionDescription_evaluationResult :: Lens' ProjectVersionDescription (Maybe EvaluationResult) Source #

The training results. EvaluationResult is only returned if training is successful.

projectVersionDescription_kmsKeyId :: Lens' ProjectVersionDescription (Maybe Text) Source #

The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.

projectVersionDescription_manifestSummary :: Lens' ProjectVersionDescription (Maybe GroundTruthManifest) Source #

The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.

projectVersionDescription_maxInferenceUnits :: Lens' ProjectVersionDescription (Maybe Natural) Source #

The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model. For more information, see StartProjectVersion.

projectVersionDescription_minInferenceUnits :: Lens' ProjectVersionDescription (Maybe Natural) Source #

The minimum number of inference units used by the model. For more information, see StartProjectVersion.

projectVersionDescription_projectVersionArn :: Lens' ProjectVersionDescription (Maybe Text) Source #

The Amazon Resource Name (ARN) of the model version.

projectVersionDescription_sourceProjectVersionArn :: Lens' ProjectVersionDescription (Maybe Text) Source #

If the model version was copied from a different project, SourceProjectVersionArn contains the ARN of the source model version.

projectVersionDescription_statusMessage :: Lens' ProjectVersionDescription (Maybe Text) Source #

A descriptive message for an error or warning that occurred.

projectVersionDescription_trainingEndTimestamp :: Lens' ProjectVersionDescription (Maybe UTCTime) Source #

The Unix date and time that training of the model ended.

ProtectiveEquipmentBodyPart

protectiveEquipmentBodyPart_confidence :: Lens' ProtectiveEquipmentBodyPart (Maybe Double) Source #

The confidence that Amazon Rekognition has in the detection accuracy of the detected body part.

protectiveEquipmentBodyPart_equipmentDetections :: Lens' ProtectiveEquipmentBodyPart (Maybe [EquipmentDetection]) Source #

An array of Personal Protective Equipment items detected around a body part.

ProtectiveEquipmentPerson

protectiveEquipmentPerson_bodyParts :: Lens' ProtectiveEquipmentPerson (Maybe [ProtectiveEquipmentBodyPart]) Source #

An array of body parts detected on a person's body (including body parts without PPE).

protectiveEquipmentPerson_confidence :: Lens' ProtectiveEquipmentPerson (Maybe Double) Source #

The confidence that Amazon Rekognition has that the bounding box contains a person.

protectiveEquipmentPerson_id :: Lens' ProtectiveEquipmentPerson (Maybe Natural) Source #

The identifier for the detected person. The identifier is only unique for a single call to DetectProtectiveEquipment.

ProtectiveEquipmentSummarizationAttributes

protectiveEquipmentSummarizationAttributes_minConfidence :: Lens' ProtectiveEquipmentSummarizationAttributes Double Source #

The minimum confidence level for which you want summary information. The confidence level applies to person detection, body part detection, equipment detection, and body part coverage. Amazon Rekognition doesn't return summary information with a confidence than this specified value. There isn't a default value.

Specify a MinConfidence value that is between 50-100% as DetectProtectiveEquipment returns predictions only where the detection confidence is between 50% - 100%. If you specify a value that is less than 50%, the results are the same specifying a value of 50%.

protectiveEquipmentSummarizationAttributes_requiredEquipmentTypes :: Lens' ProtectiveEquipmentSummarizationAttributes [ProtectiveEquipmentType] Source #

An array of personal protective equipment types for which you want summary information. If a person is detected wearing a required requipment type, the person's ID is added to the PersonsWithRequiredEquipment array field returned in ProtectiveEquipmentSummary by DetectProtectiveEquipment.

ProtectiveEquipmentSummary

protectiveEquipmentSummary_personsIndeterminate :: Lens' ProtectiveEquipmentSummary (Maybe [Natural]) Source #

An array of IDs for persons where it was not possible to determine if they are wearing personal protective equipment.

protectiveEquipmentSummary_personsWithRequiredEquipment :: Lens' ProtectiveEquipmentSummary (Maybe [Natural]) Source #

An array of IDs for persons who are wearing detected personal protective equipment.

protectiveEquipmentSummary_personsWithoutRequiredEquipment :: Lens' ProtectiveEquipmentSummary (Maybe [Natural]) Source #

An array of IDs for persons who are not wearing all of the types of PPE specified in the RequiredEquipmentTypes field of the detected personal protective equipment.

RegionOfInterest

regionOfInterest_boundingBox :: Lens' RegionOfInterest (Maybe BoundingBox) Source #

The box representing a region of interest on screen.

regionOfInterest_polygon :: Lens' RegionOfInterest (Maybe [Point]) Source #

Specifies a shape made up of up to 10 Point objects to define a region of interest.

S3Destination

s3Destination_bucket :: Lens' S3Destination (Maybe Text) Source #

The name of the Amazon S3 bucket you want to associate with the streaming video project. You must be the owner of the Amazon S3 bucket.

s3Destination_keyPrefix :: Lens' S3Destination (Maybe Text) Source #

The prefix value of the location within the bucket that you want the information to be published to. For more information, see Using prefixes.

S3Object

s3Object_bucket :: Lens' S3Object (Maybe Text) Source #

Name of the S3 bucket.

s3Object_name :: Lens' S3Object (Maybe Text) Source #

S3 object key name.

s3Object_version :: Lens' S3Object (Maybe Text) Source #

If the bucket is versioning enabled, you can specify the object version.

SegmentDetection

segmentDetection_durationFrames :: Lens' SegmentDetection (Maybe Natural) Source #

The duration of a video segment, expressed in frames.

segmentDetection_durationMillis :: Lens' SegmentDetection (Maybe Natural) Source #

The duration of the detected segment in milliseconds.

segmentDetection_durationSMPTE :: Lens' SegmentDetection (Maybe Text) Source #

The duration of the timecode for the detected segment in SMPTE format.

segmentDetection_endFrameNumber :: Lens' SegmentDetection (Maybe Natural) Source #

The frame number at the end of a video segment, using a frame index that starts with 0.

segmentDetection_endTimecodeSMPTE :: Lens' SegmentDetection (Maybe Text) Source #

The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment. EndTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).

segmentDetection_endTimestampMillis :: Lens' SegmentDetection (Maybe Integer) Source #

The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.

segmentDetection_shotSegment :: Lens' SegmentDetection (Maybe ShotSegment) Source #

If the segment is a shot detection, contains information about the shot detection.

segmentDetection_startFrameNumber :: Lens' SegmentDetection (Maybe Natural) Source #

The frame number of the start of a video segment, using a frame index that starts with 0.

segmentDetection_startTimecodeSMPTE :: Lens' SegmentDetection (Maybe Text) Source #

The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment. StartTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).

segmentDetection_startTimestampMillis :: Lens' SegmentDetection (Maybe Integer) Source #

The start time of the detected segment in milliseconds from the start of the video. This value is rounded down. For example, if the actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video returns a value of 100 millis.

segmentDetection_technicalCueSegment :: Lens' SegmentDetection (Maybe TechnicalCueSegment) Source #

If the segment is a technical cue, contains information about the technical cue.

segmentDetection_type :: Lens' SegmentDetection (Maybe SegmentType) Source #

The type of the segment. Valid values are TECHNICAL_CUE and SHOT.

SegmentTypeInfo

segmentTypeInfo_modelVersion :: Lens' SegmentTypeInfo (Maybe Text) Source #

The version of the model used to detect segments.

segmentTypeInfo_type :: Lens' SegmentTypeInfo (Maybe SegmentType) Source #

The type of a segment (technical cue or shot detection).

ShotSegment

shotSegment_confidence :: Lens' ShotSegment (Maybe Double) Source #

The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.

shotSegment_index :: Lens' ShotSegment (Maybe Natural) Source #

An Identifier for a shot detection segment detected in a video.

Smile

smile_confidence :: Lens' Smile (Maybe Double) Source #

Level of confidence in the determination.

smile_value :: Lens' Smile (Maybe Bool) Source #

Boolean value that indicates whether the face is smiling or not.

StartSegmentDetectionFilters

StartShotDetectionFilter

startShotDetectionFilter_minSegmentConfidence :: Lens' StartShotDetectionFilter (Maybe Double) Source #

Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level lower than this specified value.

If you don't specify MinSegmentConfidence, the GetSegmentDetection returns segments with confidence values greater than or equal to 50 percent.

StartTechnicalCueDetectionFilter

startTechnicalCueDetectionFilter_blackFrame :: Lens' StartTechnicalCueDetectionFilter (Maybe BlackFrame) Source #

A filter that allows you to control the black frame detection by specifying the black levels and pixel coverage of black pixels in a frame. Videos can come from multiple sources, formats, and time periods, with different standards and varying noise levels for black frames that need to be accounted for.

startTechnicalCueDetectionFilter_minSegmentConfidence :: Lens' StartTechnicalCueDetectionFilter (Maybe Double) Source #

Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level lower than this specified value.

If you don't specify MinSegmentConfidence, GetSegmentDetection returns segments with confidence values greater than or equal to 50 percent.

StartTextDetectionFilters

startTextDetectionFilters_regionsOfInterest :: Lens' StartTextDetectionFilters (Maybe [RegionOfInterest]) Source #

Filter focusing on a certain area of the frame. Uses a BoundingBox object to set the region of the screen.

startTextDetectionFilters_wordFilter :: Lens' StartTextDetectionFilters (Maybe DetectionFilter) Source #

Filters focusing on qualities of the text, such as confidence or size.

StreamProcessingStartSelector

streamProcessingStartSelector_kVSStreamStartSelector :: Lens' StreamProcessingStartSelector (Maybe KinesisVideoStreamStartSelector) Source #

Specifies the starting point in the stream to start processing. This can be done with a producer timestamp or a fragment number in a Kinesis stream.

StreamProcessingStopSelector

streamProcessingStopSelector_maxDurationInSeconds :: Lens' StreamProcessingStopSelector (Maybe Natural) Source #

Specifies the maximum amount of time in seconds that you want the stream to be processed. The largest amount of time is 2 minutes. The default is 10 seconds.

StreamProcessor

streamProcessor_name :: Lens' StreamProcessor (Maybe Text) Source #

Name of the Amazon Rekognition stream processor.

streamProcessor_status :: Lens' StreamProcessor (Maybe StreamProcessorStatus) Source #

Current status of the Amazon Rekognition stream processor.

StreamProcessorDataSharingPreference

streamProcessorDataSharingPreference_optIn :: Lens' StreamProcessorDataSharingPreference Bool Source #

If this option is set to true, you choose to share data with Rekognition to improve model performance.

StreamProcessorInput

streamProcessorInput_kinesisVideoStream :: Lens' StreamProcessorInput (Maybe KinesisVideoStream) Source #

The Kinesis video stream input stream for the source streaming video.

StreamProcessorNotificationChannel

streamProcessorNotificationChannel_sNSTopicArn :: Lens' StreamProcessorNotificationChannel Text Source #

The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification Service topic to which Amazon Rekognition posts the completion status.

StreamProcessorOutput

streamProcessorOutput_kinesisDataStream :: Lens' StreamProcessorOutput (Maybe KinesisDataStream) Source #

The Amazon Kinesis Data Streams stream to which the Amazon Rekognition stream processor streams the analysis results.

streamProcessorOutput_s3Destination :: Lens' StreamProcessorOutput (Maybe S3Destination) Source #

The Amazon S3 bucket location to which Amazon Rekognition publishes the detailed inference results of a video analysis operation.

StreamProcessorSettings

StreamProcessorSettingsForUpdate

Summary

Sunglasses

sunglasses_confidence :: Lens' Sunglasses (Maybe Double) Source #

Level of confidence in the determination.

sunglasses_value :: Lens' Sunglasses (Maybe Bool) Source #

Boolean value that indicates whether the face is wearing sunglasses or not.

TechnicalCueSegment

technicalCueSegment_confidence :: Lens' TechnicalCueSegment (Maybe Double) Source #

The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.

TestingData

testingData_assets :: Lens' TestingData (Maybe [Asset]) Source #

The assets used for testing.

testingData_autoCreate :: Lens' TestingData (Maybe Bool) Source #

If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.

TestingDataResult

testingDataResult_input :: Lens' TestingDataResult (Maybe TestingData) Source #

The testing dataset that was supplied for training.

testingDataResult_output :: Lens' TestingDataResult (Maybe TestingData) Source #

The subset of the dataset that was actually tested. Some images (assets) might not be tested due to file formatting and other issues.

testingDataResult_validation :: Lens' TestingDataResult (Maybe ValidationData) Source #

The location of the data validation manifest. The data validation manifest is created for the test dataset during model training.

TextDetection

textDetection_confidence :: Lens' TextDetection (Maybe Double) Source #

The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the geometry points around the detected text.

textDetection_detectedText :: Lens' TextDetection (Maybe Text) Source #

The word or line of text recognized by Amazon Rekognition.

textDetection_geometry :: Lens' TextDetection (Maybe Geometry) Source #

The location of the detected text on the image. Includes an axis aligned coarse bounding box surrounding the text and a finer grain polygon for more accurate spatial information.

textDetection_id :: Lens' TextDetection (Maybe Natural) Source #

The identifier for the detected text. The identifier is only unique for a single call to DetectText.

textDetection_parentId :: Lens' TextDetection (Maybe Natural) Source #

The Parent identifier for the detected text identified by the value of ID. If the type of detected text is LINE, the value of ParentId is Null.

textDetection_type :: Lens' TextDetection (Maybe TextTypes) Source #

The type of text that was detected.

TextDetectionResult

textDetectionResult_timestamp :: Lens' TextDetectionResult (Maybe Integer) Source #

The time, in milliseconds from the start of the video, that the text was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the text first appears.

TrainingData

trainingData_assets :: Lens' TrainingData (Maybe [Asset]) Source #

A Sagemaker GroundTruth manifest file that contains the training images (assets).

TrainingDataResult

trainingDataResult_input :: Lens' TrainingDataResult (Maybe TrainingData) Source #

The training assets that you supplied for training.

trainingDataResult_output :: Lens' TrainingDataResult (Maybe TrainingData) Source #

The images (assets) that were actually trained by Amazon Rekognition Custom Labels.

trainingDataResult_validation :: Lens' TrainingDataResult (Maybe ValidationData) Source #

The location of the data validation manifest. The data validation manifest is created for the training dataset during model training.

UnindexedFace

unindexedFace_faceDetail :: Lens' UnindexedFace (Maybe FaceDetail) Source #

The structure that contains attributes of a face that IndexFacesdetected, but didn't index.

unindexedFace_reasons :: Lens' UnindexedFace (Maybe [Reason]) Source #

An array of reasons that specify why a face wasn't indexed.

  • EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
  • EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the MaxFaces input parameter for IndexFaces.
  • LOW_BRIGHTNESS - The image is too dark.
  • LOW_SHARPNESS - The image is too blurry.
  • LOW_CONFIDENCE - The face was detected with a low confidence.
  • SMALL_BOUNDING_BOX - The bounding box around the face is too small.

ValidationData

validationData_assets :: Lens' ValidationData (Maybe [Asset]) Source #

The assets that comprise the validation data.

Video

video_s3Object :: Lens' Video (Maybe S3Object) Source #

The Amazon S3 bucket name and file name for the video.

VideoMetadata

videoMetadata_codec :: Lens' VideoMetadata (Maybe Text) Source #

Type of compression used in the analyzed video.

videoMetadata_colorRange :: Lens' VideoMetadata (Maybe VideoColorRange) Source #

A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).

videoMetadata_durationMillis :: Lens' VideoMetadata (Maybe Natural) Source #

Length of the video in milliseconds.

videoMetadata_format :: Lens' VideoMetadata (Maybe Text) Source #

Format of the analyzed video. Possible values are MP4, MOV and AVI.

videoMetadata_frameHeight :: Lens' VideoMetadata (Maybe Natural) Source #

Vertical pixel dimension of the video.

videoMetadata_frameRate :: Lens' VideoMetadata (Maybe Double) Source #

Number of frames per second in the video.

videoMetadata_frameWidth :: Lens' VideoMetadata (Maybe Natural) Source #

Horizontal pixel dimension of the video.