@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AWS Application Discovery Service
@version 2015-11-01
@auth AWS SigV4
@endpoints 28
@hint download_for_search
@toc root(28)

@endpoint POST /
@required {applicationConfigurationId: str, configurationIds: [str]}

@endpoint POST /
@required {deleteAgents: [DeleteAgent]}
@returns(200) {errors: [BatchDeleteAgentError]?}

@endpoint POST /
@required {importTaskIds: [str]}
@optional {deleteHistory: bool}
@returns(200) {errors: [BatchDeleteImportDataError]?}

@endpoint POST /
@required {name: str}
@optional {description: str}
@returns(200) {configurationId: str?}

@endpoint POST /
@required {configurationIds: [str], tags: [Tag]}

@endpoint POST /
@required {configurationIds: [str]}

@endpoint POST /
@required {configurationIds: [str]}
@optional {tags: [Tag]}

@endpoint POST /
@optional {agentIds: [str], filters: [Filter], maxResults: int, nextToken: str}
@returns(200) {agentsInfo: [AgentInfo]?, nextToken: str?}

@endpoint POST /
@required {taskId: str}
@returns(200) {task: BatchDeleteConfigurationTask?{taskId: str?, status: str?, startTime: str(timestamp)?, endTime: str(timestamp)?, configurationType: str?, requestedConfigurations: [str]?, deletedConfigurations: [str]?, failedConfigurations: [FailedConfiguration]?, deletionWarnings: [DeletionWarning]?}}

@endpoint POST /
@required {configurationIds: [str]}
@returns(200) {configurations: [map<str,str>]?}

@endpoint POST /
@optional {exportIds: [str], maxResults: int, nextToken: str}
@returns(200) {descriptions: [ContinuousExportDescription]?, nextToken: str?}

@endpoint POST /
@optional {exportIds: [str], maxResults: int, nextToken: str}
@returns(200) {exportsInfo: [ExportInfo]?, nextToken: str?}

@endpoint POST /
@optional {exportIds: [str], filters: [ExportFilter], maxResults: int, nextToken: str}
@returns(200) {exportsInfo: [ExportInfo]?, nextToken: str?}

@endpoint POST /
@optional {filters: [ImportTaskFilter], maxResults: int, nextToken: str}
@returns(200) {nextToken: str?, tasks: [ImportTask]?}

@endpoint POST /
@optional {filters: [TagFilter], maxResults: int, nextToken: str}
@returns(200) {tags: [ConfigurationTag]?, nextToken: str?}

@endpoint POST /
@required {applicationConfigurationId: str, configurationIds: [str]}

@endpoint POST /
@returns(200) {exportId: str?}

@endpoint POST /
@returns(200) {servers: int(i64)?, applications: int(i64)?, serversMappedToApplications: int(i64)?, serversMappedtoTags: int(i64)?, agentSummary: CustomerAgentInfo?{activeAgents: int, healthyAgents: int, blackListedAgents: int, shutdownAgents: int, unhealthyAgents: int, totalAgents: int, unknownAgents: int}, connectorSummary: CustomerConnectorInfo?{activeConnectors: int, healthyConnectors: int, blackListedConnectors: int, shutdownConnectors: int, unhealthyConnectors: int, totalConnectors: int, unknownConnectors: int}, meCollectorSummary: CustomerMeCollectorInfo?{activeMeCollectors: int, healthyMeCollectors: int, denyListedMeCollectors: int, shutdownMeCollectors: int, unhealthyMeCollectors: int, totalMeCollectors: int, unknownMeCollectors: int}, agentlessCollectorSummary: CustomerAgentlessCollectorInfo?{activeAgentlessCollectors: int, healthyAgentlessCollectors: int, denyListedAgentlessCollectors: int, shutdownAgentlessCollectors: int, unhealthyAgentlessCollectors: int, totalAgentlessCollectors: int, unknownAgentlessCollectors: int}}

@endpoint POST /
@required {configurationType: str}
@optional {filters: [Filter], maxResults: int, nextToken: str, orderBy: [OrderByElement]}
@returns(200) {configurations: [map<str,str>]?, nextToken: str?}

@endpoint POST /
@required {configurationId: str}
@optional {portInformationNeeded: bool, neighborConfigurationIds: [str], maxResults: int, nextToken: str}
@returns(200) {neighbors: [NeighborConnectionDetail], nextToken: str?, knownDependencyCount: int(i64)?}

@endpoint POST /
@required {configurationType: str, configurationIds: [str]}
@returns(200) {taskId: str?}

@endpoint POST /
@returns(200) {exportId: str?, s3Bucket: str?, startTime: str(timestamp)?, dataSource: str?, schemaStorageConfig: map<str,str>?}

@endpoint POST /
@required {agentIds: [str]}
@returns(200) {agentsConfigurationStatus: [AgentConfigurationStatus]?}

@endpoint POST /
@optional {exportDataFormat: [str], filters: [ExportFilter], startTime: str(timestamp), endTime: str(timestamp), preferences: ExportPreferences}
@returns(200) {exportId: str?}

@endpoint POST /
@required {name: str, importUrl: str}
@optional {clientRequestToken: str}
@returns(200) {task: ImportTask?{importTaskId: str?, clientRequestToken: str?, name: str?, importUrl: str?, status: str?, importRequestTime: str(timestamp)?, importCompletionTime: str(timestamp)?, importDeletedTime: str(timestamp)?, serverImportSuccess: int?, serverImportFailure: int?, applicationImportSuccess: int?, applicationImportFailure: int?, errorsAndFailedEntriesZip: str?}}

@endpoint POST /
@required {exportId: str}
@returns(200) {startTime: str(timestamp)?, stopTime: str(timestamp)?}

@endpoint POST /
@required {agentIds: [str]}
@returns(200) {agentsConfigurationStatus: [AgentConfigurationStatus]?}

@endpoint POST /
@required {configurationId: str}
@optional {name: str, description: str}

@end
