AuthDefinition

smithy.api.AuthDefinition
See theAuthDefinition companion object
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.

Attributes

traits

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

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

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product