libZSservicesZSamazonka-detectiveZSamazonka-detective
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.Detective.ListMembers

Description

Retrieves the list of member accounts for a behavior graph. Does not return member accounts that were removed from the behavior graph.

Synopsis

Creating a Request

data ListMembers Source #

See: newListMembers smart constructor.

Constructors

ListMembers' 

Fields

  • nextToken :: Maybe Text

    For requests to retrieve the next page of member account results, the pagination token that was returned with the previous page of results. The initial request does not include a pagination token.

  • maxResults :: Maybe Natural

    The maximum number of member accounts to include in the response. The total must be less than the overall limit on the number of results to return, which is currently 200.

  • graphArn :: Text

    The ARN of the behavior graph for which to retrieve the list of member accounts.

Instances

Instances details
Eq ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Read ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Show ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Generic ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Associated Types

type Rep ListMembers :: Type -> Type #

NFData ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Methods

rnf :: ListMembers -> () #

Hashable ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

ToJSON ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

AWSRequest ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Associated Types

type AWSResponse ListMembers #

ToHeaders ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Methods

toHeaders :: ListMembers -> [Header] #

ToPath ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

ToQuery ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

type Rep ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

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

Defined in Amazonka.Detective.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:nextToken:ListMembers', listMembers_nextToken - For requests to retrieve the next page of member account results, the pagination token that was returned with the previous page of results. The initial request does not include a pagination token.

$sel:maxResults:ListMembers', listMembers_maxResults - The maximum number of member accounts to include in the response. The total must be less than the overall limit on the number of results to return, which is currently 200.

$sel:graphArn:ListMembers', listMembers_graphArn - The ARN of the behavior graph for which to retrieve the list of member accounts.

Request Lenses

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

For requests to retrieve the next page of member account results, the pagination token that was returned with the previous page of results. The initial request does not include a pagination token.

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

The maximum number of member accounts to include in the response. The total must be less than the overall limit on the number of results to return, which is currently 200.

listMembers_graphArn :: Lens' ListMembers Text Source #

The ARN of the behavior graph for which to retrieve the list of member accounts.

Destructuring the Response

data ListMembersResponse Source #

See: newListMembersResponse smart constructor.

Constructors

ListMembersResponse' 

Fields

  • memberDetails :: Maybe [MemberDetail]

    The list of member accounts in the behavior graph.

    The results include member accounts that did not pass verification and member accounts that have not yet accepted the invitation to the behavior graph. The results do not include member accounts that were removed from the behavior graph.

  • nextToken :: Maybe Text

    If there are more member accounts remaining in the results, then this is the pagination token to use to request the next page of member accounts.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Read ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Show ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Generic ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Associated Types

type Rep ListMembersResponse :: Type -> Type #

NFData ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Methods

rnf :: ListMembersResponse -> () #

type Rep ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

type Rep ListMembersResponse = D1 ('MetaData "ListMembersResponse" "Amazonka.Detective.ListMembers" "libZSservicesZSamazonka-detectiveZSamazonka-detective" 'False) (C1 ('MetaCons "ListMembersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memberDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MemberDetail])) :*: (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:memberDetails:ListMembersResponse', listMembersResponse_memberDetails - The list of member accounts in the behavior graph.

The results include member accounts that did not pass verification and member accounts that have not yet accepted the invitation to the behavior graph. The results do not include member accounts that were removed from the behavior graph.

$sel:nextToken:ListMembers', listMembersResponse_nextToken - If there are more member accounts remaining in the results, then this is the pagination token to use to request the next page of member accounts.

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

Response Lenses

listMembersResponse_memberDetails :: Lens' ListMembersResponse (Maybe [MemberDetail]) Source #

The list of member accounts in the behavior graph.

The results include member accounts that did not pass verification and member accounts that have not yet accepted the invitation to the behavior graph. The results do not include member accounts that were removed from the behavior graph.

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

If there are more member accounts remaining in the results, then this is the pagination token to use to request the next page of member accounts.