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
sourceimpl UpdateNodegroupConfig
impl UpdateNodegroupConfig
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
sourceimpl Clone for UpdateNodegroupConfig
impl Clone for UpdateNodegroupConfig
sourcefn clone(&self) -> UpdateNodegroupConfig
fn clone(&self) -> UpdateNodegroupConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for UpdateNodegroupConfig
impl Send for UpdateNodegroupConfig
impl Sync for UpdateNodegroupConfig
impl Unpin for UpdateNodegroupConfig
impl !UnwindSafe for UpdateNodegroupConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more