Struct aws_sdk_ec2::output::GetSpotPlacementScoresOutput
source · [−]#[non_exhaustive]pub struct GetSpotPlacementScoresOutput {
pub spot_placement_scores: Option<Vec<SpotPlacementScore>>,
pub next_token: Option<String>,
}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.spot_placement_scores: Option<Vec<SpotPlacementScore>>The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10. Each score
reflects how likely it is that each Region or Availability Zone will succeed at fulfilling the specified target capacity
at the time of the Spot placement score request. A score of 10 means that your Spot capacity request is highly likely to succeed in that Region or Availability Zone.
If you request a Spot placement score for Regions, a high score assumes that your fleet request will be configured to use all Availability Zones and the capacity-optimized allocation strategy. If you request a Spot placement score for Availability Zones, a high score assumes that your fleet request will be configured to use a single Availability Zone and the capacity-optimized allocation strategy.
Different Regions or Availability Zones might return the same score.
The Spot placement score serves as a recommendation only. No score guarantees that your Spot request will be fully or partially fulfilled.
next_token: Option<String>The token for the next set of results.
Implementations
sourceimpl GetSpotPlacementScoresOutput
impl GetSpotPlacementScoresOutput
sourcepub fn spot_placement_scores(&self) -> Option<&[SpotPlacementScore]>
pub fn spot_placement_scores(&self) -> Option<&[SpotPlacementScore]>
The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10. Each score
reflects how likely it is that each Region or Availability Zone will succeed at fulfilling the specified target capacity
at the time of the Spot placement score request. A score of 10 means that your Spot capacity request is highly likely to succeed in that Region or Availability Zone.
If you request a Spot placement score for Regions, a high score assumes that your fleet request will be configured to use all Availability Zones and the capacity-optimized allocation strategy. If you request a Spot placement score for Availability Zones, a high score assumes that your fleet request will be configured to use a single Availability Zone and the capacity-optimized allocation strategy.
Different Regions or Availability Zones might return the same score.
The Spot placement score serves as a recommendation only. No score guarantees that your Spot request will be fully or partially fulfilled.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of results.
sourceimpl GetSpotPlacementScoresOutput
impl GetSpotPlacementScoresOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetSpotPlacementScoresOutput
Trait Implementations
sourceimpl Clone for GetSpotPlacementScoresOutput
impl Clone for GetSpotPlacementScoresOutput
sourcefn clone(&self) -> GetSpotPlacementScoresOutput
fn clone(&self) -> GetSpotPlacementScoresOutput
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 GetSpotPlacementScoresOutput
impl Debug for GetSpotPlacementScoresOutput
sourceimpl PartialEq<GetSpotPlacementScoresOutput> for GetSpotPlacementScoresOutput
impl PartialEq<GetSpotPlacementScoresOutput> for GetSpotPlacementScoresOutput
sourcefn eq(&self, other: &GetSpotPlacementScoresOutput) -> bool
fn eq(&self, other: &GetSpotPlacementScoresOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetSpotPlacementScoresOutput) -> bool
fn ne(&self, other: &GetSpotPlacementScoresOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for GetSpotPlacementScoresOutput
Auto Trait Implementations
impl RefUnwindSafe for GetSpotPlacementScoresOutput
impl Send for GetSpotPlacementScoresOutput
impl Sync for GetSpotPlacementScoresOutput
impl Unpin for GetSpotPlacementScoresOutput
impl UnwindSafe for GetSpotPlacementScoresOutput
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