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.BatchUpdateVehicle

Description

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

Creating a Request

data BatchUpdateVehicle Source #

See: newBatchUpdateVehicle smart constructor.

Constructors

BatchUpdateVehicle' 

Fields

Instances

Instances details
ToJSON BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

ToHeaders BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

ToPath BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

ToQuery BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

AWSRequest BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

Associated Types

type AWSResponse BatchUpdateVehicle #

Generic BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

Associated Types

type Rep BatchUpdateVehicle :: Type -> Type #

Read BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

Show BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

NFData BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

Methods

rnf :: BatchUpdateVehicle -> () #

Eq BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

Hashable BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

type AWSResponse BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

type Rep BatchUpdateVehicle Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

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

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.

Constructors

BatchUpdateVehicleResponse' 

Fields

Instances

Instances details
Generic BatchUpdateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

Associated Types

type Rep BatchUpdateVehicleResponse :: Type -> Type #

Read BatchUpdateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

Show BatchUpdateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

NFData BatchUpdateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

Eq BatchUpdateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

type Rep BatchUpdateVehicleResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.BatchUpdateVehicle

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

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.