#[non_exhaustive]pub struct BatchDeleteTableRowsInput { /* private fields */ }Implementations§
source§impl BatchDeleteTableRowsInput
impl BatchDeleteTableRowsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchDeleteTableRows, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchDeleteTableRows, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<BatchDeleteTableRows>
Examples found in repository?
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::BatchDeleteTableRows,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::BatchDeleteTableRowsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::BatchDeleteTableRowsOutput,
aws_smithy_http::result::SdkError<crate::error::BatchDeleteTableRowsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BatchDeleteTableRowsInput.
source§impl BatchDeleteTableRowsInput
impl BatchDeleteTableRowsInput
sourcepub fn workbook_id(&self) -> Option<&str>
pub fn workbook_id(&self) -> Option<&str>
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) -> Option<&str>
pub fn table_id(&self) -> Option<&str>
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) -> Option<&[String]>
pub fn row_ids(&self) -> Option<&[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) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
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 BatchDeleteTableRowsInput
impl Clone for BatchDeleteTableRowsInput
source§fn clone(&self) -> BatchDeleteTableRowsInput
fn clone(&self) -> BatchDeleteTableRowsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more