Class: Aws::Textract::Types::GetExpenseAnalysisResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#analyze_expense_model_versionString

The current model version of AnalyzeExpense.

Returns:

  • (String)


943
944
945
946
947
948
949
950
951
952
953
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 943

class GetExpenseAnalysisResponse < Struct.new(
  :document_metadata,
  :job_status,
  :next_token,
  :expense_documents,
  :warnings,
  :status_message,
  :analyze_expense_model_version)
  SENSITIVE = []
  include Aws::Structure
end

#document_metadataTypes::DocumentMetadata

Information about a document that Amazon Textract processed. DocumentMetadata is returned in every page of paginated responses from an Amazon Textract operation.



943
944
945
946
947
948
949
950
951
952
953
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 943

class GetExpenseAnalysisResponse < Struct.new(
  :document_metadata,
  :job_status,
  :next_token,
  :expense_documents,
  :warnings,
  :status_message,
  :analyze_expense_model_version)
  SENSITIVE = []
  include Aws::Structure
end

#expense_documentsArray<Types::ExpenseDocument>

The expenses detected by Amazon Textract.

Returns:



943
944
945
946
947
948
949
950
951
952
953
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 943

class GetExpenseAnalysisResponse < Struct.new(
  :document_metadata,
  :job_status,
  :next_token,
  :expense_documents,
  :warnings,
  :status_message,
  :analyze_expense_model_version)
  SENSITIVE = []
  include Aws::Structure
end

#job_statusString

The current status of the text detection job.

Returns:

  • (String)


943
944
945
946
947
948
949
950
951
952
953
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 943

class GetExpenseAnalysisResponse < Struct.new(
  :document_metadata,
  :job_status,
  :next_token,
  :expense_documents,
  :warnings,
  :status_message,
  :analyze_expense_model_version)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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.

Returns:

  • (String)


943
944
945
946
947
948
949
950
951
952
953
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 943

class GetExpenseAnalysisResponse < Struct.new(
  :document_metadata,
  :job_status,
  :next_token,
  :expense_documents,
  :warnings,
  :status_message,
  :analyze_expense_model_version)
  SENSITIVE = []
  include Aws::Structure
end

#status_messageString

Returns if the detection job could not be completed. Contains explanation for what error occured.

Returns:

  • (String)


943
944
945
946
947
948
949
950
951
952
953
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 943

class GetExpenseAnalysisResponse < Struct.new(
  :document_metadata,
  :job_status,
  :next_token,
  :expense_documents,
  :warnings,
  :status_message,
  :analyze_expense_model_version)
  SENSITIVE = []
  include Aws::Structure
end

#warningsArray<Types::Warning>

A list of warnings that occurred during the text-detection operation for the document.

Returns:



943
944
945
946
947
948
949
950
951
952
953
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 943

class GetExpenseAnalysisResponse < Struct.new(
  :document_metadata,
  :job_status,
  :next_token,
  :expense_documents,
  :warnings,
  :status_message,
  :analyze_expense_model_version)
  SENSITIVE = []
  include Aws::Structure
end