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 |
Pauses a cluster.
Synopsis
- data PauseCluster = PauseCluster' {}
- newPauseCluster :: Text -> PauseCluster
- pauseCluster_clusterIdentifier :: Lens' PauseCluster Text
- data PauseClusterResponse = PauseClusterResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newPauseClusterResponse :: Int -> PauseClusterResponse
- pauseClusterResponse_cluster :: Lens' PauseClusterResponse (Maybe Cluster)
- pauseClusterResponse_httpStatus :: Lens' PauseClusterResponse Int
Creating a Request
data PauseCluster Source #
Describes a pause cluster operation. For example, a scheduled action to
run the PauseCluster
API operation.
See: newPauseCluster
smart constructor.
PauseCluster' | |
|
Instances
Create a value of PauseCluster
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:clusterIdentifier:PauseCluster'
, pauseCluster_clusterIdentifier
- The identifier of the cluster to be paused.
Request Lenses
pauseCluster_clusterIdentifier :: Lens' PauseCluster Text Source #
The identifier of the cluster to be paused.
Destructuring the Response
data PauseClusterResponse Source #
See: newPauseClusterResponse
smart constructor.
PauseClusterResponse' | |
|
Instances
newPauseClusterResponse Source #
Create a value of PauseClusterResponse
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:cluster:PauseClusterResponse'
, pauseClusterResponse_cluster
- Undocumented member.
$sel:httpStatus:PauseClusterResponse'
, pauseClusterResponse_httpStatus
- The response's http status code.
Response Lenses
pauseClusterResponse_cluster :: Lens' PauseClusterResponse (Maybe Cluster) Source #
Undocumented member.
pauseClusterResponse_httpStatus :: Lens' PauseClusterResponse Int Source #
The response's http status code.