Module Values_2.ViewDefinitionSource

A structure containing details for representations.

Sourcetype nonrec t = {
  1. isProtected : Values_0.NullableBoolean.t option;
    (*

    You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.

    *)
  2. definer : Values_0.ArnString.t option;
    (*

    The definer of a view in SQL.

    *)
  3. viewVersionId : Values_1.TableVersionId.t option;
    (*

    The ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.

    *)
  4. viewVersionToken : Values_0.HashString.t option;
    (*

    The version ID of the Apache Iceberg table.

    *)
  5. refreshSeconds : Values_1.RefreshSeconds.t option;
    (*

    Auto refresh interval in seconds for the materialized view. If not specified, the view will not automatically refresh.

    *)
  6. lastRefreshType : Values_1.LastRefreshType.t option;
    (*

    Sets the method used for the most recent refresh.

    *)
  7. subObjects : Values_1.ViewSubObjectsList.t option;
    (*

    A list of table Amazon Resource Names (ARNs).

    *)
  8. subObjectVersionIds : Values_1.ViewSubObjectVersionIdsList.t option;
    (*

    List of the Apache Iceberg table versions referenced by the materialized view.

    *)
  9. representations : ViewRepresentationList.t option;
    (*

    A list of representations.

    *)
}
Sourceval make : ?isProtected:??? -> ?definer:??? -> ?viewVersionId:??? -> ?viewVersionToken:??? -> ?refreshSeconds:??? -> ?lastRefreshType:??? -> ?subObjects:??? -> ?subObjectVersionIds:??? -> ?representations:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.NullableBoolean.t | `Enum of string | `List of [> `Long of Awso.Import.Int64.t | `String of Values_0.ArnString.t | `Structure of (string * [> `Boolean of Values_0.NullableBoolean.t | `Enum of string | `String of Values_1.ViewDialectVersionString.t ]) list ] list | `Long of Values_1.TableVersionId.t | `String of Values_0.ArnString.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