describeContact method

Future<DescribeContactResponse> describeContact({
  1. required String contactId,
})

Describes an existing contact.

May throw DependencyException. May throw InvalidParameterException. May throw ResourceNotFoundException.

Parameter contactId : UUID of a contact.

Implementation

Future<DescribeContactResponse> describeContact({
  required String contactId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/contact/${Uri.encodeComponent(contactId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeContactResponse.fromJson(response);
}