def METHOD_NAME(client, database_name, database_input=None, catalog_id=None):
    if database_input is None:
        database_input = create_database_input(database_name)
    database_kwargs = {"DatabaseInput": database_input}
    if catalog_id is not None:
        database_kwargs["CatalogId"] = catalog_id
    return client.METHOD_NAME(**database_kwargs)