Module Values.CreateVehicleRequestSource

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.

Sourcetype nonrec t = {
  1. vehicleName : VehicleName.t;
    (*

    The unique ID of the vehicle to create.

    *)
  2. modelManifestArn : Arn.t;
    (*

    The Amazon Resource Name ARN of a vehicle model.

    *)
  3. decoderManifestArn : Arn.t;
    (*

    The ARN of a decoder manifest.

    *)
  4. attributes : AttributesMap.t option;
    (*

    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.

    *)
  5. associationBehavior : VehicleAssociationBehavior.t option;
    (*

    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:

    *)
  6. tags : TagList.t option;
    (*

    Metadata that can be used to manage the vehicle.

    *)
  7. stateTemplates : StateTemplateAssociations.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?attributes:??? -> ?associationBehavior:??? -> ?tags:??? -> ?stateTemplates:??? -> vehicleName:VehicleName.t -> modelManifestArn:Arn.t -> decoderManifestArn:Arn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t | `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of PositiveInteger.t ]) list ]) list ]) list ]) list ] list | `Map of ([> `String of AttributeName.t ] * [> `String of AttributeValue.t ]) list | `String of VehicleName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t