Class: Aws::Textract::Types::HumanLoopConfig

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

Overview

Note:

When making an API call, you may pass HumanLoopConfig data as a hash:

{
  human_loop_name: "HumanLoopName", # required
  flow_definition_arn: "FlowDefinitionArn", # required
  data_attributes: {
    content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
  },
}

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.

Instance Attribute Summary collapse

Instance Attribute Details

#data_attributesTypes::HumanLoopDataAttributes

Sets attributes of the input data.



727
728
729
730
731
732
# File 'lib/aws-sdk-textract/types.rb', line 727

class HumanLoopConfig < Struct.new(
  :human_loop_name,
  :flow_definition_arn,
  :data_attributes)
  include Aws::Structure
end

#flow_definition_arnString

The Amazon Resource Name (ARN) of the flow definition.

Returns:

  • (String)


727
728
729
730
731
732
# File 'lib/aws-sdk-textract/types.rb', line 727

class HumanLoopConfig < Struct.new(
  :human_loop_name,
  :flow_definition_arn,
  :data_attributes)
  include Aws::Structure
end

#human_loop_nameString

The name of the human workflow used for this image. This should be kept unique within a region.

Returns:

  • (String)


727
728
729
730
731
732
# File 'lib/aws-sdk-textract/types.rb', line 727

class HumanLoopConfig < Struct.new(
  :human_loop_name,
  :flow_definition_arn,
  :data_attributes)
  include Aws::Structure
end