Class EventSourceValidator

  • All Implemented Interfaces:
    software.amazon.smithy.model.validation.Validator

    public final class EventSourceValidator
    extends software.amazon.smithy.model.validation.AbstractValidator
    Validates that the aws.api#service/eventSource property matches aws.api#service/arnNamespace + ".amazonaws.com" and does not use incorrect formats.
    • Field Summary

      • Fields inherited from interface software.amazon.smithy.model.validation.Validator

        MODEL_ERROR
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<software.amazon.smithy.model.validation.ValidationEvent> validate​(software.amazon.smithy.model.Model model)  
      • Methods inherited from class software.amazon.smithy.model.validation.AbstractValidator

        danger, danger, error, error, getName, note, note, warning, warning
      • Methods inherited from class java.lang.Object

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

      • EventSourceValidator

        public EventSourceValidator()
    • Method Detail

      • validate

        public java.util.List<software.amazon.smithy.model.validation.ValidationEvent> validate​(software.amazon.smithy.model.Model model)