aws_sdk_detective/client/
disassociate_membership.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisassociateMembership`](crate::operation::disassociate_membership::builders::DisassociateMembershipFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`graph_arn(impl Into<String>)`](crate::operation::disassociate_membership::builders::DisassociateMembershipFluentBuilder::graph_arn) / [`set_graph_arn(Option<String>)`](crate::operation::disassociate_membership::builders::DisassociateMembershipFluentBuilder::set_graph_arn):<br>required: **true**<br><p>The ARN of the behavior graph to remove the member account from.</p> <p>The member account's member status in the behavior graph must be <code>ENABLED</code>.</p><br>
    /// - On success, responds with [`DisassociateMembershipOutput`](crate::operation::disassociate_membership::DisassociateMembershipOutput)
    /// - On failure, responds with [`SdkError<DisassociateMembershipError>`](crate::operation::disassociate_membership::DisassociateMembershipError)
    pub fn disassociate_membership(&self) -> crate::operation::disassociate_membership::builders::DisassociateMembershipFluentBuilder {
        crate::operation::disassociate_membership::builders::DisassociateMembershipFluentBuilder::new(self.handle.clone())
    }
}