pub struct DeleteItemInput {
pub table_name: String,
pub key: HashMap<String, AttributeValue>,
pub condition_expression: Option<String>,
pub expression_attribute_names: HashMap<String, String>,
pub expression_attribute_values: HashMap<String, AttributeValue>,
pub return_values: Option<ReturnValue>,
pub return_consumed_capacity: Option<ReturnConsumedCapacity>,
pub return_item_collection_metrics: Option<ReturnItemCollectionMetrics>,
pub expected: HashMap<String, ExpectedAttributeValue>,
pub conditional_operator: Option<ConditionalOperator>,
pub return_values_on_condition_check_failure: Option<String>,
}Expand description
Input for the DeleteItem operation.
Fields§
§table_name: StringThe name of the table from which to delete the item.
key: HashMap<String, AttributeValue>A map of attribute names to AttributeValue objects representing the
primary key of the item to delete.
condition_expression: Option<String>A condition that must be satisfied for the deletion to succeed.
expression_attribute_names: HashMap<String, String>Substitution tokens for attribute names in an expression.
expression_attribute_values: HashMap<String, AttributeValue>Substitution tokens for attribute values in an expression.
return_values: Option<ReturnValue>Determines the attributes to return after the operation.
return_consumed_capacity: Option<ReturnConsumedCapacity>Determines the level of detail about provisioned throughput consumption.
return_item_collection_metrics: Option<ReturnItemCollectionMetrics>Determines whether item collection metrics are returned.
expected: HashMap<String, ExpectedAttributeValue>Legacy: expected conditions for conditional writes.
conditional_operator: Option<ConditionalOperator>Legacy: logical operator for combining multiple expected conditions.
return_values_on_condition_check_failure: Option<String>Determines whether to return the item attributes on a failed condition check.
Valid values: NONE, ALL_OLD.
Trait Implementations§
Source§impl Clone for DeleteItemInput
impl Clone for DeleteItemInput
Source§fn clone(&self) -> DeleteItemInput
fn clone(&self) -> DeleteItemInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more