blib/lib/Paws/XRay/SamplingStatisticsDocument.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::XRay::SamplingStatisticsDocument;
3 use Moose;
4 has BorrowCount => (is => 'ro', isa => 'Int');
5 has ClientID => (is => 'ro', isa => 'Str', required => 1);
6 has RequestCount => (is => 'ro', isa => 'Int', required => 1);
7 has RuleName => (is => 'ro', isa => 'Str', required => 1);
8 has SampledCount => (is => 'ro', isa => 'Int', required => 1);
9 has Timestamp => (is => 'ro', isa => 'Str', required => 1);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::XRay::SamplingStatisticsDocument
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::XRay::SamplingStatisticsDocument object:
29  
30 $service_obj->Method(Att1 => { BorrowCount => $value, ..., Timestamp => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::XRay::SamplingStatisticsDocument object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->BorrowCount
38  
39 =head1 DESCRIPTION
40  
41 Request sampling results for a single rule from a service. Results are
42 for the last 10 seconds unless the service has been assigned a longer
43 reporting interval after a previous call to GetSamplingTargets.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 BorrowCount => Int
49  
50 The number of requests recorded with borrowed reservoir quota.
51  
52  
53 =head2 B<REQUIRED> ClientID => Str
54  
55 A unique identifier for the service in hexadecimal.
56  
57  
58 =head2 B<REQUIRED> RequestCount => Int
59  
60 The number of requests that matched the rule.
61  
62  
63 =head2 B<REQUIRED> RuleName => Str
64  
65 The name of the sampling rule.
66  
67  
68 =head2 B<REQUIRED> SampledCount => Int
69  
70 The number of requests recorded.
71  
72  
73 =head2 B<REQUIRED> Timestamp => Str
74  
75 The current time.
76  
77  
78  
79 =head1 SEE ALSO
80  
81 This class forms part of L<Paws>, describing an object used in L<Paws::XRay>
82  
83 =head1 BUGS and CONTRIBUTIONS
84  
85 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
86  
87 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
88  
89 =cut
90