libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GuardDuty.DisassociateMembers

Description

Disassociates GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.

Synopsis

Creating a Request

data DisassociateMembers Source #

See: newDisassociateMembers smart constructor.

Constructors

DisassociateMembers' 

Fields

  • detectorId :: Text

    The unique ID of the detector of the GuardDuty account whose members you want to disassociate from the administrator account.

  • accountIds :: NonEmpty Text

    A list of account IDs of the GuardDuty member accounts that you want to disassociate from the administrator account.

Instances

Instances details
Eq DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

Read DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

Show DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

Generic DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

Associated Types

type Rep DisassociateMembers :: Type -> Type #

NFData DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

Methods

rnf :: DisassociateMembers -> () #

Hashable DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

ToJSON DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

AWSRequest DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

Associated Types

type AWSResponse DisassociateMembers #

ToHeaders DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

ToPath DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

ToQuery DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

type Rep DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

type Rep DisassociateMembers = D1 ('MetaData "DisassociateMembers" "Amazonka.GuardDuty.DisassociateMembers" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "DisassociateMembers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))
type AWSResponse DisassociateMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

newDisassociateMembers Source #

Create a value of DisassociateMembers 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:detectorId:DisassociateMembers', disassociateMembers_detectorId - The unique ID of the detector of the GuardDuty account whose members you want to disassociate from the administrator account.

$sel:accountIds:DisassociateMembers', disassociateMembers_accountIds - A list of account IDs of the GuardDuty member accounts that you want to disassociate from the administrator account.

Request Lenses

disassociateMembers_detectorId :: Lens' DisassociateMembers Text Source #

The unique ID of the detector of the GuardDuty account whose members you want to disassociate from the administrator account.

disassociateMembers_accountIds :: Lens' DisassociateMembers (NonEmpty Text) Source #

A list of account IDs of the GuardDuty member accounts that you want to disassociate from the administrator account.

Destructuring the Response

data DisassociateMembersResponse Source #

See: newDisassociateMembersResponse smart constructor.

Constructors

DisassociateMembersResponse' 

Fields

Instances

Instances details
Eq DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

Read DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

Show DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

Generic DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

Associated Types

type Rep DisassociateMembersResponse :: Type -> Type #

NFData DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

type Rep DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DisassociateMembers

type Rep DisassociateMembersResponse = D1 ('MetaData "DisassociateMembersResponse" "Amazonka.GuardDuty.DisassociateMembers" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "DisassociateMembersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "unprocessedAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UnprocessedAccount])))

newDisassociateMembersResponse Source #

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

$sel:unprocessedAccounts:DisassociateMembersResponse', disassociateMembersResponse_unprocessedAccounts - A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.

Response Lenses

disassociateMembersResponse_unprocessedAccounts :: Lens' DisassociateMembersResponse [UnprocessedAccount] Source #

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.