| 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.AssociateVehicleFleet
Description
Adds, or associates, a vehicle with a fleet.
Synopsis
- data AssociateVehicleFleet = AssociateVehicleFleet' {
- vehicleName :: Text
- fleetId :: Text
- newAssociateVehicleFleet :: Text -> Text -> AssociateVehicleFleet
- associateVehicleFleet_vehicleName :: Lens' AssociateVehicleFleet Text
- associateVehicleFleet_fleetId :: Lens' AssociateVehicleFleet Text
- data AssociateVehicleFleetResponse = AssociateVehicleFleetResponse' {
- httpStatus :: Int
- newAssociateVehicleFleetResponse :: Int -> AssociateVehicleFleetResponse
- associateVehicleFleetResponse_httpStatus :: Lens' AssociateVehicleFleetResponse Int
Creating a Request
data AssociateVehicleFleet Source #
See: newAssociateVehicleFleet smart constructor.
Constructors
| AssociateVehicleFleet' | |
Fields
| |
Instances
newAssociateVehicleFleet Source #
Arguments
| :: Text | |
| -> Text | |
| -> AssociateVehicleFleet |
Create a value of AssociateVehicleFleet 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:
AssociateVehicleFleet, associateVehicleFleet_vehicleName - The unique ID of the vehicle to associate with the fleet.
$sel:fleetId:AssociateVehicleFleet', associateVehicleFleet_fleetId - The ID of a fleet.
Request Lenses
associateVehicleFleet_vehicleName :: Lens' AssociateVehicleFleet Text Source #
The unique ID of the vehicle to associate with the fleet.
associateVehicleFleet_fleetId :: Lens' AssociateVehicleFleet Text Source #
The ID of a fleet.
Destructuring the Response
data AssociateVehicleFleetResponse Source #
See: newAssociateVehicleFleetResponse smart constructor.
Constructors
| AssociateVehicleFleetResponse' | |
Fields
| |
Instances
newAssociateVehicleFleetResponse Source #
Create a value of AssociateVehicleFleetResponse 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:httpStatus:AssociateVehicleFleetResponse', associateVehicleFleetResponse_httpStatus - The response's http status code.
Response Lenses
associateVehicleFleetResponse_httpStatus :: Lens' AssociateVehicleFleetResponse Int Source #
The response's http status code.