describeContactVersion method
Describes a specific version of a contact.
May throw DependencyException.
May throw InvalidParameterException.
May throw ResourceNotFoundException.
Parameter contactId :
UUID of a contact.
Parameter versionId :
Version ID of a contact.
Implementation
Future<DescribeContactVersionResponse> describeContactVersion({
required String contactId,
required int versionId,
}) async {
_s.validateNumRange(
'versionId',
versionId,
1,
128,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/contact/${Uri.encodeComponent(contactId)}/versions/${Uri.encodeComponent(versionId.toString())}',
exceptionFnMap: _exceptionFns,
);
return DescribeContactVersionResponse.fromJson(response);
}