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"

To use attributes with Campaigns or State Templates, you must include them using the request parameters dataExtraDimensions and/or metadataExtraDimensions (for state templates only) when creating your campaign/state template.

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.

IT_STATETEMPLATES TYPE /AWS1/CL_IOISTATETMPLASSOCIA00=>TT_STATETEMPLATEASSOCIATIONS TT_STATETEMPLATEASSOCIATIONS

Associate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.

RETURNING

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