Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Delete = Delete' {}
- newDelete :: Text -> Delete
- delete_expressionAttributeNames :: Lens' Delete (Maybe (HashMap Text Text))
- delete_expressionAttributeValues :: Lens' Delete (Maybe (HashMap Text AttributeValue))
- delete_returnValuesOnConditionCheckFailure :: Lens' Delete (Maybe ReturnValuesOnConditionCheckFailure)
- delete_conditionExpression :: Lens' Delete (Maybe Text)
- 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.
Delete' | |
|
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: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:conditionExpression:Delete'
, delete_conditionExpression
- A condition that must be satisfied in order for a conditional delete to
succeed.
$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_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_conditionExpression :: Lens' Delete (Maybe Text) Source #
A condition that must be satisfied in order for a conditional delete to succeed.
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.