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 |
Lists versions for the specified application.
This operation returns paginated results.
Synopsis
- data ListApplicationVersions = ListApplicationVersions' {}
- newListApplicationVersions :: Text -> ListApplicationVersions
- listApplicationVersions_nextToken :: Lens' ListApplicationVersions (Maybe Text)
- listApplicationVersions_maxItems :: Lens' ListApplicationVersions (Maybe Natural)
- listApplicationVersions_applicationId :: Lens' ListApplicationVersions Text
- data ListApplicationVersionsResponse = ListApplicationVersionsResponse' {
- versions :: Maybe [VersionSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListApplicationVersionsResponse :: Int -> ListApplicationVersionsResponse
- listApplicationVersionsResponse_versions :: Lens' ListApplicationVersionsResponse (Maybe [VersionSummary])
- listApplicationVersionsResponse_nextToken :: Lens' ListApplicationVersionsResponse (Maybe Text)
- listApplicationVersionsResponse_httpStatus :: Lens' ListApplicationVersionsResponse Int
Creating a Request
data ListApplicationVersions Source #
See: newListApplicationVersions
smart constructor.
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:nextToken:ListApplicationVersions'
, listApplicationVersions_nextToken
- A token to specify where to start paginating.
$sel:maxItems:ListApplicationVersions'
, listApplicationVersions_maxItems
- The total number of items to return.
$sel:applicationId:ListApplicationVersions'
, listApplicationVersions_applicationId
- The Amazon Resource Name (ARN) of the application.
Request Lenses
listApplicationVersions_nextToken :: Lens' ListApplicationVersions (Maybe Text) Source #
A token to specify where to start paginating.
listApplicationVersions_maxItems :: Lens' ListApplicationVersions (Maybe Natural) Source #
The total number of items to return.
listApplicationVersions_applicationId :: Lens' ListApplicationVersions Text Source #
The Amazon Resource Name (ARN) 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:
$sel:versions:ListApplicationVersionsResponse'
, listApplicationVersionsResponse_versions
- An array of version summaries for the application.
$sel:nextToken:ListApplicationVersions'
, listApplicationVersionsResponse_nextToken
- The token to request the next page of results.
$sel:httpStatus:ListApplicationVersionsResponse'
, listApplicationVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listApplicationVersionsResponse_versions :: Lens' ListApplicationVersionsResponse (Maybe [VersionSummary]) Source #
An array of version summaries for the application.
listApplicationVersionsResponse_nextToken :: Lens' ListApplicationVersionsResponse (Maybe Text) Source #
The token to request the next page of results.
listApplicationVersionsResponse_httpStatus :: Lens' ListApplicationVersionsResponse Int Source #
The response's http status code.