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 |
Returns a list of the application versions for a specific application.
This operation returns paginated results.
Synopsis
- data ListApplicationVersions = ListApplicationVersions' {}
- newListApplicationVersions :: Text -> ListApplicationVersions
- listApplicationVersions_maxResults :: Lens' ListApplicationVersions (Maybe Natural)
- listApplicationVersions_nextToken :: Lens' ListApplicationVersions (Maybe Text)
- listApplicationVersions_applicationId :: Lens' ListApplicationVersions Text
- data ListApplicationVersionsResponse = ListApplicationVersionsResponse' {}
- newListApplicationVersionsResponse :: Int -> ListApplicationVersionsResponse
- listApplicationVersionsResponse_nextToken :: Lens' ListApplicationVersionsResponse (Maybe Text)
- listApplicationVersionsResponse_httpStatus :: Lens' ListApplicationVersionsResponse Int
- listApplicationVersionsResponse_applicationVersions :: Lens' ListApplicationVersionsResponse [ApplicationVersionSummary]
Creating a Request
data ListApplicationVersions Source #
See: newListApplicationVersions
smart constructor.
ListApplicationVersions' | |
|
Instances
newListApplicationVersions Source #
Create a value of ListApplicationVersions
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:ListApplicationVersions'
, listApplicationVersions_maxResults
- The maximum number of application versions to return.
ListApplicationVersions
, listApplicationVersions_nextToken
- A pagination token returned from a previous call to this operation. This
specifies the next item to return. To return to the beginning of the
list, exclude this parameter.
ListApplicationVersions
, listApplicationVersions_applicationId
- The unique identifier of the application.
Request Lenses
listApplicationVersions_maxResults :: Lens' ListApplicationVersions (Maybe Natural) Source #
The maximum number of application versions to return.
listApplicationVersions_nextToken :: Lens' ListApplicationVersions (Maybe Text) Source #
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
listApplicationVersions_applicationId :: Lens' ListApplicationVersions Text Source #
The unique identifier of the application.
Destructuring the Response
data ListApplicationVersionsResponse Source #
See: newListApplicationVersionsResponse
smart constructor.
ListApplicationVersionsResponse' | |
|
Instances
newListApplicationVersionsResponse Source #
Create a value of ListApplicationVersionsResponse
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:
ListApplicationVersions
, listApplicationVersionsResponse_nextToken
- If there are more items to return, this contains a token that is passed
to a subsequent call to this operation to retrieve the next set of
items.
$sel:httpStatus:ListApplicationVersionsResponse'
, listApplicationVersionsResponse_httpStatus
- The response's http status code.
$sel:applicationVersions:ListApplicationVersionsResponse'
, listApplicationVersionsResponse_applicationVersions
- The list of application versions.
Response Lenses
listApplicationVersionsResponse_nextToken :: Lens' ListApplicationVersionsResponse (Maybe Text) Source #
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
listApplicationVersionsResponse_httpStatus :: Lens' ListApplicationVersionsResponse Int Source #
The response's http status code.
listApplicationVersionsResponse_applicationVersions :: Lens' ListApplicationVersionsResponse [ApplicationVersionSummary] Source #
The list of application versions.