| 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 |
Network.AWS.CloudHSMv2.DescribeClusters
Description
Gets information about AWS CloudHSM clusters.
This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get.
This operation returns paginated results.
- describeClusters :: DescribeClusters
- data DescribeClusters
- dcFilters :: Lens' DescribeClusters (HashMap Text [Text])
- dcNextToken :: Lens' DescribeClusters (Maybe Text)
- dcMaxResults :: Lens' DescribeClusters (Maybe Natural)
- describeClustersResponse :: Int -> DescribeClustersResponse
- data DescribeClustersResponse
- dcrsNextToken :: Lens' DescribeClustersResponse (Maybe Text)
- dcrsClusters :: Lens' DescribeClustersResponse [Cluster]
- dcrsResponseStatus :: Lens' DescribeClustersResponse Int
Creating a Request
describeClusters :: DescribeClusters Source #
Creates a value of DescribeClusters with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcFilters- One or more filters to limit the items returned in the response. Use theclusterIdsfilter to return only the specified clusters. Specify clusters by their cluster identifier (ID). Use thevpcIdsfilter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID). Use thestatesfilter to return only clusters that match the specified state.dcNextToken- TheNextTokenvalue that you received in the previous response. Use this value to get more clusters.dcMaxResults- The maximum number of clusters to return in the response. When there are more clusters than the number you specify, the response contains aNextTokenvalue.
data DescribeClusters Source #
See: describeClusters smart constructor.
Instances
Request Lenses
dcFilters :: Lens' DescribeClusters (HashMap Text [Text]) Source #
One or more filters to limit the items returned in the response. Use the clusterIds filter to return only the specified clusters. Specify clusters by their cluster identifier (ID). Use the vpcIds filter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID). Use the states filter to return only clusters that match the specified state.
dcNextToken :: Lens' DescribeClusters (Maybe Text) Source #
The NextToken value that you received in the previous response. Use this value to get more clusters.
dcMaxResults :: Lens' DescribeClusters (Maybe Natural) Source #
The maximum number of clusters to return in the response. When there are more clusters than the number you specify, the response contains a NextToken value.
Destructuring the Response
describeClustersResponse Source #
Arguments
| :: Int | |
| -> DescribeClustersResponse |
Creates a value of DescribeClustersResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcrsNextToken- An opaque string that indicates that the response contains only a subset of clusters. Use this value in a subsequentDescribeClustersrequest to get more clusters.dcrsClusters- A list of clusters.dcrsResponseStatus- -- | The response status code.
data DescribeClustersResponse Source #
See: describeClustersResponse smart constructor.
Response Lenses
dcrsNextToken :: Lens' DescribeClustersResponse (Maybe Text) Source #
An opaque string that indicates that the response contains only a subset of clusters. Use this value in a subsequent DescribeClusters request to get more clusters.
dcrsClusters :: Lens' DescribeClustersResponse [Cluster] Source #
A list of clusters.
dcrsResponseStatus :: Lens' DescribeClustersResponse Int Source #
- - | The response status code.