decoder_manifests
Creates, updates, deletes or gets a decoder_manifest
resource or lists decoder_manifests
in a region
Overview
Name | decoder_manifests |
Type | Resource |
Description | Definition of AWS::IoTFleetWise::DecoderManifest Resource Type |
Id | aws.iotfleetwise.decoder_manifests |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | |
creation_time | string | |
description | string | |
last_modification_time | string | |
model_manifest_arn | string | |
name | string | |
network_interfaces | array | |
signal_decoders | array | |
status | string | |
tags | array | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | Name, ModelManifestArn, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all decoder_manifests
in a region.
SELECT
region,
arn,
creation_time,
description,
last_modification_time,
model_manifest_arn,
name,
network_interfaces,
signal_decoders,
status,
tags
FROM aws.iotfleetwise.decoder_manifests
WHERE region = 'us-east-1';
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,
tags
FROM aws.iotfleetwise.decoder_manifests
WHERE region = 'us-east-1' AND data__Identifier = '<Name>';
INSERT
example
Use the following StackQL query and manifest file to create a new decoder_manifest
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.iotfleetwise.decoder_manifests (
ModelManifestArn,
Name,
region
)
SELECT
'{{ ModelManifestArn }}',
'{{ Name }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.iotfleetwise.decoder_manifests (
Description,
ModelManifestArn,
Name,
NetworkInterfaces,
SignalDecoders,
Status,
Tags,
region
)
SELECT
'{{ Description }}',
'{{ ModelManifestArn }}',
'{{ Name }}',
'{{ NetworkInterfaces }}',
'{{ SignalDecoders }}',
'{{ Status }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: decoder_manifest
props:
- name: Description
value: '{{ Description }}'
- name: ModelManifestArn
value: '{{ ModelManifestArn }}'
- name: Name
value: '{{ Name }}'
- name: NetworkInterfaces
value:
- null
- name: SignalDecoders
value:
- null
- name: Status
value: '{{ Status }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
DELETE
example
/*+ delete */
DELETE FROM aws.iotfleetwise.decoder_manifests
WHERE data__Identifier = '<Name>'
AND region = 'us-east-1';
Permissions
To operate on the decoder_manifests
resource, the following permissions are required:
Create
iotfleetwise:CreateDecoderManifest,
iotfleetwise:GetDecoderManifest,
iotfleetwise:UpdateDecoderManifest,
iotfleetwise:ListDecoderManifestSignals,
iotfleetwise:ListDecoderManifestNetworkInterfaces,
iotfleetwise:ListTagsForResource,
iotfleetwise:TagResource
Read
iotfleetwise:GetDecoderManifest,
iotfleetwise:ListDecoderManifestSignals,
iotfleetwise:ListDecoderManifestNetworkInterfaces,
iotfleetwise:ListTagsForResource
Update
iotfleetwise:UpdateDecoderManifest,
iotfleetwise:GetDecoderManifest,
iotfleetwise:ListDecoderManifestSignals,
iotfleetwise:ListDecoderManifestNetworkInterfaces,
iotfleetwise:ListTagsForResource,
iotfleetwise:TagResource,
iotfleetwise:UntagResource
Delete
iotfleetwise:DeleteDecoderManifest,
iotfleetwise:GetDecoderManifest
List
iotfleetwise:ListDecoderManifests