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 |
Returns details about your report jobs.
Synopsis
- data ListReportJobs = ListReportJobs' {}
- newListReportJobs :: ListReportJobs
- listReportJobs_byCreationAfter :: Lens' ListReportJobs (Maybe UTCTime)
- listReportJobs_byCreationBefore :: Lens' ListReportJobs (Maybe UTCTime)
- listReportJobs_byReportPlanName :: Lens' ListReportJobs (Maybe Text)
- listReportJobs_byStatus :: Lens' ListReportJobs (Maybe Text)
- listReportJobs_maxResults :: Lens' ListReportJobs (Maybe Natural)
- listReportJobs_nextToken :: Lens' ListReportJobs (Maybe Text)
- data ListReportJobsResponse = ListReportJobsResponse' {
- nextToken :: Maybe Text
- reportJobs :: Maybe [ReportJob]
- httpStatus :: Int
- newListReportJobsResponse :: Int -> ListReportJobsResponse
- listReportJobsResponse_nextToken :: Lens' ListReportJobsResponse (Maybe Text)
- listReportJobsResponse_reportJobs :: Lens' ListReportJobsResponse (Maybe [ReportJob])
- listReportJobsResponse_httpStatus :: Lens' ListReportJobsResponse Int
Creating a Request
data ListReportJobs Source #
See: newListReportJobs
smart constructor.
ListReportJobs' | |
|
Instances
newListReportJobs :: ListReportJobs Source #
Create a value of ListReportJobs
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:byCreationAfter:ListReportJobs'
, listReportJobs_byCreationAfter
- Returns only report jobs that were created after the date and time
specified in Unix format and Coordinated Universal Time (UTC). For
example, the value 1516925490 represents Friday, January 26, 2018
12:11:30 AM.
$sel:byCreationBefore:ListReportJobs'
, listReportJobs_byCreationBefore
- Returns only report jobs that were created before the date and time
specified in Unix format and Coordinated Universal Time (UTC). For
example, the value 1516925490 represents Friday, January 26, 2018
12:11:30 AM.
$sel:byReportPlanName:ListReportJobs'
, listReportJobs_byReportPlanName
- Returns only report jobs with the specified report plan name.
$sel:byStatus:ListReportJobs'
, listReportJobs_byStatus
- Returns only report jobs that are in the specified status. The statuses
are:
CREATED | RUNNING | COMPLETED | FAILED
$sel:maxResults:ListReportJobs'
, listReportJobs_maxResults
- The number of desired results from 1 to 1000. Optional. If unspecified,
the query will return 1 MB of data.
ListReportJobs
, listReportJobs_nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
Request Lenses
listReportJobs_byCreationAfter :: Lens' ListReportJobs (Maybe UTCTime) Source #
Returns only report jobs that were created after the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.
listReportJobs_byCreationBefore :: Lens' ListReportJobs (Maybe UTCTime) Source #
Returns only report jobs that were created before the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.
listReportJobs_byReportPlanName :: Lens' ListReportJobs (Maybe Text) Source #
Returns only report jobs with the specified report plan name.
listReportJobs_byStatus :: Lens' ListReportJobs (Maybe Text) Source #
Returns only report jobs that are in the specified status. The statuses are:
CREATED | RUNNING | COMPLETED | FAILED
listReportJobs_maxResults :: Lens' ListReportJobs (Maybe Natural) Source #
The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.
listReportJobs_nextToken :: Lens' ListReportJobs (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Destructuring the Response
data ListReportJobsResponse Source #
See: newListReportJobsResponse
smart constructor.
ListReportJobsResponse' | |
|
Instances
newListReportJobsResponse Source #
Create a value of ListReportJobsResponse
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:
ListReportJobs
, listReportJobsResponse_nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
$sel:reportJobs:ListReportJobsResponse'
, listReportJobsResponse_reportJobs
- Details about your report jobs in JSON format.
$sel:httpStatus:ListReportJobsResponse'
, listReportJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listReportJobsResponse_nextToken :: Lens' ListReportJobsResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listReportJobsResponse_reportJobs :: Lens' ListReportJobsResponse (Maybe [ReportJob]) Source #
Details about your report jobs in JSON format.
listReportJobsResponse_httpStatus :: Lens' ListReportJobsResponse Int Source #
The response's http status code.