Struct aws_sdk_eks::model::ErrorDetail
source · #[non_exhaustive]pub struct ErrorDetail { /* private fields */ }
Expand description
An object representing an error when an asynchronous operation fails.
Implementations§
source§impl ErrorDetail
impl ErrorDetail
sourcepub fn error_code(&self) -> Option<&ErrorCode>
pub fn error_code(&self) -> Option<&ErrorCode>
A brief description of the error.
-
SubnetNotFound: We couldn't find one of the subnets associated with the cluster.
-
SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster.
-
EniLimitReached: You have reached the elastic network interface limit for your account.
-
IpNotAvailable: A subnet associated with the cluster doesn't have any free IP addresses.
-
AccessDenied: You don't have permissions to perform the specified operation.
-
OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS.
-
VpcIdNotFound: We couldn't find the VPC associated with the cluster.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
A more complete description of the error.
sourcepub fn resource_ids(&self) -> Option<&[String]>
pub fn resource_ids(&self) -> Option<&[String]>
An optional field that contains the resource IDs associated with the error.
source§impl ErrorDetail
impl ErrorDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ErrorDetail
.
Trait Implementations§
source§impl Clone for ErrorDetail
impl Clone for ErrorDetail
source§fn clone(&self) -> ErrorDetail
fn clone(&self) -> ErrorDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ErrorDetail
impl Debug for ErrorDetail
source§impl PartialEq<ErrorDetail> for ErrorDetail
impl PartialEq<ErrorDetail> for ErrorDetail
source§fn eq(&self, other: &ErrorDetail) -> bool
fn eq(&self, other: &ErrorDetail) -> bool
self
and other
values to be equal, and is used
by ==
.