HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/connect/get-contact-attributes.rst
**To retrieve the attributes for a contact**

The following ``get-contact-attributes`` example retrieves the attributes that were set for the specified Amazon Connect contact. ::

    aws connect get-contact-attributes \
        --instance-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \
        --initial-contact-id 12345678-1111-2222-800e-a2b3c4d5f6g7

Output::

    {
        "Attributes": {
            "greetingPlayed": "true"
        }
    }

For more information, see `Use Amazon Connect Contact Attributes <https://docs.aws.amazon.com/connect/latest/adminguide/connect-contact-attributes.html>`__ in the *Amazon Connect Administrator Guide*.