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,
      TimestampFormatTrait.id,
      AwsQueryCompatibleTrait.id,
    ];