aws_sdk_workmail/client/update_impersonation_role.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateImpersonationRole`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::set_organization_id):<br>required: **true**<br><p>The WorkMail organization that contains the impersonation role to update.</p><br>
/// - [`impersonation_role_id(impl Into<String>)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::impersonation_role_id) / [`set_impersonation_role_id(Option<String>)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::set_impersonation_role_id):<br>required: **true**<br><p>The ID of the impersonation role to update.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::set_name):<br>required: **true**<br><p>The updated impersonation role name.</p><br>
/// - [`r#type(ImpersonationRoleType)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::type) / [`set_type(Option<ImpersonationRoleType>)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::set_type):<br>required: **true**<br><p>The updated impersonation role type.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::set_description):<br>required: **false**<br><p>The updated impersonation role description.</p><br>
/// - [`rules(ImpersonationRule)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::rules) / [`set_rules(Option<Vec::<ImpersonationRule>>)`](crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::set_rules):<br>required: **true**<br><p>The updated list of rules.</p><br>
/// - On success, responds with [`UpdateImpersonationRoleOutput`](crate::operation::update_impersonation_role::UpdateImpersonationRoleOutput)
/// - On failure, responds with [`SdkError<UpdateImpersonationRoleError>`](crate::operation::update_impersonation_role::UpdateImpersonationRoleError)
pub fn update_impersonation_role(&self) -> crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder {
crate::operation::update_impersonation_role::builders::UpdateImpersonationRoleFluentBuilder::new(self.handle.clone())
}
}