/* * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. */ #include #include "greengrasssdk.h" #include "tes.h" void handler(const gg_lambda_context *cxt) { (void) cxt; listTables(); } int main() { gg_error err = GGE_SUCCESS; err = gg_global_init(0); if(err) { gg_log(GG_LOG_ERROR, "gg_global_init failed %d", err); goto cleanup; } gg_runtime_start(handler, 0); cleanup: return -1; }