networkmonitor-2023-08-01.min.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2023-08-01",
  5. "endpointPrefix": "networkmonitor",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceFullName": "Amazon CloudWatch Network Monitor",
  9. "serviceId": "NetworkMonitor",
  10. "signatureVersion": "v4",
  11. "signingName": "networkmonitor",
  12. "uid": "networkmonitor-2023-08-01"
  13. },
  14. "operations": {
  15. "CreateMonitor": {
  16. "http": {
  17. "requestUri": "/monitors",
  18. "responseCode": 200
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "monitorName"
  24. ],
  25. "members": {
  26. "monitorName": {},
  27. "probes": {
  28. "type": "list",
  29. "member": {
  30. "type": "structure",
  31. "required": [
  32. "sourceArn",
  33. "destination",
  34. "protocol"
  35. ],
  36. "members": {
  37. "sourceArn": {},
  38. "destination": {},
  39. "destinationPort": {
  40. "type": "integer"
  41. },
  42. "protocol": {},
  43. "packetSize": {
  44. "type": "integer"
  45. },
  46. "probeTags": {
  47. "shape": "Sa"
  48. }
  49. }
  50. }
  51. },
  52. "aggregationPeriod": {
  53. "type": "long"
  54. },
  55. "clientToken": {
  56. "idempotencyToken": true
  57. },
  58. "tags": {
  59. "shape": "Sa"
  60. }
  61. }
  62. },
  63. "output": {
  64. "type": "structure",
  65. "required": [
  66. "monitorArn",
  67. "monitorName",
  68. "state"
  69. ],
  70. "members": {
  71. "monitorArn": {},
  72. "monitorName": {},
  73. "state": {},
  74. "aggregationPeriod": {
  75. "type": "long"
  76. },
  77. "tags": {
  78. "shape": "Sa"
  79. }
  80. }
  81. },
  82. "idempotent": true
  83. },
  84. "CreateProbe": {
  85. "http": {
  86. "requestUri": "/monitors/{monitorName}/probes",
  87. "responseCode": 200
  88. },
  89. "input": {
  90. "type": "structure",
  91. "required": [
  92. "monitorName",
  93. "probe"
  94. ],
  95. "members": {
  96. "monitorName": {
  97. "location": "uri",
  98. "locationName": "monitorName"
  99. },
  100. "probe": {
  101. "type": "structure",
  102. "required": [
  103. "sourceArn",
  104. "destination",
  105. "protocol"
  106. ],
  107. "members": {
  108. "sourceArn": {},
  109. "destination": {},
  110. "destinationPort": {
  111. "type": "integer"
  112. },
  113. "protocol": {},
  114. "packetSize": {
  115. "type": "integer"
  116. },
  117. "tags": {
  118. "shape": "Sa"
  119. }
  120. }
  121. },
  122. "clientToken": {
  123. "idempotencyToken": true
  124. },
  125. "tags": {
  126. "shape": "Sa"
  127. }
  128. }
  129. },
  130. "output": {
  131. "type": "structure",
  132. "required": [
  133. "sourceArn",
  134. "destination",
  135. "protocol"
  136. ],
  137. "members": {
  138. "probeId": {},
  139. "probeArn": {},
  140. "sourceArn": {},
  141. "destination": {},
  142. "destinationPort": {
  143. "type": "integer"
  144. },
  145. "protocol": {},
  146. "packetSize": {
  147. "type": "integer"
  148. },
  149. "addressFamily": {},
  150. "vpcId": {},
  151. "state": {},
  152. "createdAt": {
  153. "type": "timestamp"
  154. },
  155. "modifiedAt": {
  156. "type": "timestamp"
  157. },
  158. "tags": {
  159. "shape": "Sa"
  160. }
  161. }
  162. },
  163. "idempotent": true
  164. },
  165. "DeleteMonitor": {
  166. "http": {
  167. "method": "DELETE",
  168. "requestUri": "/monitors/{monitorName}",
  169. "responseCode": 200
  170. },
  171. "input": {
  172. "type": "structure",
  173. "required": [
  174. "monitorName"
  175. ],
  176. "members": {
  177. "monitorName": {
  178. "location": "uri",
  179. "locationName": "monitorName"
  180. }
  181. }
  182. },
  183. "output": {
  184. "type": "structure",
  185. "members": {}
  186. },
  187. "idempotent": true
  188. },
  189. "DeleteProbe": {
  190. "http": {
  191. "method": "DELETE",
  192. "requestUri": "/monitors/{monitorName}/probes/{probeId}",
  193. "responseCode": 200
  194. },
  195. "input": {
  196. "type": "structure",
  197. "required": [
  198. "monitorName",
  199. "probeId"
  200. ],
  201. "members": {
  202. "monitorName": {
  203. "location": "uri",
  204. "locationName": "monitorName"
  205. },
  206. "probeId": {
  207. "location": "uri",
  208. "locationName": "probeId"
  209. }
  210. }
  211. },
  212. "output": {
  213. "type": "structure",
  214. "members": {}
  215. },
  216. "idempotent": true
  217. },
  218. "GetMonitor": {
  219. "http": {
  220. "method": "GET",
  221. "requestUri": "/monitors/{monitorName}",
  222. "responseCode": 200
  223. },
  224. "input": {
  225. "type": "structure",
  226. "required": [
  227. "monitorName"
  228. ],
  229. "members": {
  230. "monitorName": {
  231. "location": "uri",
  232. "locationName": "monitorName"
  233. }
  234. }
  235. },
  236. "output": {
  237. "type": "structure",
  238. "required": [
  239. "monitorArn",
  240. "monitorName",
  241. "state",
  242. "aggregationPeriod",
  243. "createdAt",
  244. "modifiedAt"
  245. ],
  246. "members": {
  247. "monitorArn": {},
  248. "monitorName": {},
  249. "state": {},
  250. "aggregationPeriod": {
  251. "type": "long"
  252. },
  253. "tags": {
  254. "shape": "Sa"
  255. },
  256. "probes": {
  257. "type": "list",
  258. "member": {
  259. "type": "structure",
  260. "required": [
  261. "sourceArn",
  262. "destination",
  263. "protocol"
  264. ],
  265. "members": {
  266. "probeId": {},
  267. "probeArn": {},
  268. "sourceArn": {},
  269. "destination": {},
  270. "destinationPort": {
  271. "type": "integer"
  272. },
  273. "protocol": {},
  274. "packetSize": {
  275. "type": "integer"
  276. },
  277. "addressFamily": {},
  278. "vpcId": {},
  279. "state": {},
  280. "createdAt": {
  281. "type": "timestamp"
  282. },
  283. "modifiedAt": {
  284. "type": "timestamp"
  285. },
  286. "tags": {
  287. "shape": "Sa"
  288. }
  289. }
  290. }
  291. },
  292. "createdAt": {
  293. "type": "timestamp"
  294. },
  295. "modifiedAt": {
  296. "type": "timestamp"
  297. }
  298. }
  299. }
  300. },
  301. "GetProbe": {
  302. "http": {
  303. "method": "GET",
  304. "requestUri": "/monitors/{monitorName}/probes/{probeId}",
  305. "responseCode": 200
  306. },
  307. "input": {
  308. "type": "structure",
  309. "required": [
  310. "monitorName",
  311. "probeId"
  312. ],
  313. "members": {
  314. "monitorName": {
  315. "location": "uri",
  316. "locationName": "monitorName"
  317. },
  318. "probeId": {
  319. "location": "uri",
  320. "locationName": "probeId"
  321. }
  322. }
  323. },
  324. "output": {
  325. "type": "structure",
  326. "required": [
  327. "sourceArn",
  328. "destination",
  329. "protocol"
  330. ],
  331. "members": {
  332. "probeId": {},
  333. "probeArn": {},
  334. "sourceArn": {},
  335. "destination": {},
  336. "destinationPort": {
  337. "type": "integer"
  338. },
  339. "protocol": {},
  340. "packetSize": {
  341. "type": "integer"
  342. },
  343. "addressFamily": {},
  344. "vpcId": {},
  345. "state": {},
  346. "createdAt": {
  347. "type": "timestamp"
  348. },
  349. "modifiedAt": {
  350. "type": "timestamp"
  351. },
  352. "tags": {
  353. "shape": "Sa"
  354. }
  355. }
  356. }
  357. },
  358. "ListMonitors": {
  359. "http": {
  360. "method": "GET",
  361. "requestUri": "/monitors",
  362. "responseCode": 200
  363. },
  364. "input": {
  365. "type": "structure",
  366. "members": {
  367. "nextToken": {
  368. "location": "querystring",
  369. "locationName": "nextToken"
  370. },
  371. "maxResults": {
  372. "location": "querystring",
  373. "locationName": "maxResults",
  374. "type": "integer"
  375. },
  376. "state": {
  377. "location": "querystring",
  378. "locationName": "state"
  379. }
  380. }
  381. },
  382. "output": {
  383. "type": "structure",
  384. "required": [
  385. "monitors"
  386. ],
  387. "members": {
  388. "monitors": {
  389. "type": "list",
  390. "member": {
  391. "type": "structure",
  392. "required": [
  393. "monitorArn",
  394. "monitorName",
  395. "state"
  396. ],
  397. "members": {
  398. "monitorArn": {},
  399. "monitorName": {},
  400. "state": {},
  401. "aggregationPeriod": {
  402. "type": "long"
  403. },
  404. "tags": {
  405. "shape": "Sa"
  406. }
  407. }
  408. }
  409. },
  410. "nextToken": {}
  411. }
  412. }
  413. },
  414. "ListTagsForResource": {
  415. "http": {
  416. "method": "GET",
  417. "requestUri": "/tags/{resourceArn}",
  418. "responseCode": 200
  419. },
  420. "input": {
  421. "type": "structure",
  422. "required": [
  423. "resourceArn"
  424. ],
  425. "members": {
  426. "resourceArn": {
  427. "location": "uri",
  428. "locationName": "resourceArn"
  429. }
  430. }
  431. },
  432. "output": {
  433. "type": "structure",
  434. "members": {
  435. "tags": {
  436. "shape": "Sa"
  437. }
  438. }
  439. }
  440. },
  441. "TagResource": {
  442. "http": {
  443. "requestUri": "/tags/{resourceArn}",
  444. "responseCode": 200
  445. },
  446. "input": {
  447. "type": "structure",
  448. "required": [
  449. "resourceArn",
  450. "tags"
  451. ],
  452. "members": {
  453. "resourceArn": {
  454. "location": "uri",
  455. "locationName": "resourceArn"
  456. },
  457. "tags": {
  458. "shape": "Sa"
  459. }
  460. }
  461. },
  462. "output": {
  463. "type": "structure",
  464. "members": {}
  465. },
  466. "idempotent": true
  467. },
  468. "UntagResource": {
  469. "http": {
  470. "method": "DELETE",
  471. "requestUri": "/tags/{resourceArn}",
  472. "responseCode": 200
  473. },
  474. "input": {
  475. "type": "structure",
  476. "required": [
  477. "resourceArn",
  478. "tagKeys"
  479. ],
  480. "members": {
  481. "resourceArn": {
  482. "location": "uri",
  483. "locationName": "resourceArn"
  484. },
  485. "tagKeys": {
  486. "location": "querystring",
  487. "locationName": "tagKeys",
  488. "type": "list",
  489. "member": {}
  490. }
  491. }
  492. },
  493. "output": {
  494. "type": "structure",
  495. "members": {}
  496. },
  497. "idempotent": true
  498. },
  499. "UpdateMonitor": {
  500. "http": {
  501. "method": "PATCH",
  502. "requestUri": "/monitors/{monitorName}",
  503. "responseCode": 200
  504. },
  505. "input": {
  506. "type": "structure",
  507. "required": [
  508. "monitorName",
  509. "aggregationPeriod"
  510. ],
  511. "members": {
  512. "monitorName": {
  513. "location": "uri",
  514. "locationName": "monitorName"
  515. },
  516. "aggregationPeriod": {
  517. "type": "long"
  518. }
  519. }
  520. },
  521. "output": {
  522. "type": "structure",
  523. "required": [
  524. "monitorArn",
  525. "monitorName",
  526. "state"
  527. ],
  528. "members": {
  529. "monitorArn": {},
  530. "monitorName": {},
  531. "state": {},
  532. "aggregationPeriod": {
  533. "type": "long"
  534. },
  535. "tags": {
  536. "shape": "Sa"
  537. }
  538. }
  539. },
  540. "idempotent": true
  541. },
  542. "UpdateProbe": {
  543. "http": {
  544. "method": "PATCH",
  545. "requestUri": "/monitors/{monitorName}/probes/{probeId}",
  546. "responseCode": 200
  547. },
  548. "input": {
  549. "type": "structure",
  550. "required": [
  551. "monitorName",
  552. "probeId"
  553. ],
  554. "members": {
  555. "monitorName": {
  556. "location": "uri",
  557. "locationName": "monitorName"
  558. },
  559. "probeId": {
  560. "location": "uri",
  561. "locationName": "probeId"
  562. },
  563. "state": {},
  564. "destination": {},
  565. "destinationPort": {
  566. "type": "integer"
  567. },
  568. "protocol": {},
  569. "packetSize": {
  570. "type": "integer"
  571. }
  572. }
  573. },
  574. "output": {
  575. "type": "structure",
  576. "required": [
  577. "sourceArn",
  578. "destination",
  579. "protocol"
  580. ],
  581. "members": {
  582. "probeId": {},
  583. "probeArn": {},
  584. "sourceArn": {},
  585. "destination": {},
  586. "destinationPort": {
  587. "type": "integer"
  588. },
  589. "protocol": {},
  590. "packetSize": {
  591. "type": "integer"
  592. },
  593. "addressFamily": {},
  594. "vpcId": {},
  595. "state": {},
  596. "createdAt": {
  597. "type": "timestamp"
  598. },
  599. "modifiedAt": {
  600. "type": "timestamp"
  601. },
  602. "tags": {
  603. "shape": "Sa"
  604. }
  605. }
  606. },
  607. "idempotent": true
  608. }
  609. },
  610. "shapes": {
  611. "Sa": {
  612. "type": "map",
  613. "key": {},
  614. "value": {}
  615. }
  616. }
  617. }