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.
    • 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.