#[non_exhaustive]pub struct BatchDeleteTableRowsInput {
pub workbook_id: Option<String>,
pub table_id: Option<String>,
pub row_ids: Option<Vec<String>>,
pub client_request_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.workbook_id: 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.
table_id: 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.
row_ids: 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.
client_request_token: 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.
Implementations§
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) -> &[String]
pub fn row_ids(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .row_ids.is_none()
.
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.
source§impl BatchDeleteTableRowsInput
impl BatchDeleteTableRowsInput
sourcepub fn builder() -> BatchDeleteTableRowsInputBuilder
pub fn builder() -> BatchDeleteTableRowsInputBuilder
Creates a new builder-style object to manufacture BatchDeleteTableRowsInput
.
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 moresource§impl Debug for BatchDeleteTableRowsInput
impl Debug for BatchDeleteTableRowsInput
source§impl PartialEq for BatchDeleteTableRowsInput
impl PartialEq for BatchDeleteTableRowsInput
source§fn eq(&self, other: &BatchDeleteTableRowsInput) -> bool
fn eq(&self, other: &BatchDeleteTableRowsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchDeleteTableRowsInput
Auto Trait Implementations§
impl Freeze for BatchDeleteTableRowsInput
impl RefUnwindSafe for BatchDeleteTableRowsInput
impl Send for BatchDeleteTableRowsInput
impl Sync for BatchDeleteTableRowsInput
impl Unpin for BatchDeleteTableRowsInput
impl UnwindSafe for BatchDeleteTableRowsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more