getVoiceProfileDomain method

Future<GetVoiceProfileDomainResponse> getVoiceProfileDomain({
  1. required String voiceProfileDomainId,
})

Retrieves the details of the specified voice profile domain.

May throw AccessDeniedException. May throw BadRequestException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceFailureException. May throw ServiceUnavailableException. May throw ThrottledClientException. May throw UnauthorizedClientException.

Parameter voiceProfileDomainId : The voice profile domain ID.

Implementation

Future<GetVoiceProfileDomainResponse> getVoiceProfileDomain({
  required String voiceProfileDomainId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/voice-profile-domains/${Uri.encodeComponent(voiceProfileDomainId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetVoiceProfileDomainResponse.fromJson(response);
}