disassociate_vehicle_fleet

disassociate_vehicle_fleet(**kwargs)

Removes, or disassociates, a vehicle from a fleet. Disassociating a vehicle from a fleet doesn't delete the vehicle.

Note

If the vehicle is successfully dissociated from a fleet, Amazon Web Services IoT FleetWise sends back an HTTP 200 response with an empty body.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_vehicle_fleet(
    vehicleName='string',
    fleetId='string'
)
Parameters
  • vehicleName (string) --

    [REQUIRED]

    The unique ID of the vehicle to disassociate from the fleet.

  • fleetId (string) --

    [REQUIRED]

    The unique ID of a fleet.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • IoTFleetWise.Client.exceptions.InternalServerException
  • IoTFleetWise.Client.exceptions.ResourceNotFoundException
  • IoTFleetWise.Client.exceptions.ThrottlingException
  • IoTFleetWise.Client.exceptions.ValidationException
  • IoTFleetWise.Client.exceptions.AccessDeniedException