API ReferenceAWSTextractITextractDocumentMetadataVersion: 2.1On this pageITextractDocumentMetadataInterface in AWS.Textract Interface for DocumentMetadata. Properties Pages property Pages: TOptional<Integer> Specifies the number of pages that are detected in the document.