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.DeleteMembers

Description

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

Synopsis

Creating a Request

data DeleteMembers Source #

See: newDeleteMembers smart constructor.

Constructors

DeleteMembers' 

Fields

  • detectorId :: Text

    The unique ID of the detector of the GuardDuty account whose members you want to delete.

  • accountIds :: NonEmpty Text

    A list of account IDs of the GuardDuty member accounts that you want to delete.

Instances

Instances details
Eq DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Read DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Show DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Generic DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Associated Types

type Rep DeleteMembers :: Type -> Type #

NFData DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Methods

rnf :: DeleteMembers -> () #

Hashable DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

ToJSON DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

AWSRequest DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Associated Types

type AWSResponse DeleteMembers #

ToHeaders DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

ToPath DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

ToQuery DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

type Rep DeleteMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

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

Defined in Amazonka.GuardDuty.DeleteMembers

newDeleteMembers Source #

Create a value of DeleteMembers 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:DeleteMembers', deleteMembers_detectorId - The unique ID of the detector of the GuardDuty account whose members you want to delete.

$sel:accountIds:DeleteMembers', deleteMembers_accountIds - A list of account IDs of the GuardDuty member accounts that you want to delete.

Request Lenses

deleteMembers_detectorId :: Lens' DeleteMembers Text Source #

The unique ID of the detector of the GuardDuty account whose members you want to delete.

deleteMembers_accountIds :: Lens' DeleteMembers (NonEmpty Text) Source #

A list of account IDs of the GuardDuty member accounts that you want to delete.

Destructuring the Response

data DeleteMembersResponse Source #

See: newDeleteMembersResponse smart constructor.

Constructors

DeleteMembersResponse' 

Fields

Instances

Instances details
Eq DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Read DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Show DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Generic DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Associated Types

type Rep DeleteMembersResponse :: Type -> Type #

NFData DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

Methods

rnf :: DeleteMembersResponse -> () #

type Rep DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteMembers

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

newDeleteMembersResponse Source #

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

$sel:unprocessedAccounts:DeleteMembersResponse', deleteMembersResponse_unprocessedAccounts - The accounts that could not be processed.

Response Lenses