check_tag_is_valid#

check_tag_is_valid(tag_name, tag_value)[source]#

Check validity of a tag value.

Parameters:
tag_namestring, name of the tag
tag_valueobject, value of the tag
Raises:
KeyError - if tag_name is not a valid tag in ESTIMATOR_TAG_LIST
ValueError - if the tag_valid is not a valid for the tag with name tag_name