model_manifests
Creates, updates, deletes or gets a model_manifest
resource or lists model_manifests
in a region
Overview
Name | model_manifests |
Type | Resource |
Description | Definition of AWS::IoTFleetWise::ModelManifest Resource Type |
Id | aws.iotfleetwise.model_manifests |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | |
creation_time | string | |
description | string | |
last_modification_time | string | |
name | string | |
nodes | array | |
signal_catalog_arn | string | |
status | string | |
tags | array | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | SignalCatalogArn, Name, 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 model_manifests
in a region.
SELECT
region,
arn,
creation_time,
description,
last_modification_time,
name,
nodes,
signal_catalog_arn,
status,
tags
FROM aws.iotfleetwise.model_manifests
WHERE region = 'us-east-1';
Gets all properties from an individual model_manifest
.
SELECT
region,
arn,
creation_time,
description,
last_modification_time,
name,
nodes,
signal_catalog_arn,
status,
tags
FROM aws.iotfleetwise.model_manifests
WHERE region = 'us-east-1' AND data__Identifier = '<Name>';
INSERT
example
Use the following StackQL query and manifest file to create a new model_manifest
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.iotfleetwise.model_manifests (
Name,
SignalCatalogArn,
region
)
SELECT
'{{ Name }}',
'{{ SignalCatalogArn }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.iotfleetwise.model_manifests (
Description,
Name,
Nodes,
SignalCatalogArn,
Status,
Tags,
region
)
SELECT
'{{ Description }}',
'{{ Name }}',
'{{ Nodes }}',
'{{ SignalCatalogArn }}',
'{{ Status }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: model_manifest
props:
- name: Description
value: '{{ Description }}'
- name: Name
value: '{{ Name }}'
- name: Nodes
value:
- '{{ Nodes[0] }}'
- name: SignalCatalogArn
value: '{{ SignalCatalogArn }}'
- name: Status
value: '{{ Status }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
DELETE
example
/*+ delete */
DELETE FROM aws.iotfleetwise.model_manifests
WHERE data__Identifier = '<Name>'
AND region = 'us-east-1';
Permissions
To operate on the model_manifests
resource, the following permissions are required:
Create
iotfleetwise:CreateModelManifest,
iotfleetwise:GetModelManifest,
iotfleetwise:UpdateModelManifest,
iotfleetwise:ListModelManifestNodes,
iotfleetwise:ListTagsForResource,
iotfleetwise:TagResource
Read
iotfleetwise:GetModelManifest,
iotfleetwise:ListModelManifestNodes,
iotfleetwise:ListTagsForResource
Update
iotfleetwise:UpdateModelManifest,
iotfleetwise:GetModelManifest,
iotfleetwise:ListModelManifestNodes,
iotfleetwise:ListTagsForResource,
iotfleetwise:TagResource,
iotfleetwise:UntagResource
Delete
iotfleetwise:DeleteModelManifest,
iotfleetwise:GetModelManifest
List
iotfleetwise:ListModelManifests