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

Description

Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.

Synopsis

Creating a Request

data GetMembers Source #

See: newGetMembers smart constructor.

Constructors

GetMembers' 

Fields

  • detectorId :: Text

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

  • accountIds :: NonEmpty Text

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

Instances

Instances details
Eq GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Read GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Show GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Generic GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Associated Types

type Rep GetMembers :: Type -> Type #

NFData GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Methods

rnf :: GetMembers -> () #

Hashable GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

ToJSON GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

AWSRequest GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Associated Types

type AWSResponse GetMembers #

ToHeaders GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Methods

toHeaders :: GetMembers -> [Header] #

ToPath GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

ToQuery GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

type Rep GetMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

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

Defined in Amazonka.GuardDuty.GetMembers

newGetMembers Source #

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

$sel:accountIds:GetMembers', getMembers_accountIds - A list of account IDs of the GuardDuty member accounts that you want to describe.

Request Lenses

getMembers_detectorId :: Lens' GetMembers Text Source #

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

getMembers_accountIds :: Lens' GetMembers (NonEmpty Text) Source #

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

Destructuring the Response

data GetMembersResponse Source #

See: newGetMembersResponse smart constructor.

Constructors

GetMembersResponse' 

Fields

Instances

Instances details
Eq GetMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Read GetMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Show GetMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Generic GetMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Associated Types

type Rep GetMembersResponse :: Type -> Type #

NFData GetMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

Methods

rnf :: GetMembersResponse -> () #

type Rep GetMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMembers

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

newGetMembersResponse Source #

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

$sel:members:GetMembersResponse', getMembersResponse_members - A list of members.

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

Response Lenses

getMembersResponse_unprocessedAccounts :: Lens' GetMembersResponse [UnprocessedAccount] Source #

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