getVoiceConnectorStreamingConfiguration method

Future<GetVoiceConnectorStreamingConfigurationResponse> getVoiceConnectorStreamingConfiguration({
  1. required String voiceConnectorId,
})

Retrieves the streaming configuration details for the specified Amazon Chime Voice Connector. Shows whether media streaming is enabled for sending to Amazon Kinesis. It also shows the retention period, in hours, for the Amazon Kinesis data.

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

Parameter voiceConnectorId : The Amazon Chime Voice Connector ID.

Implementation

Future<GetVoiceConnectorStreamingConfigurationResponse>
    getVoiceConnectorStreamingConfiguration({
  required String voiceConnectorId,
}) async {
  ArgumentError.checkNotNull(voiceConnectorId, 'voiceConnectorId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}/streaming-configuration',
    exceptionFnMap: _exceptionFns,
  );
  return GetVoiceConnectorStreamingConfigurationResponse.fromJson(response);
}