Enum aws_sdk_networkfirewall::Error
source · [−]#[non_exhaustive]
pub enum Error {
Show 13 variants
InsufficientCapacityException(InsufficientCapacityException),
InternalServerError(InternalServerError),
InvalidOperationException(InvalidOperationException),
InvalidRequestException(InvalidRequestException),
InvalidResourcePolicyException(InvalidResourcePolicyException),
InvalidTokenException(InvalidTokenException),
LimitExceededException(LimitExceededException),
LogDestinationPermissionException(LogDestinationPermissionException),
ResourceNotFoundException(ResourceNotFoundException),
ResourceOwnerCheckException(ResourceOwnerCheckException),
ThrottlingException(ThrottlingException),
UnsupportedOperationException(UnsupportedOperationException),
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
InsufficientCapacityException(InsufficientCapacityException)
AWS doesn't currently have enough available capacity to fulfill your request. Try your request later.
InternalServerError(InternalServerError)
Your request is valid, but Network Firewall couldn’t perform the operation because of a system problem. Retry your request.
InvalidOperationException(InvalidOperationException)
The operation failed because it's not valid. For example, you might have tried to delete a rule group or firewall policy that's in use.
InvalidRequestException(InvalidRequestException)
The operation failed because of a problem with your request. Examples include:
-
You specified an unsupported parameter name or value.
-
You tried to update a property with a value that isn't among the available types.
-
Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.
InvalidResourcePolicyException(InvalidResourcePolicyException)
The policy statement failed validation.
InvalidTokenException(InvalidTokenException)
The token you provided is stale or isn't valid for the operation.
LimitExceededException(LimitExceededException)
Unable to perform the operation because doing so would violate a limit setting.
LogDestinationPermissionException(LogDestinationPermissionException)
Unable to send logs to a configured logging destination.
ResourceNotFoundException(ResourceNotFoundException)
Unable to locate a resource using the parameters that you provided.
ResourceOwnerCheckException(ResourceOwnerCheckException)
Unable to change the resource because your account doesn't own it.
ThrottlingException(ThrottlingException)
Unable to process the request due to throttling limitations.
UnsupportedOperationException(UnsupportedOperationException)
The operation you requested isn't supported by Network Firewall.
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<AssociateFirewallPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateFirewallPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateFirewallPolicyError, R>) -> Self
fn from(err: SdkError<AssociateFirewallPolicyError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<AssociateSubnetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateSubnetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateSubnetsError, R>) -> Self
fn from(err: SdkError<AssociateSubnetsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateFirewallError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateFirewallError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateFirewallError, R>) -> Self
fn from(err: SdkError<CreateFirewallError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateFirewallPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateFirewallPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateFirewallPolicyError, R>) -> Self
fn from(err: SdkError<CreateFirewallPolicyError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateRuleGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateRuleGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateRuleGroupError, R>) -> Self
fn from(err: SdkError<CreateRuleGroupError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteFirewallError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteFirewallError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteFirewallError, R>) -> Self
fn from(err: SdkError<DeleteFirewallError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteFirewallPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteFirewallPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteFirewallPolicyError, R>) -> Self
fn from(err: SdkError<DeleteFirewallPolicyError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteResourcePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteResourcePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteResourcePolicyError, R>) -> Self
fn from(err: SdkError<DeleteResourcePolicyError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteRuleGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteRuleGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteRuleGroupError, R>) -> Self
fn from(err: SdkError<DeleteRuleGroupError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeFirewallError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeFirewallError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeFirewallError, R>) -> Self
fn from(err: SdkError<DescribeFirewallError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeFirewallPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeFirewallPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeFirewallPolicyError, R>) -> Self
fn from(err: SdkError<DescribeFirewallPolicyError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeLoggingConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLoggingConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLoggingConfigurationError, R>) -> Self
fn from(err: SdkError<DescribeLoggingConfigurationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeResourcePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeResourcePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeResourcePolicyError, R>) -> Self
fn from(err: SdkError<DescribeResourcePolicyError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeRuleGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeRuleGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeRuleGroupError, R>) -> Self
fn from(err: SdkError<DescribeRuleGroupError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeRuleGroupMetadataError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeRuleGroupMetadataError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeRuleGroupMetadataError, R>) -> Self
fn from(err: SdkError<DescribeRuleGroupMetadataError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DisassociateSubnetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateSubnetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateSubnetsError, R>) -> Self
fn from(err: SdkError<DisassociateSubnetsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListFirewallPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListFirewallPoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListFirewallPoliciesError, R>) -> Self
fn from(err: SdkError<ListFirewallPoliciesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListFirewallsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListFirewallsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListFirewallsError, R>) -> Self
fn from(err: SdkError<ListFirewallsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListRuleGroupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRuleGroupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListRuleGroupsError, R>) -> Self
fn from(err: SdkError<ListRuleGroupsError, R>) -> Self
Performs the conversion.
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
Performs the conversion.
sourceimpl<R> From<SdkError<PutResourcePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutResourcePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutResourcePolicyError, R>) -> Self
fn from(err: SdkError<PutResourcePolicyError, R>) -> Self
Performs the conversion.
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
Performs the conversion.
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
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateFirewallDeleteProtectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateFirewallDeleteProtectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateFirewallDeleteProtectionError, R>) -> Self
fn from(err: SdkError<UpdateFirewallDeleteProtectionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateFirewallDescriptionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateFirewallDescriptionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateFirewallDescriptionError, R>) -> Self
fn from(err: SdkError<UpdateFirewallDescriptionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateFirewallPolicyChangeProtectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateFirewallPolicyChangeProtectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateFirewallPolicyChangeProtectionError, R>) -> Self
fn from(err: SdkError<UpdateFirewallPolicyChangeProtectionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateFirewallPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateFirewallPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateFirewallPolicyError, R>) -> Self
fn from(err: SdkError<UpdateFirewallPolicyError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateLoggingConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateLoggingConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateLoggingConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateLoggingConfigurationError, R>) -> Self
Performs the conversion.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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