delete_vocabulary
async
¶
delete_vocabulary(
instance_id: InstanceId,
vocabulary_id: VocabularyId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
) -> DeleteVocabularyResponse
Deletes the vocabulary that has the given identifier.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
vocabulary_id(VocabularyId) –The identifier of the custom vocabulary.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidRequestException–The request is not valid.
-
ResourceInUseException–That resource is already in use (for example, you're trying to add a record with the same name as an existing record). If you are trying to delete a resource (for example, DeleteHoursOfOperation or DeletePredefinedAttribute), remove its reference from related resources and then try again.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.