| 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 |
Amazonka.Inspector2.ListDelegatedAdminAccounts
Description
Lists information about the Amazon Inspector delegated administrator of your organization.
This operation returns paginated results.
Synopsis
- data ListDelegatedAdminAccounts = ListDelegatedAdminAccounts' {}
- newListDelegatedAdminAccounts :: ListDelegatedAdminAccounts
- listDelegatedAdminAccounts_maxResults :: Lens' ListDelegatedAdminAccounts (Maybe Natural)
- listDelegatedAdminAccounts_nextToken :: Lens' ListDelegatedAdminAccounts (Maybe Text)
- data ListDelegatedAdminAccountsResponse = ListDelegatedAdminAccountsResponse' {}
- newListDelegatedAdminAccountsResponse :: Int -> ListDelegatedAdminAccountsResponse
- listDelegatedAdminAccountsResponse_delegatedAdminAccounts :: Lens' ListDelegatedAdminAccountsResponse (Maybe [DelegatedAdminAccount])
- listDelegatedAdminAccountsResponse_nextToken :: Lens' ListDelegatedAdminAccountsResponse (Maybe Text)
- listDelegatedAdminAccountsResponse_httpStatus :: Lens' ListDelegatedAdminAccountsResponse Int
Creating a Request
data ListDelegatedAdminAccounts Source #
See: newListDelegatedAdminAccounts smart constructor.
Constructors
| ListDelegatedAdminAccounts' | |
Fields
| |
Instances
newListDelegatedAdminAccounts :: ListDelegatedAdminAccounts Source #
Create a value of ListDelegatedAdminAccounts 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:ListDelegatedAdminAccounts', listDelegatedAdminAccounts_maxResults - The maximum number of results to return in the response.
ListDelegatedAdminAccounts, listDelegatedAdminAccounts_nextToken - A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
Request Lenses
listDelegatedAdminAccounts_maxResults :: Lens' ListDelegatedAdminAccounts (Maybe Natural) Source #
The maximum number of results to return in the response.
listDelegatedAdminAccounts_nextToken :: Lens' ListDelegatedAdminAccounts (Maybe Text) Source #
A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
Destructuring the Response
data ListDelegatedAdminAccountsResponse Source #
See: newListDelegatedAdminAccountsResponse smart constructor.
Constructors
| ListDelegatedAdminAccountsResponse' | |
Fields
| |
Instances
newListDelegatedAdminAccountsResponse Source #
Arguments
| :: Int | |
| -> ListDelegatedAdminAccountsResponse |
Create a value of ListDelegatedAdminAccountsResponse 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:delegatedAdminAccounts:ListDelegatedAdminAccountsResponse', listDelegatedAdminAccountsResponse_delegatedAdminAccounts - Details of the Amazon Inspector delegated administrator of your
organization.
ListDelegatedAdminAccounts, listDelegatedAdminAccountsResponse_nextToken - A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
$sel:httpStatus:ListDelegatedAdminAccountsResponse', listDelegatedAdminAccountsResponse_httpStatus - The response's http status code.
Response Lenses
listDelegatedAdminAccountsResponse_delegatedAdminAccounts :: Lens' ListDelegatedAdminAccountsResponse (Maybe [DelegatedAdminAccount]) Source #
Details of the Amazon Inspector delegated administrator of your organization.
listDelegatedAdminAccountsResponse_nextToken :: Lens' ListDelegatedAdminAccountsResponse (Maybe Text) Source #
A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
listDelegatedAdminAccountsResponse_httpStatus :: Lens' ListDelegatedAdminAccountsResponse Int Source #
The response's http status code.