Export metadata examples
When you perform a bulk export of your AWS IoT SiteWise content to Amazon S3, you can specify filters to limit which specific asset models and assets you'd like to export.
You specify the filters in an iotSiteWiseConfiguration
section within the sources
section of your request body.
Note
You can include multiple filters. The bulk operation will export any asset model or asset that matches any of the filters.
If you don't provide any filters, then the operation will export all of your asset models and assets.
{ "metadataTransferJobId": "
your-transfer-job-id
", "sources": [{ "type": "iotsitewise", "iotSiteWiseConfiguration": { "filters": [{list of filters
}] } }], "destination": { "type": "s3", "s3Configuration": { "location": "arn:aws:s3:::amzn-s3-demo-bucket
" } } }
Filter by asset model
You can filter a specific asset model. You can also include all assets using that model, or all asset models within its hierarchy. You can't include both assets and hierarchy.
For more information about hierarchies, see Define asset model hierarchies.
Filter by asset
You can filter a specific asset. You can also include its asset model, or all associated assets within its hierarchy. You can't include both asset model and hierarchy.
For more information about hierarchies, see Define asset model hierarchies.