pub enum SendSSHPublicKeyError {
Auth(String),
EC2InstanceNotFound(String),
InvalidArgs(String),
Service(String),
Throttling(String),
}Expand description
Errors returned by SendSSHPublicKey
Variants§
Auth(String)
Indicates that either your AWS credentials are invalid or you do not have access to the EC2 instance.
EC2InstanceNotFound(String)
Indicates that the instance requested was not found in the given zone. Check that you have provided a valid instance ID and the correct zone.
InvalidArgs(String)
Indicates that you provided bad input. Ensure you have a valid instance ID, the correct zone, and a valid SSH public key.
Service(String)
Indicates that the service encountered an error. Follow the message's instructions and try again.
Throttling(String)
Indicates you have been making requests too frequently and have been throttled. Wait for a while and try again. If higher call volume is warranted contact AWS Support.
Implementations§
Source§impl SendSSHPublicKeyError
impl SendSSHPublicKeyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<SendSSHPublicKeyError>
Trait Implementations§
Source§impl Debug for SendSSHPublicKeyError
impl Debug for SendSSHPublicKeyError
Source§impl Display for SendSSHPublicKeyError
impl Display for SendSSHPublicKeyError
Source§impl Error for SendSSHPublicKeyError
impl Error for SendSSHPublicKeyError
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 SendSSHPublicKeyError
impl PartialEq for SendSSHPublicKeyError
impl StructuralPartialEq for SendSSHPublicKeyError
Auto Trait Implementations§
impl Freeze for SendSSHPublicKeyError
impl RefUnwindSafe for SendSSHPublicKeyError
impl Send for SendSSHPublicKeyError
impl Sync for SendSSHPublicKeyError
impl Unpin for SendSSHPublicKeyError
impl UnwindSafe for SendSSHPublicKeyError
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