Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cache cluster if a cluster identifier is supplied.
By default, abbreviated information about the clusters is returned. You can use the optional ShowCacheNodeInfo flag to retrieve detailed information about the cache nodes associated with the clusters. These details include the DNS address and port for the cache node endpoint.
If the cluster is in the creating state, only cluster-level information is displayed until all of the nodes are successfully provisioned.
If the cluster is in the deleting state, only cluster-level information is displayed.
If cache nodes are currently being added to the cluster, node endpoint information and creation time for the additional nodes are not displayed until they are completely provisioned. When the cluster state is available , the cluster is ready for use.
If cache nodes are currently being removed from the cluster, no endpoint information for the removed nodes is displayed.
This operation returns paginated results.
- describeCacheClusters :: DescribeCacheClusters
- data DescribeCacheClusters
- dShowCacheClustersNotInReplicationGroups :: Lens' DescribeCacheClusters (Maybe Bool)
- dCacheClusterId :: Lens' DescribeCacheClusters (Maybe Text)
- dMarker :: Lens' DescribeCacheClusters (Maybe Text)
- dMaxRecords :: Lens' DescribeCacheClusters (Maybe Int)
- dShowCacheNodeInfo :: Lens' DescribeCacheClusters (Maybe Bool)
- describeCacheClustersResponse :: Int -> DescribeCacheClustersResponse
- data DescribeCacheClustersResponse
- drsCacheClusters :: Lens' DescribeCacheClustersResponse [CacheCluster]
- drsMarker :: Lens' DescribeCacheClustersResponse (Maybe Text)
- drsResponseStatus :: Lens' DescribeCacheClustersResponse Int
Creating a Request
describeCacheClusters :: DescribeCacheClusters Source #
Creates a value of DescribeCacheClusters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dShowCacheClustersNotInReplicationGroups
- An optional flag that can be included in theDescribeCacheCluster
request to show only nodes (API/CLI: clusters) that are not members of a replication group. In practice, this mean Memcached and single node Redis clusters.dCacheClusterId
- The user-supplied cluster identifier. If this parameter is specified, only information about that specific cluster is returned. This parameter isn't case sensitive.dMarker
- 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
.dMaxRecords
- 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.dShowCacheNodeInfo
- An optional flag that can be included in theDescribeCacheCluster
request to retrieve information about the individual cache nodes.
data DescribeCacheClusters Source #
Represents the input of a DescribeCacheClusters
operation.
See: describeCacheClusters
smart constructor.
Request Lenses
dShowCacheClustersNotInReplicationGroups :: Lens' DescribeCacheClusters (Maybe Bool) Source #
An optional flag that can be included in the DescribeCacheCluster
request to show only nodes (API/CLI: clusters) that are not members of a replication group. In practice, this mean Memcached and single node Redis clusters.
dCacheClusterId :: Lens' DescribeCacheClusters (Maybe Text) Source #
The user-supplied cluster identifier. If this parameter is specified, only information about that specific cluster is returned. This parameter isn't case sensitive.
dMarker :: Lens' DescribeCacheClusters (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
.
dMaxRecords :: Lens' DescribeCacheClusters (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.
dShowCacheNodeInfo :: Lens' DescribeCacheClusters (Maybe Bool) Source #
An optional flag that can be included in the DescribeCacheCluster
request to retrieve information about the individual cache nodes.
Destructuring the Response
describeCacheClustersResponse Source #
Creates a value of DescribeCacheClustersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsCacheClusters
- A list of clusters. Each item in the list contains detailed information about one cluster.drsMarker
- Provides an identifier to allow retrieval of paginated results.drsResponseStatus
- -- | The response status code.
data DescribeCacheClustersResponse Source #
Represents the output of a DescribeCacheClusters
operation.
See: describeCacheClustersResponse
smart constructor.
Response Lenses
drsCacheClusters :: Lens' DescribeCacheClustersResponse [CacheCluster] Source #
A list of clusters. Each item in the list contains detailed information about one cluster.
drsMarker :: Lens' DescribeCacheClustersResponse (Maybe Text) Source #
Provides an identifier to allow retrieval of paginated results.
drsResponseStatus :: Lens' DescribeCacheClustersResponse Int Source #
- - | The response status code.