Enum aws_sdk_eks::Error

source ·
#[non_exhaustive]
pub enum Error {
Show 14 variants AccessDeniedException(AccessDeniedException), BadRequestException(BadRequestException), ClientException(ClientException), InvalidParameterException(InvalidParameterException), InvalidRequestException(InvalidRequestException), NotFoundException(NotFoundException), ResourceInUseException(ResourceInUseException), ResourceLimitExceededException(ResourceLimitExceededException), ResourceNotFoundException(ResourceNotFoundException), ResourcePropagationDelayException(ResourcePropagationDelayException), ServerException(ServerException), ServiceUnavailableException(ServiceUnavailableException), UnsupportedAvailabilityZoneException(UnsupportedAvailabilityZoneException), Unhandled(Unhandled),
}
Expand description

All possible error types for this service.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

AccessDeniedException(AccessDeniedException)

You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

§

BadRequestException(BadRequestException)

This exception is thrown if the request contains a semantic error. The precise meaning will depend on the API, and will be documented in the error message.

§

ClientException(ClientException)

These errors are usually caused by a client action. Actions can include using an action or resource on behalf of a user that doesn't have permissions to use the action or resource or specifying an identifier that is not valid.

§

InvalidParameterException(InvalidParameterException)

The specified parameter is invalid. Review the available parameters for the API request.

§

InvalidRequestException(InvalidRequestException)

The request is invalid given the state of the cluster. Check the state of the cluster and the associated operations.

§

NotFoundException(NotFoundException)

A service resource associated with the request could not be found. Clients should not retry such requests.

§

ResourceInUseException(ResourceInUseException)

The specified resource is in use.

§

ResourceLimitExceededException(ResourceLimitExceededException)

You have encountered a service limit on the specified resource.

§

ResourceNotFoundException(ResourceNotFoundException)

The specified resource could not be found. You can view your available clusters with ListClusters. You can view your available managed node groups with ListNodegroups. Amazon EKS clusters and node groups are Region-specific.

§

ResourcePropagationDelayException(ResourcePropagationDelayException)

Required resources (such as service-linked roles) were created and are still propagating. Retry later.

§

ServerException(ServerException)

These errors are usually caused by a server-side issue.

§

ServiceUnavailableException(ServiceUnavailableException)

The service is unavailable. Back off and retry the operation.

§

UnsupportedAvailabilityZoneException(UnsupportedAvailabilityZoneException)

At least one of your specified cluster subnets is in an Availability Zone that does not support Amazon EKS. The exception output specifies the supported Availability Zones for your account, from which you can choose subnets for your cluster.

§

Unhandled(Unhandled)

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AssociateEncryptionConfigError> for Error

source§

fn from(err: AssociateEncryptionConfigError) -> Self

Converts to this type from the input type.
source§

impl From<AssociateIdentityProviderConfigError> for Error

source§

fn from(err: AssociateIdentityProviderConfigError) -> Self

Converts to this type from the input type.
source§

impl From<CreateAddonError> for Error

source§

fn from(err: CreateAddonError) -> Self

Converts to this type from the input type.
source§

impl From<CreateClusterError> for Error

source§

fn from(err: CreateClusterError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFargateProfileError> for Error

source§

fn from(err: CreateFargateProfileError) -> Self

Converts to this type from the input type.
source§

impl From<CreateNodegroupError> for Error

source§

fn from(err: CreateNodegroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAddonError> for Error

source§

fn from(err: DeleteAddonError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteClusterError> for Error

source§

fn from(err: DeleteClusterError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFargateProfileError> for Error

source§

fn from(err: DeleteFargateProfileError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteNodegroupError> for Error

source§

fn from(err: DeleteNodegroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeregisterClusterError> for Error

source§

fn from(err: DeregisterClusterError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeAddonConfigurationError> for Error

source§

fn from(err: DescribeAddonConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeAddonError> for Error

source§

fn from(err: DescribeAddonError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeAddonVersionsError> for Error

source§

fn from(err: DescribeAddonVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeClusterError> for Error

source§

fn from(err: DescribeClusterError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeFargateProfileError> for Error

source§

fn from(err: DescribeFargateProfileError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeIdentityProviderConfigError> for Error

source§

fn from(err: DescribeIdentityProviderConfigError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeNodegroupError> for Error

source§

fn from(err: DescribeNodegroupError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeUpdateError> for Error

source§

fn from(err: DescribeUpdateError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateIdentityProviderConfigError> for Error

source§

fn from(err: DisassociateIdentityProviderConfigError) -> Self

Converts to this type from the input type.
source§

impl From<ListAddonsError> for Error

source§

fn from(err: ListAddonsError) -> Self

Converts to this type from the input type.
source§

impl From<ListClustersError> for Error

source§

fn from(err: ListClustersError) -> Self

Converts to this type from the input type.
source§

impl From<ListFargateProfilesError> for Error

source§

fn from(err: ListFargateProfilesError) -> Self

Converts to this type from the input type.
source§

impl From<ListIdentityProviderConfigsError> for Error

source§

fn from(err: ListIdentityProviderConfigsError) -> Self

Converts to this type from the input type.
source§

impl From<ListNodegroupsError> for Error

source§

fn from(err: ListNodegroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsForResourceError> for Error

source§

fn from(err: ListTagsForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<ListUpdatesError> for Error

source§

fn from(err: ListUpdatesError) -> Self

Converts to this type from the input type.
source§

impl From<RegisterClusterError> for Error

source§

fn from(err: RegisterClusterError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AssociateEncryptionConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AssociateEncryptionConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AssociateIdentityProviderConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AssociateIdentityProviderConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateAddonError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateAddonError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateClusterError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateFargateProfileError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateFargateProfileError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateNodegroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateNodegroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteAddonError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteAddonError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteClusterError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteFargateProfileError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteFargateProfileError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteNodegroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteNodegroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeregisterClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeregisterClusterError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeAddonConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeAddonConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeAddonError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeAddonError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeAddonVersionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeAddonVersionsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeClusterError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeFargateProfileError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeFargateProfileError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeIdentityProviderConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeIdentityProviderConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeNodegroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeNodegroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeUpdateError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeUpdateError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DisassociateIdentityProviderConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DisassociateIdentityProviderConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListAddonsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListAddonsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListClustersError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListClustersError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListFargateProfilesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListFargateProfilesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListIdentityProviderConfigsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListIdentityProviderConfigsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListNodegroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListNodegroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListTagsForResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListUpdatesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListUpdatesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RegisterClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RegisterClusterError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<TagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UntagResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UntagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateAddonError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateAddonError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateClusterConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateClusterConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateClusterVersionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateClusterVersionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateNodegroupConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateNodegroupConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateNodegroupVersionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateNodegroupVersionError, R>) -> Self

Converts to this type from the input type.
source§

impl From<TagResourceError> for Error

source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateAddonError> for Error

source§

fn from(err: UpdateAddonError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateClusterConfigError> for Error

source§

fn from(err: UpdateClusterConfigError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateClusterVersionError> for Error

source§

fn from(err: UpdateClusterVersionError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateNodegroupConfigError> for Error

source§

fn from(err: UpdateNodegroupConfigError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateNodegroupVersionError> for Error

source§

fn from(err: UpdateNodegroupVersionError) -> Self

Converts to this type from the input type.
source§

impl RequestId for Error

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more