pub struct UpdateIndexFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateIndex.
Updates an existing Amazon Kendra index.
Implementations§
source§impl UpdateIndexFluentBuilder
impl UpdateIndexFluentBuilder
sourcepub fn as_input(&self) -> &UpdateIndexInputBuilder
pub fn as_input(&self) -> &UpdateIndexInputBuilder
Access the UpdateIndex as a reference.
sourcepub async fn send(
self
) -> Result<UpdateIndexOutput, SdkError<UpdateIndexError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateIndexOutput, SdkError<UpdateIndexError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateIndexOutput, UpdateIndexError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateIndexOutput, UpdateIndexError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the index you want to update.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the index you want to update.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A new description for the index.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A new description for the index.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A new description for the index.
sourcepub fn document_metadata_configuration_updates(
self,
input: DocumentMetadataConfiguration
) -> Self
pub fn document_metadata_configuration_updates( self, input: DocumentMetadataConfiguration ) -> Self
Appends an item to DocumentMetadataConfigurationUpdates.
To override the contents of this collection use set_document_metadata_configuration_updates.
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
sourcepub fn set_document_metadata_configuration_updates(
self,
input: Option<Vec<DocumentMetadataConfiguration>>
) -> Self
pub fn set_document_metadata_configuration_updates( self, input: Option<Vec<DocumentMetadataConfiguration>> ) -> Self
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
sourcepub fn get_document_metadata_configuration_updates(
&self
) -> &Option<Vec<DocumentMetadataConfiguration>>
pub fn get_document_metadata_configuration_updates( &self ) -> &Option<Vec<DocumentMetadataConfiguration>>
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
sourcepub fn capacity_units(self, input: CapacityUnitsConfiguration) -> Self
pub fn capacity_units(self, input: CapacityUnitsConfiguration) -> Self
Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
sourcepub fn set_capacity_units(
self,
input: Option<CapacityUnitsConfiguration>
) -> Self
pub fn set_capacity_units( self, input: Option<CapacityUnitsConfiguration> ) -> Self
Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
sourcepub fn get_capacity_units(&self) -> &Option<CapacityUnitsConfiguration>
pub fn get_capacity_units(&self) -> &Option<CapacityUnitsConfiguration>
Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
sourcepub fn user_token_configurations(self, input: UserTokenConfiguration) -> Self
pub fn user_token_configurations(self, input: UserTokenConfiguration) -> Self
Appends an item to UserTokenConfigurations.
To override the contents of this collection use set_user_token_configurations.
The user token configuration.
sourcepub fn set_user_token_configurations(
self,
input: Option<Vec<UserTokenConfiguration>>
) -> Self
pub fn set_user_token_configurations( self, input: Option<Vec<UserTokenConfiguration>> ) -> Self
The user token configuration.
sourcepub fn get_user_token_configurations(
&self
) -> &Option<Vec<UserTokenConfiguration>>
pub fn get_user_token_configurations( &self ) -> &Option<Vec<UserTokenConfiguration>>
The user token configuration.
sourcepub fn user_context_policy(self, input: UserContextPolicy) -> Self
pub fn user_context_policy(self, input: UserContextPolicy) -> Self
The user context policy.
sourcepub fn set_user_context_policy(self, input: Option<UserContextPolicy>) -> Self
pub fn set_user_context_policy(self, input: Option<UserContextPolicy>) -> Self
The user context policy.
sourcepub fn get_user_context_policy(&self) -> &Option<UserContextPolicy>
pub fn get_user_context_policy(&self) -> &Option<UserContextPolicy>
The user context policy.
sourcepub fn user_group_resolution_configuration(
self,
input: UserGroupResolutionConfiguration
) -> Self
pub fn user_group_resolution_configuration( self, input: UserGroupResolutionConfiguration ) -> Self
Enables fetching access levels of groups and users from an IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration.
sourcepub fn set_user_group_resolution_configuration(
self,
input: Option<UserGroupResolutionConfiguration>
) -> Self
pub fn set_user_group_resolution_configuration( self, input: Option<UserGroupResolutionConfiguration> ) -> Self
Enables fetching access levels of groups and users from an IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration.
sourcepub fn get_user_group_resolution_configuration(
&self
) -> &Option<UserGroupResolutionConfiguration>
pub fn get_user_group_resolution_configuration( &self ) -> &Option<UserGroupResolutionConfiguration>
Enables fetching access levels of groups and users from an IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration.
Trait Implementations§
source§impl Clone for UpdateIndexFluentBuilder
impl Clone for UpdateIndexFluentBuilder
source§fn clone(&self) -> UpdateIndexFluentBuilder
fn clone(&self) -> UpdateIndexFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more