blib/lib/Paws/DynamoDB/WriteRequest.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/DynamoDB/TableDescription.pm ↑ Summary blib/lib/Paws/EC2/AccountAttribute.pm »
1 # Generated by default/object.tt
2 package Paws::DynamoDB::WriteRequest;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has DeleteRequest => (is => 'ro', isa => 'Paws::DynamoDB::DeleteRequest');
5 1 has PutRequest => (is => 'ro', isa => 'Paws::DynamoDB::PutRequest');
6  
7 1 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::DynamoDB::WriteRequest
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::DynamoDB::WriteRequest object:
25  
26 $service_obj->Method(Att1 => { DeleteRequest => $value, ..., PutRequest => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::WriteRequest object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->DeleteRequest
34  
35 =head1 DESCRIPTION
36  
37 Represents an operation to perform - either C<DeleteItem> or
38 C<PutItem>. You can only request one of these operations, not both, in
39 a single C<WriteRequest>. If you do need to perform both of these
40 operations, you need to provide two separate C<WriteRequest> objects.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 DeleteRequest => L<Paws::DynamoDB::DeleteRequest>
46  
47 A request to perform a C<DeleteItem> operation.
48  
49  
50 =head2 PutRequest => L<Paws::DynamoDB::PutRequest>
51  
52 A request to perform a C<PutItem> operation.
53  
54  
55  
56 =head1 SEE ALSO
57  
58 This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB>
59  
60 =head1 BUGS and CONTRIBUTIONS
61  
62 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
63  
64 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
65  
66 =cut
67  
« blib/lib/Paws/DynamoDB/TableDescription.pm ↑ Summary blib/lib/Paws/EC2/AccountAttribute.pm »