blib/lib/Paws/DAX/DescribeEvents.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::DAX::DescribeEvents;
3 use Moose;
4 has Duration => (is => 'ro', isa => 'Int');
5 has EndTime => (is => 'ro', isa => 'Str');
6 has MaxResults => (is => 'ro', isa => 'Int');
7 has NextToken => (is => 'ro', isa => 'Str');
8 has SourceName => (is => 'ro', isa => 'Str');
9 has SourceType => (is => 'ro', isa => 'Str');
10 has StartTime => (is => 'ro', isa => 'Str');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeEvents');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DAX::DescribeEventsResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::DAX::DescribeEvents - Arguments for method DescribeEvents on L<Paws::DAX>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method DescribeEvents on the
28 L<Amazon DynamoDB Accelerator (DAX)|Paws::DAX> service. Use the attributes of this class
29 as arguments to method DescribeEvents.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeEvents.
32  
33 =head1 SYNOPSIS
34  
35 my $dax = Paws->service('DAX');
36 my $DescribeEventsResponse = $dax->DescribeEvents(
37 Duration => 1, # OPTIONAL
38 EndTime => '1970-01-01T01:00:00', # OPTIONAL
39 MaxResults => 1, # OPTIONAL
40 NextToken => 'MyString', # OPTIONAL
41 SourceName => 'MyString', # OPTIONAL
42 SourceType => 'CLUSTER', # OPTIONAL
43 StartTime => '1970-01-01T01:00:00', # OPTIONAL
44 );
45  
46 # Results:
47 my $Events = $DescribeEventsResponse->Events;
48 my $NextToken = $DescribeEventsResponse->NextToken;
49  
50 # Returns a L<Paws::DAX::DescribeEventsResponse> object.
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/dax/DescribeEvents>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 Duration => Int
59  
60 The number of minutes' worth of events to retrieve.
61  
62  
63  
64 =head2 EndTime => Str
65  
66 The end of the time interval for which to retrieve events, specified in
67 ISO 8601 format.
68  
69  
70  
71 =head2 MaxResults => Int
72  
73 The maximum number of results to include in the response. If more
74 results exist than the specified C<MaxResults> value, a token is
75 included in the response so that the remaining results can be
76 retrieved.
77  
78 The value for C<MaxResults> must be between 20 and 100.
79  
80  
81  
82 =head2 NextToken => Str
83  
84 An optional token returned from a prior request. Use this token for
85 pagination of results from this action. If this parameter is specified,
86 the response includes only results beyond the token, up to the value
87 specified by C<MaxResults>.
88  
89  
90  
91 =head2 SourceName => Str
92  
93 The identifier of the event source for which events will be returned.
94 If not specified, then all sources are included in the response.
95  
96  
97  
98 =head2 SourceType => Str
99  
100 The event source to retrieve events for. If no value is specified, all
101 events are returned.
102  
103 Valid values are: C<"CLUSTER">, C<"PARAMETER_GROUP">, C<"SUBNET_GROUP">
104  
105 =head2 StartTime => Str
106  
107 The beginning of the time interval to retrieve events for, specified in
108 ISO 8601 format.
109  
110  
111  
112  
113 =head1 SEE ALSO
114  
115 This class forms part of L<Paws>, documenting arguments for method DescribeEvents in L<Paws::DAX>
116  
117 =head1 BUGS and CONTRIBUTIONS
118  
119 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
120  
121 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
122  
123 =cut
124