blib/lib/Paws/ElasticBeanstalk/DescribeEvents.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/ElasticBeanstalk/DescribeEnvironments.pm ↑ Summary blib/lib/Paws/ElasticBeanstalk/EnvironmentDescription.pm »
1  
2 package Paws::ElasticBeanstalk::DescribeEvents;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has ApplicationName => (is => 'ro', isa => 'Str');
5 1 has EndTime => (is => 'ro', isa => 'Str');
6 1 has EnvironmentId => (is => 'ro', isa => 'Str');
7 1 has EnvironmentName => (is => 'ro', isa => 'Str');
8 1 has MaxRecords => (is => 'ro', isa => 'Int');
9 1 has NextToken => (is => 'ro', isa => 'Str');
10 1 has PlatformArn => (is => 'ro', isa => 'Str');
11 1 has RequestId => (is => 'ro', isa => 'Str');
12 1 has Severity => (is => 'ro', isa => 'Str');
13 1 has StartTime => (is => 'ro', isa => 'Str');
14 1 has TemplateName => (is => 'ro', isa => 'Str');
15 1 has VersionLabel => (is => 'ro', isa => 'Str');
16  
17 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeEvents');
20 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticBeanstalk::EventDescriptionsMessage');
21 1 class_has _result_key => (isa => 'Str', is => 'ro', default => 'DescribeEventsResult');
22 1 1;
23  
24 ### main pod documentation begin ###
25  
26 =head1 NAME
27  
28 Paws::ElasticBeanstalk::DescribeEvents - Arguments for method DescribeEvents on L<Paws::ElasticBeanstalk>
29  
30 =head1 DESCRIPTION
31  
32 This class represents the parameters used for calling the method DescribeEvents on the
33 L<AWS Elastic Beanstalk|Paws::ElasticBeanstalk> service. Use the attributes of this class
34 as arguments to method DescribeEvents.
35  
36 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeEvents.
37  
38 =head1 SYNOPSIS
39  
40 my $elasticbeanstalk = Paws->service('ElasticBeanstalk');
41 # To view events for an environment
42 # The following operation retrieves events for an environment named my-env:
43 my $EventDescriptionsMessage =
44 $elasticbeanstalk->DescribeEvents( 'EnvironmentName' => 'my-env' );
45  
46 # Results:
47 my $Events = $EventDescriptionsMessage->Events;
48  
49 # Returns a L<Paws::ElasticBeanstalk::EventDescriptionsMessage> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk/DescribeEvents>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 ApplicationName => Str
58  
59 If specified, AWS Elastic Beanstalk restricts the returned descriptions
60 to include only those associated with this application.
61  
62  
63  
64 =head2 EndTime => Str
65  
66 If specified, AWS Elastic Beanstalk restricts the returned descriptions
67 to those that occur up to, but not including, the C<EndTime>.
68  
69  
70  
71 =head2 EnvironmentId => Str
72  
73 If specified, AWS Elastic Beanstalk restricts the returned descriptions
74 to those associated with this environment.
75  
76  
77  
78 =head2 EnvironmentName => Str
79  
80 If specified, AWS Elastic Beanstalk restricts the returned descriptions
81 to those associated with this environment.
82  
83  
84  
85 =head2 MaxRecords => Int
86  
87 Specifies the maximum number of events that can be returned, beginning
88 with the most recent event.
89  
90  
91  
92 =head2 NextToken => Str
93  
94 Pagination token. If specified, the events return the next batch of
95 results.
96  
97  
98  
99 =head2 PlatformArn => Str
100  
101 The ARN of a custom platform version. If specified, AWS Elastic
102 Beanstalk restricts the returned descriptions to those associated with
103 this custom platform version.
104  
105  
106  
107 =head2 RequestId => Str
108  
109 If specified, AWS Elastic Beanstalk restricts the described events to
110 include only those associated with this request ID.
111  
112  
113  
114 =head2 Severity => Str
115  
116 If specified, limits the events returned from this call to include only
117 those with the specified severity or higher.
118  
119 Valid values are: C<"TRACE">, C<"DEBUG">, C<"INFO">, C<"WARN">, C<"ERROR">, C<"FATAL">
120  
121 =head2 StartTime => Str
122  
123 If specified, AWS Elastic Beanstalk restricts the returned descriptions
124 to those that occur on or after this time.
125  
126  
127  
128 =head2 TemplateName => Str
129  
130 If specified, AWS Elastic Beanstalk restricts the returned descriptions
131 to those that are associated with this environment configuration.
132  
133  
134  
135 =head2 VersionLabel => Str
136  
137 If specified, AWS Elastic Beanstalk restricts the returned descriptions
138 to those associated with this application version.
139  
140  
141  
142  
143 =head1 SEE ALSO
144  
145 This class forms part of L<Paws>, documenting arguments for method DescribeEvents in L<Paws::ElasticBeanstalk>
146  
147 =head1 BUGS and CONTRIBUTIONS
148  
149 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
150  
151 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
152  
153 =cut
154  
« blib/lib/Paws/ElasticBeanstalk/DescribeEnvironments.pm ↑ Summary blib/lib/Paws/ElasticBeanstalk/EnvironmentDescription.pm »