Documentation

Overview

Package textract provides the client and types for making API requests to Amazon Textract.

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

See https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27 for more information on this service.

See textract package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/textract/

Using the Client

To contact Amazon Textract with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Textract client Textract for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/textract/#New

Index

Constants

View Source
const (
	// BlockTypeKeyValueSet is a BlockType enum value
	BlockTypeKeyValueSet = "KEY_VALUE_SET"

	// BlockTypePage is a BlockType enum value
	BlockTypePage = "PAGE"

	// BlockTypeLine is a BlockType enum value
	BlockTypeLine = "LINE"

	// BlockTypeWord is a BlockType enum value
	BlockTypeWord = "WORD"

	// BlockTypeTable is a BlockType enum value
	BlockTypeTable = "TABLE"

	// BlockTypeCell is a BlockType enum value
	BlockTypeCell = "CELL"

	// BlockTypeSelectionElement is a BlockType enum value
	BlockTypeSelectionElement = "SELECTION_ELEMENT"
)
View Source
const (
	// ContentClassifierFreeOfPersonallyIdentifiableInformation is a ContentClassifier enum value
	ContentClassifierFreeOfPersonallyIdentifiableInformation = "FreeOfPersonallyIdentifiableInformation"

	// ContentClassifierFreeOfAdultContent is a ContentClassifier enum value
	ContentClassifierFreeOfAdultContent = "FreeOfAdultContent"
)
View Source
const (
	// EntityTypeKey is a EntityType enum value
	EntityTypeKey = "KEY"

	// EntityTypeValue is a EntityType enum value
	EntityTypeValue = "VALUE"
)
View Source
const (
	// FeatureTypeTables is a FeatureType enum value
	FeatureTypeTables = "TABLES"

	// FeatureTypeForms is a FeatureType enum value
	FeatureTypeForms = "FORMS"
)
View Source
const (
	// JobStatusInProgress is a JobStatus enum value
	JobStatusInProgress = "IN_PROGRESS"

	// JobStatusSucceeded is a JobStatus enum value
	JobStatusSucceeded = "SUCCEEDED"

	// JobStatusFailed is a JobStatus enum value
	JobStatusFailed = "FAILED"

	// JobStatusPartialSuccess is a JobStatus enum value
	JobStatusPartialSuccess = "PARTIAL_SUCCESS"
)
View Source
const (
	// RelationshipTypeValue is a RelationshipType enum value
	RelationshipTypeValue = "VALUE"

	// RelationshipTypeChild is a RelationshipType enum value
	RelationshipTypeChild = "CHILD"
)
View Source
const (
	// SelectionStatusSelected is a SelectionStatus enum value
	SelectionStatusSelected = "SELECTED"

	// SelectionStatusNotSelected is a SelectionStatus enum value
	SelectionStatusNotSelected = "NOT_SELECTED"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You aren't authorized to perform the action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeBadDocumentException for service response error code
	// "BadDocumentException".
	//
	// Amazon Textract isn't able to read the document.
	ErrCodeBadDocumentException = "BadDocumentException"

	// ErrCodeDocumentTooLargeException for service response error code
	// "DocumentTooLargeException".
	//
	// The document can't be processed because it's too large. The maximum document
	// size for synchronous operations 5 MB. The maximum document size for asynchronous
	// operations is 500 MB for PDF files.
	ErrCodeDocumentTooLargeException = "DocumentTooLargeException"

	// ErrCodeHumanLoopQuotaExceededException for service response error code
	// "HumanLoopQuotaExceededException".
	//
	// Indicates you have exceeded the maximum number of active human in the loop
	// workflows available
	ErrCodeHumanLoopQuotaExceededException = "HumanLoopQuotaExceededException"

	// ErrCodeIdempotentParameterMismatchException for service response error code
	// "IdempotentParameterMismatchException".
	//
	// A ClientRequestToken input parameter was reused with an operation, but at
	// least one of the other input parameters is different from the previous call
	// to the operation.
	ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException"

	// ErrCodeInternalServerError for service response error code
	// "InternalServerError".
	//
	// Amazon Textract experienced a service issue. Try your call again.
	ErrCodeInternalServerError = "InternalServerError"

	// ErrCodeInvalidJobIdException for service response error code
	// "InvalidJobIdException".
	//
	// An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis.
	ErrCodeInvalidJobIdException = "InvalidJobIdException"

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// An input parameter violated a constraint. For example, in synchronous operations,
	// an InvalidParameterException exception occurs when neither of the S3Object
	// or Bytes values are supplied in the Document request parameter. Validate
	// your parameter before calling the API operation again.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeInvalidS3ObjectException for service response error code
	// "InvalidS3ObjectException".
	//
	// Amazon Textract is unable to access the S3 object that's specified in the
	// request.
	ErrCodeInvalidS3ObjectException = "InvalidS3ObjectException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// An Amazon Textract service limit was exceeded. For example, if you start
	// too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection,
	// for example) raise a LimitExceededException exception (HTTP status code:
	// 400) until the number of concurrently running jobs is below the Amazon Textract
	// service limit.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeProvisionedThroughputExceededException for service response error code
	// "ProvisionedThroughputExceededException".
	//
	// The number of requests exceeded your throughput limit. If you want to increase
	// this limit, contact Amazon Textract.
	ErrCodeProvisionedThroughputExceededException = "ProvisionedThroughputExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// Amazon Textract is temporarily unable to process the request. Try your call
	// again.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeUnsupportedDocumentException for service response error code
	// "UnsupportedDocumentException".
	//
	// The format of the input document isn't supported. Documents for synchronous
	// operations can be in PNG or JPEG format. Documents for asynchronous operations
	// can also be in PDF format.
	ErrCodeUnsupportedDocumentException = "UnsupportedDocumentException"
)
View Source
const (
	ServiceName = "Textract" // Name of service.
	EndpointsID = "textract" // ID to lookup a service endpoint with.
	ServiceID   = "Textract" // ServiceID is a unique identifier of a specific service.
)

    Service information constants

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type AccessDeniedException

    type AccessDeniedException struct {
    	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
    
    	Message_ *string `locationName:"message" type:"string"`
    	// contains filtered or unexported fields
    }

      You aren't authorized to perform the action.

      func (*AccessDeniedException) Code

      func (s *AccessDeniedException) Code() string

        Code returns the exception type name.

        func (*AccessDeniedException) Error

        func (s *AccessDeniedException) Error() string

        func (AccessDeniedException) GoString

        func (s AccessDeniedException) GoString() string

          GoString returns the string representation

          func (*AccessDeniedException) Message

          func (s *AccessDeniedException) Message() string

            Message returns the exception's message.

            func (*AccessDeniedException) OrigErr

            func (s *AccessDeniedException) OrigErr() error

              OrigErr always returns nil, satisfies awserr.Error interface.

              func (*AccessDeniedException) RequestID

              func (s *AccessDeniedException) RequestID() string

                RequestID returns the service's response RequestID for request.

                func (*AccessDeniedException) StatusCode

                func (s *AccessDeniedException) StatusCode() int

                  Status code returns the HTTP status code for the request's response error.

                  func (AccessDeniedException) String

                  func (s AccessDeniedException) String() string

                    String returns the string representation

                    type AnalyzeDocumentInput

                    type AnalyzeDocumentInput struct {
                    
                    	// The input document as base64-encoded bytes or an Amazon S3 object. If you
                    	// use the AWS CLI to call Amazon Textract operations, you can't pass image
                    	// bytes. The document must be an image in JPEG or PNG format.
                    	//
                    	// If you're using an AWS SDK to call Amazon Textract, you might not need to
                    	// base64-encode image bytes that are passed using the Bytes field.
                    	//
                    	// Document is a required field
                    	Document *Document `type:"structure" required:"true"`
                    
                    	// A list of the types of analysis to perform. Add TABLES to the list to return
                    	// information about the tables that are detected in the input document. Add
                    	// FORMS to return detected form data. To perform both types of analysis, add
                    	// TABLES and FORMS to FeatureTypes. All lines and words detected in the document
                    	// are included in the response (including text that isn't related to the value
                    	// of FeatureTypes).
                    	//
                    	// FeatureTypes is a required field
                    	FeatureTypes []*string `type:"list" required:"true"`
                    
                    	// Sets the configuration for the human in the loop workflow for analyzing documents.
                    	HumanLoopConfig *HumanLoopConfig `type:"structure"`
                    	// contains filtered or unexported fields
                    }

                    func (AnalyzeDocumentInput) GoString

                    func (s AnalyzeDocumentInput) GoString() string

                      GoString returns the string representation

                      func (*AnalyzeDocumentInput) SetDocument

                        SetDocument sets the Document field's value.

                        func (*AnalyzeDocumentInput) SetFeatureTypes

                        func (s *AnalyzeDocumentInput) SetFeatureTypes(v []*string) *AnalyzeDocumentInput

                          SetFeatureTypes sets the FeatureTypes field's value.

                          func (*AnalyzeDocumentInput) SetHumanLoopConfig

                          func (s *AnalyzeDocumentInput) SetHumanLoopConfig(v *HumanLoopConfig) *AnalyzeDocumentInput

                            SetHumanLoopConfig sets the HumanLoopConfig field's value.

                            func (AnalyzeDocumentInput) String

                            func (s AnalyzeDocumentInput) String() string

                              String returns the string representation

                              func (*AnalyzeDocumentInput) Validate

                              func (s *AnalyzeDocumentInput) Validate() error

                                Validate inspects the fields of the type to determine if they are valid.

                                type AnalyzeDocumentOutput

                                type AnalyzeDocumentOutput struct {
                                
                                	// The version of the model used to analyze the document.
                                	AnalyzeDocumentModelVersion *string `type:"string"`
                                
                                	// The items that are detected and analyzed by AnalyzeDocument.
                                	Blocks []*Block `type:"list"`
                                
                                	// Metadata about the analyzed document. An example is the number of pages.
                                	DocumentMetadata *DocumentMetadata `type:"structure"`
                                
                                	// Shows the results of the human in the loop evaluation.
                                	HumanLoopActivationOutput *HumanLoopActivationOutput `type:"structure"`
                                	// contains filtered or unexported fields
                                }

                                func (AnalyzeDocumentOutput) GoString

                                func (s AnalyzeDocumentOutput) GoString() string

                                  GoString returns the string representation

                                  func (*AnalyzeDocumentOutput) SetAnalyzeDocumentModelVersion

                                  func (s *AnalyzeDocumentOutput) SetAnalyzeDocumentModelVersion(v string) *AnalyzeDocumentOutput

                                    SetAnalyzeDocumentModelVersion sets the AnalyzeDocumentModelVersion field's value.

                                    func (*AnalyzeDocumentOutput) SetBlocks

                                      SetBlocks sets the Blocks field's value.

                                      func (*AnalyzeDocumentOutput) SetDocumentMetadata

                                      func (s *AnalyzeDocumentOutput) SetDocumentMetadata(v *DocumentMetadata) *AnalyzeDocumentOutput

                                        SetDocumentMetadata sets the DocumentMetadata field's value.

                                        func (*AnalyzeDocumentOutput) SetHumanLoopActivationOutput

                                        func (s *AnalyzeDocumentOutput) SetHumanLoopActivationOutput(v *HumanLoopActivationOutput) *AnalyzeDocumentOutput

                                          SetHumanLoopActivationOutput sets the HumanLoopActivationOutput field's value.

                                          func (AnalyzeDocumentOutput) String

                                          func (s AnalyzeDocumentOutput) String() string

                                            String returns the string representation

                                            type BadDocumentException

                                            type BadDocumentException struct {
                                            	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                            
                                            	Message_ *string `locationName:"message" type:"string"`
                                            	// contains filtered or unexported fields
                                            }

                                              Amazon Textract isn't able to read the document.

                                              func (*BadDocumentException) Code

                                              func (s *BadDocumentException) Code() string

                                                Code returns the exception type name.

                                                func (*BadDocumentException) Error

                                                func (s *BadDocumentException) Error() string

                                                func (BadDocumentException) GoString

                                                func (s BadDocumentException) GoString() string

                                                  GoString returns the string representation

                                                  func (*BadDocumentException) Message

                                                  func (s *BadDocumentException) Message() string

                                                    Message returns the exception's message.

                                                    func (*BadDocumentException) OrigErr

                                                    func (s *BadDocumentException) OrigErr() error

                                                      OrigErr always returns nil, satisfies awserr.Error interface.

                                                      func (*BadDocumentException) RequestID

                                                      func (s *BadDocumentException) RequestID() string

                                                        RequestID returns the service's response RequestID for request.

                                                        func (*BadDocumentException) StatusCode

                                                        func (s *BadDocumentException) StatusCode() int

                                                          Status code returns the HTTP status code for the request's response error.

                                                          func (BadDocumentException) String

                                                          func (s BadDocumentException) String() string

                                                            String returns the string representation

                                                            type Block

                                                            type Block struct {
                                                            
                                                            	// The type of text item that's recognized. In operations for text detection,
                                                            	// the following types are returned:
                                                            	//
                                                            	//    * PAGE - Contains a list of the LINE Block objects that are detected on
                                                            	//    a document page.
                                                            	//
                                                            	//    * WORD - A word detected on a document page. A word is one or more ISO
                                                            	//    basic Latin script characters that aren't separated by spaces.
                                                            	//
                                                            	//    * LINE - A string of tab-delimited, contiguous words that are detected
                                                            	//    on a document page.
                                                            	//
                                                            	// In text analysis operations, the following types are returned:
                                                            	//
                                                            	//    * PAGE - Contains a list of child Block objects that are detected on a
                                                            	//    document page.
                                                            	//
                                                            	//    * KEY_VALUE_SET - Stores the KEY and VALUE Block objects for linked text
                                                            	//    that's detected on a document page. Use the EntityType field to determine
                                                            	//    if a KEY_VALUE_SET object is a KEY Block object or a VALUE Block object.
                                                            	//
                                                            	//    * WORD - A word that's detected on a document page. A word is one or more
                                                            	//    ISO basic Latin script characters that aren't separated by spaces.
                                                            	//
                                                            	//    * LINE - A string of tab-delimited, contiguous words that are detected
                                                            	//    on a document page.
                                                            	//
                                                            	//    * TABLE - A table that's detected on a document page. A table is grid-based
                                                            	//    information with two or more rows or columns, with a cell span of one
                                                            	//    row and one column each.
                                                            	//
                                                            	//    * CELL - A cell within a detected table. The cell is the parent of the
                                                            	//    block that contains the text in the cell.
                                                            	//
                                                            	//    * SELECTION_ELEMENT - A selection element such as an option button (radio
                                                            	//    button) or a check box that's detected on a document page. Use the value
                                                            	//    of SelectionStatus to determine the status of the selection element.
                                                            	BlockType *string `type:"string" enum:"BlockType"`
                                                            
                                                            	// The column in which a table cell appears. The first column position is 1.
                                                            	// ColumnIndex isn't returned by DetectDocumentText and GetDocumentTextDetection.
                                                            	ColumnIndex *int64 `type:"integer"`
                                                            
                                                            	// The number of columns that a table cell spans. Currently this value is always
                                                            	// 1, even if the number of columns spanned is greater than 1. ColumnSpan isn't
                                                            	// returned by DetectDocumentText and GetDocumentTextDetection.
                                                            	ColumnSpan *int64 `type:"integer"`
                                                            
                                                            	// The confidence score that Amazon Textract has in the accuracy of the recognized
                                                            	// text and the accuracy of the geometry points around the recognized text.
                                                            	Confidence *float64 `type:"float"`
                                                            
                                                            	// The type of entity. The following can be returned:
                                                            	//
                                                            	//    * KEY - An identifier for a field on the document.
                                                            	//
                                                            	//    * VALUE - The field text.
                                                            	//
                                                            	// EntityTypes isn't returned by DetectDocumentText and GetDocumentTextDetection.
                                                            	EntityTypes []*string `type:"list"`
                                                            
                                                            	// The location of the recognized text on the image. It includes an axis-aligned,
                                                            	// coarse bounding box that surrounds the text, and a finer-grain polygon for
                                                            	// more accurate spatial information.
                                                            	Geometry *Geometry `type:"structure"`
                                                            
                                                            	// The identifier for the recognized text. The identifier is only unique for
                                                            	// a single operation.
                                                            	Id *string `type:"string"`
                                                            
                                                            	// The page on which a block was detected. Page is returned by asynchronous
                                                            	// operations. Page values greater than 1 are only returned for multipage documents
                                                            	// that are in PDF format. A scanned image (JPEG/PNG), even if it contains multiple
                                                            	// document pages, is considered to be a single-page document. The value of
                                                            	// Page is always 1. Synchronous operations don't return Page because every
                                                            	// input document is considered to be a single-page document.
                                                            	Page *int64 `type:"integer"`
                                                            
                                                            	// A list of child blocks of the current block. For example, a LINE object has
                                                            	// child blocks for each WORD block that's part of the line of text. There aren't
                                                            	// Relationship objects in the list for relationships that don't exist, such
                                                            	// as when the current block has no child blocks. The list size can be the following:
                                                            	//
                                                            	//    * 0 - The block has no child blocks.
                                                            	//
                                                            	//    * 1 - The block has child blocks.
                                                            	Relationships []*Relationship `type:"list"`
                                                            
                                                            	// The row in which a table cell is located. The first row position is 1. RowIndex
                                                            	// isn't returned by DetectDocumentText and GetDocumentTextDetection.
                                                            	RowIndex *int64 `type:"integer"`
                                                            
                                                            	// The number of rows that a table cell spans. Currently this value is always
                                                            	// 1, even if the number of rows spanned is greater than 1. RowSpan isn't returned
                                                            	// by DetectDocumentText and GetDocumentTextDetection.
                                                            	RowSpan *int64 `type:"integer"`
                                                            
                                                            	// The selection status of a selection element, such as an option button or
                                                            	// check box.
                                                            	SelectionStatus *string `type:"string" enum:"SelectionStatus"`
                                                            
                                                            	// The word or line of text that's recognized by Amazon Textract.
                                                            	Text *string `type:"string"`
                                                            	// contains filtered or unexported fields
                                                            }

                                                              A Block represents items that are recognized in a document within a group of pixels close to each other. The information returned in a Block object depends on the type of operation. In text detection for documents (for example DetectDocumentText), you get information about the detected words and lines of text. In text analysis (for example AnalyzeDocument), you can also get information about the fields, tables, and selection elements that are detected in the document.

                                                              An array of Block objects is returned by both synchronous and asynchronous operations. In synchronous operations, such as DetectDocumentText, the array of Block objects is the entire set of results. In asynchronous operations, such as GetDocumentAnalysis, the array is returned over one or more responses.

                                                              For more information, see How Amazon Textract Works (https://docs.aws.amazon.com/textract/latest/dg/how-it-works.html).

                                                              func (Block) GoString

                                                              func (s Block) GoString() string

                                                                GoString returns the string representation

                                                                func (*Block) SetBlockType

                                                                func (s *Block) SetBlockType(v string) *Block

                                                                  SetBlockType sets the BlockType field's value.

                                                                  func (*Block) SetColumnIndex

                                                                  func (s *Block) SetColumnIndex(v int64) *Block

                                                                    SetColumnIndex sets the ColumnIndex field's value.

                                                                    func (*Block) SetColumnSpan

                                                                    func (s *Block) SetColumnSpan(v int64) *Block

                                                                      SetColumnSpan sets the ColumnSpan field's value.

                                                                      func (*Block) SetConfidence

                                                                      func (s *Block) SetConfidence(v float64) *Block

                                                                        SetConfidence sets the Confidence field's value.

                                                                        func (*Block) SetEntityTypes

                                                                        func (s *Block) SetEntityTypes(v []*string) *Block

                                                                          SetEntityTypes sets the EntityTypes field's value.

                                                                          func (*Block) SetGeometry

                                                                          func (s *Block) SetGeometry(v *Geometry) *Block

                                                                            SetGeometry sets the Geometry field's value.

                                                                            func (*Block) SetId

                                                                            func (s *Block) SetId(v string) *Block

                                                                              SetId sets the Id field's value.

                                                                              func (*Block) SetPage

                                                                              func (s *Block) SetPage(v int64) *Block

                                                                                SetPage sets the Page field's value.

                                                                                func (*Block) SetRelationships

                                                                                func (s *Block) SetRelationships(v []*Relationship) *Block

                                                                                  SetRelationships sets the Relationships field's value.

                                                                                  func (*Block) SetRowIndex

                                                                                  func (s *Block) SetRowIndex(v int64) *Block

                                                                                    SetRowIndex sets the RowIndex field's value.

                                                                                    func (*Block) SetRowSpan

                                                                                    func (s *Block) SetRowSpan(v int64) *Block

                                                                                      SetRowSpan sets the RowSpan field's value.

                                                                                      func (*Block) SetSelectionStatus

                                                                                      func (s *Block) SetSelectionStatus(v string) *Block

                                                                                        SetSelectionStatus sets the SelectionStatus field's value.

                                                                                        func (*Block) SetText

                                                                                        func (s *Block) SetText(v string) *Block

                                                                                          SetText sets the Text field's value.

                                                                                          func (Block) String

                                                                                          func (s Block) String() string

                                                                                            String returns the string representation

                                                                                            type BoundingBox

                                                                                            type BoundingBox struct {
                                                                                            
                                                                                            	// The height of the bounding box as a ratio of the overall document page height.
                                                                                            	Height *float64 `type:"float"`
                                                                                            
                                                                                            	// The left coordinate of the bounding box as a ratio of overall document page
                                                                                            	// width.
                                                                                            	Left *float64 `type:"float"`
                                                                                            
                                                                                            	// The top coordinate of the bounding box as a ratio of overall document page
                                                                                            	// height.
                                                                                            	Top *float64 `type:"float"`
                                                                                            
                                                                                            	// The width of the bounding box as a ratio of the overall document page width.
                                                                                            	Width *float64 `type:"float"`
                                                                                            	// contains filtered or unexported fields
                                                                                            }

                                                                                              The bounding box around the detected page, text, key-value pair, table, table cell, or selection element on a document page. The left (x-coordinate) and top (y-coordinate) are coordinates that represent the top and left sides of the bounding box. Note that the upper-left corner of the image is the origin (0,0).

                                                                                              The top and left values returned are ratios of the overall document page size. For example, if the input image is 700 x 200 pixels, and the top-left coordinate of the bounding box is 350 x 50 pixels, the API returns a left value of 0.5 (350/700) and a top value of 0.25 (50/200).

                                                                                              The width and height values represent the dimensions of the bounding box as a ratio of the overall document page dimension. For example, if the document page size is 700 x 200 pixels, and the bounding box width is 70 pixels, the width returned is 0.1.

                                                                                              func (BoundingBox) GoString

                                                                                              func (s BoundingBox) GoString() string

                                                                                                GoString returns the string representation

                                                                                                func (*BoundingBox) SetHeight

                                                                                                func (s *BoundingBox) SetHeight(v float64) *BoundingBox

                                                                                                  SetHeight sets the Height field's value.

                                                                                                  func (*BoundingBox) SetLeft

                                                                                                  func (s *BoundingBox) SetLeft(v float64) *BoundingBox

                                                                                                    SetLeft sets the Left field's value.

                                                                                                    func (*BoundingBox) SetTop

                                                                                                    func (s *BoundingBox) SetTop(v float64) *BoundingBox

                                                                                                      SetTop sets the Top field's value.

                                                                                                      func (*BoundingBox) SetWidth

                                                                                                      func (s *BoundingBox) SetWidth(v float64) *BoundingBox

                                                                                                        SetWidth sets the Width field's value.

                                                                                                        func (BoundingBox) String

                                                                                                        func (s BoundingBox) String() string

                                                                                                          String returns the string representation

                                                                                                          type DetectDocumentTextInput

                                                                                                          type DetectDocumentTextInput struct {
                                                                                                          
                                                                                                          	// The input document as base64-encoded bytes or an Amazon S3 object. If you
                                                                                                          	// use the AWS CLI to call Amazon Textract operations, you can't pass image
                                                                                                          	// bytes. The document must be an image in JPEG or PNG format.
                                                                                                          	//
                                                                                                          	// If you're using an AWS SDK to call Amazon Textract, you might not need to
                                                                                                          	// base64-encode image bytes that are passed using the Bytes field.
                                                                                                          	//
                                                                                                          	// Document is a required field
                                                                                                          	Document *Document `type:"structure" required:"true"`
                                                                                                          	// contains filtered or unexported fields
                                                                                                          }

                                                                                                          func (DetectDocumentTextInput) GoString

                                                                                                          func (s DetectDocumentTextInput) GoString() string

                                                                                                            GoString returns the string representation

                                                                                                            func (*DetectDocumentTextInput) SetDocument

                                                                                                              SetDocument sets the Document field's value.

                                                                                                              func (DetectDocumentTextInput) String

                                                                                                              func (s DetectDocumentTextInput) String() string

                                                                                                                String returns the string representation

                                                                                                                func (*DetectDocumentTextInput) Validate

                                                                                                                func (s *DetectDocumentTextInput) Validate() error

                                                                                                                  Validate inspects the fields of the type to determine if they are valid.

                                                                                                                  type DetectDocumentTextOutput

                                                                                                                  type DetectDocumentTextOutput struct {
                                                                                                                  
                                                                                                                  	// An array of Block objects that contain the text that's detected in the document.
                                                                                                                  	Blocks []*Block `type:"list"`
                                                                                                                  
                                                                                                                  	DetectDocumentTextModelVersion *string `type:"string"`
                                                                                                                  
                                                                                                                  	// Metadata about the document. It contains the number of pages that are detected
                                                                                                                  	// in the document.
                                                                                                                  	DocumentMetadata *DocumentMetadata `type:"structure"`
                                                                                                                  	// contains filtered or unexported fields
                                                                                                                  }

                                                                                                                  func (DetectDocumentTextOutput) GoString

                                                                                                                  func (s DetectDocumentTextOutput) GoString() string

                                                                                                                    GoString returns the string representation

                                                                                                                    func (*DetectDocumentTextOutput) SetBlocks

                                                                                                                      SetBlocks sets the Blocks field's value.

                                                                                                                      func (*DetectDocumentTextOutput) SetDetectDocumentTextModelVersion

                                                                                                                      func (s *DetectDocumentTextOutput) SetDetectDocumentTextModelVersion(v string) *DetectDocumentTextOutput

                                                                                                                        SetDetectDocumentTextModelVersion sets the DetectDocumentTextModelVersion field's value.

                                                                                                                        func (*DetectDocumentTextOutput) SetDocumentMetadata

                                                                                                                          SetDocumentMetadata sets the DocumentMetadata field's value.

                                                                                                                          func (DetectDocumentTextOutput) String

                                                                                                                          func (s DetectDocumentTextOutput) String() string

                                                                                                                            String returns the string representation

                                                                                                                            type Document

                                                                                                                            type Document struct {
                                                                                                                            
                                                                                                                            	// A blob of base64-encoded document bytes. The maximum size of a document that's
                                                                                                                            	// provided in a blob of bytes is 5 MB. The document bytes must be in PNG or
                                                                                                                            	// JPEG format.
                                                                                                                            	//
                                                                                                                            	// If you're using an AWS SDK to call Amazon Textract, you might not need to
                                                                                                                            	// base64-encode image bytes passed using the Bytes field.
                                                                                                                            	//
                                                                                                                            	// Bytes is automatically base64 encoded/decoded by the SDK.
                                                                                                                            	Bytes []byte `min:"1" type:"blob"`
                                                                                                                            
                                                                                                                            	// Identifies an S3 object as the document source. The maximum size of a document
                                                                                                                            	// that's stored in an S3 bucket is 5 MB.
                                                                                                                            	S3Object *S3Object `type:"structure"`
                                                                                                                            	// contains filtered or unexported fields
                                                                                                                            }

                                                                                                                              The input document, either as bytes or as an S3 object.

                                                                                                                              You pass image bytes to an Amazon Textract API operation by using the Bytes property. For example, you would use the Bytes property to pass a document loaded from a local file system. Image bytes passed by using the Bytes property must be base64 encoded. Your code might not need to encode document file bytes if you're using an AWS SDK to call Amazon Textract API operations.

                                                                                                                              You pass images stored in an S3 bucket to an Amazon Textract API operation by using the S3Object property. Documents stored in an S3 bucket don't need to be base64 encoded.

                                                                                                                              The AWS Region for the S3 bucket that contains the S3 object must match the AWS Region that you use for Amazon Textract operations.

                                                                                                                              If you use the AWS CLI to call Amazon Textract operations, passing image bytes using the Bytes property isn't supported. You must first upload the document to an Amazon S3 bucket, and then call the operation using the S3Object property.

                                                                                                                              For Amazon Textract to process an S3 object, the user must have permission to access the S3 object.

                                                                                                                              func (Document) GoString

                                                                                                                              func (s Document) GoString() string

                                                                                                                                GoString returns the string representation

                                                                                                                                func (*Document) SetBytes

                                                                                                                                func (s *Document) SetBytes(v []byte) *Document

                                                                                                                                  SetBytes sets the Bytes field's value.

                                                                                                                                  func (*Document) SetS3Object

                                                                                                                                  func (s *Document) SetS3Object(v *S3Object) *Document

                                                                                                                                    SetS3Object sets the S3Object field's value.

                                                                                                                                    func (Document) String

                                                                                                                                    func (s Document) String() string

                                                                                                                                      String returns the string representation

                                                                                                                                      func (*Document) Validate

                                                                                                                                      func (s *Document) Validate() error

                                                                                                                                        Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                        type DocumentLocation

                                                                                                                                        type DocumentLocation struct {
                                                                                                                                        
                                                                                                                                        	// The Amazon S3 bucket that contains the input document.
                                                                                                                                        	S3Object *S3Object `type:"structure"`
                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                        }

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

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

                                                                                                                                          func (DocumentLocation) GoString

                                                                                                                                          func (s DocumentLocation) GoString() string

                                                                                                                                            GoString returns the string representation

                                                                                                                                            func (*DocumentLocation) SetS3Object

                                                                                                                                            func (s *DocumentLocation) SetS3Object(v *S3Object) *DocumentLocation

                                                                                                                                              SetS3Object sets the S3Object field's value.

                                                                                                                                              func (DocumentLocation) String

                                                                                                                                              func (s DocumentLocation) String() string

                                                                                                                                                String returns the string representation

                                                                                                                                                func (*DocumentLocation) Validate

                                                                                                                                                func (s *DocumentLocation) Validate() error

                                                                                                                                                  Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                  type DocumentMetadata

                                                                                                                                                  type DocumentMetadata struct {
                                                                                                                                                  
                                                                                                                                                  	// The number of pages that are detected in the document.
                                                                                                                                                  	Pages *int64 `type:"integer"`
                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                  }

                                                                                                                                                    Information about the input document.

                                                                                                                                                    func (DocumentMetadata) GoString

                                                                                                                                                    func (s DocumentMetadata) GoString() string

                                                                                                                                                      GoString returns the string representation

                                                                                                                                                      func (*DocumentMetadata) SetPages

                                                                                                                                                      func (s *DocumentMetadata) SetPages(v int64) *DocumentMetadata

                                                                                                                                                        SetPages sets the Pages field's value.

                                                                                                                                                        func (DocumentMetadata) String

                                                                                                                                                        func (s DocumentMetadata) String() string

                                                                                                                                                          String returns the string representation

                                                                                                                                                          type DocumentTooLargeException

                                                                                                                                                          type DocumentTooLargeException struct {
                                                                                                                                                          	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                          
                                                                                                                                                          	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                          }

                                                                                                                                                            The document can't be processed because it's too large. The maximum document size for synchronous operations 5 MB. The maximum document size for asynchronous operations is 500 MB for PDF files.

                                                                                                                                                            func (*DocumentTooLargeException) Code

                                                                                                                                                              Code returns the exception type name.

                                                                                                                                                              func (*DocumentTooLargeException) Error

                                                                                                                                                              func (s *DocumentTooLargeException) Error() string

                                                                                                                                                              func (DocumentTooLargeException) GoString

                                                                                                                                                              func (s DocumentTooLargeException) GoString() string

                                                                                                                                                                GoString returns the string representation

                                                                                                                                                                func (*DocumentTooLargeException) Message

                                                                                                                                                                func (s *DocumentTooLargeException) Message() string

                                                                                                                                                                  Message returns the exception's message.

                                                                                                                                                                  func (*DocumentTooLargeException) OrigErr

                                                                                                                                                                  func (s *DocumentTooLargeException) OrigErr() error

                                                                                                                                                                    OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                    func (*DocumentTooLargeException) RequestID

                                                                                                                                                                    func (s *DocumentTooLargeException) RequestID() string

                                                                                                                                                                      RequestID returns the service's response RequestID for request.

                                                                                                                                                                      func (*DocumentTooLargeException) StatusCode

                                                                                                                                                                      func (s *DocumentTooLargeException) StatusCode() int

                                                                                                                                                                        Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                        func (DocumentTooLargeException) String

                                                                                                                                                                        func (s DocumentTooLargeException) String() string

                                                                                                                                                                          String returns the string representation

                                                                                                                                                                          type Geometry

                                                                                                                                                                          type Geometry struct {
                                                                                                                                                                          
                                                                                                                                                                          	// An axis-aligned coarse representation of the location of the recognized item
                                                                                                                                                                          	// on the document page.
                                                                                                                                                                          	BoundingBox *BoundingBox `type:"structure"`
                                                                                                                                                                          
                                                                                                                                                                          	// Within the bounding box, a fine-grained polygon around the recognized item.
                                                                                                                                                                          	Polygon []*Point `type:"list"`
                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                          }

                                                                                                                                                                            Information about where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.

                                                                                                                                                                            func (Geometry) GoString

                                                                                                                                                                            func (s Geometry) GoString() string

                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                              func (*Geometry) SetBoundingBox

                                                                                                                                                                              func (s *Geometry) SetBoundingBox(v *BoundingBox) *Geometry

                                                                                                                                                                                SetBoundingBox sets the BoundingBox field's value.

                                                                                                                                                                                func (*Geometry) SetPolygon

                                                                                                                                                                                func (s *Geometry) SetPolygon(v []*Point) *Geometry

                                                                                                                                                                                  SetPolygon sets the Polygon field's value.

                                                                                                                                                                                  func (Geometry) String

                                                                                                                                                                                  func (s Geometry) String() string

                                                                                                                                                                                    String returns the string representation

                                                                                                                                                                                    type GetDocumentAnalysisInput

                                                                                                                                                                                    type GetDocumentAnalysisInput struct {
                                                                                                                                                                                    
                                                                                                                                                                                    	// A unique identifier for the text-detection job. The JobId is returned from
                                                                                                                                                                                    	// StartDocumentAnalysis. A JobId value is only valid for 7 days.
                                                                                                                                                                                    	//
                                                                                                                                                                                    	// JobId is a required field
                                                                                                                                                                                    	JobId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// The maximum number of results to return per paginated call. The largest value
                                                                                                                                                                                    	// that you can specify is 1,000. If you specify a value greater than 1,000,
                                                                                                                                                                                    	// a maximum of 1,000 results is returned. The default value is 1,000.
                                                                                                                                                                                    	MaxResults *int64 `min:"1" type:"integer"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// If the previous response was incomplete (because there are more blocks to
                                                                                                                                                                                    	// retrieve), Amazon Textract returns a pagination token in the response. You
                                                                                                                                                                                    	// can use this pagination token to retrieve the next set of blocks.
                                                                                                                                                                                    	NextToken *string `min:"1" type:"string"`
                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                    }

                                                                                                                                                                                    func (GetDocumentAnalysisInput) GoString

                                                                                                                                                                                    func (s GetDocumentAnalysisInput) GoString() string

                                                                                                                                                                                      GoString returns the string representation

                                                                                                                                                                                      func (*GetDocumentAnalysisInput) SetJobId

                                                                                                                                                                                        SetJobId sets the JobId field's value.

                                                                                                                                                                                        func (*GetDocumentAnalysisInput) SetMaxResults

                                                                                                                                                                                          SetMaxResults sets the MaxResults field's value.

                                                                                                                                                                                          func (*GetDocumentAnalysisInput) SetNextToken

                                                                                                                                                                                            SetNextToken sets the NextToken field's value.

                                                                                                                                                                                            func (GetDocumentAnalysisInput) String

                                                                                                                                                                                            func (s GetDocumentAnalysisInput) String() string

                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                              func (*GetDocumentAnalysisInput) Validate

                                                                                                                                                                                              func (s *GetDocumentAnalysisInput) Validate() error

                                                                                                                                                                                                Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                type GetDocumentAnalysisOutput

                                                                                                                                                                                                type GetDocumentAnalysisOutput struct {
                                                                                                                                                                                                	AnalyzeDocumentModelVersion *string `type:"string"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// The results of the text-analysis operation.
                                                                                                                                                                                                	Blocks []*Block `type:"list"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// Information about a document that Amazon Textract processed. DocumentMetadata
                                                                                                                                                                                                	// is returned in every page of paginated responses from an Amazon Textract
                                                                                                                                                                                                	// video operation.
                                                                                                                                                                                                	DocumentMetadata *DocumentMetadata `type:"structure"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// The current status of the text detection job.
                                                                                                                                                                                                	JobStatus *string `type:"string" enum:"JobStatus"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// If the response is truncated, Amazon Textract returns this token. You can
                                                                                                                                                                                                	// use this token in the subsequent request to retrieve the next set of text
                                                                                                                                                                                                	// detection results.
                                                                                                                                                                                                	NextToken *string `min:"1" type:"string"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// The current status of an asynchronous document-analysis operation.
                                                                                                                                                                                                	StatusMessage *string `type:"string"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// A list of warnings that occurred during the document-analysis operation.
                                                                                                                                                                                                	Warnings []*Warning `type:"list"`
                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                }

                                                                                                                                                                                                func (GetDocumentAnalysisOutput) GoString

                                                                                                                                                                                                func (s GetDocumentAnalysisOutput) GoString() string

                                                                                                                                                                                                  GoString returns the string representation

                                                                                                                                                                                                  func (*GetDocumentAnalysisOutput) SetAnalyzeDocumentModelVersion

                                                                                                                                                                                                  func (s *GetDocumentAnalysisOutput) SetAnalyzeDocumentModelVersion(v string) *GetDocumentAnalysisOutput

                                                                                                                                                                                                    SetAnalyzeDocumentModelVersion sets the AnalyzeDocumentModelVersion field's value.

                                                                                                                                                                                                    func (*GetDocumentAnalysisOutput) SetBlocks

                                                                                                                                                                                                      SetBlocks sets the Blocks field's value.

                                                                                                                                                                                                      func (*GetDocumentAnalysisOutput) SetDocumentMetadata

                                                                                                                                                                                                        SetDocumentMetadata sets the DocumentMetadata field's value.

                                                                                                                                                                                                        func (*GetDocumentAnalysisOutput) SetJobStatus

                                                                                                                                                                                                          SetJobStatus sets the JobStatus field's value.

                                                                                                                                                                                                          func (*GetDocumentAnalysisOutput) SetNextToken

                                                                                                                                                                                                            SetNextToken sets the NextToken field's value.

                                                                                                                                                                                                            func (*GetDocumentAnalysisOutput) SetStatusMessage

                                                                                                                                                                                                              SetStatusMessage sets the StatusMessage field's value.

                                                                                                                                                                                                              func (*GetDocumentAnalysisOutput) SetWarnings

                                                                                                                                                                                                                SetWarnings sets the Warnings field's value.

                                                                                                                                                                                                                func (GetDocumentAnalysisOutput) String

                                                                                                                                                                                                                func (s GetDocumentAnalysisOutput) String() string

                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                  type GetDocumentTextDetectionInput

                                                                                                                                                                                                                  type GetDocumentTextDetectionInput struct {
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// A unique identifier for the text detection job. The JobId is returned from
                                                                                                                                                                                                                  	// StartDocumentTextDetection. A JobId value is only valid for 7 days.
                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                  	// JobId is a required field
                                                                                                                                                                                                                  	JobId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// The maximum number of results to return per paginated call. The largest value
                                                                                                                                                                                                                  	// you can specify is 1,000. If you specify a value greater than 1,000, a maximum
                                                                                                                                                                                                                  	// of 1,000 results is returned. The default value is 1,000.
                                                                                                                                                                                                                  	MaxResults *int64 `min:"1" type:"integer"`
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// If the previous response was incomplete (because there are more blocks to
                                                                                                                                                                                                                  	// retrieve), Amazon Textract returns a pagination token in the response. You
                                                                                                                                                                                                                  	// can use this pagination token to retrieve the next set of blocks.
                                                                                                                                                                                                                  	NextToken *string `min:"1" type:"string"`
                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                  }

                                                                                                                                                                                                                  func (GetDocumentTextDetectionInput) GoString

                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                    func (*GetDocumentTextDetectionInput) SetJobId

                                                                                                                                                                                                                      SetJobId sets the JobId field's value.

                                                                                                                                                                                                                      func (*GetDocumentTextDetectionInput) SetMaxResults

                                                                                                                                                                                                                        SetMaxResults sets the MaxResults field's value.

                                                                                                                                                                                                                        func (*GetDocumentTextDetectionInput) SetNextToken

                                                                                                                                                                                                                          SetNextToken sets the NextToken field's value.

                                                                                                                                                                                                                          func (GetDocumentTextDetectionInput) String

                                                                                                                                                                                                                            String returns the string representation

                                                                                                                                                                                                                            func (*GetDocumentTextDetectionInput) Validate

                                                                                                                                                                                                                            func (s *GetDocumentTextDetectionInput) Validate() error

                                                                                                                                                                                                                              Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                              type GetDocumentTextDetectionOutput

                                                                                                                                                                                                                              type GetDocumentTextDetectionOutput struct {
                                                                                                                                                                                                                              
                                                                                                                                                                                                                              	// The results of the text-detection operation.
                                                                                                                                                                                                                              	Blocks []*Block `type:"list"`
                                                                                                                                                                                                                              
                                                                                                                                                                                                                              	DetectDocumentTextModelVersion *string `type:"string"`
                                                                                                                                                                                                                              
                                                                                                                                                                                                                              	// Information about a document that Amazon Textract processed. DocumentMetadata
                                                                                                                                                                                                                              	// is returned in every page of paginated responses from an Amazon Textract
                                                                                                                                                                                                                              	// video operation.
                                                                                                                                                                                                                              	DocumentMetadata *DocumentMetadata `type:"structure"`
                                                                                                                                                                                                                              
                                                                                                                                                                                                                              	// The current status of the text detection job.
                                                                                                                                                                                                                              	JobStatus *string `type:"string" enum:"JobStatus"`
                                                                                                                                                                                                                              
                                                                                                                                                                                                                              	// If the response is truncated, Amazon Textract returns this token. You can
                                                                                                                                                                                                                              	// use this token in the subsequent request to retrieve the next set of text-detection
                                                                                                                                                                                                                              	// results.
                                                                                                                                                                                                                              	NextToken *string `min:"1" type:"string"`
                                                                                                                                                                                                                              
                                                                                                                                                                                                                              	// The current status of an asynchronous text-detection operation for the document.
                                                                                                                                                                                                                              	StatusMessage *string `type:"string"`
                                                                                                                                                                                                                              
                                                                                                                                                                                                                              	// A list of warnings that occurred during the text-detection operation for
                                                                                                                                                                                                                              	// the document.
                                                                                                                                                                                                                              	Warnings []*Warning `type:"list"`
                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                              }

                                                                                                                                                                                                                              func (GetDocumentTextDetectionOutput) GoString

                                                                                                                                                                                                                                GoString returns the string representation

                                                                                                                                                                                                                                func (*GetDocumentTextDetectionOutput) SetBlocks

                                                                                                                                                                                                                                  SetBlocks sets the Blocks field's value.

                                                                                                                                                                                                                                  func (*GetDocumentTextDetectionOutput) SetDetectDocumentTextModelVersion

                                                                                                                                                                                                                                  func (s *GetDocumentTextDetectionOutput) SetDetectDocumentTextModelVersion(v string) *GetDocumentTextDetectionOutput

                                                                                                                                                                                                                                    SetDetectDocumentTextModelVersion sets the DetectDocumentTextModelVersion field's value.

                                                                                                                                                                                                                                    func (*GetDocumentTextDetectionOutput) SetDocumentMetadata

                                                                                                                                                                                                                                      SetDocumentMetadata sets the DocumentMetadata field's value.

                                                                                                                                                                                                                                      func (*GetDocumentTextDetectionOutput) SetJobStatus

                                                                                                                                                                                                                                        SetJobStatus sets the JobStatus field's value.

                                                                                                                                                                                                                                        func (*GetDocumentTextDetectionOutput) SetNextToken

                                                                                                                                                                                                                                          SetNextToken sets the NextToken field's value.

                                                                                                                                                                                                                                          func (*GetDocumentTextDetectionOutput) SetStatusMessage

                                                                                                                                                                                                                                            SetStatusMessage sets the StatusMessage field's value.

                                                                                                                                                                                                                                            func (*GetDocumentTextDetectionOutput) SetWarnings

                                                                                                                                                                                                                                              SetWarnings sets the Warnings field's value.

                                                                                                                                                                                                                                              func (GetDocumentTextDetectionOutput) String

                                                                                                                                                                                                                                                String returns the string representation

                                                                                                                                                                                                                                                type HumanLoopActivationOutput

                                                                                                                                                                                                                                                type HumanLoopActivationOutput struct {
                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                	// Shows the result of condition evaluations, including those conditions which
                                                                                                                                                                                                                                                	// activated a human review.
                                                                                                                                                                                                                                                	HumanLoopActivationConditionsEvaluationResults aws.JSONValue `type:"jsonvalue"`
                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                	// Shows if and why human review was needed.
                                                                                                                                                                                                                                                	HumanLoopActivationReasons []*string `min:"1" type:"list"`
                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                	// The Amazon Resource Name (ARN) of the HumanLoop created.
                                                                                                                                                                                                                                                	HumanLoopArn *string `type:"string"`
                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                  Shows the results of the human in the loop evaluation. If there is no HumanLoopArn, the input did not trigger human review.

                                                                                                                                                                                                                                                  func (HumanLoopActivationOutput) GoString

                                                                                                                                                                                                                                                  func (s HumanLoopActivationOutput) GoString() string

                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                    func (*HumanLoopActivationOutput) SetHumanLoopActivationConditionsEvaluationResults

                                                                                                                                                                                                                                                    func (s *HumanLoopActivationOutput) SetHumanLoopActivationConditionsEvaluationResults(v aws.JSONValue) *HumanLoopActivationOutput

                                                                                                                                                                                                                                                      SetHumanLoopActivationConditionsEvaluationResults sets the HumanLoopActivationConditionsEvaluationResults field's value.

                                                                                                                                                                                                                                                      func (*HumanLoopActivationOutput) SetHumanLoopActivationReasons

                                                                                                                                                                                                                                                      func (s *HumanLoopActivationOutput) SetHumanLoopActivationReasons(v []*string) *HumanLoopActivationOutput

                                                                                                                                                                                                                                                        SetHumanLoopActivationReasons sets the HumanLoopActivationReasons field's value.

                                                                                                                                                                                                                                                        func (*HumanLoopActivationOutput) SetHumanLoopArn

                                                                                                                                                                                                                                                          SetHumanLoopArn sets the HumanLoopArn field's value.

                                                                                                                                                                                                                                                          func (HumanLoopActivationOutput) String

                                                                                                                                                                                                                                                          func (s HumanLoopActivationOutput) String() string

                                                                                                                                                                                                                                                            String returns the string representation

                                                                                                                                                                                                                                                            type HumanLoopConfig

                                                                                                                                                                                                                                                            type HumanLoopConfig struct {
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Sets attributes of the input data.
                                                                                                                                                                                                                                                            	DataAttributes *HumanLoopDataAttributes `type:"structure"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// The Amazon Resource Name (ARN) of the flow definition.
                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                            	// FlowDefinitionArn is a required field
                                                                                                                                                                                                                                                            	FlowDefinitionArn *string `type:"string" required:"true"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// The name of the human workflow used for this image. This should be kept unique
                                                                                                                                                                                                                                                            	// within a region.
                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                            	// HumanLoopName is a required field
                                                                                                                                                                                                                                                            	HumanLoopName *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                              Sets up the human review workflow the document will be sent to if one of the conditions is met. You can also set certain attributes of the image before review.

                                                                                                                                                                                                                                                              func (HumanLoopConfig) GoString

                                                                                                                                                                                                                                                              func (s HumanLoopConfig) GoString() string

                                                                                                                                                                                                                                                                GoString returns the string representation

                                                                                                                                                                                                                                                                func (*HumanLoopConfig) SetDataAttributes

                                                                                                                                                                                                                                                                func (s *HumanLoopConfig) SetDataAttributes(v *HumanLoopDataAttributes) *HumanLoopConfig

                                                                                                                                                                                                                                                                  SetDataAttributes sets the DataAttributes field's value.

                                                                                                                                                                                                                                                                  func (*HumanLoopConfig) SetFlowDefinitionArn

                                                                                                                                                                                                                                                                  func (s *HumanLoopConfig) SetFlowDefinitionArn(v string) *HumanLoopConfig

                                                                                                                                                                                                                                                                    SetFlowDefinitionArn sets the FlowDefinitionArn field's value.

                                                                                                                                                                                                                                                                    func (*HumanLoopConfig) SetHumanLoopName

                                                                                                                                                                                                                                                                    func (s *HumanLoopConfig) SetHumanLoopName(v string) *HumanLoopConfig

                                                                                                                                                                                                                                                                      SetHumanLoopName sets the HumanLoopName field's value.

                                                                                                                                                                                                                                                                      func (HumanLoopConfig) String

                                                                                                                                                                                                                                                                      func (s HumanLoopConfig) String() string

                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                        func (*HumanLoopConfig) Validate

                                                                                                                                                                                                                                                                        func (s *HumanLoopConfig) Validate() error

                                                                                                                                                                                                                                                                          Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                          type HumanLoopDataAttributes

                                                                                                                                                                                                                                                                          type HumanLoopDataAttributes struct {
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// Sets whether the input image is free of personally identifiable information
                                                                                                                                                                                                                                                                          	// or adult content.
                                                                                                                                                                                                                                                                          	ContentClassifiers []*string `type:"list"`
                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                            Allows you to set attributes of the image. Currently, you can declare an image as free of personally identifiable information and adult content.

                                                                                                                                                                                                                                                                            func (HumanLoopDataAttributes) GoString

                                                                                                                                                                                                                                                                            func (s HumanLoopDataAttributes) GoString() string

                                                                                                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                                                                                                              func (*HumanLoopDataAttributes) SetContentClassifiers

                                                                                                                                                                                                                                                                              func (s *HumanLoopDataAttributes) SetContentClassifiers(v []*string) *HumanLoopDataAttributes

                                                                                                                                                                                                                                                                                SetContentClassifiers sets the ContentClassifiers field's value.

                                                                                                                                                                                                                                                                                func (HumanLoopDataAttributes) String

                                                                                                                                                                                                                                                                                func (s HumanLoopDataAttributes) String() string

                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                  type HumanLoopQuotaExceededException

                                                                                                                                                                                                                                                                                  type HumanLoopQuotaExceededException struct {
                                                                                                                                                                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	QuotaCode *string `type:"string"`
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	ResourceType *string `type:"string"`
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	ServiceCode *string `type:"string"`
                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                    Indicates you have exceeded the maximum number of active human in the loop workflows available

                                                                                                                                                                                                                                                                                    func (*HumanLoopQuotaExceededException) Code

                                                                                                                                                                                                                                                                                      Code returns the exception type name.

                                                                                                                                                                                                                                                                                      func (*HumanLoopQuotaExceededException) Error

                                                                                                                                                                                                                                                                                      func (HumanLoopQuotaExceededException) GoString

                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                        func (*HumanLoopQuotaExceededException) Message

                                                                                                                                                                                                                                                                                          Message returns the exception's message.

                                                                                                                                                                                                                                                                                          func (*HumanLoopQuotaExceededException) OrigErr

                                                                                                                                                                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                            func (*HumanLoopQuotaExceededException) RequestID

                                                                                                                                                                                                                                                                                            func (s *HumanLoopQuotaExceededException) RequestID() string

                                                                                                                                                                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                              func (*HumanLoopQuotaExceededException) StatusCode

                                                                                                                                                                                                                                                                                              func (s *HumanLoopQuotaExceededException) StatusCode() int

                                                                                                                                                                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                func (HumanLoopQuotaExceededException) String

                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                  type IdempotentParameterMismatchException

                                                                                                                                                                                                                                                                                                  type IdempotentParameterMismatchException struct {
                                                                                                                                                                                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                    A ClientRequestToken input parameter was reused with an operation, but at least one of the other input parameters is different from the previous call to the operation.

                                                                                                                                                                                                                                                                                                    func (*IdempotentParameterMismatchException) Code

                                                                                                                                                                                                                                                                                                      Code returns the exception type name.

                                                                                                                                                                                                                                                                                                      func (*IdempotentParameterMismatchException) Error

                                                                                                                                                                                                                                                                                                      func (IdempotentParameterMismatchException) GoString

                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                        func (*IdempotentParameterMismatchException) Message

                                                                                                                                                                                                                                                                                                          Message returns the exception's message.

                                                                                                                                                                                                                                                                                                          func (*IdempotentParameterMismatchException) OrigErr

                                                                                                                                                                                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                            func (*IdempotentParameterMismatchException) RequestID

                                                                                                                                                                                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                              func (*IdempotentParameterMismatchException) StatusCode

                                                                                                                                                                                                                                                                                                              func (s *IdempotentParameterMismatchException) StatusCode() int

                                                                                                                                                                                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                func (IdempotentParameterMismatchException) String

                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                  type InternalServerError

                                                                                                                                                                                                                                                                                                                  type InternalServerError struct {
                                                                                                                                                                                                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                    Amazon Textract experienced a service issue. Try your call again.

                                                                                                                                                                                                                                                                                                                    func (*InternalServerError) Code

                                                                                                                                                                                                                                                                                                                    func (s *InternalServerError) Code() string

                                                                                                                                                                                                                                                                                                                      Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                      func (*InternalServerError) Error

                                                                                                                                                                                                                                                                                                                      func (s *InternalServerError) Error() string

                                                                                                                                                                                                                                                                                                                      func (InternalServerError) GoString

                                                                                                                                                                                                                                                                                                                      func (s InternalServerError) GoString() string

                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                        func (*InternalServerError) Message

                                                                                                                                                                                                                                                                                                                        func (s *InternalServerError) Message() string

                                                                                                                                                                                                                                                                                                                          Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                          func (*InternalServerError) OrigErr

                                                                                                                                                                                                                                                                                                                          func (s *InternalServerError) OrigErr() error

                                                                                                                                                                                                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                            func (*InternalServerError) RequestID

                                                                                                                                                                                                                                                                                                                            func (s *InternalServerError) RequestID() string

                                                                                                                                                                                                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                              func (*InternalServerError) StatusCode

                                                                                                                                                                                                                                                                                                                              func (s *InternalServerError) StatusCode() int

                                                                                                                                                                                                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                func (InternalServerError) String

                                                                                                                                                                                                                                                                                                                                func (s InternalServerError) String() string

                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                  type InvalidJobIdException

                                                                                                                                                                                                                                                                                                                                  type InvalidJobIdException struct {
                                                                                                                                                                                                                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                    An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis.

                                                                                                                                                                                                                                                                                                                                    func (*InvalidJobIdException) Code

                                                                                                                                                                                                                                                                                                                                    func (s *InvalidJobIdException) Code() string

                                                                                                                                                                                                                                                                                                                                      Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                                      func (*InvalidJobIdException) Error

                                                                                                                                                                                                                                                                                                                                      func (s *InvalidJobIdException) Error() string

                                                                                                                                                                                                                                                                                                                                      func (InvalidJobIdException) GoString

                                                                                                                                                                                                                                                                                                                                      func (s InvalidJobIdException) GoString() string

                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                        func (*InvalidJobIdException) Message

                                                                                                                                                                                                                                                                                                                                        func (s *InvalidJobIdException) Message() string

                                                                                                                                                                                                                                                                                                                                          Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                                          func (*InvalidJobIdException) OrigErr

                                                                                                                                                                                                                                                                                                                                          func (s *InvalidJobIdException) OrigErr() error

                                                                                                                                                                                                                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                                            func (*InvalidJobIdException) RequestID

                                                                                                                                                                                                                                                                                                                                            func (s *InvalidJobIdException) RequestID() string

                                                                                                                                                                                                                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                                              func (*InvalidJobIdException) StatusCode

                                                                                                                                                                                                                                                                                                                                              func (s *InvalidJobIdException) StatusCode() int

                                                                                                                                                                                                                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                                func (InvalidJobIdException) String

                                                                                                                                                                                                                                                                                                                                                func (s InvalidJobIdException) String() string

                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                  type InvalidParameterException

                                                                                                                                                                                                                                                                                                                                                  type InvalidParameterException struct {
                                                                                                                                                                                                                                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                    An input parameter violated a constraint. For example, in synchronous operations, an InvalidParameterException exception occurs when neither of the S3Object or Bytes values are supplied in the Document request parameter. Validate your parameter before calling the API operation again.

                                                                                                                                                                                                                                                                                                                                                    func (*InvalidParameterException) Code

                                                                                                                                                                                                                                                                                                                                                      Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                                                      func (*InvalidParameterException) Error

                                                                                                                                                                                                                                                                                                                                                      func (s *InvalidParameterException) Error() string

                                                                                                                                                                                                                                                                                                                                                      func (InvalidParameterException) GoString

                                                                                                                                                                                                                                                                                                                                                      func (s InvalidParameterException) GoString() string

                                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                        func (*InvalidParameterException) Message

                                                                                                                                                                                                                                                                                                                                                        func (s *InvalidParameterException) Message() string

                                                                                                                                                                                                                                                                                                                                                          Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                                                          func (*InvalidParameterException) OrigErr

                                                                                                                                                                                                                                                                                                                                                          func (s *InvalidParameterException) OrigErr() error

                                                                                                                                                                                                                                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                                                            func (*InvalidParameterException) RequestID

                                                                                                                                                                                                                                                                                                                                                            func (s *InvalidParameterException) RequestID() string

                                                                                                                                                                                                                                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                                                              func (*InvalidParameterException) StatusCode

                                                                                                                                                                                                                                                                                                                                                              func (s *InvalidParameterException) StatusCode() int

                                                                                                                                                                                                                                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                                                func (InvalidParameterException) String

                                                                                                                                                                                                                                                                                                                                                                func (s InvalidParameterException) String() string

                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                  type InvalidS3ObjectException

                                                                                                                                                                                                                                                                                                                                                                  type InvalidS3ObjectException struct {
                                                                                                                                                                                                                                                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                    Amazon Textract is unable to access the S3 object that's specified in the request.

                                                                                                                                                                                                                                                                                                                                                                    func (*InvalidS3ObjectException) Code

                                                                                                                                                                                                                                                                                                                                                                    func (s *InvalidS3ObjectException) Code() string

                                                                                                                                                                                                                                                                                                                                                                      Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                                                                      func (*InvalidS3ObjectException) Error

                                                                                                                                                                                                                                                                                                                                                                      func (s *InvalidS3ObjectException) Error() string

                                                                                                                                                                                                                                                                                                                                                                      func (InvalidS3ObjectException) GoString

                                                                                                                                                                                                                                                                                                                                                                      func (s InvalidS3ObjectException) GoString() string

                                                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                        func (*InvalidS3ObjectException) Message

                                                                                                                                                                                                                                                                                                                                                                        func (s *InvalidS3ObjectException) Message() string

                                                                                                                                                                                                                                                                                                                                                                          Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                                                                          func (*InvalidS3ObjectException) OrigErr

                                                                                                                                                                                                                                                                                                                                                                          func (s *InvalidS3ObjectException) OrigErr() error

                                                                                                                                                                                                                                                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                                                                            func (*InvalidS3ObjectException) RequestID

                                                                                                                                                                                                                                                                                                                                                                            func (s *InvalidS3ObjectException) RequestID() string

                                                                                                                                                                                                                                                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                                                                              func (*InvalidS3ObjectException) StatusCode

                                                                                                                                                                                                                                                                                                                                                                              func (s *InvalidS3ObjectException) StatusCode() int

                                                                                                                                                                                                                                                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                                                                func (InvalidS3ObjectException) String

                                                                                                                                                                                                                                                                                                                                                                                func (s InvalidS3ObjectException) String() string

                                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                  type LimitExceededException

                                                                                                                                                                                                                                                                                                                                                                                  type LimitExceededException struct {
                                                                                                                                                                                                                                                                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                    An Amazon Textract service limit was exceeded. For example, if you start too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection, for example) raise a LimitExceededException exception (HTTP status code: 400) until the number of concurrently running jobs is below the Amazon Textract service limit.

                                                                                                                                                                                                                                                                                                                                                                                    func (*LimitExceededException) Code

                                                                                                                                                                                                                                                                                                                                                                                    func (s *LimitExceededException) Code() string

                                                                                                                                                                                                                                                                                                                                                                                      Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                                                                                      func (*LimitExceededException) Error

                                                                                                                                                                                                                                                                                                                                                                                      func (s *LimitExceededException) Error() string

                                                                                                                                                                                                                                                                                                                                                                                      func (LimitExceededException) GoString

                                                                                                                                                                                                                                                                                                                                                                                      func (s LimitExceededException) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                        func (*LimitExceededException) Message

                                                                                                                                                                                                                                                                                                                                                                                        func (s *LimitExceededException) Message() string

                                                                                                                                                                                                                                                                                                                                                                                          Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                                                                                          func (*LimitExceededException) OrigErr

                                                                                                                                                                                                                                                                                                                                                                                          func (s *LimitExceededException) OrigErr() error

                                                                                                                                                                                                                                                                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                                                                                            func (*LimitExceededException) RequestID

                                                                                                                                                                                                                                                                                                                                                                                            func (s *LimitExceededException) RequestID() string

                                                                                                                                                                                                                                                                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                                                                                              func (*LimitExceededException) StatusCode

                                                                                                                                                                                                                                                                                                                                                                                              func (s *LimitExceededException) StatusCode() int

                                                                                                                                                                                                                                                                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                                                                                func (LimitExceededException) String

                                                                                                                                                                                                                                                                                                                                                                                                func (s LimitExceededException) String() string

                                                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                  type NotificationChannel

                                                                                                                                                                                                                                                                                                                                                                                                  type NotificationChannel struct {
                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                  	// The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract
                                                                                                                                                                                                                                                                                                                                                                                                  	// publishing permissions to the Amazon SNS topic.
                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                  	// RoleArn is a required field
                                                                                                                                                                                                                                                                                                                                                                                                  	RoleArn *string `min:"20" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                  	// The Amazon SNS topic that Amazon Textract posts the completion status to.
                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                  	// SNSTopicArn is a required field
                                                                                                                                                                                                                                                                                                                                                                                                  	SNSTopicArn *string `min:"20" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Textract publishes the completion status of an asynchronous document operation, such as StartDocumentTextDetection.

                                                                                                                                                                                                                                                                                                                                                                                                    func (NotificationChannel) GoString

                                                                                                                                                                                                                                                                                                                                                                                                    func (s NotificationChannel) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                      GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                      func (*NotificationChannel) SetRoleArn

                                                                                                                                                                                                                                                                                                                                                                                                        SetRoleArn sets the RoleArn field's value.

                                                                                                                                                                                                                                                                                                                                                                                                        func (*NotificationChannel) SetSNSTopicArn

                                                                                                                                                                                                                                                                                                                                                                                                        func (s *NotificationChannel) SetSNSTopicArn(v string) *NotificationChannel

                                                                                                                                                                                                                                                                                                                                                                                                          SetSNSTopicArn sets the SNSTopicArn field's value.

                                                                                                                                                                                                                                                                                                                                                                                                          func (NotificationChannel) String

                                                                                                                                                                                                                                                                                                                                                                                                          func (s NotificationChannel) String() string

                                                                                                                                                                                                                                                                                                                                                                                                            String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                            func (*NotificationChannel) Validate

                                                                                                                                                                                                                                                                                                                                                                                                            func (s *NotificationChannel) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                              Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                              type Point

                                                                                                                                                                                                                                                                                                                                                                                                              type Point struct {
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              	// The value of the X coordinate for a point on a Polygon.
                                                                                                                                                                                                                                                                                                                                                                                                              	X *float64 `type:"float"`
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              	// The value of the Y coordinate for a point on a Polygon.
                                                                                                                                                                                                                                                                                                                                                                                                              	Y *float64 `type:"float"`
                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                The X and Y coordinates of a point on a document page. The X and Y values that are returned are ratios of the overall document page size. For example, if the input document is 700 x 200 and the operation returns X=0.5 and Y=0.25, then the point is at the (350,50) pixel coordinate on the document page.

                                                                                                                                                                                                                                                                                                                                                                                                                An array of Point objects, Polygon, is returned by DetectDocumentText. Polygon represents a fine-grained polygon around detected text. For more information, see Geometry in the Amazon Textract Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                func (Point) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                func (s Point) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                  GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                  func (*Point) SetX

                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *Point) SetX(v float64) *Point

                                                                                                                                                                                                                                                                                                                                                                                                                    SetX sets the X field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                    func (*Point) SetY

                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *Point) SetY(v float64) *Point

                                                                                                                                                                                                                                                                                                                                                                                                                      SetY sets the Y field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                      func (Point) String

                                                                                                                                                                                                                                                                                                                                                                                                                      func (s Point) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                        type ProvisionedThroughputExceededException

                                                                                                                                                                                                                                                                                                                                                                                                                        type ProvisionedThroughputExceededException struct {
                                                                                                                                                                                                                                                                                                                                                                                                                        	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                        	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                          The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Textract.

                                                                                                                                                                                                                                                                                                                                                                                                                          func (*ProvisionedThroughputExceededException) Code

                                                                                                                                                                                                                                                                                                                                                                                                                            Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                                                                                                                            func (*ProvisionedThroughputExceededException) Error

                                                                                                                                                                                                                                                                                                                                                                                                                            func (ProvisionedThroughputExceededException) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                              func (*ProvisionedThroughputExceededException) Message

                                                                                                                                                                                                                                                                                                                                                                                                                                Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                                                                                                                                func (*ProvisionedThroughputExceededException) OrigErr

                                                                                                                                                                                                                                                                                                                                                                                                                                  OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*ProvisionedThroughputExceededException) RequestID

                                                                                                                                                                                                                                                                                                                                                                                                                                    RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ProvisionedThroughputExceededException) StatusCode

                                                                                                                                                                                                                                                                                                                                                                                                                                      Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (ProvisionedThroughputExceededException) String

                                                                                                                                                                                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                        type Relationship

                                                                                                                                                                                                                                                                                                                                                                                                                                        type Relationship struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// An array of IDs for related blocks. You can get the type of the relationship
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// from the Type element.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	Ids []*string `type:"list"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// The type of relationship that the blocks in the IDs array have with the current
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// block. The relationship can be VALUE or CHILD. A relationship of type VALUE
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// is a list that contains the ID of the VALUE block that's associated with
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// the KEY of a key-value pair. A relationship of type CHILD is a list of IDs
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// that identify WORD blocks.
                                                                                                                                                                                                                                                                                                                                                                                                                                        	Type *string `type:"string" enum:"RelationshipType"`
                                                                                                                                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                          Information about how blocks are related to each other. A Block object contains 0 or more Relation objects in a list, Relationships. For more information, see Block.

                                                                                                                                                                                                                                                                                                                                                                                                                                          The Type element provides the type of the relationship for all blocks in the IDs array.

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (Relationship) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s Relationship) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                            GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*Relationship) SetIds

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *Relationship) SetIds(v []*string) *Relationship

                                                                                                                                                                                                                                                                                                                                                                                                                                              SetIds sets the Ids field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*Relationship) SetType

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *Relationship) SetType(v string) *Relationship

                                                                                                                                                                                                                                                                                                                                                                                                                                                SetType sets the Type field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (Relationship) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s Relationship) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                  type S3Object

                                                                                                                                                                                                                                                                                                                                                                                                                                                  type S3Object struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// The name of the S3 bucket.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Bucket *string `min:"3" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// The file name of the input document. Synchronous operations can use image
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// files that are in JPEG or PNG format. Asynchronous operations also support
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// PDF format files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Name *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// If the bucket has versioning enabled, you can specify the object version.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Version *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The S3 bucket name and file name that identifies the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    The AWS Region for the S3 bucket that contains the document must match the Region that you use for Amazon Textract operations.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    For Amazon Textract to process a file in an S3 bucket, the user must have permission to access the S3 bucket and file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (S3Object) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s S3Object) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                      GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*S3Object) SetBucket

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *S3Object) SetBucket(v string) *S3Object

                                                                                                                                                                                                                                                                                                                                                                                                                                                        SetBucket sets the Bucket field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*S3Object) SetName

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s *S3Object) SetName(v string) *S3Object

                                                                                                                                                                                                                                                                                                                                                                                                                                                          SetName sets the Name field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*S3Object) SetVersion

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s *S3Object) SetVersion(v string) *S3Object

                                                                                                                                                                                                                                                                                                                                                                                                                                                            SetVersion sets the Version field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (S3Object) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s S3Object) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*S3Object) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *S3Object) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                type StartDocumentAnalysisInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                type StartDocumentAnalysisInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// The idempotent token that you use to identify the start request. If you use
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// the same token with multiple StartDocumentAnalysis requests, the same JobId
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// is returned. Use ClientRequestToken to prevent the same job from being accidentally
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// started more than once. For more information, see Calling Amazon Textract
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Asynchronous Operations (https://docs.aws.amazon.com/textract/latest/dg/api-async.html).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ClientRequestToken *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// The location of the document to be processed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// DocumentLocation is a required field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	DocumentLocation *DocumentLocation `type:"structure" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// A list of the types of analysis to perform. Add TABLES to the list to return
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// information about the tables that are detected in the input document. Add
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// FORMS to return detected form data. To perform both types of analysis, add
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// TABLES and FORMS to FeatureTypes. All lines and words detected in the document
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// are included in the response (including text that isn't related to the value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// of FeatureTypes).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// FeatureTypes is a required field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	FeatureTypes []*string `type:"list" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// An identifier that you specify that's included in the completion notification
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// published to the Amazon SNS topic. For example, you can use JobTag to identify
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// the type of document that the completion notification corresponds to (such
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// as a tax form or a receipt).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	JobTag *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// The Amazon SNS topic ARN that you want Amazon Textract to publish the completion
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// status of the operation to.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NotificationChannel *NotificationChannel `type:"structure"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (StartDocumentAnalysisInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s StartDocumentAnalysisInput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*StartDocumentAnalysisInput) SetClientRequestToken

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *StartDocumentAnalysisInput) SetClientRequestToken(v string) *StartDocumentAnalysisInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    SetClientRequestToken sets the ClientRequestToken field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*StartDocumentAnalysisInput) SetDocumentLocation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      SetDocumentLocation sets the DocumentLocation field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*StartDocumentAnalysisInput) SetFeatureTypes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        SetFeatureTypes sets the FeatureTypes field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*StartDocumentAnalysisInput) SetJobTag

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SetJobTag sets the JobTag field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*StartDocumentAnalysisInput) SetNotificationChannel

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            SetNotificationChannel sets the NotificationChannel field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (StartDocumentAnalysisInput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*StartDocumentAnalysisInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *StartDocumentAnalysisInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type StartDocumentAnalysisOutput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type StartDocumentAnalysisOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// The identifier for the document text detection job. Use JobId to identify
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// the job in a subsequent call to GetDocumentAnalysis. A JobId value is only
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// valid for 7 days.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	JobId *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (StartDocumentAnalysisOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s StartDocumentAnalysisOutput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*StartDocumentAnalysisOutput) SetJobId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    SetJobId sets the JobId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (StartDocumentAnalysisOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type StartDocumentTextDetectionInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type StartDocumentTextDetectionInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// The idempotent token that's used to identify the start request. If you use
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// the same token with multiple StartDocumentTextDetection requests, the same
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// JobId is returned. Use ClientRequestToken to prevent the same job from being
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// accidentally started more than once. For more information, see Calling Amazon
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// Textract Asynchronous Operations (https://docs.aws.amazon.com/textract/latest/dg/api-async.html).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	ClientRequestToken *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// The location of the document to be processed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// DocumentLocation is a required field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	DocumentLocation *DocumentLocation `type:"structure" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// An identifier that you specify that's included in the completion notification
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// published to the Amazon SNS topic. For example, you can use JobTag to identify
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// the type of document that the completion notification corresponds to (such
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// as a tax form or a receipt).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	JobTag *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// The Amazon SNS topic ARN that you want Amazon Textract to publish the completion
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// status of the operation to.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	NotificationChannel *NotificationChannel `type:"structure"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (StartDocumentTextDetectionInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*StartDocumentTextDetectionInput) SetClientRequestToken

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SetClientRequestToken sets the ClientRequestToken field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*StartDocumentTextDetectionInput) SetDocumentLocation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            SetDocumentLocation sets the DocumentLocation field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*StartDocumentTextDetectionInput) SetJobTag

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              SetJobTag sets the JobTag field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*StartDocumentTextDetectionInput) SetNotificationChannel

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                SetNotificationChannel sets the NotificationChannel field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (StartDocumentTextDetectionInput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*StartDocumentTextDetectionInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *StartDocumentTextDetectionInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type StartDocumentTextDetectionOutput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type StartDocumentTextDetectionOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// The identifier of the text detection job for the document. Use JobId to identify
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// the job in a subsequent call to GetDocumentTextDetection. A JobId value is
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// only valid for 7 days.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	JobId *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (StartDocumentTextDetectionOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*StartDocumentTextDetectionOutput) SetJobId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        SetJobId sets the JobId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (StartDocumentTextDetectionOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type Textract

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type Textract struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	*client.Client
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Textract provides the API operation methods for making requests to Amazon Textract. See this package's package overview docs for details on the service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Textract methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func New

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func New(p client.ConfigProvider, cfgs ...*aws.Config) *Textract

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              New creates a new instance of the Textract client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Example:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              mySession := session.Must(session.NewSession())
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Create a Textract client from just a session.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              svc := textract.New(mySession)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Create a Textract client with additional configuration
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              svc := textract.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*Textract) AnalyzeDocument

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *Textract) AnalyzeDocument(input *AnalyzeDocumentInput) (*AnalyzeDocumentOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                AnalyzeDocument API operation for Amazon Textract.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Analyzes an input document for relationships between detected items.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The types of information returned are as follows:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * Form data (key-value pairs). The related information is returned in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                two Block objects, each of type KEY_VALUE_SET: a KEY Block object and
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                a VALUE Block object. For example, Name: Ana Silva Carolina contains a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                key and value. Name: is the key. Ana Silva Carolina is the value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * Table and table cell data. A TABLE Block object contains information
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                about a detected table. A CELL Block object is returned for each cell
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                in a table.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * Lines and words of text. A LINE Block object contains one or more WORD
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Block objects. All lines and words that are detected in the document are
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                returned (including text that doesn't have a relationship with the value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                of FeatureTypes).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                You can choose which type of analysis to perform by specifying the FeatureTypes list.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The output is returned in a list of Block objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                AnalyzeDocument is a synchronous operation. To analyze documents asynchronously, use StartDocumentAnalysis.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                For more information, see Document Text Analysis (https://docs.aws.amazon.com/textract/latest/dg/how-it-works-analyzing.html).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See the AWS API reference guide for Amazon Textract's API operation AnalyzeDocument for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * InvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                An input parameter violated a constraint. For example, in synchronous operations,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                an InvalidParameterException exception occurs when neither of the S3Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                or Bytes values are supplied in the Document request parameter. Validate
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                your parameter before calling the API operation again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * InvalidS3ObjectException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon Textract is unable to access the S3 object that's specified in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * UnsupportedDocumentException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The format of the input document isn't supported. Documents for synchronous
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                operations can be in PNG or JPEG format. Documents for asynchronous operations
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                can also be in PDF format.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * DocumentTooLargeException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The document can't be processed because it's too large. The maximum document
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                size for synchronous operations 5 MB. The maximum document size for asynchronous
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                operations is 500 MB for PDF files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * BadDocumentException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon Textract isn't able to read the document.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * AccessDeniedException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                You aren't authorized to perform the action.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * ProvisionedThroughputExceededException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The number of requests exceeded your throughput limit. If you want to increase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                this limit, contact Amazon Textract.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * InternalServerError
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon Textract experienced a service issue. Try your call again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * ThrottlingException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Amazon Textract is temporarily unable to process the request. Try your call
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * HumanLoopQuotaExceededException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Indicates you have exceeded the maximum number of active human in the loop
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                workflows available
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/AnalyzeDocument

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*Textract) AnalyzeDocumentRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *Textract) AnalyzeDocumentRequest(input *AnalyzeDocumentInput) (req *request.Request, output *AnalyzeDocumentOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  AnalyzeDocumentRequest generates a "aws/request.Request" representing the client's request for the AnalyzeDocument operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See AnalyzeDocument for more information on using the AnalyzeDocument API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  // Example sending a request using the AnalyzeDocumentRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  req, resp := client.AnalyzeDocumentRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/AnalyzeDocument

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*Textract) AnalyzeDocumentWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *Textract) AnalyzeDocumentWithContext(ctx aws.Context, input *AnalyzeDocumentInput, opts ...request.Option) (*AnalyzeDocumentOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    AnalyzeDocumentWithContext is the same as AnalyzeDocument with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See AnalyzeDocument for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*Textract) DetectDocumentText

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *Textract) DetectDocumentText(input *DetectDocumentTextInput) (*DetectDocumentTextOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DetectDocumentText API operation for Amazon Textract.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be an image in JPEG or PNG format. DetectDocumentText returns the detected text in an array of Block objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Each document page has as an associated Block of type PAGE. Each PAGE Block object is the parent of LINE Block objects that represent the lines of detected text on a page. A LINE Block object is a parent for each word that makes up the line. Words are represented by Block objects of type WORD.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DetectDocumentText is a synchronous operation. To analyze documents asynchronously, use StartDocumentTextDetection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      For more information, see Document Text Detection (https://docs.aws.amazon.com/textract/latest/dg/how-it-works-detecting.html).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See the AWS API reference guide for Amazon Textract's API operation DetectDocumentText for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * InvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      An input parameter violated a constraint. For example, in synchronous operations,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      an InvalidParameterException exception occurs when neither of the S3Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      or Bytes values are supplied in the Document request parameter. Validate
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      your parameter before calling the API operation again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * InvalidS3ObjectException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Amazon Textract is unable to access the S3 object that's specified in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * UnsupportedDocumentException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The format of the input document isn't supported. Documents for synchronous
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      operations can be in PNG or JPEG format. Documents for asynchronous operations
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      can also be in PDF format.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * DocumentTooLargeException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The document can't be processed because it's too large. The maximum document
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      size for synchronous operations 5 MB. The maximum document size for asynchronous
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      operations is 500 MB for PDF files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * BadDocumentException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Amazon Textract isn't able to read the document.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * AccessDeniedException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      You aren't authorized to perform the action.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * ProvisionedThroughputExceededException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The number of requests exceeded your throughput limit. If you want to increase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      this limit, contact Amazon Textract.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * InternalServerError
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Amazon Textract experienced a service issue. Try your call again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * ThrottlingException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Amazon Textract is temporarily unable to process the request. Try your call
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/DetectDocumentText

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*Textract) DetectDocumentTextRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *Textract) DetectDocumentTextRequest(input *DetectDocumentTextInput) (req *request.Request, output *DetectDocumentTextOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DetectDocumentTextRequest generates a "aws/request.Request" representing the client's request for the DetectDocumentText operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See DetectDocumentText for more information on using the DetectDocumentText API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        // Example sending a request using the DetectDocumentTextRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        req, resp := client.DetectDocumentTextRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/DetectDocumentText

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*Textract) DetectDocumentTextWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *Textract) DetectDocumentTextWithContext(ctx aws.Context, input *DetectDocumentTextInput, opts ...request.Option) (*DetectDocumentTextOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          DetectDocumentTextWithContext is the same as DetectDocumentText with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See DetectDocumentText for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*Textract) GetDocumentAnalysis

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *Textract) GetDocumentAnalysis(input *GetDocumentAnalysisInput) (*GetDocumentAnalysisOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetDocumentAnalysis API operation for Amazon Textract.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            You start asynchronous text analysis by calling StartDocumentAnalysis, which returns a job identifier (JobId). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartDocumentAnalysis. 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 GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetDocumentAnalysis returns an array of Block objects. The following types of information are returned:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * Form data (key-value pairs). The related information is returned in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            two Block objects, each of type KEY_VALUE_SET: a KEY Block object and
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            a VALUE Block object. For example, Name: Ana Silva Carolina contains a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            key and value. Name: is the key. Ana Silva Carolina is the value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * Table and table cell data. A TABLE Block object contains information
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            about a detected table. A CELL Block object is returned for each cell
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            in a table.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * Lines and words of text. A LINE Block object contains one or more WORD
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Block objects. All lines and words that are detected in the document are
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            returned (including text that doesn't have a relationship with the value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            of the StartDocumentAnalysis FeatureTypes input parameter).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Use the MaxResults parameter to limit the number of blocks that are returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetDocumentAnalysis, and populate the NextToken request parameter with the token value that's returned from the previous call to GetDocumentAnalysis.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            For more information, see Document Text Analysis (https://docs.aws.amazon.com/textract/latest/dg/how-it-works-analyzing.html).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See the AWS API reference guide for Amazon Textract's API operation GetDocumentAnalysis for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * InvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            An input parameter violated a constraint. For example, in synchronous operations,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            an InvalidParameterException exception occurs when neither of the S3Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            or Bytes values are supplied in the Document request parameter. Validate
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            your parameter before calling the API operation again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * AccessDeniedException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            You aren't authorized to perform the action.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * ProvisionedThroughputExceededException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The number of requests exceeded your throughput limit. If you want to increase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            this limit, contact Amazon Textract.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * InvalidJobIdException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * InternalServerError
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Amazon Textract experienced a service issue. Try your call again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * ThrottlingException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Amazon Textract is temporarily unable to process the request. Try your call
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetDocumentAnalysis

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*Textract) GetDocumentAnalysisRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *Textract) GetDocumentAnalysisRequest(input *GetDocumentAnalysisInput) (req *request.Request, output *GetDocumentAnalysisOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GetDocumentAnalysisRequest generates a "aws/request.Request" representing the client's request for the GetDocumentAnalysis operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See GetDocumentAnalysis for more information on using the GetDocumentAnalysis API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Example sending a request using the GetDocumentAnalysisRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              req, resp := client.GetDocumentAnalysisRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetDocumentAnalysis

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*Textract) GetDocumentAnalysisWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *Textract) GetDocumentAnalysisWithContext(ctx aws.Context, input *GetDocumentAnalysisInput, opts ...request.Option) (*GetDocumentAnalysisOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetDocumentAnalysisWithContext is the same as GetDocumentAnalysis with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See GetDocumentAnalysis for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*Textract) GetDocumentTextDetection

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *Textract) GetDocumentTextDetection(input *GetDocumentTextDetectionInput) (*GetDocumentTextDetectionOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetDocumentTextDetection API operation for Amazon Textract.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Gets the results for an Amazon Textract asynchronous operation that detects text in a document. Amazon Textract can detect lines of text and the words that make up a line of text.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  You start asynchronous text detection by calling StartDocumentTextDetection, which returns a job identifier (JobId). When the text detection operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartDocumentTextDetection. 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 GetDocumentTextDetection, and pass the job identifier (JobId) from the initial call to StartDocumentTextDetection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetDocumentTextDetection returns an array of Block objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Each document page has as an associated Block of type PAGE. Each PAGE Block object is the parent of LINE Block objects that represent the lines of detected text on a page. A LINE Block object is a parent for each word that makes up the line. Words are represented by Block objects of type WORD.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Use the MaxResults parameter to limit the number of blocks that are returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetDocumentTextDetection, and populate the NextToken request parameter with the token value that's returned from the previous call to GetDocumentTextDetection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For more information, see Document Text Detection (https://docs.aws.amazon.com/textract/latest/dg/how-it-works-detecting.html).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See the AWS API reference guide for Amazon Textract's API operation GetDocumentTextDetection for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * InvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  An input parameter violated a constraint. For example, in synchronous operations,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  an InvalidParameterException exception occurs when neither of the S3Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  or Bytes values are supplied in the Document request parameter. Validate
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  your parameter before calling the API operation again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * AccessDeniedException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  You aren't authorized to perform the action.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * ProvisionedThroughputExceededException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The number of requests exceeded your throughput limit. If you want to increase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  this limit, contact Amazon Textract.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * InvalidJobIdException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * InternalServerError
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Amazon Textract experienced a service issue. Try your call again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * ThrottlingException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Amazon Textract is temporarily unable to process the request. Try your call
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetDocumentTextDetection

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*Textract) GetDocumentTextDetectionRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *Textract) GetDocumentTextDetectionRequest(input *GetDocumentTextDetectionInput) (req *request.Request, output *GetDocumentTextDetectionOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetDocumentTextDetectionRequest generates a "aws/request.Request" representing the client's request for the GetDocumentTextDetection operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See GetDocumentTextDetection for more information on using the GetDocumentTextDetection API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    // Example sending a request using the GetDocumentTextDetectionRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    req, resp := client.GetDocumentTextDetectionRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetDocumentTextDetection

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*Textract) GetDocumentTextDetectionWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *Textract) GetDocumentTextDetectionWithContext(ctx aws.Context, input *GetDocumentTextDetectionInput, opts ...request.Option) (*GetDocumentTextDetectionOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GetDocumentTextDetectionWithContext is the same as GetDocumentTextDetection with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See GetDocumentTextDetection for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*Textract) StartDocumentAnalysis

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *Textract) StartDocumentAnalysis(input *StartDocumentAnalysisInput) (*StartDocumentAnalysisOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        StartDocumentAnalysis API operation for Amazon Textract.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        StartDocumentAnalysis can analyze text in documents that are in JPEG, PNG, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        StartDocumentAnalysis returns a job identifier (JobId) that you use to get the results of the operation. When text analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        For more information, see Document Text Analysis (https://docs.aws.amazon.com/textract/latest/dg/how-it-works-analyzing.html).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See the AWS API reference guide for Amazon Textract's API operation StartDocumentAnalysis for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * InvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        An input parameter violated a constraint. For example, in synchronous operations,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        an InvalidParameterException exception occurs when neither of the S3Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        or Bytes values are supplied in the Document request parameter. Validate
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        your parameter before calling the API operation again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * InvalidS3ObjectException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Amazon Textract is unable to access the S3 object that's specified in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * UnsupportedDocumentException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The format of the input document isn't supported. Documents for synchronous
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        operations can be in PNG or JPEG format. Documents for asynchronous operations
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        can also be in PDF format.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * DocumentTooLargeException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The document can't be processed because it's too large. The maximum document
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        size for synchronous operations 5 MB. The maximum document size for asynchronous
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        operations is 500 MB for PDF files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * BadDocumentException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Amazon Textract isn't able to read the document.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * AccessDeniedException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        You aren't authorized to perform the action.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * ProvisionedThroughputExceededException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The number of requests exceeded your throughput limit. If you want to increase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        this limit, contact Amazon Textract.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * InternalServerError
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Amazon Textract experienced a service issue. Try your call again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * IdempotentParameterMismatchException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        A ClientRequestToken input parameter was reused with an operation, but at
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        least one of the other input parameters is different from the previous call
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        to the operation.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * ThrottlingException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Amazon Textract is temporarily unable to process the request. Try your call
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * LimitExceededException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        An Amazon Textract service limit was exceeded. For example, if you start
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        for example) raise a LimitExceededException exception (HTTP status code:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        400) until the number of concurrently running jobs is below the Amazon Textract
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        service limit.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/StartDocumentAnalysis

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*Textract) StartDocumentAnalysisRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *Textract) StartDocumentAnalysisRequest(input *StartDocumentAnalysisInput) (req *request.Request, output *StartDocumentAnalysisOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          StartDocumentAnalysisRequest generates a "aws/request.Request" representing the client's request for the StartDocumentAnalysis operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See StartDocumentAnalysis for more information on using the StartDocumentAnalysis API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          // Example sending a request using the StartDocumentAnalysisRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          req, resp := client.StartDocumentAnalysisRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/StartDocumentAnalysis

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*Textract) StartDocumentAnalysisWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *Textract) StartDocumentAnalysisWithContext(ctx aws.Context, input *StartDocumentAnalysisInput, opts ...request.Option) (*StartDocumentAnalysisOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            StartDocumentAnalysisWithContext is the same as StartDocumentAnalysis with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See StartDocumentAnalysis for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*Textract) StartDocumentTextDetection

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *Textract) StartDocumentTextDetection(input *StartDocumentTextDetectionInput) (*StartDocumentTextDetectionOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              StartDocumentTextDetection API operation for Amazon Textract.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Starts the asynchronous detection of text in a document. Amazon Textract can detect lines of text and the words that make up a line of text.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              StartDocumentTextDetection can analyze text in documents that are in JPEG, PNG, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              StartTextDetection returns a job identifier (JobId) that you use to get the results of the operation. When text detection is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) 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 GetDocumentTextDetection, and pass the job identifier (JobId) from the initial call to StartDocumentTextDetection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              For more information, see Document Text Detection (https://docs.aws.amazon.com/textract/latest/dg/how-it-works-detecting.html).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See the AWS API reference guide for Amazon Textract's API operation StartDocumentTextDetection for usage and error information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returned Error Types:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * InvalidParameterException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              An input parameter violated a constraint. For example, in synchronous operations,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              an InvalidParameterException exception occurs when neither of the S3Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              or Bytes values are supplied in the Document request parameter. Validate
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              your parameter before calling the API operation again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * InvalidS3ObjectException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Amazon Textract is unable to access the S3 object that's specified in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * UnsupportedDocumentException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The format of the input document isn't supported. Documents for synchronous
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              operations can be in PNG or JPEG format. Documents for asynchronous operations
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              can also be in PDF format.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * DocumentTooLargeException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The document can't be processed because it's too large. The maximum document
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              size for synchronous operations 5 MB. The maximum document size for asynchronous
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              operations is 500 MB for PDF files.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * BadDocumentException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Amazon Textract isn't able to read the document.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * AccessDeniedException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              You aren't authorized to perform the action.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * ProvisionedThroughputExceededException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The number of requests exceeded your throughput limit. If you want to increase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              this limit, contact Amazon Textract.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * InternalServerError
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Amazon Textract experienced a service issue. Try your call again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * IdempotentParameterMismatchException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A ClientRequestToken input parameter was reused with an operation, but at
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              least one of the other input parameters is different from the previous call
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              to the operation.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * ThrottlingException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Amazon Textract is temporarily unable to process the request. Try your call
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * LimitExceededException
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              An Amazon Textract service limit was exceeded. For example, if you start
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              for example) raise a LimitExceededException exception (HTTP status code:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              400) until the number of concurrently running jobs is below the Amazon Textract
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              service limit.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/StartDocumentTextDetection

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*Textract) StartDocumentTextDetectionRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *Textract) StartDocumentTextDetectionRequest(input *StartDocumentTextDetectionInput) (req *request.Request, output *StartDocumentTextDetectionOutput)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                StartDocumentTextDetectionRequest generates a "aws/request.Request" representing the client's request for the StartDocumentTextDetection operation. The "output" return value will be populated with the request's response once the request completes successfully.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See StartDocumentTextDetection for more information on using the StartDocumentTextDetection API call, and error handling.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                // Example sending a request using the StartDocumentTextDetectionRequest method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                req, resp := client.StartDocumentTextDetectionRequest(params)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                err := req.Send()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                if err == nil { // resp is now filled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    fmt.Println(resp)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/StartDocumentTextDetection

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*Textract) StartDocumentTextDetectionWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *Textract) StartDocumentTextDetectionWithContext(ctx aws.Context, input *StartDocumentTextDetectionInput, opts ...request.Option) (*StartDocumentTextDetectionOutput, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  StartDocumentTextDetectionWithContext is the same as StartDocumentTextDetection with the addition of the ability to pass a context and additional request options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  See StartDocumentTextDetection for details on how to use this API operation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ThrottlingException

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ThrottlingException struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Textract is temporarily unable to process the request. Try your call again.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ThrottlingException) Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *ThrottlingException) Code() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ThrottlingException) Error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *ThrottlingException) Error() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (ThrottlingException) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s ThrottlingException) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*ThrottlingException) Message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s *ThrottlingException) Message() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*ThrottlingException) OrigErr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s *ThrottlingException) OrigErr() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*ThrottlingException) RequestID

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *ThrottlingException) RequestID() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*ThrottlingException) StatusCode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *ThrottlingException) StatusCode() int

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (ThrottlingException) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s ThrottlingException) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type UnsupportedDocumentException

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type UnsupportedDocumentException struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The format of the input document isn't supported. Documents for synchronous operations can be in PNG or JPEG format. Documents for asynchronous operations can also be in PDF format.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*UnsupportedDocumentException) Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*UnsupportedDocumentException) Error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (UnsupportedDocumentException) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s UnsupportedDocumentException) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*UnsupportedDocumentException) Message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s *UnsupportedDocumentException) Message() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*UnsupportedDocumentException) OrigErr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s *UnsupportedDocumentException) OrigErr() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*UnsupportedDocumentException) RequestID

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *UnsupportedDocumentException) RequestID() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*UnsupportedDocumentException) StatusCode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *UnsupportedDocumentException) StatusCode() int

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (UnsupportedDocumentException) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type Warning

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type Warning struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// The error code for the warning.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ErrorCode *string `type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// A list of the pages that the warning applies to.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Pages []*int64 `type:"list"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    A warning about an issue that occurred during asynchronous text analysis (StartDocumentAnalysis) or asynchronous document text detection (StartDocumentTextDetection).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (Warning) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s Warning) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*Warning) SetErrorCode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *Warning) SetErrorCode(v string) *Warning

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        SetErrorCode sets the ErrorCode field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*Warning) SetPages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s *Warning) SetPages(v []*int64) *Warning

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SetPages sets the Pages field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (Warning) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s Warning) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Directories

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Path Synopsis
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Package textractiface provides an interface to enable mocking the Amazon Textract service client for testing your code.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Package textractiface provides an interface to enable mocking the Amazon Textract service client for testing your code.