aws_sdk_keyspaces/client/update_keyspace.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 [`UpdateKeyspace`](crate::operation::update_keyspace::builders::UpdateKeyspaceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`keyspace_name(impl Into<String>)`](crate::operation::update_keyspace::builders::UpdateKeyspaceFluentBuilder::keyspace_name) / [`set_keyspace_name(Option<String>)`](crate::operation::update_keyspace::builders::UpdateKeyspaceFluentBuilder::set_keyspace_name):<br>required: **true**<br><p>The name of the keyspace.</p><br>
7 /// - [`replication_specification(ReplicationSpecification)`](crate::operation::update_keyspace::builders::UpdateKeyspaceFluentBuilder::replication_specification) / [`set_replication_specification(Option<ReplicationSpecification>)`](crate::operation::update_keyspace::builders::UpdateKeyspaceFluentBuilder::set_replication_specification):<br>required: **true**<br><p>The replication specification of the keyspace includes:</p> <ul> <li> <p><code>regionList</code> - the Amazon Web Services Regions where the keyspace is replicated in.</p></li> <li> <p><code>replicationStrategy</code> - the required value is <code>SINGLE_REGION</code> or <code>MULTI_REGION</code>.</p></li> </ul><br>
8 /// - [`client_side_timestamps(ClientSideTimestamps)`](crate::operation::update_keyspace::builders::UpdateKeyspaceFluentBuilder::client_side_timestamps) / [`set_client_side_timestamps(Option<ClientSideTimestamps>)`](crate::operation::update_keyspace::builders::UpdateKeyspaceFluentBuilder::set_client_side_timestamps):<br>required: **false**<br><p>The client-side timestamp setting of the table.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/client-side-timestamps-how-it-works.html">How it works: Amazon Keyspaces client-side timestamps</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p><br>
9 /// - On success, responds with [`UpdateKeyspaceOutput`](crate::operation::update_keyspace::UpdateKeyspaceOutput) with field(s):
10 /// - [`resource_arn(String)`](crate::operation::update_keyspace::UpdateKeyspaceOutput::resource_arn): <p>The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).</p>
11 /// - On failure, responds with [`SdkError<UpdateKeyspaceError>`](crate::operation::update_keyspace::UpdateKeyspaceError)
12 pub fn update_keyspace(&self) -> crate::operation::update_keyspace::builders::UpdateKeyspaceFluentBuilder {
13 crate::operation::update_keyspace::builders::UpdateKeyspaceFluentBuilder::new(self.handle.clone())
14 }
15}