Struct aws_sdk_eks::operation::update_cluster_version::builders::UpdateClusterVersionFluentBuilder
source · pub struct UpdateClusterVersionFluentBuilder { /* 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 UpdateClusterVersionFluentBuilder
impl UpdateClusterVersionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateClusterVersionInputBuilder
pub fn as_input(&self) -> &UpdateClusterVersionInputBuilder
Access the UpdateClusterVersion as a reference.
sourcepub async fn send(
self
) -> Result<UpdateClusterVersionOutput, SdkError<UpdateClusterVersionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateClusterVersionOutput, SdkError<UpdateClusterVersionError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<UpdateClusterVersionOutput, UpdateClusterVersionError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateClusterVersionOutput, UpdateClusterVersionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
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
A 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
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Trait Implementations§
source§impl Clone for UpdateClusterVersionFluentBuilder
impl Clone for UpdateClusterVersionFluentBuilder
source§fn clone(&self) -> UpdateClusterVersionFluentBuilder
fn clone(&self) -> UpdateClusterVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more