| 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.BatchGetBuilds
Description
Gets information about one or more builds.
Synopsis
- data BatchGetBuilds = BatchGetBuilds' {}
- newBatchGetBuilds :: NonEmpty Text -> BatchGetBuilds
- batchGetBuilds_ids :: Lens' BatchGetBuilds (NonEmpty Text)
- data BatchGetBuildsResponse = BatchGetBuildsResponse' {
- builds :: Maybe [Build]
- buildsNotFound :: Maybe (NonEmpty Text)
- httpStatus :: Int
- newBatchGetBuildsResponse :: Int -> BatchGetBuildsResponse
- batchGetBuildsResponse_builds :: Lens' BatchGetBuildsResponse (Maybe [Build])
- batchGetBuildsResponse_buildsNotFound :: Lens' BatchGetBuildsResponse (Maybe (NonEmpty Text))
- batchGetBuildsResponse_httpStatus :: Lens' BatchGetBuildsResponse Int
Creating a Request
data BatchGetBuilds Source #
See: newBatchGetBuilds smart constructor.
Constructors
| BatchGetBuilds' | |
Instances
Arguments
| :: NonEmpty Text | |
| -> BatchGetBuilds |
Create a value of BatchGetBuilds 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:BatchGetBuilds', batchGetBuilds_ids - The IDs of the builds.
Request Lenses
batchGetBuilds_ids :: Lens' BatchGetBuilds (NonEmpty Text) Source #
The IDs of the builds.
Destructuring the Response
data BatchGetBuildsResponse Source #
See: newBatchGetBuildsResponse smart constructor.
Constructors
| BatchGetBuildsResponse' | |
Fields
| |
Instances
newBatchGetBuildsResponse Source #
Create a value of BatchGetBuildsResponse 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:builds:BatchGetBuildsResponse', batchGetBuildsResponse_builds - Information about the requested builds.
$sel:buildsNotFound:BatchGetBuildsResponse', batchGetBuildsResponse_buildsNotFound - The IDs of builds for which information could not be found.
$sel:httpStatus:BatchGetBuildsResponse', batchGetBuildsResponse_httpStatus - The response's http status code.
Response Lenses
batchGetBuildsResponse_builds :: Lens' BatchGetBuildsResponse (Maybe [Build]) Source #
Information about the requested builds.
batchGetBuildsResponse_buildsNotFound :: Lens' BatchGetBuildsResponse (Maybe (NonEmpty Text)) Source #
The IDs of builds for which information could not be found.
batchGetBuildsResponse_httpStatus :: Lens' BatchGetBuildsResponse Int Source #
The response's http status code.