smithy.api.ProtocolDefinition
See theProtocolDefinition companion object
final case class ProtocolDefinition(traits: Option[List[TraitShapeId]], noInlineDocumentSupport: Option[Boolean])
Marks a trait as a protocol defining trait.
The targeted trait must only be applied to service shapes, must be a structure, and must have the trait
trait.
Value parameters
- noInlineDocumentSupport
-
Set to true if inline documents are not supported by this protocol.
- traits
-
Defines a list of traits that protocol implementations must understand in order to successfully use the protocol.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article