pub enum CreateCertificateAuthorityError {
InvalidArgs(String),
InvalidPolicy(String),
InvalidTag(String),
LimitExceeded(String),
}
Expand description
Errors returned by CreateCertificateAuthority
Variants§
InvalidArgs(String)
One or more of the specified arguments was not valid.
InvalidPolicy(String)
The S3 bucket policy is not valid. The policy must give ACM Private CA rights to read from and write to the bucket and find the bucket location.
InvalidTag(String)
The tag associated with the CA is not valid. The invalid argument is contained in the message field.
LimitExceeded(String)
An ACM Private CA limit has been exceeded. See the exception message returned to determine the limit that was exceeded.
Implementations§
Trait Implementations§
Source§impl Error for CreateCertificateAuthorityError
impl Error for CreateCertificateAuthorityError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for CreateCertificateAuthorityError
impl PartialEq for CreateCertificateAuthorityError
Source§fn eq(&self, other: &CreateCertificateAuthorityError) -> bool
fn eq(&self, other: &CreateCertificateAuthorityError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateCertificateAuthorityError
Auto Trait Implementations§
impl Freeze for CreateCertificateAuthorityError
impl RefUnwindSafe for CreateCertificateAuthorityError
impl Send for CreateCertificateAuthorityError
impl Sync for CreateCertificateAuthorityError
impl Unpin for CreateCertificateAuthorityError
impl UnwindSafe for CreateCertificateAuthorityError
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