traits property

  1. @override
List<ShapeId> get traits
override

List of shape IDs that protocol implementations MUST understand in order to successfully use the protocol. Each shape MUST exist and MUST be a trait. Code generators SHOULD ensure that they support each listed trait.

Implementation

@override
List<ShapeId> get traits => const [
  CorsTrait.id,
  EndpointTrait.id,
  HostLabelTrait.id,
  HttpTrait.id,
  HttpErrorTrait.id,
  HttpHeaderTrait.id,
  HttpLabelTrait.id,
  HttpPayloadTrait.id,
  HttpPrefixHeadersTrait.id,
  HttpQueryTrait.id,
  HttpQueryParamsTrait.id,
  XmlAttributeTrait.id,
  XmlFlattenedTrait.id,
  XmlNameTrait.id,
  XmlNamespaceTrait.id,
  TimestampFormatTrait.id,
  MediaTypeTrait.id,
];