{
  "version": "2.0",
  "metadata": {
    "apiVersion": "2015-11-01",
    "endpointPrefix": "discovery",
    "jsonVersion": "1.1",
    "protocol": "json",
    "serviceFullName": "AWS Application Discovery Service",
    "signatureVersion": "v4",
    "targetPrefix": "AWSPoseidonService_V2015_11_01",
    "uid": "discovery-2015-11-01"
  },
  "operations": {
    "AssociateConfigurationItemsToApplication": {
      "input": {
        "type": "structure",
        "required": [
          "applicationConfigurationId",
          "configurationIds"
        ],
        "members": {
          "applicationConfigurationId": {},
          "configurationIds": {
            "shape": "S3"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "CreateApplication": {
      "input": {
        "type": "structure",
        "required": [
          "name"
        ],
        "members": {
          "name": {},
          "description": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "configurationId": {}
        }
      }
    },
    "CreateTags": {
      "input": {
        "type": "structure",
        "required": [
          "configurationIds",
          "tags"
        ],
        "members": {
          "configurationIds": {
            "shape": "S3"
          },
          "tags": {
            "shape": "Sa"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "DeleteApplications": {
      "input": {
        "type": "structure",
        "required": [
          "configurationIds"
        ],
        "members": {
          "configurationIds": {
            "type": "list",
            "member": {}
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "DeleteTags": {
      "input": {
        "type": "structure",
        "required": [
          "configurationIds"
        ],
        "members": {
          "configurationIds": {
            "shape": "S3"
          },
          "tags": {
            "shape": "Sa"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "DescribeAgents": {
      "input": {
        "type": "structure",
        "members": {
          "agentIds": {
            "shape": "Sl"
          },
          "filters": {
            "shape": "Sn"
          },
          "maxResults": {
            "type": "integer"
          },
          "nextToken": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "agentsInfo": {
            "type": "list",
            "member": {
              "type": "structure",
              "members": {
                "agentId": {},
                "hostName": {},
                "agentNetworkInfoList": {
                  "type": "list",
                  "member": {
                    "type": "structure",
                    "members": {
                      "ipAddress": {},
                      "macAddress": {}
                    }
                  }
                },
                "connectorId": {},
                "version": {},
                "health": {},
                "lastHealthPingTime": {},
                "collectionStatus": {},
                "agentType": {},
                "registeredTime": {}
              }
            }
          },
          "nextToken": {}
        }
      }
    },
    "DescribeConfigurations": {
      "input": {
        "type": "structure",
        "required": [
          "configurationIds"
        ],
        "members": {
          "configurationIds": {
            "shape": "S3"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "configurations": {
            "type": "list",
            "member": {
              "type": "map",
              "key": {},
              "value": {}
            }
          }
        }
      }
    },
    "DescribeExportConfigurations": {
      "input": {
        "type": "structure",
        "members": {
          "exportIds": {
            "shape": "S15"
          },
          "maxResults": {
            "type": "integer"
          },
          "nextToken": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "exportsInfo": {
            "shape": "S18"
          },
          "nextToken": {}
        }
      },
      "deprecated": true
    },
    "DescribeExportTasks": {
      "input": {
        "type": "structure",
        "members": {
          "exportIds": {
            "shape": "S15"
          },
          "maxResults": {
            "type": "integer"
          },
          "nextToken": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "exportsInfo": {
            "shape": "S18"
          },
          "nextToken": {}
        }
      }
    },
    "DescribeTags": {
      "input": {
        "type": "structure",
        "members": {
          "filters": {
            "type": "list",
            "member": {
              "type": "structure",
              "required": [
                "name",
                "values"
              ],
              "members": {
                "name": {},
                "values": {
                  "shape": "Sp"
                }
              }
            }
          },
          "maxResults": {
            "type": "integer"
          },
          "nextToken": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "tags": {
            "type": "list",
            "member": {
              "locationName": "item",
              "type": "structure",
              "members": {
                "configurationType": {},
                "configurationId": {},
                "key": {},
                "value": {},
                "timeOfCreation": {
                  "type": "timestamp"
                }
              }
            }
          },
          "nextToken": {}
        }
      }
    },
    "DisassociateConfigurationItemsFromApplication": {
      "input": {
        "type": "structure",
        "required": [
          "applicationConfigurationId",
          "configurationIds"
        ],
        "members": {
          "applicationConfigurationId": {},
          "configurationIds": {
            "shape": "S3"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "ExportConfigurations": {
      "output": {
        "type": "structure",
        "members": {
          "exportId": {}
        }
      },
      "deprecated": true
    },
    "GetDiscoverySummary": {
      "input": {
        "type": "structure",
        "members": {}
      },
      "output": {
        "type": "structure",
        "members": {
          "servers": {
            "type": "long"
          },
          "applications": {
            "type": "long"
          },
          "serversMappedToApplications": {
            "type": "long"
          },
          "serversMappedtoTags": {
            "type": "long"
          },
          "agentSummary": {
            "type": "structure",
            "required": [
              "activeAgents",
              "healthyAgents",
              "blackListedAgents",
              "shutdownAgents",
              "unhealthyAgents",
              "totalAgents",
              "unknownAgents"
            ],
            "members": {
              "activeAgents": {
                "type": "integer"
              },
              "healthyAgents": {
                "type": "integer"
              },
              "blackListedAgents": {
                "type": "integer"
              },
              "shutdownAgents": {
                "type": "integer"
              },
              "unhealthyAgents": {
                "type": "integer"
              },
              "totalAgents": {
                "type": "integer"
              },
              "unknownAgents": {
                "type": "integer"
              }
            }
          },
          "connectorSummary": {
            "type": "structure",
            "required": [
              "activeConnectors",
              "healthyConnectors",
              "blackListedConnectors",
              "shutdownConnectors",
              "unhealthyConnectors",
              "totalConnectors",
              "unknownConnectors"
            ],
            "members": {
              "activeConnectors": {
                "type": "integer"
              },
              "healthyConnectors": {
                "type": "integer"
              },
              "blackListedConnectors": {
                "type": "integer"
              },
              "shutdownConnectors": {
                "type": "integer"
              },
              "unhealthyConnectors": {
                "type": "integer"
              },
              "totalConnectors": {
                "type": "integer"
              },
              "unknownConnectors": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "ListConfigurations": {
      "input": {
        "type": "structure",
        "required": [
          "configurationType"
        ],
        "members": {
          "configurationType": {},
          "filters": {
            "shape": "Sn"
          },
          "maxResults": {
            "type": "integer"
          },
          "nextToken": {},
          "orderBy": {
            "type": "list",
            "member": {
              "type": "structure",
              "required": [
                "fieldName"
              ],
              "members": {
                "fieldName": {},
                "sortOrder": {}
              }
            }
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "configurations": {
            "type": "list",
            "member": {
              "type": "map",
              "key": {},
              "value": {}
            }
          },
          "nextToken": {}
        }
      }
    },
    "ListServerNeighbors": {
      "input": {
        "type": "structure",
        "required": [
          "configurationId"
        ],
        "members": {
          "configurationId": {},
          "portInformationNeeded": {
            "type": "boolean"
          },
          "neighborConfigurationIds": {
            "shape": "S3"
          },
          "maxResults": {
            "type": "integer"
          },
          "nextToken": {}
        }
      },
      "output": {
        "type": "structure",
        "required": [
          "neighbors"
        ],
        "members": {
          "neighbors": {
            "type": "list",
            "member": {
              "type": "structure",
              "required": [
                "sourceServerId",
                "destinationServerId",
                "connectionsCount"
              ],
              "members": {
                "sourceServerId": {},
                "destinationServerId": {},
                "destinationPort": {
                  "type": "integer"
                },
                "transportProtocol": {},
                "connectionsCount": {
                  "type": "long"
                }
              }
            }
          },
          "nextToken": {},
          "knownDependencyCount": {
            "type": "long"
          }
        }
      }
    },
    "StartDataCollectionByAgentIds": {
      "input": {
        "type": "structure",
        "required": [
          "agentIds"
        ],
        "members": {
          "agentIds": {
            "shape": "Sl"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "agentsConfigurationStatus": {
            "shape": "S2c"
          }
        }
      }
    },
    "StartExportTask": {
      "input": {
        "type": "structure",
        "members": {
          "exportDataFormat": {
            "type": "list",
            "member": {}
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "exportId": {}
        }
      }
    },
    "StopDataCollectionByAgentIds": {
      "input": {
        "type": "structure",
        "required": [
          "agentIds"
        ],
        "members": {
          "agentIds": {
            "shape": "Sl"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "agentsConfigurationStatus": {
            "shape": "S2c"
          }
        }
      }
    },
    "UpdateApplication": {
      "input": {
        "type": "structure",
        "required": [
          "configurationId"
        ],
        "members": {
          "configurationId": {},
          "name": {},
          "description": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    }
  },
  "shapes": {
    "S3": {
      "type": "list",
      "member": {}
    },
    "Sa": {
      "type": "list",
      "member": {
        "locationName": "item",
        "type": "structure",
        "required": [
          "key",
          "value"
        ],
        "members": {
          "key": {},
          "value": {}
        }
      }
    },
    "Sl": {
      "type": "list",
      "member": {}
    },
    "Sn": {
      "type": "list",
      "member": {
        "type": "structure",
        "required": [
          "name",
          "values",
          "condition"
        ],
        "members": {
          "name": {},
          "values": {
            "shape": "Sp"
          },
          "condition": {}
        }
      }
    },
    "Sp": {
      "type": "list",
      "member": {
        "locationName": "item"
      }
    },
    "S15": {
      "type": "list",
      "member": {}
    },
    "S18": {
      "type": "list",
      "member": {
        "type": "structure",
        "required": [
          "exportId",
          "exportStatus",
          "statusMessage",
          "exportRequestTime"
        ],
        "members": {
          "exportId": {},
          "exportStatus": {},
          "statusMessage": {},
          "configurationsDownloadUrl": {},
          "exportRequestTime": {
            "type": "timestamp"
          }
        }
      }
    },
    "S2c": {
      "type": "list",
      "member": {
        "type": "structure",
        "members": {
          "agentId": {},
          "operationSucceeded": {
            "type": "boolean"
          },
          "description": {}
        }
      }
    }
  }
}