{
  "version": "1.0",
  "resources": {
    "Task": {
      "operation": "ListTasks",
      "resourceIdentifier": {
        "taskId": "tasks[].taskId"
      }
    },
    "Device": {
      "operation": "ListDevices",
      "resourceIdentifier": {
        "managedDeviceArn": "devices[].managedDeviceArn",
        "managedDeviceId": "devices[].managedDeviceId"
      }
    }
  },
  "operations": {
    "CancelTask": {
      "taskId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "taskId"
          }
        ]
      }
    },
    "CreateTask": {
      "targets": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Device",
            "resourceIdentifier": "managedDeviceId"
          }
        ]
      }
    },
    "DescribeDevice": {
      "managedDeviceId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Device",
            "resourceIdentifier": "managedDeviceId"
          }
        ]
      }
    },
    "DescribeDeviceEc2Instances": {
      "managedDeviceId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Device",
            "resourceIdentifier": "managedDeviceId"
          }
        ]
      }
    },
    "DescribeExecution": {
      "managedDeviceId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Device",
            "resourceIdentifier": "managedDeviceId"
          }
        ]
      },
      "taskId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "taskId"
          }
        ]
      }
    },
    "DescribeTask": {
      "taskId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "taskId"
          }
        ]
      }
    },
    "ListDeviceResources": {
      "managedDeviceId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Device",
            "resourceIdentifier": "managedDeviceId"
          }
        ]
      }
    },
    "ListExecutions": {
      "taskId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "taskId"
          }
        ]
      }
    },
    "ListTagsForResource": {
      "resourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Device",
            "resourceIdentifier": "managedDeviceArn"
          }
        ]
      }
    },
    "TagResource": {
      "resourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Device",
            "resourceIdentifier": "managedDeviceArn"
          }
        ]
      }
    },
    "UntagResource": {
      "resourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Device",
            "resourceIdentifier": "managedDeviceArn"
          }
        ]
      }
    }
  }
}
