getVoiceConnectorLoggingConfiguration method
Future<GetVoiceConnectorLoggingConfigurationResponse>
getVoiceConnectorLoggingConfiguration({
- required String voiceConnectorId,
Retrieves the logging configuration settings for the specified Voice Connector. Shows whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.
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<GetVoiceConnectorLoggingConfigurationResponse>
getVoiceConnectorLoggingConfiguration({
required String voiceConnectorId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}/logging-configuration',
exceptionFnMap: _exceptionFns,
);
return GetVoiceConnectorLoggingConfigurationResponse.fromJson(response);
}