PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::DynamoDB::PutItem; use Moose; has ConditionalOperator => (is => 'ro', isa => 'Str'); has ConditionExpression => (is => 'ro', isa => 'Str'); has Expected => (is => 'ro', isa => 'Paws::DynamoDB::ExpectedAttributeMap'); has ExpressionAttributeNames => (is => 'ro', isa => 'Paws::DynamoDB::ExpressionAttributeNameMap'); has ExpressionAttributeValues => (is => 'ro', isa => 'Paws::DynamoDB::ExpressionAttributeValueMap'); has Item => (is => 'ro', isa => 'Paws::DynamoDB::PutItemInputAttributeMap', required => 1); has ReturnConsumedCapacity => (is => 'ro', isa => 'Str'); has ReturnItemCollectionMetrics => (is => 'ro', isa => 'Str'); has ReturnValues => (is => 'ro', isa => 'Str'); has TableName => (is => 'ro', isa => 'Str', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutItem'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DynamoDB::PutItemOutput'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::DynamoDB::PutItem - Arguments for method PutItem on L =head1 DESCRIPTION This class represents the parameters used for calling the method PutItem on the L service. Use the attributes of this class as arguments to method PutItem. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutItem. =head1 SYNOPSIS my $dynamodb = Paws->service('DynamoDB'); # To add an item to a table # This example adds a new item to the Music table. my $PutItemOutput = $dynamodb->PutItem( 'Item' => { 'AlbumTitle' => { 'S' => 'Somewhat Famous' }, 'Artist' => { 'S' => 'No One You Know' }, 'SongTitle' => { 'S' => 'Call Me Today' } }, 'ReturnConsumedCapacity' => 'TOTAL', 'TableName' => 'Music' ); # Results: my $ConsumedCapacity = $PutItemOutput->ConsumedCapacity; # Returns a L object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 ConditionalOperator => Str This is a legacy parameter. Use C instead. For more information, see ConditionalOperator (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) in the I. Valid values are: C<"AND">, C<"OR"> =head2 ConditionExpression => Str A condition that must be satisfied in order for a conditional C operation to succeed. An expression can contain any of the following: =over =item * Functions: C These function names are case-sensitive. =item * Comparison operators: C<= | EE | E | E | E= | E= | BETWEEN | IN> =item * Logical operators: C =back For more information on condition expressions, see Condition Expressions (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) in the I. =head2 Expected => L This is a legacy parameter. Use C instead. For more information, see Expected (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html) in the I. =head2 ExpressionAttributeNames => L One or more substitution tokens for attribute names in an expression. The following are some use cases for using C: =over =item * To access an attribute whose name conflicts with a DynamoDB reserved word. =item * To create a placeholder for repeating occurrences of an attribute name in an expression. =item * To prevent special characters in an attribute name from being misinterpreted in an expression. =back Use the B<#> character in an expression to dereference an attribute name. For example, consider the following attribute name: =over =item * C =back The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) in the I). To work around this, you could specify the following for C: =over =item * C<{"#P":"Percentile"}> =back You could then use this substitution in an expression, as in this example: =over =item * C<#P = :val> =back Tokens that begin with the B<:> character are I, which are placeholders for the actual value at runtime. For more information on expression attribute names, see Specifying Item Attributes (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) in the I. =head2 ExpressionAttributeValues => L One or more values that can be substituted in an expression. Use the B<:> (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the I attribute was one of the following: C You would first need to specify C as follows: C<{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }> You could then use these values in an expression, such as this: C For more information on expression attribute values, see Condition Expressions (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) in the I. =head2 B Item => L A map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item. You must provide all of the attributes for the primary key. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide both values for both the partition key and the sort key. If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition. Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index. For more information about primary keys, see Primary Key (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.html#HowItWorks.CoreComponents.PrimaryKey) in the I. Each element in the C map is an C object. =head2 ReturnConsumedCapacity => Str Valid values are: C<"INDEXES">, C<"TOTAL">, C<"NONE"> =head2 ReturnItemCollectionMetrics => Str Determines whether item collection metrics are returned. If set to C, the response includes statistics about item collections, if any, that were modified during the operation are returned in the response. If set to C (the default), no statistics are returned. Valid values are: C<"SIZE">, C<"NONE"> =head2 ReturnValues => Str Use C if you want to get the item attributes as they appeared before they were updated with the C request. For C, the valid values are: =over =item * C - If C is not specified, or if its value is C, then nothing is returned. (This setting is the default for C.) =item * C - If C overwrote an attribute name-value pair, then the content of the old item is returned. =back The C parameter is used by several DynamoDB operations; however, C does not recognize any values other than C or C. Valid values are: C<"NONE">, C<"ALL_OLD">, C<"UPDATED_OLD">, C<"ALL_NEW">, C<"UPDATED_NEW"> =head2 B TableName => Str The name of the table to contain the item. =head1 SEE ALSO This class forms part of L, documenting arguments for method PutItem in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut