[−][src]Struct rusoto_ec2::StateReason
Describes a state change.
Fields
code: Option<String>
The reason code for the state change.
message: Option<String>
The message for the state change.
-
Server.InsufficientInstanceCapacity
: There was insufficient capacity available to satisfy the launch request. -
Server.InternalError
: An internal error caused the instance to terminate during launch. -
Server.ScheduledStop
: The instance was stopped due to a scheduled retirement. -
Server.SpotInstanceShutdown
: The instance was stopped because the number of Spot requests with a maximum price equal to or higher than the Spot price exceeded available capacity or because of an increase in the Spot price. -
Server.SpotInstanceTermination
: The instance was terminated because the number of Spot requests with a maximum price equal to or higher than the Spot price exceeded available capacity or because of an increase in the Spot price. -
Client.InstanceInitiatedShutdown
: The instance was shut down using theshutdown -h
command from the instance. -
Client.InstanceTerminated
: The instance was terminated or rebooted during AMI creation. -
Client.InternalError
: A client error caused the instance to terminate during launch. -
Client.InvalidSnapshot.NotFound
: The specified snapshot was not found. -
Client.UserInitiatedHibernate
: Hibernation was initiated on the instance. -
Client.UserInitiatedShutdown
: The instance was shut down using the Amazon EC2 API. -
Client.VolumeLimitExceeded
: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your account limits.
Trait Implementations
impl Clone for StateReason
[src]
pub fn clone(&self) -> StateReason
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StateReason
[src]
impl Default for StateReason
[src]
pub fn default() -> StateReason
[src]
impl PartialEq<StateReason> for StateReason
[src]
pub fn eq(&self, other: &StateReason) -> bool
[src]
pub fn ne(&self, other: &StateReason) -> bool
[src]
impl StructuralPartialEq for StateReason
[src]
Auto Trait Implementations
impl RefUnwindSafe for StateReason
[src]
impl Send for StateReason
[src]
impl Sync for StateReason
[src]
impl Unpin for StateReason
[src]
impl UnwindSafe for StateReason
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,