Enum aws_sdk_fms::Error
source · [−]#[non_exhaustive]
pub enum Error {
InternalErrorException(InternalErrorException),
InvalidInputException(InvalidInputException),
InvalidOperationException(InvalidOperationException),
InvalidTypeException(InvalidTypeException),
LimitExceededException(LimitExceededException),
ResourceNotFoundException(ResourceNotFoundException),
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
InternalErrorException(InternalErrorException)
The operation failed because of a system problem, even though the request was valid. Retry your request.
InvalidInputException(InvalidInputException)
The parameters of the request were invalid.
InvalidOperationException(InvalidOperationException)
The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an AssociateAdminAccount
request for an account ID that was already set as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for Organizations before you can access it.
InvalidTypeException(InvalidTypeException)
The value of the Type
parameter is invalid.
LimitExceededException(LimitExceededException)
The operation exceeds a resource limit, for example, the maximum number of policy
objects that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits in the WAF Developer Guide.
ResourceNotFoundException(ResourceNotFoundException)
The specified resource was not found.
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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<AssociateAdminAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateAdminAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateAdminAccountError, R>) -> Self
fn from(err: SdkError<AssociateAdminAccountError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<AssociateThirdPartyFirewallError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateThirdPartyFirewallError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateThirdPartyFirewallError, R>) -> Self
fn from(err: SdkError<AssociateThirdPartyFirewallError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteAppsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteAppsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteAppsListError, R>) -> Self
fn from(err: SdkError<DeleteAppsListError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteNotificationChannelError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteNotificationChannelError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteNotificationChannelError, R>) -> Self
fn from(err: SdkError<DeleteNotificationChannelError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeletePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeletePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeletePolicyError, R>) -> Self
fn from(err: SdkError<DeletePolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteProtocolsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteProtocolsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteProtocolsListError, R>) -> Self
fn from(err: SdkError<DeleteProtocolsListError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisassociateAdminAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateAdminAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateAdminAccountError, R>) -> Self
fn from(err: SdkError<DisassociateAdminAccountError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisassociateThirdPartyFirewallError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateThirdPartyFirewallError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateThirdPartyFirewallError, R>) -> Self
fn from(err: SdkError<DisassociateThirdPartyFirewallError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetAdminAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetAdminAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetAdminAccountError, R>) -> Self
fn from(err: SdkError<GetAdminAccountError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetAppsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetAppsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetAppsListError, R>) -> Self
fn from(err: SdkError<GetAppsListError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetComplianceDetailError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetComplianceDetailError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetComplianceDetailError, R>) -> Self
fn from(err: SdkError<GetComplianceDetailError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetNotificationChannelError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetNotificationChannelError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetNotificationChannelError, R>) -> Self
fn from(err: SdkError<GetNotificationChannelError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetPolicyError, R>) -> Self
fn from(err: SdkError<GetPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetProtectionStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetProtectionStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetProtectionStatusError, R>) -> Self
fn from(err: SdkError<GetProtectionStatusError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetProtocolsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetProtocolsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetProtocolsListError, R>) -> Self
fn from(err: SdkError<GetProtocolsListError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetThirdPartyFirewallAssociationStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetThirdPartyFirewallAssociationStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetThirdPartyFirewallAssociationStatusError, R>) -> Self
fn from(err: SdkError<GetThirdPartyFirewallAssociationStatusError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetViolationDetailsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetViolationDetailsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetViolationDetailsError, R>) -> Self
fn from(err: SdkError<GetViolationDetailsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListAppsListsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListAppsListsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListAppsListsError, R>) -> Self
fn from(err: SdkError<ListAppsListsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListComplianceStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListComplianceStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListComplianceStatusError, R>) -> Self
fn from(err: SdkError<ListComplianceStatusError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListMemberAccountsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListMemberAccountsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListMemberAccountsError, R>) -> Self
fn from(err: SdkError<ListMemberAccountsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPoliciesError, R>) -> Self
fn from(err: SdkError<ListPoliciesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListProtocolsListsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListProtocolsListsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListProtocolsListsError, R>) -> Self
fn from(err: SdkError<ListProtocolsListsError, 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<ListThirdPartyFirewallFirewallPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListThirdPartyFirewallFirewallPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListThirdPartyFirewallFirewallPoliciesError, R>) -> Self
fn from(err: SdkError<ListThirdPartyFirewallFirewallPoliciesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutAppsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutAppsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutAppsListError, R>) -> Self
fn from(err: SdkError<PutAppsListError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutNotificationChannelError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutNotificationChannelError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutNotificationChannelError, R>) -> Self
fn from(err: SdkError<PutNotificationChannelError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutPolicyError, R>) -> Self
fn from(err: SdkError<PutPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutProtocolsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutProtocolsListError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutProtocolsListError, R>) -> Self
fn from(err: SdkError<PutProtocolsListError, 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