amazonka-macie-2.0: Amazon Macie 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.Macie.ListMemberAccounts

Description

(Discontinued) 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

  • maxResults :: Maybe Int

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

  • nextToken :: Maybe Text

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

Instances

Instances details
ToJSON ListMemberAccounts Source # 
Instance details

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

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 #

Generic ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Associated Types

type Rep ListMemberAccounts :: Type -> Type #

Read ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Show ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

NFData ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Methods

rnf :: ListMemberAccounts -> () #

Eq ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Hashable ListMemberAccounts Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

type AWSResponse 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" "amazonka-macie-2.0-6zQjUC5IKQtkmzh23qe2R" 'False) (C1 ('MetaCons "ListMemberAccounts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:maxResults:ListMemberAccounts', listMemberAccounts_maxResults - (Discontinued) Use this parameter to indicate the maximum number of items that you want in the response. The default value is 250.

ListMemberAccounts, listMemberAccounts_nextToken - (Discontinued) 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.

Request Lenses

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

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

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

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

Destructuring the Response

data ListMemberAccountsResponse Source #

See: newListMemberAccountsResponse smart constructor.

Constructors

ListMemberAccountsResponse' 

Fields

  • memberAccounts :: Maybe [MemberAccount]

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

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListMemberAccountsResponse Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Associated Types

type Rep ListMemberAccountsResponse :: Type -> Type #

Read ListMemberAccountsResponse Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Show ListMemberAccountsResponse Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

NFData ListMemberAccountsResponse Source # 
Instance details

Defined in Amazonka.Macie.ListMemberAccounts

Eq 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" "amazonka-macie-2.0-6zQjUC5IKQtkmzh23qe2R" 'False) (C1 ('MetaCons "ListMemberAccountsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memberAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MemberAccount])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:memberAccounts:ListMemberAccountsResponse', listMemberAccountsResponse_memberAccounts - (Discontinued) 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.

ListMemberAccounts, listMemberAccountsResponse_nextToken - (Discontinued) 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:httpStatus:ListMemberAccountsResponse', listMemberAccountsResponse_httpStatus - The response's http status code.

Response Lenses

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

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

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

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