blib/lib/Paws/CloudWatchEvents/KinesisParameters.pm untested

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 5 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudWatchEvents::KinesisParameters;
3 use Moose;
4 has PartitionKeyPath => (is => 'ro', isa => 'Str', required => 1);
5  
6 1;
7  
8 ### main pod documentation begin ###
9  
10 =head1 NAME
11  
12 Paws::CloudWatchEvents::KinesisParameters
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::CloudWatchEvents::KinesisParameters object:
24  
25 $service_obj->Method(Att1 => { PartitionKeyPath => $value, ..., PartitionKeyPath => $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::CloudWatchEvents::KinesisParameters object:
30  
31 $result = $service_obj->Method(...);
32 $result->Att1->PartitionKeyPath
33  
34 =head1 DESCRIPTION
35  
36 This object enables you to specify a JSON path to extract from the
37 event and use as the partition key for the Amazon Kinesis data stream,
38 so that you can control the shard to which the event goes. If you do
39 not include this parameter, the default is to use the C<eventId> as the
40 partition key.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 B<REQUIRED> PartitionKeyPath => Str
46  
47 The JSON path to be extracted from the event and used as the partition
48 key. For more information, see Amazon Kinesis Streams Key Concepts
49 (https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key)
50 in the I<Amazon Kinesis Streams Developer Guide>.
51  
52  
53  
54 =head1 SEE ALSO
55  
56 This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchEvents>
57  
58 =head1 BUGS and CONTRIBUTIONS
59  
60 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
61  
62 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
63  
64 =cut
65