amazonka-detective-2.0: Amazon Detective SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data DisassociateMembership Source #

See: newDisassociateMembership smart constructor.

Constructors

DisassociateMembership' 

Fields

  • graphArn :: Text

    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.

Instances

Instances details
ToJSON DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

ToHeaders DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

ToPath DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

ToQuery DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

AWSRequest DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

Associated Types

type AWSResponse DisassociateMembership #

Generic DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

Associated Types

type Rep DisassociateMembership :: Type -> Type #

Read DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

Show DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

NFData DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

Methods

rnf :: DisassociateMembership -> () #

Eq DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

Hashable DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

type AWSResponse DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

type Rep DisassociateMembership Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

type Rep DisassociateMembership = D1 ('MetaData "DisassociateMembership" "Amazonka.Detective.DisassociateMembership" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" 'False) (C1 ('MetaCons "DisassociateMembership'" 'PrefixI 'True) (S1 ('MetaSel ('Just "graphArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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

Instances details
Generic DisassociateMembershipResponse Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

Associated Types

type Rep DisassociateMembershipResponse :: Type -> Type #

Read DisassociateMembershipResponse Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

Show DisassociateMembershipResponse Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

NFData DisassociateMembershipResponse Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

Eq DisassociateMembershipResponse Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

type Rep DisassociateMembershipResponse Source # 
Instance details

Defined in Amazonka.Detective.DisassociateMembership

type Rep DisassociateMembershipResponse = D1 ('MetaData "DisassociateMembershipResponse" "Amazonka.Detective.DisassociateMembership" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" 'False) (C1 ('MetaCons "DisassociateMembershipResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDisassociateMembershipResponse :: DisassociateMembershipResponse Source #

Create a value of DisassociateMembershipResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.