HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/self/root/lib/python3.6/site-packages/awscli/examples/iotsitewise/list-asset-models.rst
**To list all asset models**

The following ``list-asset-models`` example lists all asset models that are defined in your AWS account in the current Region. ::

    aws iotsitewise list-asset-models

Output::

    {
        "assetModelSummaries": [
            {
                "id": "a1b2c3d4-5678-90ab-cdef-22222EXAMPLE",
                "arn": "arn:aws:iotsitewise:us-west-2:123456789012:asset-model/a1b2c3d4-5678-90ab-cdef-22222EXAMPLE",
                "name": "Wind Farm Model",
                "description": "Represents a wind farm that comprises many wind turbines",
                "creationDate": 1575671284.0,
                "lastUpdateDate": 1575671988.0,
                "status": {
                    "state": "ACTIVE"
                }
            },
            {
                "id": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE",
                "arn": "arn:aws:iotsitewise:us-west-2:123456789012:asset-model/a1b2c3d4-5678-90ab-cdef-11111EXAMPLE",
                "name": "Wind Turbine Model",
                "description": "Represents a wind turbine manufactured by Example Corp",
                "creationDate": 1575671207.0,
                "lastUpdateDate": 1575686273.0,
                "status": {
                    "state": "ACTIVE"
                }
            }
        ]
    }

For more information, see `Listing all asset models <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/discover-asset-resources.html#list-asset-models>`__ in the *AWS IoT SiteWise User Guide*.