File Coverage

blib/lib/Paws/DynamoDB/PutRequest.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::DynamoDB::PutRequest;
2 1     1   1183 use Moose;
  1         3  
  1         6  
3             has Item => (is => 'ro', isa => 'Paws::DynamoDB::PutItemInputAttributeMap', required => 1);
4             1;
5              
6             ### main pod documentation begin ###
7              
8             =head1 NAME
9              
10             Paws::DynamoDB::PutRequest
11              
12             =head1 USAGE
13              
14             This class represents one of two things:
15              
16             =head3 Arguments in a call to a service
17              
18             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
19             Each attribute should be used as a named argument in the calls that expect this type of object.
20              
21             As an example, if Att1 is expected to be a Paws::DynamoDB::PutRequest object:
22              
23             $service_obj->Method(Att1 => { Item => $value, ..., Item => $value });
24              
25             =head3 Results returned from an API call
26              
27             Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::PutRequest object:
28              
29             $result = $service_obj->Method(...);
30             $result->Att1->Item
31              
32             =head1 DESCRIPTION
33              
34             Represents a request to perform a C<PutItem> operation on an item.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 B<REQUIRED> Item => L<Paws::DynamoDB::PutItemInputAttributeMap>
40              
41             A map of attribute name to attribute values, representing the primary
42             key of an item to be processed by C<PutItem>. All of the table's
43             primary key attributes must be specified, and their data types must
44             match those of the table's key schema. If any attributes are present in
45             the item which are part of an index key schema for the table, their
46             types must match the index key schema.
47              
48              
49              
50             =head1 SEE ALSO
51              
52             This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB>
53              
54             =head1 BUGS and CONTRIBUTIONS
55              
56             The source code is located here: https://github.com/pplu/aws-sdk-perl
57              
58             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
59              
60             =cut
61