| 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.CodeBuild.BatchGetBuildBatches
Description
Retrieves information about one or more batch builds.
Synopsis
- data BatchGetBuildBatches = BatchGetBuildBatches' {}
- newBatchGetBuildBatches :: BatchGetBuildBatches
- batchGetBuildBatches_ids :: Lens' BatchGetBuildBatches [Text]
- data BatchGetBuildBatchesResponse = BatchGetBuildBatchesResponse' {
- buildBatches :: Maybe [BuildBatch]
- buildBatchesNotFound :: Maybe [Text]
- httpStatus :: Int
- newBatchGetBuildBatchesResponse :: Int -> BatchGetBuildBatchesResponse
- batchGetBuildBatchesResponse_buildBatches :: Lens' BatchGetBuildBatchesResponse (Maybe [BuildBatch])
- batchGetBuildBatchesResponse_buildBatchesNotFound :: Lens' BatchGetBuildBatchesResponse (Maybe [Text])
- batchGetBuildBatchesResponse_httpStatus :: Lens' BatchGetBuildBatchesResponse Int
Creating a Request
data BatchGetBuildBatches Source #
See: newBatchGetBuildBatches smart constructor.
Constructors
| BatchGetBuildBatches' | |
Instances
newBatchGetBuildBatches :: BatchGetBuildBatches Source #
Create a value of BatchGetBuildBatches 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:ids:BatchGetBuildBatches', batchGetBuildBatches_ids - An array that contains the batch build identifiers to retrieve.
Request Lenses
batchGetBuildBatches_ids :: Lens' BatchGetBuildBatches [Text] Source #
An array that contains the batch build identifiers to retrieve.
Destructuring the Response
data BatchGetBuildBatchesResponse Source #
See: newBatchGetBuildBatchesResponse smart constructor.
Constructors
| BatchGetBuildBatchesResponse' | |
Fields
| |
Instances
newBatchGetBuildBatchesResponse Source #
Create a value of BatchGetBuildBatchesResponse 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:buildBatches:BatchGetBuildBatchesResponse', batchGetBuildBatchesResponse_buildBatches - An array of BuildBatch objects that represent the retrieved batch
builds.
$sel:buildBatchesNotFound:BatchGetBuildBatchesResponse', batchGetBuildBatchesResponse_buildBatchesNotFound - An array that contains the identifiers of any batch builds that are not
found.
$sel:httpStatus:BatchGetBuildBatchesResponse', batchGetBuildBatchesResponse_httpStatus - The response's http status code.
Response Lenses
batchGetBuildBatchesResponse_buildBatches :: Lens' BatchGetBuildBatchesResponse (Maybe [BuildBatch]) Source #
An array of BuildBatch objects that represent the retrieved batch
builds.
batchGetBuildBatchesResponse_buildBatchesNotFound :: Lens' BatchGetBuildBatchesResponse (Maybe [Text]) Source #
An array that contains the identifiers of any batch builds that are not found.
batchGetBuildBatchesResponse_httpStatus :: Lens' BatchGetBuildBatchesResponse Int Source #
The response's http status code.