public final class MqttUnsupportedErrorsValidator extends AbstractValidator
@smithy.mqtt#publish
and subscribe
operations should not define errors.
Errors have to just come back in the event stream of the output. This violation may be suppressed since it emits a DANGER event.
MODEL_ERROR
Constructor and Description |
---|
MqttUnsupportedErrorsValidator() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ValidationEvent> |
validate(Model model)
Validates a model and returns a list of validation events.
|
createEvent, createEvent, danger, danger, error, error, getName, note, note, warning, warning
public java.util.List<ValidationEvent> validate(Model model)
Validator
model
- Model to validate.