aws_sdk_workmail/client/delete_alias.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteAlias`](crate::operation::delete_alias::builders::DeleteAliasFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::delete_alias::builders::DeleteAliasFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::delete_alias::builders::DeleteAliasFluentBuilder::set_organization_id):<br>required: **true**<br><p>The identifier for the organization under which the user exists.</p><br>
/// - [`entity_id(impl Into<String>)`](crate::operation::delete_alias::builders::DeleteAliasFluentBuilder::entity_id) / [`set_entity_id(Option<String>)`](crate::operation::delete_alias::builders::DeleteAliasFluentBuilder::set_entity_id):<br>required: **true**<br><p>The identifier for the member (user or group) from which to have the aliases removed.</p><br>
/// - [`alias(impl Into<String>)`](crate::operation::delete_alias::builders::DeleteAliasFluentBuilder::alias) / [`set_alias(Option<String>)`](crate::operation::delete_alias::builders::DeleteAliasFluentBuilder::set_alias):<br>required: **true**<br><p>The aliases to be removed from the user's set of aliases. Duplicate entries in the list are collapsed into single entries (the list is transformed into a set).</p><br>
/// - On success, responds with [`DeleteAliasOutput`](crate::operation::delete_alias::DeleteAliasOutput)
/// - On failure, responds with [`SdkError<DeleteAliasError>`](crate::operation::delete_alias::DeleteAliasError)
pub fn delete_alias(&self) -> crate::operation::delete_alias::builders::DeleteAliasFluentBuilder {
crate::operation::delete_alias::builders::DeleteAliasFluentBuilder::new(self.handle.clone())
}
}