Struct aws_sdk_eks::model::ErrorDetail
source · [−]#[non_exhaustive]pub struct ErrorDetail {
pub error_code: Option<ErrorCode>,
pub error_message: Option<String>,
pub resource_ids: Option<Vec<String>>,
}
Expand description
An object representing an error when an asynchronous operation fails.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.error_code: 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.
error_message: Option<String>
A more complete description of the error.
resource_ids: Option<Vec<String>>
An optional field that contains the resource IDs associated with the error.
Implementations
sourceimpl 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.
sourceimpl ErrorDetail
impl ErrorDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ErrorDetail
Trait Implementations
sourceimpl Clone for ErrorDetail
impl Clone for ErrorDetail
sourcefn clone(&self) -> ErrorDetail
fn clone(&self) -> ErrorDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ErrorDetail
impl Debug for ErrorDetail
sourceimpl PartialEq<ErrorDetail> for ErrorDetail
impl PartialEq<ErrorDetail> for ErrorDetail
sourcefn eq(&self, other: &ErrorDetail) -> bool
fn eq(&self, other: &ErrorDetail) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ErrorDetail) -> bool
fn ne(&self, other: &ErrorDetail) -> bool
This method tests for !=
.
impl StructuralPartialEq for ErrorDetail
Auto Trait Implementations
impl RefUnwindSafe for ErrorDetail
impl Send for ErrorDetail
impl Sync for ErrorDetail
impl Unpin for ErrorDetail
impl UnwindSafe for ErrorDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more