Struct aws_sdk_eks::client::fluent_builders::UpdateNodegroupConfig
source · pub struct UpdateNodegroupConfig { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateNodegroupConfig
.
Updates an Amazon EKS managed node group configuration. Your node group continues to function during the update. The response output includes an update ID that you can use to track the status of your node group update with the DescribeUpdate
API operation. Currently you can update the Kubernetes labels for a node group or the scaling configuration.
Implementations§
source§impl UpdateNodegroupConfig
impl UpdateNodegroupConfig
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateNodegroupConfig, AwsResponseRetryClassifier>, SdkError<UpdateNodegroupConfigError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateNodegroupConfig, AwsResponseRetryClassifier>, SdkError<UpdateNodegroupConfigError>>
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<UpdateNodegroupConfigOutput, SdkError<UpdateNodegroupConfigError>>
pub async fn send(
self
) -> Result<UpdateNodegroupConfigOutput, SdkError<UpdateNodegroupConfigError>>
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 Amazon EKS cluster that the managed node group resides in.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the Amazon EKS cluster that the managed node group resides in.
sourcepub fn nodegroup_name(self, input: impl Into<String>) -> Self
pub fn nodegroup_name(self, input: impl Into<String>) -> Self
The name of the managed node group to update.
sourcepub fn set_nodegroup_name(self, input: Option<String>) -> Self
pub fn set_nodegroup_name(self, input: Option<String>) -> Self
The name of the managed node group to update.
sourcepub fn labels(self, input: UpdateLabelsPayload) -> Self
pub fn labels(self, input: UpdateLabelsPayload) -> Self
The Kubernetes labels to be applied to the nodes in the node group after the update.
sourcepub fn set_labels(self, input: Option<UpdateLabelsPayload>) -> Self
pub fn set_labels(self, input: Option<UpdateLabelsPayload>) -> Self
The Kubernetes labels to be applied to the nodes in the node group after the update.
sourcepub fn taints(self, input: UpdateTaintsPayload) -> Self
pub fn taints(self, input: UpdateTaintsPayload) -> Self
The Kubernetes taints to be applied to the nodes in the node group after the update. For more information, see Node taints on managed node groups.
sourcepub fn set_taints(self, input: Option<UpdateTaintsPayload>) -> Self
pub fn set_taints(self, input: Option<UpdateTaintsPayload>) -> Self
The Kubernetes taints to be applied to the nodes in the node group after the update. For more information, see Node taints on managed node groups.
sourcepub fn scaling_config(self, input: NodegroupScalingConfig) -> Self
pub fn scaling_config(self, input: NodegroupScalingConfig) -> Self
The scaling configuration details for the Auto Scaling group after the update.
sourcepub fn set_scaling_config(self, input: Option<NodegroupScalingConfig>) -> Self
pub fn set_scaling_config(self, input: Option<NodegroupScalingConfig>) -> Self
The scaling configuration details for the Auto Scaling group after the update.
sourcepub fn update_config(self, input: NodegroupUpdateConfig) -> Self
pub fn update_config(self, input: NodegroupUpdateConfig) -> Self
The node group update configuration.
sourcepub fn set_update_config(self, input: Option<NodegroupUpdateConfig>) -> Self
pub fn set_update_config(self, input: Option<NodegroupUpdateConfig>) -> Self
The node group update configuration.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Trait Implementations§
source§impl Clone for UpdateNodegroupConfig
impl Clone for UpdateNodegroupConfig
source§fn clone(&self) -> UpdateNodegroupConfig
fn clone(&self) -> UpdateNodegroupConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more