NAME
Paws::DynamoDB::ConditionCheck
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::DynamoDB::ConditionCheck object:
$service_obj->Method(Att1 => { ConditionExpression => $value, ..., TableName => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::ConditionCheck object:
$result = $service_obj->Method(...);
$result->Att1->ConditionExpression
DESCRIPTION
Represents a request to perform a check that an item exists or to check the condition of specific attributes of the item.
ATTRIBUTES
REQUIRED ConditionExpression => Str
A condition that must be satisfied in order for a conditional update to succeed.
ExpressionAttributeNames => Paws::DynamoDB::ExpressionAttributeNameMap
One or more substitution tokens for attribute names in an expression.
ExpressionAttributeValues => Paws::DynamoDB::ExpressionAttributeValueMap
One or more values that can be substituted in an expression.
REQUIRED Key => Paws::DynamoDB::Key
The primary key of the item to be checked. Each element consists of an attribute name and a value for that attribute.
ReturnValuesOnConditionCheckFailure => Str
Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the ConditionCheck
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid values are: NONE and ALL_OLD.
REQUIRED TableName => Str
Name of the table for the check item request.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::DynamoDB
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues