| 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 |
Amazonka.GameLift.ListScripts
Description
Retrieves script records for all Realtime scripts that are associated with the AWS account in use.
Learn more
Amazon GameLift Realtime Servers
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
This operation returns paginated results.
Synopsis
- data ListScripts = ListScripts' {}
- newListScripts :: ListScripts
- listScripts_nextToken :: Lens' ListScripts (Maybe Text)
- listScripts_limit :: Lens' ListScripts (Maybe Natural)
- data ListScriptsResponse = ListScriptsResponse' {}
- newListScriptsResponse :: Int -> ListScriptsResponse
- listScriptsResponse_scripts :: Lens' ListScriptsResponse (Maybe [Script])
- listScriptsResponse_nextToken :: Lens' ListScriptsResponse (Maybe Text)
- listScriptsResponse_httpStatus :: Lens' ListScriptsResponse Int
Creating a Request
data ListScripts Source #
See: newListScripts smart constructor.
Constructors
| ListScripts' | |
Fields
| |
Instances
newListScripts :: ListScripts Source #
Create a value of ListScripts 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:nextToken:ListScripts', listScripts_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.
$sel:limit:ListScripts', listScripts_limit - The maximum number of results to return. Use this parameter with
NextToken to get results as a set of sequential pages.
Request Lenses
listScripts_nextToken :: Lens' ListScripts (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.
listScripts_limit :: Lens' ListScripts (Maybe Natural) Source #
The maximum number of results to return. Use this parameter with
NextToken to get results as a set of sequential pages.
Destructuring the Response
data ListScriptsResponse Source #
See: newListScriptsResponse smart constructor.
Constructors
| ListScriptsResponse' | |
Fields
| |
Instances
newListScriptsResponse Source #
Arguments
| :: Int | |
| -> ListScriptsResponse |
Create a value of ListScriptsResponse 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:scripts:ListScriptsResponse', listScriptsResponse_scripts - A set of properties describing the requested script.
$sel:nextToken:ListScripts', listScriptsResponse_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:ListScriptsResponse', listScriptsResponse_httpStatus - The response's http status code.
Response Lenses
listScriptsResponse_scripts :: Lens' ListScriptsResponse (Maybe [Script]) Source #
A set of properties describing the requested script.
listScriptsResponse_nextToken :: Lens' ListScriptsResponse (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.
listScriptsResponse_httpStatus :: Lens' ListScriptsResponse Int Source #
The response's http status code.