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 : |
**To grant a project viewer ownership of a project** The following ``update-access-policy`` example updates an access policy that grants a project viewer ownership of a project. :: aws iotsitewise update-access-policy \ --access-policy-id a1b2c3d4-5678-90ab-cdef-dddddEXAMPLE \ --cli-input-json file://update-project-viewer-access-policy.json Contents of ``update-project-viewer-access-policy.json``:: { "accessPolicyIdentity": { "user": { "id": "a1b2c3d4e5-a1b2c3d4-5678-90ab-cdef-bbbbbEXAMPLE" } }, "accessPolicyPermission": "ADMINISTRATOR", "accessPolicyResource": { "project": { "id": "a1b2c3d4-5678-90ab-cdef-eeeeeEXAMPLE" } } } This command produces no output. For more information, see `Assigning project owners <https://docs.aws.amazon.com/iot-sitewise/latest/appguide/assign-project-owners.html>`__ in the *AWS IoT SiteWise Monitor Application Guide*.