#[non_exhaustive]pub enum RequestCertificateError {
    InvalidArnException(InvalidArnException),
    InvalidDomainValidationOptionsException(InvalidDomainValidationOptionsException),
    InvalidParameterException(InvalidParameterException),
    InvalidTagException(InvalidTagException),
    LimitExceededException(LimitExceededException),
    TagPolicyException(TagPolicyException),
    TooManyTagsException(TooManyTagsException),
    Unhandled(Unhandled),
}Expand description
Error type for the RequestCertificateError operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidArnException(InvalidArnException)
The requested Amazon Resource Name (ARN) does not refer to an existing resource.
InvalidDomainValidationOptionsException(InvalidDomainValidationOptionsException)
One or more values in the DomainValidationOption structure is incorrect.
InvalidParameterException(InvalidParameterException)
An input parameter was invalid.
InvalidTagException(InvalidTagException)
One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.
LimitExceededException(LimitExceededException)
An ACM quota has been exceeded.
TagPolicyException(TagPolicyException)
A specified tag did not comply with an existing tag policy and was rejected.
TooManyTagsException(TooManyTagsException)
The request contains too many tags. Try the request again with fewer tags.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Implementations§
source§impl RequestCertificateError
 
impl RequestCertificateError
sourcepub fn unhandled(err: impl Into<Box<dyn Error + Send + Sync + 'static>>) -> Self
 
pub fn unhandled(err: impl Into<Box<dyn Error + Send + Sync + 'static>>) -> Self
Creates the RequestCertificateError::Unhandled variant from any error type.
sourcepub fn generic(err: ErrorMetadata) -> Self
 
pub fn generic(err: ErrorMetadata) -> Self
Creates the RequestCertificateError::Unhandled variant from a ::aws_smithy_types::error::ErrorMetadata.
sourcepub fn meta(&self) -> &ErrorMetadata
 
pub fn meta(&self) -> &ErrorMetadata
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
sourcepub fn is_invalid_arn_exception(&self) -> bool
 
pub fn is_invalid_arn_exception(&self) -> bool
Returns true if the error kind is RequestCertificateError::InvalidArnException.
sourcepub fn is_invalid_domain_validation_options_exception(&self) -> bool
 
pub fn is_invalid_domain_validation_options_exception(&self) -> bool
Returns true if the error kind is RequestCertificateError::InvalidDomainValidationOptionsException.
sourcepub fn is_invalid_parameter_exception(&self) -> bool
 
pub fn is_invalid_parameter_exception(&self) -> bool
Returns true if the error kind is RequestCertificateError::InvalidParameterException.
sourcepub fn is_invalid_tag_exception(&self) -> bool
 
pub fn is_invalid_tag_exception(&self) -> bool
Returns true if the error kind is RequestCertificateError::InvalidTagException.
sourcepub fn is_limit_exceeded_exception(&self) -> bool
 
pub fn is_limit_exceeded_exception(&self) -> bool
Returns true if the error kind is RequestCertificateError::LimitExceededException.
sourcepub fn is_tag_policy_exception(&self) -> bool
 
pub fn is_tag_policy_exception(&self) -> bool
Returns true if the error kind is RequestCertificateError::TagPolicyException.
Returns true if the error kind is RequestCertificateError::TooManyTagsException.
Trait Implementations§
source§impl CreateUnhandledError for RequestCertificateError
 
impl CreateUnhandledError for RequestCertificateError
source§fn create_unhandled_error(
    source: Box<dyn Error + Send + Sync + 'static>,
    meta: Option<ErrorMetadata>
) -> Self
 
fn create_unhandled_error( source: Box<dyn Error + Send + Sync + 'static>, meta: Option<ErrorMetadata> ) -> Self
source and error metadata.source§impl Debug for RequestCertificateError
 
impl Debug for RequestCertificateError
source§impl Display for RequestCertificateError
 
impl Display for RequestCertificateError
source§impl Error for RequestCertificateError
 
impl Error for RequestCertificateError
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<RequestCertificateError> for Error
 
impl From<RequestCertificateError> for Error
source§fn from(err: RequestCertificateError) -> Self
 
fn from(err: RequestCertificateError) -> Self
source§impl ProvideErrorMetadata for RequestCertificateError
 
impl ProvideErrorMetadata for RequestCertificateError
source§fn meta(&self) -> &ErrorMetadata
 
fn meta(&self) -> &ErrorMetadata
source§impl RequestId for RequestCertificateError
 
impl RequestId for RequestCertificateError
source§fn request_id(&self) -> Option<&str>
 
fn request_id(&self) -> Option<&str>
None if the service could not be reached.