![]() |
![]()
| ![]() |
![]()
NAMEPaws::ELBv2 - Perl Interface to AWS Elastic Load Balancing SYNOPSISuse Paws; my $obj = Paws->service('ELBv2'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], ); DESCRIPTIONElastic Load Balancing A load balancer distributes incoming traffic across targets, such as your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets. You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port number for connections from clients to the load balancer. You configure a target group with a protocol and port number for connections from the load balancer to the targets, and with health check settings to be used when checking the health status of the targets. Elastic Load Balancing supports the following types of load balancers: Application Load Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This reference covers the following load balancer types:
For more information, see the Elastic Load Balancing User Guide (https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/). All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2015-12-01> METHODSAddListenerCertificatesEach argument is described in detail in: Paws::ELBv2::AddListenerCertificates Returns: a Paws::ELBv2::AddListenerCertificatesOutput instance Adds the specified SSL server certificate to the certificate list for the specified HTTPS or TLS listener. If the certificate in already in the certificate list, the call is successful but the certificate is not added again. For more information, see HTTPS listeners (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html) in the Application Load Balancers Guide or TLS listeners (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html) in the Network Load Balancers Guide. AddTagsEach argument is described in detail in: Paws::ELBv2::AddTags Returns: a Paws::ELBv2::AddTagsOutput instance Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, and rules. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, "AddTags" updates its value. CreateListener
Each argument is described in detail in: Paws::ELBv2::CreateListener Returns: a Paws::ELBv2::CreateListenerOutput instance Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. For more information, see the following:
This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple listeners with the same settings, each call succeeds. CreateLoadBalancer
Each argument is described in detail in: Paws::ELBv2::CreateLoadBalancer Returns: a Paws::ELBv2::CreateLoadBalancerOutput instance Creates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. For more information, see the following:
This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple load balancers with the same settings, each call succeeds. CreateRule
Each argument is described in detail in: Paws::ELBv2::CreateRule Returns: a Paws::ELBv2::CreateRuleOutput instance Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer. Each rule consists of a priority, one or more actions, and one or more conditions. Rules are evaluated in priority order, from the lowest value to the highest value. When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, the actions for the default rule are performed. For more information, see Listener rules (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules) in the Application Load Balancers Guide. CreateTargetGroup
Each argument is described in detail in: Paws::ELBv2::CreateTargetGroup Returns: a Paws::ELBv2::CreateTargetGroupOutput instance Creates a target group. For more information, see the following:
This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple target groups with the same settings, each call succeeds. DeleteListenerEach argument is described in detail in: Paws::ELBv2::DeleteListener Returns: a Paws::ELBv2::DeleteListenerOutput instance Deletes the specified listener. Alternatively, your listener is deleted when you delete the load balancer to which it is attached. DeleteLoadBalancerEach argument is described in detail in: Paws::ELBv2::DeleteLoadBalancer Returns: a Paws::ELBv2::DeleteLoadBalancerOutput instance Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. Deleting a load balancer also deletes its listeners. You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds. Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them. DeleteRuleEach argument is described in detail in: Paws::ELBv2::DeleteRule Returns: a Paws::ELBv2::DeleteRuleOutput instance Deletes the specified rule. You can't delete the default rule. DeleteTargetGroupEach argument is described in detail in: Paws::ELBv2::DeleteTargetGroup Returns: a Paws::ELBv2::DeleteTargetGroupOutput instance Deletes the specified target group. You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks. Deleting a target group does not affect its registered targets. For example, any EC2 instances continue to run until you stop or terminate them. DeregisterTargetsEach argument is described in detail in: Paws::ELBv2::DeregisterTargets Returns: a Paws::ELBv2::DeregisterTargetsOutput instance Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer. DescribeAccountLimits
Each argument is described in detail in: Paws::ELBv2::DescribeAccountLimits Returns: a Paws::ELBv2::DescribeAccountLimitsOutput instance Describes the current Elastic Load Balancing resource limits for your Amazon Web Services account. For more information, see the following:
DescribeListenerCertificates
Each argument is described in detail in: Paws::ELBv2::DescribeListenerCertificates Returns: a Paws::ELBv2::DescribeListenerCertificatesOutput instance Describes the default certificate and the certificate list for the specified HTTPS or TLS listener. If the default certificate is also in the certificate list, it appears twice in the results (once with "IsDefault" set to true and once with "IsDefault" set to false). For more information, see SSL certificates (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates) in the Application Load Balancers Guide or Server certificates (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#tls-listener-certificate) in the Network Load Balancers Guide. DescribeListeners
Each argument is described in detail in: Paws::ELBv2::DescribeListeners Returns: a Paws::ELBv2::DescribeListenersOutput instance Describes the specified listeners or the listeners for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load balancer or one or more listeners. DescribeLoadBalancerAttributesEach argument is described in detail in: Paws::ELBv2::DescribeLoadBalancerAttributes Returns: a Paws::ELBv2::DescribeLoadBalancerAttributesOutput instance Describes the attributes for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. For more information, see the following:
DescribeLoadBalancers
Each argument is described in detail in: Paws::ELBv2::DescribeLoadBalancers Returns: a Paws::ELBv2::DescribeLoadBalancersOutput instance Describes the specified load balancers or all of your load balancers. DescribeRules
Each argument is described in detail in: Paws::ELBv2::DescribeRules Returns: a Paws::ELBv2::DescribeRulesOutput instance Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules. DescribeSSLPolicies
Each argument is described in detail in: Paws::ELBv2::DescribeSSLPolicies Returns: a Paws::ELBv2::DescribeSSLPoliciesOutput instance Describes the specified policies or all policies used for SSL negotiation. For more information, see Security policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies) in the Application Load Balancers Guide or Security policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies) in the Network Load Balancers Guide. DescribeTagsEach argument is described in detail in: Paws::ELBv2::DescribeTags Returns: a Paws::ELBv2::DescribeTagsOutput instance Describes the tags for the specified Elastic Load Balancing resources. You can describe the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules. DescribeTargetGroupAttributesEach argument is described in detail in: Paws::ELBv2::DescribeTargetGroupAttributes Returns: a Paws::ELBv2::DescribeTargetGroupAttributesOutput instance Describes the attributes for the specified target group. For more information, see the following:
DescribeTargetGroups
Each argument is described in detail in: Paws::ELBv2::DescribeTargetGroups Returns: a Paws::ELBv2::DescribeTargetGroupsOutput instance Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups. DescribeTargetHealth
Each argument is described in detail in: Paws::ELBv2::DescribeTargetHealth Returns: a Paws::ELBv2::DescribeTargetHealthOutput instance Describes the health of the specified targets or all of your targets. ModifyListener
Each argument is described in detail in: Paws::ELBv2::ModifyListener Returns: a Paws::ELBv2::ModifyListenerOutput instance Replaces the specified properties of the specified listener. Any properties that you do not specify remain unchanged. Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy and default certificate properties. To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action. ModifyLoadBalancerAttributesEach argument is described in detail in: Paws::ELBv2::ModifyLoadBalancerAttributes Returns: a Paws::ELBv2::ModifyLoadBalancerAttributesOutput instance Modifies the specified attributes of the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values. ModifyRule
Each argument is described in detail in: Paws::ELBv2::ModifyRule Returns: a Paws::ELBv2::ModifyRuleOutput instance Replaces the specified properties of the specified rule. Any properties that you do not specify are unchanged. To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action. ModifyTargetGroup
Each argument is described in detail in: Paws::ELBv2::ModifyTargetGroup Returns: a Paws::ELBv2::ModifyTargetGroupOutput instance Modifies the health checks used when evaluating the health state of the targets in the specified target group. ModifyTargetGroupAttributesEach argument is described in detail in: Paws::ELBv2::ModifyTargetGroupAttributes Returns: a Paws::ELBv2::ModifyTargetGroupAttributesOutput instance Modifies the specified attributes of the specified target group. RegisterTargetsEach argument is described in detail in: Paws::ELBv2::RegisterTargets Returns: a Paws::ELBv2::RegisterTargetsOutput instance Registers the specified targets with the specified target group. If the target is an EC2 instance, it must be in the "running" state when you register it. By default, the load balancer routes requests to registered targets using the protocol and port for the target group. Alternatively, you can override the port for a target when you register it. You can register each EC2 instance or IP address with the same target group multiple times using different ports. With a Network Load Balancer, you cannot register instances by instance ID if they have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can register instances of these types by IP address. RemoveListenerCertificatesEach argument is described in detail in: Paws::ELBv2::RemoveListenerCertificates Returns: a Paws::ELBv2::RemoveListenerCertificatesOutput instance Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener. RemoveTagsEach argument is described in detail in: Paws::ELBv2::RemoveTags Returns: a Paws::ELBv2::RemoveTagsOutput instance Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules. SetIpAddressTypeEach argument is described in detail in: Paws::ELBv2::SetIpAddressType Returns: a Paws::ELBv2::SetIpAddressTypeOutput instance Sets the type of IP addresses used by the subnets of the specified Application Load Balancer or Network Load Balancer. SetRulePrioritiesEach argument is described in detail in: Paws::ELBv2::SetRulePriorities Returns: a Paws::ELBv2::SetRulePrioritiesOutput instance Sets the priorities of the specified rules. You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority. SetSecurityGroupsEach argument is described in detail in: Paws::ELBv2::SetSecurityGroups Returns: a Paws::ELBv2::SetSecurityGroupsOutput instance Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups. You can't specify a security group for a Network Load Balancer or Gateway Load Balancer. SetSubnets
Each argument is described in detail in: Paws::ELBv2::SetSubnets Returns: a Paws::ELBv2::SetSubnetsOutput instance Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or Network Load Balancer. The specified subnets replace the previously enabled subnets. When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets. PAGINATORSPaginator methods are helpers that repetively call methods that return partial results DescribeAllAccountLimits(sub { },[Marker => Str, PageSize => Int])DescribeAllAccountLimits([Marker => Str, PageSize => Int])If passed a sub as first parameter, it will call the sub for each element found in : - Limits, passing the object as the first parameter, and the string 'Limits' as the second parameter If not, it will return a a Paws::ELBv2::DescribeAccountLimitsOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. DescribeAllListenerCertificates(sub { },ListenerArn => Str, [Marker => Str, PageSize => Int])DescribeAllListenerCertificates(ListenerArn => Str, [Marker => Str, PageSize => Int])If passed a sub as first parameter, it will call the sub for each element found in : - Certificates, passing the object as the first parameter, and the string 'Certificates' as the second parameter If not, it will return a a Paws::ELBv2::DescribeListenerCertificatesOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. DescribeAllListeners(sub { },[ListenerArns => ArrayRef[Str|Undef], LoadBalancerArn => Str, Marker => Str, PageSize => Int])DescribeAllListeners([ListenerArns => ArrayRef[Str|Undef], LoadBalancerArn => Str, Marker => Str, PageSize => Int])If passed a sub as first parameter, it will call the sub for each element found in : - Listeners, passing the object as the first parameter, and the string 'Listeners' as the second parameter If not, it will return a a Paws::ELBv2::DescribeListenersOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. DescribeAllLoadBalancers(sub { },[LoadBalancerArns => ArrayRef[Str|Undef], Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int])DescribeAllLoadBalancers([LoadBalancerArns => ArrayRef[Str|Undef], Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int])If passed a sub as first parameter, it will call the sub for each element found in : - LoadBalancers, passing the object as the first parameter, and the string 'LoadBalancers' as the second parameter If not, it will return a a Paws::ELBv2::DescribeLoadBalancersOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. DescribeAllRules(sub { },[ListenerArn => Str, Marker => Str, PageSize => Int, RuleArns => ArrayRef[Str|Undef]])DescribeAllRules([ListenerArn => Str, Marker => Str, PageSize => Int, RuleArns => ArrayRef[Str|Undef]])If passed a sub as first parameter, it will call the sub for each element found in : - Rules, passing the object as the first parameter, and the string 'Rules' as the second parameter If not, it will return a a Paws::ELBv2::DescribeRulesOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. DescribeAllSSLPolicies(sub { },[Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int])DescribeAllSSLPolicies([Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int])If passed a sub as first parameter, it will call the sub for each element found in : - SslPolicies, passing the object as the first parameter, and the string 'SslPolicies' as the second parameter If not, it will return a a Paws::ELBv2::DescribeSSLPoliciesOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. DescribeAllTargetGroups(sub { },[LoadBalancerArn => Str, Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int, TargetGroupArns => ArrayRef[Str|Undef]])DescribeAllTargetGroups([LoadBalancerArn => Str, Marker => Str, Names => ArrayRef[Str|Undef], PageSize => Int, TargetGroupArns => ArrayRef[Str|Undef]])If passed a sub as first parameter, it will call the sub for each element found in : - TargetGroups, passing the object as the first parameter, and the string 'TargetGroups' as the second parameter If not, it will return a a Paws::ELBv2::DescribeTargetGroupsOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. SEE ALSOThis service class forms part of Paws BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|