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 paginated list of available extensions.
Extensions provide features that games can use from scripts.
This operation returns paginated results.
Synopsis
- data ListExtensions = ListExtensions' {}
- newListExtensions :: ListExtensions
- listExtensions_maxResults :: Lens' ListExtensions (Maybe Natural)
- listExtensions_nextToken :: Lens' ListExtensions (Maybe Text)
- data ListExtensionsResponse = ListExtensionsResponse' {
- extensions :: Maybe [ExtensionDetails]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListExtensionsResponse :: Int -> ListExtensionsResponse
- listExtensionsResponse_extensions :: Lens' ListExtensionsResponse (Maybe [ExtensionDetails])
- listExtensionsResponse_nextToken :: Lens' ListExtensionsResponse (Maybe Text)
- listExtensionsResponse_httpStatus :: Lens' ListExtensionsResponse Int
Creating a Request
data ListExtensions Source #
See: newListExtensions
smart constructor.
ListExtensions' | |
|
Instances
newListExtensions :: ListExtensions Source #
Create a value of ListExtensions
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:maxResults:ListExtensions'
, listExtensions_maxResults
- The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
ListExtensions
, listExtensions_nextToken
- The 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
listExtensions_maxResults :: Lens' ListExtensions (Maybe Natural) Source #
The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
listExtensions_nextToken :: Lens' ListExtensions (Maybe Text) Source #
The 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 ListExtensionsResponse Source #
See: newListExtensionsResponse
smart constructor.
ListExtensionsResponse' | |
|
Instances
newListExtensionsResponse Source #
Create a value of ListExtensionsResponse
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:extensions:ListExtensionsResponse'
, listExtensionsResponse_extensions
- The list of extensions.
ListExtensions
, listExtensionsResponse_nextToken
- The token that indicates the start of the next sequential page of
results.
Use this value when making the next call to this operation to continue where the last one finished.
$sel:httpStatus:ListExtensionsResponse'
, listExtensionsResponse_httpStatus
- The response's http status code.
Response Lenses
listExtensionsResponse_extensions :: Lens' ListExtensionsResponse (Maybe [ExtensionDetails]) Source #
The list of extensions.
listExtensionsResponse_nextToken :: Lens' ListExtensionsResponse (Maybe Text) Source #
The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
listExtensionsResponse_httpStatus :: Lens' ListExtensionsResponse Int Source #
The response's http status code.