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 |
Creates 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 Create multiple vehicles (AWS CLI) in the Amazon Web Services IoT FleetWise Developer Guide.
Synopsis
- data BatchCreateVehicle = BatchCreateVehicle' {}
- newBatchCreateVehicle :: BatchCreateVehicle
- batchCreateVehicle_vehicles :: Lens' BatchCreateVehicle [CreateVehicleRequestItem]
- data BatchCreateVehicleResponse = BatchCreateVehicleResponse' {}
- newBatchCreateVehicleResponse :: Int -> BatchCreateVehicleResponse
- batchCreateVehicleResponse_errors :: Lens' BatchCreateVehicleResponse (Maybe [CreateVehicleError])
- batchCreateVehicleResponse_vehicles :: Lens' BatchCreateVehicleResponse (Maybe [CreateVehicleResponseItem])
- batchCreateVehicleResponse_httpStatus :: Lens' BatchCreateVehicleResponse Int
Creating a Request
data BatchCreateVehicle Source #
See: newBatchCreateVehicle
smart constructor.
BatchCreateVehicle' | |
|
Instances
newBatchCreateVehicle :: BatchCreateVehicle Source #
Create a value of BatchCreateVehicle
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:
BatchCreateVehicle
, batchCreateVehicle_vehicles
- A list of information about each vehicle to create. For more
information, see the API data type.
Request Lenses
batchCreateVehicle_vehicles :: Lens' BatchCreateVehicle [CreateVehicleRequestItem] Source #
A list of information about each vehicle to create. For more information, see the API data type.
Destructuring the Response
data BatchCreateVehicleResponse Source #
See: newBatchCreateVehicleResponse
smart constructor.
BatchCreateVehicleResponse' | |
|
Instances
newBatchCreateVehicleResponse Source #
Create a value of BatchCreateVehicleResponse
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:BatchCreateVehicleResponse'
, batchCreateVehicleResponse_errors
- A list of information about creation errors, or an empty list if there
aren't any errors.
BatchCreateVehicle
, batchCreateVehicleResponse_vehicles
- A list of information about a batch of created vehicles. For more
information, see the API data type.
$sel:httpStatus:BatchCreateVehicleResponse'
, batchCreateVehicleResponse_httpStatus
- The response's http status code.
Response Lenses
batchCreateVehicleResponse_errors :: Lens' BatchCreateVehicleResponse (Maybe [CreateVehicleError]) Source #
A list of information about creation errors, or an empty list if there aren't any errors.
batchCreateVehicleResponse_vehicles :: Lens' BatchCreateVehicleResponse (Maybe [CreateVehicleResponseItem]) Source #
A list of information about a batch of created vehicles. For more information, see the API data type.
batchCreateVehicleResponse_httpStatus :: Lens' BatchCreateVehicleResponse Int Source #
The response's http status code.