Glue.Database
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput-federateddatabase.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-datalakeprincipal.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseidentifier.html
and principal_privileges = {
permissions : string list option;
principal : data_lake_principal option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-principalprivileges.html
and database_input = {
location_uri : string option;
create_table_default_permissions : principal_privileges list option;
description : string option;
parameters : Yojson.Safe.t option;
target_database : database_identifier option;
federated_database : federated_database option;
name : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html
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 ]
val create_attributes : string -> attributes