Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets a list of build IDs for the specified build project, with each build ID representing a single build.
This operation returns paginated results.
- listBuildsForProject :: Text -> ListBuildsForProject
- data ListBuildsForProject
- lbfpSortOrder :: Lens' ListBuildsForProject (Maybe SortOrderType)
- lbfpNextToken :: Lens' ListBuildsForProject (Maybe Text)
- lbfpProjectName :: Lens' ListBuildsForProject Text
- listBuildsForProjectResponse :: Int -> ListBuildsForProjectResponse
- data ListBuildsForProjectResponse
- lbfprsIds :: Lens' ListBuildsForProjectResponse (Maybe (NonEmpty Text))
- lbfprsNextToken :: Lens' ListBuildsForProjectResponse (Maybe Text)
- lbfprsResponseStatus :: Lens' ListBuildsForProjectResponse Int
Creating a Request
Creates a value of ListBuildsForProject
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbfpSortOrder
- The order to list build IDs. Valid values include: *ASCENDING
: List the build IDs in ascending order by build ID. *DESCENDING
: List the build IDs in descending order by build ID.lbfpNextToken
- 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 next token . 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.lbfpProjectName
- The name of the AWS CodeBuild project.
data ListBuildsForProject Source #
See: listBuildsForProject
smart constructor.
Request Lenses
lbfpSortOrder :: Lens' ListBuildsForProject (Maybe SortOrderType) Source #
The order to list build IDs. Valid values include: * ASCENDING
: List the build IDs in ascending order by build ID. * DESCENDING
: List the build IDs in descending order by build ID.
lbfpNextToken :: 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 next token . 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.
lbfpProjectName :: Lens' ListBuildsForProject Text Source #
The name of the AWS CodeBuild project.
Destructuring the Response
listBuildsForProjectResponse Source #
Creates a value of ListBuildsForProjectResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbfprsIds
- A list of build IDs for the specified build project, with each build ID representing a single build.lbfprsNextToken
- If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token . To get the next batch of items in the list, call this operation again, adding the next token to the call.lbfprsResponseStatus
- -- | The response status code.
data ListBuildsForProjectResponse Source #
See: listBuildsForProjectResponse
smart constructor.
Response Lenses
lbfprsIds :: Lens' ListBuildsForProjectResponse (Maybe (NonEmpty Text)) Source #
A list of build IDs for the specified build project, with each build ID representing a single build.
lbfprsNextToken :: 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 next token . To get the next batch of items in the list, call this operation again, adding the next token to the call.
lbfprsResponseStatus :: Lens' ListBuildsForProjectResponse Int Source #
- - | The response status code.