amazonka-elasticache-1.5.0: Amazon ElastiCache SDK.

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

Network.AWS.ElastiCache.DescribeReservedCacheNodesOfferings

Contents

Description

Lists available reserved cache node offerings.

This operation returns paginated results.

Synopsis

Creating a Request

describeReservedCacheNodesOfferings :: DescribeReservedCacheNodesOfferings Source #

Creates a value of DescribeReservedCacheNodesOfferings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • drcnoCacheNodeType - The cache node type filter value. Use this parameter to show only the available offerings matching the specified cache node type. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. * General purpose: * Current generation: T2 node types: cache.t2.micro , cache.t2.small , cache.t2.medium M3 node types: cache.m3.medium , cache.m3.large , cache.m3.xlarge , cache.m3.2xlarge M4 node types: cache.m4.large , cache.m4.xlarge , cache.m4.2xlarge , cache.m4.4xlarge , cache.m4.10xlarge * Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small , cache.m1.medium , cache.m1.large , cache.m1.xlarge * Compute optimized: * Previous generation: (not recommended) C1 node types: cache.c1.xlarge * Memory optimized: * Current generation: R3 node types: cache.r3.large , cache.r3.xlarge , cache.r3.2xlarge , cache.r3.4xlarge , cache.r3.8xlarge * Previous generation: (not recommended) M2 node types: cache.m2.xlarge , cache.m2.2xlarge , cache.m2.4xlarge Notes: * All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). * Redis (cluster mode disabled): Redis backuprestore is not supported on T1 and T2 instances. * Redis (cluster mode enabled): Backuprestore is not supported on T1 instances. * Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances. For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis .
  • drcnoProductDescription - The product description filter value. Use this parameter to show only the available offerings matching the specified product description.
  • drcnoMarker - 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 .
  • drcnoMaxRecords - 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.
  • drcnoOfferingType - The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid Values: "Light Utilization"|"Medium Utilization"|"Heavy Utilization"
  • drcnoDuration - Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a given duration. Valid Values: 1 | 3 | 31536000 | 94608000
  • drcnoReservedCacheNodesOfferingId - The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

data DescribeReservedCacheNodesOfferings Source #

Represents the input of a DescribeReservedCacheNodesOfferings operation.

See: describeReservedCacheNodesOfferings smart constructor.

Instances

Eq DescribeReservedCacheNodesOfferings Source # 
Data DescribeReservedCacheNodesOfferings Source # 

Methods

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

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

toConstr :: DescribeReservedCacheNodesOfferings -> Constr #

dataTypeOf :: DescribeReservedCacheNodesOfferings -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeReservedCacheNodesOfferings Source # 
Show DescribeReservedCacheNodesOfferings Source # 
Generic DescribeReservedCacheNodesOfferings Source # 
Hashable DescribeReservedCacheNodesOfferings Source # 
NFData DescribeReservedCacheNodesOfferings Source # 
AWSPager DescribeReservedCacheNodesOfferings Source # 
AWSRequest DescribeReservedCacheNodesOfferings Source # 
ToQuery DescribeReservedCacheNodesOfferings Source # 
ToPath DescribeReservedCacheNodesOfferings Source # 
ToHeaders DescribeReservedCacheNodesOfferings Source # 
type Rep DescribeReservedCacheNodesOfferings Source # 
type Rep DescribeReservedCacheNodesOfferings = D1 (MetaData "DescribeReservedCacheNodesOfferings" "Network.AWS.ElastiCache.DescribeReservedCacheNodesOfferings" "amazonka-elasticache-1.5.0-3KxmcjA9oxuJn4AiPGdjQZ" False) (C1 (MetaCons "DescribeReservedCacheNodesOfferings'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_drcnoCacheNodeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_drcnoProductDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drcnoMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_drcnoMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_drcnoOfferingType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_drcnoDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drcnoReservedCacheNodesOfferingId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Rs DescribeReservedCacheNodesOfferings Source # 

Request Lenses

drcnoCacheNodeType :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text) Source #

The cache node type filter value. Use this parameter to show only the available offerings matching the specified cache node type. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. * General purpose: * Current generation: T2 node types: cache.t2.micro , cache.t2.small , cache.t2.medium M3 node types: cache.m3.medium , cache.m3.large , cache.m3.xlarge , cache.m3.2xlarge M4 node types: cache.m4.large , cache.m4.xlarge , cache.m4.2xlarge , cache.m4.4xlarge , cache.m4.10xlarge * Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small , cache.m1.medium , cache.m1.large , cache.m1.xlarge * Compute optimized: * Previous generation: (not recommended) C1 node types: cache.c1.xlarge * Memory optimized: * Current generation: R3 node types: cache.r3.large , cache.r3.xlarge , cache.r3.2xlarge , cache.r3.4xlarge , cache.r3.8xlarge * Previous generation: (not recommended) M2 node types: cache.m2.xlarge , cache.m2.2xlarge , cache.m2.4xlarge Notes: * All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). * Redis (cluster mode disabled): Redis backuprestore is not supported on T1 and T2 instances. * Redis (cluster mode enabled): Backuprestore is not supported on T1 instances. * Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances. For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis .

