File Coverage

blib/lib/Paws/DynamoDBStreams/StreamRecord.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::DynamoDBStreams::StreamRecord;
2 1     1   511 use Moose;
  1         3  
  1         9  
3             has ApproximateCreationDateTime => (is => 'ro', isa => 'Str');
4             has Keys => (is => 'ro', isa => 'Paws::DynamoDBStreams::AttributeMap');
5             has NewImage => (is => 'ro', isa => 'Paws::DynamoDBStreams::AttributeMap');
6             has OldImage => (is => 'ro', isa => 'Paws::DynamoDBStreams::AttributeMap');
7             has SequenceNumber => (is => 'ro', isa => 'Str');
8             has SizeBytes => (is => 'ro', isa => 'Int');
9             has StreamViewType => (is => 'ro', isa => 'Str');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::DynamoDBStreams::StreamRecord
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::DynamoDBStreams::StreamRecord object:
28              
29             $service_obj->Method(Att1 => { ApproximateCreationDateTime => $value, ..., StreamViewType => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDBStreams::StreamRecord object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->ApproximateCreationDateTime
37              
38             =head1 DESCRIPTION
39              
40             A description of a single data modification that was performed on an
41             item in a DynamoDB table.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 ApproximateCreationDateTime => Str
47              
48             The approximate date and time when the stream record was created, in
49             UNIX epoch time format.
50              
51              
52             =head2 Keys => L<Paws::DynamoDBStreams::AttributeMap>
53              
54             The primary key attribute(s) for the DynamoDB item that was modified.
55              
56              
57             =head2 NewImage => L<Paws::DynamoDBStreams::AttributeMap>
58              
59             The item in the DynamoDB table as it appeared after it was modified.
60              
61              
62             =head2 OldImage => L<Paws::DynamoDBStreams::AttributeMap>
63              
64             The item in the DynamoDB table as it appeared before it was modified.
65              
66              
67             =head2 SequenceNumber => Str
68              
69             The sequence number of the stream record.
70              
71              
72             =head2 SizeBytes => Int
73              
74             The size of the stream record, in bytes.
75              
76              
77             =head2 StreamViewType => Str
78              
79             The type of data from the modified DynamoDB item that was captured in
80             this stream record:
81              
82             =over
83              
84             =item *
85              
86             C<KEYS_ONLY> - only the key attributes of the modified item.
87              
88             =item *
89              
90             C<NEW_IMAGE> - the entire item, as it appeared after it was modified.
91              
92             =item *
93              
94             C<OLD_IMAGE> - the entire item, as it appeared before it was modified.
95              
96             =item *
97              
98             C<NEW_AND_OLD_IMAGES> - both the new and the old item images of the
99             item.
100              
101             =back
102              
103              
104              
105              
106             =head1 SEE ALSO
107              
108             This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDBStreams>
109              
110             =head1 BUGS and CONTRIBUTIONS
111              
112             The source code is located here: https://github.com/pplu/aws-sdk-perl
113              
114             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
115              
116             =cut
117