Enum aws_sdk_detective::Error
source · [−]#[non_exhaustive]
pub enum Error {
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
TooManyRequestsException(TooManyRequestsException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ConflictException(ConflictException)
The request attempted an invalid action.
InternalServerException(InternalServerException)
The request was valid but failed because of a problem with the service.
ResourceNotFoundException(ResourceNotFoundException)
The request refers to a nonexistent resource.
ServiceQuotaExceededException(ServiceQuotaExceededException)
This request cannot be completed for one of the following reasons.
-
The request would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1200 member accounts.
-
The request would cause the data rate for the behavior graph to exceed the maximum allowed.
-
Detective is unable to verify the data rate for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.
TooManyRequestsException(TooManyRequestsException)
The request cannot be completed because too many other requests are occurring at the same time.
ValidationException(ValidationException)
The request parameters are invalid.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<AcceptInvitationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AcceptInvitationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AcceptInvitationError, R>) -> Self
fn from(err: SdkError<AcceptInvitationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<BatchGetGraphMemberDatasourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BatchGetGraphMemberDatasourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<BatchGetGraphMemberDatasourcesError, R>) -> Self
fn from(err: SdkError<BatchGetGraphMemberDatasourcesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<BatchGetMembershipDatasourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BatchGetMembershipDatasourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<BatchGetMembershipDatasourcesError, R>) -> Self
fn from(err: SdkError<BatchGetMembershipDatasourcesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateGraphError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateGraphError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateGraphError, R>) -> Self
fn from(err: SdkError<CreateGraphError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateMembersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateMembersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateMembersError, R>) -> Self
fn from(err: SdkError<CreateMembersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteGraphError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteGraphError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteGraphError, R>) -> Self
fn from(err: SdkError<DeleteGraphError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteMembersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteMembersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteMembersError, R>) -> Self
fn from(err: SdkError<DeleteMembersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeOrganizationConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeOrganizationConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeOrganizationConfigurationError, R>) -> Self
fn from(err: SdkError<DescribeOrganizationConfigurationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisableOrganizationAdminAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisableOrganizationAdminAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisableOrganizationAdminAccountError, R>) -> Self
fn from(err: SdkError<DisableOrganizationAdminAccountError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisassociateMembershipError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateMembershipError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateMembershipError, R>) -> Self
fn from(err: SdkError<DisassociateMembershipError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<EnableOrganizationAdminAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<EnableOrganizationAdminAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<EnableOrganizationAdminAccountError, R>) -> Self
fn from(err: SdkError<EnableOrganizationAdminAccountError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetMembersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetMembersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetMembersError, R>) -> Self
fn from(err: SdkError<GetMembersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListDatasourcePackagesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListDatasourcePackagesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListDatasourcePackagesError, R>) -> Self
fn from(err: SdkError<ListDatasourcePackagesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListGraphsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListGraphsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListGraphsError, R>) -> Self
fn from(err: SdkError<ListGraphsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListInvitationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListInvitationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListInvitationsError, R>) -> Self
fn from(err: SdkError<ListInvitationsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListMembersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListMembersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListMembersError, R>) -> Self
fn from(err: SdkError<ListMembersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListOrganizationAdminAccountsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListOrganizationAdminAccountsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListOrganizationAdminAccountsError, R>) -> Self
fn from(err: SdkError<ListOrganizationAdminAccountsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RejectInvitationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RejectInvitationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RejectInvitationError, R>) -> Self
fn from(err: SdkError<RejectInvitationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StartMonitoringMemberError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartMonitoringMemberError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartMonitoringMemberError, R>) -> Self
fn from(err: SdkError<StartMonitoringMemberError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Converts to this type from the input type.
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
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