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 resource metadata for a given list of job names. After
calling the ListJobs
operation, you can call this operation to access
the data to which you have been granted permissions. This operation
supports all IAM permissions, including permission conditions that uses
tags.
Synopsis
- data BatchGetJobs = BatchGetJobs' {}
- newBatchGetJobs :: BatchGetJobs
- batchGetJobs_jobNames :: Lens' BatchGetJobs [Text]
- data BatchGetJobsResponse = BatchGetJobsResponse' {
- jobs :: Maybe [Job]
- jobsNotFound :: Maybe [Text]
- httpStatus :: Int
- newBatchGetJobsResponse :: Int -> BatchGetJobsResponse
- batchGetJobsResponse_jobs :: Lens' BatchGetJobsResponse (Maybe [Job])
- batchGetJobsResponse_jobsNotFound :: Lens' BatchGetJobsResponse (Maybe [Text])
- batchGetJobsResponse_httpStatus :: Lens' BatchGetJobsResponse Int
Creating a Request
data BatchGetJobs Source #
See: newBatchGetJobs
smart constructor.
Instances
newBatchGetJobs :: BatchGetJobs Source #
Create a value of BatchGetJobs
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:jobNames:BatchGetJobs'
, batchGetJobs_jobNames
- A list of job names, which might be the names returned from the
ListJobs
operation.
Request Lenses
batchGetJobs_jobNames :: Lens' BatchGetJobs [Text] Source #
A list of job names, which might be the names returned from the
ListJobs
operation.
Destructuring the Response
data BatchGetJobsResponse Source #
See: newBatchGetJobsResponse
smart constructor.
BatchGetJobsResponse' | |
|
Instances
newBatchGetJobsResponse Source #
Create a value of BatchGetJobsResponse
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:jobs:BatchGetJobsResponse'
, batchGetJobsResponse_jobs
- A list of job definitions.
$sel:jobsNotFound:BatchGetJobsResponse'
, batchGetJobsResponse_jobsNotFound
- A list of names of jobs not found.
$sel:httpStatus:BatchGetJobsResponse'
, batchGetJobsResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetJobsResponse_jobs :: Lens' BatchGetJobsResponse (Maybe [Job]) Source #
A list of job definitions.
batchGetJobsResponse_jobsNotFound :: Lens' BatchGetJobsResponse (Maybe [Text]) Source #
A list of names of jobs not found.
batchGetJobsResponse_httpStatus :: Lens' BatchGetJobsResponse Int Source #
The response's http status code.