AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Deletes a fleet. Before you delete a fleet, all vehicles must be dissociated from the fleet. For more information, see Delete a fleet (AWS CLI) in the Amazon Web Services IoT FleetWise Developer Guide.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DeleteFleetAsync.

Namespace: Amazon.IoTFleetWise
Assembly: AWSSDK.IoTFleetWise.dll
Version: 3.x.y.z

Syntax

C#
public virtual DeleteFleetResponse DeleteFleet(
         DeleteFleetRequest request
)

Parameters

request
Type: Amazon.IoTFleetWise.Model.DeleteFleetRequest

Container for the necessary parameters to execute the DeleteFleet service method.

Return Value


The response from the DeleteFleet service method, as returned by IoTFleetWise.

Exceptions

ExceptionCondition
AccessDeniedException You don't have sufficient permission to perform this action.
InternalServerException The request couldn't be completed because the server temporarily failed.
ThrottlingException The request couldn't be completed due to throttling.
ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also