getVoiceConnectorGroup method
Future<GetVoiceConnectorGroupResponse>
getVoiceConnectorGroup({
- required String voiceConnectorGroupId,
Retrieves details for the specified Amazon Chime Voice Connector group,
such as timestamps, name, and associated VoiceConnectorItems
.
May throw UnauthorizedClientException. May throw NotFoundException. May throw ForbiddenException. May throw BadRequestException. May throw ThrottledClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.
Parameter voiceConnectorGroupId
:
The Amazon Chime Voice Connector group ID.
Implementation
Future<GetVoiceConnectorGroupResponse> getVoiceConnectorGroup({
required String voiceConnectorGroupId,
}) async {
ArgumentError.checkNotNull(voiceConnectorGroupId, 'voiceConnectorGroupId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/voice-connector-groups/${Uri.encodeComponent(voiceConnectorGroupId)}',
exceptionFnMap: _exceptionFns,
);
return GetVoiceConnectorGroupResponse.fromJson(response);
}