amazonka-inspector2-2.0: Amazon Inspector2 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.Inspector2.DisassociateMember

Description

Disassociates a member account from an Amazon Inspector delegated administrator.

Synopsis

Creating a Request

data DisassociateMember Source #

See: newDisassociateMember smart constructor.

Constructors

DisassociateMember' 

Fields

  • accountId :: Text

    The Amazon Web Services account ID of the member account to disassociate.

Instances

Instances details
ToJSON DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

ToHeaders DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

ToPath DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

ToQuery DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

AWSRequest DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

Associated Types

type AWSResponse DisassociateMember #

Generic DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

Associated Types

type Rep DisassociateMember :: Type -> Type #

Read DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

Show DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

NFData DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

Methods

rnf :: DisassociateMember -> () #

Eq DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

Hashable DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

type AWSResponse DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

type Rep DisassociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

type Rep DisassociateMember = D1 ('MetaData "DisassociateMember" "Amazonka.Inspector2.DisassociateMember" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "DisassociateMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDisassociateMember Source #

Create a value of DisassociateMember 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:

DisassociateMember, disassociateMember_accountId - The Amazon Web Services account ID of the member account to disassociate.

Request Lenses

disassociateMember_accountId :: Lens' DisassociateMember Text Source #

The Amazon Web Services account ID of the member account to disassociate.

Destructuring the Response

data DisassociateMemberResponse Source #

See: newDisassociateMemberResponse smart constructor.

Constructors

DisassociateMemberResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • accountId :: Text

    The Amazon Web Services account ID of the successfully disassociated member.

Instances

Instances details
Generic DisassociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

Associated Types

type Rep DisassociateMemberResponse :: Type -> Type #

Read DisassociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

Show DisassociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

NFData DisassociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

Eq DisassociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

type Rep DisassociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.DisassociateMember

type Rep DisassociateMemberResponse = D1 ('MetaData "DisassociateMemberResponse" "Amazonka.Inspector2.DisassociateMember" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "DisassociateMemberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDisassociateMemberResponse Source #

Create a value of DisassociateMemberResponse 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:httpStatus:DisassociateMemberResponse', disassociateMemberResponse_httpStatus - The response's http status code.

DisassociateMember, disassociateMemberResponse_accountId - The Amazon Web Services account ID of the successfully disassociated member.

Response Lenses

disassociateMemberResponse_accountId :: Lens' DisassociateMemberResponse Text Source #

The Amazon Web Services account ID of the successfully disassociated member.