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/workmail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/workmail/list-access-control-rules.rst
**To list access control rules**

The following ``list-access-control-rules`` example lists the access control rules for the specified Amazon WorkMail organization. ::

    aws workmail list-access-control-rules \
        --organization-id m-n1pq2345678r901st2u3vx45x6789yza

Output::

    {
        "Rules": [
            {
                "Name": "default",
                "Effect": "ALLOW",
                "Description": "Default WorkMail Rule",
                "DateCreated": 0.0,
                "DateModified": 0.0
            },
            {
                "Name": "myRule",
                "Effect": "DENY",
                "Description": "my rule",
                "UserIds": [
                "S-1-1-11-1111111111-2222222222-3333333333-3333"
                ],
                "DateCreated": 1581635628.0,
                "DateModified": 1581635628.0
            }
        ]
    }

For more information, see `Working with Access Control Rules <https://docs.aws.amazon.com/workmail/latest/adminguide/access-rules.html>`__ in the *Amazon WorkMail Administrator Guide*.

https://t.me/RX1948 - 2025