Copyright | (c) 2013-2016 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 |
Lists available reserved cache node offerings.
This operation returns paginated results.
- describeReservedCacheNodesOfferings :: DescribeReservedCacheNodesOfferings
- data DescribeReservedCacheNodesOfferings
- drcnoCacheNodeType :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text)
- drcnoProductDescription :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text)
- drcnoMarker :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text)
- drcnoMaxRecords :: Lens' DescribeReservedCacheNodesOfferings (Maybe Int)
- drcnoOfferingType :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text)
- drcnoDuration :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text)
- drcnoReservedCacheNodesOfferingId :: Lens' DescribeReservedCacheNodesOfferings (Maybe Text)
- describeReservedCacheNodesOfferingsResponse :: Int -> DescribeReservedCacheNodesOfferingsResponse
- data DescribeReservedCacheNodesOfferingsResponse
- drcnorsMarker :: Lens' DescribeReservedCacheNodesOfferingsResponse (Maybe Text)
- drcnorsReservedCacheNodesOfferings :: Lens' DescribeReservedCacheNodesOfferingsResponse [ReservedCacheNodesOffering]
- drcnorsResponseStatus :: Lens' DescribeReservedCacheNodesOfferingsResponse Int
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. Valid node types are as follows: * General purpose: * Current generation:cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
,cache.m4.large
,cache.m4.xlarge
,cache.m4.2xlarge
,cache.m4.4xlarge
,cache.m4.10xlarge
* Previous generation:cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
* Compute optimized:cache.c1.xlarge
* Memory optimized: * Current generation:cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
* Previous generation:cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
Notes: * All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). * Redis backuprestore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backuprestore is supported on Redis (cluster mode enabled) T2 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 byMaxRecords
.drcnoMaxRecords
- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecords
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.
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. Valid node types are as follows: * General purpose: * Current generation: cache.t2.micro
, cache.t2.small
, cache.t2.medium
, cache.m3.medium
, cache.m3.large
, cache.m3.xlarge
, cache.m3.2xlarge
, cache.m4.large
, cache.m4.xlarge
, cache.m4.2xlarge
, cache.m4.4xlarge
, cache.m4.10xlarge
* Previous generation: cache.t1.micro
, cache.m1.small
, cache.m1.medium
, cache.m1.large
, cache.m1.xlarge
* Compute optimized: cache.c1.xlarge
* Memory optimized: * Current generation: cache.r3.large
, cache.r3.xlarge
, cache.r3.2xlarge
, cache.r3.4xlarge
, cache.r3.8xlarge
* Previous generation: cache.m2.xlarge
, cache.m2.2xlarge
, cache.m2.4xlarge
Notes: * All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC). * Redis backuprestore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backuprestore is supported on Redis (cluster mode enabled) T2 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:
drcnorsMarker
- Provides an identifier to allow retrieval of paginated results.drcnorsReservedCacheNodesOfferings
- A list of reserved cache node offerings. Each element in the list contains detailed information about one offering.drcnorsResponseStatus
- -- | The response status code.
data DescribeReservedCacheNodesOfferingsResponse Source #
Represents the output of a DescribeReservedCacheNodesOfferings
operation.
See: describeReservedCacheNodesOfferingsResponse
smart constructor.
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.
drcnorsResponseStatus :: Lens' DescribeReservedCacheNodesOfferingsResponse Int Source #
- - | The response status code.