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:
- AWS Authentication Traits
-
-
Constructor Summary
Constructors Constructor Description SigV4Migration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ValidationEvent>
evaluate(Differences differences)
Returns validation events given two models and the detected differences between them.-
Methods inherited from class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
danger, danger, error, error, getEventId, note, note, warning, warning
-
-
-
-
Method Detail
-
evaluate
public java.util.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.
-
-