libZSservicesZSamazonka-textractZSamazonka-textract
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.Textract.Types.DocumentMetadata

Description

 
Synopsis

Documentation

data DocumentMetadata Source #

Information about the input document.

See: newDocumentMetadata smart constructor.

Constructors

DocumentMetadata' 

Fields

Instances

Instances details
Eq DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

Read DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

Show DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

Generic DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

Associated Types

type Rep DocumentMetadata :: Type -> Type #

NFData DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

Methods

rnf :: DocumentMetadata -> () #

Hashable DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

FromJSON DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

type Rep DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

type Rep DocumentMetadata = D1 ('MetaData "DocumentMetadata" "Amazonka.Textract.Types.DocumentMetadata" "libZSservicesZSamazonka-textractZSamazonka-textract" 'False) (C1 ('MetaCons "DocumentMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newDocumentMetadata :: DocumentMetadata Source #

Create a value of DocumentMetadata 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:pages:DocumentMetadata', documentMetadata_pages - The number of pages that are detected in the document.

documentMetadata_pages :: Lens' DocumentMetadata (Maybe Natural) Source #

The number of pages that are detected in the document.