Skip to main content

validate_enum

Function validate_enum 

Source
pub fn validate_enum(
    field: &str,
    value: &str,
    allowed: &[&str],
) -> Result<(), AwsServiceError>
Expand description

Validate a string is one of the allowed enum values.