Skip to main content

model_manifests

Creates, updates, deletes, gets or lists a model_manifests resource.

Overview

Namemodel_manifests
TypeResource
Idaws.iotfleetwise.model_manifests

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the vehicle model. (pattern: <code>[a-zA-Z\d-_:]+</code>)
arnstringThe Amazon Resource Name (ARN) of the vehicle model.
creation_timestring (date-time)The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time).
descriptionstringA brief description of the vehicle model. (pattern: <code>[^\u0000-\u001F\u007F]+</code>)
last_modification_timestring (date-time)The last time the vehicle model was modified.
signal_catalog_arnstringThe ARN of the signal catalog associated with the vehicle model.
statusstringThe state of the vehicle model. If the status is ACTIVE, the vehicle model can't be edited. You can edit the vehicle model if the status is marked DRAFT. (ACTIVE, DRAFT, INVALID, VALIDATING)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_model_manifestselectregionRetrieves information about a vehicle model (model manifest).
list_model_manifestsselectregionRetrieves a list of vehicle models (model manifests). This API operation uses pagination. Specify the nextToken parameter in the request to return more results.
create_model_manifestinsertregion, name, nodes, signalCatalogArnCreates a vehicle model (model manifest) that specifies signals (attributes, branches, sensors, and actuators). For more information, see Vehicle models in the Amazon Web Services IoT FleetWise Developer Guide.
update_model_manifestupdateregion, nameUpdates a vehicle model (model manifest). If created vehicles are associated with a vehicle model, it can't be updated.
delete_model_manifestdeleteregionDeletes a vehicle model (model manifest).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves information about a vehicle model (model manifest).

SELECT
name,
arn,
creation_time,
description,
last_modification_time,
signal_catalog_arn,
status
FROM aws.iotfleetwise.model_manifests
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a vehicle model (model manifest) that specifies signals (attributes, branches, sensors, and actuators). For more information, see Vehicle models in the Amazon Web Services IoT FleetWise Developer Guide.

INSERT INTO aws.iotfleetwise.model_manifests (
name,
description,
nodes,
signalCatalogArn,
tags,
region
)
SELECT
'{{ name }}' /* required */,
'{{ description }}',
'{{ nodes }}' /* required */,
'{{ signalCatalogArn }}' /* required */,
'{{ tags }}',
'{{ region }}'
RETURNING
name,
arn
;

UPDATE examples

Updates a vehicle model (model manifest). If created vehicles are associated with a vehicle model, it can't be updated.

UPDATE aws.iotfleetwise.model_manifests
SET
name = '{{ name }}',
description = '{{ description }}',
nodesToAdd = '{{ nodesToAdd }}',
nodesToRemove = '{{ nodesToRemove }}',
status = '{{ status }}'
WHERE
region = '{{ region }}' --required
AND name = '{{ name }}' --required
RETURNING
name,
arn;

DELETE examples

Deletes a vehicle model (model manifest).

DELETE FROM aws.iotfleetwise.model_manifests
WHERE region = '{{ region }}' --required
;