deleteVoiceConnectorGroup method
Deletes an Amazon Chime SDK Voice Connector group. Any
VoiceConnectorItems and phone numbers associated with the
group must be removed before it can be deleted.
May throw BadRequestException.
May throw ConflictException.
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<void> deleteVoiceConnectorGroup({
required String voiceConnectorGroupId,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/voice-connector-groups/${Uri.encodeComponent(voiceConnectorGroupId)}',
exceptionFnMap: _exceptionFns,
);
}