orbit-tui 1.1.1

Terminal UI for AWS - navigate, observe, and manage AWS resources
{
  "resources": {
    "lambda-functions": {
      "display_name": "Lambda Functions",
      "service": "lambda",
      "sdk_method": "list_functions",
      "sdk_method_params": {},
      "response_path": "functions",
      "id_field": "FunctionName",
      "name_field": "FunctionName",
      "is_global": false,
      "columns": [
        { "header": "FUNCTION NAME", "json_path": "FunctionName", "width": 30 },
        { "header": "RUNTIME", "json_path": "Runtime", "width": 15 },
        { "header": "MEMORY", "json_path": "MemorySize", "width": 10 },
        { "header": "MODIFIED", "json_path": "LastModified", "width": 25 }
      ],
      "sub_resources": [],
      "actions": [
        { "key": "i", "display_name": "Invoke", "shortcut": "i", "sdk_method": "invoke_function", "confirm": { "message": "Invoke Lambda function", "default_yes": true } },
        { "key": "ctrl+d", "display_name": "Delete", "shortcut": "ctrl+d", "sdk_method": "delete_function", "confirm": { "message": "Delete Lambda function", "default_yes": false, "destructive": true } }
      ],

      "api_config": {
        "protocol": "rest-json",
        "method": "GET",
        "path": "/2015-03-31/functions",
        "response_root": "/Functions",
        "pagination": {
          "input_token": "Marker",
          "output_token": "/NextMarker",
          "max_results_param": "MaxItems",
          "max_results": 50
        }
      },
      "field_mappings": {
        "FunctionName": { "source": "/FunctionName", "default": "-" },
        "Runtime": { "source": "/Runtime", "default": "-" },
        "MemorySize": { "source": "/MemorySize", "default": "0" },
        "LastModified": { "source": "/LastModified", "default": "-" },
        "Description": { "source": "/Description", "default": "-" }
      },
      "action_configs": {
        "invoke_function": {
          "action_id": "invoke_function",
          "protocol": "rest-json",
          "method": "POST",
          "path": "/2015-03-31/functions/{resource_id}/invocations",
          "body_template": "{}"
        },
        "delete_function": {
          "action_id": "delete_function",
          "protocol": "rest-json",
          "method": "DELETE",
          "path": "/2015-03-31/functions/{resource_id}"
        }
      },
      "describe_config": {
        "protocol": "rest-json",
        "method": "GET",
        "path": "/2015-03-31/functions/{resource_id}"
      }
    }
  }
}