{
  "version": "1.0",
  "resources": {
    "ContainerInstance": {
      "operation": "ListContainerInstances",
      "resourceIdentifier": {
        "containerInstanceArn": "containerInstanceArns[]"
      }
    },
    "TaskDefinitionFamily": {
      "operation": "ListTaskDefinitionFamilies",
      "resourceIdentifier": {
        "family": "families[]"
      }
    },
    "TaskDefinition": {
      "operation": "ListTaskDefinitions",
      "resourceIdentifier": {
        "taskDefinitionArn": "taskDefinitionArns[]"
      }
    },
    "Cluster": {
      "operation": "DescribeClusters",
      "resourceIdentifier": {
        "clusterArn": "clusters[].clusterArn",
        "clusterName": "clusters[].clusterName"
      }
    },
    "CapacityProvider": {
      "operation": "DescribeCapacityProviders",
      "resourceIdentifier": {
        "capacityProviderArn": "capacityProviders[].capacityProviderArn",
        "name": "capacityProviders[].name"
      }
    },
    "Service": {
      "operation": "ListServices",
      "resourceIdentifier": {
        "String": "serviceArns[]"
      }
    },
    "Task": {
      "operation": "ListTasks",
      "resourceIdentifier": {
        "String": "taskArns[]"
      }
    }
  },
  "operations": {
    "DeregisterContainerInstance": {
      "containerInstance": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ContainerInstance",
            "resourceIdentifier": "containerInstanceArn"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "DeregisterTaskDefinition": {
      "taskDefinition": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "TaskDefinition",
            "resourceIdentifier": "taskDefinitionArn"
          }
        ]
      }
    },
    "DescribeTaskDefinition": {
      "taskDefinition": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "TaskDefinition",
            "resourceIdentifier": "taskDefinitionArn"
          }
        ]
      }
    },
    "DiscoverPollEndpoint": {
      "containerInstance": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ContainerInstance",
            "resourceIdentifier": "containerInstanceArn"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "ListTasks": {
      "containerInstance": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ContainerInstance",
            "resourceIdentifier": "containerInstanceArn"
          }
        ]
      },
      "family": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "TaskDefinitionFamily",
            "resourceIdentifier": "family"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "RegisterContainerInstance": {
      "containerInstanceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ContainerInstance",
            "resourceIdentifier": "containerInstanceArn"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "RegisterTaskDefinition": {
      "family": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "TaskDefinitionFamily",
            "resourceIdentifier": "family"
          }
        ]
      }
    },
    "RunTask": {
      "taskDefinition": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "TaskDefinition",
            "resourceIdentifier": "taskDefinitionArn"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "StartTask": {
      "taskDefinition": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "TaskDefinition",
            "resourceIdentifier": "taskDefinitionArn"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "containerInstances": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ContainerInstance",
            "resourceIdentifier": "containerInstanceArn"
          }
        ]
      }
    },
    "UpdateContainerAgent": {
      "containerInstance": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ContainerInstance",
            "resourceIdentifier": "containerInstanceArn"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "UpdateService": {
      "taskDefinition": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "TaskDefinition",
            "resourceIdentifier": "taskDefinitionArn"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "CreateCapacityProvider": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "CreateCluster": {
      "capacityProviders": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "CapacityProvider",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "CreateExpressGatewayService": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "CreateService": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "taskDefinition": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "TaskDefinition",
            "resourceIdentifier": "taskDefinitionArn"
          }
        ]
      }
    },
    "CreateTaskSet": {
      "service": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Service",
            "resourceIdentifier": "String"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "taskDefinition": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "TaskDefinition",
            "resourceIdentifier": "taskDefinitionArn"
          }
        ]
      }
    },
    "DeleteAttributes": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "DeleteCapacityProvider": {
      "capacityProvider": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "CapacityProvider",
            "resourceIdentifier": "name"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "DeleteCluster": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "DeleteExpressGatewayService": {
      "serviceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Service",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "DeleteService": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "DeleteTaskDefinitions": {
      "taskDefinitions": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "TaskDefinition",
            "resourceIdentifier": "taskDefinitionArn"
          }
        ]
      }
    },
    "DeleteTaskSet": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "service": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Service",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "DescribeCapacityProviders": {
      "capacityProviders": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "CapacityProvider",
            "resourceIdentifier": "name"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "DescribeClusters": {
      "clusters": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterArn"
          }
        ]
      }
    },
    "DescribeContainerInstances": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "containerInstances": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ContainerInstance",
            "resourceIdentifier": "containerInstanceArn"
          }
        ]
      }
    },
    "DescribeExpressGatewayService": {
      "serviceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Service",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "DescribeServices": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "services": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Service",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "DescribeTaskSets": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "service": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Service",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "DescribeTasks": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "tasks": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "ExecuteCommand": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "task": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "GetTaskProtection": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterArn"
          }
        ]
      },
      "tasks": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "ListAttributes": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "ListContainerInstances": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "ListServiceDeployments": {
      "service": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Service",
            "resourceIdentifier": "String"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "ListServices": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "ListTagsForResource": {
      "resourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "CapacityProvider",
            "resourceIdentifier": "capacityProviderArn"
          }
        ]
      }
    },
    "PutAttributes": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "PutClusterCapacityProviders": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "capacityProviders": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "CapacityProvider",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "StopTask": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "task": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "SubmitAttachmentStateChanges": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "SubmitContainerStateChange": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "task": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "SubmitTaskStateChange": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "task": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "TagResource": {
      "resourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "CapacityProvider",
            "resourceIdentifier": "capacityProviderArn"
          }
        ]
      }
    },
    "UntagResource": {
      "resourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "CapacityProvider",
            "resourceIdentifier": "capacityProviderArn"
          }
        ]
      }
    },
    "UpdateCapacityProvider": {
      "name": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "CapacityProvider",
            "resourceIdentifier": "name"
          }
        ]
      },
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "UpdateCluster": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "UpdateClusterSettings": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      }
    },
    "UpdateContainerInstancesState": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "containerInstances": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ContainerInstance",
            "resourceIdentifier": "containerInstanceArn"
          }
        ]
      }
    },
    "UpdateExpressGatewayService": {
      "serviceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Service",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "UpdateServicePrimaryTaskSet": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "service": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Service",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "UpdateTaskProtection": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "tasks": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Task",
            "resourceIdentifier": "String"
          }
        ]
      }
    },
    "UpdateTaskSet": {
      "cluster": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Cluster",
            "resourceIdentifier": "clusterName"
          }
        ]
      },
      "service": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Service",
            "resourceIdentifier": "String"
          }
        ]
      }
    }
  }
}
