#[non_exhaustive]
pub enum UpdateApiKeyErrorKind {
ApiKeyValidityOutOfBoundsException(ApiKeyValidityOutOfBoundsException),
BadRequestException(BadRequestException),
InternalFailureException(InternalFailureException),
LimitExceededException(LimitExceededException),
NotFoundException(NotFoundException),
UnauthorizedException(UnauthorizedException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the UpdateApiKey
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ApiKeyValidityOutOfBoundsException(ApiKeyValidityOutOfBoundsException)
The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey
) or from update (for UpdateApiKey
).
BadRequestException(BadRequestException)
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException(InternalFailureException)
An internal AppSync error occurred. Try your request again.
LimitExceededException(LimitExceededException)
The request exceeded a limit. Try your request again.
NotFoundException(NotFoundException)
The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException(UnauthorizedException)
You aren't authorized to perform this operation.
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 UpdateApiKeyErrorKind
impl Send for UpdateApiKeyErrorKind
impl Sync for UpdateApiKeyErrorKind
impl Unpin for UpdateApiKeyErrorKind
impl !UnwindSafe for UpdateApiKeyErrorKind
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