0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.226.186.109


Current Path : /proc/thread-self/root/usr/share/doc/awscli/examples/iotsitewise/
Upload File :
Current File : //proc/thread-self/root/usr/share/doc/awscli/examples/iotsitewise/describe-access-policy.rst

**To describe an access policy**

The following ``describe-access-policy`` example describes an access policy that grants a user administrative access to a web portal for a wind farm company. ::

    aws iotsitewise describe-access-policy \
        --access-policy-id a1b2c3d4-5678-90ab-cdef-cccccEXAMPLE

Output::

    {
        "accessPolicyId": "a1b2c3d4-5678-90ab-cdef-cccccEXAMPLE",
        "accessPolicyArn": "arn:aws:iotsitewise:us-west-2:123456789012:access-policy/a1b2c3d4-5678-90ab-cdef-cccccEXAMPLE",
        "accessPolicyIdentity": {
            "user": {
                "id": "a1b2c3d4e5-a1b2c3d4-5678-90ab-cdef-bbbbbEXAMPLE"
            }
        },
        "accessPolicyResource": {
            "portal": {
                "id": "a1b2c3d4-5678-90ab-cdef-aaaaaEXAMPLE"
            }
        },
        "accessPolicyPermission": "ADMINISTRATOR",
        "accessPolicyCreationDate": "2020-02-20T22:35:15.552880124Z",
        "accessPolicyLastUpdateDate": "2020-02-20T22:35:15.552880124Z"
    }

For more information, see `Adding or removing portal administrators <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/administer-portals.html#portal-change-admins>`__ in the *AWS IoT SiteWise User Guide*.