Struct aws_sdk_eks::client::fluent_builders::UpdateClusterVersion
source · pub struct UpdateClusterVersion { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateClusterVersion
.
Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster continues to function during the update. The response output includes an update ID that you can use to track the status of your cluster update with the DescribeUpdate
API operation.
Cluster updates are asynchronous, and they should finish within a few minutes. During an update, the cluster status moves to UPDATING
(this status transition is eventually consistent). When the update is complete (either Failed
or Successful
), the cluster status moves to Active
.
If your cluster has managed node groups attached to it, all of your node groups’ Kubernetes versions must match the cluster’s Kubernetes version in order to update the cluster to a new Kubernetes version.
Implementations§
source§impl UpdateClusterVersion
impl UpdateClusterVersion
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateClusterVersion, AwsResponseRetryClassifier>, SdkError<UpdateClusterVersionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateClusterVersion, AwsResponseRetryClassifier>, SdkError<UpdateClusterVersionError>>
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<UpdateClusterVersionOutput, SdkError<UpdateClusterVersionError>>
pub async fn send(
self
) -> Result<UpdateClusterVersionOutput, SdkError<UpdateClusterVersionError>>
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Amazon EKS cluster to update.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Amazon EKS cluster to update.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The desired Kubernetes version following a successful update.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The desired Kubernetes version following a successful update.
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 UpdateClusterVersion
impl Clone for UpdateClusterVersion
source§fn clone(&self) -> UpdateClusterVersion
fn clone(&self) -> UpdateClusterVersion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more