Struct aws_sdk_ec2::types::DescribeFleetError
source · #[non_exhaustive]pub struct DescribeFleetError { /* private fields */ }
Expand description
Describes the instances that could not be launched by the fleet.
Implementations§
source§impl DescribeFleetError
impl DescribeFleetError
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 could not be launched was a Spot Instance or On-Demand Instance.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The error message that describes why the instance could not be launched. For more information about error messages, see Error codes.
source§impl DescribeFleetError
impl DescribeFleetError
sourcepub fn builder() -> DescribeFleetErrorBuilder
pub fn builder() -> DescribeFleetErrorBuilder
Creates a new builder-style object to manufacture DescribeFleetError
.
Trait Implementations§
source§impl Clone for DescribeFleetError
impl Clone for DescribeFleetError
source§fn clone(&self) -> DescribeFleetError
fn clone(&self) -> DescribeFleetError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescribeFleetError
impl Debug for DescribeFleetError
source§impl PartialEq<DescribeFleetError> for DescribeFleetError
impl PartialEq<DescribeFleetError> for DescribeFleetError
source§fn eq(&self, other: &DescribeFleetError) -> bool
fn eq(&self, other: &DescribeFleetError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeFleetError
Auto Trait Implementations§
impl RefUnwindSafe for DescribeFleetError
impl Send for DescribeFleetError
impl Sync for DescribeFleetError
impl Unpin for DescribeFleetError
impl UnwindSafe for DescribeFleetError
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
Mutably borrows from an owned value. Read more