Struct aws_sdk_ec2::types::SpotFleetRequestConfig
source · #[non_exhaustive]pub struct SpotFleetRequestConfig {
pub activity_status: Option<ActivityStatus>,
pub create_time: Option<DateTime>,
pub spot_fleet_request_config: Option<SpotFleetRequestConfigData>,
pub spot_fleet_request_id: Option<String>,
pub spot_fleet_request_state: Option<BatchState>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a Spot Fleet request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.activity_status: Option<ActivityStatus>
The progress of the Spot Fleet request. If there is an error, the status is error
. After all requests are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled
. If the size of the fleet is decreased, the status is pending_termination
while Spot Instances are terminating.
create_time: Option<DateTime>
The creation date and time of the request.
spot_fleet_request_config: Option<SpotFleetRequestConfigData>
The configuration of the Spot Fleet request.
spot_fleet_request_id: Option<String>
The ID of the Spot Fleet request.
spot_fleet_request_state: Option<BatchState>
The state of the Spot Fleet request.
The tags for a Spot Fleet resource.
Implementations§
source§impl SpotFleetRequestConfig
impl SpotFleetRequestConfig
sourcepub fn activity_status(&self) -> Option<&ActivityStatus>
pub fn activity_status(&self) -> Option<&ActivityStatus>
The progress of the Spot Fleet request. If there is an error, the status is error
. After all requests are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled
. If the size of the fleet is decreased, the status is pending_termination
while Spot Instances are terminating.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The creation date and time of the request.
sourcepub fn spot_fleet_request_config(&self) -> Option<&SpotFleetRequestConfigData>
pub fn spot_fleet_request_config(&self) -> Option<&SpotFleetRequestConfigData>
The configuration of the Spot Fleet request.
sourcepub fn spot_fleet_request_id(&self) -> Option<&str>
pub fn spot_fleet_request_id(&self) -> Option<&str>
The ID of the Spot Fleet request.
sourcepub fn spot_fleet_request_state(&self) -> Option<&BatchState>
pub fn spot_fleet_request_state(&self) -> Option<&BatchState>
The state of the Spot Fleet request.
The tags for a Spot Fleet resource.
source§impl SpotFleetRequestConfig
impl SpotFleetRequestConfig
sourcepub fn builder() -> SpotFleetRequestConfigBuilder
pub fn builder() -> SpotFleetRequestConfigBuilder
Creates a new builder-style object to manufacture SpotFleetRequestConfig
.
Trait Implementations§
source§impl Clone for SpotFleetRequestConfig
impl Clone for SpotFleetRequestConfig
source§fn clone(&self) -> SpotFleetRequestConfig
fn clone(&self) -> SpotFleetRequestConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpotFleetRequestConfig
impl Debug for SpotFleetRequestConfig
source§impl PartialEq<SpotFleetRequestConfig> for SpotFleetRequestConfig
impl PartialEq<SpotFleetRequestConfig> for SpotFleetRequestConfig
source§fn eq(&self, other: &SpotFleetRequestConfig) -> bool
fn eq(&self, other: &SpotFleetRequestConfig) -> bool
self
and other
values to be equal, and is used
by ==
.