aws-sdk-docdbelastic 1.2.0

AWS SDK for Amazon DocumentDB Elastic Clusters
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateCluster`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_arn(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_cluster_arn):<br>required: **true**<br><p>The arn of the Elastic DocumentDB cluster.</p><br>
    ///   - [`auth_type(Auth)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::auth_type) / [`set_auth_type(Option<Auth>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_auth_type):<br>required: **false**<br><p>The authentication type for the Elastic DocumentDB cluster.</p><br>
    ///   - [`shard_capacity(i32)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::shard_capacity) / [`set_shard_capacity(Option<i32>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_shard_capacity):<br>required: **false**<br><p>The capacity of each shard in the Elastic DocumentDB cluster.</p><br>
    ///   - [`shard_count(i32)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::shard_count) / [`set_shard_count(Option<i32>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_shard_count):<br>required: **false**<br><p>The number of shards to create in the Elastic DocumentDB cluster.</p><br>
    ///   - [`vpc_security_group_ids(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::vpc_security_group_ids) / [`set_vpc_security_group_ids(Option<Vec::<String>>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_vpc_security_group_ids):<br>required: **false**<br><p>A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.</p><br>
    ///   - [`subnet_ids(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::subnet_ids) / [`set_subnet_ids(Option<Vec::<String>>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_subnet_ids):<br>required: **false**<br><p>The number of shards to create in the Elastic DocumentDB cluster.</p><br>
    ///   - [`admin_user_password(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::admin_user_password) / [`set_admin_user_password(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_admin_user_password):<br>required: **false**<br><p>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 (@).</p>  <p> <i>Constraints</i>: Must contain from 8 to 100 characters.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_client_token):<br>required: **false**<br><p>The client token for the Elastic DocumentDB cluster.</p><br>
    ///   - [`preferred_maintenance_window(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::preferred_maintenance_window) / [`set_preferred_maintenance_window(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_preferred_maintenance_window):<br>required: **false**<br><p>The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).</p>  <p> <i>Format</i>: <code>ddd:hh24:mi-ddd:hh24:mi</code> </p>  <p> <i>Default</i>: 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.</p>  <p> <i>Valid days</i>: Mon, Tue, Wed, Thu, Fri, Sat, Sun</p>  <p> <i>Constraints</i>: Minimum 30-minute window.</p><br>
    /// - On success, responds with [`UpdateClusterOutput`](crate::operation::update_cluster::UpdateClusterOutput) with field(s):
    ///   - [`cluster(Option<Cluster>)`](crate::operation::update_cluster::UpdateClusterOutput::cluster): <p>Returns information about the updated Elastic DocumentDB cluster.</p>
    /// - On failure, responds with [`SdkError<UpdateClusterError>`](crate::operation::update_cluster::UpdateClusterError)
    pub fn update_cluster(&self) -> crate::operation::update_cluster::builders::UpdateClusterFluentBuilder {
        crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::new(self.handle.clone())
    }
}