Struct rusoto_ec2::DeleteFleetsRequest [−][src]
pub struct DeleteFleetsRequest { pub dry_run: Option<bool>, pub fleet_ids: Vec<String>, pub terminate_instances: bool, }
Fields
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
fleet_ids: Vec<String>
The IDs of the EC2 Fleets.
terminate_instances: bool
Indicates whether to terminate the instances when the EC2 Fleet is deleted. The default is to terminate the instances.
To let the instances continue to run after the EC2 Fleet is deleted, specify NoTerminateInstances
. Supported only for fleets of type maintain
and request
.
For instant
fleets, you cannot specify NoTerminateInstances
. A deleted instant
fleet with running instances is not supported.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeleteFleetsRequest
impl Send for DeleteFleetsRequest
impl Sync for DeleteFleetsRequest
impl Unpin for DeleteFleetsRequest
impl UnwindSafe for DeleteFleetsRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self