| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DynamoDBStreams::StreamRecord; | ||
| 3 | use Moose; | ||
| 4 | has ApproximateCreationDateTime => (is => 'ro', isa => 'Str'); | ||
| 5 | has Keys => (is => 'ro', isa => 'Paws::DynamoDBStreams::AttributeMap'); | ||
| 6 | has NewImage => (is => 'ro', isa => 'Paws::DynamoDBStreams::AttributeMap'); | ||
| 7 | has OldImage => (is => 'ro', isa => 'Paws::DynamoDBStreams::AttributeMap'); | ||
| 8 | has SequenceNumber => (is => 'ro', isa => 'Str'); | ||
| 9 | has SizeBytes => (is => 'ro', isa => 'Int'); | ||
| 10 | has StreamViewType => (is => 'ro', isa => 'Str'); | ||
| 11 | |||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::DynamoDBStreams::StreamRecord | ||
| 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::StreamRecord object: | ||
| 30 | |||
| 31 | $service_obj->Method(Att1 => { ApproximateCreationDateTime => $value, ..., StreamViewType => $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::StreamRecord object: | ||
| 36 | |||
| 37 | $result = $service_obj->Method(...); | ||
| 38 | $result->Att1->ApproximateCreationDateTime | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | A description of a single data modification that was performed on an | ||
| 43 | item in a DynamoDB table. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 ApproximateCreationDateTime => Str | ||
| 49 | |||
| 50 | The approximate date and time when the stream record was created, in | ||
| 51 | UNIX epoch time (http://www.epochconverter.com/) format. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 Keys => L<Paws::DynamoDBStreams::AttributeMap> | ||
| 55 | |||
| 56 | The primary key attribute(s) for the DynamoDB item that was modified. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 NewImage => L<Paws::DynamoDBStreams::AttributeMap> | ||
| 60 | |||
| 61 | The item in the DynamoDB table as it appeared after it was modified. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 OldImage => L<Paws::DynamoDBStreams::AttributeMap> | ||
| 65 | |||
| 66 | The item in the DynamoDB table as it appeared before it was modified. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 SequenceNumber => Str | ||
| 70 | |||
| 71 | The sequence number of the stream record. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 SizeBytes => Int | ||
| 75 | |||
| 76 | The size of the stream record, in bytes. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 StreamViewType => Str | ||
| 80 | |||
| 81 | The type of data from the modified DynamoDB item that was captured in | ||
| 82 | this stream record: | ||
| 83 | |||
| 84 | =over | ||
| 85 | |||
| 86 | =item * | ||
| 87 | |||
| 88 | C<KEYS_ONLY> - only the key attributes of the modified item. | ||
| 89 | |||
| 90 | =item * | ||
| 91 | |||
| 92 | C<NEW_IMAGE> - the entire item, as it appeared after it was modified. | ||
| 93 | |||
| 94 | =item * | ||
| 95 | |||
| 96 | C<OLD_IMAGE> - the entire item, as it appeared before it was modified. | ||
| 97 | |||
| 98 | =item * | ||
| 99 | |||
| 100 | C<NEW_AND_OLD_IMAGES> - both the new and the old item images of the | ||
| 101 | item. | ||
| 102 | |||
| 103 | =back | ||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | =head1 SEE ALSO | ||
| 109 | |||
| 110 | This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDBStreams> | ||
| 111 | |||
| 112 | =head1 BUGS and CONTRIBUTIONS | ||
| 113 | |||
| 114 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 115 | |||
| 116 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 117 | |||
| 118 | =cut | ||
| 119 |