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 fn as_input(&self) -> &DeleteTargetGroupInputBuilder
pub fn as_input(&self) -> &DeleteTargetGroupInputBuilder
Access the DeleteTargetGroup as a reference.
sourcepub async fn send(
self
) -> Result<DeleteTargetGroupOutput, SdkError<DeleteTargetGroupError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteTargetGroupOutput, SdkError<DeleteTargetGroupError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<DeleteTargetGroupOutput, DeleteTargetGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteTargetGroupOutput, DeleteTargetGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
sourcepub fn get_target_group_arn(&self) -> &Option<String>
pub fn get_target_group_arn(&self) -> &Option<String>
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