Module Values.SchemaSource

A schema is a relation within a collaboration.

Sourcetype nonrec t = {
  1. columns : ColumnList.t option;
    (*

    The columns for the relation that this schema represents.

    *)
  2. partitionKeys : ColumnList.t option;
    (*

    The partition keys for the dataset underlying this schema.

    *)
  3. analysisRuleTypes : AnalysisRuleTypeList.t option;
    (*

    The analysis rule types that are associated with the schema. Currently, only one entry is present.

    *)
  4. analysisMethod : AnalysisMethod.t option;
    (*

    The analysis method for the schema. DIRECT_QUERY allows SQL queries to be run directly on this table. DIRECT_JOB allows PySpark jobs to be run directly on this table. MULTIPLE allows both SQL queries and PySpark jobs to be run directly on this table.

    *)
  5. selectedAnalysisMethods : SelectedAnalysisMethods.t option;
    (*

    The selected analysis methods for the schema.

    *)
  6. creatorAccountId : AccountId.t option;
    (*

    The unique account ID for the Amazon Web Services account that owns the schema.

    *)
  7. name : TableAlias.t option;
    (*

    A name for the schema. The schema relation is referred to by this name when queried by a protected query.

    *)
  8. collaborationId : UUID.t option;
    (*

    The unique ID for the collaboration that the schema belongs to.

    *)
  9. collaborationArn : CollaborationArn.t option;
    (*

    The unique Amazon Resource Name (ARN) for the collaboration that the schema belongs to.

    *)
  10. description : TableDescription.t option;
    (*

    A description for the schema.

    *)
  11. createTime : Timestamp.t option;
    (*

    The time at which the schema was created.

    *)
  12. updateTime : Timestamp.t option;
    (*

    The most recent time at which the schema was updated.

    *)
  13. type_ : SchemaType.t option;
    (*

    The type of schema.

    *)
  14. schemaStatusDetails : SchemaStatusDetailList.t option;
    (*

    Details about the status of the schema. Currently, only one entry is present.

    *)
  15. resourceArn : SchemaResourceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the schema resource.

    *)
  16. schemaTypeProperties : SchemaTypeProperties.t option;
    (*

    The schema type properties.

    *)
}
Sourceval make : ?columns:ColumnList.t -> ?partitionKeys:ColumnList.t -> ?analysisRuleTypes:AnalysisRuleTypeList.t -> ?analysisMethod:AnalysisMethod.t -> ?selectedAnalysisMethods:SelectedAnalysisMethods.t -> ?creatorAccountId:AccountId.t -> ?name:TableAlias.t -> ?collaborationId:UUID.t -> ?collaborationArn:CollaborationArn.t -> ?description:TableDescription.t -> ?createTime:Timestamp.t -> ?updateTime:Timestamp.t -> ?type_:SchemaType.t -> ?schemaStatusDetails:SchemaStatusDetailList.t -> ?resourceArn:SchemaResourceArn.t -> ?schemaTypeProperties:SchemaTypeProperties.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `Structure of (string * [> `Enum of string | `String of String_.t ]) list ] list | `String of ColumnName.t ]) list ] list | `String of AccountId.t | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ] list ]) list ]) list | `Timestamp of Timestamp.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