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 a list of build identifiers for the specified build project, with each build identifier representing a single build.
This operation returns paginated results.
Synopsis
- data ListBuildsForProject = ListBuildsForProject' {}
- newListBuildsForProject :: Text -> ListBuildsForProject
- listBuildsForProject_sortOrder :: Lens' ListBuildsForProject (Maybe SortOrderType)
- listBuildsForProject_nextToken :: Lens' ListBuildsForProject (Maybe Text)
- listBuildsForProject_projectName :: Lens' ListBuildsForProject Text
- data ListBuildsForProjectResponse = ListBuildsForProjectResponse' {}
- newListBuildsForProjectResponse :: Int -> ListBuildsForProjectResponse
- listBuildsForProjectResponse_ids :: Lens' ListBuildsForProjectResponse (Maybe (NonEmpty Text))
- listBuildsForProjectResponse_nextToken :: Lens' ListBuildsForProjectResponse (Maybe Text)
- listBuildsForProjectResponse_httpStatus :: Lens' ListBuildsForProjectResponse Int
Creating a Request
data ListBuildsForProject Source #
See: newListBuildsForProject
smart constructor.
ListBuildsForProject' | |
|
Instances
newListBuildsForProject Source #
Create a value of ListBuildsForProject
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:ListBuildsForProject'
, listBuildsForProject_sortOrder
- The order to sort the results in. The results are sorted by build
number, not the build identifier. If this is not specified, the results
are sorted in descending order.
Valid values include:
ASCENDING
: List the build identifiers in ascending order, by build number.DESCENDING
: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an error.
$sel:nextToken:ListBuildsForProject'
, listBuildsForProject_nextToken
- During a previous call, if there are more than 100 items in the list,
only the first 100 items are returned, along with a unique string called
a nextToken. To get the next batch of items in the list, call this
operation again, adding the next token to the call. To get all of the
items in the list, keep calling this operation with each subsequent next
token that is returned, until no more next tokens are returned.
$sel:projectName:ListBuildsForProject'
, listBuildsForProject_projectName
- The name of the CodeBuild project.
Request Lenses
listBuildsForProject_sortOrder :: Lens' ListBuildsForProject (Maybe SortOrderType) Source #
The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.
Valid values include:
ASCENDING
: List the build identifiers in ascending order, by build number.DESCENDING
: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an error.
listBuildsForProject_nextToken :: Lens' ListBuildsForProject (Maybe Text) Source #
During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
listBuildsForProject_projectName :: Lens' ListBuildsForProject Text Source #
The name of the CodeBuild project.
Destructuring the Response
data ListBuildsForProjectResponse Source #
See: newListBuildsForProjectResponse
smart constructor.
ListBuildsForProjectResponse' | |
|
Instances
newListBuildsForProjectResponse Source #
Create a value of ListBuildsForProjectResponse
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:ListBuildsForProjectResponse'
, listBuildsForProjectResponse_ids
- A list of build identifiers for the specified build project, with each
build ID representing a single build.
$sel:nextToken:ListBuildsForProject'
, listBuildsForProjectResponse_nextToken
- If there are more than 100 items in the list, only the first 100 items
are returned, along with a unique string called a nextToken. To get
the next batch of items in the list, call this operation again, adding
the next token to the call.
$sel:httpStatus:ListBuildsForProjectResponse'
, listBuildsForProjectResponse_httpStatus
- The response's http status code.
Response Lenses
listBuildsForProjectResponse_ids :: Lens' ListBuildsForProjectResponse (Maybe (NonEmpty Text)) Source #
A list of build identifiers for the specified build project, with each build ID representing a single build.
listBuildsForProjectResponse_nextToken :: Lens' ListBuildsForProjectResponse (Maybe Text) Source #
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.
listBuildsForProjectResponse_httpStatus :: Lens' ListBuildsForProjectResponse Int Source #
The response's http status code.