:doc:`ElasticLoadBalancingv2 <../../elbv2>` / Client / modify_ip_pools

***************
modify_ip_pools
***************



.. py:method:: ElasticLoadBalancingv2.Client.modify_ip_pools(**kwargs)

  

  [Application Load Balancers] Modify the IP pool associated to a load balancer.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyIpPools>`_  


  **Request Syntax**
  ::

    response = client.modify_ip_pools(
        LoadBalancerArn='string',
        IpamPools={
            'Ipv4IpamPoolId': 'string'
        },
        RemoveIpamPools=[
            'ipv4',
        ]
    )
    
  :type LoadBalancerArn: string
  :param LoadBalancerArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the load balancer.

    

  
  :type IpamPools: dict
  :param IpamPools: 

    The IPAM pools to be modified.

    

  
    - **Ipv4IpamPoolId** *(string) --* 

      The ID of the IPv4 IPAM pool.

      

    
  
  :type RemoveIpamPools: list
  :param RemoveIpamPools: 

    Remove the IP pools in use by the load balancer.

    

  
    - *(string) --* 

    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'IpamPools': {
              'Ipv4IpamPoolId': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **IpamPools** *(dict) --* 

        The IPAM pool ID.

        
        

        - **Ipv4IpamPoolId** *(string) --* 

          The ID of the IPv4 IPAM pool.

          
    
  
  **Exceptions**
  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.LoadBalancerNotFoundException`

  