amazonka-elasticache-1.4.5: Amazon ElastiCache SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElastiCache.DescribeCacheEngineVersions

Contents

Description

Returns a list of the available cache engines and their versions.

This operation returns paginated results.

Synopsis

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:

  • dcevEngineVersion - The cache engine version to return. Example: 1.4.14
  • dcevCacheParameterGroupFamily - The name of a specific cache parameter group family to return details for. Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2 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 - If true , specifies that only the default version of the specified engine or engine and major version combination is to be returned.
  • dcevEngine - The cache engine to return. Valid values: memcached | redis
  • dcevMarker - An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .
  • dcevMaxRecords - 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.

data DescribeCacheEngineVersions Source #

Represents the input of a DescribeCacheEngineVersions operation.

See: describeCacheEngineVersions smart constructor.

Instances

Eq DescribeCacheEngineVersions Source # 
Data DescribeCacheEngineVersions Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeCacheEngineVersions -> c DescribeCacheEngineVersions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeCacheEngineVersions #

toConstr :: DescribeCacheEngineVersions -> Constr #

dataTypeOf :: DescribeCacheEngineVersions -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeCacheEngineVersions) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeCacheEngineVersions) #

gmapT :: (forall b. Data b => b -> b) -> DescribeCacheEngineVersions -> DescribeCacheEngineVersions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeCacheEngineVersions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeCacheEngineVersions -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeCacheEngineVersions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeCacheEngineVersions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeCacheEngineVersions -> m DescribeCacheEngineVersions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeCacheEngineVersions -> m DescribeCacheEngineVersions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeCacheEngineVersions -> m DescribeCacheEngineVersions #

Read DescribeCacheEngineVersions Source # 
Show DescribeCacheEngineVersions Source # 
Generic DescribeCacheEngineVersions Source # 
Hashable DescribeCacheEngineVersions Source # 
NFData DescribeCacheEngineVersions Source # 
AWSPager DescribeCacheEngineVersions Source # 
AWSRequest DescribeCacheEngineVersions Source # 
ToPath DescribeCacheEngineVersions Source # 
ToHeaders DescribeCacheEngineVersions Source # 
ToQuery DescribeCacheEngineVersions Source # 
type Rep DescribeCacheEngineVersions Source # 
type Rep DescribeCacheEngineVersions = D1 (MetaData "DescribeCacheEngineVersions" "Network.AWS.ElastiCache.DescribeCacheEngineVersions" "amazonka-elasticache-1.4.5-DCZ22LKkzpiJjmUycYjUf" False) (C1 (MetaCons "DescribeCacheEngineVersions'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dcevEngineVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dcevCacheParameterGroupFamily") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcevDefaultOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_dcevEngine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dcevMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcevMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))))
type Rs DescribeCacheEngineVersions Source # 

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. Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2 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 operation. 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:

  • dcevrsCacheEngineVersions - A list of cache engine version details. Each element in the list contains detailed information about one cache engine version.
  • dcevrsMarker - Provides an identifier to allow retrieval of paginated results.
  • dcevrsResponseStatus - -- | The response status code.

data DescribeCacheEngineVersionsResponse Source #

Represents the output of a DescribeCacheEngineVersions operation.

See: describeCacheEngineVersionsResponse smart constructor.

Instances

Eq DescribeCacheEngineVersionsResponse Source # 
Data DescribeCacheEngineVersionsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeCacheEngineVersionsResponse -> c DescribeCacheEngineVersionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeCacheEngineVersionsResponse #

toConstr :: DescribeCacheEngineVersionsResponse -> Constr #

dataTypeOf :: DescribeCacheEngineVersionsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeCacheEngineVersionsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeCacheEngineVersionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeCacheEngineVersionsResponse -> DescribeCacheEngineVersionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeCacheEngineVersionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeCacheEngineVersionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeCacheEngineVersionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeCacheEngineVersionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeCacheEngineVersionsResponse -> m DescribeCacheEngineVersionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeCacheEngineVersionsResponse -> m DescribeCacheEngineVersionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeCacheEngineVersionsResponse -> m DescribeCacheEngineVersionsResponse #

Read DescribeCacheEngineVersionsResponse Source # 
Show DescribeCacheEngineVersionsResponse Source # 
Generic DescribeCacheEngineVersionsResponse Source # 
NFData DescribeCacheEngineVersionsResponse Source # 
type Rep DescribeCacheEngineVersionsResponse Source # 
type Rep DescribeCacheEngineVersionsResponse = D1 (MetaData "DescribeCacheEngineVersionsResponse" "Network.AWS.ElastiCache.DescribeCacheEngineVersions" "amazonka-elasticache-1.4.5-DCZ22LKkzpiJjmUycYjUf" False) (C1 (MetaCons "DescribeCacheEngineVersionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcevrsCacheEngineVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CacheEngineVersion]))) ((:*:) (S1 (MetaSel (Just Symbol "_dcevrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcevrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

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.