Versions in this module Expand all Collapse all v1 v1.99.1 Feb 10, 2020 v1.99.0 Feb 10, 2020 Changes in this version + const BlockTypeCell + const BlockTypeKeyValueSet + const BlockTypeLine + const BlockTypePage + const BlockTypeSelectionElement + const BlockTypeTable + const BlockTypeWord + const EndpointsID + const EntityTypeKey + const EntityTypeValue + const ErrCodeAccessDeniedException + const ErrCodeBadDocumentException + const ErrCodeDocumentTooLargeException + const ErrCodeIdempotentParameterMismatchException + const ErrCodeInternalServerError + const ErrCodeInvalidJobIdException + const ErrCodeInvalidParameterException + const ErrCodeInvalidS3ObjectException + const ErrCodeLimitExceededException + const ErrCodeProvisionedThroughputExceededException + const ErrCodeThrottlingException + const ErrCodeUnsupportedDocumentException + const FeatureTypeForms + const FeatureTypeTables + const JobStatusFailed + const JobStatusInProgress + const JobStatusPartialSuccess + const JobStatusSucceeded + const RelationshipTypeChild + const RelationshipTypeValue + const SelectionStatusNotSelected + const SelectionStatusSelected + const ServiceID + const ServiceName + type AnalyzeDocumentInput struct + Document *Document + FeatureTypes []*string + func (s *AnalyzeDocumentInput) SetDocument(v *Document) *AnalyzeDocumentInput + func (s *AnalyzeDocumentInput) SetFeatureTypes(v []*string) *AnalyzeDocumentInput + func (s *AnalyzeDocumentInput) Validate() error + func (s AnalyzeDocumentInput) GoString() string + func (s AnalyzeDocumentInput) String() string + type AnalyzeDocumentOutput struct + Blocks []*Block + DocumentMetadata *DocumentMetadata + func (s *AnalyzeDocumentOutput) SetBlocks(v []*Block) *AnalyzeDocumentOutput + func (s *AnalyzeDocumentOutput) SetDocumentMetadata(v *DocumentMetadata) *AnalyzeDocumentOutput + func (s AnalyzeDocumentOutput) GoString() string + func (s AnalyzeDocumentOutput) String() string + type Block struct + BlockType *string + ColumnIndex *int64 + ColumnSpan *int64 + Confidence *float64 + EntityTypes []*string + Geometry *Geometry + Id *string + Page *int64 + Relationships []*Relationship + RowIndex *int64 + RowSpan *int64 + SelectionStatus *string + Text *string + func (s *Block) SetBlockType(v string) *Block + func (s *Block) SetColumnIndex(v int64) *Block + func (s *Block) SetColumnSpan(v int64) *Block + func (s *Block) SetConfidence(v float64) *Block + func (s *Block) SetEntityTypes(v []*string) *Block + func (s *Block) SetGeometry(v *Geometry) *Block + func (s *Block) SetId(v string) *Block + func (s *Block) SetPage(v int64) *Block + func (s *Block) SetRelationships(v []*Relationship) *Block + func (s *Block) SetRowIndex(v int64) *Block + func (s *Block) SetRowSpan(v int64) *Block + func (s *Block) SetSelectionStatus(v string) *Block + func (s *Block) SetText(v string) *Block + func (s Block) GoString() string + func (s Block) String() string + type BoundingBox struct + Height *float64 + Left *float64 + Top *float64 + Width *float64 + func (s *BoundingBox) SetHeight(v float64) *BoundingBox + func (s *BoundingBox) SetLeft(v float64) *BoundingBox + func (s *BoundingBox) SetTop(v float64) *BoundingBox + func (s *BoundingBox) SetWidth(v float64) *BoundingBox + func (s BoundingBox) GoString() string + func (s BoundingBox) String() string + type DetectDocumentTextInput struct + Document *Document + func (s *DetectDocumentTextInput) SetDocument(v *Document) *DetectDocumentTextInput + func (s *DetectDocumentTextInput) Validate() error + func (s DetectDocumentTextInput) GoString() string + func (s DetectDocumentTextInput) String() string + type DetectDocumentTextOutput struct + Blocks []*Block + DocumentMetadata *DocumentMetadata + func (s *DetectDocumentTextOutput) SetBlocks(v []*Block) *DetectDocumentTextOutput + func (s *DetectDocumentTextOutput) SetDocumentMetadata(v *DocumentMetadata) *DetectDocumentTextOutput + func (s DetectDocumentTextOutput) GoString() string + func (s DetectDocumentTextOutput) String() string + type Document struct + Bytes []byte + S3Object *S3Object + func (s *Document) SetBytes(v []byte) *Document + func (s *Document) SetS3Object(v *S3Object) *Document + func (s *Document) Validate() error + func (s Document) GoString() string + func (s Document) String() string + type DocumentLocation struct + S3Object *S3Object + func (s *DocumentLocation) SetS3Object(v *S3Object) *DocumentLocation + func (s *DocumentLocation) Validate() error + func (s DocumentLocation) GoString() string + func (s DocumentLocation) String() string + type DocumentMetadata struct + Pages *int64 + func (s *DocumentMetadata) SetPages(v int64) *DocumentMetadata + func (s DocumentMetadata) GoString() string + func (s DocumentMetadata) String() string + type Geometry struct + BoundingBox *BoundingBox + Polygon []*Point + func (s *Geometry) SetBoundingBox(v *BoundingBox) *Geometry + func (s *Geometry) SetPolygon(v []*Point) *Geometry + func (s Geometry) GoString() string + func (s Geometry) String() string + type GetDocumentAnalysisInput struct + JobId *string + MaxResults *int64 + NextToken *string + func (s *GetDocumentAnalysisInput) SetJobId(v string) *GetDocumentAnalysisInput + func (s *GetDocumentAnalysisInput) SetMaxResults(v int64) *GetDocumentAnalysisInput + func (s *GetDocumentAnalysisInput) SetNextToken(v string) *GetDocumentAnalysisInput + func (s *GetDocumentAnalysisInput) Validate() error + func (s GetDocumentAnalysisInput) GoString() string + func (s GetDocumentAnalysisInput) String() string + type GetDocumentAnalysisOutput struct + Blocks []*Block + DocumentMetadata *DocumentMetadata + JobStatus *string + NextToken *string + StatusMessage *string + Warnings []*Warning + func (s *GetDocumentAnalysisOutput) SetBlocks(v []*Block) *GetDocumentAnalysisOutput + func (s *GetDocumentAnalysisOutput) SetDocumentMetadata(v *DocumentMetadata) *GetDocumentAnalysisOutput + func (s *GetDocumentAnalysisOutput) SetJobStatus(v string) *GetDocumentAnalysisOutput + func (s *GetDocumentAnalysisOutput) SetNextToken(v string) *GetDocumentAnalysisOutput + func (s *GetDocumentAnalysisOutput) SetStatusMessage(v string) *GetDocumentAnalysisOutput + func (s *GetDocumentAnalysisOutput) SetWarnings(v []*Warning) *GetDocumentAnalysisOutput + func (s GetDocumentAnalysisOutput) GoString() string + func (s GetDocumentAnalysisOutput) String() string + type GetDocumentTextDetectionInput struct + JobId *string + MaxResults *int64 + NextToken *string + func (s *GetDocumentTextDetectionInput) SetJobId(v string) *GetDocumentTextDetectionInput + func (s *GetDocumentTextDetectionInput) SetMaxResults(v int64) *GetDocumentTextDetectionInput + func (s *GetDocumentTextDetectionInput) SetNextToken(v string) *GetDocumentTextDetectionInput + func (s *GetDocumentTextDetectionInput) Validate() error + func (s GetDocumentTextDetectionInput) GoString() string + func (s GetDocumentTextDetectionInput) String() string + type GetDocumentTextDetectionOutput struct + Blocks []*Block + DocumentMetadata *DocumentMetadata + JobStatus *string + NextToken *string + StatusMessage *string + Warnings []*Warning + func (s *GetDocumentTextDetectionOutput) SetBlocks(v []*Block) *GetDocumentTextDetectionOutput + func (s *GetDocumentTextDetectionOutput) SetDocumentMetadata(v *DocumentMetadata) *GetDocumentTextDetectionOutput + func (s *GetDocumentTextDetectionOutput) SetJobStatus(v string) *GetDocumentTextDetectionOutput + func (s *GetDocumentTextDetectionOutput) SetNextToken(v string) *GetDocumentTextDetectionOutput + func (s *GetDocumentTextDetectionOutput) SetStatusMessage(v string) *GetDocumentTextDetectionOutput + func (s *GetDocumentTextDetectionOutput) SetWarnings(v []*Warning) *GetDocumentTextDetectionOutput + func (s GetDocumentTextDetectionOutput) GoString() string + func (s GetDocumentTextDetectionOutput) String() string + type NotificationChannel struct + RoleArn *string + SNSTopicArn *string + func (s *NotificationChannel) SetRoleArn(v string) *NotificationChannel + func (s *NotificationChannel) SetSNSTopicArn(v string) *NotificationChannel + func (s *NotificationChannel) Validate() error + func (s NotificationChannel) GoString() string + func (s NotificationChannel) String() string + type Point struct + X *float64 + Y *float64 + func (s *Point) SetX(v float64) *Point + func (s *Point) SetY(v float64) *Point + func (s Point) GoString() string + func (s Point) String() string + type Relationship struct + Ids []*string + Type *string + func (s *Relationship) SetIds(v []*string) *Relationship + func (s *Relationship) SetType(v string) *Relationship + func (s Relationship) GoString() string + func (s Relationship) String() string + type S3Object struct + Bucket *string + Name *string + Version *string + func (s *S3Object) SetBucket(v string) *S3Object + func (s *S3Object) SetName(v string) *S3Object + func (s *S3Object) SetVersion(v string) *S3Object + func (s *S3Object) Validate() error + func (s S3Object) GoString() string + func (s S3Object) String() string + type StartDocumentAnalysisInput struct + ClientRequestToken *string + DocumentLocation *DocumentLocation + FeatureTypes []*string + JobTag *string + NotificationChannel *NotificationChannel + func (s *StartDocumentAnalysisInput) SetClientRequestToken(v string) *StartDocumentAnalysisInput + func (s *StartDocumentAnalysisInput) SetDocumentLocation(v *DocumentLocation) *StartDocumentAnalysisInput + func (s *StartDocumentAnalysisInput) SetFeatureTypes(v []*string) *StartDocumentAnalysisInput + func (s *StartDocumentAnalysisInput) SetJobTag(v string) *StartDocumentAnalysisInput + func (s *StartDocumentAnalysisInput) SetNotificationChannel(v *NotificationChannel) *StartDocumentAnalysisInput + func (s *StartDocumentAnalysisInput) Validate() error + func (s StartDocumentAnalysisInput) GoString() string + func (s StartDocumentAnalysisInput) String() string + type StartDocumentAnalysisOutput struct + JobId *string + func (s *StartDocumentAnalysisOutput) SetJobId(v string) *StartDocumentAnalysisOutput + func (s StartDocumentAnalysisOutput) GoString() string + func (s StartDocumentAnalysisOutput) String() string + type StartDocumentTextDetectionInput struct + ClientRequestToken *string + DocumentLocation *DocumentLocation + JobTag *string + NotificationChannel *NotificationChannel + func (s *StartDocumentTextDetectionInput) SetClientRequestToken(v string) *StartDocumentTextDetectionInput + func (s *StartDocumentTextDetectionInput) SetDocumentLocation(v *DocumentLocation) *StartDocumentTextDetectionInput + func (s *StartDocumentTextDetectionInput) SetJobTag(v string) *StartDocumentTextDetectionInput + func (s *StartDocumentTextDetectionInput) SetNotificationChannel(v *NotificationChannel) *StartDocumentTextDetectionInput + func (s *StartDocumentTextDetectionInput) Validate() error + func (s StartDocumentTextDetectionInput) GoString() string + func (s StartDocumentTextDetectionInput) String() string + type StartDocumentTextDetectionOutput struct + JobId *string + func (s *StartDocumentTextDetectionOutput) SetJobId(v string) *StartDocumentTextDetectionOutput + func (s StartDocumentTextDetectionOutput) GoString() string + func (s StartDocumentTextDetectionOutput) String() string + type Textract struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *Textract + func (c *Textract) AnalyzeDocument(input *AnalyzeDocumentInput) (*AnalyzeDocumentOutput, error) + func (c *Textract) AnalyzeDocumentRequest(input *AnalyzeDocumentInput) (req *request.Request, output *AnalyzeDocumentOutput) + func (c *Textract) AnalyzeDocumentWithContext(ctx aws.Context, input *AnalyzeDocumentInput, opts ...request.Option) (*AnalyzeDocumentOutput, error) + func (c *Textract) DetectDocumentText(input *DetectDocumentTextInput) (*DetectDocumentTextOutput, error) + func (c *Textract) DetectDocumentTextRequest(input *DetectDocumentTextInput) (req *request.Request, output *DetectDocumentTextOutput) + func (c *Textract) DetectDocumentTextWithContext(ctx aws.Context, input *DetectDocumentTextInput, opts ...request.Option) (*DetectDocumentTextOutput, error) + func (c *Textract) GetDocumentAnalysis(input *GetDocumentAnalysisInput) (*GetDocumentAnalysisOutput, error) + func (c *Textract) GetDocumentAnalysisRequest(input *GetDocumentAnalysisInput) (req *request.Request, output *GetDocumentAnalysisOutput) + func (c *Textract) GetDocumentAnalysisWithContext(ctx aws.Context, input *GetDocumentAnalysisInput, opts ...request.Option) (*GetDocumentAnalysisOutput, error) + func (c *Textract) GetDocumentTextDetection(input *GetDocumentTextDetectionInput) (*GetDocumentTextDetectionOutput, error) + func (c *Textract) GetDocumentTextDetectionRequest(input *GetDocumentTextDetectionInput) (req *request.Request, output *GetDocumentTextDetectionOutput) + func (c *Textract) GetDocumentTextDetectionWithContext(ctx aws.Context, input *GetDocumentTextDetectionInput, opts ...request.Option) (*GetDocumentTextDetectionOutput, error) + func (c *Textract) StartDocumentAnalysis(input *StartDocumentAnalysisInput) (*StartDocumentAnalysisOutput, error) + func (c *Textract) StartDocumentAnalysisRequest(input *StartDocumentAnalysisInput) (req *request.Request, output *StartDocumentAnalysisOutput) + func (c *Textract) StartDocumentAnalysisWithContext(ctx aws.Context, input *StartDocumentAnalysisInput, opts ...request.Option) (*StartDocumentAnalysisOutput, error) + func (c *Textract) StartDocumentTextDetection(input *StartDocumentTextDetectionInput) (*StartDocumentTextDetectionOutput, error) + func (c *Textract) StartDocumentTextDetectionRequest(input *StartDocumentTextDetectionInput) (req *request.Request, output *StartDocumentTextDetectionOutput) + func (c *Textract) StartDocumentTextDetectionWithContext(ctx aws.Context, input *StartDocumentTextDetectionInput, ...) (*StartDocumentTextDetectionOutput, error) + type Warning struct + ErrorCode *string + Pages []*int64 + func (s *Warning) SetErrorCode(v string) *Warning + func (s *Warning) SetPages(v []*int64) *Warning + func (s Warning) GoString() string + func (s Warning) String() string