Skip to content

/AWS1/CL_IOI=>CREATEVEHICLE()

About CreateVehicle

Creates a vehicle, which is an instance of a vehicle model (model manifest). Vehicles created from the same vehicle model consist of the same signals inherited from the vehicle model.

If you have an existing Amazon Web Services IoT thing, you can use Amazon Web Services IoT FleetWise to create a vehicle and collect data from your thing.

For more information, see Create a vehicle (AWS CLI) in the Amazon Web Services IoT FleetWise Developer Guide.

Method Signature

IMPORTING

Required arguments:

IV_VEHICLENAME TYPE /AWS1/IOIVEHICLENAME /AWS1/IOIVEHICLENAME

The unique ID of the vehicle to create.

IV_MODELMANIFESTARN TYPE /AWS1/IOIARN /AWS1/IOIARN

The Amazon Resource Name ARN of a vehicle model.

IV_DECODERMANIFESTARN TYPE /AWS1/IOIARN /AWS1/IOIARN

The ARN of a decoder manifest.

Optional arguments:

IT_ATTRIBUTES TYPE /AWS1/CL_IOIATTRIBUTESMAP_W=>TT_ATTRIBUTESMAP TT_ATTRIBUTESMAP

Static information about a vehicle in a key-value pair. For example: "engineType" : "1.3 L R2"

A campaign must include the keys (attribute names) in dataExtraDimensions for them to display in Amazon Timestream.

IV_ASSOCIATIONBEHAVIOR TYPE /AWS1/IOIVEHICLEASSOCIATIONBEH /AWS1/IOIVEHICLEASSOCIATIONBEH

An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.

Default:

IT_TAGS TYPE /AWS1/CL_IOITAG=>TT_TAGLIST TT_TAGLIST

Metadata that can be used to manage the vehicle.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOICREATEVEHICLERSP /AWS1/CL_IOICREATEVEHICLERSP