aws_sdk_workmail/client/
create_alias.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateAlias`](crate::operation::create_alias::builders::CreateAliasFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::create_alias::builders::CreateAliasFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::create_alias::builders::CreateAliasFluentBuilder::set_organization_id):<br>required: **true**<br><p>The organization under which the member (user or group) exists.</p><br>
    ///   - [`entity_id(impl Into<String>)`](crate::operation::create_alias::builders::CreateAliasFluentBuilder::entity_id) / [`set_entity_id(Option<String>)`](crate::operation::create_alias::builders::CreateAliasFluentBuilder::set_entity_id):<br>required: **true**<br><p>The member (user or group) to which this alias is added.</p><br>
    ///   - [`alias(impl Into<String>)`](crate::operation::create_alias::builders::CreateAliasFluentBuilder::alias) / [`set_alias(Option<String>)`](crate::operation::create_alias::builders::CreateAliasFluentBuilder::set_alias):<br>required: **true**<br><p>The alias to add to the member set.</p><br>
    /// - On success, responds with [`CreateAliasOutput`](crate::operation::create_alias::CreateAliasOutput)
    /// - On failure, responds with [`SdkError<CreateAliasError>`](crate::operation::create_alias::CreateAliasError)
    pub fn create_alias(&self) -> crate::operation::create_alias::builders::CreateAliasFluentBuilder {
        crate::operation::create_alias::builders::CreateAliasFluentBuilder::new(self.handle.clone())
    }
}