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,
  XmlAttributeTrait.id,
  XmlFlattenedTrait.id,
  XmlNameTrait.id,
  XmlNamespaceTrait.id,
  TimestampFormatTrait.id,
  AwsQueryErrorTrait.id,
  AwsQueryCompatibleTrait.id,
];