aws_sdk_s3tables/client/
delete_table.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 [`DeleteTable`](crate::operation::delete_table::builders::DeleteTableFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`table_bucket_arn(impl Into<String>)`](crate::operation::delete_table::builders::DeleteTableFluentBuilder::table_bucket_arn) / [`set_table_bucket_arn(Option<String>)`](crate::operation::delete_table::builders::DeleteTableFluentBuilder::set_table_bucket_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the table bucket that contains the table.</p><br>
7    ///   - [`namespace(impl Into<String>)`](crate::operation::delete_table::builders::DeleteTableFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::delete_table::builders::DeleteTableFluentBuilder::set_namespace):<br>required: **true**<br><p>The namespace associated with the table.</p><br>
8    ///   - [`name(impl Into<String>)`](crate::operation::delete_table::builders::DeleteTableFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_table::builders::DeleteTableFluentBuilder::set_name):<br>required: **true**<br><p>The name of the table.</p><br>
9    ///   - [`version_token(impl Into<String>)`](crate::operation::delete_table::builders::DeleteTableFluentBuilder::version_token) / [`set_version_token(Option<String>)`](crate::operation::delete_table::builders::DeleteTableFluentBuilder::set_version_token):<br>required: **false**<br><p>The version token of the table.</p><br>
10    /// - On success, responds with [`DeleteTableOutput`](crate::operation::delete_table::DeleteTableOutput)
11    /// - On failure, responds with [`SdkError<DeleteTableError>`](crate::operation::delete_table::DeleteTableError)
12    pub fn delete_table(&self) -> crate::operation::delete_table::builders::DeleteTableFluentBuilder {
13        crate::operation::delete_table::builders::DeleteTableFluentBuilder::new(self.handle.clone())
14    }
15}