delete_vocabulary
¶
delete_vocabulary(
vocabulary_name: VocabularyName,
*,
config_overrides: Optional[TranscribeClientConfig] = None,
) -> None
Deletes a custom vocabulary. To use this operation, specify the name of the custom vocabulary you want to delete using VocabularyName. Custom vocabulary names are case sensitive.
Parameters:
-
vocabulary_name(VocabularyName) –The name of the custom vocabulary you want to delete. Custom vocabulary names are case sensitive.
Raises:
-
BadRequestException–Your request didn't pass one or more validation tests. This can occur when a parameter has an invalid value, when you combine parameters in a way that isn't supported, when the entity you're trying to delete doesn't exist, or if it's in a non-terminal state (such as
IN PROGRESS). See the exception message field for more information. -
InternalFailureException–There was an internal error. Check the error message, correct the issue, and try your request again.
-
LimitExceededException–You've either sent too many requests or your input file is too long. Wait before retrying your request, or use a smaller file and try your request again.
-
NotFoundException–We can't find the requested resource. Check that the specified name is correct and try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.