File Coverage

blib/lib/Paws/Health/DescribeEvents.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::DescribeEvents;
3 1     1   595 use Moose;
  1         5  
  1         10  
4             has Filter => (is => 'ro', isa => 'Paws::Health::EventFilter', traits => ['NameInRequest'], request_name => 'filter' );
5             has Locale => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'locale' );
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   6876 use MooseX::ClassAttribute;
  1         4  
  1         10  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeEvents');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Health::DescribeEventsResponse');
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::DescribeEvents - Arguments for method DescribeEvents on Paws::Health
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method DescribeEvents on the
25             AWS Health APIs and Notifications service. Use the attributes of this class
26             as arguments to method DescribeEvents.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeEvents.
29              
30             As an example:
31              
32             $service_obj->DescribeEvents(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 Filter => L<Paws::Health::EventFilter>
40              
41             Values to narrow the results returned.
42              
43              
44              
45             =head2 Locale => Str
46              
47             The locale (language) to return information in. English (en) is the
48             default and the only supported value at this time.
49              
50              
51              
52             =head2 MaxResults => Int
53              
54             The maximum number of items to return in one batch, between 10 and 100,
55             inclusive.
56              
57              
58              
59             =head2 NextToken => Str
60              
61             If the results of a search are large, only a portion of the results are
62             returned, and a C<nextToken> pagination token is returned in the
63             response. To retrieve the next batch of results, reissue the search
64             request and include the returned token. When all results have been
65             returned, the response does not contain a pagination token value.
66              
67              
68              
69              
70             =head1 SEE ALSO
71              
72             This class forms part of L<Paws>, documenting arguments for method DescribeEvents in L<Paws::Health>
73              
74             =head1 BUGS and CONTRIBUTIONS
75              
76             The source code is located here: https://github.com/pplu/aws-sdk-perl
77              
78             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
79              
80             =cut
81