https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/iotsitewise/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/iotsitewise/list-access-policies.rst
**To list all access policies**

The following ``list-access-policies`` example lists all access policies for a user who is a portal administrator. ::

    aws iotsitewise list-access-policies \
        --identity-type USER \
        --identity-id a1b2c3d4e5-a1b2c3d4-5678-90ab-cdef-bbbbbEXAMPLE

Output::

    {
        "accessPolicySummaries": [
            {
                "id": "a1b2c3d4-5678-90ab-cdef-cccccEXAMPLE",
                "identity": {
                    "user": {
                        "id": "a1b2c3d4e5-a1b2c3d4-5678-90ab-cdef-bbbbbEXAMPLE"
                    }
                },
                "resource": {
                    "portal": {
                        "id": "a1b2c3d4-5678-90ab-cdef-aaaaaEXAMPLE"
                    }
                },
                "permission": "ADMINISTRATOR"
            }
        ]
    }

For more information, see `Administering your portals <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/administer-portals.html>`__ in the *AWS IoT SiteWise User Guide*.

https://t.me/RX1948 - 2025