#[non_exhaustive]
pub enum CreateGrantErrorKind {
AccessDeniedException(AccessDeniedException),
AuthorizationException(AuthorizationException),
InvalidParameterValueException(InvalidParameterValueException),
RateLimitExceededException(RateLimitExceededException),
ResourceLimitExceededException(ResourceLimitExceededException),
ServerInternalException(ServerInternalException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the CreateGrant operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
Access to resource denied.
AuthorizationException(AuthorizationException)
The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
InvalidParameterValueException(InvalidParameterValueException)
One or more parameter values are not valid.
RateLimitExceededException(RateLimitExceededException)
Too many requests have been submitted. Try again after a brief wait.
ResourceLimitExceededException(ResourceLimitExceededException)
Your resource limits have been exceeded.
ServerInternalException(ServerInternalException)
The server experienced an internal error. Try again.
ValidationException(ValidationException)
The provided input is not valid. Try your request again.
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 CreateGrantErrorKind
impl Send for CreateGrantErrorKind
impl Sync for CreateGrantErrorKind
impl Unpin for CreateGrantErrorKind
impl !UnwindSafe for CreateGrantErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more