| 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.Batch.DescribeJobs
Description
Describes a list of Batch jobs.
Synopsis
- data DescribeJobs = DescribeJobs' {}
- newDescribeJobs :: DescribeJobs
- describeJobs_jobs :: Lens' DescribeJobs [Text]
- data DescribeJobsResponse = DescribeJobsResponse' {
- jobs :: Maybe [JobDetail]
- httpStatus :: Int
- newDescribeJobsResponse :: Int -> DescribeJobsResponse
- describeJobsResponse_jobs :: Lens' DescribeJobsResponse (Maybe [JobDetail])
- describeJobsResponse_httpStatus :: Lens' DescribeJobsResponse Int
Creating a Request
data DescribeJobs Source #
Contains the parameters for DescribeJobs.
See: newDescribeJobs smart constructor.
Constructors
| 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:
DescribeJobs, describeJobs_jobs - A list of up to 100 job IDs.
Request Lenses
describeJobs_jobs :: Lens' DescribeJobs [Text] Source #
A list of up to 100 job IDs.
Destructuring the Response
data DescribeJobsResponse Source #
See: newDescribeJobsResponse smart constructor.
Constructors
| DescribeJobsResponse' | |
Fields
| |
Instances
newDescribeJobsResponse Source #
Arguments
| :: Int | |
| -> DescribeJobsResponse |
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:
DescribeJobs, describeJobsResponse_jobs - The list of jobs.
$sel:httpStatus:DescribeJobsResponse', describeJobsResponse_httpStatus - The response's http status code.
Response Lenses
describeJobsResponse_jobs :: Lens' DescribeJobsResponse (Maybe [JobDetail]) Source #
The list of jobs.
describeJobsResponse_httpStatus :: Lens' DescribeJobsResponse Int Source #
The response's http status code.