CmdID / aws / aws connect
aws connect get-contact-attributes
Retrieves the contact attributes for the specified contact. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
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 a1b2c3d4-5678-90ab-cdef-EXAMPLE22222Identify--instance-idThe identifier of the Connect Customer instance.--initial-contact-idThe identifier of the initial contact.Its output
{
"Attributes": {
"greetingPlayed": "true"
}
}For more information, see Use Amazon Connect Contact Attributes in the Amazon Connect Administrator Guide.
Options
--initial-contact-idThe identifier of the initial contact.--instance-idThe identifier of the Connect Customer instance.