orbit-tui 1.1.1

Terminal UI for AWS - navigate, observe, and manage AWS resources
{
  "resources": {
    "iam-users": {
      "display_name": "IAM Users",
      "service": "iam",
      "sdk_method": "list_users",
      "sdk_method_params": {},
      "response_path": "users",
      "id_field": "UserId",
      "name_field": "UserName",
      "is_global": true,
      "columns": [
        { "header": "USER NAME", "json_path": "UserName", "width": 22 },
        { "header": "USER ID", "json_path": "UserId", "width": 24 },
        { "header": "ARN", "json_path": "Arn", "width": 34 },
        { "header": "CREATED", "json_path": "CreateDate", "width": 20 }
      ],
      "sub_resources": [
        { "shortcut": "p", "display_name": "Attached Policies", "resource_key": "iam-user-policies", "parent_id_field": "UserName", "filter_param": "user_name" },
        { "shortcut": "g", "display_name": "Groups", "resource_key": "iam-user-groups", "parent_id_field": "UserName", "filter_param": "user_name" },
        { "shortcut": "a", "display_name": "Access Keys", "resource_key": "iam-access-keys", "parent_id_field": "UserName", "filter_param": "user_name" }
      ],
      "actions": [],
      "api_config": {
        "protocol": "query",
        "action": "ListUsers",
        "response_root": "/ListUsersResponse/ListUsersResult/Users/member",
        "pagination": {
          "input_token": "Marker",
          "output_token": "/ListUsersResponse/ListUsersResult/Marker",
          "max_results_param": "MaxItems",
          "max_results": 100
        }
      },
      "field_mappings": {
        "UserId": { "source": "/UserId", "default": "-" },
        "UserName": { "source": "/UserName", "default": "-" },
        "Arn": { "source": "/Arn", "default": "-" },
        "Path": { "source": "/Path", "default": "/" },
        "CreateDate": { "source": "/CreateDate", "default": "-" }
      },
      "describe_config": {
        "protocol": "query",
        "action": "GetUser",
        "id_param": "UserName",
        "response_path": "/GetUserResponse/GetUserResult/User"
      }
    },
    "iam-user-policies": {
      "display_name": "IAM User Policies",
      "service": "iam",
      "sdk_method": "list_attached_user_policies",
      "sdk_method_params": {},
      "response_path": "attached_policies",
      "id_field": "PolicyName",
      "name_field": "PolicyName",
      "is_global": true,
      "requires_parent": true,
      "columns": [
        { "header": "POLICY NAME", "json_path": "PolicyName", "width": 28 },
        { "header": "ARN", "json_path": "PolicyArn", "width": 34 }
      ],
      "sub_resources": [],
      "actions": [],
      "api_config": {
        "protocol": "query",
        "action": "ListAttachedUserPolicies",
        "response_root": "/ListAttachedUserPoliciesResponse/ListAttachedUserPoliciesResult/AttachedPolicies/member",
        "param_mapping": {
          "user_name": "UserName"
        },
        "pagination": {
          "input_token": "Marker",
          "output_token": "/ListAttachedUserPoliciesResponse/ListAttachedUserPoliciesResult/Marker",
          "max_results_param": "MaxItems",
          "max_results": 100
        }
      },
      "field_mappings": {
        "PolicyName": { "source": "/PolicyName", "default": "-" },
        "PolicyArn": { "source": "/PolicyArn", "default": "-" }
      }
    },
    "iam-user-groups": {
      "display_name": "IAM User Groups",
      "service": "iam",
      "sdk_method": "list_groups_for_user",
      "sdk_method_params": {},
      "response_path": "groups",
      "id_field": "GroupId",
      "name_field": "GroupName",
      "is_global": true,
      "requires_parent": true,
      "columns": [
        { "header": "GROUP NAME", "json_path": "GroupName", "width": 25 },
        { "header": "GROUP ID", "json_path": "GroupId", "width": 24 },
        { "header": "ARN", "json_path": "Arn", "width": 34 }
      ],
      "sub_resources": [],
      "actions": [],
      "api_config": {
        "protocol": "query",
        "action": "ListGroupsForUser",
        "response_root": "/ListGroupsForUserResponse/ListGroupsForUserResult/Groups/member",
        "param_mapping": {
          "user_name": "UserName"
        },
        "pagination": {
          "input_token": "Marker",
          "output_token": "/ListGroupsForUserResponse/ListGroupsForUserResult/Marker",
          "max_results_param": "MaxItems",
          "max_results": 100
        }
      },
      "field_mappings": {
        "GroupId": { "source": "/GroupId", "default": "-" },
        "GroupName": { "source": "/GroupName", "default": "-" },
        "Arn": { "source": "/Arn", "default": "-" }
      }
    },
    "iam-access-keys": {
      "display_name": "IAM Access Keys",
      "service": "iam",
      "sdk_method": "list_access_keys",
      "sdk_method_params": {},
      "response_path": "access_key_metadata",
      "id_field": "AccessKeyId",
      "name_field": "AccessKeyId",
      "is_global": true,
      "requires_parent": true,
      "columns": [
        { "header": "ACCESS KEY ID", "json_path": "AccessKeyId", "width": 25 },
        { "header": "STATUS", "json_path": "Status", "width": 10, "color_map": "state" },
        { "header": "CREATED", "json_path": "CreateDate", "width": 20 }
      ],
      "sub_resources": [],
      "actions": [],
      "api_config": {
        "protocol": "query",
        "action": "ListAccessKeys",
        "response_root": "/ListAccessKeysResponse/ListAccessKeysResult/AccessKeyMetadata/member",
        "param_mapping": {
          "user_name": "UserName"
        },
        "pagination": {
          "input_token": "Marker",
          "output_token": "/ListAccessKeysResponse/ListAccessKeysResult/Marker",
          "max_results_param": "MaxItems",
          "max_results": 100
        }
      },
      "field_mappings": {
        "AccessKeyId": { "source": "/AccessKeyId", "default": "-" },
        "Status": { "source": "/Status", "default": "-" },
        "CreateDate": { "source": "/CreateDate", "default": "-" }
      }
    },
    "iam-roles": {
      "display_name": "IAM Roles",
      "service": "iam",
      "sdk_method": "list_roles",
      "sdk_method_params": {},
      "response_path": "roles",
      "id_field": "RoleId",
      "name_field": "RoleName",
      "is_global": true,
      "columns": [
        { "header": "ROLE NAME", "json_path": "RoleName", "width": 25 },
        { "header": "ROLE ID", "json_path": "RoleId", "width": 24 },
        { "header": "ARN", "json_path": "Arn", "width": 34 },
        { "header": "CREATED", "json_path": "CreateDate", "width": 17 }
      ],
      "sub_resources": [
        { "shortcut": "p", "display_name": "Attached Policies", "resource_key": "iam-role-policies", "parent_id_field": "RoleName", "filter_param": "role_name" }
      ],
      "actions": [],
      "api_config": {
        "protocol": "query",
        "action": "ListRoles",
        "response_root": "/ListRolesResponse/ListRolesResult/Roles/member",
        "pagination": {
          "input_token": "Marker",
          "output_token": "/ListRolesResponse/ListRolesResult/Marker",
          "max_results_param": "MaxItems",
          "max_results": 100
        }
      },
      "field_mappings": {
        "RoleId": { "source": "/RoleId", "default": "-" },
        "RoleName": { "source": "/RoleName", "default": "-" },
        "Arn": { "source": "/Arn", "default": "-" },
        "Path": { "source": "/Path", "default": "/" },
        "CreateDate": { "source": "/CreateDate", "default": "-" },
        "Description": { "source": "/Description", "default": "-" }
      },
      "describe_config": {
        "protocol": "query",
        "action": "GetRole",
        "id_param": "RoleName",
        "response_path": "/GetRoleResponse/GetRoleResult/Role"
      }
    },
    "iam-role-policies": {
      "display_name": "IAM Role Policies",
      "service": "iam",
      "sdk_method": "list_attached_role_policies",
      "sdk_method_params": {},
      "response_path": "attached_policies",
      "id_field": "PolicyName",
      "name_field": "PolicyName",
      "is_global": true,
      "requires_parent": true,
      "columns": [
        { "header": "POLICY NAME", "json_path": "PolicyName", "width": 28 },
        { "header": "ARN", "json_path": "PolicyArn", "width": 34 }
      ],
      "sub_resources": [],
      "actions": [],
      "api_config": {
        "protocol": "query",
        "action": "ListAttachedRolePolicies",
        "response_root": "/ListAttachedRolePoliciesResponse/ListAttachedRolePoliciesResult/AttachedPolicies/member",
        "param_mapping": {
          "role_name": "RoleName"
        },
        "pagination": {
          "input_token": "Marker",
          "output_token": "/ListAttachedRolePoliciesResponse/ListAttachedRolePoliciesResult/Marker",
          "max_results_param": "MaxItems",
          "max_results": 100
        }
      },
      "field_mappings": {
        "PolicyName": { "source": "/PolicyName", "default": "-" },
        "PolicyArn": { "source": "/PolicyArn", "default": "-" }
      }
    },
    "iam-policies": {
      "display_name": "IAM Policies",
      "service": "iam",
      "sdk_method": "list_policies",
      "sdk_method_params": {
        "scope": "Local"
      },
      "response_path": "policies",
      "id_field": "PolicyId",
      "name_field": "PolicyName",
      "is_global": true,
      "columns": [
        { "header": "POLICY NAME", "json_path": "PolicyName", "width": 28 },
        { "header": "POLICY ID", "json_path": "PolicyId", "width": 24 },
        { "header": "ATTACHMENTS", "json_path": "AttachmentCount", "width": 14 },
        { "header": "ATTACHABLE", "json_path": "IsAttachable", "width": 12, "color_map": "bool" },
        { "header": "CREATED", "json_path": "CreateDate", "width": 17 }
      ],
      "sub_resources": [],
      "actions": [],
      "api_config": {
        "protocol": "query",
        "action": "ListPolicies",
        "response_root": "/ListPoliciesResponse/ListPoliciesResult/Policies/member",
        "static_params": {
          "Scope": "Local"
        },
        "pagination": {
          "input_token": "Marker",
          "output_token": "/ListPoliciesResponse/ListPoliciesResult/Marker",
          "max_results_param": "MaxItems",
          "max_results": 100
        }
      },
      "field_mappings": {
        "PolicyId": { "source": "/PolicyId", "default": "-" },
        "PolicyName": { "source": "/PolicyName", "default": "-" },
        "Arn": { "source": "/Arn", "default": "-" },
        "Path": { "source": "/Path", "default": "/" },
        "CreateDate": { "source": "/CreateDate", "default": "-" },
        "AttachmentCount": { "source": "/AttachmentCount", "default": "0" },
        "IsAttachable": { "source": "/IsAttachable", "transform": "bool_to_yes_no" }
      }
    },
    "iam-groups": {
      "display_name": "IAM Groups",
      "service": "iam",
      "sdk_method": "list_groups",
      "sdk_method_params": {},
      "response_path": "groups",
      "id_field": "GroupId",
      "name_field": "GroupName",
      "is_global": true,
      "columns": [
        { "header": "GROUP NAME", "json_path": "GroupName", "width": 25 },
        { "header": "GROUP ID", "json_path": "GroupId", "width": 24 },
        { "header": "ARN", "json_path": "Arn", "width": 34 },
        { "header": "CREATED", "json_path": "CreateDate", "width": 17 }
      ],
      "sub_resources": [
        { "shortcut": "u", "display_name": "Users in Group", "resource_key": "iam-group-users", "parent_id_field": "GroupName", "filter_param": "group_name" }
      ],
      "actions": [],
      "api_config": {
        "protocol": "query",
        "action": "ListGroups",
        "response_root": "/ListGroupsResponse/ListGroupsResult/Groups/member",
        "pagination": {
          "input_token": "Marker",
          "output_token": "/ListGroupsResponse/ListGroupsResult/Marker",
          "max_results_param": "MaxItems",
          "max_results": 100
        }
      },
      "field_mappings": {
        "GroupId": { "source": "/GroupId", "default": "-" },
        "GroupName": { "source": "/GroupName", "default": "-" },
        "Arn": { "source": "/Arn", "default": "-" },
        "Path": { "source": "/Path", "default": "/" },
        "CreateDate": { "source": "/CreateDate", "default": "-" }
      }
    },
    "iam-group-users": {
      "display_name": "IAM Group Users",
      "service": "iam",
      "sdk_method": "get_group",
      "sdk_method_params": {},
      "response_path": "users",
      "id_field": "UserId",
      "name_field": "UserName",
      "is_global": true,
      "requires_parent": true,
      "columns": [
        { "header": "USER NAME", "json_path": "UserName", "width": 22 },
        { "header": "USER ID", "json_path": "UserId", "width": 24 },
        { "header": "ARN", "json_path": "Arn", "width": 34 }
      ],
      "sub_resources": [],
      "actions": [],
      "api_config": {
        "protocol": "query",
        "action": "GetGroup",
        "response_root": "/GetGroupResponse/GetGroupResult/Users/member",
        "param_mapping": {
          "group_name": "GroupName"
        },
        "pagination": {
          "input_token": "Marker",
          "output_token": "/GetGroupResponse/GetGroupResult/Marker",
          "max_results_param": "MaxItems",
          "max_results": 100
        }
      },
      "field_mappings": {
        "UserId": { "source": "/UserId", "default": "-" },
        "UserName": { "source": "/UserName", "default": "-" },
        "Arn": { "source": "/Arn", "default": "-" }
      }
    }
  }
}