Elastic Load Balancing
API Reference (API Version 2012-06-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

DetachLoadBalancerFromSubnets

Description

Removes subnets from the set of configured subnets in the VPC for the LoadBalancer.

After a subnet is removed all of the EndPoints registered with the LoadBalancer that are in the removed subnet will go into the OutOfService state. When a subnet is removed, the LoadBalancer will balance the traffic among the remaining routable subnets for the LoadBalancer.

Request Parameters

For information about the common parameters that all actions use, see Common Parameters.

LoadBalancerName

The name associated with the LoadBalancer to be detached. The name must be unique within the client AWS account.

Type: String

Required: Yes

Subnets.member.N

A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.

Type: String list

Required: Yes

Response Elements

The following element is returned in a DetachLoadBalancerFromSubnetsResult structure.

Subnets

A list of subnet IDs removed from the configured set of subnets for the LoadBalancer.

Type: String list

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessPointNotFound

The specified LoadBalancer could not be found.

HTTP Status Code: 400

InvalidConfigurationRequest

Requested configuration change is invalid.

HTTP Status Code: 409