Class AuthTraitValidator

  • All Implemented Interfaces:
    Validator

    public final class AuthTraitValidator
    extends AbstractValidator
    All @auth trait values referenced from an operation must refer to authentication traits applied to service shapes that enclose the operation.
    • Field Summary

    • Method Summary

      Modifier and Type Method Description
      java.util.List<ValidationEvent> validate​(Model model)
      Validates a model and returns a list of validation events.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthTraitValidator

        public AuthTraitValidator()
    • Method Detail

      • validate

        public java.util.List<ValidationEvent> validate​(Model model)
        Description copied from interface: Validator
        Validates a model and returns a list of validation events.
        Parameters:
        model - Model to validate.
        Returns:
        List of validation events.