deleteVoiceProfileDomain method
Deletes all voice profiles in the domain. WARNING: This action is not reversible.
May throw AccessDeniedException.
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 voiceProfileDomainId :
The voice profile domain ID.
Implementation
Future<void> deleteVoiceProfileDomain({
required String voiceProfileDomainId,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/voice-profile-domains/${Uri.encodeComponent(voiceProfileDomainId)}',
exceptionFnMap: _exceptionFns,
);
}