Struct aws_sdk_ec2::operation::delete_fleets::DeleteFleetsInput
source · #[non_exhaustive]pub struct DeleteFleetsInput {
pub dry_run: Option<bool>,
pub fleet_ids: Option<Vec<String>>,
pub terminate_instances: Option<bool>,
}
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.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: Option<Vec<String>>
The IDs of the EC2 Fleets.
terminate_instances: Option<bool>
Indicates whether to terminate the associated 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 no-terminate-instances
. 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.
Implementations§
source§impl DeleteFleetsInput
impl DeleteFleetsInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> 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
.
sourcepub fn terminate_instances(&self) -> Option<bool>
pub fn terminate_instances(&self) -> Option<bool>
Indicates whether to terminate the associated 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 no-terminate-instances
. 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.
source§impl DeleteFleetsInput
impl DeleteFleetsInput
sourcepub fn builder() -> DeleteFleetsInputBuilder
pub fn builder() -> DeleteFleetsInputBuilder
Creates a new builder-style object to manufacture DeleteFleetsInput
.
Trait Implementations§
source§impl Clone for DeleteFleetsInput
impl Clone for DeleteFleetsInput
source§fn clone(&self) -> DeleteFleetsInput
fn clone(&self) -> DeleteFleetsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteFleetsInput
impl Debug for DeleteFleetsInput
source§impl PartialEq<DeleteFleetsInput> for DeleteFleetsInput
impl PartialEq<DeleteFleetsInput> for DeleteFleetsInput
source§fn eq(&self, other: &DeleteFleetsInput) -> bool
fn eq(&self, other: &DeleteFleetsInput) -> bool
self
and other
values to be equal, and is used
by ==
.