Class DefineConditionKeysTraitValidator

java.lang.Object
software.amazon.smithy.model.validation.AbstractValidator
software.amazon.smithy.aws.iam.traits.DefineConditionKeysTraitValidator
All Implemented Interfaces:
Validator

public final class DefineConditionKeysTraitValidator extends AbstractValidator
Checks properties of the defineConditionKeys IAM trait 1. @required only for service resolved condition keys. ERROR if used for request resolved condition keys.
  • Constructor Details

    • DefineConditionKeysTraitValidator

      public DefineConditionKeysTraitValidator()
  • Method Details

    • validate

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