| 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.ResumeCluster
Description
Resumes a paused cluster.
Synopsis
- data ResumeCluster = ResumeCluster' {}
- newResumeCluster :: Text -> ResumeCluster
- resumeCluster_clusterIdentifier :: Lens' ResumeCluster Text
- data ResumeClusterResponse = ResumeClusterResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newResumeClusterResponse :: Int -> ResumeClusterResponse
- resumeClusterResponse_cluster :: Lens' ResumeClusterResponse (Maybe Cluster)
- resumeClusterResponse_httpStatus :: Lens' ResumeClusterResponse Int
Creating a Request
data ResumeCluster Source #
Describes a resume cluster operation. For example, a scheduled action to
run the ResumeCluster API operation.
See: newResumeCluster smart constructor.
Constructors
| ResumeCluster' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ResumeCluster |
Create a value of ResumeCluster 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:
ResumeCluster, resumeCluster_clusterIdentifier - The identifier of the cluster to be resumed.
Request Lenses
resumeCluster_clusterIdentifier :: Lens' ResumeCluster Text Source #
The identifier of the cluster to be resumed.
Destructuring the Response
data ResumeClusterResponse Source #
See: newResumeClusterResponse smart constructor.
Constructors
| ResumeClusterResponse' | |
Fields
| |
Instances
newResumeClusterResponse Source #
Create a value of ResumeClusterResponse 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:ResumeClusterResponse', resumeClusterResponse_cluster - Undocumented member.
$sel:httpStatus:ResumeClusterResponse', resumeClusterResponse_httpStatus - The response's http status code.
Response Lenses
resumeClusterResponse_cluster :: Lens' ResumeClusterResponse (Maybe Cluster) Source #
Undocumented member.
resumeClusterResponse_httpStatus :: Lens' ResumeClusterResponse Int Source #
The response's http status code.