pub enum ListPermissionsError {
InvalidArn(String),
InvalidNextToken(String),
InvalidState(String),
RequestFailed(String),
ResourceNotFound(String),
}
Expand description
Errors returned by ListPermissions
Variants§
InvalidArn(String)
The requested Amazon Resource Name (ARN) does not refer to an existing resource.
InvalidNextToken(String)
The token specified in the NextToken
argument is not valid. Use the token returned from your previous call to ListCertificateAuthorities.
InvalidState(String)
The private CA is in a state during which a report or certificate cannot be generated.
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 ListPermissionsError
impl ListPermissionsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ListPermissionsError>
Trait Implementations§
Source§impl Debug for ListPermissionsError
impl Debug for ListPermissionsError
Source§impl Display for ListPermissionsError
impl Display for ListPermissionsError
Source§impl Error for ListPermissionsError
impl Error for ListPermissionsError
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 ListPermissionsError
impl PartialEq for ListPermissionsError
impl StructuralPartialEq for ListPermissionsError
Auto Trait Implementations§
impl Freeze for ListPermissionsError
impl RefUnwindSafe for ListPermissionsError
impl Send for ListPermissionsError
impl Sync for ListPermissionsError
impl Unpin for ListPermissionsError
impl UnwindSafe for ListPermissionsError
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