Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.
This operation returns paginated results.
Synopsis
- data ListMemberAccounts = ListMemberAccounts' {}
- newListMemberAccounts :: ListMemberAccounts
- listMemberAccounts_nextToken :: Lens' ListMemberAccounts (Maybe Text)
- listMemberAccounts_maxResults :: Lens' ListMemberAccounts (Maybe Int)
- data ListMemberAccountsResponse = ListMemberAccountsResponse' {
- nextToken :: Maybe Text
- memberAccounts :: Maybe [MemberAccount]
- httpStatus :: Int
- newListMemberAccountsResponse :: Int -> ListMemberAccountsResponse
- listMemberAccountsResponse_nextToken :: Lens' ListMemberAccountsResponse (Maybe Text)
- listMemberAccountsResponse_memberAccounts :: Lens' ListMemberAccountsResponse (Maybe [MemberAccount])
- listMemberAccountsResponse_httpStatus :: Lens' ListMemberAccountsResponse Int
Creating a Request
data ListMemberAccounts Source #
See: newListMemberAccounts
smart constructor.
ListMemberAccounts' | |
|
Instances
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.
ListMemberAccountsResponse' | |
|
Instances
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.
listMemberAccountsResponse_httpStatus :: Lens' ListMemberAccountsResponse Int Source #
The response's http status code.