drcnoProductDescription :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text) Source #

The product description filter value. Use this parameter to show only the available offerings matching the specified product description.

drcnoMarker :: Lens' DescribeReservedCacheNodesOfferings (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 .

drcnoMaxRecords :: Lens' DescribeReservedCacheNodesOfferings (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.

drcnoOfferingType :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text) Source #

The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid Values: "Light Utilization"|"Medium Utilization"|"Heavy Utilization"

drcnoDuration :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text) Source #

Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a given duration. Valid Values: 1 | 3 | 31536000 | 94608000

drcnoReservedCacheNodesOfferingId :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text) Source #

The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Destructuring the Response

describeReservedCacheNodesOfferingsResponse Source #

Creates a value of DescribeReservedCacheNodesOfferingsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeReservedCacheNodesOfferingsResponse Source #

Represents the output of a DescribeReservedCacheNodesOfferings operation.

See: describeReservedCacheNodesOfferingsResponse smart constructor.

Instances

Eq DescribeReservedCacheNodesOfferingsResponse Source # 
Data DescribeReservedCacheNodesOfferingsResponse Source # 

Methods

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

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

toConstr :: DescribeReservedCacheNodesOfferingsResponse -> Constr #

dataTypeOf :: DescribeReservedCacheNodesOfferingsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeReservedCacheNodesOfferingsResponse Source # 
Show DescribeReservedCacheNodesOfferingsResponse Source # 
Generic DescribeReservedCacheNodesOfferingsResponse Source # 
NFData DescribeReservedCacheNodesOfferingsResponse Source # 
type Rep DescribeReservedCacheNodesOfferingsResponse Source # 
type Rep DescribeReservedCacheNodesOfferingsResponse = D1 (MetaData "DescribeReservedCacheNodesOfferingsResponse" "Network.AWS.ElastiCache.DescribeReservedCacheNodesOfferings" "amazonka-elasticache-1.5.0-3KxmcjA9oxuJn4AiPGdjQZ" False) (C1 (MetaCons "DescribeReservedCacheNodesOfferingsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drcnorsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_drcnorsReservedCacheNodesOfferings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ReservedCacheNodesOffering]))) (S1 (MetaSel (Just Symbol "_drcnorsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

drcnorsMarker :: Lens' DescribeReservedCacheNodesOfferingsResponse (Maybe Text) Source #

Provides an identifier to allow retrieval of paginated results.

drcnorsReservedCacheNodesOfferings :: Lens' DescribeReservedCacheNodesOfferingsResponse [ReservedCacheNodesOffering] Source #

A list of reserved cache node offerings. Each element in the list contains detailed information about one offering.