Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The DescribeCacheEngineVersions action returns a list of the available cache engines and their versions.
See: AWS API Reference for DescribeCacheEngineVersions.
This operation returns paginated results.
- describeCacheEngineVersions :: DescribeCacheEngineVersions
- data DescribeCacheEngineVersions
- dcevEngineVersion :: Lens' DescribeCacheEngineVersions (Maybe Text)
- dcevCacheParameterGroupFamily :: Lens' DescribeCacheEngineVersions (Maybe Text)
- dcevDefaultOnly :: Lens' DescribeCacheEngineVersions (Maybe Bool)
- dcevEngine :: Lens' DescribeCacheEngineVersions (Maybe Text)
- dcevMarker :: Lens' DescribeCacheEngineVersions (Maybe Text)
- dcevMaxRecords :: Lens' DescribeCacheEngineVersions (Maybe Int)
- describeCacheEngineVersionsResponse :: Int -> DescribeCacheEngineVersionsResponse
- data DescribeCacheEngineVersionsResponse
- dcevrsCacheEngineVersions :: Lens' DescribeCacheEngineVersionsResponse [CacheEngineVersion]
- dcevrsMarker :: Lens' DescribeCacheEngineVersionsResponse (Maybe Text)
- dcevrsResponseStatus :: Lens' DescribeCacheEngineVersionsResponse Int
Creating a Request
describeCacheEngineVersions :: DescribeCacheEngineVersions Source
Creates a value of DescribeCacheEngineVersions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeCacheEngineVersions Source
Represents the input of a DescribeCacheEngineVersions action.
See: describeCacheEngineVersions
smart constructor.
Request Lenses
dcevEngineVersion :: Lens' DescribeCacheEngineVersions (Maybe Text) Source
The cache engine version to return.
Example: '1.4.14'
dcevCacheParameterGroupFamily :: Lens' DescribeCacheEngineVersions (Maybe Text) Source
The name of a specific cache parameter group family to return details for.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
dcevDefaultOnly :: Lens' DescribeCacheEngineVersions (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.
dcevEngine :: Lens' DescribeCacheEngineVersions (Maybe Text) Source
The cache engine to return. Valid values: memcached
| redis
dcevMarker :: Lens' DescribeCacheEngineVersions (Maybe Text) Source
An optional marker returned from a prior request. Use this marker for pagination of results from this action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
dcevMaxRecords :: Lens' DescribeCacheEngineVersions (Maybe Int) Source
The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a marker is
included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
Destructuring the Response
describeCacheEngineVersionsResponse Source
Creates a value of DescribeCacheEngineVersionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeCacheEngineVersionsResponse Source
Represents the output of a DescribeCacheEngineVersions action.
See: describeCacheEngineVersionsResponse
smart constructor.
Response Lenses
dcevrsCacheEngineVersions :: Lens' DescribeCacheEngineVersionsResponse [CacheEngineVersion] Source
A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.
dcevrsMarker :: Lens' DescribeCacheEngineVersionsResponse (Maybe Text) Source
Provides an identifier to allow retrieval of paginated results.
dcevrsResponseStatus :: Lens' DescribeCacheEngineVersionsResponse Int Source
The response status code.