File size: 1,149 Bytes
9f56796
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
**To retrieve information about a dataset**

The following ``describe-dataset`` example displays details for the specified dataset. ::

    aws iotanalytics describe-dataset \
        --dataset-name mydataset

Output::

    {
        "dataset": {
            "status": "ACTIVE",
            "contentDeliveryRules": [],
            "name": "mydataset",
            "lastUpdateTime": 1557859240.658,
            "triggers": [],
            "creationTime": 1557859240.658,
            "actions": [
                {
                    "actionName": "query_32",
                    "queryAction": {
                        "sqlQuery": "SELECT * FROM mydatastore",
                        "filters": []
                    }
                }
            ],
            "retentionPeriod": {
                "numberOfDays": 90,
                "unlimited": false
            },
            "arn": "arn:aws:iotanalytics:us-west-2:123456789012:dataset/mydataset"
        }
    }

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