Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets a list of build IDs, with each build ID representing a single build.
This operation returns paginated results.
Synopsis
- data ListBuilds = ListBuilds' {}
- newListBuilds :: ListBuilds
- listBuilds_nextToken :: Lens' ListBuilds (Maybe Text)
- listBuilds_sortOrder :: Lens' ListBuilds (Maybe SortOrderType)
- data ListBuildsResponse = ListBuildsResponse' {}
- newListBuildsResponse :: Int -> ListBuildsResponse
- listBuildsResponse_ids :: Lens' ListBuildsResponse (Maybe (NonEmpty Text))
- listBuildsResponse_nextToken :: Lens' ListBuildsResponse (Maybe Text)
- listBuildsResponse_httpStatus :: Lens' ListBuildsResponse Int
Creating a Request
data ListBuilds Source #
See: newListBuilds
smart constructor.
ListBuilds' | |
|
Instances
newListBuilds :: ListBuilds Source #
Create a value of ListBuilds
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:
ListBuilds
, listBuilds_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:sortOrder:ListBuilds'
, listBuilds_sortOrder
- 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.
Request Lenses
listBuilds_nextToken :: 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 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.
listBuilds_sortOrder :: 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.
Destructuring the Response
data ListBuildsResponse Source #
See: newListBuildsResponse
smart constructor.
ListBuildsResponse' | |
|
Instances
newListBuildsResponse Source #
Create a value of ListBuildsResponse
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:ListBuildsResponse'
, listBuildsResponse_ids
- A list of build IDs, with each build ID representing a single build.
ListBuilds
, listBuildsResponse_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:ListBuildsResponse'
, listBuildsResponse_httpStatus
- The response's http status code.
Response Lenses
listBuildsResponse_ids :: Lens' ListBuildsResponse (Maybe (NonEmpty Text)) Source #
A list of build IDs, with each build ID representing a single build.
listBuildsResponse_nextToken :: 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 nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.
listBuildsResponse_httpStatus :: Lens' ListBuildsResponse Int Source #
The response's http status code.