Struct aws_sdk_ec2::input::ModifySpotFleetRequestInput
source · #[non_exhaustive]pub struct ModifySpotFleetRequestInput { /* private fields */ }
Expand description
Contains the parameters for ModifySpotFleetRequest.
Implementations§
source§impl ModifySpotFleetRequestInput
impl ModifySpotFleetRequestInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifySpotFleetRequest, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifySpotFleetRequest, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifySpotFleetRequest
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifySpotFleetRequestInput
.
source§impl ModifySpotFleetRequestInput
impl ModifySpotFleetRequestInput
sourcepub fn excess_capacity_termination_policy(
&self
) -> Option<&ExcessCapacityTerminationPolicy>
pub fn excess_capacity_termination_policy(
&self
) -> Option<&ExcessCapacityTerminationPolicy>
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
sourcepub fn launch_template_configs(&self) -> Option<&[LaunchTemplateConfig]>
pub fn launch_template_configs(&self) -> Option<&[LaunchTemplateConfig]>
The launch template and overrides. You can only use this parameter if you specified a launch template (LaunchTemplateConfigs
) in your Spot Fleet request. If you specified LaunchSpecifications
in your Spot Fleet request, then omit this parameter.
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 target_capacity(&self) -> Option<i32>
pub fn target_capacity(&self) -> Option<i32>
The size of the fleet.
sourcepub fn on_demand_target_capacity(&self) -> Option<i32>
pub fn on_demand_target_capacity(&self) -> Option<i32>
The number of On-Demand Instances in the fleet.
Trait Implementations§
source§impl Clone for ModifySpotFleetRequestInput
impl Clone for ModifySpotFleetRequestInput
source§fn clone(&self) -> ModifySpotFleetRequestInput
fn clone(&self) -> ModifySpotFleetRequestInput
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 ModifySpotFleetRequestInput
impl Debug for ModifySpotFleetRequestInput
source§impl PartialEq<ModifySpotFleetRequestInput> for ModifySpotFleetRequestInput
impl PartialEq<ModifySpotFleetRequestInput> for ModifySpotFleetRequestInput
source§fn eq(&self, other: &ModifySpotFleetRequestInput) -> bool
fn eq(&self, other: &ModifySpotFleetRequestInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.