validate_instance_id

Function validate_instance_id 

Source
pub fn validate_instance_id(input: &str) -> Result<(), ValidatorError>
Expand description

Checks that the instance id only contains alphanumeric chars and hyphens and that the size is between 1 and 64 characters.