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 |
Updates the cluster.
Synopsis
- data UpdateCluster = UpdateCluster' {}
- newUpdateCluster :: Text -> UpdateCluster
- updateCluster_settings :: Lens' UpdateCluster (Maybe [ClusterSetting])
- updateCluster_configuration :: Lens' UpdateCluster (Maybe ClusterConfiguration)
- updateCluster_cluster :: Lens' UpdateCluster Text
- data UpdateClusterResponse = UpdateClusterResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newUpdateClusterResponse :: Int -> UpdateClusterResponse
- updateClusterResponse_cluster :: Lens' UpdateClusterResponse (Maybe Cluster)
- updateClusterResponse_httpStatus :: Lens' UpdateClusterResponse Int
Creating a Request
data UpdateCluster Source #
See: newUpdateCluster
smart constructor.
UpdateCluster' | |
|
Instances
Create a value of UpdateCluster
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:settings:UpdateCluster'
, updateCluster_settings
- The cluster settings for your cluster.
$sel:configuration:UpdateCluster'
, updateCluster_configuration
- The execute command configuration for the cluster.
$sel:cluster:UpdateCluster'
, updateCluster_cluster
- The name of the cluster to modify the settings for.
Request Lenses
updateCluster_settings :: Lens' UpdateCluster (Maybe [ClusterSetting]) Source #
The cluster settings for your cluster.
updateCluster_configuration :: Lens' UpdateCluster (Maybe ClusterConfiguration) Source #
The execute command configuration for the cluster.
updateCluster_cluster :: Lens' UpdateCluster Text Source #
The name of the cluster to modify the settings for.
Destructuring the Response
data UpdateClusterResponse Source #
See: newUpdateClusterResponse
smart constructor.
UpdateClusterResponse' | |
|
Instances
newUpdateClusterResponse Source #
Create a value of UpdateClusterResponse
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:UpdateCluster'
, updateClusterResponse_cluster
- Details about the cluster.
$sel:httpStatus:UpdateClusterResponse'
, updateClusterResponse_httpStatus
- The response's http status code.
Response Lenses
updateClusterResponse_cluster :: Lens' UpdateClusterResponse (Maybe Cluster) Source #
Details about the cluster.
updateClusterResponse_httpStatus :: Lens' UpdateClusterResponse Int Source #
The response's http status code.