smithy
smithy copied to clipboard
Add required property to defineConditionKeys to be used for serviceResolvedConditionKeys
Background
- What do these changes do?
- Adds a
requiredproperty to the IAM traitdefineConditionKeys. - Updates the IAM trait documentation.
- Why are they important?
Defines whether a service resolved condition key is required. Not applicable to request resolved condition keys as the native @required trait must be used on the field directly.
Testing
- How did you test these changes?
- Smithy test files.
- Java test class to check
requiredis set correctly.
Links
- Links to additional context, if necessary
- Issue #, if applicable (see here for a list of keywords to use for linking issues)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
It appears there are also checkstyle validations that are failing the build.
Resolving in favor of #2288