pub enum ImportSshPublicKeyError {
InternalServiceError(String),
InvalidRequest(String),
ResourceExists(String),
ResourceNotFound(String),
ServiceUnavailable(String),
Throttling(String),
}Expand description
Errors returned by ImportSshPublicKey
Variants§
InternalServiceError(String)
This exception is thrown when an error occurs in the AWS Transfer Family service.
InvalidRequest(String)
This exception is thrown when the client submits a malformed request.
ResourceExists(String)
The requested resource does not exist.
ResourceNotFound(String)
This exception is thrown when a resource is not found by the AWS Transfer Family service.
The request has failed because the AWS Transfer Family service is not available.
Throttling(String)
The request was denied due to request throttling.
HTTP Status Code: 400
Implementations§
Source§impl ImportSshPublicKeyError
impl ImportSshPublicKeyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ImportSshPublicKeyError>
Trait Implementations§
Source§impl Debug for ImportSshPublicKeyError
impl Debug for ImportSshPublicKeyError
Source§impl Display for ImportSshPublicKeyError
impl Display for ImportSshPublicKeyError
Source§impl Error for ImportSshPublicKeyError
impl Error for ImportSshPublicKeyError
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 ImportSshPublicKeyError
impl PartialEq for ImportSshPublicKeyError
impl StructuralPartialEq for ImportSshPublicKeyError
Auto Trait Implementations§
impl Freeze for ImportSshPublicKeyError
impl RefUnwindSafe for ImportSshPublicKeyError
impl Send for ImportSshPublicKeyError
impl Sync for ImportSshPublicKeyError
impl Unpin for ImportSshPublicKeyError
impl UnwindSafe for ImportSshPublicKeyError
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