| 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.DocDbElastic.UpdateCluster
Description
Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version setting up a backup window and maintenance window
Synopsis
- data UpdateCluster = UpdateCluster' {}
- newUpdateCluster :: Text -> UpdateCluster
- updateCluster_adminUserPassword :: Lens' UpdateCluster (Maybe Text)
- updateCluster_authType :: Lens' UpdateCluster (Maybe Auth)
- updateCluster_clientToken :: Lens' UpdateCluster (Maybe Text)
- updateCluster_preferredMaintenanceWindow :: Lens' UpdateCluster (Maybe Text)
- updateCluster_shardCapacity :: Lens' UpdateCluster (Maybe Int)
- updateCluster_shardCount :: Lens' UpdateCluster (Maybe Int)
- updateCluster_subnetIds :: Lens' UpdateCluster (Maybe [Text])
- updateCluster_vpcSecurityGroupIds :: Lens' UpdateCluster (Maybe [Text])
- updateCluster_clusterArn :: Lens' UpdateCluster Text
- data UpdateClusterResponse = UpdateClusterResponse' {
- httpStatus :: Int
- cluster :: Cluster
- newUpdateClusterResponse :: Int -> Cluster -> UpdateClusterResponse
- updateClusterResponse_httpStatus :: Lens' UpdateClusterResponse Int
- updateClusterResponse_cluster :: Lens' UpdateClusterResponse Cluster
Creating a Request
data UpdateCluster Source #
See: newUpdateCluster smart constructor.
Constructors
| UpdateCluster' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateCluster |
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:adminUserPassword:UpdateCluster', updateCluster_adminUserPassword - The password for the Elastic DocumentDB cluster administrator. This
password can contain any printable ASCII character except forward slash
(/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
UpdateCluster, updateCluster_authType - The authentication type for the Elastic DocumentDB cluster.
$sel:clientToken:UpdateCluster', updateCluster_clientToken - The client token for the Elastic DocumentDB cluster.
UpdateCluster, updateCluster_preferredMaintenanceWindow - The weekly time range during which system maintenance can occur, in
Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
UpdateCluster, updateCluster_shardCapacity - The capacity of each shard in the Elastic DocumentDB cluster.
UpdateCluster, updateCluster_shardCount - The number of shards to create in the Elastic DocumentDB cluster.
UpdateCluster, updateCluster_subnetIds - The number of shards to create in the Elastic DocumentDB cluster.
UpdateCluster, updateCluster_vpcSecurityGroupIds - A list of EC2 VPC security groups to associate with the new Elastic
DocumentDB cluster.
UpdateCluster, updateCluster_clusterArn - The arn of the Elastic DocumentDB cluster.
Request Lenses
updateCluster_adminUserPassword :: Lens' UpdateCluster (Maybe Text) Source #
The password for the Elastic DocumentDB cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
updateCluster_authType :: Lens' UpdateCluster (Maybe Auth) Source #
The authentication type for the Elastic DocumentDB cluster.
updateCluster_clientToken :: Lens' UpdateCluster (Maybe Text) Source #
The client token for the Elastic DocumentDB cluster.
updateCluster_preferredMaintenanceWindow :: Lens' UpdateCluster (Maybe Text) Source #
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
updateCluster_shardCapacity :: Lens' UpdateCluster (Maybe Int) Source #
The capacity of each shard in the Elastic DocumentDB cluster.
updateCluster_shardCount :: Lens' UpdateCluster (Maybe Int) Source #
The number of shards to create in the Elastic DocumentDB cluster.
updateCluster_subnetIds :: Lens' UpdateCluster (Maybe [Text]) Source #
The number of shards to create in the Elastic DocumentDB cluster.
updateCluster_vpcSecurityGroupIds :: Lens' UpdateCluster (Maybe [Text]) Source #
A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
updateCluster_clusterArn :: Lens' UpdateCluster Text Source #
The arn of the Elastic DocumentDB cluster.
Destructuring the Response
data UpdateClusterResponse Source #
See: newUpdateClusterResponse smart constructor.
Constructors
| UpdateClusterResponse' | |
Fields
| |
Instances
newUpdateClusterResponse Source #
Arguments
| :: Int | |
| -> Cluster | |
| -> UpdateClusterResponse |
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:httpStatus:UpdateClusterResponse', updateClusterResponse_httpStatus - The response's http status code.
$sel:cluster:UpdateClusterResponse', updateClusterResponse_cluster - Returns information about the updated Elastic DocumentDB cluster.
Response Lenses
updateClusterResponse_httpStatus :: Lens' UpdateClusterResponse Int Source #
The response's http status code.
updateClusterResponse_cluster :: Lens' UpdateClusterResponse Cluster Source #
Returns information about the updated Elastic DocumentDB cluster.