| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Redshift.PauseCluster
Description
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.
Constructors
| PauseCluster' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> PauseCluster |
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:
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.
Constructors
| PauseClusterResponse' | |
Fields
| |
Instances
newPauseClusterResponse Source #
Arguments
| :: Int | |
| -> PauseClusterResponse |
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.