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 of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
This operation returns paginated results.
Synopsis
- data ListScheduledAudits = ListScheduledAudits' {}
- newListScheduledAudits :: ListScheduledAudits
- listScheduledAudits_nextToken :: Lens' ListScheduledAudits (Maybe Text)
- listScheduledAudits_maxResults :: Lens' ListScheduledAudits (Maybe Natural)
- data ListScheduledAuditsResponse = ListScheduledAuditsResponse' {}
- newListScheduledAuditsResponse :: Int -> ListScheduledAuditsResponse
- listScheduledAuditsResponse_scheduledAudits :: Lens' ListScheduledAuditsResponse (Maybe [ScheduledAuditMetadata])
- listScheduledAuditsResponse_nextToken :: Lens' ListScheduledAuditsResponse (Maybe Text)
- listScheduledAuditsResponse_httpStatus :: Lens' ListScheduledAuditsResponse Int
Creating a Request
data ListScheduledAudits Source #
See: newListScheduledAudits
smart constructor.
Instances
newListScheduledAudits :: ListScheduledAudits Source #
Create a value of ListScheduledAudits
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:ListScheduledAudits'
, listScheduledAudits_nextToken
- The token for the next set of results.
$sel:maxResults:ListScheduledAudits'
, listScheduledAudits_maxResults
- The maximum number of results to return at one time. The default is 25.
Request Lenses
listScheduledAudits_nextToken :: Lens' ListScheduledAudits (Maybe Text) Source #
The token for the next set of results.
listScheduledAudits_maxResults :: Lens' ListScheduledAudits (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 25.
Destructuring the Response
data ListScheduledAuditsResponse Source #
See: newListScheduledAuditsResponse
smart constructor.
ListScheduledAuditsResponse' | |
|
Instances
newListScheduledAuditsResponse Source #
Create a value of ListScheduledAuditsResponse
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:scheduledAudits:ListScheduledAuditsResponse'
, listScheduledAuditsResponse_scheduledAudits
- The list of scheduled audits.
$sel:nextToken:ListScheduledAudits'
, listScheduledAuditsResponse_nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no additional results.
$sel:httpStatus:ListScheduledAuditsResponse'
, listScheduledAuditsResponse_httpStatus
- The response's http status code.
Response Lenses
listScheduledAuditsResponse_scheduledAudits :: Lens' ListScheduledAuditsResponse (Maybe [ScheduledAuditMetadata]) Source #
The list of scheduled audits.
listScheduledAuditsResponse_nextToken :: Lens' ListScheduledAuditsResponse (Maybe Text) Source #
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
listScheduledAuditsResponse_httpStatus :: Lens' ListScheduledAuditsResponse Int Source #
The response's http status code.