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 |
Amazonka.CodeBuild.ListBuildBatches
Description
Retrieves the identifiers of your build batches in the current region.
This operation returns paginated results.
Synopsis
- data ListBuildBatches = ListBuildBatches' {}
- newListBuildBatches :: ListBuildBatches
- listBuildBatches_sortOrder :: Lens' ListBuildBatches (Maybe SortOrderType)
- listBuildBatches_nextToken :: Lens' ListBuildBatches (Maybe Text)
- listBuildBatches_filter :: Lens' ListBuildBatches (Maybe BuildBatchFilter)
- listBuildBatches_maxResults :: Lens' ListBuildBatches (Maybe Natural)
- data ListBuildBatchesResponse = ListBuildBatchesResponse' {}
- newListBuildBatchesResponse :: Int -> ListBuildBatchesResponse
- listBuildBatchesResponse_ids :: Lens' ListBuildBatchesResponse (Maybe [Text])
- listBuildBatchesResponse_nextToken :: Lens' ListBuildBatchesResponse (Maybe Text)
- listBuildBatchesResponse_httpStatus :: Lens' ListBuildBatchesResponse Int
Creating a Request
data ListBuildBatches Source #
See: newListBuildBatches
smart constructor.
Constructors
ListBuildBatches' | |
Fields
|
Instances
newListBuildBatches :: ListBuildBatches Source #
Create a value of ListBuildBatches
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:ListBuildBatches'
, listBuildBatches_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:ListBuildBatches'
, listBuildBatches_nextToken
- The nextToken
value returned from a previous call to
ListBuildBatches
. This specifies the next item to return. To return
the beginning of the list, exclude this parameter.
$sel:filter':ListBuildBatches'
, listBuildBatches_filter
- A BuildBatchFilter
object that specifies the filters for the search.
$sel:maxResults:ListBuildBatches'
, listBuildBatches_maxResults
- The maximum number of results to return.
Request Lenses
listBuildBatches_sortOrder :: Lens' ListBuildBatches (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.
listBuildBatches_nextToken :: Lens' ListBuildBatches (Maybe Text) Source #
The nextToken
value returned from a previous call to
ListBuildBatches
. This specifies the next item to return. To return
the beginning of the list, exclude this parameter.
listBuildBatches_filter :: Lens' ListBuildBatches (Maybe BuildBatchFilter) Source #
A BuildBatchFilter
object that specifies the filters for the search.
listBuildBatches_maxResults :: Lens' ListBuildBatches (Maybe Natural) Source #
The maximum number of results to return.
Destructuring the Response
data ListBuildBatchesResponse Source #
See: newListBuildBatchesResponse
smart constructor.
Constructors
ListBuildBatchesResponse' | |
Fields
|
Instances
newListBuildBatchesResponse Source #
Create a value of ListBuildBatchesResponse
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:ListBuildBatchesResponse'
, listBuildBatchesResponse_ids
- An array of strings that contains the batch build identifiers.
$sel:nextToken:ListBuildBatches'
, listBuildBatchesResponse_nextToken
- If there are more items to return, this contains a token that is passed
to a subsequent call to ListBuildBatches
to retrieve the next set of
items.
$sel:httpStatus:ListBuildBatchesResponse'
, listBuildBatchesResponse_httpStatus
- The response's http status code.
Response Lenses
listBuildBatchesResponse_ids :: Lens' ListBuildBatchesResponse (Maybe [Text]) Source #
An array of strings that contains the batch build identifiers.
listBuildBatchesResponse_nextToken :: Lens' ListBuildBatchesResponse (Maybe Text) Source #
If there are more items to return, this contains a token that is passed
to a subsequent call to ListBuildBatches
to retrieve the next set of
items.
listBuildBatchesResponse_httpStatus :: Lens' ListBuildBatchesResponse Int Source #
The response's http status code.