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 |
Returns a list of the available Redis engine versions.
Synopsis
- data DescribeEngineVersions = DescribeEngineVersions' {}
- newDescribeEngineVersions :: DescribeEngineVersions
- describeEngineVersions_engineVersion :: Lens' DescribeEngineVersions (Maybe Text)
- describeEngineVersions_defaultOnly :: Lens' DescribeEngineVersions (Maybe Bool)
- describeEngineVersions_nextToken :: Lens' DescribeEngineVersions (Maybe Text)
- describeEngineVersions_parameterGroupFamily :: Lens' DescribeEngineVersions (Maybe Text)
- describeEngineVersions_maxResults :: Lens' DescribeEngineVersions (Maybe Int)
- data DescribeEngineVersionsResponse = DescribeEngineVersionsResponse' {}
- newDescribeEngineVersionsResponse :: Int -> DescribeEngineVersionsResponse
- describeEngineVersionsResponse_nextToken :: Lens' DescribeEngineVersionsResponse (Maybe Text)
- describeEngineVersionsResponse_engineVersions :: Lens' DescribeEngineVersionsResponse (Maybe [EngineVersionInfo])
- describeEngineVersionsResponse_httpStatus :: Lens' DescribeEngineVersionsResponse Int
Creating a Request
data DescribeEngineVersions Source #
See: newDescribeEngineVersions
smart constructor.
DescribeEngineVersions' | |
|
Instances
newDescribeEngineVersions :: DescribeEngineVersions Source #
Create a value of DescribeEngineVersions
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:engineVersion:DescribeEngineVersions'
, describeEngineVersions_engineVersion
- The Redis engine version
$sel:defaultOnly:DescribeEngineVersions'
, describeEngineVersions_defaultOnly
- If true, specifies that only the default version of the specified engine
or engine and major version combination is to be returned.
$sel:nextToken:DescribeEngineVersions'
, describeEngineVersions_nextToken
- An optional argument to pass in case the total number of records exceeds
the value of MaxResults. If nextToken is returned, there are more
results available. The value of nextToken is a unique pagination token
for each page. Make the call again using the returned token to retrieve
the next page. Keep all other arguments unchanged.
$sel:parameterGroupFamily:DescribeEngineVersions'
, describeEngineVersions_parameterGroupFamily
- The name of a specific parameter group family to return details for.
$sel:maxResults:DescribeEngineVersions'
, describeEngineVersions_maxResults
- The maximum number of records to include in the response. If more
records exist than the specified MaxResults value, a token is included
in the response so that the remaining results can be retrieved.
Request Lenses
describeEngineVersions_engineVersion :: Lens' DescribeEngineVersions (Maybe Text) Source #
The Redis engine version
describeEngineVersions_defaultOnly :: Lens' DescribeEngineVersions (Maybe Bool) Source #
If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
describeEngineVersions_nextToken :: Lens' DescribeEngineVersions (Maybe Text) Source #
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
describeEngineVersions_parameterGroupFamily :: Lens' DescribeEngineVersions (Maybe Text) Source #
The name of a specific parameter group family to return details for.
describeEngineVersions_maxResults :: Lens' DescribeEngineVersions (Maybe Int) Source #
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
Destructuring the Response
data DescribeEngineVersionsResponse Source #
See: newDescribeEngineVersionsResponse
smart constructor.
DescribeEngineVersionsResponse' | |
|
Instances
newDescribeEngineVersionsResponse Source #
Create a value of DescribeEngineVersionsResponse
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:DescribeEngineVersions'
, describeEngineVersionsResponse_nextToken
- An optional argument to pass in case the total number of records exceeds
the value of MaxResults. If nextToken is returned, there are more
results available. The value of nextToken is a unique pagination token
for each page. Make the call again using the returned token to retrieve
the next page. Keep all other arguments unchanged.
$sel:engineVersions:DescribeEngineVersionsResponse'
, describeEngineVersionsResponse_engineVersions
- A list of engine version details. Each element in the list contains
detailed information about one engine version.
$sel:httpStatus:DescribeEngineVersionsResponse'
, describeEngineVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeEngineVersionsResponse_nextToken :: Lens' DescribeEngineVersionsResponse (Maybe Text) Source #
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
describeEngineVersionsResponse_engineVersions :: Lens' DescribeEngineVersionsResponse (Maybe [EngineVersionInfo]) Source #
A list of engine version details. Each element in the list contains detailed information about one engine version.
describeEngineVersionsResponse_httpStatus :: Lens' DescribeEngineVersionsResponse Int Source #
The response's http status code.