orbit-tui 1.1.1

Terminal UI for AWS - navigate, observe, and manage AWS resources
{
  "resources": {
    "cloudfront-distributions": {
      "display_name": "CloudFront Distributions",
      "service": "cloudfront",
      "sdk_method": "list_distributions",
      "sdk_method_params": {},
      "response_path": "distributions",
      "id_field": "Id",
      "name_field": "DomainName",
      "is_global": true,
      "columns": [
        { "header": "DISTRIBUTION ID", "json_path": "Id", "width": 12 },
        { "header": "ALTERNATE DOMAINS", "json_path": "Aliases", "width": 28 },
        { "header": "ORIGINS", "json_path": "Origins", "width": 28 },
        { "header": "DOMAIN NAME", "json_path": "DomainName", "width": 18 },
        { "header": "STATUS", "json_path": "Status", "width": 9, "color_map": "state" },
        { "header": "ENABLED", "json_path": "Enabled", "width": 5 }
      ],
      "sub_resources": [],
      "actions": [],
      "api_config": {
        "protocol": "rest-xml",
        "method": "GET",
        "path": "/2020-05-31/distribution",
        "response_root": "/DistributionList/Items/DistributionSummary",
        "pagination": {
          "input_token": "Marker",
          "output_token": "/DistributionList/NextMarker",
          "max_results_param": "MaxItems",
          "max_results": 100
        }
      },
      "field_mappings": {
        "Id": { "source": "/Id", "default": "-" },
        "DomainName": { "source": "/DomainName", "default": "-" },
        "Aliases": { "source": "/Aliases/Items/CNAME", "transform": "array_to_csv", "default": "-" },
        "Origins": {
          "source": "/Origins/Items/Origin/DomainName",
          "transform": "array_to_csv",
          "default": "-"
        },
        "Status": { "source": "/Status", "default": "-" },
        "Enabled": { "source": "/Enabled", "transform": "bool_to_yes_no" }
      }
    }
  }
}