| 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.BatchGetProjects
Description
Gets information about one or more build projects.
Synopsis
- data BatchGetProjects = BatchGetProjects' {}
- newBatchGetProjects :: NonEmpty Text -> BatchGetProjects
- batchGetProjects_names :: Lens' BatchGetProjects (NonEmpty Text)
- data BatchGetProjectsResponse = BatchGetProjectsResponse' {
- projects :: Maybe [Project]
- projectsNotFound :: Maybe (NonEmpty Text)
- httpStatus :: Int
- newBatchGetProjectsResponse :: Int -> BatchGetProjectsResponse
- batchGetProjectsResponse_projects :: Lens' BatchGetProjectsResponse (Maybe [Project])
- batchGetProjectsResponse_projectsNotFound :: Lens' BatchGetProjectsResponse (Maybe (NonEmpty Text))
- batchGetProjectsResponse_httpStatus :: Lens' BatchGetProjectsResponse Int
Creating a Request
data BatchGetProjects Source #
See: newBatchGetProjects smart constructor.
Constructors
| BatchGetProjects' | |
Instances
Arguments
| :: NonEmpty Text | |
| -> BatchGetProjects |
Create a value of BatchGetProjects 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:names:BatchGetProjects', batchGetProjects_names - The names or ARNs of the build projects. To get information about a
project shared with your Amazon Web Services account, its ARN must be
specified. You cannot specify a shared project using its name.
Request Lenses
batchGetProjects_names :: Lens' BatchGetProjects (NonEmpty Text) Source #
The names or ARNs of the build projects. To get information about a project shared with your Amazon Web Services account, its ARN must be specified. You cannot specify a shared project using its name.
Destructuring the Response
data BatchGetProjectsResponse Source #
See: newBatchGetProjectsResponse smart constructor.
Constructors
| BatchGetProjectsResponse' | |
Fields
| |
Instances
newBatchGetProjectsResponse Source #
Create a value of BatchGetProjectsResponse 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:projects:BatchGetProjectsResponse', batchGetProjectsResponse_projects - Information about the requested build projects.
$sel:projectsNotFound:BatchGetProjectsResponse', batchGetProjectsResponse_projectsNotFound - The names of build projects for which information could not be found.
$sel:httpStatus:BatchGetProjectsResponse', batchGetProjectsResponse_httpStatus - The response's http status code.
Response Lenses
batchGetProjectsResponse_projects :: Lens' BatchGetProjectsResponse (Maybe [Project]) Source #
Information about the requested build projects.
batchGetProjectsResponse_projectsNotFound :: Lens' BatchGetProjectsResponse (Maybe (NonEmpty Text)) Source #
The names of build projects for which information could not be found.
batchGetProjectsResponse_httpStatus :: Lens' BatchGetProjectsResponse Int Source #
The response's http status code.