// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdatePrimaryEmailAddress`](crate::operation::update_primary_email_address::builders::UpdatePrimaryEmailAddressFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::update_primary_email_address::builders::UpdatePrimaryEmailAddressFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::update_primary_email_address::builders::UpdatePrimaryEmailAddressFluentBuilder::set_organization_id): <p>The organization that contains the user, group, or resource to update.</p>
/// - [`entity_id(impl Into<String>)`](crate::operation::update_primary_email_address::builders::UpdatePrimaryEmailAddressFluentBuilder::entity_id) / [`set_entity_id(Option<String>)`](crate::operation::update_primary_email_address::builders::UpdatePrimaryEmailAddressFluentBuilder::set_entity_id): <p>The user, group, or resource to update.</p>
/// - [`email(impl Into<String>)`](crate::operation::update_primary_email_address::builders::UpdatePrimaryEmailAddressFluentBuilder::email) / [`set_email(Option<String>)`](crate::operation::update_primary_email_address::builders::UpdatePrimaryEmailAddressFluentBuilder::set_email): <p>The value of the email to be updated as primary.</p>
/// - On success, responds with [`UpdatePrimaryEmailAddressOutput`](crate::operation::update_primary_email_address::UpdatePrimaryEmailAddressOutput)
/// - On failure, responds with [`SdkError<UpdatePrimaryEmailAddressError>`](crate::operation::update_primary_email_address::UpdatePrimaryEmailAddressError)
pub fn update_primary_email_address(&self) -> crate::operation::update_primary_email_address::builders::UpdatePrimaryEmailAddressFluentBuilder {
crate::operation::update_primary_email_address::builders::UpdatePrimaryEmailAddressFluentBuilder::new(self.handle.clone())
}
}