File Coverage

blib/lib/Paws/ELBv2.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::ELBv2;
2 1     1   7654 use Moose;
  1         5  
  1         13  
3             sub service { 'elasticloadbalancing' }
4             sub version { '2015-12-01' }
5             sub flattened_arrays { 0 }
6             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
7             has retry => (is => 'ro', isa => 'HashRef', default => sub {
8             { base => 'rand', type => 'exponential', growth_factor => 2 }
9             });
10             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
11             ] });
12              
13             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::QueryCaller', 'Paws::Net::XMLResponse';
14              
15            
16             sub AddTags {
17             my $self = shift;
18             my $call_object = $self->new_with_coercions('Paws::ELBv2::AddTags', @_);
19             return $self->caller->do_call($self, $call_object);
20             }
21             sub CreateListener {
22             my $self = shift;
23             my $call_object = $self->new_with_coercions('Paws::ELBv2::CreateListener', @_);
24             return $self->caller->do_call($self, $call_object);
25             }
26             sub CreateLoadBalancer {
27             my $self = shift;
28             my $call_object = $self->new_with_coercions('Paws::ELBv2::CreateLoadBalancer', @_);
29             return $self->caller->do_call($self, $call_object);
30             }
31             sub CreateRule {
32             my $self = shift;
33             my $call_object = $self->new_with_coercions('Paws::ELBv2::CreateRule', @_);
34             return $self->caller->do_call($self, $call_object);
35             }
36             sub CreateTargetGroup {
37             my $self = shift;
38             my $call_object = $self->new_with_coercions('Paws::ELBv2::CreateTargetGroup', @_);
39             return $self->caller->do_call($self, $call_object);
40             }
41             sub DeleteListener {
42             my $self = shift;
43             my $call_object = $self->new_with_coercions('Paws::ELBv2::DeleteListener', @_);
44             return $self->caller->do_call($self, $call_object);
45             }
46             sub DeleteLoadBalancer {
47             my $self = shift;
48             my $call_object = $self->new_with_coercions('Paws::ELBv2::DeleteLoadBalancer', @_);
49             return $self->caller->do_call($self, $call_object);
50             }
51             sub DeleteRule {
52             my $self = shift;
53             my $call_object = $self->new_with_coercions('Paws::ELBv2::DeleteRule', @_);
54             return $self->caller->do_call($self, $call_object);
55             }
56             sub DeleteTargetGroup {
57             my $self = shift;
58             my $call_object = $self->new_with_coercions('Paws::ELBv2::DeleteTargetGroup', @_);
59             return $self->caller->do_call($self, $call_object);
60             }
61             sub DeregisterTargets {
62             my $self = shift;
63             my $call_object = $self->new_with_coercions('Paws::ELBv2::DeregisterTargets', @_);
64             return $self->caller->do_call($self, $call_object);
65             }
66             sub DescribeAccountLimits {
67             my $self = shift;
68             my $call_object = $self->new_with_coercions('Paws::ELBv2::DescribeAccountLimits', @_);
69             return $self->caller->do_call($self, $call_object);
70             }
71             sub DescribeListeners {
72             my $self = shift;
73             my $call_object = $self->new_with_coercions('Paws::ELBv2::DescribeListeners', @_);
74             return $self->caller->do_call($self, $call_object);
75             }
76             sub DescribeLoadBalancerAttributes {
77             my $self = shift;
78             my $call_object = $self->new_with_coercions('Paws::ELBv2::DescribeLoadBalancerAttributes', @_);
79             return $self->caller->do_call($self, $call_object);
80             }
81             sub DescribeLoadBalancers {
82             my $self = shift;
83             my $call_object = $self->new_with_coercions('Paws::ELBv2::DescribeLoadBalancers', @_);
84             return $self->caller->do_call($self, $call_object);
85             }
86             sub DescribeRules {
87             my $self = shift;
88             my $call_object = $self->new_with_coercions('Paws::ELBv2::DescribeRules', @_);
89             return $self->caller->do_call($self, $call_object);
90             }
91             sub DescribeSSLPolicies {
92             my $self = shift;
93             my $call_object = $self->new_with_coercions('Paws::ELBv2::DescribeSSLPolicies', @_);
94             return $self->caller->do_call($self, $call_object);
95             }
96             sub DescribeTags {
97             my $self = shift;
98             my $call_object = $self->new_with_coercions('Paws::ELBv2::DescribeTags', @_);
99             return $self->caller->do_call($self, $call_object);
100             }
101             sub DescribeTargetGroupAttributes {
102             my $self = shift;
103             my $call_object = $self->new_with_coercions('Paws::ELBv2::DescribeTargetGroupAttributes', @_);
104             return $self->caller->do_call($self, $call_object);
105             }
106             sub DescribeTargetGroups {
107             my $self = shift;
108             my $call_object = $self->new_with_coercions('Paws::ELBv2::DescribeTargetGroups', @_);
109             return $self->caller->do_call($self, $call_object);
110             }
111             sub DescribeTargetHealth {
112             my $self = shift;
113             my $call_object = $self->new_with_coercions('Paws::ELBv2::DescribeTargetHealth', @_);
114             return $self->caller->do_call($self, $call_object);
115             }
116             sub ModifyListener {
117             my $self = shift;
118             my $call_object = $self->new_with_coercions('Paws::ELBv2::ModifyListener', @_);
119             return $self->caller->do_call($self, $call_object);
120             }
121             sub ModifyLoadBalancerAttributes {
122             my $self = shift;
123             my $call_object = $self->new_with_coercions('Paws::ELBv2::ModifyLoadBalancerAttributes', @_);
124             return $self->caller->do_call($self, $call_object);
125             }
126             sub ModifyRule {
127             my $self = shift;
128             my $call_object = $self->new_with_coercions('Paws::ELBv2::ModifyRule', @_);
129             return $self->caller->do_call($self, $call_object);
130             }
131             sub ModifyTargetGroup {
132             my $self = shift;
133             my $call_object = $self->new_with_coercions('Paws::ELBv2::ModifyTargetGroup', @_);
134             return $self->caller->do_call($self, $call_object);
135             }
136             sub ModifyTargetGroupAttributes {
137             my $self = shift;
138             my $call_object = $self->new_with_coercions('Paws::ELBv2::ModifyTargetGroupAttributes', @_);
139             return $self->caller->do_call($self, $call_object);
140             }
141             sub RegisterTargets {
142             my $self = shift;
143             my $call_object = $self->new_with_coercions('Paws::ELBv2::RegisterTargets', @_);
144             return $self->caller->do_call($self, $call_object);
145             }
146             sub RemoveTags {
147             my $self = shift;
148             my $call_object = $self->new_with_coercions('Paws::ELBv2::RemoveTags', @_);
149             return $self->caller->do_call($self, $call_object);
150             }
151             sub SetIpAddressType {
152             my $self = shift;
153             my $call_object = $self->new_with_coercions('Paws::ELBv2::SetIpAddressType', @_);
154             return $self->caller->do_call($self, $call_object);
155             }
156             sub SetRulePriorities {
157             my $self = shift;
158             my $call_object = $self->new_with_coercions('Paws::ELBv2::SetRulePriorities', @_);
159             return $self->caller->do_call($self, $call_object);
160             }
161             sub SetSecurityGroups {
162             my $self = shift;
163             my $call_object = $self->new_with_coercions('Paws::ELBv2::SetSecurityGroups', @_);
164             return $self->caller->do_call($self, $call_object);
165             }
166             sub SetSubnets {
167             my $self = shift;
168             my $call_object = $self->new_with_coercions('Paws::ELBv2::SetSubnets', @_);
169             return $self->caller->do_call($self, $call_object);
170             }
171            
172             sub DescribeAllListeners {
173             my $self = shift;
174              
175             my $callback = shift @_ if (ref($_[0]) eq 'CODE');
176             my $result = $self->DescribeListeners(@_);
177             my $next_result = $result;
178              
179             if (not defined $callback) {
180             while ($next_result->NextMarker) {
181             $next_result = $self->DescribeListeners(@_, Marker => $next_result->NextMarker);
182             push @{ $result->Listeners }, @{ $next_result->Listeners };
183             }
184             return $result;
185             } else {
186             while ($result->NextMarker) {
187             $callback->($_ => 'Listeners') foreach (@{ $result->Listeners });
188             $result = $self->DescribeListeners(@_, Marker => $result->NextMarker);
189             }
190             $callback->($_ => 'Listeners') foreach (@{ $result->Listeners });
191             }
192              
193             return undef
194             }
195             sub DescribeAllLoadBalancers {
196             my $self = shift;
197              
198             my $callback = shift @_ if (ref($_[0]) eq 'CODE');
199             my $result = $self->DescribeLoadBalancers(@_);
200             my $next_result = $result;
201              
202             if (not defined $callback) {
203             while ($next_result->NextMarker) {
204             $next_result = $self->DescribeLoadBalancers(@_, Marker => $next_result->NextMarker);
205             push @{ $result->LoadBalancers }, @{ $next_result->LoadBalancers };
206             }
207             return $result;
208             } else {
209             while ($result->NextMarker) {
210             $callback->($_ => 'LoadBalancers') foreach (@{ $result->LoadBalancers });
211             $result = $self->DescribeLoadBalancers(@_, Marker => $result->NextMarker);
212             }
213             $callback->($_ => 'LoadBalancers') foreach (@{ $result->LoadBalancers });
214             }
215              
216             return undef
217             }
218             sub DescribeAllTargetGroups {
219             my $self = shift;
220              
221             my $callback = shift @_ if (ref($_[0]) eq 'CODE');
222             my $result = $self->DescribeTargetGroups(@_);
223             my $next_result = $result;
224              
225             if (not defined $callback) {
226             while ($next_result->NextMarker) {
227             $next_result = $self->DescribeTargetGroups(@_, Marker => $next_result->NextMarker);
228             push @{ $result->TargetGroups }, @{ $next_result->TargetGroups };
229             }
230             return $result;
231             } else {
232             while ($result->NextMarker) {
233             $callback->($_ => 'TargetGroups') foreach (@{ $result->TargetGroups });
234             $result = $self->DescribeTargetGroups(@_, Marker => $result->NextMarker);
235             }
236             $callback->($_ => 'TargetGroups') foreach (@{ $result->TargetGroups });
237             }
238              
239             return undef
240             }
241              
242              
243             sub operations { qw/AddTags CreateListener CreateLoadBalancer CreateRule CreateTargetGroup DeleteListener DeleteLoadBalancer DeleteRule DeleteTargetGroup DeregisterTargets DescribeAccountLimits DescribeListeners DescribeLoadBalancerAttributes DescribeLoadBalancers DescribeRules DescribeSSLPolicies DescribeTags DescribeTargetGroupAttributes DescribeTargetGroups DescribeTargetHealth ModifyListener ModifyLoadBalancerAttributes ModifyRule ModifyTargetGroup ModifyTargetGroupAttributes RegisterTargets RemoveTags SetIpAddressType SetRulePriorities SetSecurityGroups SetSubnets / }
244              
245             1;
246              
247             ### main pod documentation begin ###
248              
249             =head1 NAME
250              
251             Paws::ELBv2 - Perl Interface to AWS Elastic Load Balancing
252              
253             =head1 SYNOPSIS
254              
255             use Paws;
256              
257             my $obj = Paws->service('ELBv2');
258             my $res = $obj->Method(
259             Arg1 => $val1,
260             Arg2 => [ 'V1', 'V2' ],
261             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
262             # of the arguments type
263             Arg3 => { Att1 => 'Val1' },
264             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
265             # the constructor of the arguments type
266             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
267             );
268              
269             =head1 DESCRIPTION
270              
271             Elastic Load Balancing
272              
273             A load balancer distributes incoming traffic across targets, such as
274             your EC2 instances. This enables you to increase the availability of
275             your application. The load balancer also monitors the health of its
276             registered targets and ensures that it routes traffic only to healthy
277             targets. You configure your load balancer to accept incoming traffic by
278             specifying one or more listeners, which are configured with a protocol
279             and port number for connections from clients to the load balancer. You
280             configure a target group with a protocol and port number for
281             connections from the load balancer to the targets, and with health
282             check settings to be used when checking the health status of the
283             targets.
284              
285             Elastic Load Balancing supports two types of load balancers: Classic
286             Load Balancers and Application Load Balancers. A Classic Load Balancer
287             makes routing and load balancing decisions either at the transport
288             layer (TCP/SSL) or the application layer (HTTP/HTTPS), and supports
289             either EC2-Classic or a VPC. An Application Load Balancer makes routing
290             and load balancing decisions at the application layer (HTTP/HTTPS),
291             supports path-based routing, and can route requests to one or more
292             ports on each EC2 instance or container instance in your virtual
293             private cloud (VPC). For more information, see the Elastic Load
294             Balancing User Guide.
295              
296             This reference covers the 2015-12-01 API, which supports Application
297             Load Balancers. The 2012-06-01 API supports Classic Load Balancers.
298              
299             To get started, complete the following tasks:
300              
301             =over
302              
303             =item 1.
304              
305             Create an Application Load Balancer using CreateLoadBalancer.
306              
307             =item 2.
308              
309             Create a target group using CreateTargetGroup.
310              
311             =item 3.
312              
313             Register targets for the target group using RegisterTargets.
314              
315             =item 4.
316              
317             Create one or more listeners for your load balancer using
318             CreateListener.
319              
320             =item 5.
321              
322             (Optional) Create one or more rules for content routing based on URL
323             using CreateRule.
324              
325             =back
326              
327             To delete an Application Load Balancer and its related resources,
328             complete the following tasks:
329              
330             =over
331              
332             =item 1.
333              
334             Delete the load balancer using DeleteLoadBalancer.
335              
336             =item 2.
337              
338             Delete the target group using DeleteTargetGroup.
339              
340             =back
341              
342             All Elastic Load Balancing operations are idempotent, which means that
343             they complete at most one time. If you repeat an operation, it
344             succeeds.
345              
346             =head1 METHODS
347              
348             =head2 AddTags(ResourceArns => ArrayRef[Str|Undef], Tags => ArrayRef[L<Paws::ELBv2::Tag>])
349              
350             Each argument is described in detail in: L<Paws::ELBv2::AddTags>
351              
352             Returns: a L<Paws::ELBv2::AddTagsOutput> instance
353              
354             Adds the specified tags to the specified resource. You can tag your
355             Application Load Balancers and your target groups.
356              
357             Each tag consists of a key and an optional value. If a resource already
358             has a tag with the same key, C<AddTags> updates its value.
359              
360             To list the current tags for your resources, use DescribeTags. To
361             remove tags from your resources, use RemoveTags.
362              
363              
364             =head2 CreateListener(DefaultActions => ArrayRef[L<Paws::ELBv2::Action>], LoadBalancerArn => Str, Port => Int, Protocol => Str, [Certificates => ArrayRef[L<Paws::ELBv2::Certificate>], SslPolicy => Str])
365              
366             Each argument is described in detail in: L<Paws::ELBv2::CreateListener>
367              
368             Returns: a L<Paws::ELBv2::CreateListenerOutput> instance
369              
370             Creates a listener for the specified Application Load Balancer.
371              
372             You can create up to 10 listeners per load balancer.
373              
374             To update a listener, use ModifyListener. When you are finished with a
375             listener, you can delete it using DeleteListener. If you are finished
376             with both the listener and the load balancer, you can delete them both
377             using DeleteLoadBalancer.
378              
379             For more information, see Listeners for Your Application Load Balancers
380             in the I<Application Load Balancers Guide>.
381              
382              
383             =head2 CreateLoadBalancer(Name => Str, Subnets => ArrayRef[Str|Undef], [IpAddressType => Str, Scheme => Str, SecurityGroups => ArrayRef[Str|Undef], Tags => ArrayRef[L<Paws::ELBv2::Tag>]])
384              
385             Each argument is described in detail in: L<Paws::ELBv2::CreateLoadBalancer>
386              
387             Returns: a L<Paws::ELBv2::CreateLoadBalancerOutput> instance
388              
389             Creates an Application Load Balancer.
390              
391             When you create a load balancer, you can specify security groups,
392             subnets, IP address type, and tags. Otherwise, you could do so later
393             using SetSecurityGroups, SetSubnets, SetIpAddressType, and AddTags.
394              
395             To create listeners for your load balancer, use CreateListener. To
396             describe your current load balancers, see DescribeLoadBalancers. When
397             you are finished with a load balancer, you can delete it using
398             DeleteLoadBalancer.
399              
400             You can create up to 20 load balancers per region per account. You can
401             request an increase for the number of load balancers for your account.
402             For more information, see Limits for Your Application Load Balancer in
403             the I<Application Load Balancers Guide>.
404              
405             For more information, see Application Load Balancers in the
406             I<Application Load Balancers Guide>.
407              
408              
409             =head2 CreateRule(Actions => ArrayRef[L<Paws::ELBv2::Action>], Conditions => ArrayRef[L<Paws::ELBv2::RuleCondition>], ListenerArn => Str, Priority => Int)
410              
411             Each argument is described in detail in: L<Paws::ELBv2::CreateRule>
412              
413             Returns: a L<Paws::ELBv2::CreateRuleOutput> instance
414              
415             Creates a rule for the specified listener.
416              
417             Each rule can have one action and one condition. Rules are evaluated in
418             priority order, from the lowest value to the highest value. When the
419             condition for a rule is met, the specified action is taken. If no
420             conditions are met, the default action for the default rule is taken.
421             For more information, see Listener Rules in the I<Application Load
422             Balancers Guide>.
423              
424             To view your current rules, use DescribeRules. To update a rule, use
425             ModifyRule. To set the priorities of your rules, use SetRulePriorities.
426             To delete a rule, use DeleteRule.
427              
428              
429             =head2 CreateTargetGroup(Name => Str, Port => Int, Protocol => Str, VpcId => Str, [HealthCheckIntervalSeconds => Int, HealthCheckPath => Str, HealthCheckPort => Str, HealthCheckProtocol => Str, HealthCheckTimeoutSeconds => Int, HealthyThresholdCount => Int, Matcher => L<Paws::ELBv2::Matcher>, UnhealthyThresholdCount => Int])
430              
431             Each argument is described in detail in: L<Paws::ELBv2::CreateTargetGroup>
432              
433             Returns: a L<Paws::ELBv2::CreateTargetGroupOutput> instance
434              
435             Creates a target group.
436              
437             To register targets with the target group, use RegisterTargets. To
438             update the health check settings for the target group, use
439             ModifyTargetGroup. To monitor the health of targets in the target
440             group, use DescribeTargetHealth.
441              
442             To route traffic to the targets in a target group, specify the target
443             group in an action using CreateListener or CreateRule.
444              
445             To delete a target group, use DeleteTargetGroup.
446              
447             For more information, see Target Groups for Your Application Load
448             Balancers in the I<Application Load Balancers Guide>.
449              
450              
451             =head2 DeleteListener(ListenerArn => Str)
452              
453             Each argument is described in detail in: L<Paws::ELBv2::DeleteListener>
454              
455             Returns: a L<Paws::ELBv2::DeleteListenerOutput> instance
456              
457             Deletes the specified listener.
458              
459             Alternatively, your listener is deleted when you delete the load
460             balancer it is attached to using DeleteLoadBalancer.
461              
462              
463             =head2 DeleteLoadBalancer(LoadBalancerArn => Str)
464              
465             Each argument is described in detail in: L<Paws::ELBv2::DeleteLoadBalancer>
466              
467             Returns: a L<Paws::ELBv2::DeleteLoadBalancerOutput> instance
468              
469             Deletes the specified Application Load Balancer and its attached
470             listeners.
471              
472             You can't delete a load balancer if deletion protection is enabled. If
473             the load balancer does not exist or has already been deleted, the call
474             succeeds.
475              
476             Deleting a load balancer does not affect its registered targets. For
477             example, your EC2 instances continue to run and are still registered to
478             their target groups. If you no longer need these EC2 instances, you can
479             stop or terminate them.
480              
481              
482             =head2 DeleteRule(RuleArn => Str)
483              
484             Each argument is described in detail in: L<Paws::ELBv2::DeleteRule>
485              
486             Returns: a L<Paws::ELBv2::DeleteRuleOutput> instance
487              
488             Deletes the specified rule.
489              
490              
491             =head2 DeleteTargetGroup(TargetGroupArn => Str)
492              
493             Each argument is described in detail in: L<Paws::ELBv2::DeleteTargetGroup>
494              
495             Returns: a L<Paws::ELBv2::DeleteTargetGroupOutput> instance
496              
497             Deletes the specified target group.
498              
499             You can delete a target group if it is not referenced by any actions.
500             Deleting a target group also deletes any associated health checks.
501              
502              
503             =head2 DeregisterTargets(TargetGroupArn => Str, Targets => ArrayRef[L<Paws::ELBv2::TargetDescription>])
504              
505             Each argument is described in detail in: L<Paws::ELBv2::DeregisterTargets>
506              
507             Returns: a L<Paws::ELBv2::DeregisterTargetsOutput> instance
508              
509             Deregisters the specified targets from the specified target group.
510             After the targets are deregistered, they no longer receive traffic from
511             the load balancer.
512              
513              
514             =head2 DescribeAccountLimits([Marker => Str, PageSize => Int])
515              
516             Each argument is described in detail in: L<Paws::ELBv2::DescribeAccountLimits>
517              
518             Returns: a L<Paws::ELBv2::DescribeAccountLimitsOutput> instance
519              
520             Describes the current Elastic Load Balancing resource limits for your
521             AWS account.
522              
523             For more information, see Limits for Your Application Load Balancer in
524             the I<Application Load Balancer Guide>.
525              
526              
527             =head2 DescribeListeners([ListenerArns => ArrayRef[Str|Undef], LoadBalancerArn => Str, Marker => Str, PageSize => Int])
528              
529             Each argument is described in detail in: L<Paws::ELBv2::DescribeListeners>
530              
531             Returns: a L<Paws::ELBv2::DescribeListenersOutput> instance
532              
533             Describes the specified listeners or the listeners for the specified
534             Application Load Balancer. You must specify either a load balancer or
535             one or more listeners.
536              
537              
538             =head2 DescribeLoadBalancerAttributes(LoadBalancerArn => Str)
539              
540             Each argument is described in detail in: L<Paws::ELBv2::DescribeLoadBalancerAttributes>
541              
542             Returns: a L<Paws::ELBv2::DescribeLoadBalancerAttributesOutput> instance
543              
544             Describes the attributes for the specified Application Load Balancer.
545              
546              
547             =head2 DescribeLoadBalancers([LoadBalancerArns => ArrayRef[Str|Undef], Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int])
548              
549             Each argument is described in detail in: L<Paws::ELBv2::DescribeLoadBalancers>
550              
551             Returns: a L<Paws::ELBv2::DescribeLoadBalancersOutput> instance
552              
553             Describes the specified Application Load Balancers or all of your
554             Application Load Balancers.
555              
556             To describe the listeners for a load balancer, use DescribeListeners.
557             To describe the attributes for a load balancer, use
558             DescribeLoadBalancerAttributes.
559              
560              
561             =head2 DescribeRules([ListenerArn => Str, Marker => Str, PageSize => Int, RuleArns => ArrayRef[Str|Undef]])
562              
563             Each argument is described in detail in: L<Paws::ELBv2::DescribeRules>
564              
565             Returns: a L<Paws::ELBv2::DescribeRulesOutput> instance
566              
567             Describes the specified rules or the rules for the specified listener.
568             You must specify either a listener or one or more rules.
569              
570              
571             =head2 DescribeSSLPolicies([Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int])
572              
573             Each argument is described in detail in: L<Paws::ELBv2::DescribeSSLPolicies>
574              
575             Returns: a L<Paws::ELBv2::DescribeSSLPoliciesOutput> instance
576              
577             Describes the specified policies or all policies used for SSL
578             negotiation.
579              
580             For more information, see Security Policies in the I<Application Load
581             Balancers Guide>.
582              
583              
584             =head2 DescribeTags(ResourceArns => ArrayRef[Str|Undef])
585              
586             Each argument is described in detail in: L<Paws::ELBv2::DescribeTags>
587              
588             Returns: a L<Paws::ELBv2::DescribeTagsOutput> instance
589              
590             Describes the tags for the specified resources. You can describe the
591             tags for one or more Application Load Balancers and target groups.
592              
593              
594             =head2 DescribeTargetGroupAttributes(TargetGroupArn => Str)
595              
596             Each argument is described in detail in: L<Paws::ELBv2::DescribeTargetGroupAttributes>
597              
598             Returns: a L<Paws::ELBv2::DescribeTargetGroupAttributesOutput> instance
599              
600             Describes the attributes for the specified target group.
601              
602              
603             =head2 DescribeTargetGroups([LoadBalancerArn => Str, Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int, TargetGroupArns => ArrayRef[Str|Undef]])
604              
605             Each argument is described in detail in: L<Paws::ELBv2::DescribeTargetGroups>
606              
607             Returns: a L<Paws::ELBv2::DescribeTargetGroupsOutput> instance
608              
609             Describes the specified target groups or all of your target groups. By
610             default, all target groups are described. Alternatively, you can
611             specify one of the following to filter the results: the ARN of the load
612             balancer, the names of one or more target groups, or the ARNs of one or
613             more target groups.
614              
615             To describe the targets for a target group, use DescribeTargetHealth.
616             To describe the attributes of a target group, use
617             DescribeTargetGroupAttributes.
618              
619              
620             =head2 DescribeTargetHealth(TargetGroupArn => Str, [Targets => ArrayRef[L<Paws::ELBv2::TargetDescription>]])
621              
622             Each argument is described in detail in: L<Paws::ELBv2::DescribeTargetHealth>
623              
624             Returns: a L<Paws::ELBv2::DescribeTargetHealthOutput> instance
625              
626             Describes the health of the specified targets or all of your targets.
627              
628              
629             =head2 ModifyListener(ListenerArn => Str, [Certificates => ArrayRef[L<Paws::ELBv2::Certificate>], DefaultActions => ArrayRef[L<Paws::ELBv2::Action>], Port => Int, Protocol => Str, SslPolicy => Str])
630              
631             Each argument is described in detail in: L<Paws::ELBv2::ModifyListener>
632              
633             Returns: a L<Paws::ELBv2::ModifyListenerOutput> instance
634              
635             Modifies the specified properties of the specified listener.
636              
637             Any properties that you do not specify retain their current values.
638             However, changing the protocol from HTTPS to HTTP removes the security
639             policy and SSL certificate properties. If you change the protocol from
640             HTTP to HTTPS, you must add the security policy and server certificate.
641              
642              
643             =head2 ModifyLoadBalancerAttributes(Attributes => ArrayRef[L<Paws::ELBv2::LoadBalancerAttribute>], LoadBalancerArn => Str)
644              
645             Each argument is described in detail in: L<Paws::ELBv2::ModifyLoadBalancerAttributes>
646              
647             Returns: a L<Paws::ELBv2::ModifyLoadBalancerAttributesOutput> instance
648              
649             Modifies the specified attributes of the specified Application Load
650             Balancer.
651              
652             If any of the specified attributes can't be modified as requested, the
653             call fails. Any existing attributes that you do not modify retain their
654             current values.
655              
656              
657             =head2 ModifyRule(RuleArn => Str, [Actions => ArrayRef[L<Paws::ELBv2::Action>], Conditions => ArrayRef[L<Paws::ELBv2::RuleCondition>]])
658              
659             Each argument is described in detail in: L<Paws::ELBv2::ModifyRule>
660              
661             Returns: a L<Paws::ELBv2::ModifyRuleOutput> instance
662              
663             Modifies the specified rule.
664              
665             Any existing properties that you do not modify retain their current
666             values.
667              
668             To modify the default action, use ModifyListener.
669              
670              
671             =head2 ModifyTargetGroup(TargetGroupArn => Str, [HealthCheckIntervalSeconds => Int, HealthCheckPath => Str, HealthCheckPort => Str, HealthCheckProtocol => Str, HealthCheckTimeoutSeconds => Int, HealthyThresholdCount => Int, Matcher => L<Paws::ELBv2::Matcher>, UnhealthyThresholdCount => Int])
672              
673             Each argument is described in detail in: L<Paws::ELBv2::ModifyTargetGroup>
674              
675             Returns: a L<Paws::ELBv2::ModifyTargetGroupOutput> instance
676              
677             Modifies the health checks used when evaluating the health state of the
678             targets in the specified target group.
679              
680             To monitor the health of the targets, use DescribeTargetHealth.
681              
682              
683             =head2 ModifyTargetGroupAttributes(Attributes => ArrayRef[L<Paws::ELBv2::TargetGroupAttribute>], TargetGroupArn => Str)
684              
685             Each argument is described in detail in: L<Paws::ELBv2::ModifyTargetGroupAttributes>
686              
687             Returns: a L<Paws::ELBv2::ModifyTargetGroupAttributesOutput> instance
688              
689             Modifies the specified attributes of the specified target group.
690              
691              
692             =head2 RegisterTargets(TargetGroupArn => Str, Targets => ArrayRef[L<Paws::ELBv2::TargetDescription>])
693              
694             Each argument is described in detail in: L<Paws::ELBv2::RegisterTargets>
695              
696             Returns: a L<Paws::ELBv2::RegisterTargetsOutput> instance
697              
698             Registers the specified targets with the specified target group.
699              
700             By default, the load balancer routes requests to registered targets
701             using the protocol and port number for the target group. Alternatively,
702             you can override the port for a target when you register it.
703              
704             The target must be in the virtual private cloud (VPC) that you
705             specified for the target group. If the target is an EC2 instance, it
706             must be in the C<running> state when you register it.
707              
708             To remove a target from a target group, use DeregisterTargets.
709              
710              
711             =head2 RemoveTags(ResourceArns => ArrayRef[Str|Undef], TagKeys => ArrayRef[Str|Undef])
712              
713             Each argument is described in detail in: L<Paws::ELBv2::RemoveTags>
714              
715             Returns: a L<Paws::ELBv2::RemoveTagsOutput> instance
716              
717             Removes the specified tags from the specified resource.
718              
719             To list the current tags for your resources, use DescribeTags.
720              
721              
722             =head2 SetIpAddressType(IpAddressType => Str, LoadBalancerArn => Str)
723              
724             Each argument is described in detail in: L<Paws::ELBv2::SetIpAddressType>
725              
726             Returns: a L<Paws::ELBv2::SetIpAddressTypeOutput> instance
727              
728             Sets the type of IP addresses used by the subnets of the specified
729             Application Load Balancer.
730              
731              
732             =head2 SetRulePriorities(RulePriorities => ArrayRef[L<Paws::ELBv2::RulePriorityPair>])
733              
734             Each argument is described in detail in: L<Paws::ELBv2::SetRulePriorities>
735              
736             Returns: a L<Paws::ELBv2::SetRulePrioritiesOutput> instance
737              
738             Sets the priorities of the specified rules.
739              
740             You can reorder the rules as long as there are no priority conflicts in
741             the new order. Any existing rules that you do not specify retain their
742             current priority.
743              
744              
745             =head2 SetSecurityGroups(LoadBalancerArn => Str, SecurityGroups => ArrayRef[Str|Undef])
746              
747             Each argument is described in detail in: L<Paws::ELBv2::SetSecurityGroups>
748              
749             Returns: a L<Paws::ELBv2::SetSecurityGroupsOutput> instance
750              
751             Associates the specified security groups with the specified load
752             balancer. The specified security groups override the previously
753             associated security groups.
754              
755              
756             =head2 SetSubnets(LoadBalancerArn => Str, Subnets => ArrayRef[Str|Undef])
757              
758             Each argument is described in detail in: L<Paws::ELBv2::SetSubnets>
759              
760             Returns: a L<Paws::ELBv2::SetSubnetsOutput> instance
761              
762             Enables the Availability Zone for the specified subnets for the
763             specified load balancer. The specified subnets replace the previously
764             enabled subnets.
765              
766              
767              
768              
769             =head1 PAGINATORS
770              
771             Paginator methods are helpers that repetively call methods that return partial results
772              
773             =head2 DescribeAllListeners(sub { },[ListenerArns => ArrayRef[Str|Undef], LoadBalancerArn => Str, Marker => Str, PageSize => Int])
774              
775             =head2 DescribeAllListeners([ListenerArns => ArrayRef[Str|Undef], LoadBalancerArn => Str, Marker => Str, PageSize => Int])
776              
777              
778             If passed a sub as first parameter, it will call the sub for each element found in :
779              
780             - Listeners, passing the object as the first parameter, and the string 'Listeners' as the second parameter
781              
782             If not, it will return a a L<Paws::ELBv2::DescribeListenersOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
783              
784              
785             =head2 DescribeAllLoadBalancers(sub { },[LoadBalancerArns => ArrayRef[Str|Undef], Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int])
786              
787             =head2 DescribeAllLoadBalancers([LoadBalancerArns => ArrayRef[Str|Undef], Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int])
788              
789              
790             If passed a sub as first parameter, it will call the sub for each element found in :
791              
792             - LoadBalancers, passing the object as the first parameter, and the string 'LoadBalancers' as the second parameter
793              
794             If not, it will return a a L<Paws::ELBv2::DescribeLoadBalancersOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
795              
796              
797             =head2 DescribeAllTargetGroups(sub { },[LoadBalancerArn => Str, Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int, TargetGroupArns => ArrayRef[Str|Undef]])
798              
799             =head2 DescribeAllTargetGroups([LoadBalancerArn => Str, Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int, TargetGroupArns => ArrayRef[Str|Undef]])
800              
801              
802             If passed a sub as first parameter, it will call the sub for each element found in :
803              
804             - TargetGroups, passing the object as the first parameter, and the string 'TargetGroups' as the second parameter
805              
806             If not, it will return a a L<Paws::ELBv2::DescribeTargetGroupsOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
807              
808              
809              
810              
811              
812             =head1 SEE ALSO
813              
814             This service class forms part of L<Paws>
815              
816             =head1 BUGS and CONTRIBUTIONS
817              
818             The source code is located here: https://github.com/pplu/aws-sdk-perl
819              
820             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
821              
822             =cut
823