getVoiceConnectorOrigination method
Future<GetVoiceConnectorOriginationResponse>
getVoiceConnectorOrigination({
- required String voiceConnectorId,
Retrieves the origination settings for the specified Voice Connector.
May throw BadRequestException.
May throw ForbiddenException.
May throw NotFoundException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter voiceConnectorId :
The Voice Connector ID.
Implementation
Future<GetVoiceConnectorOriginationResponse> getVoiceConnectorOrigination({
required String voiceConnectorId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}/origination',
exceptionFnMap: _exceptionFns,
);
return GetVoiceConnectorOriginationResponse.fromJson(response);
}