Skip to main content

decoder_manifests

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

Overview

Namedecoder_manifests
TypeResource
Idaws.iotfleetwise.decoder_manifests

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the decoder manifest.
arnstringThe Amazon Resource Name (ARN) of the decoder manifest.
creation_timestring (date-time)The time the decoder manifest was created in seconds since epoch (January 1, 1970 at midnight UTC time).
descriptionstringA brief description of the decoder manifest. (pattern: <code>[^\u0000-\u001F\u007F]+</code>)
last_modification_timestring (date-time)The time the decoder manifest was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
messagestringThe detailed message for the decoder manifest. When a decoder manifest is in an INVALID status, the message contains detailed reason and help information. (pattern: <code>[^\u0000-\u001F\u007F]+</code>)
model_manifest_arnstringThe ARN of a vehicle model (model manifest) associated with the decoder manifest.
statusstringThe state of the decoder manifest. If the status is ACTIVE, the decoder manifest can't be edited. If the status is marked DRAFT, you can edit the decoder manifest. (ACTIVE, DRAFT, INVALID, VALIDATING)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_decoder_manifestselectregionRetrieves information about a created decoder manifest.
list_decoder_manifestsselectregionLists decoder manifests. This API operation uses pagination. Specify the nextToken parameter in the request to return more results.
create_decoder_manifestinsertregion, name, modelManifestArnCreates the decoder manifest associated with a model manifest. To create a decoder manifest, the following must be true: Every signal decoder has a unique name. Each signal decoder is associated with a network interface. Each network interface has a unique ID. The signal decoders are specified in the model manifest.
update_decoder_manifestupdateregion, nameUpdates a decoder manifest. A decoder manifest can only be updated when the status is DRAFT. Only ACTIVE decoder manifests can be associated with vehicles.
delete_decoder_manifestdeleteregionDeletes a decoder manifest. You can't delete a decoder manifest if it has vehicles associated with it.

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 created decoder manifest.

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

INSERT examples

Creates the decoder manifest associated with a model manifest. To create a decoder manifest, the following must be true: Every signal decoder has a unique name. Each signal decoder is associated with a network interface. Each network interface has a unique ID. The signal decoders are specified in the model manifest.

INSERT INTO aws.iotfleetwise.decoder_manifests (
name,
description,
modelManifestArn,
signalDecoders,
networkInterfaces,
defaultForUnmappedSignals,
tags,
region
)
SELECT
'{{ name }}' /* required */,
'{{ description }}',
'{{ modelManifestArn }}' /* required */,
'{{ signalDecoders }}',
'{{ networkInterfaces }}',
'{{ defaultForUnmappedSignals }}',
'{{ tags }}',
'{{ region }}'
RETURNING
name,
arn
;

UPDATE examples

Updates a decoder manifest. A decoder manifest can only be updated when the status is DRAFT. Only ACTIVE decoder manifests can be associated with vehicles.

UPDATE aws.iotfleetwise.decoder_manifests
SET
name = '{{ name }}',
description = '{{ description }}',
signalDecodersToAdd = '{{ signalDecodersToAdd }}',
signalDecodersToUpdate = '{{ signalDecodersToUpdate }}',
signalDecodersToRemove = '{{ signalDecodersToRemove }}',
networkInterfacesToAdd = '{{ networkInterfacesToAdd }}',
networkInterfacesToUpdate = '{{ networkInterfacesToUpdate }}',
networkInterfacesToRemove = '{{ networkInterfacesToRemove }}',
status = '{{ status }}',
defaultForUnmappedSignals = '{{ defaultForUnmappedSignals }}'
WHERE
region = '{{ region }}' --required
AND name = '{{ name }}' --required
RETURNING
name,
arn;

DELETE examples

Deletes a decoder manifest. You can't delete a decoder manifest if it has vehicles associated with it.

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