ElasticLoadBalancingv2 / Client / modify_ip_pools

modify_ip_pools#

ElasticLoadBalancingv2.Client.modify_ip_pools(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.modify_ip_pools(
    LoadBalancerArn='string',
    IpamPools={
        'Ipv4IpamPoolId': 'string'
    },
    RemoveIpamPools=[
        'ipv4',
    ]
)
Parameters:
  • LoadBalancerArn (string) –

    [REQUIRED]

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

  • IpamPools (dict) –

    The IPAM pools to be modified.

    • Ipv4IpamPoolId (string) –

      The ID of the IPv4 IPAM pool.

  • RemoveIpamPools (list) –

    Remove the IP pools in use by the load balancer.

    • (string) –

Return type:

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