File Coverage

blib/lib/Paws/Health/DescribeEventAggregates.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Health::DescribeEventAggregates;
3 1     1   568 use Moose;
  1         2  
  1         9  
4             has AggregateField => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'aggregateField' , required => 1);
5             has Filter => (is => 'ro', isa => 'Paws::Health::EventFilter', traits => ['NameInRequest'], request_name => 'filter' );
6             has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
7             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
8              
9 1     1   7091 use MooseX::ClassAttribute;
  1         3  
  1         11  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeEventAggregates');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Health::DescribeEventAggregatesResponse');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::Health::DescribeEventAggregates - Arguments for method DescribeEventAggregates on Paws::Health
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method DescribeEventAggregates on the
25             AWS Health APIs and Notifications service. Use the attributes of this class
26             as arguments to method DescribeEventAggregates.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeEventAggregates.
29              
30             As an example:
31              
32             $service_obj->DescribeEventAggregates(Att1 => $value1, Att2 => $value2, ...);
33              
34             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 B<REQUIRED> AggregateField => Str
40              
41             The only currently supported value is C<eventTypeCategory>.
42              
43             Valid values are: C<"eventTypeCategory">
44              
45             =head2 Filter => L<Paws::Health::EventFilter>
46              
47             Values to narrow the results returned.
48              
49              
50              
51             =head2 MaxResults => Int
52              
53             The maximum number of items to return in one batch, between 10 and 100,
54             inclusive.
55              
56              
57              
58             =head2 NextToken => Str
59              
60             If the results of a search are large, only a portion of the results are
61             returned, and a C<nextToken> pagination token is returned in the
62             response. To retrieve the next batch of results, reissue the search
63             request and include the returned token. When all results have been
64             returned, the response does not contain a pagination token value.
65              
66              
67              
68              
69             =head1 SEE ALSO
70              
71             This class forms part of L<Paws>, documenting arguments for method DescribeEventAggregates in L<Paws::Health>
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