blib/lib/Paws/DynamoDBStreams/Record.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::DynamoDBStreams::Record;
3 use Moose;
4 has AwsRegion => (is => 'ro', isa => 'Str', request_name => 'awsRegion', traits => ['NameInRequest']);
5 has Dynamodb => (is => 'ro', isa => 'Paws::DynamoDBStreams::StreamRecord', request_name => 'dynamodb', traits => ['NameInRequest']);
6 has EventID => (is => 'ro', isa => 'Str', request_name => 'eventID', traits => ['NameInRequest']);
7 has EventName => (is => 'ro', isa => 'Str', request_name => 'eventName', traits => ['NameInRequest']);
8 has EventSource => (is => 'ro', isa => 'Str', request_name => 'eventSource', traits => ['NameInRequest']);
9 has EventVersion => (is => 'ro', isa => 'Str', request_name => 'eventVersion', traits => ['NameInRequest']);
10 has UserIdentity => (is => 'ro', isa => 'Paws::DynamoDBStreams::Identity', request_name => 'userIdentity', traits => ['NameInRequest']);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::DynamoDBStreams::Record
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::DynamoDBStreams::Record object:
30  
31 $service_obj->Method(Att1 => { AwsRegion => $value, ..., UserIdentity => $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::DynamoDBStreams::Record object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->AwsRegion
39  
40 =head1 DESCRIPTION
41  
42 A description of a unique event within a stream.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 AwsRegion => Str
48  
49 The region in which the C<GetRecords> request was received.
50  
51  
52 =head2 Dynamodb => L<Paws::DynamoDBStreams::StreamRecord>
53  
54 The main body of the stream record, containing all of the
55 DynamoDB-specific fields.
56  
57  
58 =head2 EventID => Str
59  
60 A globally unique identifier for the event that was recorded in this
61 stream record.
62  
63  
64 =head2 EventName => Str
65  
66 The type of data modification that was performed on the DynamoDB table:
67  
68 =over
69  
70 =item *
71  
72 C<INSERT> - a new item was added to the table.
73  
74 =item *
75  
76 C<MODIFY> - one or more of an existing item's attributes were modified.
77  
78 =item *
79  
80 C<REMOVE> - the item was deleted from the table
81  
82 =back
83  
84  
85  
86 =head2 EventSource => Str
87  
88 The AWS service from which the stream record originated. For DynamoDB
89 Streams, this is C<aws:dynamodb>.
90  
91  
92 =head2 EventVersion => Str
93  
94 The version number of the stream record format. This number is updated
95 whenever the structure of C<Record> is modified.
96  
97 Client applications must not assume that C<eventVersion> will remain at
98 a particular value, as this number is subject to change at any time. In
99 general, C<eventVersion> will only increase as the low-level DynamoDB
100 Streams API evolves.
101  
102  
103 =head2 UserIdentity => L<Paws::DynamoDBStreams::Identity>
104  
105 Items that are deleted by the Time to Live process after expiration
106 have the following fields:
107  
108 =over
109  
110 =item *
111  
112 Records[].userIdentity.type
113  
114 "Service"
115  
116 =item *
117  
118 Records[].userIdentity.principalId
119  
120 "dynamodb.amazonaws.com"
121  
122 =back
123  
124  
125  
126  
127 =head1 SEE ALSO
128  
129 This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDBStreams>
130  
131 =head1 BUGS and CONTRIBUTIONS
132  
133 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
134  
135 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
136  
137 =cut
138