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