amazonka-iotfleetwise-2.0: Amazon IoT FleetWise SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTFleetWise.BatchCreateVehicle

Description

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

Creating a Request

data BatchCreateVehicle Source #

See: newBatchCreateVehicle smart constructor.

Constructors

BatchCreateVehicle' 

Fields

Instances

Instances details
ToJSON BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

ToHeaders BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

ToPath BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

ToQuery BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

AWSRequest BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

Associated Types

type AWSResponse BatchCreateVehicle #

Generic BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

Associated Types

type Rep BatchCreateVehicle :: Type -> Type #

Read BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

Show BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

NFData BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

Methods

rnf :: BatchCreateVehicle -> () #

Eq BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

Hashable BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

type AWSResponse BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

type Rep BatchCreateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

type Rep BatchCreateVehicle = D1 ('MetaData "BatchCreateVehicle" "Amazonka.IoTFleetWise.BatchCreateVehicle" "amazonka-iotfleetwise-2.0-3noXdw9CznA79cw3EwaHcU" 'False) (C1 ('MetaCons "BatchCreateVehicle'" 'PrefixI 'True) (S1 ('MetaSel ('Just "vehicles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CreateVehicleRequestItem])))

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.

Constructors

BatchCreateVehicleResponse' 

Fields

Instances

Instances details
Generic BatchCreateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

Associated Types

type Rep BatchCreateVehicleResponse :: Type -> Type #

Read BatchCreateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

Show BatchCreateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

NFData BatchCreateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

Eq BatchCreateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

type Rep BatchCreateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchCreateVehicle

type Rep BatchCreateVehicleResponse = D1 ('MetaData "BatchCreateVehicleResponse" "Amazonka.IoTFleetWise.BatchCreateVehicle" "amazonka-iotfleetwise-2.0-3noXdw9CznA79cw3EwaHcU" 'False) (C1 ('MetaCons "BatchCreateVehicleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CreateVehicleError])) :*: (S1 ('MetaSel ('Just "vehicles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CreateVehicleResponseItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.