| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Detective.DisassociateMembership
Description
Removes the member account from the specified behavior graph. This
operation can only be called by a member account that has the ENABLED
status.
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.
Constructors
| DisassociateMembership' | |
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:
$sel:graphArn: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.
Constructors
| DisassociateMembershipResponse' | |
Instances
| Eq DisassociateMembershipResponse Source # | |
Defined in Amazonka.Detective.DisassociateMembership | |
| Read DisassociateMembershipResponse Source # | |
| Show DisassociateMembershipResponse Source # | |
Defined in Amazonka.Detective.DisassociateMembership Methods showsPrec :: Int -> DisassociateMembershipResponse -> ShowS # show :: DisassociateMembershipResponse -> String # showList :: [DisassociateMembershipResponse] -> ShowS # | |
| Generic DisassociateMembershipResponse Source # | |
Defined in Amazonka.Detective.DisassociateMembership Associated Types type Rep DisassociateMembershipResponse :: Type -> Type # | |
| NFData DisassociateMembershipResponse Source # | |
Defined in Amazonka.Detective.DisassociateMembership Methods rnf :: DisassociateMembershipResponse -> () # | |
| type Rep DisassociateMembershipResponse Source # | |
Defined in Amazonka.Detective.DisassociateMembership | |
newDisassociateMembershipResponse :: DisassociateMembershipResponse Source #
Create a value of DisassociateMembershipResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.