blib/lib/Paws/DynamoDB/Put.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::DynamoDB::Put;
3 use Moose;
4 has ConditionExpression => (is => 'ro', isa => 'Str');
5 has ExpressionAttributeNames => (is => 'ro', isa => 'Paws::DynamoDB::ExpressionAttributeNameMap');
6 has ExpressionAttributeValues => (is => 'ro', isa => 'Paws::DynamoDB::ExpressionAttributeValueMap');
7 has Item => (is => 'ro', isa => 'Paws::DynamoDB::PutItemInputAttributeMap', required => 1);
8 has ReturnValuesOnConditionCheckFailure => (is => 'ro', isa => 'Str');
9 has TableName => (is => 'ro', isa => 'Str', required => 1);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::DynamoDB::Put
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::DynamoDB::Put object:
29  
30 $service_obj->Method(Att1 => { ConditionExpression => $value, ..., TableName => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::Put object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->ConditionExpression
38  
39 =head1 DESCRIPTION
40  
41 Represents a request to perform a C<PutItem> operation.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 ConditionExpression => Str
47  
48 A condition that must be satisfied in order for a conditional update to
49 succeed.
50  
51  
52 =head2 ExpressionAttributeNames => L<Paws::DynamoDB::ExpressionAttributeNameMap>
53  
54 One or more substitution tokens for attribute names in an expression.
55  
56  
57 =head2 ExpressionAttributeValues => L<Paws::DynamoDB::ExpressionAttributeValueMap>
58  
59 One or more values that can be substituted in an expression.
60  
61  
62 =head2 B<REQUIRED> Item => L<Paws::DynamoDB::PutItemInputAttributeMap>
63  
64 A map of attribute name to attribute values, representing the primary
65 key of the item to be written by C<PutItem>. All of the table's primary
66 key attributes must be specified, and their data types must match those
67 of the table's key schema. If any attributes are present in the item
68 that are part of an index key schema for the table, their types must
69 match the index key schema.
70  
71  
72 =head2 ReturnValuesOnConditionCheckFailure => Str
73  
74 Use C<ReturnValuesOnConditionCheckFailure> to get the item attributes
75 if the C<Put> condition fails. For
76 C<ReturnValuesOnConditionCheckFailure>, the valid values are: NONE and
77 ALL_OLD.
78  
79  
80 =head2 B<REQUIRED> TableName => Str
81  
82 Name of the table in which to write the item.
83  
84  
85  
86 =head1 SEE ALSO
87  
88 This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB>
89  
90 =head1 BUGS and CONTRIBUTIONS
91  
92 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
93  
94 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
95  
96 =cut
97