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 a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
This operation returns paginated results.
Synopsis
- data DescribeJobs = DescribeJobs' {}
- newDescribeJobs :: DescribeJobs
- describeJobs_filters :: Lens' DescribeJobs (Maybe DescribeJobsRequestFilters)
- describeJobs_maxResults :: Lens' DescribeJobs (Maybe Natural)
- describeJobs_nextToken :: Lens' DescribeJobs (Maybe Text)
- data DescribeJobsResponse = DescribeJobsResponse' {}
- newDescribeJobsResponse :: Int -> DescribeJobsResponse
- describeJobsResponse_items :: Lens' DescribeJobsResponse (Maybe [Job])
- describeJobsResponse_nextToken :: Lens' DescribeJobsResponse (Maybe Text)
- describeJobsResponse_httpStatus :: Lens' DescribeJobsResponse Int
Creating a Request
data DescribeJobs Source #
See: newDescribeJobs
smart constructor.
DescribeJobs' | |
|
Instances
newDescribeJobs :: DescribeJobs Source #
Create a value of DescribeJobs
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:filters:DescribeJobs'
, describeJobs_filters
- Request to describe Job log filters.
$sel:maxResults:DescribeJobs'
, describeJobs_maxResults
- Request to describe job log items by max results.
DescribeJobs
, describeJobs_nextToken
- Request to describe job log items by next token.
Request Lenses
describeJobs_filters :: Lens' DescribeJobs (Maybe DescribeJobsRequestFilters) Source #
Request to describe Job log filters.
describeJobs_maxResults :: Lens' DescribeJobs (Maybe Natural) Source #
Request to describe job log items by max results.
describeJobs_nextToken :: Lens' DescribeJobs (Maybe Text) Source #
Request to describe job log items by next token.
Destructuring the Response
data DescribeJobsResponse Source #
See: newDescribeJobsResponse
smart constructor.
Instances
newDescribeJobsResponse Source #
Create a value of DescribeJobsResponse
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:items:DescribeJobsResponse'
, describeJobsResponse_items
- Request to describe Job log items.
DescribeJobs
, describeJobsResponse_nextToken
- Request to describe Job response by next token.
$sel:httpStatus:DescribeJobsResponse'
, describeJobsResponse_httpStatus
- The response's http status code.
Response Lenses
describeJobsResponse_items :: Lens' DescribeJobsResponse (Maybe [Job]) Source #
Request to describe Job log items.
describeJobsResponse_nextToken :: Lens' DescribeJobsResponse (Maybe Text) Source #
Request to describe Job response by next token.
describeJobsResponse_httpStatus :: Lens' DescribeJobsResponse Int Source #
The response's http status code.