Module Values.TextInputCardInputSource

The input shape for defining a text input card in an Amazon Q App.

Sourcetype nonrec t = {
  1. title : Title.t;
    (*

    The title or label of the text input card.

    *)
  2. id : UUID.t;
    (*

    The unique identifier of the text input card.

    *)
  3. type_ : CardType.t;
    (*

    The type of the card.

    *)
  4. placeholder : Placeholder.t option;
    (*

    The placeholder text to display in the text input field.

    *)
  5. defaultValue : Default.t option;
    (*

    The default value to pre-populate in the text input field.

    *)
}
Sourceval context_ : string
Sourceval make : ?placeholder:??? -> ?defaultValue:??? -> title:Title.t -> id:UUID.t -> type_:CardType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Title.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