Class: Aws::Kendra::Types::DataSourceToIndexFieldMapping

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

Overview

Note:

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

{
  data_source_field_name: "DataSourceFieldName", # required
  date_field_format: "DataSourceDateFieldFormat",
  index_field_name: "IndexFieldName", # required
}

Maps a column or attribute in the data source to an index field. You must first create the fields in the index using the UpdateIndex operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_source_field_nameString

The name of the column or attribute in the data source.

Returns:

  • (String)

2587
2588
2589
2590
2591
2592
2593
# File 'lib/aws-sdk-kendra/types.rb', line 2587

class DataSourceToIndexFieldMapping < Struct.new(
  :data_source_field_name,
  :date_field_format,
  :index_field_name)
  SENSITIVE = []
  include Aws::Structure
end

#date_field_formatString

The type of data stored in the column or attribute.

Returns:

  • (String)

2587
2588
2589
2590
2591
2592
2593
# File 'lib/aws-sdk-kendra/types.rb', line 2587

class DataSourceToIndexFieldMapping < Struct.new(
  :data_source_field_name,
  :date_field_format,
  :index_field_name)
  SENSITIVE = []
  include Aws::Structure
end

#index_field_nameString

The name of the field in the index.

Returns:

  • (String)

2587
2588
2589
2590
2591
2592
2593
# File 'lib/aws-sdk-kendra/types.rb', line 2587

class DataSourceToIndexFieldMapping < Struct.new(
  :data_source_field_name,
  :date_field_format,
  :index_field_name)
  SENSITIVE = []
  include Aws::Structure
end