« blib/lib/Paws/AutoScaling/DetachLoadBalancerTargetGroupsResultType.pm
↑ Summary
blib/lib/Paws/AutoScaling/DetachLoadBalancersResultType.pm »
| 1 | |||
| 2 | package Paws::AutoScaling::DetachLoadBalancers; | ||
| 3 | use Moose; | ||
| 4 | has AutoScalingGroupName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has LoadBalancerNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DetachLoadBalancers'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AutoScaling::DetachLoadBalancersResultType'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'DetachLoadBalancersResult'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::AutoScaling::DetachLoadBalancers - Arguments for method DetachLoadBalancers on L<Paws::AutoScaling> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method DetachLoadBalancers on the | ||
| 23 | L<Auto Scaling|Paws::AutoScaling> service. Use the attributes of this class | ||
| 24 | as arguments to method DetachLoadBalancers. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DetachLoadBalancers. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $autoscaling = Paws->service('AutoScaling'); | ||
| 31 | # To detach a load balancer from an Auto Scaling group | ||
| 32 | # This example detaches the specified load balancer from the specified Auto | ||
| 33 | # Scaling group. | ||
| 34 | my $DetachLoadBalancersResultType = $autoscaling->DetachLoadBalancers( | ||
| 35 | 'AutoScalingGroupName' => 'my-auto-scaling-group', | ||
| 36 | 'LoadBalancerNames' => ['my-load-balancer'] | ||
| 37 | ); | ||
| 38 | |||
| 39 | |||
| 40 | 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. | ||
| 41 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/autoscaling/DetachLoadBalancers> | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 B<REQUIRED> AutoScalingGroupName => Str | ||
| 47 | |||
| 48 | The name of the Auto Scaling group. | ||
| 49 | |||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> LoadBalancerNames => ArrayRef[Str|Undef] | ||
| 53 | |||
| 54 | The names of the load balancers. You can specify up to 10 load | ||
| 55 | balancers. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head1 SEE ALSO | ||
| 61 | |||
| 62 | This class forms part of L<Paws>, documenting arguments for method DetachLoadBalancers in L<Paws::AutoScaling> | ||
| 63 | |||
| 64 | =head1 BUGS and CONTRIBUTIONS | ||
| 65 | |||
| 66 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 67 | |||
| 68 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 69 | |||
| 70 | =cut | ||
| 71 |