libZSservicesZSamazonka-macieZSamazonka-macie
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.Macie.ListMemberAccounts

Description

Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListMemberAccounts Source #

See: newListMemberAccounts smart constructor.

Constructors

ListMemberAccounts' 

Fields

  • nextToken :: Maybe Text

    Use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListMemberAccounts action. 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 Int

    Use this parameter to indicate the maximum number of items that you want in the response. The default value is 250.

Instances

Instances details
Eq ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Read ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Show ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Generic ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Associated Types

type Rep ListMemberAccounts :: Type -> Type #

NFData ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Methods

rnf :: ListMemberAccounts -> () #

Hashable ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

ToJSON ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

AWSPager ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

AWSRequest ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Associated Types

type AWSResponse ListMemberAccounts #

ToHeaders ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

ToPath ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

ToQuery ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

type Rep ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

type Rep ListMemberAccounts = D1 ('MetaData "ListMemberAccounts" "Amazonka.Macie.ListMemberAccounts" "libZSservicesZSamazonka-macieZSamazonka-macie" 'False) (C1 ('MetaCons "ListMemberAccounts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))
type AWSResponse ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

newListMemberAccounts :: ListMemberAccounts Source #

Create a value of ListMemberAccounts 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:ListMemberAccounts', listMemberAccounts_nextToken - Use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListMemberAccounts action. 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:ListMemberAccounts', listMemberAccounts_maxResults - Use this parameter to indicate the maximum number of items that you want in the response. The default value is 250.

Request Lenses

listMemberAccounts_nextToken :: Lens' ListMemberAccounts (Maybe Text) Source #

Use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListMemberAccounts action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.

listMemberAccounts_maxResults :: Lens' ListMemberAccounts (Maybe Int) Source #

Use this parameter to indicate the maximum number of items that you want in the response. The default value is 250.

Destructuring the Response

data ListMemberAccountsResponse Source #

See: newListMemberAccountsResponse smart constructor.

Constructors

ListMemberAccountsResponse' 

Fields

  • nextToken :: Maybe Text

    When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

  • memberAccounts :: Maybe [MemberAccount]

    A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListMemberAccountsResponse Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Read ListMemberAccountsResponse Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Show ListMemberAccountsResponse Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Generic ListMemberAccountsResponse Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Associated Types

type Rep ListMemberAccountsResponse :: Type -> Type #

NFData ListMemberAccountsResponse Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

type Rep ListMemberAccountsResponse Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

type Rep ListMemberAccountsResponse = D1 ('MetaData "ListMemberAccountsResponse" "Amazonka.Macie.ListMemberAccounts" "libZSservicesZSamazonka-macieZSamazonka-macie" 'False) (C1 ('MetaCons "ListMemberAccountsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "memberAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MemberAccount])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListMemberAccountsResponse Source #

Create a value of ListMemberAccountsResponse 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:ListMemberAccounts', listMemberAccountsResponse_nextToken - When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

$sel:memberAccounts:ListMemberAccountsResponse', listMemberAccountsResponse_memberAccounts - A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.

$sel:httpStatus:ListMemberAccountsResponse', listMemberAccountsResponse_httpStatus - The response's http status code.

Response Lenses

listMemberAccountsResponse_nextToken :: Lens' ListMemberAccountsResponse (Maybe Text) Source #

When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

listMemberAccountsResponse_memberAccounts :: Lens' ListMemberAccountsResponse (Maybe [MemberAccount]) Source #

A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.