pub struct DeleteTableFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteTable
.
The DeleteTable
operation deletes a table and all of its data. After a DeleteTable
request is received, the specified table is in the DELETING
state until Amazon Keyspaces completes the deletion. If the table is in the ACTIVE
state, you can delete it. If a table is either in the CREATING
or UPDATING
states, then Amazon Keyspaces returns a ResourceInUseException
. If the specified table does not exist, Amazon Keyspaces returns a ResourceNotFoundException
. If the table is already in the DELETING
state, no error is returned.
Implementations§
source§impl DeleteTableFluentBuilder
impl DeleteTableFluentBuilder
sourcepub fn as_input(&self) -> &DeleteTableInputBuilder
pub fn as_input(&self) -> &DeleteTableInputBuilder
Access the DeleteTable as a reference.
sourcepub async fn send(
self
) -> Result<DeleteTableOutput, SdkError<DeleteTableError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteTableOutput, SdkError<DeleteTableError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteTableOutput, DeleteTableError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteTableOutput, DeleteTableError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn keyspace_name(self, input: impl Into<String>) -> Self
pub fn keyspace_name(self, input: impl Into<String>) -> Self
The name of the keyspace of the to be deleted table.
sourcepub fn set_keyspace_name(self, input: Option<String>) -> Self
pub fn set_keyspace_name(self, input: Option<String>) -> Self
The name of the keyspace of the to be deleted table.
sourcepub fn get_keyspace_name(&self) -> &Option<String>
pub fn get_keyspace_name(&self) -> &Option<String>
The name of the keyspace of the to be deleted table.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table to be deleted.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table to be deleted.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table to be deleted.
Trait Implementations§
source§impl Clone for DeleteTableFluentBuilder
impl Clone for DeleteTableFluentBuilder
source§fn clone(&self) -> DeleteTableFluentBuilder
fn clone(&self) -> DeleteTableFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more