Copyright | (c) 2013-2021 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 |
Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.
Synopsis
- data DescribeClusters = DescribeClusters' {}
- newDescribeClusters :: DescribeClusters
- describeClusters_showShardDetails :: Lens' DescribeClusters (Maybe Bool)
- describeClusters_nextToken :: Lens' DescribeClusters (Maybe Text)
- describeClusters_clusterName :: Lens' DescribeClusters (Maybe Text)
- describeClusters_maxResults :: Lens' DescribeClusters (Maybe Int)
- data DescribeClustersResponse = DescribeClustersResponse' {}
- newDescribeClustersResponse :: Int -> DescribeClustersResponse
- describeClustersResponse_nextToken :: Lens' DescribeClustersResponse (Maybe Text)
- describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
- describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
Creating a Request
data DescribeClusters Source #
See: newDescribeClusters
smart constructor.
DescribeClusters' | |
|
Instances
newDescribeClusters :: DescribeClusters Source #
Create a value of DescribeClusters
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:showShardDetails:DescribeClusters'
, describeClusters_showShardDetails
- An optional flag that can be included in the request to retrieve
information about the individual shard(s).
$sel:nextToken:DescribeClusters'
, describeClusters_nextToken
- An optional argument to pass in case the total number of records exceeds
the value of MaxResults. If nextToken is returned, there are more
results available. The value of nextToken is a unique pagination token
for each page. Make the call again using the returned token to retrieve
the next page. Keep all other arguments unchanged.
$sel:clusterName:DescribeClusters'
, describeClusters_clusterName
- The name of the cluster
$sel:maxResults:DescribeClusters'
, describeClusters_maxResults
- The maximum number of records to include in the response. If more
records exist than the specified MaxResults value, a token is included
in the response so that the remaining results can be retrieved.
Request Lenses
describeClusters_showShardDetails :: Lens' DescribeClusters (Maybe Bool) Source #
An optional flag that can be included in the request to retrieve information about the individual shard(s).
describeClusters_nextToken :: Lens' DescribeClusters (Maybe Text) Source #
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
describeClusters_clusterName :: Lens' DescribeClusters (Maybe Text) Source #
The name of the cluster
describeClusters_maxResults :: Lens' DescribeClusters (Maybe Int) Source #
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
Destructuring the Response
data DescribeClustersResponse Source #
See: newDescribeClustersResponse
smart constructor.
DescribeClustersResponse' | |
|
Instances
newDescribeClustersResponse Source #
Create a value of DescribeClustersResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeClusters'
, describeClustersResponse_nextToken
- An optional argument to pass in case the total number of records exceeds
the value of MaxResults. If nextToken is returned, there are more
results available. The value of nextToken is a unique pagination token
for each page. Make the call again using the returned token to retrieve
the next page. Keep all other arguments unchanged.
$sel:clusters:DescribeClustersResponse'
, describeClustersResponse_clusters
- A list of clusters
$sel:httpStatus:DescribeClustersResponse'
, describeClustersResponse_httpStatus
- The response's http status code.
Response Lenses
describeClustersResponse_nextToken :: Lens' DescribeClustersResponse (Maybe Text) Source #
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster]) Source #
A list of clusters
describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int Source #
The response's http status code.