| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTFleetWise.Types.VehicleStatus
Description
Documentation
data VehicleStatus Source #
Information about the state of a vehicle and how it relates to the status of a campaign.
See: newVehicleStatus smart constructor.
Constructors
| VehicleStatus' | |
Fields
| |
Instances
newVehicleStatus :: VehicleStatus Source #
Create a value of VehicleStatus with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:campaignName:VehicleStatus', vehicleStatus_campaignName - The name of a campaign.
$sel:status:VehicleStatus', vehicleStatus_status - The state of a vehicle, which can be one of the following:
CREATED- Amazon Web Services IoT FleetWise sucessfully created the vehicle.READY- The vehicle is ready to receive a campaign deployment.HEALTHY- A campaign deployment was delivered to the vehicle.SUSPENDED- A campaign associated with the vehicle was suspended and data collection was paused.DELETING- Amazon Web Services IoT FleetWise is removing a campaign from the vehicle.
$sel:vehicleName:VehicleStatus', vehicleStatus_vehicleName - The unique ID of the vehicle.
vehicleStatus_campaignName :: Lens' VehicleStatus (Maybe Text) Source #
The name of a campaign.
vehicleStatus_status :: Lens' VehicleStatus (Maybe VehicleState) Source #
The state of a vehicle, which can be one of the following:
CREATED- Amazon Web Services IoT FleetWise sucessfully created the vehicle.READY- The vehicle is ready to receive a campaign deployment.HEALTHY- A campaign deployment was delivered to the vehicle.SUSPENDED- A campaign associated with the vehicle was suspended and data collection was paused.DELETING- Amazon Web Services IoT FleetWise is removing a campaign from the vehicle.
vehicleStatus_vehicleName :: Lens' VehicleStatus (Maybe Text) Source #
The unique ID of the vehicle.