Class: Aws::Textract::Types::CreateAdapterRequest

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

#adapter_nameString

The name to be assigned to the adapter being created.

Returns:

  • (String)


728
729
730
731
732
733
734
735
736
737
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 728

class CreateAdapterRequest < Struct.new(
  :adapter_name,
  :client_request_token,
  :description,
  :feature_types,
  :auto_update,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#auto_updateString

Controls whether or not the adapter should automatically update.

Returns:

  • (String)


728
729
730
731
732
733
734
735
736
737
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 728

class CreateAdapterRequest < Struct.new(
  :adapter_name,
  :client_request_token,
  :description,
  :feature_types,
  :auto_update,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapter requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


728
729
730
731
732
733
734
735
736
737
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 728

class CreateAdapterRequest < Struct.new(
  :adapter_name,
  :client_request_token,
  :description,
  :feature_types,
  :auto_update,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description to be assigned to the adapter being created.

Returns:

  • (String)


728
729
730
731
732
733
734
735
736
737
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 728

class CreateAdapterRequest < Struct.new(
  :adapter_name,
  :client_request_token,
  :description,
  :feature_types,
  :auto_update,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#feature_typesArray<String>

The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES

Returns:

  • (Array<String>)


728
729
730
731
732
733
734
735
736
737
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 728

class CreateAdapterRequest < Struct.new(
  :adapter_name,
  :client_request_token,
  :description,
  :feature_types,
  :auto_update,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A list of tags to be added to the adapter.

Returns:

  • (Hash<String,String>)


728
729
730
731
732
733
734
735
736
737
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 728

class CreateAdapterRequest < Struct.new(
  :adapter_name,
  :client_request_token,
  :description,
  :feature_types,
  :auto_update,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end