api-2.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2015-11-01",
  5. "endpointPrefix":"discovery",
  6. "jsonVersion":"1.1",
  7. "protocol":"json",
  8. "serviceFullName":"AWS Application Discovery Service",
  9. "signatureVersion":"v4",
  10. "targetPrefix":"AWSPoseidonService_V2015_11_01"
  11. },
  12. "operations":{
  13. "CreateTags":{
  14. "name":"CreateTags",
  15. "http":{
  16. "method":"POST",
  17. "requestUri":"/"
  18. },
  19. "input":{"shape":"CreateTagsRequest"},
  20. "output":{"shape":"CreateTagsResponse"},
  21. "errors":[
  22. {"shape":"AuthorizationErrorException"},
  23. {"shape":"ResourceNotFoundException"},
  24. {"shape":"InvalidParameterException"},
  25. {"shape":"InvalidParameterValueException"},
  26. {"shape":"ServerInternalErrorException"}
  27. ]
  28. },
  29. "DeleteTags":{
  30. "name":"DeleteTags",
  31. "http":{
  32. "method":"POST",
  33. "requestUri":"/"
  34. },
  35. "input":{"shape":"DeleteTagsRequest"},
  36. "output":{"shape":"DeleteTagsResponse"},
  37. "errors":[
  38. {"shape":"AuthorizationErrorException"},
  39. {"shape":"ResourceNotFoundException"},
  40. {"shape":"InvalidParameterException"},
  41. {"shape":"InvalidParameterValueException"},
  42. {"shape":"ServerInternalErrorException"}
  43. ]
  44. },
  45. "DescribeAgents":{
  46. "name":"DescribeAgents",
  47. "http":{
  48. "method":"POST",
  49. "requestUri":"/"
  50. },
  51. "input":{"shape":"DescribeAgentsRequest"},
  52. "output":{"shape":"DescribeAgentsResponse"},
  53. "errors":[
  54. {"shape":"AuthorizationErrorException"},
  55. {"shape":"InvalidParameterException"},
  56. {"shape":"InvalidParameterValueException"},
  57. {"shape":"ServerInternalErrorException"}
  58. ]
  59. },
  60. "DescribeConfigurations":{
  61. "name":"DescribeConfigurations",
  62. "http":{
  63. "method":"POST",
  64. "requestUri":"/"
  65. },
  66. "input":{"shape":"DescribeConfigurationsRequest"},
  67. "output":{"shape":"DescribeConfigurationsResponse"},
  68. "errors":[
  69. {"shape":"AuthorizationErrorException"},
  70. {"shape":"InvalidParameterException"},
  71. {"shape":"InvalidParameterValueException"},
  72. {"shape":"ServerInternalErrorException"}
  73. ]
  74. },
  75. "DescribeExportConfigurations":{
  76. "name":"DescribeExportConfigurations",
  77. "http":{
  78. "method":"POST",
  79. "requestUri":"/"
  80. },
  81. "input":{"shape":"DescribeExportConfigurationsRequest"},
  82. "output":{"shape":"DescribeExportConfigurationsResponse"},
  83. "errors":[
  84. {"shape":"AuthorizationErrorException"},
  85. {"shape":"ResourceNotFoundException"},
  86. {"shape":"InvalidParameterException"},
  87. {"shape":"InvalidParameterValueException"},
  88. {"shape":"ServerInternalErrorException"}
  89. ]
  90. },
  91. "DescribeTags":{
  92. "name":"DescribeTags",
  93. "http":{
  94. "method":"POST",
  95. "requestUri":"/"
  96. },
  97. "input":{"shape":"DescribeTagsRequest"},
  98. "output":{"shape":"DescribeTagsResponse"},
  99. "errors":[
  100. {"shape":"AuthorizationErrorException"},
  101. {"shape":"ResourceNotFoundException"},
  102. {"shape":"InvalidParameterException"},
  103. {"shape":"InvalidParameterValueException"},
  104. {"shape":"ServerInternalErrorException"}
  105. ]
  106. },
  107. "ExportConfigurations":{
  108. "name":"ExportConfigurations",
  109. "http":{
  110. "method":"POST",
  111. "requestUri":"/"
  112. },
  113. "output":{"shape":"ExportConfigurationsResponse"},
  114. "errors":[
  115. {"shape":"AuthorizationErrorException"},
  116. {"shape":"InvalidParameterException"},
  117. {"shape":"InvalidParameterValueException"},
  118. {"shape":"ServerInternalErrorException"},
  119. {"shape":"OperationNotPermittedException"}
  120. ]
  121. },
  122. "ListConfigurations":{
  123. "name":"ListConfigurations",
  124. "http":{
  125. "method":"POST",
  126. "requestUri":"/"
  127. },
  128. "input":{"shape":"ListConfigurationsRequest"},
  129. "output":{"shape":"ListConfigurationsResponse"},
  130. "errors":[
  131. {"shape":"AuthorizationErrorException"},
  132. {"shape":"ResourceNotFoundException"},
  133. {"shape":"InvalidParameterException"},
  134. {"shape":"InvalidParameterValueException"},
  135. {"shape":"ServerInternalErrorException"}
  136. ]
  137. },
  138. "StartDataCollectionByAgentIds":{
  139. "name":"StartDataCollectionByAgentIds",
  140. "http":{
  141. "method":"POST",
  142. "requestUri":"/"
  143. },
  144. "input":{"shape":"StartDataCollectionByAgentIdsRequest"},
  145. "output":{"shape":"StartDataCollectionByAgentIdsResponse"},
  146. "errors":[
  147. {"shape":"AuthorizationErrorException"},
  148. {"shape":"InvalidParameterException"},
  149. {"shape":"InvalidParameterValueException"},
  150. {"shape":"ServerInternalErrorException"}
  151. ]
  152. },
  153. "StopDataCollectionByAgentIds":{
  154. "name":"StopDataCollectionByAgentIds",
  155. "http":{
  156. "method":"POST",
  157. "requestUri":"/"
  158. },
  159. "input":{"shape":"StopDataCollectionByAgentIdsRequest"},
  160. "output":{"shape":"StopDataCollectionByAgentIdsResponse"},
  161. "errors":[
  162. {"shape":"AuthorizationErrorException"},
  163. {"shape":"InvalidParameterException"},
  164. {"shape":"InvalidParameterValueException"},
  165. {"shape":"ServerInternalErrorException"}
  166. ]
  167. }
  168. },
  169. "shapes":{
  170. "AgentConfigurationStatus":{
  171. "type":"structure",
  172. "members":{
  173. "agentId":{"shape":"String"},
  174. "operationSucceeded":{"shape":"Boolean"},
  175. "description":{"shape":"String"}
  176. }
  177. },
  178. "AgentConfigurationStatusList":{
  179. "type":"list",
  180. "member":{"shape":"AgentConfigurationStatus"}
  181. },
  182. "AgentId":{"type":"string"},
  183. "AgentIds":{
  184. "type":"list",
  185. "member":{"shape":"AgentId"}
  186. },
  187. "AgentInfo":{
  188. "type":"structure",
  189. "members":{
  190. "agentId":{"shape":"AgentId"},
  191. "hostName":{"shape":"String"},
  192. "agentNetworkInfoList":{"shape":"AgentNetworkInfoList"},
  193. "connectorId":{"shape":"String"},
  194. "version":{"shape":"String"},
  195. "health":{"shape":"AgentStatus"}
  196. }
  197. },
  198. "AgentNetworkInfo":{
  199. "type":"structure",
  200. "members":{
  201. "ipAddress":{"shape":"String"},
  202. "macAddress":{"shape":"String"}
  203. }
  204. },
  205. "AgentNetworkInfoList":{
  206. "type":"list",
  207. "member":{"shape":"AgentNetworkInfo"}
  208. },
  209. "AgentStatus":{
  210. "type":"string",
  211. "enum":[
  212. "HEALTHY",
  213. "UNHEALTHY",
  214. "RUNNING",
  215. "UNKNOWN",
  216. "BLACKLISTED",
  217. "SHUTDOWN"
  218. ]
  219. },
  220. "AgentsInfo":{
  221. "type":"list",
  222. "member":{"shape":"AgentInfo"}
  223. },
  224. "AuthorizationErrorException":{
  225. "type":"structure",
  226. "members":{
  227. "message":{"shape":"Message"}
  228. },
  229. "exception":true
  230. },
  231. "Boolean":{"type":"boolean"},
  232. "Condition":{"type":"string"},
  233. "Configuration":{
  234. "type":"map",
  235. "key":{"shape":"String"},
  236. "value":{"shape":"String"}
  237. },
  238. "ConfigurationId":{"type":"string"},
  239. "ConfigurationIdList":{
  240. "type":"list",
  241. "member":{"shape":"ConfigurationId"}
  242. },
  243. "ConfigurationItemType":{
  244. "type":"string",
  245. "enum":[
  246. "SERVER",
  247. "PROCESS",
  248. "CONNECTION"
  249. ]
  250. },
  251. "ConfigurationTag":{
  252. "type":"structure",
  253. "members":{
  254. "configurationType":{"shape":"ConfigurationItemType"},
  255. "configurationId":{"shape":"ConfigurationId"},
  256. "key":{"shape":"TagKey"},
  257. "value":{"shape":"TagValue"},
  258. "timeOfCreation":{"shape":"TimeStamp"}
  259. }
  260. },
  261. "ConfigurationTagSet":{
  262. "type":"list",
  263. "member":{
  264. "shape":"ConfigurationTag",
  265. "locationName":"item"
  266. }
  267. },
  268. "Configurations":{
  269. "type":"list",
  270. "member":{"shape":"Configuration"}
  271. },
  272. "ConfigurationsDownloadUrl":{"type":"string"},
  273. "ConfigurationsExportId":{"type":"string"},
  274. "CreateTagsRequest":{
  275. "type":"structure",
  276. "required":[
  277. "configurationIds",
  278. "tags"
  279. ],
  280. "members":{
  281. "configurationIds":{"shape":"ConfigurationIdList"},
  282. "tags":{"shape":"TagSet"}
  283. }
  284. },
  285. "CreateTagsResponse":{
  286. "type":"structure",
  287. "members":{
  288. }
  289. },
  290. "DeleteTagsRequest":{
  291. "type":"structure",
  292. "required":["configurationIds"],
  293. "members":{
  294. "configurationIds":{"shape":"ConfigurationIdList"},
  295. "tags":{"shape":"TagSet"}
  296. }
  297. },
  298. "DeleteTagsResponse":{
  299. "type":"structure",
  300. "members":{
  301. }
  302. },
  303. "DescribeAgentsRequest":{
  304. "type":"structure",
  305. "members":{
  306. "agentIds":{"shape":"AgentIds"},
  307. "maxResults":{"shape":"Integer"},
  308. "nextToken":{"shape":"NextToken"}
  309. }
  310. },
  311. "DescribeAgentsResponse":{
  312. "type":"structure",
  313. "members":{
  314. "agentsInfo":{"shape":"AgentsInfo"},
  315. "nextToken":{"shape":"NextToken"}
  316. }
  317. },
  318. "DescribeConfigurationsAttribute":{
  319. "type":"map",
  320. "key":{"shape":"String"},
  321. "value":{"shape":"String"}
  322. },
  323. "DescribeConfigurationsAttributes":{
  324. "type":"list",
  325. "member":{"shape":"DescribeConfigurationsAttribute"}
  326. },
  327. "DescribeConfigurationsRequest":{
  328. "type":"structure",
  329. "required":["configurationIds"],
  330. "members":{
  331. "configurationIds":{"shape":"ConfigurationIdList"}
  332. }
  333. },
  334. "DescribeConfigurationsResponse":{
  335. "type":"structure",
  336. "members":{
  337. "configurations":{"shape":"DescribeConfigurationsAttributes"}
  338. }
  339. },
  340. "DescribeExportConfigurationsRequest":{
  341. "type":"structure",
  342. "members":{
  343. "exportIds":{"shape":"ExportIds"},
  344. "maxResults":{"shape":"Integer"},
  345. "nextToken":{"shape":"NextToken"}
  346. }
  347. },
  348. "DescribeExportConfigurationsResponse":{
  349. "type":"structure",
  350. "members":{
  351. "exportsInfo":{"shape":"ExportsInfo"},
  352. "nextToken":{"shape":"NextToken"}
  353. }
  354. },
  355. "DescribeTagsRequest":{
  356. "type":"structure",
  357. "members":{
  358. "filters":{"shape":"TagFilters"},
  359. "maxResults":{"shape":"Integer"},
  360. "nextToken":{"shape":"NextToken"}
  361. }
  362. },
  363. "DescribeTagsResponse":{
  364. "type":"structure",
  365. "members":{
  366. "tags":{"shape":"ConfigurationTagSet"},
  367. "nextToken":{"shape":"NextToken"}
  368. }
  369. },
  370. "ExportConfigurationsResponse":{
  371. "type":"structure",
  372. "members":{
  373. "exportId":{"shape":"ConfigurationsExportId"}
  374. }
  375. },
  376. "ExportIds":{
  377. "type":"list",
  378. "member":{"shape":"ConfigurationsExportId"}
  379. },
  380. "ExportInfo":{
  381. "type":"structure",
  382. "required":[
  383. "exportId",
  384. "exportStatus",
  385. "statusMessage",
  386. "exportRequestTime"
  387. ],
  388. "members":{
  389. "exportId":{"shape":"ConfigurationsExportId"},
  390. "exportStatus":{"shape":"ExportStatus"},
  391. "statusMessage":{"shape":"ExportStatusMessage"},
  392. "configurationsDownloadUrl":{"shape":"ConfigurationsDownloadUrl"},
  393. "exportRequestTime":{"shape":"ExportRequestTime"}
  394. }
  395. },
  396. "ExportRequestTime":{"type":"timestamp"},
  397. "ExportStatus":{
  398. "type":"string",
  399. "enum":[
  400. "FAILED",
  401. "SUCCEEDED",
  402. "IN_PROGRESS"
  403. ]
  404. },
  405. "ExportStatusMessage":{"type":"string"},
  406. "ExportsInfo":{
  407. "type":"list",
  408. "member":{"shape":"ExportInfo"}
  409. },
  410. "Filter":{
  411. "type":"structure",
  412. "required":[
  413. "name",
  414. "values",
  415. "condition"
  416. ],
  417. "members":{
  418. "name":{"shape":"String"},
  419. "values":{"shape":"FilterValues"},
  420. "condition":{"shape":"Condition"}
  421. }
  422. },
  423. "FilterName":{"type":"string"},
  424. "FilterValue":{"type":"string"},
  425. "FilterValues":{
  426. "type":"list",
  427. "member":{
  428. "shape":"FilterValue",
  429. "locationName":"item"
  430. }
  431. },
  432. "Filters":{
  433. "type":"list",
  434. "member":{"shape":"Filter"}
  435. },
  436. "Integer":{"type":"integer"},
  437. "InvalidParameterException":{
  438. "type":"structure",
  439. "members":{
  440. "message":{"shape":"Message"}
  441. },
  442. "exception":true
  443. },
  444. "InvalidParameterValueException":{
  445. "type":"structure",
  446. "members":{
  447. "message":{"shape":"Message"}
  448. },
  449. "exception":true
  450. },
  451. "ListConfigurationsRequest":{
  452. "type":"structure",
  453. "required":["configurationType"],
  454. "members":{
  455. "configurationType":{"shape":"ConfigurationItemType"},
  456. "filters":{"shape":"Filters"},
  457. "maxResults":{"shape":"Integer"},
  458. "nextToken":{"shape":"NextToken"}
  459. }
  460. },
  461. "ListConfigurationsResponse":{
  462. "type":"structure",
  463. "members":{
  464. "configurations":{"shape":"Configurations"},
  465. "nextToken":{"shape":"NextToken"}
  466. }
  467. },
  468. "Message":{"type":"string"},
  469. "NextToken":{"type":"string"},
  470. "OperationNotPermittedException":{
  471. "type":"structure",
  472. "members":{
  473. "message":{"shape":"Message"}
  474. },
  475. "exception":true
  476. },
  477. "ResourceNotFoundException":{
  478. "type":"structure",
  479. "members":{
  480. "message":{"shape":"Message"}
  481. },
  482. "exception":true
  483. },
  484. "ServerInternalErrorException":{
  485. "type":"structure",
  486. "members":{
  487. "message":{"shape":"Message"}
  488. },
  489. "exception":true,
  490. "fault":true
  491. },
  492. "StartDataCollectionByAgentIdsRequest":{
  493. "type":"structure",
  494. "required":["agentIds"],
  495. "members":{
  496. "agentIds":{"shape":"AgentIds"}
  497. }
  498. },
  499. "StartDataCollectionByAgentIdsResponse":{
  500. "type":"structure",
  501. "members":{
  502. "agentsConfigurationStatus":{"shape":"AgentConfigurationStatusList"}
  503. }
  504. },
  505. "StopDataCollectionByAgentIdsRequest":{
  506. "type":"structure",
  507. "required":["agentIds"],
  508. "members":{
  509. "agentIds":{"shape":"AgentIds"}
  510. }
  511. },
  512. "StopDataCollectionByAgentIdsResponse":{
  513. "type":"structure",
  514. "members":{
  515. "agentsConfigurationStatus":{"shape":"AgentConfigurationStatusList"}
  516. }
  517. },
  518. "String":{"type":"string"},
  519. "Tag":{
  520. "type":"structure",
  521. "required":[
  522. "key",
  523. "value"
  524. ],
  525. "members":{
  526. "key":{"shape":"TagKey"},
  527. "value":{"shape":"TagValue"}
  528. }
  529. },
  530. "TagFilter":{
  531. "type":"structure",
  532. "required":[
  533. "name",
  534. "values"
  535. ],
  536. "members":{
  537. "name":{"shape":"FilterName"},
  538. "values":{"shape":"FilterValues"}
  539. }
  540. },
  541. "TagFilters":{
  542. "type":"list",
  543. "member":{"shape":"TagFilter"}
  544. },
  545. "TagKey":{"type":"string"},
  546. "TagSet":{
  547. "type":"list",
  548. "member":{
  549. "shape":"Tag",
  550. "locationName":"item"
  551. }
  552. },
  553. "TagValue":{"type":"string"},
  554. "TimeStamp":{"type":"timestamp"}
  555. }
  556. }