You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Comprehend::Types::BatchDetectEntitiesItemResult

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

Overview

The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

Instance Attribute Summary collapse

Instance Attribute Details

#entitiesArray<Types::Entity>

One or more Entity objects, one for each entity detected in the document.

Returns:



88
89
90
91
92
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 88

class BatchDetectEntitiesItemResult < Struct.new(
  :index,
  :entities)
  include Aws::Structure
end

#indexInteger

The zero-based index of the document in the input list.

Returns:

  • (Integer)


88
89
90
91
92
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 88

class BatchDetectEntitiesItemResult < Struct.new(
  :index,
  :entities)
  include Aws::Structure
end