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 |
Updates a group, or batch, of vehicles.
You must specify a decoder manifest and a vehicle model (model manifest) for each vehicle.
For more information, see Update multiple vehicles (AWS CLI) in the Amazon Web Services IoT FleetWise Developer Guide.
Synopsis
- data BatchUpdateVehicle = BatchUpdateVehicle' {}
- newBatchUpdateVehicle :: BatchUpdateVehicle
- batchUpdateVehicle_vehicles :: Lens' BatchUpdateVehicle [UpdateVehicleRequestItem]
- data BatchUpdateVehicleResponse = BatchUpdateVehicleResponse' {}
- newBatchUpdateVehicleResponse :: Int -> BatchUpdateVehicleResponse
- batchUpdateVehicleResponse_errors :: Lens' BatchUpdateVehicleResponse (Maybe [UpdateVehicleError])
- batchUpdateVehicleResponse_vehicles :: Lens' BatchUpdateVehicleResponse (Maybe [UpdateVehicleResponseItem])
- batchUpdateVehicleResponse_httpStatus :: Lens' BatchUpdateVehicleResponse Int
Creating a Request
data BatchUpdateVehicle Source #
See: newBatchUpdateVehicle
smart constructor.
BatchUpdateVehicle' | |
|
Instances
newBatchUpdateVehicle :: BatchUpdateVehicle Source #
Create a value of BatchUpdateVehicle
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:
BatchUpdateVehicle
, batchUpdateVehicle_vehicles
- A list of information about the vehicles to update. For more
information, see the API data type.
Request Lenses
batchUpdateVehicle_vehicles :: Lens' BatchUpdateVehicle [UpdateVehicleRequestItem] Source #
A list of information about the vehicles to update. For more information, see the API data type.
Destructuring the Response
data BatchUpdateVehicleResponse Source #
See: newBatchUpdateVehicleResponse
smart constructor.
BatchUpdateVehicleResponse' | |
|
Instances
newBatchUpdateVehicleResponse Source #
Create a value of BatchUpdateVehicleResponse
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:errors:BatchUpdateVehicleResponse'
, batchUpdateVehicleResponse_errors
- A list of information about errors returned while updating a batch of
vehicles, or, if there aren't any errors, an empty list.
BatchUpdateVehicle
, batchUpdateVehicleResponse_vehicles
- A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
$sel:httpStatus:BatchUpdateVehicleResponse'
, batchUpdateVehicleResponse_httpStatus
- The response's http status code.
Response Lenses
batchUpdateVehicleResponse_errors :: Lens' BatchUpdateVehicleResponse (Maybe [UpdateVehicleError]) Source #
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
batchUpdateVehicleResponse_vehicles :: Lens' BatchUpdateVehicleResponse (Maybe [UpdateVehicleResponseItem]) Source #
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
batchUpdateVehicleResponse_httpStatus :: Lens' BatchUpdateVehicleResponse Int Source #
The response's http status code.