getVoiceConnectorGroup method

Future<GetVoiceConnectorGroupResponse> getVoiceConnectorGroup({
  1. required String voiceConnectorGroupId,
})

Retrieves details for the specified Amazon Chime SDK Voice Connector group, such as timestamps,name, and associated VoiceConnectorItems.

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

Parameter voiceConnectorGroupId : The Voice Connector group ID.

Implementation

Future<GetVoiceConnectorGroupResponse> getVoiceConnectorGroup({
  required String voiceConnectorGroupId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/voice-connector-groups/${Uri.encodeComponent(voiceConnectorGroupId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetVoiceConnectorGroupResponse.fromJson(response);
}