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 versions for the extension.
Each time an API change is made to an extension, the version is incremented. The list retrieved by this operation shows the versions that are currently available.
This operation returns paginated results.
Synopsis
- data ListExtensionVersions = ListExtensionVersions' {}
- newListExtensionVersions :: Text -> Text -> ListExtensionVersions
- listExtensionVersions_maxResults :: Lens' ListExtensionVersions (Maybe Natural)
- listExtensionVersions_nextToken :: Lens' ListExtensionVersions (Maybe Text)
- listExtensionVersions_name :: Lens' ListExtensionVersions Text
- listExtensionVersions_namespace :: Lens' ListExtensionVersions Text
- data ListExtensionVersionsResponse = ListExtensionVersionsResponse' {}
- newListExtensionVersionsResponse :: Int -> ListExtensionVersionsResponse
- listExtensionVersionsResponse_extensionVersions :: Lens' ListExtensionVersionsResponse (Maybe [ExtensionVersionDetails])
- listExtensionVersionsResponse_nextToken :: Lens' ListExtensionVersionsResponse (Maybe Text)
- listExtensionVersionsResponse_httpStatus :: Lens' ListExtensionVersionsResponse Int
Creating a Request
data ListExtensionVersions Source #
See: newListExtensionVersions
smart constructor.
ListExtensionVersions' | |
|
Instances
newListExtensionVersions Source #
Create a value of ListExtensionVersions
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:ListExtensionVersions'
, listExtensionVersions_maxResults
- The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
ListExtensionVersions
, listExtensionVersions_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.
ListExtensionVersions
, listExtensionVersions_name
- The name of the extension.
ListExtensionVersions
, listExtensionVersions_namespace
- The namespace (qualifier) of the extension.
Request Lenses
listExtensionVersions_maxResults :: Lens' ListExtensionVersions (Maybe Natural) Source #
The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
listExtensionVersions_nextToken :: Lens' ListExtensionVersions (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.
listExtensionVersions_name :: Lens' ListExtensionVersions Text Source #
The name of the extension.
listExtensionVersions_namespace :: Lens' ListExtensionVersions Text Source #
The namespace (qualifier) of the extension.
Destructuring the Response
data ListExtensionVersionsResponse Source #
See: newListExtensionVersionsResponse
smart constructor.
ListExtensionVersionsResponse' | |
|
Instances
newListExtensionVersionsResponse Source #
Create a value of ListExtensionVersionsResponse
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:extensionVersions:ListExtensionVersionsResponse'
, listExtensionVersionsResponse_extensionVersions
- The list of extension versions.
ListExtensionVersions
, listExtensionVersionsResponse_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:ListExtensionVersionsResponse'
, listExtensionVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listExtensionVersionsResponse_extensionVersions :: Lens' ListExtensionVersionsResponse (Maybe [ExtensionVersionDetails]) Source #
The list of extension versions.
listExtensionVersionsResponse_nextToken :: Lens' ListExtensionVersionsResponse (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.
listExtensionVersionsResponse_httpStatus :: Lens' ListExtensionVersionsResponse Int Source #
The response's http status code.