| 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.MemoryDb.DescribeEngineVersions
Description
Returns a list of the available Redis engine versions.
This operation returns paginated results.
Synopsis
- data DescribeEngineVersions = DescribeEngineVersions' {}
- newDescribeEngineVersions :: DescribeEngineVersions
- describeEngineVersions_defaultOnly :: Lens' DescribeEngineVersions (Maybe Bool)
- describeEngineVersions_engineVersion :: Lens' DescribeEngineVersions (Maybe Text)
- describeEngineVersions_maxResults :: Lens' DescribeEngineVersions (Maybe Int)
- describeEngineVersions_nextToken :: Lens' DescribeEngineVersions (Maybe Text)
- describeEngineVersions_parameterGroupFamily :: Lens' DescribeEngineVersions (Maybe Text)
- data DescribeEngineVersionsResponse = DescribeEngineVersionsResponse' {}
- newDescribeEngineVersionsResponse :: Int -> DescribeEngineVersionsResponse
- describeEngineVersionsResponse_engineVersions :: Lens' DescribeEngineVersionsResponse (Maybe [EngineVersionInfo])
- describeEngineVersionsResponse_nextToken :: Lens' DescribeEngineVersionsResponse (Maybe Text)
- describeEngineVersionsResponse_httpStatus :: Lens' DescribeEngineVersionsResponse Int
Creating a Request
data DescribeEngineVersions Source #
See: newDescribeEngineVersions smart constructor.
Constructors
| DescribeEngineVersions' | |
Fields
| |
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: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.
DescribeEngineVersions, describeEngineVersions_engineVersion - The Redis engine version
$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.
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.
DescribeEngineVersions, describeEngineVersions_parameterGroupFamily - The name of a specific parameter group family to return details for.
Request Lenses
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_engineVersion :: Lens' DescribeEngineVersions (Maybe Text) Source #
The Redis engine version
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.
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.
Destructuring the Response
data DescribeEngineVersionsResponse Source #
See: newDescribeEngineVersionsResponse smart constructor.
Constructors
| DescribeEngineVersionsResponse' | |
Fields
| |
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:engineVersions:DescribeEngineVersionsResponse', describeEngineVersionsResponse_engineVersions - A list of engine version details. Each element in the list contains
detailed information about one engine version.
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:httpStatus:DescribeEngineVersionsResponse', describeEngineVersionsResponse_httpStatus - The response's http status code.
Response Lenses
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_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_httpStatus :: Lens' DescribeEngineVersionsResponse Int Source #
The response's http status code.