Module Values.InsightEntitySource

Specifies the entity for which to retrieve insights. An entity can be an Amazon OpenSearch Service domain or an Amazon Web Services account.

Sourcetype nonrec t = {
  1. type_ : InsightEntityType.t;
    (*

    The type of the entity. Possible values are Account and DomainName.

    *)
  2. value : InsightEntityValue.t option;
    (*

    The value of the entity. For DomainName, this is the domain name. For Account, this is the Amazon Web Services account ID.

    *)
}
Sourceval context_ : string
Sourceval make : ?value:??? -> type_:InsightEntityType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of InsightEntityValue.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