Safe Haskell | None |
---|---|
Language | Haskell2010 |
The DescribeReservedCacheNodes operation returns information about reserved cache nodes for this account, or about a specified reserved cache node.
http://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_DescribeReservedCacheNodes.html
- data DescribeReservedCacheNodes
- describeReservedCacheNodes :: DescribeReservedCacheNodes
- drcnCacheNodeType :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnDuration :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnMarker :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnMaxRecords :: Lens' DescribeReservedCacheNodes (Maybe Int)
- drcnOfferingType :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnProductDescription :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnReservedCacheNodeId :: Lens' DescribeReservedCacheNodes (Maybe Text)
- drcnReservedCacheNodesOfferingId :: Lens' DescribeReservedCacheNodes (Maybe Text)
- data DescribeReservedCacheNodesResponse
- describeReservedCacheNodesResponse :: DescribeReservedCacheNodesResponse
- drcnrMarker :: Lens' DescribeReservedCacheNodesResponse (Maybe Text)
- drcnrReservedCacheNodes :: Lens' DescribeReservedCacheNodesResponse [ReservedCacheNode]
Request
data DescribeReservedCacheNodes Source
Request constructor
describeReservedCacheNodes :: DescribeReservedCacheNodes Source
DescribeReservedCacheNodes
constructor.
The fields accessible through corresponding lenses are:
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.
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'
drcnMarker :: Lens' DescribeReservedCacheNodes (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.
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.
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" | HeavyUtilization'
drcnProductDescription :: Lens' DescribeReservedCacheNodes (Maybe Text) Source
The product description filter value. Use this parameter to show only those reservations matching the specified product description.
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.
drcnReservedCacheNodesOfferingId :: Lens' DescribeReservedCacheNodes (Maybe Text) Source
The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
Response
Response constructor
describeReservedCacheNodesResponse :: DescribeReservedCacheNodesResponse Source
DescribeReservedCacheNodesResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
drcnrMarker :: Lens' DescribeReservedCacheNodesResponse (Maybe Text) Source
Provides an identifier to allow retrieval of paginated results.
drcnrReservedCacheNodes :: Lens' DescribeReservedCacheNodesResponse [ReservedCacheNode] Source
A list of reserved cache nodes. Each element in the list contains detailed information about one node.