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 |
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.
Instances
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.
BatchGetBuildsResponse' | |
|
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.