Skip to main content

decoder_manifests

Creates, updates, deletes or gets a decoder_manifest resource or lists decoder_manifests in a region

Overview

Namedecoder_manifests
TypeResource
DescriptionDefinition of AWS::IoTFleetWise::DecoderManifest Resource Type
Idawscc.iotfleetwise.decoder_manifests

Fields

NameDatatypeDescription
arnstring
creation_timestring
descriptionstring
last_modification_timestring
model_manifest_arnstring
namestring
network_interfacesarray
signal_decodersarray
statusstring
default_for_unmapped_signalsstring
tagsarray
regionstringAWS region.

For more information, see AWS::IoTFleetWise::DecoderManifest.

Methods

NameResourceAccessible byRequired Params
create_resourcedecoder_manifestsINSERTName, ModelManifestArn, region
delete_resourcedecoder_manifestsDELETEIdentifier, region
update_resourcedecoder_manifestsUPDATEIdentifier, PatchDocument, region
list_resourcesdecoder_manifests_list_onlySELECTregion
get_resourcedecoder_manifestsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual decoder_manifest.

SELECT
region,
arn,
creation_time,
description,
last_modification_time,
model_manifest_arn,
name,
network_interfaces,
signal_decoders,
status,
default_for_unmapped_signals,
tags
FROM awscc.iotfleetwise.decoder_manifests
WHERE
region = '{{ region }}' AND
Identifier = '{{ name }}';

INSERT example

Use the following StackQL query and manifest file to create a new decoder_manifest resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.iotfleetwise.decoder_manifests (
ModelManifestArn,
Name,
region
)
SELECT
'{{ model_manifest_arn }}',
'{{ name }}',
'{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

UPDATE example

Use the following StackQL query and manifest file to update a decoder_manifest resource, using stack-deploy.

/*+ update */
UPDATE awscc.iotfleetwise.decoder_manifests
SET PatchDocument = string('{{ {
"Description": description,
"NetworkInterfaces": network_interfaces,
"SignalDecoders": signal_decoders,
"Status": status,
"DefaultForUnmappedSignals": default_for_unmapped_signals,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ name }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.iotfleetwise.decoder_manifests
WHERE
Identifier = '{{ name }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

To operate on the decoder_manifests resource, the following permissions are required:

iotfleetwise:CreateDecoderManifest,
iotfleetwise:GetDecoderManifest,
iotfleetwise:UpdateDecoderManifest,
iotfleetwise:ListDecoderManifestSignals,
iotfleetwise:ListDecoderManifestNetworkInterfaces,
iotfleetwise:ListTagsForResource,
iotfleetwise:TagResource