codestar-notifications-2019-10-15.min.json 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2019-10-15",
  5. "endpointPrefix": "codestar-notifications",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceFullName": "AWS CodeStar Notifications",
  9. "serviceId": "codestar notifications",
  10. "signatureVersion": "v4",
  11. "signingName": "codestar-notifications",
  12. "uid": "codestar-notifications-2019-10-15"
  13. },
  14. "operations": {
  15. "CreateNotificationRule": {
  16. "http": {
  17. "requestUri": "/createNotificationRule"
  18. },
  19. "input": {
  20. "type": "structure",
  21. "required": [
  22. "Name",
  23. "EventTypeIds",
  24. "Resource",
  25. "Targets",
  26. "DetailType"
  27. ],
  28. "members": {
  29. "Name": {
  30. "shape": "S2"
  31. },
  32. "EventTypeIds": {
  33. "shape": "S3"
  34. },
  35. "Resource": {},
  36. "Targets": {
  37. "shape": "S6"
  38. },
  39. "DetailType": {},
  40. "ClientRequestToken": {
  41. "idempotencyToken": true
  42. },
  43. "Tags": {
  44. "shape": "Sc"
  45. },
  46. "Status": {}
  47. }
  48. },
  49. "output": {
  50. "type": "structure",
  51. "members": {
  52. "Arn": {}
  53. }
  54. }
  55. },
  56. "DeleteNotificationRule": {
  57. "http": {
  58. "requestUri": "/deleteNotificationRule"
  59. },
  60. "input": {
  61. "type": "structure",
  62. "required": [
  63. "Arn"
  64. ],
  65. "members": {
  66. "Arn": {}
  67. }
  68. },
  69. "output": {
  70. "type": "structure",
  71. "members": {
  72. "Arn": {}
  73. }
  74. }
  75. },
  76. "DeleteTarget": {
  77. "http": {
  78. "requestUri": "/deleteTarget"
  79. },
  80. "input": {
  81. "type": "structure",
  82. "required": [
  83. "TargetAddress"
  84. ],
  85. "members": {
  86. "TargetAddress": {
  87. "shape": "S9"
  88. },
  89. "ForceUnsubscribeAll": {
  90. "type": "boolean"
  91. }
  92. }
  93. },
  94. "output": {
  95. "type": "structure",
  96. "members": {}
  97. }
  98. },
  99. "DescribeNotificationRule": {
  100. "http": {
  101. "requestUri": "/describeNotificationRule"
  102. },
  103. "input": {
  104. "type": "structure",
  105. "required": [
  106. "Arn"
  107. ],
  108. "members": {
  109. "Arn": {}
  110. }
  111. },
  112. "output": {
  113. "type": "structure",
  114. "required": [
  115. "Arn"
  116. ],
  117. "members": {
  118. "Arn": {},
  119. "Name": {
  120. "shape": "S2"
  121. },
  122. "EventTypes": {
  123. "shape": "Sp"
  124. },
  125. "Resource": {},
  126. "Targets": {
  127. "shape": "Su"
  128. },
  129. "DetailType": {},
  130. "CreatedBy": {},
  131. "Status": {},
  132. "CreatedTimestamp": {
  133. "type": "timestamp"
  134. },
  135. "LastModifiedTimestamp": {
  136. "type": "timestamp"
  137. },
  138. "Tags": {
  139. "shape": "Sc"
  140. }
  141. }
  142. }
  143. },
  144. "ListEventTypes": {
  145. "http": {
  146. "requestUri": "/listEventTypes"
  147. },
  148. "input": {
  149. "type": "structure",
  150. "members": {
  151. "Filters": {
  152. "type": "list",
  153. "member": {
  154. "type": "structure",
  155. "required": [
  156. "Name",
  157. "Value"
  158. ],
  159. "members": {
  160. "Name": {},
  161. "Value": {}
  162. }
  163. }
  164. },
  165. "NextToken": {},
  166. "MaxResults": {
  167. "type": "integer"
  168. }
  169. }
  170. },
  171. "output": {
  172. "type": "structure",
  173. "members": {
  174. "EventTypes": {
  175. "shape": "Sp"
  176. },
  177. "NextToken": {}
  178. }
  179. }
  180. },
  181. "ListNotificationRules": {
  182. "http": {
  183. "requestUri": "/listNotificationRules"
  184. },
  185. "input": {
  186. "type": "structure",
  187. "members": {
  188. "Filters": {
  189. "type": "list",
  190. "member": {
  191. "type": "structure",
  192. "required": [
  193. "Name",
  194. "Value"
  195. ],
  196. "members": {
  197. "Name": {},
  198. "Value": {}
  199. }
  200. }
  201. },
  202. "NextToken": {},
  203. "MaxResults": {
  204. "type": "integer"
  205. }
  206. }
  207. },
  208. "output": {
  209. "type": "structure",
  210. "members": {
  211. "NextToken": {},
  212. "NotificationRules": {
  213. "type": "list",
  214. "member": {
  215. "type": "structure",
  216. "members": {
  217. "Id": {},
  218. "Arn": {}
  219. }
  220. }
  221. }
  222. }
  223. }
  224. },
  225. "ListTagsForResource": {
  226. "http": {
  227. "requestUri": "/listTagsForResource"
  228. },
  229. "input": {
  230. "type": "structure",
  231. "required": [
  232. "Arn"
  233. ],
  234. "members": {
  235. "Arn": {}
  236. }
  237. },
  238. "output": {
  239. "type": "structure",
  240. "members": {
  241. "Tags": {
  242. "shape": "Sc"
  243. }
  244. }
  245. }
  246. },
  247. "ListTargets": {
  248. "http": {
  249. "requestUri": "/listTargets"
  250. },
  251. "input": {
  252. "type": "structure",
  253. "members": {
  254. "Filters": {
  255. "type": "list",
  256. "member": {
  257. "type": "structure",
  258. "required": [
  259. "Name",
  260. "Value"
  261. ],
  262. "members": {
  263. "Name": {},
  264. "Value": {}
  265. }
  266. }
  267. },
  268. "NextToken": {},
  269. "MaxResults": {
  270. "type": "integer"
  271. }
  272. }
  273. },
  274. "output": {
  275. "type": "structure",
  276. "members": {
  277. "Targets": {
  278. "shape": "Su"
  279. },
  280. "NextToken": {}
  281. }
  282. }
  283. },
  284. "Subscribe": {
  285. "http": {
  286. "requestUri": "/subscribe"
  287. },
  288. "input": {
  289. "type": "structure",
  290. "required": [
  291. "Arn",
  292. "Target"
  293. ],
  294. "members": {
  295. "Arn": {},
  296. "Target": {
  297. "shape": "S7"
  298. },
  299. "ClientRequestToken": {}
  300. }
  301. },
  302. "output": {
  303. "type": "structure",
  304. "members": {
  305. "Arn": {}
  306. }
  307. }
  308. },
  309. "TagResource": {
  310. "http": {
  311. "requestUri": "/tagResource"
  312. },
  313. "input": {
  314. "type": "structure",
  315. "required": [
  316. "Arn",
  317. "Tags"
  318. ],
  319. "members": {
  320. "Arn": {},
  321. "Tags": {
  322. "shape": "Sc"
  323. }
  324. }
  325. },
  326. "output": {
  327. "type": "structure",
  328. "members": {
  329. "Tags": {
  330. "shape": "Sc"
  331. }
  332. }
  333. }
  334. },
  335. "Unsubscribe": {
  336. "http": {
  337. "requestUri": "/unsubscribe"
  338. },
  339. "input": {
  340. "type": "structure",
  341. "required": [
  342. "Arn",
  343. "TargetAddress"
  344. ],
  345. "members": {
  346. "Arn": {},
  347. "TargetAddress": {
  348. "shape": "S9"
  349. }
  350. }
  351. },
  352. "output": {
  353. "type": "structure",
  354. "required": [
  355. "Arn"
  356. ],
  357. "members": {
  358. "Arn": {}
  359. }
  360. }
  361. },
  362. "UntagResource": {
  363. "http": {
  364. "requestUri": "/untagResource/{resourceArn}"
  365. },
  366. "input": {
  367. "type": "structure",
  368. "required": [
  369. "Arn",
  370. "TagKeys"
  371. ],
  372. "members": {
  373. "Arn": {
  374. "location": "uri",
  375. "locationName": "resourceArn"
  376. },
  377. "TagKeys": {
  378. "location": "querystring",
  379. "locationName": "tagKeys",
  380. "type": "list",
  381. "member": {}
  382. }
  383. }
  384. },
  385. "output": {
  386. "type": "structure",
  387. "members": {}
  388. }
  389. },
  390. "UpdateNotificationRule": {
  391. "http": {
  392. "requestUri": "/updateNotificationRule"
  393. },
  394. "input": {
  395. "type": "structure",
  396. "required": [
  397. "Arn"
  398. ],
  399. "members": {
  400. "Arn": {},
  401. "Name": {
  402. "shape": "S2"
  403. },
  404. "Status": {},
  405. "EventTypeIds": {
  406. "shape": "S3"
  407. },
  408. "Targets": {
  409. "shape": "S6"
  410. },
  411. "DetailType": {}
  412. }
  413. },
  414. "output": {
  415. "type": "structure",
  416. "members": {}
  417. }
  418. }
  419. },
  420. "shapes": {
  421. "S2": {
  422. "type": "string",
  423. "sensitive": true
  424. },
  425. "S3": {
  426. "type": "list",
  427. "member": {}
  428. },
  429. "S6": {
  430. "type": "list",
  431. "member": {
  432. "shape": "S7"
  433. }
  434. },
  435. "S7": {
  436. "type": "structure",
  437. "members": {
  438. "TargetType": {},
  439. "TargetAddress": {
  440. "shape": "S9"
  441. }
  442. }
  443. },
  444. "S9": {
  445. "type": "string",
  446. "sensitive": true
  447. },
  448. "Sc": {
  449. "type": "map",
  450. "key": {},
  451. "value": {}
  452. },
  453. "Sp": {
  454. "type": "list",
  455. "member": {
  456. "type": "structure",
  457. "members": {
  458. "EventTypeId": {},
  459. "ServiceName": {},
  460. "EventTypeName": {},
  461. "ResourceType": {}
  462. }
  463. }
  464. },
  465. "Su": {
  466. "type": "list",
  467. "member": {
  468. "type": "structure",
  469. "members": {
  470. "TargetAddress": {
  471. "shape": "S9"
  472. },
  473. "TargetType": {},
  474. "TargetStatus": {}
  475. }
  476. }
  477. }
  478. }
  479. }