Struct aws_sdk_eks::client::fluent_builders::DeleteCluster
source · [−]pub struct DeleteCluster<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteCluster
.
Deletes the Amazon EKS cluster control plane.
If you have active services in your cluster that are associated with a load balancer, you must delete those services before deleting the cluster so that the load balancers are deleted properly. Otherwise, you can have orphaned resources in your VPC that prevent you from being able to delete the VPC. For more information, see Deleting a Cluster in the Amazon EKS User Guide.
If you have managed node groups or Fargate profiles attached to the cluster, you must delete them first. For more information, see DeleteNodegroup
and DeleteFargateProfile
.
Implementations
impl<C, M, R> DeleteCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteClusterOutput, SdkError<DeleteClusterError>> where
R::Policy: SmithyRetryPolicy<DeleteClusterInputOperationOutputAlias, DeleteClusterOutput, DeleteClusterError, DeleteClusterInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteClusterOutput, SdkError<DeleteClusterError>> where
R::Policy: SmithyRetryPolicy<DeleteClusterInputOperationOutputAlias, DeleteClusterOutput, DeleteClusterError, DeleteClusterInputOperationRetryAlias>,
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteCluster<C, M, R>
impl<C, M, R> Unpin for DeleteCluster<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteCluster<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more