Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
(Discontinued) 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_maxResults :: Lens' ListMemberAccounts (Maybe Int)
- listMemberAccounts_nextToken :: Lens' ListMemberAccounts (Maybe Text)
- data ListMemberAccountsResponse = ListMemberAccountsResponse' {
- memberAccounts :: Maybe [MemberAccount]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListMemberAccountsResponse :: Int -> ListMemberAccountsResponse
- listMemberAccountsResponse_memberAccounts :: Lens' ListMemberAccountsResponse (Maybe [MemberAccount])
- listMemberAccountsResponse_nextToken :: Lens' ListMemberAccountsResponse (Maybe Text)
- 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: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.
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: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.
listMemberAccountsResponse_httpStatus :: Lens' ListMemberAccountsResponse Int Source #
The response's http status code.