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, with each build ID representing a single build.
This operation returns paginated results.
- listBuilds :: ListBuilds
- data ListBuilds
- lbSortOrder :: Lens' ListBuilds (Maybe SortOrderType)
- lbNextToken :: Lens' ListBuilds (Maybe Text)
- listBuildsResponse :: Int -> ListBuildsResponse
- data ListBuildsResponse
- lbrsIds :: Lens' ListBuildsResponse (Maybe (NonEmpty Text))
- lbrsNextToken :: Lens' ListBuildsResponse (Maybe Text)
- lbrsResponseStatus :: Lens' ListBuildsResponse Int
Creating a Request
listBuilds :: ListBuilds Source #
Creates a value of ListBuilds
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbSortOrder
- 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.lbNextToken
- 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.
data ListBuilds Source #
See: listBuilds
smart constructor.
Request Lenses
lbSortOrder :: Lens' ListBuilds (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.
lbNextToken :: Lens' ListBuilds (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.
Destructuring the Response
Creates a value of ListBuildsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbrsIds
- A list of build IDs, with each build ID representing a single build.lbrsNextToken
- 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.lbrsResponseStatus
- -- | The response status code.
data ListBuildsResponse Source #
See: listBuildsResponse
smart constructor.
Response Lenses
lbrsIds :: Lens' ListBuildsResponse (Maybe (NonEmpty Text)) Source #
A list of build IDs, with each build ID representing a single build.
lbrsNextToken :: Lens' ListBuildsResponse (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.
lbrsResponseStatus :: Lens' ListBuildsResponse Int Source #
- - | The response status code.