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 script records for all Realtime scripts that are associated with the Amazon Web Services account in use.
Learn more
Amazon GameLift Realtime Servers
Related actions
This operation returns paginated results.
Synopsis
- data ListScripts = ListScripts' {}
- newListScripts :: ListScripts
- listScripts_limit :: Lens' ListScripts (Maybe Natural)
- listScripts_nextToken :: Lens' ListScripts (Maybe Text)
- data ListScriptsResponse = ListScriptsResponse' {}
- newListScriptsResponse :: Int -> ListScriptsResponse
- listScriptsResponse_nextToken :: Lens' ListScriptsResponse (Maybe Text)
- listScriptsResponse_scripts :: Lens' ListScriptsResponse (Maybe [Script])
- listScriptsResponse_httpStatus :: Lens' ListScriptsResponse Int
Creating a Request
data ListScripts Source #
See: newListScripts
smart constructor.
ListScripts' | |
|
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: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.
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.
Request Lenses
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.
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.
Destructuring the Response
data ListScriptsResponse Source #
See: newListScriptsResponse
smart constructor.
ListScriptsResponse' | |
|
Instances
newListScriptsResponse Source #
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:
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:scripts:ListScriptsResponse'
, listScriptsResponse_scripts
- A set of properties describing the requested script.
$sel:httpStatus:ListScriptsResponse'
, listScriptsResponse_httpStatus
- The response's http status code.
Response Lenses
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_scripts :: Lens' ListScriptsResponse (Maybe [Script]) Source #
A set of properties describing the requested script.
listScriptsResponse_httpStatus :: Lens' ListScriptsResponse Int Source #
The response's http status code.