Class: Aws::Kendra::Types::CreateThesaurusRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus API with the same client token will create only one thesaurus.

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

Returns:

  • (String)


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

class CreateThesaurusRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :role_arn,
  :tags,
  :source_s3_path,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the thesaurus.

Returns:

  • (String)


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

class CreateThesaurusRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :role_arn,
  :tags,
  :source_s3_path,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#index_idString

The identifier of the index for the thesaurus.

Returns:

  • (String)


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

class CreateThesaurusRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :role_arn,
  :tags,
  :source_s3_path,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name for the thesaurus.

Returns:

  • (String)


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

class CreateThesaurusRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :role_arn,
  :tags,
  :source_s3_path,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains the thesaurus file. For more information, see IAM access roles for Amazon Kendra.

Returns:

  • (String)


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

class CreateThesaurusRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :role_arn,
  :tags,
  :source_s3_path,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#source_s3_pathTypes::S3Path

The path to the thesaurus file in S3.

Returns:



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

class CreateThesaurusRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :role_arn,
  :tags,
  :source_s3_path,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of key-value pairs that identify or categorize the thesaurus. You can also use tags to help control access to the thesaurus. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.

Returns:



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

class CreateThesaurusRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :role_arn,
  :tags,
  :source_s3_path,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end