libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Rekognition.StartTextDetection

Description

Starts asynchronous detection of text in a stored video.

Amazon Rekognition Video can detect text in a video stored in an Amazon S3 bucket. Use Video to specify the bucket name and the filename of the video. StartTextDetection returns a job identifier (JobId) which you use to get the results of the operation. When text detection is finished, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic that you specify in NotificationChannel.

To get the results of the text detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. if so, call GetTextDetection and pass the job identifier (JobId) from the initial call to StartTextDetection.

Synopsis

Creating a Request

data StartTextDetection Source #

See: newStartTextDetection smart constructor.

Constructors

StartTextDetection' 

Fields

  • jobTag :: Maybe Text

    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.

  • filters :: Maybe StartTextDetectionFilters

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

  • notificationChannel :: Maybe NotificationChannel
     
  • clientRequestToken :: Maybe Text

    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.

  • video :: Video
     

Instances

Instances details
Eq StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

Read StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

Show StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

Generic StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

Associated Types

type Rep StartTextDetection :: Type -> Type #

NFData StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

Methods

rnf :: StartTextDetection -> () #

Hashable StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

ToJSON StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

AWSRequest StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

Associated Types

type AWSResponse StartTextDetection #

ToHeaders StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

ToPath StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

ToQuery StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

type Rep StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

type Rep StartTextDetection = D1 ('MetaData "StartTextDetection" "Amazonka.Rekognition.StartTextDetection" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "StartTextDetection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StartTextDetectionFilters))) :*: (S1 ('MetaSel ('Just "notificationChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationChannel)) :*: (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "video") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Video)))))
type AWSResponse StartTextDetection Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

newStartTextDetection Source #

Create a value of StartTextDetection with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:jobTag:StartTextDetection', startTextDetection_jobTag - 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.

$sel:filters:StartTextDetection', startTextDetection_filters - Optional parameters that let you set criteria the text must meet to be included in your response.

$sel:notificationChannel:StartTextDetection', startTextDetection_notificationChannel - Undocumented member.

$sel:clientRequestToken:StartTextDetection', startTextDetection_clientRequestToken - 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.

$sel:video:StartTextDetection', startTextDetection_video - Undocumented member.

Request Lenses

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.

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_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.

Destructuring the Response

data StartTextDetectionResponse Source #

See: newStartTextDetectionResponse smart constructor.

Constructors

StartTextDetectionResponse' 

Fields

  • jobId :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq StartTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

Read StartTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

Show StartTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

Generic StartTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

Associated Types

type Rep StartTextDetectionResponse :: Type -> Type #

NFData StartTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

type Rep StartTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartTextDetection

type Rep StartTextDetectionResponse = D1 ('MetaData "StartTextDetectionResponse" "Amazonka.Rekognition.StartTextDetection" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "StartTextDetectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartTextDetectionResponse Source #

Create a value of StartTextDetectionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:jobId:StartTextDetectionResponse', startTextDetectionResponse_jobId - Identifier for the text detection job. Use JobId to identify the job in a subsequent call to GetTextDetection.

$sel:httpStatus:StartTextDetectionResponse', startTextDetectionResponse_httpStatus - The response's http status code.

Response Lenses

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.