AuthDefinition

smithy.api.AuthDefinition
See theAuthDefinition companion object
final case class AuthDefinition(traits: Option[List[TraitShapeId]])

Marks a trait as an auth scheme defining trait.

The targeted trait must only be applied to service shapes or operation shapes, must be a structure, and must have the trait trait.

Value parameters

traits

The list of traits that auth implementations must understand in order to successfully use the scheme.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product