Learn R Programming

paws (version 0.1.12)

textract: Amazon Textract

Description

Amazon Textract detects and analyzes text in documents and converts it into machine-readable text. This is the API reference documentation for Amazon Textract.

Usage

textract(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- textract(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

analyze_documentAnalyzes an input document for relationships between detected items
detect_document_textDetects text in the input document
get_document_analysisGets the results for an Amazon Textract asynchronous operation that analyzes text in a document
get_document_text_detectionGets the results for an Amazon Textract asynchronous operation that detects text in a document
start_document_analysisStarts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements
start_document_text_detectionStarts the asynchronous detection of text in a document

Examples

Run this code
if (FALSE) {
svc <- textract()
svc$analyze_document(
  Foo = 123
)
}

Run the code above in your browser using DataLab