Struct rusoto_ec2::EventInformation
source · [−]pub struct EventInformation {
pub event_description: Option<String>,
pub event_sub_type: Option<String>,
pub instance_id: Option<String>,
}
Expand description
Describes an EC2 Fleet or Spot Fleet event.
Fields
event_description: Option<String>
The description of the event.
event_sub_type: Option<String>
The event.
The following are the error
events:
-
iamFleetRoleInvalid
- The EC2 Fleet or Spot Fleet did not have the required permissions either to launch or terminate an instance. -
spotFleetRequestConfigurationInvalid
- The configuration is not valid. For more information, see the description of the event. -
spotInstanceCountLimitExceeded
- You've reached the limit on the number of Spot Instances that you can launch.
The following are the fleetRequestChange
events:
-
active
- The EC2 Fleet or Spot Fleet request has been validated and Amazon EC2 is attempting to maintain the target number of running Spot Instances. -
cancelled
- The EC2 Fleet or Spot Fleet request is canceled and has no running Spot Instances. The EC2 Fleet or Spot Fleet will be deleted two days after its instances were terminated. -
cancelledrunning
- The EC2 Fleet or Spot Fleet request is canceled and does not launch additional Spot Instances. Existing Spot Instances continue to run until they are interrupted or terminated. -
cancelledterminating
- The EC2 Fleet or Spot Fleet request is canceled and its Spot Instances are terminating. -
expired
- The EC2 Fleet or Spot Fleet request has expired. A subsequent event indicates that the instances were terminated, if the request was created withTerminateInstancesWithExpiration
set. -
modifyinprogress
- A request to modify the EC2 Fleet or Spot Fleet request was accepted and is in progress. -
modifysuccessful
- The EC2 Fleet or Spot Fleet request was modified. -
priceupdate
- The price for a launch configuration was adjusted because it was too high. This change is permanent. -
submitted
- The EC2 Fleet or Spot Fleet request is being evaluated and Amazon EC2 is preparing to launch the target number of Spot Instances.
The following are the instanceChange
events:
-
launched
- A request was fulfilled and a new instance was launched. -
terminated
- An instance was terminated by the user.
The following are the Information
events:
-
launchSpecTemporarilyBlacklisted
- The configuration is not valid and several attempts to launch instances have failed. For more information, see the description of the event. -
launchSpecUnusable
- The price in a launch specification is not valid because it is below the Spot price or the Spot price is above the On-Demand price. -
fleetProgressHalted
- The price in every launch specification is not valid. A launch specification might become valid if the Spot price changes.
instance_id: Option<String>
The ID of the instance. This information is available only for instanceChange
events.
Trait Implementations
sourceimpl Clone for EventInformation
impl Clone for EventInformation
sourcefn clone(&self) -> EventInformation
fn clone(&self) -> EventInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EventInformation
impl Debug for EventInformation
sourceimpl Default for EventInformation
impl Default for EventInformation
sourcefn default() -> EventInformation
fn default() -> EventInformation
Returns the “default value” for a type. Read more
sourceimpl PartialEq<EventInformation> for EventInformation
impl PartialEq<EventInformation> for EventInformation
sourcefn eq(&self, other: &EventInformation) -> bool
fn eq(&self, other: &EventInformation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EventInformation) -> bool
fn ne(&self, other: &EventInformation) -> bool
This method tests for !=
.
impl StructuralPartialEq for EventInformation
Auto Trait Implementations
impl RefUnwindSafe for EventInformation
impl Send for EventInformation
impl Sync for EventInformation
impl Unpin for EventInformation
impl UnwindSafe for EventInformation
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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