Struct aws_sdk_ec2::types::DescribeFleetsInstances
source · #[non_exhaustive]pub struct DescribeFleetsInstances {
pub launch_template_and_overrides: Option<LaunchTemplateAndOverridesResponse>,
pub lifecycle: Option<InstanceLifecycle>,
pub instance_ids: Option<Vec<String>>,
pub instance_type: Option<InstanceType>,
pub platform: Option<PlatformValues>,
}
Expand description
Describes the instances that were launched by the fleet.
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.launch_template_and_overrides: Option<LaunchTemplateAndOverridesResponse>
The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
lifecycle: Option<InstanceLifecycle>
Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.
instance_ids: Option<Vec<String>>
The IDs of the instances.
instance_type: Option<InstanceType>
The instance type.
platform: Option<PlatformValues>
The value is Windows
for Windows instances. Otherwise, the value is blank.
Implementations§
source§impl DescribeFleetsInstances
impl DescribeFleetsInstances
sourcepub fn launch_template_and_overrides(
&self,
) -> Option<&LaunchTemplateAndOverridesResponse>
pub fn launch_template_and_overrides( &self, ) -> Option<&LaunchTemplateAndOverridesResponse>
The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
sourcepub fn lifecycle(&self) -> Option<&InstanceLifecycle>
pub fn lifecycle(&self) -> Option<&InstanceLifecycle>
Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.
sourcepub fn instance_ids(&self) -> &[String]
pub fn instance_ids(&self) -> &[String]
The IDs of the instances.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_ids.is_none()
.
sourcepub fn instance_type(&self) -> Option<&InstanceType>
pub fn instance_type(&self) -> Option<&InstanceType>
The instance type.
sourcepub fn platform(&self) -> Option<&PlatformValues>
pub fn platform(&self) -> Option<&PlatformValues>
The value is Windows
for Windows instances. Otherwise, the value is blank.
source§impl DescribeFleetsInstances
impl DescribeFleetsInstances
sourcepub fn builder() -> DescribeFleetsInstancesBuilder
pub fn builder() -> DescribeFleetsInstancesBuilder
Creates a new builder-style object to manufacture DescribeFleetsInstances
.
Trait Implementations§
source§impl Clone for DescribeFleetsInstances
impl Clone for DescribeFleetsInstances
source§fn clone(&self) -> DescribeFleetsInstances
fn clone(&self) -> DescribeFleetsInstances
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeFleetsInstances
impl Debug for DescribeFleetsInstances
source§impl PartialEq for DescribeFleetsInstances
impl PartialEq for DescribeFleetsInstances
source§fn eq(&self, other: &DescribeFleetsInstances) -> bool
fn eq(&self, other: &DescribeFleetsInstances) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeFleetsInstances
Auto Trait Implementations§
impl Freeze for DescribeFleetsInstances
impl RefUnwindSafe for DescribeFleetsInstances
impl Send for DescribeFleetsInstances
impl Sync for DescribeFleetsInstances
impl Unpin for DescribeFleetsInstances
impl UnwindSafe for DescribeFleetsInstances
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more