

**********************
ElasticLoadBalancingv2
**********************



======
Client
======



.. py:class:: ElasticLoadBalancingv2.Client

  A low-level client representing Elastic Load Balancing (Elastic Load Balancing v2)
   

  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:

   

  
  * Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS.
   
  * Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, UDP, and QUIC.
   
  * Gateway Load Balancer - Operates at the network layer (layer 3).
  

   

  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.

  ::

    
    import boto3
    
    client = boto3.client('elbv2')

  

These are the available methods:

.. toctree::
  :maxdepth: 1
  :titlesonly:

  elbv2/client/add_listener_certificates
  elbv2/client/add_tags
  elbv2/client/add_trust_store_revocations
  elbv2/client/can_paginate
  elbv2/client/close
  elbv2/client/create_listener
  elbv2/client/create_load_balancer
  elbv2/client/create_rule
  elbv2/client/create_target_group
  elbv2/client/create_trust_store
  elbv2/client/delete_listener
  elbv2/client/delete_load_balancer
  elbv2/client/delete_rule
  elbv2/client/delete_shared_trust_store_association
  elbv2/client/delete_target_group
  elbv2/client/delete_trust_store
  elbv2/client/deregister_targets
  elbv2/client/describe_account_limits
  elbv2/client/describe_capacity_reservation
  elbv2/client/describe_listener_attributes
  elbv2/client/describe_listener_certificates
  elbv2/client/describe_listeners
  elbv2/client/describe_load_balancer_attributes
  elbv2/client/describe_load_balancers
  elbv2/client/describe_rules
  elbv2/client/describe_ssl_policies
  elbv2/client/describe_tags
  elbv2/client/describe_target_group_attributes
  elbv2/client/describe_target_groups
  elbv2/client/describe_target_health
  elbv2/client/describe_trust_store_associations
  elbv2/client/describe_trust_store_revocations
  elbv2/client/describe_trust_stores
  elbv2/client/get_paginator
  elbv2/client/get_resource_policy
  elbv2/client/get_trust_store_ca_certificates_bundle
  elbv2/client/get_trust_store_revocation_content
  elbv2/client/get_waiter
  elbv2/client/modify_capacity_reservation
  elbv2/client/modify_ip_pools
  elbv2/client/modify_listener
  elbv2/client/modify_listener_attributes
  elbv2/client/modify_load_balancer_attributes
  elbv2/client/modify_rule
  elbv2/client/modify_target_group
  elbv2/client/modify_target_group_attributes
  elbv2/client/modify_trust_store
  elbv2/client/register_targets
  elbv2/client/remove_listener_certificates
  elbv2/client/remove_tags
  elbv2/client/remove_trust_store_revocations
  elbv2/client/set_ip_address_type
  elbv2/client/set_rule_priorities
  elbv2/client/set_security_groups
  elbv2/client/set_subnets


==========
Paginators
==========


Paginators are available on a client instance via the ``get_paginator`` method. For more detailed instructions and examples on the usage of paginators, see the paginators `user guide <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/paginators.html>`_.

The available paginators are:

.. toctree::
  :maxdepth: 1
  :titlesonly:

  elbv2/paginator/DescribeAccountLimits
  elbv2/paginator/DescribeListenerCertificates
  elbv2/paginator/DescribeListeners
  elbv2/paginator/DescribeLoadBalancers
  elbv2/paginator/DescribeRules
  elbv2/paginator/DescribeSSLPolicies
  elbv2/paginator/DescribeTargetGroups
  elbv2/paginator/DescribeTrustStoreAssociations
  elbv2/paginator/DescribeTrustStoreRevocations
  elbv2/paginator/DescribeTrustStores


=======
Waiters
=======


Waiters are available on a client instance via the ``get_waiter`` method. For more detailed instructions and examples on the usage or waiters, see the waiters `user guide <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/clients.html#waiters>`_.

The available waiters are:

.. toctree::
  :maxdepth: 1
  :titlesonly:

  elbv2/waiter/LoadBalancerAvailable
  elbv2/waiter/LoadBalancerExists
  elbv2/waiter/LoadBalancersDeleted
  elbv2/waiter/TargetDeregistered
  elbv2/waiter/TargetInService
