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 |
The DescribeReservedCacheNodes action returns information about reserved cache nodes for this account, or about a specified reserved cache node.
This operation returns paginated results.
- describeReservedCacheNodes :: DescribeReservedCacheNodes
- data DescribeReservedCacheNodes
- drcnCacheNodeType :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnProductDescription :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnMarker :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnMaxRecords :: Lens' DescribeReservedCacheNodes (Maybe Int)
- drcnReservedCacheNodeId :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnOfferingType :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnDuration :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnReservedCacheNodesOfferingId :: Lens' DescribeReservedCacheNodes (Maybe Text)
- describeReservedCacheNodesResponse :: Int -> DescribeReservedCacheNodesResponse
- data DescribeReservedCacheNodesResponse
- drcnrsMarker :: Lens' DescribeReservedCacheNodesResponse (Maybe Text)
- drcnrsReservedCacheNodes :: Lens' DescribeReservedCacheNodesResponse [ReservedCacheNode]
- drcnrsResponseStatus :: Lens' DescribeReservedCacheNodesResponse Int
Creating a Request
describeReservedCacheNodes :: DescribeReservedCacheNodes Source #
Creates a value of DescribeReservedCacheNodes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeReservedCacheNodes Source #
Represents the input of a DescribeReservedCacheNodes action.
See: describeReservedCacheNodes
smart constructor.
Request Lenses
drcnCacheNodeType :: Lens' DescribeReservedCacheNodes (Maybe Text) Source #
The cache node type filter value. Use this parameter to show only those reservations 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'
- 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 (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
drcnProductDescription :: Lens' DescribeReservedCacheNodes (Maybe Text) Source #
The product description filter value. Use this parameter to show only those reservations matching the specified product description.
drcnMarker :: Lens' DescribeReservedCacheNodes (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.
drcnMaxRecords :: Lens' DescribeReservedCacheNodes (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.
drcnReservedCacheNodeId :: Lens' DescribeReservedCacheNodes (Maybe Text) Source #
The reserved cache node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.
drcnOfferingType :: Lens' DescribeReservedCacheNodes (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"'
drcnDuration :: Lens' DescribeReservedCacheNodes (Maybe Text) Source #
The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.
Valid Values: '1 | 3 | 31536000 | 94608000'
drcnReservedCacheNodesOfferingId :: Lens' DescribeReservedCacheNodes (Maybe Text) Source #
The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
Destructuring the Response
describeReservedCacheNodesResponse Source #
Creates a value of DescribeReservedCacheNodesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeReservedCacheNodesResponse Source #
Represents the output of a DescribeReservedCacheNodes action.
See: describeReservedCacheNodesResponse
smart constructor.
Response Lenses
drcnrsMarker :: Lens' DescribeReservedCacheNodesResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
drcnrsReservedCacheNodes :: Lens' DescribeReservedCacheNodesResponse [ReservedCacheNode] Source #
A list of reserved cache nodes. Each element in the list contains detailed information about one node.
drcnrsResponseStatus :: Lens' DescribeReservedCacheNodesResponse Int Source #
The response status code.