smithy.api.NotProperty.scala Maven / Gradle / Ivy
package smithy.api
import smithy4s.Hints
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.ShapeTag
import smithy4s.schema.Schema.constant
/** Explicitly excludes a member from resource property mapping or enables
* another trait to carry the same implied meaning.
*/
final case class NotProperty()
object NotProperty extends ShapeTag.Companion[NotProperty] {
val id: ShapeId = ShapeId("smithy.api", "notProperty")
val hints: Hints = Hints(
smithy.api.NotProperty(),
smithy.api.Documentation("Explicitly excludes a member from resource property mapping or enables\nanother trait to carry the same implied meaning."),
smithy.api.Trait(selector = Some(":is(operation -[input, output]-> structure > member, [trait|trait])"), structurallyExclusive = None, conflicts = None, breakingChanges = Some(List(smithy.api.TraitDiffRule(change = smithy.api.TraitChangeType.ADD.widen, severity = smithy.api.Severity.ERROR.widen, path = None, message = None)))),
).lazily
implicit val schema: Schema[NotProperty] = constant(NotProperty()).withId(id).addHints(hints)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy