deleteVoiceConnectorGroup method
Deletes the specified Amazon Chime Voice Connector group. Any
VoiceConnectorItems
and phone numbers associated with the
group must be removed before it can be deleted.
May throw UnauthorizedClientException. May throw NotFoundException. May throw ForbiddenException. May throw BadRequestException. May throw ConflictException. May throw ThrottledClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.
Parameter voiceConnectorGroupId
:
The Amazon Chime Voice Connector group ID.
Implementation
Future<void> deleteVoiceConnectorGroup({
required String voiceConnectorGroupId,
}) async {
ArgumentError.checkNotNull(voiceConnectorGroupId, 'voiceConnectorGroupId');
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/voice-connector-groups/${Uri.encodeComponent(voiceConnectorGroupId)}',
exceptionFnMap: _exceptionFns,
);
}