pub struct DetachLoadBalancerTargetGroups { /* private fields */ }Expand description
Fluent builder constructing a request to DetachLoadBalancerTargetGroups.
Detaches one or more target groups from the specified Auto Scaling group.
When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeLoadBalancerTargetGroups API call. The instances remain running.
Implementations§
source§impl DetachLoadBalancerTargetGroups
impl DetachLoadBalancerTargetGroups
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DetachLoadBalancerTargetGroups, AwsResponseRetryClassifier>, SdkError<DetachLoadBalancerTargetGroupsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DetachLoadBalancerTargetGroups, AwsResponseRetryClassifier>, SdkError<DetachLoadBalancerTargetGroupsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DetachLoadBalancerTargetGroupsOutput, SdkError<DetachLoadBalancerTargetGroupsError>>
pub async fn send(
self
) -> Result<DetachLoadBalancerTargetGroupsOutput, SdkError<DetachLoadBalancerTargetGroupsError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
pub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
The name of the Auto Scaling group.
sourcepub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
pub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
The name of the Auto Scaling group.
sourcepub fn target_group_ar_ns(self, input: impl Into<String>) -> Self
pub fn target_group_ar_ns(self, input: impl Into<String>) -> Self
Appends an item to TargetGroupARNs.
To override the contents of this collection use set_target_group_ar_ns.
The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.
sourcepub fn set_target_group_ar_ns(self, input: Option<Vec<String>>) -> Self
pub fn set_target_group_ar_ns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.
Trait Implementations§
source§impl Clone for DetachLoadBalancerTargetGroups
impl Clone for DetachLoadBalancerTargetGroups
source§fn clone(&self) -> DetachLoadBalancerTargetGroups
fn clone(&self) -> DetachLoadBalancerTargetGroups
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more