DetachLoadBalancerTargetGroups
Detaches one or more target groups from the specified Auto Scaling group.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- AutoScalingGroupName
-
The name of the Auto Scaling group.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: Yes
- TargetGroupARNs.member.N
-
The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.
Type: Array of strings
Length Constraints: Minimum length of 1. Maximum length of 511.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: Yes
Errors
For information about the errors that are common to all actions, see Common Errors.
- ResourceContention
-
You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, instance, or load balancer).
HTTP Status Code: 500
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: