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 |
Retrieves build resources for all builds associated with the Amazon Web
Services account in use. You can limit results to builds that are in a
specific status by using the Status
parameter. Use the pagination
parameters to retrieve results in a set of sequential pages.
Build resources are not listed in any particular order.
Learn more
This operation returns paginated results.
Synopsis
- data ListBuilds = ListBuilds' {}
- newListBuilds :: ListBuilds
- listBuilds_limit :: Lens' ListBuilds (Maybe Natural)
- listBuilds_nextToken :: Lens' ListBuilds (Maybe Text)
- listBuilds_status :: Lens' ListBuilds (Maybe BuildStatus)
- data ListBuildsResponse = ListBuildsResponse' {}
- newListBuildsResponse :: Int -> ListBuildsResponse
- listBuildsResponse_builds :: Lens' ListBuildsResponse (Maybe [Build])
- 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:
$sel:limit:ListBuilds'
, listBuilds_limit
- The maximum number of results to return. Use this parameter with
NextToken
to get results as a set of sequential pages.
ListBuilds
, listBuilds_nextToken
- A token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation.
To start at the beginning of the result set, do not specify a value.
ListBuilds
, listBuilds_status
- Build status to filter results by. To retrieve all builds, leave this
parameter empty.
Possible build statuses include the following:
- INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
- READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
- FAILED -- The game build upload failed. You cannot create new fleets for this build.
Request Lenses
listBuilds_limit :: Lens' ListBuilds (Maybe Natural) Source #
The maximum number of results to return. Use this parameter with
NextToken
to get results as a set of sequential pages.
listBuilds_nextToken :: Lens' ListBuilds (Maybe Text) Source #
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
listBuilds_status :: Lens' ListBuilds (Maybe BuildStatus) Source #
Build status to filter results by. To retrieve all builds, leave this parameter empty.
Possible build statuses include the following:
- INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
- READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
- FAILED -- The game build upload failed. You cannot create new fleets for this build.
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:builds:ListBuildsResponse'
, listBuildsResponse_builds
- A collection of build resources that match the request.
ListBuilds
, listBuildsResponse_nextToken
- A token that indicates where to resume retrieving results on the next
call to this operation. If no token is returned, these results represent
the end of the list.
$sel:httpStatus:ListBuildsResponse'
, listBuildsResponse_httpStatus
- The response's http status code.
Response Lenses
listBuildsResponse_builds :: Lens' ListBuildsResponse (Maybe [Build]) Source #
A collection of build resources that match the request.
listBuildsResponse_nextToken :: Lens' ListBuildsResponse (Maybe Text) Source #
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
listBuildsResponse_httpStatus :: Lens' ListBuildsResponse Int Source #
The response's http status code.