Module Values.AttributeDefinitionSource

Represents an attribute for describing the schema for the table and indexes.

Sourcetype nonrec t = {
  1. attributeName : KeySchemaAttributeName.t;
    (*

    A name for the attribute.

    *)
  2. attributeType : ScalarAttributeType.t;
    (*

    The data type for the attribute, where: S - the attribute is of type String N - the attribute is of type Number B - the attribute is of type Binary

    *)
}
Sourceval context_ : string
Sourceval make : attributeName:KeySchemaAttributeName.t -> attributeType:ScalarAttributeType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of KeySchemaAttributeName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t