resource-groups-2017-11-27.min.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2017-11-27",
  5. "endpointPrefix": "resource-groups",
  6. "protocol": "rest-json",
  7. "serviceAbbreviation": "Resource Groups",
  8. "serviceFullName": "AWS Resource Groups",
  9. "serviceId": "Resource Groups",
  10. "signatureVersion": "v4",
  11. "signingName": "resource-groups",
  12. "uid": "resource-groups-2017-11-27"
  13. },
  14. "operations": {
  15. "CreateGroup": {
  16. "http": {
  17. "requestUri": "/groups"
  18. },
  19. "input": {
  20. "type": "structure",
  21. "required": [
  22. "Name"
  23. ],
  24. "members": {
  25. "Name": {},
  26. "Description": {},
  27. "ResourceQuery": {
  28. "shape": "S4"
  29. },
  30. "Tags": {
  31. "shape": "S7"
  32. },
  33. "Configuration": {
  34. "shape": "Sa"
  35. }
  36. }
  37. },
  38. "output": {
  39. "type": "structure",
  40. "members": {
  41. "Group": {
  42. "shape": "Sj"
  43. },
  44. "ResourceQuery": {
  45. "shape": "S4"
  46. },
  47. "Tags": {
  48. "shape": "S7"
  49. },
  50. "GroupConfiguration": {
  51. "shape": "Sl"
  52. }
  53. }
  54. }
  55. },
  56. "DeleteGroup": {
  57. "http": {
  58. "requestUri": "/delete-group"
  59. },
  60. "input": {
  61. "type": "structure",
  62. "members": {
  63. "GroupName": {
  64. "deprecated": true,
  65. "deprecatedMessage": "This field is deprecated, use Group instead."
  66. },
  67. "Group": {}
  68. }
  69. },
  70. "output": {
  71. "type": "structure",
  72. "members": {
  73. "Group": {
  74. "shape": "Sj"
  75. }
  76. }
  77. }
  78. },
  79. "GetAccountSettings": {
  80. "http": {
  81. "requestUri": "/get-account-settings"
  82. },
  83. "output": {
  84. "type": "structure",
  85. "members": {
  86. "AccountSettings": {
  87. "shape": "Ss"
  88. }
  89. }
  90. }
  91. },
  92. "GetGroup": {
  93. "http": {
  94. "requestUri": "/get-group"
  95. },
  96. "input": {
  97. "type": "structure",
  98. "members": {
  99. "GroupName": {
  100. "deprecated": true,
  101. "deprecatedMessage": "This field is deprecated, use Group instead."
  102. },
  103. "Group": {}
  104. }
  105. },
  106. "output": {
  107. "type": "structure",
  108. "members": {
  109. "Group": {
  110. "shape": "Sj"
  111. }
  112. }
  113. }
  114. },
  115. "GetGroupConfiguration": {
  116. "http": {
  117. "requestUri": "/get-group-configuration"
  118. },
  119. "input": {
  120. "type": "structure",
  121. "members": {
  122. "Group": {}
  123. }
  124. },
  125. "output": {
  126. "type": "structure",
  127. "members": {
  128. "GroupConfiguration": {
  129. "shape": "Sl"
  130. }
  131. }
  132. }
  133. },
  134. "GetGroupQuery": {
  135. "http": {
  136. "requestUri": "/get-group-query"
  137. },
  138. "input": {
  139. "type": "structure",
  140. "members": {
  141. "GroupName": {
  142. "deprecated": true,
  143. "deprecatedMessage": "This field is deprecated, use Group instead."
  144. },
  145. "Group": {}
  146. }
  147. },
  148. "output": {
  149. "type": "structure",
  150. "members": {
  151. "GroupQuery": {
  152. "shape": "S12"
  153. }
  154. }
  155. }
  156. },
  157. "GetTags": {
  158. "http": {
  159. "method": "GET",
  160. "requestUri": "/resources/{Arn}/tags"
  161. },
  162. "input": {
  163. "type": "structure",
  164. "required": [
  165. "Arn"
  166. ],
  167. "members": {
  168. "Arn": {
  169. "location": "uri",
  170. "locationName": "Arn"
  171. }
  172. }
  173. },
  174. "output": {
  175. "type": "structure",
  176. "members": {
  177. "Arn": {},
  178. "Tags": {
  179. "shape": "S7"
  180. }
  181. }
  182. }
  183. },
  184. "GroupResources": {
  185. "http": {
  186. "requestUri": "/group-resources"
  187. },
  188. "input": {
  189. "type": "structure",
  190. "required": [
  191. "Group",
  192. "ResourceArns"
  193. ],
  194. "members": {
  195. "Group": {},
  196. "ResourceArns": {
  197. "shape": "S16"
  198. }
  199. }
  200. },
  201. "output": {
  202. "type": "structure",
  203. "members": {
  204. "Succeeded": {
  205. "shape": "S16"
  206. },
  207. "Failed": {
  208. "shape": "S19"
  209. },
  210. "Pending": {
  211. "shape": "S1d"
  212. }
  213. }
  214. }
  215. },
  216. "ListGroupResources": {
  217. "http": {
  218. "requestUri": "/list-group-resources"
  219. },
  220. "input": {
  221. "type": "structure",
  222. "members": {
  223. "GroupName": {
  224. "deprecated": true,
  225. "deprecatedMessage": "This field is deprecated, use Group instead."
  226. },
  227. "Group": {},
  228. "Filters": {
  229. "type": "list",
  230. "member": {
  231. "type": "structure",
  232. "required": [
  233. "Name",
  234. "Values"
  235. ],
  236. "members": {
  237. "Name": {},
  238. "Values": {
  239. "type": "list",
  240. "member": {}
  241. }
  242. }
  243. }
  244. },
  245. "MaxResults": {
  246. "type": "integer"
  247. },
  248. "NextToken": {}
  249. }
  250. },
  251. "output": {
  252. "type": "structure",
  253. "members": {
  254. "Resources": {
  255. "type": "list",
  256. "member": {
  257. "type": "structure",
  258. "members": {
  259. "Identifier": {
  260. "shape": "S1q"
  261. },
  262. "Status": {
  263. "type": "structure",
  264. "members": {
  265. "Name": {}
  266. }
  267. }
  268. }
  269. }
  270. },
  271. "ResourceIdentifiers": {
  272. "shape": "S1u",
  273. "deprecated": true,
  274. "deprecatedMessage": "This field is deprecated, use Resources instead."
  275. },
  276. "NextToken": {},
  277. "QueryErrors": {
  278. "shape": "S1v"
  279. }
  280. }
  281. }
  282. },
  283. "ListGroups": {
  284. "http": {
  285. "requestUri": "/groups-list"
  286. },
  287. "input": {
  288. "type": "structure",
  289. "members": {
  290. "Filters": {
  291. "type": "list",
  292. "member": {
  293. "type": "structure",
  294. "required": [
  295. "Name",
  296. "Values"
  297. ],
  298. "members": {
  299. "Name": {},
  300. "Values": {
  301. "type": "list",
  302. "member": {}
  303. }
  304. }
  305. }
  306. },
  307. "MaxResults": {
  308. "location": "querystring",
  309. "locationName": "maxResults",
  310. "type": "integer"
  311. },
  312. "NextToken": {
  313. "location": "querystring",
  314. "locationName": "nextToken"
  315. }
  316. }
  317. },
  318. "output": {
  319. "type": "structure",
  320. "members": {
  321. "GroupIdentifiers": {
  322. "type": "list",
  323. "member": {
  324. "type": "structure",
  325. "members": {
  326. "GroupName": {},
  327. "GroupArn": {}
  328. }
  329. }
  330. },
  331. "Groups": {
  332. "deprecated": true,
  333. "deprecatedMessage": "This field is deprecated, use GroupIdentifiers instead.",
  334. "type": "list",
  335. "member": {
  336. "shape": "Sj"
  337. }
  338. },
  339. "NextToken": {}
  340. }
  341. }
  342. },
  343. "PutGroupConfiguration": {
  344. "http": {
  345. "requestUri": "/put-group-configuration",
  346. "responseCode": 202
  347. },
  348. "input": {
  349. "type": "structure",
  350. "members": {
  351. "Group": {},
  352. "Configuration": {
  353. "shape": "Sa"
  354. }
  355. }
  356. },
  357. "output": {
  358. "type": "structure",
  359. "members": {}
  360. }
  361. },
  362. "SearchResources": {
  363. "http": {
  364. "requestUri": "/resources/search"
  365. },
  366. "input": {
  367. "type": "structure",
  368. "required": [
  369. "ResourceQuery"
  370. ],
  371. "members": {
  372. "ResourceQuery": {
  373. "shape": "S4"
  374. },
  375. "MaxResults": {
  376. "type": "integer"
  377. },
  378. "NextToken": {}
  379. }
  380. },
  381. "output": {
  382. "type": "structure",
  383. "members": {
  384. "ResourceIdentifiers": {
  385. "shape": "S1u"
  386. },
  387. "NextToken": {},
  388. "QueryErrors": {
  389. "shape": "S1v"
  390. }
  391. }
  392. }
  393. },
  394. "Tag": {
  395. "http": {
  396. "method": "PUT",
  397. "requestUri": "/resources/{Arn}/tags"
  398. },
  399. "input": {
  400. "type": "structure",
  401. "required": [
  402. "Arn",
  403. "Tags"
  404. ],
  405. "members": {
  406. "Arn": {
  407. "location": "uri",
  408. "locationName": "Arn"
  409. },
  410. "Tags": {
  411. "shape": "S7"
  412. }
  413. }
  414. },
  415. "output": {
  416. "type": "structure",
  417. "members": {
  418. "Arn": {},
  419. "Tags": {
  420. "shape": "S7"
  421. }
  422. }
  423. }
  424. },
  425. "UngroupResources": {
  426. "http": {
  427. "requestUri": "/ungroup-resources"
  428. },
  429. "input": {
  430. "type": "structure",
  431. "required": [
  432. "Group",
  433. "ResourceArns"
  434. ],
  435. "members": {
  436. "Group": {},
  437. "ResourceArns": {
  438. "shape": "S16"
  439. }
  440. }
  441. },
  442. "output": {
  443. "type": "structure",
  444. "members": {
  445. "Succeeded": {
  446. "shape": "S16"
  447. },
  448. "Failed": {
  449. "shape": "S19"
  450. },
  451. "Pending": {
  452. "shape": "S1d"
  453. }
  454. }
  455. }
  456. },
  457. "Untag": {
  458. "http": {
  459. "method": "PATCH",
  460. "requestUri": "/resources/{Arn}/tags"
  461. },
  462. "input": {
  463. "type": "structure",
  464. "required": [
  465. "Arn",
  466. "Keys"
  467. ],
  468. "members": {
  469. "Arn": {
  470. "location": "uri",
  471. "locationName": "Arn"
  472. },
  473. "Keys": {
  474. "shape": "S2i"
  475. }
  476. }
  477. },
  478. "output": {
  479. "type": "structure",
  480. "members": {
  481. "Arn": {},
  482. "Keys": {
  483. "shape": "S2i"
  484. }
  485. }
  486. }
  487. },
  488. "UpdateAccountSettings": {
  489. "http": {
  490. "requestUri": "/update-account-settings"
  491. },
  492. "input": {
  493. "type": "structure",
  494. "members": {
  495. "GroupLifecycleEventsDesiredStatus": {}
  496. }
  497. },
  498. "output": {
  499. "type": "structure",
  500. "members": {
  501. "AccountSettings": {
  502. "shape": "Ss"
  503. }
  504. }
  505. }
  506. },
  507. "UpdateGroup": {
  508. "http": {
  509. "requestUri": "/update-group"
  510. },
  511. "input": {
  512. "type": "structure",
  513. "members": {
  514. "GroupName": {
  515. "deprecated": true,
  516. "deprecatedMessage": "This field is deprecated, use Group instead."
  517. },
  518. "Group": {},
  519. "Description": {}
  520. }
  521. },
  522. "output": {
  523. "type": "structure",
  524. "members": {
  525. "Group": {
  526. "shape": "Sj"
  527. }
  528. }
  529. }
  530. },
  531. "UpdateGroupQuery": {
  532. "http": {
  533. "requestUri": "/update-group-query"
  534. },
  535. "input": {
  536. "type": "structure",
  537. "required": [
  538. "ResourceQuery"
  539. ],
  540. "members": {
  541. "GroupName": {
  542. "deprecated": true,
  543. "deprecatedMessage": "This field is deprecated, use Group instead."
  544. },
  545. "Group": {},
  546. "ResourceQuery": {
  547. "shape": "S4"
  548. }
  549. }
  550. },
  551. "output": {
  552. "type": "structure",
  553. "members": {
  554. "GroupQuery": {
  555. "shape": "S12"
  556. }
  557. }
  558. }
  559. }
  560. },
  561. "shapes": {
  562. "S4": {
  563. "type": "structure",
  564. "required": [
  565. "Type",
  566. "Query"
  567. ],
  568. "members": {
  569. "Type": {},
  570. "Query": {}
  571. }
  572. },
  573. "S7": {
  574. "type": "map",
  575. "key": {},
  576. "value": {}
  577. },
  578. "Sa": {
  579. "type": "list",
  580. "member": {
  581. "type": "structure",
  582. "required": [
  583. "Type"
  584. ],
  585. "members": {
  586. "Type": {},
  587. "Parameters": {
  588. "type": "list",
  589. "member": {
  590. "type": "structure",
  591. "required": [
  592. "Name"
  593. ],
  594. "members": {
  595. "Name": {},
  596. "Values": {
  597. "type": "list",
  598. "member": {}
  599. }
  600. }
  601. }
  602. }
  603. }
  604. }
  605. },
  606. "Sj": {
  607. "type": "structure",
  608. "required": [
  609. "GroupArn",
  610. "Name"
  611. ],
  612. "members": {
  613. "GroupArn": {},
  614. "Name": {},
  615. "Description": {}
  616. }
  617. },
  618. "Sl": {
  619. "type": "structure",
  620. "members": {
  621. "Configuration": {
  622. "shape": "Sa"
  623. },
  624. "ProposedConfiguration": {
  625. "shape": "Sa"
  626. },
  627. "Status": {},
  628. "FailureReason": {}
  629. }
  630. },
  631. "Ss": {
  632. "type": "structure",
  633. "members": {
  634. "GroupLifecycleEventsDesiredStatus": {},
  635. "GroupLifecycleEventsStatus": {},
  636. "GroupLifecycleEventsStatusMessage": {}
  637. }
  638. },
  639. "S12": {
  640. "type": "structure",
  641. "required": [
  642. "GroupName",
  643. "ResourceQuery"
  644. ],
  645. "members": {
  646. "GroupName": {},
  647. "ResourceQuery": {
  648. "shape": "S4"
  649. }
  650. }
  651. },
  652. "S16": {
  653. "type": "list",
  654. "member": {}
  655. },
  656. "S19": {
  657. "type": "list",
  658. "member": {
  659. "type": "structure",
  660. "members": {
  661. "ResourceArn": {},
  662. "ErrorMessage": {},
  663. "ErrorCode": {}
  664. }
  665. }
  666. },
  667. "S1d": {
  668. "type": "list",
  669. "member": {
  670. "type": "structure",
  671. "members": {
  672. "ResourceArn": {}
  673. }
  674. }
  675. },
  676. "S1q": {
  677. "type": "structure",
  678. "members": {
  679. "ResourceArn": {},
  680. "ResourceType": {}
  681. }
  682. },
  683. "S1u": {
  684. "type": "list",
  685. "member": {
  686. "shape": "S1q"
  687. }
  688. },
  689. "S1v": {
  690. "type": "list",
  691. "member": {
  692. "type": "structure",
  693. "members": {
  694. "ErrorCode": {},
  695. "Message": {}
  696. }
  697. }
  698. },
  699. "S2i": {
  700. "type": "list",
  701. "member": {}
  702. }
  703. }
  704. }