Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Removes the member account from the specified behavior graph. This
operation can only be called by an invited member account that has the
ENABLED
status.
DisassociateMembership
cannot be called by an organization account in
the organization behavior graph. For the organization behavior graph,
the Detective administrator account determines which organization
accounts to enable or disable as member accounts.
Synopsis
- data DisassociateMembership = DisassociateMembership' {}
- newDisassociateMembership :: Text -> DisassociateMembership
- disassociateMembership_graphArn :: Lens' DisassociateMembership Text
- data DisassociateMembershipResponse = DisassociateMembershipResponse' {
- newDisassociateMembershipResponse :: DisassociateMembershipResponse
Creating a Request
data DisassociateMembership Source #
See: newDisassociateMembership
smart constructor.
Instances
newDisassociateMembership Source #
Create a value of DisassociateMembership
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DisassociateMembership
, disassociateMembership_graphArn
- The ARN of the behavior graph to remove the member account from.
The member account's member status in the behavior graph must be
ENABLED
.
Request Lenses
disassociateMembership_graphArn :: Lens' DisassociateMembership Text Source #
The ARN of the behavior graph to remove the member account from.
The member account's member status in the behavior graph must be
ENABLED
.
Destructuring the Response
data DisassociateMembershipResponse Source #
See: newDisassociateMembershipResponse
smart constructor.
Instances
newDisassociateMembershipResponse :: DisassociateMembershipResponse Source #
Create a value of DisassociateMembershipResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.