amazonka-textract-2.0: Amazon Textract 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.Textract.Types.DocumentLocation

Description

 
Synopsis

Documentation

data DocumentLocation Source #

The Amazon S3 bucket that contains the document to be processed. It's used by asynchronous operations.

The input document can be an image file in JPEG or PNG format. It can also be a file in PDF format.

See: newDocumentLocation smart constructor.

Constructors

DocumentLocation' 

Fields

Instances

Instances details
ToJSON DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

Generic DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

Associated Types

type Rep DocumentLocation :: Type -> Type #

Read DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

Show DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

NFData DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

Methods

rnf :: DocumentLocation -> () #

Eq DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

Hashable DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

type Rep DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

type Rep DocumentLocation = D1 ('MetaData "DocumentLocation" "Amazonka.Textract.Types.DocumentLocation" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "DocumentLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3Object") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Object))))

newDocumentLocation :: DocumentLocation Source #

Create a value of DocumentLocation 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:s3Object:DocumentLocation', documentLocation_s3Object - The Amazon S3 bucket that contains the input document.

documentLocation_s3Object :: Lens' DocumentLocation (Maybe S3Object) Source #

The Amazon S3 bucket that contains the input document.