| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DynamoDB.Types.Delete
Description
Synopsis
- data Delete = Delete' {}
- newDelete :: Text -> Delete
- delete_conditionExpression :: Lens' Delete (Maybe Text)
- delete_expressionAttributeNames :: Lens' Delete (Maybe (HashMap Text Text))
- delete_expressionAttributeValues :: Lens' Delete (Maybe (HashMap Text AttributeValue))
- delete_returnValuesOnConditionCheckFailure :: Lens' Delete (Maybe ReturnValuesOnConditionCheckFailure)
- delete_key :: Lens' Delete (HashMap Text AttributeValue)
- delete_tableName :: Lens' Delete Text
Documentation
Represents a request to perform a DeleteItem operation.
See: newDelete smart constructor.
Constructors
| Delete' | |
Fields
| |
Instances
Create a value of Delete with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:conditionExpression:Delete', delete_conditionExpression - A condition that must be satisfied in order for a conditional delete to
succeed.
$sel:expressionAttributeNames:Delete', delete_expressionAttributeNames - One or more substitution tokens for attribute names in an expression.
$sel:expressionAttributeValues:Delete', delete_expressionAttributeValues - One or more values that can be substituted in an expression.
$sel:returnValuesOnConditionCheckFailure:Delete', delete_returnValuesOnConditionCheckFailure - Use ReturnValuesOnConditionCheckFailure to get the item attributes if
the Delete condition fails. For ReturnValuesOnConditionCheckFailure,
the valid values are: NONE and ALL_OLD.
$sel:key:Delete', delete_key - The primary key of the item to be deleted. Each element consists of an
attribute name and a value for that attribute.
$sel:tableName:Delete', delete_tableName - Name of the table in which the item to be deleted resides.
delete_conditionExpression :: Lens' Delete (Maybe Text) Source #
A condition that must be satisfied in order for a conditional delete to succeed.
delete_expressionAttributeNames :: Lens' Delete (Maybe (HashMap Text Text)) Source #
One or more substitution tokens for attribute names in an expression.
delete_expressionAttributeValues :: Lens' Delete (Maybe (HashMap Text AttributeValue)) Source #
One or more values that can be substituted in an expression.
delete_returnValuesOnConditionCheckFailure :: Lens' Delete (Maybe ReturnValuesOnConditionCheckFailure) Source #
Use ReturnValuesOnConditionCheckFailure to get the item attributes if
the Delete condition fails. For ReturnValuesOnConditionCheckFailure,
the valid values are: NONE and ALL_OLD.
delete_key :: Lens' Delete (HashMap Text AttributeValue) Source #
The primary key of the item to be deleted. Each element consists of an attribute name and a value for that attribute.