HEX
Server: Apache
System: Linux vps28526 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
User: heewonvps_17 (6705002)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/iotanalytics/create-dataset-content.rst
**To create the content of a dataset**

The following ``create-dataset-content`` example creates the content of the specified dataset by applying a ``queryAction`` (an SQL query) or a ``containerAction`` (executing a containerized application). ::

    aws iotanalytics create-dataset-content \
        --dataset-name mydataset

Output::

    {
        "versionId": "d494b416-9850-4670-b885-ca22f1e89d62"
    }

For more information, see `CreateDatasetContent <https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_CreateDatasetContent.html>`__ in the *AWS IoT Analytics API Reference*.