pub struct DeleteTargetGroup { /* 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 DeleteTargetGroup
impl DeleteTargetGroup
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 DeleteTargetGroup
impl Clone for DeleteTargetGroup
source§fn clone(&self) -> DeleteTargetGroup
fn clone(&self) -> DeleteTargetGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more