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 |
Modifies AWS CloudHSM cluster.
Synopsis
- data ModifyCluster = ModifyCluster' {}
- newModifyCluster :: BackupRetentionPolicy -> Text -> ModifyCluster
- modifyCluster_backupRetentionPolicy :: Lens' ModifyCluster BackupRetentionPolicy
- modifyCluster_clusterId :: Lens' ModifyCluster Text
- data ModifyClusterResponse = ModifyClusterResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newModifyClusterResponse :: Int -> ModifyClusterResponse
- modifyClusterResponse_cluster :: Lens' ModifyClusterResponse (Maybe Cluster)
- modifyClusterResponse_httpStatus :: Lens' ModifyClusterResponse Int
Creating a Request
data ModifyCluster Source #
See: newModifyCluster
smart constructor.
ModifyCluster' | |
|
Instances
Create a value of ModifyCluster
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:backupRetentionPolicy:ModifyCluster'
, modifyCluster_backupRetentionPolicy
- A policy that defines how the service retains backups.
$sel:clusterId:ModifyCluster'
, modifyCluster_clusterId
- The identifier (ID) of the cluster that you want to modify. To find the
cluster ID, use DescribeClusters.
Request Lenses
modifyCluster_backupRetentionPolicy :: Lens' ModifyCluster BackupRetentionPolicy Source #
A policy that defines how the service retains backups.
modifyCluster_clusterId :: Lens' ModifyCluster Text Source #
The identifier (ID) of the cluster that you want to modify. To find the cluster ID, use DescribeClusters.
Destructuring the Response
data ModifyClusterResponse Source #
See: newModifyClusterResponse
smart constructor.
ModifyClusterResponse' | |
|
Instances
newModifyClusterResponse Source #
Create a value of ModifyClusterResponse
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:ModifyClusterResponse'
, modifyClusterResponse_cluster
- Undocumented member.
$sel:httpStatus:ModifyClusterResponse'
, modifyClusterResponse_httpStatus
- The response's http status code.
Response Lenses
modifyClusterResponse_cluster :: Lens' ModifyClusterResponse (Maybe Cluster) Source #
Undocumented member.
modifyClusterResponse_httpStatus :: Lens' ModifyClusterResponse Int Source #
The response's http status code.