Struct aws_sdk_gamelift::client::fluent_builders::DeleteFleet [−][src]
pub struct DeleteFleet<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteFleet
.
Deletes all resources and information related a fleet. Any current fleet instances,
including those in remote locations, are shut down. You don't need to call
DeleteFleetLocations
separately.
If the fleet being deleted has a VPC peering connection, you first need to get a valid authorization (good for 24 hours) by calling CreateVpcPeeringAuthorization. You do not need to explicitly delete the VPC peering connection--this is done as part of the delete fleet process.
To delete a fleet, specify the fleet ID to be terminated. During the deletion process
the fleet status is changed to DELETING
. When completed, the status
switches to TERMINATED
and the fleet event FLEET_DELETED
is
sent.
Learn more
Related actions
CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy | DeleteFleet | DeleteFleetLocations | DeleteScalingPolicy | All APIs by task
Implementations
impl<C, M, R> DeleteFleet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteFleet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<DeleteFleetOutput, SdkError<DeleteFleetError>> where
R::Policy: SmithyRetryPolicy<DeleteFleetInputOperationOutputAlias, DeleteFleetOutput, DeleteFleetError, DeleteFleetInputOperationRetryAlias>,
pub async fn send(self) -> Result<DeleteFleetOutput, SdkError<DeleteFleetError>> where
R::Policy: SmithyRetryPolicy<DeleteFleetInputOperationOutputAlias, DeleteFleetOutput, DeleteFleetError, DeleteFleetInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.
A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteFleet<C, M, R>
impl<C, M, R> Unpin for DeleteFleet<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteFleet<C, M, R>
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