Struct aws_sdk_eks::client::fluent_builders::DeleteAddon
source · pub struct DeleteAddon { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteAddon
.
Delete an Amazon EKS add-on.
When you remove the add-on, it will also be deleted from the cluster. You can always manually start an add-on on the cluster using the Kubernetes API.
Implementations§
source§impl DeleteAddon
impl DeleteAddon
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteAddon, AwsResponseRetryClassifier>, SdkError<DeleteAddonError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteAddon, AwsResponseRetryClassifier>, SdkError<DeleteAddonError>>
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<DeleteAddonOutput, SdkError<DeleteAddonError>>
pub async fn send(self) -> Result<DeleteAddonOutput, SdkError<DeleteAddonError>>
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 cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster to delete the add-on from.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster to delete the add-on from.
sourcepub fn addon_name(self, input: impl Into<String>) -> Self
pub fn addon_name(self, input: impl Into<String>) -> Self
The name of the add-on. The name must match one of the names returned by ListAddons
.
sourcepub fn set_addon_name(self, input: Option<String>) -> Self
pub fn set_addon_name(self, input: Option<String>) -> Self
The name of the add-on. The name must match one of the names returned by ListAddons
.
sourcepub fn preserve(self, input: bool) -> Self
pub fn preserve(self, input: bool) -> Self
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.
sourcepub fn set_preserve(self, input: Option<bool>) -> Self
pub fn set_preserve(self, input: Option<bool>) -> Self
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.
Trait Implementations§
source§impl Clone for DeleteAddon
impl Clone for DeleteAddon
source§fn clone(&self) -> DeleteAddon
fn clone(&self) -> DeleteAddon
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more