| 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.ListBuildBatchesForProject
Description
Retrieves the identifiers of the build batches for a specific project.
This operation returns paginated results.
Synopsis
- data ListBuildBatchesForProject = ListBuildBatchesForProject' {}
- newListBuildBatchesForProject :: ListBuildBatchesForProject
- listBuildBatchesForProject_filter :: Lens' ListBuildBatchesForProject (Maybe BuildBatchFilter)
- listBuildBatchesForProject_maxResults :: Lens' ListBuildBatchesForProject (Maybe Natural)
- listBuildBatchesForProject_nextToken :: Lens' ListBuildBatchesForProject (Maybe Text)
- listBuildBatchesForProject_projectName :: Lens' ListBuildBatchesForProject (Maybe Text)
- listBuildBatchesForProject_sortOrder :: Lens' ListBuildBatchesForProject (Maybe SortOrderType)
- data ListBuildBatchesForProjectResponse = ListBuildBatchesForProjectResponse' {}
- newListBuildBatchesForProjectResponse :: Int -> ListBuildBatchesForProjectResponse
- listBuildBatchesForProjectResponse_ids :: Lens' ListBuildBatchesForProjectResponse (Maybe [Text])
- listBuildBatchesForProjectResponse_nextToken :: Lens' ListBuildBatchesForProjectResponse (Maybe Text)
- listBuildBatchesForProjectResponse_httpStatus :: Lens' ListBuildBatchesForProjectResponse Int
Creating a Request
data ListBuildBatchesForProject Source #
See: newListBuildBatchesForProject smart constructor.
Constructors
| ListBuildBatchesForProject' | |
Fields
| |
Instances
newListBuildBatchesForProject :: ListBuildBatchesForProject Source #
Create a value of ListBuildBatchesForProject 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:filter':ListBuildBatchesForProject', listBuildBatchesForProject_filter - A BuildBatchFilter object that specifies the filters for the search.
$sel:maxResults:ListBuildBatchesForProject', listBuildBatchesForProject_maxResults - The maximum number of results to return.
ListBuildBatchesForProject, listBuildBatchesForProject_nextToken - The nextToken value returned from a previous call to
ListBuildBatchesForProject. This specifies the next item to return. To
return the beginning of the list, exclude this parameter.
ListBuildBatchesForProject, listBuildBatchesForProject_projectName - The name of the project.
$sel:sortOrder:ListBuildBatchesForProject', listBuildBatchesForProject_sortOrder - Specifies the sort order of the returned items. Valid values include:
ASCENDING: List the batch build identifiers in ascending order by identifier.DESCENDING: List the batch build identifiers in descending order by identifier.
Request Lenses
listBuildBatchesForProject_filter :: Lens' ListBuildBatchesForProject (Maybe BuildBatchFilter) Source #
A BuildBatchFilter object that specifies the filters for the search.
listBuildBatchesForProject_maxResults :: Lens' ListBuildBatchesForProject (Maybe Natural) Source #
The maximum number of results to return.
listBuildBatchesForProject_nextToken :: Lens' ListBuildBatchesForProject (Maybe Text) Source #
The nextToken value returned from a previous call to
ListBuildBatchesForProject. This specifies the next item to return. To
return the beginning of the list, exclude this parameter.
listBuildBatchesForProject_projectName :: Lens' ListBuildBatchesForProject (Maybe Text) Source #
The name of the project.
listBuildBatchesForProject_sortOrder :: Lens' ListBuildBatchesForProject (Maybe SortOrderType) Source #
Specifies the sort order of the returned items. Valid values include:
ASCENDING: List the batch build identifiers in ascending order by identifier.DESCENDING: List the batch build identifiers in descending order by identifier.
Destructuring the Response
data ListBuildBatchesForProjectResponse Source #
See: newListBuildBatchesForProjectResponse smart constructor.
Constructors
| ListBuildBatchesForProjectResponse' | |
Fields
| |
Instances
newListBuildBatchesForProjectResponse Source #
Arguments
| :: Int | |
| -> ListBuildBatchesForProjectResponse |
Create a value of ListBuildBatchesForProjectResponse 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:ListBuildBatchesForProjectResponse', listBuildBatchesForProjectResponse_ids - An array of strings that contains the batch build identifiers.
ListBuildBatchesForProject, listBuildBatchesForProjectResponse_nextToken - If there are more items to return, this contains a token that is passed
to a subsequent call to ListBuildBatchesForProject to retrieve the
next set of items.
$sel:httpStatus:ListBuildBatchesForProjectResponse', listBuildBatchesForProjectResponse_httpStatus - The response's http status code.
Response Lenses
listBuildBatchesForProjectResponse_ids :: Lens' ListBuildBatchesForProjectResponse (Maybe [Text]) Source #
An array of strings that contains the batch build identifiers.
listBuildBatchesForProjectResponse_nextToken :: Lens' ListBuildBatchesForProjectResponse (Maybe Text) Source #
If there are more items to return, this contains a token that is passed
to a subsequent call to ListBuildBatchesForProject to retrieve the
next set of items.
listBuildBatchesForProjectResponse_httpStatus :: Lens' ListBuildBatchesForProjectResponse Int Source #
The response's http status code.