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

  • 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).

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

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

  • detectorId :: Text

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

Instances

Instances details
Eq ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Read ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Show ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Generic ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Associated Types

type Rep ListMembers :: Type -> Type #

NFData ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Methods

rnf :: ListMembers -> () #

Hashable 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 #

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

type Rep ListMembers Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

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

Defined in Amazonka.GuardDuty.ListMembers

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: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).

$sel:nextToken: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: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.

$sel:detectorId:ListMembers', listMembers_detectorId - The unique ID of the detector the member is associated with.

Request Lenses

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

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_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_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
Eq ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Read ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Show ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Generic ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Associated Types

type Rep ListMembersResponse :: Type -> Type #

NFData ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

Methods

rnf :: ListMembersResponse -> () #

type Rep ListMembersResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListMembers

type Rep ListMembersResponse = D1 ('MetaData "ListMembersResponse" "Amazonka.GuardDuty.ListMembers" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" '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.

$sel:nextToken: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.