Struct aws_sdk_ec2::input::DeleteFleetsInput [−][src]
#[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 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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteFleets, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteFleets, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteFleets
>
Creates a new builder-style object to manufacture DeleteFleetsInput
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
.
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
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 DeleteFleetsInput
impl Send for DeleteFleetsInput
impl Sync for DeleteFleetsInput
impl Unpin for DeleteFleetsInput
impl UnwindSafe for DeleteFleetsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more