get_contact
(**kwargs)¶Gets the contact details by the contact ARN.
See also: AWS API Documentation
Request Syntax
response = client.get_contact(
ContactArn='string'
)
[REQUIRED]
The ARN of the contact for which to request details.
{
'Contact': {
'ContactArn': 'string',
'DisplayName': 'string',
'FirstName': 'string',
'LastName': 'string',
'PhoneNumber': 'string',
'PhoneNumbers': [
{
'Number': 'string',
'Type': 'MOBILE'|'WORK'|'HOME'
},
],
'SipAddresses': [
{
'Uri': 'string',
'Type': 'WORK'
},
]
}
}
Response Structure
The details of the requested contact.
The ARN of the contact.
The name of the contact to display on the console.
The first name of the contact, used to call the contact on the device.
The last name of the contact, used to call the contact on the device.
The phone number of the contact. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.
The list of phone numbers for the contact.
The phone number for the contact containing the raw number and phone number type.
The raw value of the phone number.
The type of the phone number.
The list of SIP addresses for the contact.
The SIP address for the contact containing the URI and SIP address type.
The URI for the SIP address.
The type of the SIP address.
Exceptions
AlexaForBusiness.Client.exceptions.NotFoundException