Enum aws_sdk_acmpca::Error
source · [−]#[non_exhaustive]
pub enum Error {
Show 20 variants
CertificateMismatchException(CertificateMismatchException),
ConcurrentModificationException(ConcurrentModificationException),
InvalidArgsException(InvalidArgsException),
InvalidArnException(InvalidArnException),
InvalidNextTokenException(InvalidNextTokenException),
InvalidPolicyException(InvalidPolicyException),
InvalidRequestException(InvalidRequestException),
InvalidStateException(InvalidStateException),
InvalidTagException(InvalidTagException),
LimitExceededException(LimitExceededException),
LockoutPreventedException(LockoutPreventedException),
MalformedCsrException(MalformedCsrException),
MalformedCertificateException(MalformedCertificateException),
PermissionAlreadyExistsException(PermissionAlreadyExistsException),
RequestAlreadyProcessedException(RequestAlreadyProcessedException),
RequestFailedException(RequestFailedException),
RequestInProgressException(RequestInProgressException),
ResourceNotFoundException(ResourceNotFoundException),
TooManyTagsException(TooManyTagsException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
CertificateMismatchException(CertificateMismatchException)
The certificate authority certificate you are importing does not comply with conditions specified in the certificate that signed it.
ConcurrentModificationException(ConcurrentModificationException)
A previous update to your private CA is still ongoing.
InvalidArgsException(InvalidArgsException)
One or more of the specified arguments was not valid.
InvalidArnException(InvalidArnException)
The requested Amazon Resource Name (ARN) does not refer to an existing resource.
InvalidNextTokenException(InvalidNextTokenException)
The token specified in the NextToken
argument is not valid. Use the token returned from your previous call to ListCertificateAuthorities.
InvalidPolicyException(InvalidPolicyException)
The resource policy is invalid or is missing a required statement. For general information about IAM policy and statement structure, see Overview of JSON Policies.
InvalidRequestException(InvalidRequestException)
The request action cannot be performed or is prohibited.
InvalidStateException(InvalidStateException)
The state of the private CA does not allow this action to occur.
InvalidTagException(InvalidTagException)
The tag associated with the CA is not valid. The invalid argument is contained in the message field.
LimitExceededException(LimitExceededException)
An ACM Private CA quota has been exceeded. See the exception message returned to determine the quota that was exceeded.
LockoutPreventedException(LockoutPreventedException)
The current action was prevented because it would lock the caller out from performing subsequent actions. Verify that the specified parameters would not result in the caller being denied access to the resource.
MalformedCsrException(MalformedCsrException)
The certificate signing request is invalid.
MalformedCertificateException(MalformedCertificateException)
One or more fields in the certificate are invalid.
PermissionAlreadyExistsException(PermissionAlreadyExistsException)
The designated permission has already been given to the user.
RequestAlreadyProcessedException(RequestAlreadyProcessedException)
Your request has already been completed.
RequestFailedException(RequestFailedException)
The request has failed for an unspecified reason.
RequestInProgressException(RequestInProgressException)
Your request is already in progress.
ResourceNotFoundException(ResourceNotFoundException)
A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot be found.
TooManyTagsException(TooManyTagsException)
You can associate up to 50 tags with a private CA. Exception information is contained in the exception message field.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<CreateCertificateAuthorityAuditReportError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateCertificateAuthorityAuditReportError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateCertificateAuthorityAuditReportError, R>) -> Self
fn from(err: SdkError<CreateCertificateAuthorityAuditReportError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateCertificateAuthorityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateCertificateAuthorityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateCertificateAuthorityError, R>) -> Self
fn from(err: SdkError<CreateCertificateAuthorityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreatePermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreatePermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreatePermissionError, R>) -> Self
fn from(err: SdkError<CreatePermissionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteCertificateAuthorityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteCertificateAuthorityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteCertificateAuthorityError, R>) -> Self
fn from(err: SdkError<DeleteCertificateAuthorityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeletePermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeletePermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeletePermissionError, R>) -> Self
fn from(err: SdkError<DeletePermissionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeletePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeletePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeletePolicyError, R>) -> Self
fn from(err: SdkError<DeletePolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeCertificateAuthorityAuditReportError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeCertificateAuthorityAuditReportError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeCertificateAuthorityAuditReportError, R>) -> Self
fn from(err: SdkError<DescribeCertificateAuthorityAuditReportError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeCertificateAuthorityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeCertificateAuthorityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeCertificateAuthorityError, R>) -> Self
fn from(err: SdkError<DescribeCertificateAuthorityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetCertificateAuthorityCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCertificateAuthorityCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCertificateAuthorityCertificateError, R>) -> Self
fn from(err: SdkError<GetCertificateAuthorityCertificateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetCertificateAuthorityCsrError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCertificateAuthorityCsrError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCertificateAuthorityCsrError, R>) -> Self
fn from(err: SdkError<GetCertificateAuthorityCsrError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCertificateError, R>) -> Self
fn from(err: SdkError<GetCertificateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetPolicyError, R>) -> Self
fn from(err: SdkError<GetPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ImportCertificateAuthorityCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ImportCertificateAuthorityCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ImportCertificateAuthorityCertificateError, R>) -> Self
fn from(err: SdkError<ImportCertificateAuthorityCertificateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<IssueCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<IssueCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<IssueCertificateError, R>) -> Self
fn from(err: SdkError<IssueCertificateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListCertificateAuthoritiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListCertificateAuthoritiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListCertificateAuthoritiesError, R>) -> Self
fn from(err: SdkError<ListCertificateAuthoritiesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPermissionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPermissionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPermissionsError, R>) -> Self
fn from(err: SdkError<ListPermissionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsError, R>) -> Self
fn from(err: SdkError<ListTagsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutPolicyError, R>) -> Self
fn from(err: SdkError<PutPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RestoreCertificateAuthorityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RestoreCertificateAuthorityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RestoreCertificateAuthorityError, R>) -> Self
fn from(err: SdkError<RestoreCertificateAuthorityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RevokeCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RevokeCertificateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RevokeCertificateError, R>) -> Self
fn from(err: SdkError<RevokeCertificateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TagCertificateAuthorityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagCertificateAuthorityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagCertificateAuthorityError, R>) -> Self
fn from(err: SdkError<TagCertificateAuthorityError, R>) -> 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
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