Enum aws_sdk_fms::error::PutPolicyErrorKind
source · [−]#[non_exhaustive]
pub enum PutPolicyErrorKind {
InternalErrorException(InternalErrorException),
InvalidInputException(InvalidInputException),
InvalidOperationException(InvalidOperationException),
InvalidTypeException(InvalidTypeException),
LimitExceededException(LimitExceededException),
ResourceNotFoundException(ResourceNotFoundException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the PutPolicy
operation.
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 unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PutPolicyErrorKind
impl Send for PutPolicyErrorKind
impl Sync for PutPolicyErrorKind
impl Unpin for PutPolicyErrorKind
impl !UnwindSafe for PutPolicyErrorKind
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