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 |
Amazonka.Detective.DisassociateMembership
Description
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.
Constructors
DisassociateMembership' | |
Instances
newDisassociateMembership Source #
Arguments
:: Text | |
-> DisassociateMembership |
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.
Constructors
DisassociateMembershipResponse' | |
Instances
Generic DisassociateMembershipResponse Source # | |
Defined in Amazonka.Detective.DisassociateMembership Associated Types type Rep DisassociateMembershipResponse :: Type -> Type # | |
Read DisassociateMembershipResponse Source # | |
Show DisassociateMembershipResponse Source # | |
Defined in Amazonka.Detective.DisassociateMembership Methods showsPrec :: Int -> DisassociateMembershipResponse -> ShowS # show :: DisassociateMembershipResponse -> String # showList :: [DisassociateMembershipResponse] -> ShowS # | |
NFData DisassociateMembershipResponse Source # | |
Defined in Amazonka.Detective.DisassociateMembership Methods rnf :: DisassociateMembershipResponse -> () # | |
Eq DisassociateMembershipResponse Source # | |
Defined in Amazonka.Detective.DisassociateMembership | |
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.