Struct aws_sdk_honeycode::operation::batch_delete_table_rows::builders::BatchDeleteTableRowsFluentBuilder
source · pub struct BatchDeleteTableRowsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchDeleteTableRows
.
The BatchDeleteTableRows API allows you to delete one or more rows from a table in a workbook. You need to specify the ids of the rows that you want to delete from the table.
Implementations§
source§impl BatchDeleteTableRowsFluentBuilder
impl BatchDeleteTableRowsFluentBuilder
sourcepub fn as_input(&self) -> &BatchDeleteTableRowsInputBuilder
pub fn as_input(&self) -> &BatchDeleteTableRowsInputBuilder
Access the BatchDeleteTableRows as a reference.
sourcepub async fn send(
self
) -> Result<BatchDeleteTableRowsOutput, SdkError<BatchDeleteTableRowsError, HttpResponse>>
pub async fn send( self ) -> Result<BatchDeleteTableRowsOutput, SdkError<BatchDeleteTableRowsError, 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<BatchDeleteTableRowsOutput, BatchDeleteTableRowsError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchDeleteTableRowsOutput, BatchDeleteTableRowsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn workbook_id(self, input: impl Into<String>) -> Self
pub fn workbook_id(self, input: impl Into<String>) -> Self
The ID of the workbook where the rows are being deleted.
If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
sourcepub fn set_workbook_id(self, input: Option<String>) -> Self
pub fn set_workbook_id(self, input: Option<String>) -> Self
The ID of the workbook where the rows are being deleted.
If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
sourcepub fn get_workbook_id(&self) -> &Option<String>
pub fn get_workbook_id(&self) -> &Option<String>
The ID of the workbook where the rows are being deleted.
If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
sourcepub fn table_id(self, input: impl Into<String>) -> Self
pub fn table_id(self, input: impl Into<String>) -> Self
The ID of the table where the rows are being deleted.
If a table with the specified id could not be found, this API throws ResourceNotFoundException.
sourcepub fn set_table_id(self, input: Option<String>) -> Self
pub fn set_table_id(self, input: Option<String>) -> Self
The ID of the table where the rows are being deleted.
If a table with the specified id could not be found, this API throws ResourceNotFoundException.
sourcepub fn get_table_id(&self) -> &Option<String>
pub fn get_table_id(&self) -> &Option<String>
The ID of the table where the rows are being deleted.
If a table with the specified id could not be found, this API throws ResourceNotFoundException.
sourcepub fn row_ids(self, input: impl Into<String>) -> Self
pub fn row_ids(self, input: impl Into<String>) -> Self
Appends an item to rowIds
.
To override the contents of this collection use set_row_ids
.
The list of row ids to delete from the table. You need to specify at least one row id in this list.
Note that if one of the row ids provided in the request does not exist in the table, then the request fails and no rows are deleted from the table.
sourcepub fn set_row_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_row_ids(self, input: Option<Vec<String>>) -> Self
The list of row ids to delete from the table. You need to specify at least one row id in this list.
Note that if one of the row ids provided in the request does not exist in the table, then the request fails and no rows are deleted from the table.
sourcepub fn get_row_ids(&self) -> &Option<Vec<String>>
pub fn get_row_ids(&self) -> &Option<Vec<String>>
The list of row ids to delete from the table. You need to specify at least one row id in this list.
Note that if one of the row ids provided in the request does not exist in the table, then the request fails and no rows are deleted from the table.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
The request token for performing the delete action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the action again.
Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
The request token for performing the delete action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the action again.
Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
The request token for performing the delete action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the action again.
Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days.
Trait Implementations§
source§impl Clone for BatchDeleteTableRowsFluentBuilder
impl Clone for BatchDeleteTableRowsFluentBuilder
source§fn clone(&self) -> BatchDeleteTableRowsFluentBuilder
fn clone(&self) -> BatchDeleteTableRowsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more