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 |
Retrieve a list of application versions.
This operation returns paginated results.
Synopsis
- data DescribeApplicationVersions = DescribeApplicationVersions' {
- versionLabels :: Maybe [Text]
- nextToken :: Maybe Text
- maxRecords :: Maybe Natural
- applicationName :: Maybe Text
- newDescribeApplicationVersions :: DescribeApplicationVersions
- describeApplicationVersions_versionLabels :: Lens' DescribeApplicationVersions (Maybe [Text])
- describeApplicationVersions_nextToken :: Lens' DescribeApplicationVersions (Maybe Text)
- describeApplicationVersions_maxRecords :: Lens' DescribeApplicationVersions (Maybe Natural)
- describeApplicationVersions_applicationName :: Lens' DescribeApplicationVersions (Maybe Text)
- data DescribeApplicationVersionsResponse = DescribeApplicationVersionsResponse' {}
- newDescribeApplicationVersionsResponse :: Int -> DescribeApplicationVersionsResponse
- describeApplicationVersionsResponse_applicationVersions :: Lens' DescribeApplicationVersionsResponse (Maybe [ApplicationVersionDescription])
- describeApplicationVersionsResponse_nextToken :: Lens' DescribeApplicationVersionsResponse (Maybe Text)
- describeApplicationVersionsResponse_httpStatus :: Lens' DescribeApplicationVersionsResponse Int
Creating a Request
data DescribeApplicationVersions Source #
Request to describe application versions.
See: newDescribeApplicationVersions
smart constructor.
DescribeApplicationVersions' | |
|
Instances
newDescribeApplicationVersions :: DescribeApplicationVersions Source #
Create a value of DescribeApplicationVersions
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:versionLabels:DescribeApplicationVersions'
, describeApplicationVersions_versionLabels
- Specify a version label to show a specific application version.
$sel:nextToken:DescribeApplicationVersions'
, describeApplicationVersions_nextToken
- For a paginated request. Specify a token from a previous response page
to retrieve the next response page. All other parameter values must be
identical to the ones specified in the initial request.
If no NextToken
is specified, the first page is retrieved.
$sel:maxRecords:DescribeApplicationVersions'
, describeApplicationVersions_maxRecords
- For a paginated request. Specify a maximum number of application
versions to include in each response.
If no MaxRecords
is specified, all available application versions are
retrieved in a single response.
$sel:applicationName:DescribeApplicationVersions'
, describeApplicationVersions_applicationName
- Specify an application name to show only application versions for that
application.
Request Lenses
describeApplicationVersions_versionLabels :: Lens' DescribeApplicationVersions (Maybe [Text]) Source #
Specify a version label to show a specific application version.
describeApplicationVersions_nextToken :: Lens' DescribeApplicationVersions (Maybe Text) Source #
For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.
If no NextToken
is specified, the first page is retrieved.
describeApplicationVersions_maxRecords :: Lens' DescribeApplicationVersions (Maybe Natural) Source #
For a paginated request. Specify a maximum number of application versions to include in each response.
If no MaxRecords
is specified, all available application versions are
retrieved in a single response.
describeApplicationVersions_applicationName :: Lens' DescribeApplicationVersions (Maybe Text) Source #
Specify an application name to show only application versions for that application.
Destructuring the Response
data DescribeApplicationVersionsResponse Source #
Result message wrapping a list of application version descriptions.
See: newDescribeApplicationVersionsResponse
smart constructor.
DescribeApplicationVersionsResponse' | |
|
Instances
newDescribeApplicationVersionsResponse Source #
Create a value of DescribeApplicationVersionsResponse
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:applicationVersions:DescribeApplicationVersionsResponse'
, describeApplicationVersionsResponse_applicationVersions
- List of ApplicationVersionDescription
objects sorted in order of
creation.
$sel:nextToken:DescribeApplicationVersions'
, describeApplicationVersionsResponse_nextToken
- In a paginated request, the token that you can pass in a subsequent
request to get the next response page.
$sel:httpStatus:DescribeApplicationVersionsResponse'
, describeApplicationVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeApplicationVersionsResponse_applicationVersions :: Lens' DescribeApplicationVersionsResponse (Maybe [ApplicationVersionDescription]) Source #
List of ApplicationVersionDescription
objects sorted in order of
creation.
describeApplicationVersionsResponse_nextToken :: Lens' DescribeApplicationVersionsResponse (Maybe Text) Source #
In a paginated request, the token that you can pass in a subsequent request to get the next response page.
describeApplicationVersionsResponse_httpStatus :: Lens' DescribeApplicationVersionsResponse Int Source #
The response's http status code.