amazonka-detective-2.0: Amazon Detective 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.Detective.ListMembers

Description

Retrieves the list of member accounts for a behavior graph.

For invited accounts, the results do not include member accounts that were removed from the behavior graph.

For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

Synopsis

Creating a Request

data ListMembers Source #

See: newListMembers smart constructor.

Constructors

ListMembers' 

Fields

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

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

  • graphArn :: Text

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

Instances

Instances details
ToJSON ListMembers Source # 
Instance details

Defined in Amazonka.Detective.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

AWSRequest ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Associated Types

type AWSResponse ListMembers #

Generic ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Associated Types

type Rep ListMembers :: Type -> Type #

Read ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Show ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

NFData ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Methods

rnf :: ListMembers -> () #

Eq ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Hashable ListMembers Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

type AWSResponse 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" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" '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 "graphArn") '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 - 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, 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.

ListMembers, listMembers_graphArn - The ARN of the behavior graph for which to retrieve the list of member accounts.

Request Lenses

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

    For invited accounts, 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.

    For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Associated Types

type Rep ListMembersResponse :: Type -> Type #

Read ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Show ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

NFData ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

Methods

rnf :: ListMembersResponse -> () #

Eq ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

type Rep ListMembersResponse Source # 
Instance details

Defined in Amazonka.Detective.ListMembers

type Rep ListMembersResponse = D1 ('MetaData "ListMembersResponse" "Amazonka.Detective.ListMembers" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" '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.

For invited accounts, 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.

For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

ListMembers, listMembersResponse_nextToken - If there are more member accounts remaining in the results, then use this pagination token 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.

For invited accounts, 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.

For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

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

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