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 the platform versions available for your account in an AWS Region. Provides summary information about each platform version. Compare to DescribePlatformVersion, which provides full details about a single platform version.
For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk Platforms Glossary.
This operation returns paginated results.
Synopsis
- data ListPlatformVersions = ListPlatformVersions' {
- filters :: Maybe [PlatformFilter]
- nextToken :: Maybe Text
- maxRecords :: Maybe Natural
- newListPlatformVersions :: ListPlatformVersions
- listPlatformVersions_filters :: Lens' ListPlatformVersions (Maybe [PlatformFilter])
- listPlatformVersions_nextToken :: Lens' ListPlatformVersions (Maybe Text)
- listPlatformVersions_maxRecords :: Lens' ListPlatformVersions (Maybe Natural)
- data ListPlatformVersionsResponse = ListPlatformVersionsResponse' {}
- newListPlatformVersionsResponse :: Int -> ListPlatformVersionsResponse
- listPlatformVersionsResponse_nextToken :: Lens' ListPlatformVersionsResponse (Maybe Text)
- listPlatformVersionsResponse_platformSummaryList :: Lens' ListPlatformVersionsResponse (Maybe [PlatformSummary])
- listPlatformVersionsResponse_httpStatus :: Lens' ListPlatformVersionsResponse Int
Creating a Request
data ListPlatformVersions Source #
See: newListPlatformVersions
smart constructor.
ListPlatformVersions' | |
|
Instances
newListPlatformVersions :: ListPlatformVersions Source #
Create a value of ListPlatformVersions
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:filters:ListPlatformVersions'
, listPlatformVersions_filters
- Criteria for restricting the resulting list of platform versions. The
filter is interpreted as a logical conjunction (AND) of the separate
PlatformFilter
terms.
$sel:nextToken:ListPlatformVersions'
, listPlatformVersions_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:ListPlatformVersions'
, listPlatformVersions_maxRecords
- The maximum number of platform version values returned in one call.
Request Lenses
listPlatformVersions_filters :: Lens' ListPlatformVersions (Maybe [PlatformFilter]) Source #
Criteria for restricting the resulting list of platform versions. The
filter is interpreted as a logical conjunction (AND) of the separate
PlatformFilter
terms.
listPlatformVersions_nextToken :: Lens' ListPlatformVersions (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.
listPlatformVersions_maxRecords :: Lens' ListPlatformVersions (Maybe Natural) Source #
The maximum number of platform version values returned in one call.
Destructuring the Response
data ListPlatformVersionsResponse Source #
See: newListPlatformVersionsResponse
smart constructor.
ListPlatformVersionsResponse' | |
|
Instances
newListPlatformVersionsResponse Source #
Create a value of ListPlatformVersionsResponse
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:ListPlatformVersions'
, listPlatformVersionsResponse_nextToken
- In a paginated request, if this value isn't null
, it's the token
that you can pass in a subsequent request to get the next response page.
$sel:platformSummaryList:ListPlatformVersionsResponse'
, listPlatformVersionsResponse_platformSummaryList
- Summary information about the platform versions.
$sel:httpStatus:ListPlatformVersionsResponse'
, listPlatformVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listPlatformVersionsResponse_nextToken :: Lens' ListPlatformVersionsResponse (Maybe Text) Source #
In a paginated request, if this value isn't null
, it's the token
that you can pass in a subsequent request to get the next response page.
listPlatformVersionsResponse_platformSummaryList :: Lens' ListPlatformVersionsResponse (Maybe [PlatformSummary]) Source #
Summary information about the platform versions.
listPlatformVersionsResponse_httpStatus :: Lens' ListPlatformVersionsResponse Int Source #
The response's http status code.