Class SigV4Migration

java.lang.Object
software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
software.amazon.smithy.aws.traits.auth.diff.SigV4Migration
All Implemented Interfaces:
DiffEvaluator

public final class SigV4Migration extends AbstractDiffEvaluator
Emit diff validation for SigV4 migration in the @auth trait. Specifically, SigV4 (aws.auth#sigv4) to SigV4A (aws.auth#sigv4a) due to a subset of credentials usable with SigV4 that are not usable with SigV4A.
See Also:
  • Constructor Details

    • SigV4Migration

      public SigV4Migration()
  • Method Details

    • evaluate

      public List<ValidationEvent> evaluate(Differences differences)
      Description copied from interface: DiffEvaluator
      Returns validation events given two models and the detected differences between them.
      Parameters:
      differences - Detected differences.
      Returns:
      Returns validation events that are relative to the new model.