blib/lib/Paws/AppMesh/OutlierDetection.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AppMesh::OutlierDetection;
3 use Moose;
4 has BaseEjectionDuration => (is => 'ro', isa => 'Paws::AppMesh::Duration', request_name => 'baseEjectionDuration', traits => ['NameInRequest'], required => 1);
5 has Interval => (is => 'ro', isa => 'Paws::AppMesh::Duration', request_name => 'interval', traits => ['NameInRequest'], required => 1);
6 has MaxEjectionPercent => (is => 'ro', isa => 'Int', request_name => 'maxEjectionPercent', traits => ['NameInRequest'], required => 1);
7 has MaxServerErrors => (is => 'ro', isa => 'Int', request_name => 'maxServerErrors', traits => ['NameInRequest'], required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::AppMesh::OutlierDetection
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::AppMesh::OutlierDetection object:
27  
28 $service_obj->Method(Att1 => { BaseEjectionDuration => $value, ..., MaxServerErrors => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::AppMesh::OutlierDetection object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->BaseEjectionDuration
36  
37 =head1 DESCRIPTION
38  
39 An object that represents the outlier detection for a virtual node's
40 listener.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 B<REQUIRED> BaseEjectionDuration => L<Paws::AppMesh::Duration>
46  
47 The base amount of time for which a host is ejected.
48  
49  
50 =head2 B<REQUIRED> Interval => L<Paws::AppMesh::Duration>
51  
52 The time interval between ejection sweep analysis.
53  
54  
55 =head2 B<REQUIRED> MaxEjectionPercent => Int
56  
57 Maximum percentage of hosts in load balancing pool for upstream service
58 that can be ejected. Will eject at least one host regardless of the
59 value.
60  
61  
62 =head2 B<REQUIRED> MaxServerErrors => Int
63  
64 Number of consecutive C<5xx> errors required for ejection.
65  
66  
67  
68 =head1 SEE ALSO
69  
70 This class forms part of L<Paws>, describing an object used in L<Paws::AppMesh>
71  
72 =head1 BUGS and CONTRIBUTIONS
73  
74 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
75  
76 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
77  
78 =cut
79