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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-textract/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_attributesTypes::HumanLoopDataAttributes

Sets attributes of the input data.



747
748
749
750
751
752
753
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 747

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

#flow_definition_arnString

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

Returns:

  • (String)


747
748
749
750
751
752
753
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 747

class HumanLoopConfig < Struct.new(
  :human_loop_name,
  :flow_definition_arn,
  :data_attributes)
  SENSITIVE = []
  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)


747
748
749
750
751
752
753
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 747

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