pub enum SendSerialConsoleSSHPublicKeyError {
Auth(String),
EC2InstanceNotFound(String),
EC2InstanceTypeInvalid(String),
InvalidArgs(String),
SerialConsoleAccessDisabled(String),
SerialConsoleSessionLimitExceeded(String),
SerialConsoleSessionUnavailable(String),
Service(String),
Throttling(String),
}
Expand description
Errors returned by SendSerialConsoleSSHPublicKey
Variants
Auth(String)
Either your AWS credentials are not valid or you do not have access to the EC2 instance.
EC2InstanceNotFound(String)
The specified instance was not found.
EC2InstanceTypeInvalid(String)
The instance type is not supported for connecting via the serial console. Only Nitro instance types are currently supported.
InvalidArgs(String)
One of the parameters is not valid.
SerialConsoleAccessDisabled(String)
Your account is not authorized to use the EC2 Serial Console. To authorize your account, run the EnableSerialConsoleAccess API. For more information, see EnableSerialConsoleAccess in the Amazon EC2 API Reference.
SerialConsoleSessionLimitExceeded(String)
The instance currently has 1 active serial console session. Only 1 session is supported at a time.
SerialConsoleSessionUnavailable(String)
Unable to start a serial console session. Please try again.
Service(String)
The service encountered an error. Follow the instructions in the error message and try again.
Throttling(String)
The requests were made too frequently and have been throttled. Wait a while and try again. To increase the limit on your request frequency, contact AWS Support.
Implementations
Trait Implementations
sourceimpl Error for SendSerialConsoleSSHPublicKeyError
impl Error for SendSerialConsoleSSHPublicKeyError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<SendSerialConsoleSSHPublicKeyError> for SendSerialConsoleSSHPublicKeyError
impl PartialEq<SendSerialConsoleSSHPublicKeyError> for SendSerialConsoleSSHPublicKeyError
sourcefn eq(&self, other: &SendSerialConsoleSSHPublicKeyError) -> bool
fn eq(&self, other: &SendSerialConsoleSSHPublicKeyError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SendSerialConsoleSSHPublicKeyError) -> bool
fn ne(&self, other: &SendSerialConsoleSSHPublicKeyError) -> bool
This method tests for !=
.
impl StructuralPartialEq for SendSerialConsoleSSHPublicKeyError
Auto Trait Implementations
impl RefUnwindSafe for SendSerialConsoleSSHPublicKeyError
impl Send for SendSerialConsoleSSHPublicKeyError
impl Sync for SendSerialConsoleSSHPublicKeyError
impl Unpin for SendSerialConsoleSSHPublicKeyError
impl UnwindSafe for SendSerialConsoleSSHPublicKeyError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more