aws_sdk_dsql/client/update_cluster.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateCluster`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identifier(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the cluster you want to update.</p><br>
7 /// - [`deletion_protection_enabled(bool)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::deletion_protection_enabled) / [`set_deletion_protection_enabled(Option<bool>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_deletion_protection_enabled):<br>required: **false**<br><p>Specifies whether to enable deletion protection in your cluster.</p><br>
8 /// - [`kms_encryption_key(impl Into<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::kms_encryption_key) / [`set_kms_encryption_key(Option<String>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_kms_encryption_key):<br>required: **false**<br><p>The KMS key that encrypts and protects the data on your cluster. You can specify the ARN, ID, or alias of an existing key or have Amazon Web Services create a default key for you.</p><br>
9 /// - [`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>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p><br>
10 /// - [`multi_region_properties(MultiRegionProperties)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::multi_region_properties) / [`set_multi_region_properties(Option<MultiRegionProperties>)`](crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::set_multi_region_properties):<br>required: **false**<br><p>The new multi-Region cluster configuration settings to be applied during an update operation.</p><br>
11 /// - On success, responds with [`UpdateClusterOutput`](crate::operation::update_cluster::UpdateClusterOutput) with field(s):
12 /// - [`identifier(String)`](crate::operation::update_cluster::UpdateClusterOutput::identifier): <p>The ID of the cluster to update.</p>
13 /// - [`arn(String)`](crate::operation::update_cluster::UpdateClusterOutput::arn): <p>The ARN of the updated cluster.</p>
14 /// - [`status(ClusterStatus)`](crate::operation::update_cluster::UpdateClusterOutput::status): <p>The status of the updated cluster.</p>
15 /// - [`creation_time(DateTime)`](crate::operation::update_cluster::UpdateClusterOutput::creation_time): <p>The time of when the cluster was created.</p>
16 /// - On failure, responds with [`SdkError<UpdateClusterError>`](crate::operation::update_cluster::UpdateClusterError)
17 pub fn update_cluster(&self) -> crate::operation::update_cluster::builders::UpdateClusterFluentBuilder {
18 crate::operation::update_cluster::builders::UpdateClusterFluentBuilder::new(self.handle.clone())
19 }
20}