NAME
Paws::DynamoDB::Update
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::Update object:
$service_obj->Method(Att1 => { ConditionExpression => $value, ..., UpdateExpression => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::Update object:
$result = $service_obj->Method(...);
$result->Att1->ConditionExpression
DESCRIPTION
Represents a request to perform an UpdateItem
operation.
ATTRIBUTES
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 updated. Each element consists of an attribute name and a value for that attribute.
ReturnValuesOnConditionCheckFailure => Str
Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the Update
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid values are: NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW.
REQUIRED TableName => Str
Name of the table for the UpdateItem
request.
REQUIRED UpdateExpression => Str
An expression that defines one or more attributes to be updated, the action to be performed on them, and new value(s) for them.
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