line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::Kinesis::PutRecordsRequestEntry; |
2
|
1
|
|
|
1
|
|
332
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
3
|
|
|
|
|
|
|
has Data => (is => 'ro', isa => 'Str', required => 1); |
4
|
|
|
|
|
|
|
has ExplicitHashKey => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has PartitionKey => (is => 'ro', isa => 'Str', required => 1); |
6
|
|
|
|
|
|
|
1; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
### main pod documentation begin ### |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Paws::Kinesis::PutRecordsRequestEntry |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 USAGE |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
This class represents one of two things: |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
21
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::Kinesis::PutRecordsRequestEntry object: |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { Data => $value, ..., PartitionKey => $value }); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head3 Results returned from an API call |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::Kinesis::PutRecordsRequestEntry object: |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
32
|
|
|
|
|
|
|
$result->Att1->Data |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Represents the output for C<PutRecords>. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 B<REQUIRED> Data => Str |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
The data blob to put into the record, which is base64-encoded when the |
44
|
|
|
|
|
|
|
blob is serialized. When the data blob (the payload before |
45
|
|
|
|
|
|
|
base64-encoding) is added to the partition key size, the total size |
46
|
|
|
|
|
|
|
must not exceed the maximum record size (1 MB). |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 ExplicitHashKey => Str |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
The hash value used to determine explicitly the shard that the data |
52
|
|
|
|
|
|
|
record is assigned to by overriding the partition key hash. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 B<REQUIRED> PartitionKey => Str |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Determines which shard in the stream the data record is assigned to. |
58
|
|
|
|
|
|
|
Partition keys are Unicode strings with a maximum length limit of 256 |
59
|
|
|
|
|
|
|
characters for each key. Amazon Kinesis uses the partition key as input |
60
|
|
|
|
|
|
|
to a hash function that maps the partition key and associated data to a |
61
|
|
|
|
|
|
|
specific shard. Specifically, an MD5 hash function is used to map |
62
|
|
|
|
|
|
|
partition keys to 128-bit integer values and to map associated data |
63
|
|
|
|
|
|
|
records to shards. As a result of this hashing mechanism, all data |
64
|
|
|
|
|
|
|
records with the same partition key map to the same shard within the |
65
|
|
|
|
|
|
|
stream. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 SEE ALSO |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::Kinesis> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=cut |
80
|
|
|
|
|
|
|
|