// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociatePersonasToEntities`](crate::operation::associate_personas_to_entities::builders::AssociatePersonasToEntitiesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::associate_personas_to_entities::builders::AssociatePersonasToEntitiesFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::associate_personas_to_entities::builders::AssociatePersonasToEntitiesFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of your Amazon Kendra experience.</p><br>
/// - [`index_id(impl Into<String>)`](crate::operation::associate_personas_to_entities::builders::AssociatePersonasToEntitiesFluentBuilder::index_id) / [`set_index_id(Option<String>)`](crate::operation::associate_personas_to_entities::builders::AssociatePersonasToEntitiesFluentBuilder::set_index_id):<br>required: **true**<br><p>The identifier of the index for your Amazon Kendra experience.</p><br>
/// - [`personas(EntityPersonaConfiguration)`](crate::operation::associate_personas_to_entities::builders::AssociatePersonasToEntitiesFluentBuilder::personas) / [`set_personas(Option<Vec::<EntityPersonaConfiguration>>)`](crate::operation::associate_personas_to_entities::builders::AssociatePersonasToEntitiesFluentBuilder::set_personas):<br>required: **true**<br><p>The personas that define the specific permissions of users or groups in your IAM Identity Center identity source. The available personas or access roles are <code>Owner</code> and <code>Viewer</code>. For more information on these personas, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html#access-search-experience">Providing access to your search page</a>.</p><br>
/// - On success, responds with [`AssociatePersonasToEntitiesOutput`](crate::operation::associate_personas_to_entities::AssociatePersonasToEntitiesOutput) with field(s):
/// - [`failed_entity_list(Option<Vec::<FailedEntity>>)`](crate::operation::associate_personas_to_entities::AssociatePersonasToEntitiesOutput::failed_entity_list): <p>Lists the users or groups in your IAM Identity Center identity source that failed to properly configure with your Amazon Kendra experience.</p>
/// - On failure, responds with [`SdkError<AssociatePersonasToEntitiesError>`](crate::operation::associate_personas_to_entities::AssociatePersonasToEntitiesError)
pub fn associate_personas_to_entities(
&self,
) -> crate::operation::associate_personas_to_entities::builders::AssociatePersonasToEntitiesFluentBuilder {
crate::operation::associate_personas_to_entities::builders::AssociatePersonasToEntitiesFluentBuilder::new(self.handle.clone())
}
}