aws_sdk_dynamodb/client/
update_time_to_live.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 [`UpdateTimeToLive`](crate::operation::update_time_to_live::builders::UpdateTimeToLiveFluentBuilder) operation.
4                            ///
5                            /// - The fluent builder is configurable:
6    ///   - [`table_name(impl Into<String>)`](crate::operation::update_time_to_live::builders::UpdateTimeToLiveFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::update_time_to_live::builders::UpdateTimeToLiveFluentBuilder::set_table_name):<br>required: **true**<br><p>The name of the table to be configured. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p><br>
7    ///   - [`time_to_live_specification(TimeToLiveSpecification)`](crate::operation::update_time_to_live::builders::UpdateTimeToLiveFluentBuilder::time_to_live_specification) / [`set_time_to_live_specification(Option<TimeToLiveSpecification>)`](crate::operation::update_time_to_live::builders::UpdateTimeToLiveFluentBuilder::set_time_to_live_specification):<br>required: **true**<br><p>Represents the settings used to enable or disable Time to Live for the specified table.</p><br>
8                            /// - On success, responds with [`UpdateTimeToLiveOutput`](crate::operation::update_time_to_live::UpdateTimeToLiveOutput) with field(s):
9    ///   - [`time_to_live_specification(Option<TimeToLiveSpecification>)`](crate::operation::update_time_to_live::UpdateTimeToLiveOutput::time_to_live_specification): <p>Represents the output of an <code>UpdateTimeToLive</code> operation.</p>
10                            /// - On failure, responds with [`SdkError<UpdateTimeToLiveError>`](crate::operation::update_time_to_live::UpdateTimeToLiveError)
11    pub fn update_time_to_live(&self) -> crate::operation::update_time_to_live::builders::UpdateTimeToLiveFluentBuilder {
12                                crate::operation::update_time_to_live::builders::UpdateTimeToLiveFluentBuilder::new(self.handle.clone())
13                            }
14}
15