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 build projects.
Synopsis
- data BatchGetProjects = BatchGetProjects' {}
- newBatchGetProjects :: NonEmpty Text -> BatchGetProjects
- batchGetProjects_names :: Lens' BatchGetProjects (NonEmpty Text)
- data BatchGetProjectsResponse = BatchGetProjectsResponse' {
- projectsNotFound :: Maybe (NonEmpty Text)
- projects :: Maybe [Project]
- httpStatus :: Int
- newBatchGetProjectsResponse :: Int -> BatchGetProjectsResponse
- batchGetProjectsResponse_projectsNotFound :: Lens' BatchGetProjectsResponse (Maybe (NonEmpty Text))
- batchGetProjectsResponse_projects :: Lens' BatchGetProjectsResponse (Maybe [Project])
- batchGetProjectsResponse_httpStatus :: Lens' BatchGetProjectsResponse Int
Creating a Request
data BatchGetProjects Source #
See: newBatchGetProjects
smart constructor.
Instances
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.
BatchGetProjectsResponse' | |
|
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:projectsNotFound:BatchGetProjectsResponse'
, batchGetProjectsResponse_projectsNotFound
- The names of build projects for which information could not be found.
$sel:projects:BatchGetProjectsResponse'
, batchGetProjectsResponse_projects
- Information about the requested build projects.
$sel:httpStatus:BatchGetProjectsResponse'
, batchGetProjectsResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetProjectsResponse_projectsNotFound :: Lens' BatchGetProjectsResponse (Maybe (NonEmpty Text)) Source #
The names of build projects for which information could not be found.
batchGetProjectsResponse_projects :: Lens' BatchGetProjectsResponse (Maybe [Project]) Source #
Information about the requested build projects.
batchGetProjectsResponse_httpStatus :: Lens' BatchGetProjectsResponse Int Source #
The response's http status code.