Struct aws_sdk_eks::client::fluent_builders::RegisterCluster
source · [−]pub struct RegisterCluster<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to RegisterCluster
.
Connects a Kubernetes cluster to the Amazon EKS control plane.
Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.
Cluster connection requires two steps. First, send a
to add it to the Amazon EKS control plane.RegisterClusterRequest
Second, a Manifest containing the activationID
and activationCode
must be applied to the Kubernetes cluster through it's native provider to provide visibility.
After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within three days, then the connected cluster will no longer be visible and must be deregistered. See DeregisterCluster
.
Implementations
impl<C, M, R> RegisterCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> RegisterCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<RegisterClusterOutput, SdkError<RegisterClusterError>> where
R::Policy: SmithyRetryPolicy<RegisterClusterInputOperationOutputAlias, RegisterClusterOutput, RegisterClusterError, RegisterClusterInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<RegisterClusterOutput, SdkError<RegisterClusterError>> where
R::Policy: SmithyRetryPolicy<RegisterClusterInputOperationOutputAlias, RegisterClusterOutput, RegisterClusterError, RegisterClusterInputOperationRetryAlias>,
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.
Define a unique name for this cluster for your Region.
Define a unique name for this cluster for your Region.
The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.
The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Cluster tags do not propagate to any other resources associated with the cluster.
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Cluster tags do not propagate to any other resources associated with the cluster.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for RegisterCluster<C, M, R>
impl<C, M, R> Send for RegisterCluster<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for RegisterCluster<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for RegisterCluster<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for RegisterCluster<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