def METHOD_NAME(self, name: str) -> None:
    msg = "Cluster ID specified is not a valid identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens."
    if not re.match("^[a-z][a-z0-9-]+[a-z0-9]$", name):
        raise InvalidParameterValueException(msg)
    if "--" in name:
        raise InvalidParameterValueException(msg)