File Coverage

blib/lib/Paws/ELBv2/ModifyTargetGroup.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::ELBv2::ModifyTargetGroup;
3 1     1   342 use Moose;
  1         2  
  1         6  
4             has HealthCheckIntervalSeconds => (is => 'ro', isa => 'Int');
5             has HealthCheckPath => (is => 'ro', isa => 'Str');
6             has HealthCheckPort => (is => 'ro', isa => 'Str');
7             has HealthCheckProtocol => (is => 'ro', isa => 'Str');
8             has HealthCheckTimeoutSeconds => (is => 'ro', isa => 'Int');
9             has HealthyThresholdCount => (is => 'ro', isa => 'Int');
10             has Matcher => (is => 'ro', isa => 'Paws::ELBv2::Matcher');
11             has TargetGroupArn => (is => 'ro', isa => 'Str', required => 1);
12             has UnhealthyThresholdCount => (is => 'ro', isa => 'Int');
13              
14 1     1   5518 use MooseX::ClassAttribute;
  1         2  
  1         8  
15              
16             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyTargetGroup');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ELBv2::ModifyTargetGroupOutput');
18             class_has _result_key => (isa => 'Str', is => 'ro', default => 'ModifyTargetGroupResult');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::ELBv2::ModifyTargetGroup - Arguments for method ModifyTargetGroup on Paws::ELBv2
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method ModifyTargetGroup on the
30             Elastic Load Balancing service. Use the attributes of this class
31             as arguments to method ModifyTargetGroup.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyTargetGroup.
34              
35             As an example:
36              
37             $service_obj->ModifyTargetGroup(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 HealthCheckIntervalSeconds => Int
45              
46             The approximate amount of time, in seconds, between health checks of an
47             individual target. For Application Load Balancers, the range is 5 to
48             300 seconds. For Network Load Balancers, the supported values are 10 or
49             30 seconds.
50              
51              
52              
53             =head2 HealthCheckPath => Str
54              
55             [HTTP/HTTPS health checks] The ping path that is the destination for
56             the health check request.
57              
58              
59              
60             =head2 HealthCheckPort => Str
61              
62             The port the load balancer uses when performing health checks on
63             targets.
64              
65              
66              
67             =head2 HealthCheckProtocol => Str
68              
69             The protocol the load balancer uses when performing health checks on
70             targets. The TCP protocol is supported only if the protocol of the
71             target group is TCP.
72              
73             Valid values are: C<"HTTP">, C<"HTTPS">, C<"TCP">
74              
75             =head2 HealthCheckTimeoutSeconds => Int
76              
77             [HTTP/HTTPS health checks] The amount of time, in seconds, during which
78             no response means a failed health check.
79              
80              
81              
82             =head2 HealthyThresholdCount => Int
83              
84             The number of consecutive health checks successes required before
85             considering an unhealthy target healthy.
86              
87              
88              
89             =head2 Matcher => L<Paws::ELBv2::Matcher>
90              
91             [HTTP/HTTPS health checks] The HTTP codes to use when checking for a
92             successful response from a target.
93              
94              
95              
96             =head2 B<REQUIRED> TargetGroupArn => Str
97              
98             The Amazon Resource Name (ARN) of the target group.
99              
100              
101              
102             =head2 UnhealthyThresholdCount => Int
103              
104             The number of consecutive health check failures required before
105             considering the target unhealthy. For Network Load Balancers, this
106             value must be the same as the healthy threshold count.
107              
108              
109              
110              
111             =head1 SEE ALSO
112              
113             This class forms part of L<Paws>, documenting arguments for method ModifyTargetGroup in L<Paws::ELBv2>
114              
115             =head1 BUGS and CONTRIBUTIONS
116              
117             The source code is located here: https://github.com/pplu/aws-sdk-perl
118              
119             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
120              
121             =cut
122