1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateTimeToLive`](crate::operation::update_time_to_live::builders::UpdateTimeToLiveFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdateTimeToLiveOutput`](crate::operation::update_time_to_live::UpdateTimeToLiveOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<UpdateTimeToLiveError>`](crate::operation::update_time_to_live::UpdateTimeToLiveError)
    pub fn update_time_to_live(&self) -> crate::operation::update_time_to_live::builders::UpdateTimeToLiveFluentBuilder {
        crate::operation::update_time_to_live::builders::UpdateTimeToLiveFluentBuilder::new(self.handle.clone())
    }
}