Class: Aws::Kendra::Types::CreateQuerySuggestionsBlockListRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kendra::Types::CreateQuerySuggestionsBlockListRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-kendra/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A token that you provide to identify the request to create a query suggestions block list.
-
#description ⇒ String
A description for the block list.
-
#index_id ⇒ String
The identifier of the index you want to create a query suggestions block list for.
-
#name ⇒ String
A name for the block list.
-
#role_arn ⇒ String
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains the block list text file.
-
#source_s3_path ⇒ Types::S3Path
The S3 path to your block list text file in your S3 bucket.
-
#tags ⇒ Array<Types::Tag>
A list of key-value pairs that identify or categorize the block list.
Instance Attribute Details
#client_token ⇒ String
A token that you provide to identify the request to create a query suggestions block list.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 |
# File 'lib/aws-sdk-kendra/types.rb', line 2515 class CreateQuerySuggestionsBlockListRequest < Struct.new( :index_id, :name, :description, :source_s3_path, :client_token, :role_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description for the block list.
For example, the description “List of all offensive words that can appear in user queries and need to be blocked from suggestions.”
2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 |
# File 'lib/aws-sdk-kendra/types.rb', line 2515 class CreateQuerySuggestionsBlockListRequest < Struct.new( :index_id, :name, :description, :source_s3_path, :client_token, :role_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#index_id ⇒ String
The identifier of the index you want to create a query suggestions block list for.
2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 |
# File 'lib/aws-sdk-kendra/types.rb', line 2515 class CreateQuerySuggestionsBlockListRequest < Struct.new( :index_id, :name, :description, :source_s3_path, :client_token, :role_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A name for the block list.
For example, the name ‘offensive-words’, which includes all offensive words that could appear in user queries and need to be blocked from suggestions.
2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 |
# File 'lib/aws-sdk-kendra/types.rb', line 2515 class CreateQuerySuggestionsBlockListRequest < Struct.new( :index_id, :name, :description, :source_s3_path, :client_token, :role_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#role_arn ⇒ String
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains the block list text file. For more information, see [IAM access roles for Amazon Kendra].
2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 |
# File 'lib/aws-sdk-kendra/types.rb', line 2515 class CreateQuerySuggestionsBlockListRequest < Struct.new( :index_id, :name, :description, :source_s3_path, :client_token, :role_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#source_s3_path ⇒ Types::S3Path
The S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see [Quotas for Amazon Kendra].
2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 |
# File 'lib/aws-sdk-kendra/types.rb', line 2515 class CreateQuerySuggestionsBlockListRequest < Struct.new( :index_id, :name, :description, :source_s3_path, :client_token, :role_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of key-value pairs that identify or categorize the block list. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 |
# File 'lib/aws-sdk-kendra/types.rb', line 2515 class CreateQuerySuggestionsBlockListRequest < Struct.new( :index_id, :name, :description, :source_s3_path, :client_token, :role_arn, :tags) SENSITIVE = [] include Aws::Structure end |