delete_fleet
async
¶
delete_fleet(
farm_id: FarmId,
fleet_id: FleetId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> DeleteFleetResponse
Deletes a fleet.
Parameters:
-
farm_id(FarmId) –The farm ID of the farm to remove from the fleet.
-
fleet_id(FleetId) –The fleet ID of the fleet to delete.
-
client_token(Optional[ClientToken], default:None) –The unique token which the server uses to recognize retries of the same request.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
ConflictException–Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.
-
InternalServerErrorException–Deadline Cloud can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.