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

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