Module Awso_glue_async.GlueSource

AWS Glue API, cohttp-async implementation

Sourcetype already_exists_error = [
  1. | `AlreadyExistsException
]

Convenience definition for already_exists_error which is often treated differently than other types of errors with aws glue

Sourceval yojson_of_already_exists_error : already_exists_error -> Ppx_yojson_conv_lib.Yojson.Safe.t
Sourceval already_exists_error_of_yojson : Ppx_yojson_conv_lib.Yojson.Safe.t -> already_exists_error
Sourceval __already_exists_error_of_yojson__ : Ppx_yojson_conv_lib.Yojson.Safe.t -> already_exists_error
Sourceval create_database : ?catalog_id:string -> ?description:string -> name:string -> Awso.Cfg.t -> unit Async.Deferred.t

create_database ?catalog_id ?description ~name cfg creates a glue database given name and optional catalog_id and description parameters along with an aws cfg.

Upon success, returns `Ok unit and one of createDatabase_error otherwise.