// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateQuerySuggestionsBlockList`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`index_id(impl Into<String>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::index_id) / [`set_index_id(Option<String>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::set_index_id):<br>required: **true**<br><p>The identifier of the index for the block list.</p><br>
/// - [`id(impl Into<String>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the block list you want to update.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::set_name):<br>required: **false**<br><p>A new name for the block list.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::set_description):<br>required: **false**<br><p>A new description for the block list.</p><br>
/// - [`source_s3_path(S3Path)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::source_s3_path) / [`set_source_s3_path(Option<S3Path>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::set_source_s3_path):<br>required: **false**<br><p>The S3 path where your block list text file sits in S3.</p> <p>If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You need to call the <code>UpdateQuerySuggestionsBlockList</code> API to refresh you block list.</p> <p>If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.</p><br>
/// - [`role_arn(impl Into<String>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::set_role_arn):<br>required: **false**<br><p>The IAM (Identity and Access Management) role used to access the block list text file in S3.</p><br>
/// - On success, responds with [`UpdateQuerySuggestionsBlockListOutput`](crate::operation::update_query_suggestions_block_list::UpdateQuerySuggestionsBlockListOutput)
/// - On failure, responds with [`SdkError<UpdateQuerySuggestionsBlockListError>`](crate::operation::update_query_suggestions_block_list::UpdateQuerySuggestionsBlockListError)
pub fn update_query_suggestions_block_list(
&self,
) -> crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder {
crate::operation::update_query_suggestions_block_list::builders::UpdateQuerySuggestionsBlockListFluentBuilder::new(self.handle.clone())
}
}