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 |
Retrieves the identifiers of the build batches for a specific project.
This operation returns paginated results.
Synopsis
- data ListBuildBatchesForProject = ListBuildBatchesForProject' {}
- newListBuildBatchesForProject :: ListBuildBatchesForProject
- listBuildBatchesForProject_sortOrder :: Lens' ListBuildBatchesForProject (Maybe SortOrderType)
- listBuildBatchesForProject_nextToken :: Lens' ListBuildBatchesForProject (Maybe Text)
- listBuildBatchesForProject_projectName :: Lens' ListBuildBatchesForProject (Maybe Text)
- listBuildBatchesForProject_filter :: Lens' ListBuildBatchesForProject (Maybe BuildBatchFilter)
- listBuildBatchesForProject_maxResults :: Lens' ListBuildBatchesForProject (Maybe Natural)
- 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.
ListBuildBatchesForProject' | |
|
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: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.
$sel:nextToken: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.
$sel:projectName:ListBuildBatchesForProject'
, listBuildBatchesForProject_projectName
- The name of the project.
$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.
Request Lenses
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.
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_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.
Destructuring the Response
data ListBuildBatchesForProjectResponse Source #
See: newListBuildBatchesForProjectResponse
smart constructor.
ListBuildBatchesForProjectResponse' | |
|
Instances
newListBuildBatchesForProjectResponse Source #
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.
$sel:nextToken: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.