Enum aws_sdk_grafana::Error
source · #[non_exhaustive]pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccessDeniedException(AccessDeniedException)
You do not have sufficient permissions to perform this action.
ConflictException(ConflictException)
A resource was in an inconsistent state during an update or a deletion.
InternalServerException(InternalServerException)
Unexpected error while processing the request. Retry the request.
ResourceNotFoundException(ResourceNotFoundException)
The request references a resource that does not exist.
ServiceQuotaExceededException(ServiceQuotaExceededException)
The request would cause a service quota to be exceeded.
ThrottlingException(ThrottlingException)
The request was denied because of request throttling. Retry the request.
ValidationException(ValidationException)
The value of a parameter in the request caused an error.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AssociateLicenseError> for Error
impl From<AssociateLicenseError> for Error
source§fn from(err: AssociateLicenseError) -> Self
fn from(err: AssociateLicenseError) -> Self
Converts to this type from the input type.
source§impl From<CreateWorkspaceApiKeyError> for Error
impl From<CreateWorkspaceApiKeyError> for Error
source§fn from(err: CreateWorkspaceApiKeyError) -> Self
fn from(err: CreateWorkspaceApiKeyError) -> Self
Converts to this type from the input type.
source§impl From<CreateWorkspaceError> for Error
impl From<CreateWorkspaceError> for Error
source§fn from(err: CreateWorkspaceError) -> Self
fn from(err: CreateWorkspaceError) -> Self
Converts to this type from the input type.
source§impl From<DeleteWorkspaceApiKeyError> for Error
impl From<DeleteWorkspaceApiKeyError> for Error
source§fn from(err: DeleteWorkspaceApiKeyError) -> Self
fn from(err: DeleteWorkspaceApiKeyError) -> Self
Converts to this type from the input type.
source§impl From<DeleteWorkspaceError> for Error
impl From<DeleteWorkspaceError> for Error
source§fn from(err: DeleteWorkspaceError) -> Self
fn from(err: DeleteWorkspaceError) -> Self
Converts to this type from the input type.
source§impl From<DescribeWorkspaceAuthenticationError> for Error
impl From<DescribeWorkspaceAuthenticationError> for Error
source§fn from(err: DescribeWorkspaceAuthenticationError) -> Self
fn from(err: DescribeWorkspaceAuthenticationError) -> Self
Converts to this type from the input type.
source§impl From<DescribeWorkspaceConfigurationError> for Error
impl From<DescribeWorkspaceConfigurationError> for Error
source§fn from(err: DescribeWorkspaceConfigurationError) -> Self
fn from(err: DescribeWorkspaceConfigurationError) -> Self
Converts to this type from the input type.
source§impl From<DescribeWorkspaceError> for Error
impl From<DescribeWorkspaceError> for Error
source§fn from(err: DescribeWorkspaceError) -> Self
fn from(err: DescribeWorkspaceError) -> Self
Converts to this type from the input type.
source§impl From<DisassociateLicenseError> for Error
impl From<DisassociateLicenseError> for Error
source§fn from(err: DisassociateLicenseError) -> Self
fn from(err: DisassociateLicenseError) -> Self
Converts to this type from the input type.
source§impl From<ListPermissionsError> for Error
impl From<ListPermissionsError> for Error
source§fn from(err: ListPermissionsError) -> Self
fn from(err: ListPermissionsError) -> Self
Converts to this type from the input type.
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
Converts to this type from the input type.
source§impl From<ListVersionsError> for Error
impl From<ListVersionsError> for Error
source§fn from(err: ListVersionsError) -> Self
fn from(err: ListVersionsError) -> Self
Converts to this type from the input type.
source§impl From<ListWorkspacesError> for Error
impl From<ListWorkspacesError> for Error
source§fn from(err: ListWorkspacesError) -> Self
fn from(err: ListWorkspacesError) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<AssociateLicenseError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateLicenseError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<AssociateLicenseError, R>) -> Self
fn from(err: SdkError<AssociateLicenseError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreateWorkspaceApiKeyError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateWorkspaceApiKeyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<CreateWorkspaceApiKeyError, R>) -> Self
fn from(err: SdkError<CreateWorkspaceApiKeyError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreateWorkspaceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateWorkspaceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<CreateWorkspaceError, R>) -> Self
fn from(err: SdkError<CreateWorkspaceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteWorkspaceApiKeyError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteWorkspaceApiKeyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DeleteWorkspaceApiKeyError, R>) -> Self
fn from(err: SdkError<DeleteWorkspaceApiKeyError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteWorkspaceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteWorkspaceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DeleteWorkspaceError, R>) -> Self
fn from(err: SdkError<DeleteWorkspaceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DescribeWorkspaceAuthenticationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeWorkspaceAuthenticationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DescribeWorkspaceAuthenticationError, R>) -> Self
fn from(err: SdkError<DescribeWorkspaceAuthenticationError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DescribeWorkspaceConfigurationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeWorkspaceConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DescribeWorkspaceConfigurationError, R>) -> Self
fn from(err: SdkError<DescribeWorkspaceConfigurationError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DescribeWorkspaceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeWorkspaceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DescribeWorkspaceError, R>) -> Self
fn from(err: SdkError<DescribeWorkspaceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DisassociateLicenseError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateLicenseError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DisassociateLicenseError, R>) -> Self
fn from(err: SdkError<DisassociateLicenseError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListPermissionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPermissionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListPermissionsError, R>) -> Self
fn from(err: SdkError<ListPermissionsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListVersionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListVersionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListVersionsError, R>) -> Self
fn from(err: SdkError<ListVersionsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListWorkspacesError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListWorkspacesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListWorkspacesError, R>) -> Self
fn from(err: SdkError<ListWorkspacesError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<TagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdatePermissionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdatePermissionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdatePermissionsError, R>) -> Self
fn from(err: SdkError<UpdatePermissionsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateWorkspaceAuthenticationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateWorkspaceAuthenticationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdateWorkspaceAuthenticationError, R>) -> Self
fn from(err: SdkError<UpdateWorkspaceAuthenticationError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateWorkspaceConfigurationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateWorkspaceConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdateWorkspaceConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateWorkspaceConfigurationError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateWorkspaceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateWorkspaceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdateWorkspaceError, R>) -> Self
fn from(err: SdkError<UpdateWorkspaceError, R>) -> Self
Converts to this type from the input type.
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UpdatePermissionsError> for Error
impl From<UpdatePermissionsError> for Error
source§fn from(err: UpdatePermissionsError) -> Self
fn from(err: UpdatePermissionsError) -> Self
Converts to this type from the input type.
source§impl From<UpdateWorkspaceAuthenticationError> for Error
impl From<UpdateWorkspaceAuthenticationError> for Error
source§fn from(err: UpdateWorkspaceAuthenticationError) -> Self
fn from(err: UpdateWorkspaceAuthenticationError) -> Self
Converts to this type from the input type.
source§impl From<UpdateWorkspaceConfigurationError> for Error
impl From<UpdateWorkspaceConfigurationError> for Error
source§fn from(err: UpdateWorkspaceConfigurationError) -> Self
fn from(err: UpdateWorkspaceConfigurationError) -> Self
Converts to this type from the input type.
source§impl From<UpdateWorkspaceError> for Error
impl From<UpdateWorkspaceError> for Error
source§fn from(err: UpdateWorkspaceError) -> Self
fn from(err: UpdateWorkspaceError) -> Self
Converts to this type from the input type.
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more