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 |
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 normaly 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 :: DescribeJobsRequestFilters -> DescribeJobs
- describeJobs_nextToken :: Lens' DescribeJobs (Maybe Text)
- describeJobs_maxResults :: Lens' DescribeJobs (Maybe Natural)
- describeJobs_filters :: Lens' DescribeJobs DescribeJobsRequestFilters
- 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
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:nextToken:DescribeJobs'
, describeJobs_nextToken
- Request to describe Job logby next token.
$sel:maxResults:DescribeJobs'
, describeJobs_maxResults
- Request to describe Job log by max results.
$sel:filters:DescribeJobs'
, describeJobs_filters
- Request to describe Job log filters.
Request Lenses
describeJobs_nextToken :: Lens' DescribeJobs (Maybe Text) Source #
Request to describe Job logby next token.
describeJobs_maxResults :: Lens' DescribeJobs (Maybe Natural) Source #
Request to describe Job log by max results.
describeJobs_filters :: Lens' DescribeJobs DescribeJobsRequestFilters Source #
Request to describe Job log filters.
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.
$sel:nextToken: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.