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 |
Reboots a cluster. This action is taken as soon as possible. It results
in a momentary outage to the cluster, during which the cluster status is
set to rebooting
. A cluster event is created when the reboot is
completed. Any pending cluster modifications (see ModifyCluster) are
applied at this reboot. For more information about managing clusters, go
to
Amazon Redshift Clusters
in the Amazon Redshift Cluster Management Guide.
Synopsis
- data RebootCluster = RebootCluster' {}
- newRebootCluster :: Text -> RebootCluster
- rebootCluster_clusterIdentifier :: Lens' RebootCluster Text
- data RebootClusterResponse = RebootClusterResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newRebootClusterResponse :: Int -> RebootClusterResponse
- rebootClusterResponse_cluster :: Lens' RebootClusterResponse (Maybe Cluster)
- rebootClusterResponse_httpStatus :: Lens' RebootClusterResponse Int
Creating a Request
data RebootCluster Source #
See: newRebootCluster
smart constructor.
RebootCluster' | |
|
Instances
Create a value of RebootCluster
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:RebootCluster'
, rebootCluster_clusterIdentifier
- The cluster identifier.
Request Lenses
rebootCluster_clusterIdentifier :: Lens' RebootCluster Text Source #
The cluster identifier.
Destructuring the Response
data RebootClusterResponse Source #
See: newRebootClusterResponse
smart constructor.
RebootClusterResponse' | |
|
Instances
newRebootClusterResponse Source #
Create a value of RebootClusterResponse
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:RebootClusterResponse'
, rebootClusterResponse_cluster
- Undocumented member.
$sel:httpStatus:RebootClusterResponse'
, rebootClusterResponse_httpStatus
- The response's http status code.
Response Lenses
rebootClusterResponse_cluster :: Lens' RebootClusterResponse (Maybe Cluster) Source #
Undocumented member.
rebootClusterResponse_httpStatus :: Lens' RebootClusterResponse Int Source #
The response's http status code.