Enum aws_sdk_signer::Error
source · #[non_exhaustive]pub enum Error {
AccessDeniedException(AccessDeniedException),
BadRequestException(BadRequestException),
ConflictException(ConflictException),
InternalServiceErrorException(InternalServiceErrorException),
NotFoundException(NotFoundException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceLimitExceededException(ServiceLimitExceededException),
ThrottlingException(ThrottlingException),
TooManyRequestsException(TooManyRequestsException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You do not have sufficient access to perform this action.
BadRequestException(BadRequestException)
The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
ConflictException(ConflictException)
The resource encountered a conflicting state.
InternalServiceErrorException(InternalServiceErrorException)
An internal error occurred.
NotFoundException(NotFoundException)
The signing profile was not found.
ResourceNotFoundException(ResourceNotFoundException)
A specified resource could not be found.
ServiceLimitExceededException(ServiceLimitExceededException)
The client is making a request that exceeds service limits.
ThrottlingException(ThrottlingException)
The request was denied due to request throttling.
Instead of this error, TooManyRequestsException
should be used.
TooManyRequestsException(TooManyRequestsException)
The allowed number of job-signing requests has been exceeded.
This error supersedes the error ThrottlingException
.
ValidationException(ValidationException)
You signing certificate could not be validated.
Unhandled(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.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)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<AddProfilePermissionError> for Error
impl From<AddProfilePermissionError> for Error
source§fn from(err: AddProfilePermissionError) -> Self
fn from(err: AddProfilePermissionError) -> Self
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
source§impl From<CancelSigningProfileError> for Error
impl From<CancelSigningProfileError> for Error
source§fn from(err: CancelSigningProfileError) -> Self
fn from(err: CancelSigningProfileError) -> Self
source§impl From<DescribeSigningJobError> for Error
impl From<DescribeSigningJobError> for Error
source§fn from(err: DescribeSigningJobError) -> Self
fn from(err: DescribeSigningJobError) -> Self
source§impl From<GetRevocationStatusError> for Error
impl From<GetRevocationStatusError> for Error
source§fn from(err: GetRevocationStatusError) -> Self
fn from(err: GetRevocationStatusError) -> Self
source§impl From<GetSigningPlatformError> for Error
impl From<GetSigningPlatformError> for Error
source§fn from(err: GetSigningPlatformError) -> Self
fn from(err: GetSigningPlatformError) -> Self
source§impl From<GetSigningProfileError> for Error
impl From<GetSigningProfileError> for Error
source§fn from(err: GetSigningProfileError) -> Self
fn from(err: GetSigningProfileError) -> Self
source§impl From<ListProfilePermissionsError> for Error
impl From<ListProfilePermissionsError> for Error
source§fn from(err: ListProfilePermissionsError) -> Self
fn from(err: ListProfilePermissionsError) -> Self
source§impl From<ListSigningJobsError> for Error
impl From<ListSigningJobsError> for Error
source§fn from(err: ListSigningJobsError) -> Self
fn from(err: ListSigningJobsError) -> Self
source§impl From<ListSigningPlatformsError> for Error
impl From<ListSigningPlatformsError> for Error
source§fn from(err: ListSigningPlatformsError) -> Self
fn from(err: ListSigningPlatformsError) -> Self
source§impl From<ListSigningProfilesError> for Error
impl From<ListSigningProfilesError> for Error
source§fn from(err: ListSigningProfilesError) -> Self
fn from(err: ListSigningProfilesError) -> Self
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
source§impl From<PutSigningProfileError> for Error
impl From<PutSigningProfileError> for Error
source§fn from(err: PutSigningProfileError) -> Self
fn from(err: PutSigningProfileError) -> Self
source§impl From<RemoveProfilePermissionError> for Error
impl From<RemoveProfilePermissionError> for Error
source§fn from(err: RemoveProfilePermissionError) -> Self
fn from(err: RemoveProfilePermissionError) -> Self
source§impl From<RevokeSignatureError> for Error
impl From<RevokeSignatureError> for Error
source§fn from(err: RevokeSignatureError) -> Self
fn from(err: RevokeSignatureError) -> Self
source§impl From<RevokeSigningProfileError> for Error
impl From<RevokeSigningProfileError> for Error
source§fn from(err: RevokeSigningProfileError) -> Self
fn from(err: RevokeSigningProfileError) -> Self
source§impl<R> From<SdkError<AddProfilePermissionError, R>> for Error
impl<R> From<SdkError<AddProfilePermissionError, R>> for Error
source§fn from(err: SdkError<AddProfilePermissionError, R>) -> Self
fn from(err: SdkError<AddProfilePermissionError, R>) -> Self
source§impl<R> From<SdkError<CancelSigningProfileError, R>> for Error
impl<R> From<SdkError<CancelSigningProfileError, R>> for Error
source§fn from(err: SdkError<CancelSigningProfileError, R>) -> Self
fn from(err: SdkError<CancelSigningProfileError, R>) -> Self
source§impl<R> From<SdkError<DescribeSigningJobError, R>> for Error
impl<R> From<SdkError<DescribeSigningJobError, R>> for Error
source§fn from(err: SdkError<DescribeSigningJobError, R>) -> Self
fn from(err: SdkError<DescribeSigningJobError, R>) -> Self
source§impl<R> From<SdkError<GetRevocationStatusError, R>> for Error
impl<R> From<SdkError<GetRevocationStatusError, R>> for Error
source§fn from(err: SdkError<GetRevocationStatusError, R>) -> Self
fn from(err: SdkError<GetRevocationStatusError, R>) -> Self
source§impl<R> From<SdkError<GetSigningPlatformError, R>> for Error
impl<R> From<SdkError<GetSigningPlatformError, R>> for Error
source§fn from(err: SdkError<GetSigningPlatformError, R>) -> Self
fn from(err: SdkError<GetSigningPlatformError, R>) -> Self
source§impl<R> From<SdkError<GetSigningProfileError, R>> for Error
impl<R> From<SdkError<GetSigningProfileError, R>> for Error
source§fn from(err: SdkError<GetSigningProfileError, R>) -> Self
fn from(err: SdkError<GetSigningProfileError, R>) -> Self
source§impl<R> From<SdkError<ListProfilePermissionsError, R>> for Error
impl<R> From<SdkError<ListProfilePermissionsError, R>> for Error
source§fn from(err: SdkError<ListProfilePermissionsError, R>) -> Self
fn from(err: SdkError<ListProfilePermissionsError, R>) -> Self
source§impl<R> From<SdkError<ListSigningJobsError, R>> for Error
impl<R> From<SdkError<ListSigningJobsError, R>> for Error
source§fn from(err: SdkError<ListSigningJobsError, R>) -> Self
fn from(err: SdkError<ListSigningJobsError, R>) -> Self
source§impl<R> From<SdkError<ListSigningPlatformsError, R>> for Error
impl<R> From<SdkError<ListSigningPlatformsError, R>> for Error
source§fn from(err: SdkError<ListSigningPlatformsError, R>) -> Self
fn from(err: SdkError<ListSigningPlatformsError, R>) -> Self
source§impl<R> From<SdkError<ListSigningProfilesError, R>> for Error
impl<R> From<SdkError<ListSigningProfilesError, R>> for Error
source§fn from(err: SdkError<ListSigningProfilesError, R>) -> Self
fn from(err: SdkError<ListSigningProfilesError, R>) -> Self
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
source§impl<R> From<SdkError<PutSigningProfileError, R>> for Error
impl<R> From<SdkError<PutSigningProfileError, R>> for Error
source§fn from(err: SdkError<PutSigningProfileError, R>) -> Self
fn from(err: SdkError<PutSigningProfileError, R>) -> Self
source§impl<R> From<SdkError<RemoveProfilePermissionError, R>> for Error
impl<R> From<SdkError<RemoveProfilePermissionError, R>> for Error
source§fn from(err: SdkError<RemoveProfilePermissionError, R>) -> Self
fn from(err: SdkError<RemoveProfilePermissionError, R>) -> Self
source§impl<R> From<SdkError<RevokeSignatureError, R>> for Error
impl<R> From<SdkError<RevokeSignatureError, R>> for Error
source§fn from(err: SdkError<RevokeSignatureError, R>) -> Self
fn from(err: SdkError<RevokeSignatureError, R>) -> Self
source§impl<R> From<SdkError<RevokeSigningProfileError, R>> for Error
impl<R> From<SdkError<RevokeSigningProfileError, R>> for Error
source§fn from(err: SdkError<RevokeSigningProfileError, R>) -> Self
fn from(err: SdkError<RevokeSigningProfileError, R>) -> Self
source§impl<R> From<SdkError<SignPayloadError, R>> for Error
impl<R> From<SdkError<SignPayloadError, R>> for Error
source§fn from(err: SdkError<SignPayloadError, R>) -> Self
fn from(err: SdkError<SignPayloadError, R>) -> Self
source§impl<R> From<SdkError<StartSigningJobError, R>> for Error
impl<R> From<SdkError<StartSigningJobError, R>> for Error
source§fn from(err: SdkError<StartSigningJobError, R>) -> Self
fn from(err: SdkError<StartSigningJobError, R>) -> Self
source§impl<R> From<SdkError<TagResourceError, R>> for Error
impl<R> From<SdkError<TagResourceError, R>> for Error
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
source§impl<R> From<SdkError<UntagResourceError, R>> for Error
impl<R> From<SdkError<UntagResourceError, R>> for Error
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
source§impl From<SignPayloadError> for Error
impl From<SignPayloadError> for Error
source§fn from(err: SignPayloadError) -> Self
fn from(err: SignPayloadError) -> Self
source§impl From<StartSigningJobError> for Error
impl From<StartSigningJobError> for Error
source§fn from(err: StartSigningJobError) -> Self
fn from(err: StartSigningJobError) -> Self
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more