aws_sdk_workmail/client/
disassociate_member_from_group.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisassociateMemberFromGroup`](crate::operation::disassociate_member_from_group::builders::DisassociateMemberFromGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::disassociate_member_from_group::builders::DisassociateMemberFromGroupFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::disassociate_member_from_group::builders::DisassociateMemberFromGroupFluentBuilder::set_organization_id):<br>required: **true**<br><p>The identifier for the organization under which the group exists.</p><br>
    ///   - [`group_id(impl Into<String>)`](crate::operation::disassociate_member_from_group::builders::DisassociateMemberFromGroupFluentBuilder::group_id) / [`set_group_id(Option<String>)`](crate::operation::disassociate_member_from_group::builders::DisassociateMemberFromGroupFluentBuilder::set_group_id):<br>required: **true**<br><p>The identifier for the group from which members are removed.</p> <p>The identifier can accept <i>GroupId</i>, <i>Groupname</i>, or <i>email</i>. The following identity formats are available:</p> <ul>  <li>   <p>Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234</p></li>  <li>   <p>Email address: group@domain.tld</p></li>  <li>   <p>Group name: group</p></li> </ul><br>
    ///   - [`member_id(impl Into<String>)`](crate::operation::disassociate_member_from_group::builders::DisassociateMemberFromGroupFluentBuilder::member_id) / [`set_member_id(Option<String>)`](crate::operation::disassociate_member_from_group::builders::DisassociateMemberFromGroupFluentBuilder::set_member_id):<br>required: **true**<br><p>The identifier for the member to be removed from the group.</p> <p>The member ID can accept <i>UserID or GroupId</i>, <i>Username or Groupname</i>, or <i>email</i>.</p> <ul>  <li>   <p>Member ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234</p></li>  <li>   <p>Email address: member@domain.tld</p></li>  <li>   <p>Member name: member</p></li> </ul><br>
    /// - On success, responds with [`DisassociateMemberFromGroupOutput`](crate::operation::disassociate_member_from_group::DisassociateMemberFromGroupOutput)
    /// - On failure, responds with [`SdkError<DisassociateMemberFromGroupError>`](crate::operation::disassociate_member_from_group::DisassociateMemberFromGroupError)
    pub fn disassociate_member_from_group(
        &self,
    ) -> crate::operation::disassociate_member_from_group::builders::DisassociateMemberFromGroupFluentBuilder {
        crate::operation::disassociate_member_from_group::builders::DisassociateMemberFromGroupFluentBuilder::new(self.handle.clone())
    }
}