HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/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*.