#[non_exhaustive]
pub enum CreateFirewallPolicyErrorKind {
InsufficientCapacityException(InsufficientCapacityException),
InternalServerError(InternalServerError),
InvalidRequestException(InvalidRequestException),
LimitExceededException(LimitExceededException),
ThrottlingException(ThrottlingException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the CreateFirewallPolicy
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InsufficientCapacityException(InsufficientCapacityException)
Amazon Web Services 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.
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.
LimitExceededException(LimitExceededException)
Unable to perform the operation because doing so would violate a limit setting.
ThrottlingException(ThrottlingException)
Unable to process the request due to throttling limitations.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.