Struct aws_sdk_elasticloadbalancingv2::operation::delete_target_group::builders::DeleteTargetGroupFluentBuilder
source · pub struct DeleteTargetGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteTargetGroup
.
Deletes the specified target group.
You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks. Deleting a target group does not affect its registered targets. For example, any EC2 instances continue to run until you stop or terminate them.
Implementations§
source§impl DeleteTargetGroupFluentBuilder
impl DeleteTargetGroupFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteTargetGroup, AwsResponseRetryClassifier>, SdkError<DeleteTargetGroupError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteTargetGroup, AwsResponseRetryClassifier>, SdkError<DeleteTargetGroupError>>
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<DeleteTargetGroupOutput, SdkError<DeleteTargetGroupError>>
pub async fn send( self ) -> Result<DeleteTargetGroupOutput, SdkError<DeleteTargetGroupError>>
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 target_group_arn(self, input: impl Into<String>) -> Self
pub fn target_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the target group.
sourcepub fn set_target_group_arn(self, input: Option<String>) -> Self
pub fn set_target_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the target group.
Trait Implementations§
source§impl Clone for DeleteTargetGroupFluentBuilder
impl Clone for DeleteTargetGroupFluentBuilder
source§fn clone(&self) -> DeleteTargetGroupFluentBuilder
fn clone(&self) -> DeleteTargetGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more