libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.ListMembers

Description

Retrieves information about the accounts that are associated with an Amazon Macie administrator account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListMembers Source #

See: newListMembers smart constructor.

Constructors

ListMembers' 

Fields

  • nextToken :: Maybe Text

    The nextToken string that specifies which page of results to return in a paginated response.

  • onlyAssociated :: Maybe Text

    Specifies which accounts to include in the response, based on the status of an account's relationship with the administrator account. By default, the response includes only current member accounts. To include all accounts, set this value to false.

  • maxResults :: Maybe Natural

    The maximum number of items to include in each page of a paginated response.

Instances

Instances details
Eq ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Read ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Show ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Generic ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Associated Types

type Rep ListMembers :: Type -> Type #

NFData ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Methods

rnf :: ListMembers -> () #

Hashable ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

AWSPager ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

AWSRequest ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Associated Types

type AWSResponse ListMembers #

ToHeaders ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Methods

toHeaders :: ListMembers -> [Header] #

ToPath ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

ToQuery ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

type Rep ListMembers Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

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

Defined in Amazonka.MacieV2.ListMembers

newListMembers :: ListMembers 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 - The nextToken string that specifies which page of results to return in a paginated response.

$sel:onlyAssociated:ListMembers', listMembers_onlyAssociated - Specifies which accounts to include in the response, based on the status of an account's relationship with the administrator account. By default, the response includes only current member accounts. To include all accounts, set this value to false.

$sel:maxResults:ListMembers', listMembers_maxResults - The maximum number of items to include in each page of a paginated response.

Request Lenses

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

The nextToken string that specifies which page of results to return in a paginated response.

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

Specifies which accounts to include in the response, based on the status of an account's relationship with the administrator account. By default, the response includes only current member accounts. To include all accounts, set this value to false.

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

The maximum number of items to include in each page of a paginated response.

Destructuring the Response

data ListMembersResponse Source #

See: newListMembersResponse smart constructor.

Constructors

ListMembersResponse' 

Fields

  • members :: Maybe [Member]

    An array of objects, one for each account that's associated with the administrator account and meets the criteria specified by the onlyAssociated request parameter.

  • nextToken :: Maybe Text

    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListMembersResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Read ListMembersResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Show ListMembersResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Generic ListMembersResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Associated Types

type Rep ListMembersResponse :: Type -> Type #

NFData ListMembersResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

Methods

rnf :: ListMembersResponse -> () #

type Rep ListMembersResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListMembers

type Rep ListMembersResponse = D1 ('MetaData "ListMembersResponse" "Amazonka.MacieV2.ListMembers" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" '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 - An array of objects, one for each account that's associated with the administrator account and meets the criteria specified by the onlyAssociated request parameter.

$sel:nextToken:ListMembers', listMembersResponse_nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

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

Response Lenses

listMembersResponse_members :: Lens' ListMembersResponse (Maybe [Member]) Source #

An array of objects, one for each account that's associated with the administrator account and meets the criteria specified by the onlyAssociated request parameter.

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

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.