Struct aws_sdk_ec2::model::CreateFleetError
source · [−]#[non_exhaustive]pub struct CreateFleetError { /* private fields */ }
Expand description
Describes the instances that could not be launched by the fleet.
Implementations
sourceimpl CreateFleetError
impl CreateFleetError
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.
sourceimpl CreateFleetError
impl CreateFleetError
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateFleetError
.
Trait Implementations
sourceimpl Clone for CreateFleetError
impl Clone for CreateFleetError
sourcefn clone(&self) -> CreateFleetError
fn clone(&self) -> CreateFleetError
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 moresourceimpl Debug for CreateFleetError
impl Debug for CreateFleetError
sourceimpl PartialEq<CreateFleetError> for CreateFleetError
impl PartialEq<CreateFleetError> for CreateFleetError
sourcefn eq(&self, other: &CreateFleetError) -> bool
fn eq(&self, other: &CreateFleetError) -> bool
impl StructuralPartialEq for CreateFleetError
Auto Trait Implementations
impl RefUnwindSafe for CreateFleetError
impl Send for CreateFleetError
impl Sync for CreateFleetError
impl Unpin for CreateFleetError
impl UnwindSafe for CreateFleetError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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