Module Glue.Database

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html

type federated_database = {
  1. connection_name : string option;
  2. identifier : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput-federateddatabase.html

and data_lake_principal = {
  1. data_lake_principal_identifier : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-datalakeprincipal.html

and database_identifier = {
  1. database_name : string option;
  2. region : string option;
  3. catalog_id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseidentifier.html

and principal_privileges = {
  1. permissions : string list option;
  2. principal : data_lake_principal option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-principalprivileges.html

and database_input = {
  1. location_uri : string option;
  2. create_table_default_permissions : principal_privileges list option;
  3. description : string option;
  4. parameters : Yojson.Safe.t option;
  5. target_database : database_identifier option;
  6. federated_database : federated_database option;
  7. name : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html

type properties = {
  1. database_input : database_input;
  2. catalog_id : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html;

val make_properties : database_input:database_input -> catalog_id:string -> unit -> properties
val make_federated_database : ?connection_name:string -> ?identifier:string -> unit -> federated_database
val make_data_lake_principal : ?data_lake_principal_identifier:string -> unit -> data_lake_principal
val make_database_identifier : ?database_name:string -> ?region:string -> ?catalog_id:string -> unit -> database_identifier
val make_principal_privileges : ?permissions:string list -> ?principal:data_lake_principal -> unit -> principal_privileges
val make_database_input : ?location_uri:string -> ?create_table_default_permissions:principal_privileges list -> ?description:string -> ?parameters:Yojson.Safe.t -> ?target_database:database_identifier -> ?federated_database:federated_database -> ?name:string -> unit -> database_input
val yojson_of_federated_database : federated_database -> Yojson.Safe.t
val yojson_of_data_lake_principal : data_lake_principal -> Yojson.Safe.t
val yojson_of_database_identifier : database_identifier -> Yojson.Safe.t
val yojson_of_principal_privileges : principal_privileges -> Yojson.Safe.t
val yojson_of_database_input : database_input -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string