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 [`DisassociateDelegateFromResource`](crate::operation::disassociate_delegate_from_resource::builders::DisassociateDelegateFromResourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::disassociate_delegate_from_resource::builders::DisassociateDelegateFromResourceFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::disassociate_delegate_from_resource::builders::DisassociateDelegateFromResourceFluentBuilder::set_organization_id):<br>required: **true**<br><p>The identifier for the organization under which the resource exists.</p><br>
    ///   - [`resource_id(impl Into<String>)`](crate::operation::disassociate_delegate_from_resource::builders::DisassociateDelegateFromResourceFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::disassociate_delegate_from_resource::builders::DisassociateDelegateFromResourceFluentBuilder::set_resource_id):<br>required: **true**<br><p>The identifier of the resource from which delegates' set members are removed.</p> <p>The identifier can accept <i>ResourceId</i>, <i>Resourcename</i>, or <i>email</i>. The following identity formats are available:</p> <ul>  <li>   <p>Resource ID: r-0123456789a0123456789b0123456789</p></li>  <li>   <p>Email address: resource@domain.tld</p></li>  <li>   <p>Resource name: resource</p></li> </ul><br>
    ///   - [`entity_id(impl Into<String>)`](crate::operation::disassociate_delegate_from_resource::builders::DisassociateDelegateFromResourceFluentBuilder::entity_id) / [`set_entity_id(Option<String>)`](crate::operation::disassociate_delegate_from_resource::builders::DisassociateDelegateFromResourceFluentBuilder::set_entity_id):<br>required: **true**<br><p>The identifier for the member (user, group) to be removed from the resource's delegates.</p> <p>The entity ID can accept <i>UserId or GroupID</i>, <i>Username or Groupname</i>, or <i>email</i>.</p> <ul>  <li>   <p>Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234</p></li>  <li>   <p>Email address: entity@domain.tld</p></li>  <li>   <p>Entity: entity</p></li> </ul><br>
    /// - On success, responds with [`DisassociateDelegateFromResourceOutput`](crate::operation::disassociate_delegate_from_resource::DisassociateDelegateFromResourceOutput)
    /// - On failure, responds with [`SdkError<DisassociateDelegateFromResourceError>`](crate::operation::disassociate_delegate_from_resource::DisassociateDelegateFromResourceError)
    pub fn disassociate_delegate_from_resource(
        &self,
    ) -> crate::operation::disassociate_delegate_from_resource::builders::DisassociateDelegateFromResourceFluentBuilder {
        crate::operation::disassociate_delegate_from_resource::builders::DisassociateDelegateFromResourceFluentBuilder::new(self.handle.clone())
    }
}