Struct aws_sdk_eks::client::fluent_builders::UpdateClusterVersion
source · [−]pub struct UpdateClusterVersion<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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
impl<C, M, R> UpdateClusterVersion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateClusterVersion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateClusterVersionOutput, SdkError<UpdateClusterVersionError>> where
R::Policy: SmithyRetryPolicy<UpdateClusterVersionInputOperationOutputAlias, UpdateClusterVersionOutput, UpdateClusterVersionError, UpdateClusterVersionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateClusterVersionOutput, SdkError<UpdateClusterVersionError>> where
R::Policy: SmithyRetryPolicy<UpdateClusterVersionInputOperationOutputAlias, UpdateClusterVersionOutput, UpdateClusterVersionError, UpdateClusterVersionInputOperationRetryAlias>,
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.
The name of the Amazon EKS cluster to update.
The name of the Amazon EKS cluster to update.
The desired Kubernetes version following a successful update.
The desired Kubernetes version following a successful update.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateClusterVersion<C, M, R>
impl<C, M, R> Send for UpdateClusterVersion<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateClusterVersion<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateClusterVersion<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateClusterVersion<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