The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::DynamoDB::Put

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::Put 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::Put object:

  $result = $service_obj->Method(...);
  $result->Att1->ConditionExpression

DESCRIPTION

Represents a request to perform a PutItem 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 Item => Paws::DynamoDB::PutItemInputAttributeMap

A map of attribute name to attribute values, representing the primary key of the item to be written by PutItem. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item that are part of an index key schema for the table, their types must match the index key schema.

ReturnValuesOnConditionCheckFailure => Str

Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Put condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.

REQUIRED TableName => Str

Name of the table in which to write the item.

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