pub enum CreatePermissionError {
InvalidArn(String),
InvalidState(String),
LimitExceeded(String),
PermissionAlreadyExists(String),
RequestFailed(String),
ResourceNotFound(String),
}
Expand description
Errors returned by CreatePermission
Variants§
InvalidArn(String)
The requested Amazon Resource Name (ARN) does not refer to an existing resource.
InvalidState(String)
The private CA is in a state during which a report or certificate cannot be generated.
LimitExceeded(String)
An ACM Private CA limit has been exceeded. See the exception message returned to determine the limit that was exceeded.
PermissionAlreadyExists(String)
The designated permission has already been given to the user.
RequestFailed(String)
The request has failed for an unspecified reason.
ResourceNotFound(String)
A resource such as a private CA, S3 bucket, certificate, or audit report cannot be found.
Implementations§
Source§impl CreatePermissionError
impl CreatePermissionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreatePermissionError>
Trait Implementations§
Source§impl Debug for CreatePermissionError
impl Debug for CreatePermissionError
Source§impl Display for CreatePermissionError
impl Display for CreatePermissionError
Source§impl Error for CreatePermissionError
impl Error for CreatePermissionError
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 CreatePermissionError
impl PartialEq for CreatePermissionError
impl StructuralPartialEq for CreatePermissionError
Auto Trait Implementations§
impl Freeze for CreatePermissionError
impl RefUnwindSafe for CreatePermissionError
impl Send for CreatePermissionError
impl Sync for CreatePermissionError
impl Unpin for CreatePermissionError
impl UnwindSafe for CreatePermissionError
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