amazonka-guardduty-2.0: Amazon GuardDuty 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.GuardDuty.ListMembers

Description

Lists details about all member accounts for the current GuardDuty administrator account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListMembers Source #

See: newListMembers smart constructor.

Constructors

ListMembers' 

Fields

  • maxResults :: Maybe Natural

    You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

  • nextToken :: Maybe Text

    You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

  • onlyAssociated :: Maybe Text

    Specifies whether to only return associated members or to return all members (including members who haven't been invited yet or have been disassociated). Member accounts must have been previously associated with the GuardDuty administrator account using Create Members .

  • detectorId :: Text

    The unique ID of the detector the member is associated with.

Instances

Instances details
ToHeaders ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Methods

toHeaders :: ListMembers -> [Header] #

ToPath ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

ToQuery ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

AWSPager ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

AWSRequest ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Associated Types

type AWSResponse ListMembers #

Generic ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Associated Types

type Rep ListMembers :: Type -> Type #

Read ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Show ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

NFData ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Methods

rnf :: ListMembers -> () #

Eq ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Hashable ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

type AWSResponse ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

type Rep ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

type Rep ListMembers = D1 ('MetaData "ListMembers" "Amazonka.GuardDuty.ListMembers" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "ListMembers'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "onlyAssociated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListMembers Source #

Create a value of ListMembers 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:maxResults:ListMembers', listMembers_maxResults - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

ListMembers, listMembers_nextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

$sel:onlyAssociated:ListMembers', listMembers_onlyAssociated - Specifies whether to only return associated members or to return all members (including members who haven't been invited yet or have been disassociated). Member accounts must have been previously associated with the GuardDuty administrator account using Create Members .

ListMembers, listMembers_detectorId - The unique ID of the detector the member is associated with.

Request Lenses

listMembers_maxResults :: Lens' ListMembers (Maybe Natural) Source #

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

listMembers_nextToken :: Lens' ListMembers (Maybe Text) Source #

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

listMembers_onlyAssociated :: Lens' ListMembers (Maybe Text) Source #

Specifies whether to only return associated members or to return all members (including members who haven't been invited yet or have been disassociated). Member accounts must have been previously associated with the GuardDuty administrator account using Create Members .

listMembers_detectorId :: Lens' ListMembers Text Source #

The unique ID of the detector the member is associated with.

Destructuring the Response

data ListMembersResponse Source #

See: newListMembersResponse smart constructor.

Constructors

ListMembersResponse' 

Fields

Instances

Instances details
Generic ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Associated Types

type Rep ListMembersResponse :: Type -> Type #

Read ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Show ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

NFData ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Methods

rnf :: ListMembersResponse -> () #

Eq ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

type Rep ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

type Rep ListMembersResponse = D1 ('MetaData "ListMembersResponse" "Amazonka.GuardDuty.ListMembers" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "ListMembersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Member])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListMembersResponse Source #

Create a value of ListMembersResponse 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:members:ListMembersResponse', listMembersResponse_members - A list of members.

ListMembers, listMembersResponse_nextToken - The pagination parameter to be used on the next list operation to retrieve more items.

$sel:httpStatus:ListMembersResponse', listMembersResponse_httpStatus - The response's http status code.

Response Lenses

listMembersResponse_nextToken :: Lens' ListMembersResponse (Maybe Text) Source #

The pagination parameter to be used on the next list operation to retrieve more items.