verifiedpermissions-2021-12-01.min.json 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2021-12-01",
  5. "endpointPrefix": "verifiedpermissions",
  6. "jsonVersion": "1.0",
  7. "protocol": "json",
  8. "protocols": [
  9. "json"
  10. ],
  11. "serviceFullName": "Amazon Verified Permissions",
  12. "serviceId": "VerifiedPermissions",
  13. "signatureVersion": "v4",
  14. "signingName": "verifiedpermissions",
  15. "targetPrefix": "VerifiedPermissions",
  16. "uid": "verifiedpermissions-2021-12-01"
  17. },
  18. "operations": {
  19. "BatchIsAuthorized": {
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "policyStoreId",
  24. "requests"
  25. ],
  26. "members": {
  27. "policyStoreId": {},
  28. "entities": {
  29. "shape": "S3"
  30. },
  31. "requests": {
  32. "type": "list",
  33. "member": {
  34. "shape": "Sj"
  35. }
  36. }
  37. }
  38. },
  39. "output": {
  40. "type": "structure",
  41. "required": [
  42. "results"
  43. ],
  44. "members": {
  45. "results": {
  46. "type": "list",
  47. "member": {
  48. "type": "structure",
  49. "required": [
  50. "request",
  51. "decision",
  52. "determiningPolicies",
  53. "errors"
  54. ],
  55. "members": {
  56. "request": {
  57. "shape": "Sj"
  58. },
  59. "decision": {},
  60. "determiningPolicies": {
  61. "shape": "St"
  62. },
  63. "errors": {
  64. "shape": "Sw"
  65. }
  66. }
  67. }
  68. }
  69. }
  70. }
  71. },
  72. "BatchIsAuthorizedWithToken": {
  73. "input": {
  74. "type": "structure",
  75. "required": [
  76. "policyStoreId",
  77. "requests"
  78. ],
  79. "members": {
  80. "policyStoreId": {},
  81. "identityToken": {
  82. "shape": "Sz"
  83. },
  84. "accessToken": {
  85. "shape": "Sz"
  86. },
  87. "entities": {
  88. "shape": "S3"
  89. },
  90. "requests": {
  91. "type": "list",
  92. "member": {
  93. "shape": "S11"
  94. }
  95. }
  96. }
  97. },
  98. "output": {
  99. "type": "structure",
  100. "required": [
  101. "results"
  102. ],
  103. "members": {
  104. "principal": {
  105. "shape": "S6"
  106. },
  107. "results": {
  108. "type": "list",
  109. "member": {
  110. "type": "structure",
  111. "required": [
  112. "request",
  113. "decision",
  114. "determiningPolicies",
  115. "errors"
  116. ],
  117. "members": {
  118. "request": {
  119. "shape": "S11"
  120. },
  121. "decision": {},
  122. "determiningPolicies": {
  123. "shape": "St"
  124. },
  125. "errors": {
  126. "shape": "Sw"
  127. }
  128. }
  129. }
  130. }
  131. }
  132. }
  133. },
  134. "CreateIdentitySource": {
  135. "input": {
  136. "type": "structure",
  137. "required": [
  138. "policyStoreId",
  139. "configuration"
  140. ],
  141. "members": {
  142. "clientToken": {
  143. "idempotencyToken": true
  144. },
  145. "policyStoreId": {},
  146. "configuration": {
  147. "type": "structure",
  148. "members": {
  149. "cognitoUserPoolConfiguration": {
  150. "type": "structure",
  151. "required": [
  152. "userPoolArn"
  153. ],
  154. "members": {
  155. "userPoolArn": {},
  156. "clientIds": {
  157. "shape": "S1a"
  158. },
  159. "groupConfiguration": {
  160. "type": "structure",
  161. "required": [
  162. "groupEntityType"
  163. ],
  164. "members": {
  165. "groupEntityType": {
  166. "shape": "S1d"
  167. }
  168. }
  169. }
  170. }
  171. }
  172. },
  173. "union": true
  174. },
  175. "principalEntityType": {
  176. "shape": "S1e"
  177. }
  178. }
  179. },
  180. "output": {
  181. "type": "structure",
  182. "required": [
  183. "createdDate",
  184. "identitySourceId",
  185. "lastUpdatedDate",
  186. "policyStoreId"
  187. ],
  188. "members": {
  189. "createdDate": {
  190. "shape": "S1g"
  191. },
  192. "identitySourceId": {},
  193. "lastUpdatedDate": {
  194. "shape": "S1g"
  195. },
  196. "policyStoreId": {}
  197. }
  198. },
  199. "idempotent": true
  200. },
  201. "CreatePolicy": {
  202. "input": {
  203. "type": "structure",
  204. "required": [
  205. "policyStoreId",
  206. "definition"
  207. ],
  208. "members": {
  209. "clientToken": {
  210. "idempotencyToken": true
  211. },
  212. "policyStoreId": {},
  213. "definition": {
  214. "type": "structure",
  215. "members": {
  216. "static": {
  217. "type": "structure",
  218. "required": [
  219. "statement"
  220. ],
  221. "members": {
  222. "description": {
  223. "shape": "S1l"
  224. },
  225. "statement": {
  226. "shape": "S1m"
  227. }
  228. }
  229. },
  230. "templateLinked": {
  231. "type": "structure",
  232. "required": [
  233. "policyTemplateId"
  234. ],
  235. "members": {
  236. "policyTemplateId": {},
  237. "principal": {
  238. "shape": "S6"
  239. },
  240. "resource": {
  241. "shape": "S6"
  242. }
  243. }
  244. }
  245. },
  246. "union": true
  247. }
  248. }
  249. },
  250. "output": {
  251. "type": "structure",
  252. "required": [
  253. "policyStoreId",
  254. "policyId",
  255. "policyType",
  256. "createdDate",
  257. "lastUpdatedDate"
  258. ],
  259. "members": {
  260. "policyStoreId": {},
  261. "policyId": {},
  262. "policyType": {},
  263. "principal": {
  264. "shape": "S6"
  265. },
  266. "resource": {
  267. "shape": "S6"
  268. },
  269. "actions": {
  270. "shape": "S1r"
  271. },
  272. "createdDate": {
  273. "shape": "S1g"
  274. },
  275. "lastUpdatedDate": {
  276. "shape": "S1g"
  277. },
  278. "effect": {}
  279. }
  280. },
  281. "idempotent": true
  282. },
  283. "CreatePolicyStore": {
  284. "input": {
  285. "type": "structure",
  286. "required": [
  287. "validationSettings"
  288. ],
  289. "members": {
  290. "clientToken": {
  291. "idempotencyToken": true
  292. },
  293. "validationSettings": {
  294. "shape": "S1u"
  295. },
  296. "description": {
  297. "shape": "S1w"
  298. }
  299. }
  300. },
  301. "output": {
  302. "type": "structure",
  303. "required": [
  304. "policyStoreId",
  305. "arn",
  306. "createdDate",
  307. "lastUpdatedDate"
  308. ],
  309. "members": {
  310. "policyStoreId": {},
  311. "arn": {},
  312. "createdDate": {
  313. "shape": "S1g"
  314. },
  315. "lastUpdatedDate": {
  316. "shape": "S1g"
  317. }
  318. }
  319. },
  320. "idempotent": true
  321. },
  322. "CreatePolicyTemplate": {
  323. "input": {
  324. "type": "structure",
  325. "required": [
  326. "policyStoreId",
  327. "statement"
  328. ],
  329. "members": {
  330. "clientToken": {
  331. "idempotencyToken": true
  332. },
  333. "policyStoreId": {},
  334. "description": {
  335. "shape": "S20"
  336. },
  337. "statement": {
  338. "shape": "S1m"
  339. }
  340. }
  341. },
  342. "output": {
  343. "type": "structure",
  344. "required": [
  345. "policyStoreId",
  346. "policyTemplateId",
  347. "createdDate",
  348. "lastUpdatedDate"
  349. ],
  350. "members": {
  351. "policyStoreId": {},
  352. "policyTemplateId": {},
  353. "createdDate": {
  354. "shape": "S1g"
  355. },
  356. "lastUpdatedDate": {
  357. "shape": "S1g"
  358. }
  359. }
  360. },
  361. "idempotent": true
  362. },
  363. "DeleteIdentitySource": {
  364. "input": {
  365. "type": "structure",
  366. "required": [
  367. "policyStoreId",
  368. "identitySourceId"
  369. ],
  370. "members": {
  371. "policyStoreId": {},
  372. "identitySourceId": {}
  373. }
  374. },
  375. "output": {
  376. "type": "structure",
  377. "members": {}
  378. },
  379. "idempotent": true
  380. },
  381. "DeletePolicy": {
  382. "input": {
  383. "type": "structure",
  384. "required": [
  385. "policyStoreId",
  386. "policyId"
  387. ],
  388. "members": {
  389. "policyStoreId": {},
  390. "policyId": {}
  391. }
  392. },
  393. "output": {
  394. "type": "structure",
  395. "members": {}
  396. },
  397. "idempotent": true
  398. },
  399. "DeletePolicyStore": {
  400. "input": {
  401. "type": "structure",
  402. "required": [
  403. "policyStoreId"
  404. ],
  405. "members": {
  406. "policyStoreId": {}
  407. }
  408. },
  409. "output": {
  410. "type": "structure",
  411. "members": {}
  412. },
  413. "idempotent": true
  414. },
  415. "DeletePolicyTemplate": {
  416. "input": {
  417. "type": "structure",
  418. "required": [
  419. "policyStoreId",
  420. "policyTemplateId"
  421. ],
  422. "members": {
  423. "policyStoreId": {},
  424. "policyTemplateId": {}
  425. }
  426. },
  427. "output": {
  428. "type": "structure",
  429. "members": {}
  430. },
  431. "idempotent": true
  432. },
  433. "GetIdentitySource": {
  434. "input": {
  435. "type": "structure",
  436. "required": [
  437. "policyStoreId",
  438. "identitySourceId"
  439. ],
  440. "members": {
  441. "policyStoreId": {},
  442. "identitySourceId": {}
  443. }
  444. },
  445. "output": {
  446. "type": "structure",
  447. "required": [
  448. "createdDate",
  449. "identitySourceId",
  450. "lastUpdatedDate",
  451. "policyStoreId",
  452. "principalEntityType"
  453. ],
  454. "members": {
  455. "createdDate": {
  456. "shape": "S1g"
  457. },
  458. "details": {
  459. "deprecated": true,
  460. "deprecatedMessage": "This shape has been replaced by ConfigurationDetail",
  461. "type": "structure",
  462. "members": {
  463. "clientIds": {
  464. "shape": "S1a",
  465. "deprecated": true,
  466. "deprecatedMessage": "This attribute has been replaced by configuration.cognitoUserPoolConfiguration.clientIds"
  467. },
  468. "userPoolArn": {
  469. "deprecated": true,
  470. "deprecatedMessage": "This attribute has been replaced by configuration.cognitoUserPoolConfiguration.userPoolArn"
  471. },
  472. "discoveryUrl": {
  473. "deprecated": true,
  474. "deprecatedMessage": "This attribute has been replaced by configuration.cognitoUserPoolConfiguration.issuer"
  475. },
  476. "openIdIssuer": {
  477. "deprecated": true,
  478. "deprecatedMessage": "This attribute has been replaced by configuration"
  479. }
  480. }
  481. },
  482. "identitySourceId": {},
  483. "lastUpdatedDate": {
  484. "shape": "S1g"
  485. },
  486. "policyStoreId": {},
  487. "principalEntityType": {
  488. "shape": "S1e"
  489. },
  490. "configuration": {
  491. "type": "structure",
  492. "members": {
  493. "cognitoUserPoolConfiguration": {
  494. "type": "structure",
  495. "required": [
  496. "userPoolArn",
  497. "clientIds",
  498. "issuer"
  499. ],
  500. "members": {
  501. "userPoolArn": {},
  502. "clientIds": {
  503. "shape": "S1a"
  504. },
  505. "issuer": {},
  506. "groupConfiguration": {
  507. "type": "structure",
  508. "members": {
  509. "groupEntityType": {
  510. "shape": "S1d"
  511. }
  512. }
  513. }
  514. }
  515. }
  516. },
  517. "union": true
  518. }
  519. }
  520. }
  521. },
  522. "GetPolicy": {
  523. "input": {
  524. "type": "structure",
  525. "required": [
  526. "policyStoreId",
  527. "policyId"
  528. ],
  529. "members": {
  530. "policyStoreId": {},
  531. "policyId": {}
  532. }
  533. },
  534. "output": {
  535. "type": "structure",
  536. "required": [
  537. "policyStoreId",
  538. "policyId",
  539. "policyType",
  540. "definition",
  541. "createdDate",
  542. "lastUpdatedDate"
  543. ],
  544. "members": {
  545. "policyStoreId": {},
  546. "policyId": {},
  547. "policyType": {},
  548. "principal": {
  549. "shape": "S6"
  550. },
  551. "resource": {
  552. "shape": "S6"
  553. },
  554. "actions": {
  555. "shape": "S1r"
  556. },
  557. "definition": {
  558. "type": "structure",
  559. "members": {
  560. "static": {
  561. "type": "structure",
  562. "required": [
  563. "statement"
  564. ],
  565. "members": {
  566. "description": {
  567. "shape": "S1l"
  568. },
  569. "statement": {
  570. "shape": "S1m"
  571. }
  572. }
  573. },
  574. "templateLinked": {
  575. "type": "structure",
  576. "required": [
  577. "policyTemplateId"
  578. ],
  579. "members": {
  580. "policyTemplateId": {},
  581. "principal": {
  582. "shape": "S6"
  583. },
  584. "resource": {
  585. "shape": "S6"
  586. }
  587. }
  588. }
  589. },
  590. "union": true
  591. },
  592. "createdDate": {
  593. "shape": "S1g"
  594. },
  595. "lastUpdatedDate": {
  596. "shape": "S1g"
  597. },
  598. "effect": {}
  599. }
  600. }
  601. },
  602. "GetPolicyStore": {
  603. "input": {
  604. "type": "structure",
  605. "required": [
  606. "policyStoreId"
  607. ],
  608. "members": {
  609. "policyStoreId": {}
  610. }
  611. },
  612. "output": {
  613. "type": "structure",
  614. "required": [
  615. "policyStoreId",
  616. "arn",
  617. "validationSettings",
  618. "createdDate",
  619. "lastUpdatedDate"
  620. ],
  621. "members": {
  622. "policyStoreId": {},
  623. "arn": {},
  624. "validationSettings": {
  625. "shape": "S1u"
  626. },
  627. "createdDate": {
  628. "shape": "S1g"
  629. },
  630. "lastUpdatedDate": {
  631. "shape": "S1g"
  632. },
  633. "description": {
  634. "shape": "S1w"
  635. }
  636. }
  637. }
  638. },
  639. "GetPolicyTemplate": {
  640. "input": {
  641. "type": "structure",
  642. "required": [
  643. "policyStoreId",
  644. "policyTemplateId"
  645. ],
  646. "members": {
  647. "policyStoreId": {},
  648. "policyTemplateId": {}
  649. }
  650. },
  651. "output": {
  652. "type": "structure",
  653. "required": [
  654. "policyStoreId",
  655. "policyTemplateId",
  656. "statement",
  657. "createdDate",
  658. "lastUpdatedDate"
  659. ],
  660. "members": {
  661. "policyStoreId": {},
  662. "policyTemplateId": {},
  663. "description": {
  664. "shape": "S20"
  665. },
  666. "statement": {
  667. "shape": "S1m"
  668. },
  669. "createdDate": {
  670. "shape": "S1g"
  671. },
  672. "lastUpdatedDate": {
  673. "shape": "S1g"
  674. }
  675. }
  676. }
  677. },
  678. "GetSchema": {
  679. "input": {
  680. "type": "structure",
  681. "required": [
  682. "policyStoreId"
  683. ],
  684. "members": {
  685. "policyStoreId": {}
  686. }
  687. },
  688. "output": {
  689. "type": "structure",
  690. "required": [
  691. "policyStoreId",
  692. "schema",
  693. "createdDate",
  694. "lastUpdatedDate"
  695. ],
  696. "members": {
  697. "policyStoreId": {},
  698. "schema": {
  699. "shape": "S2u"
  700. },
  701. "createdDate": {
  702. "shape": "S1g"
  703. },
  704. "lastUpdatedDate": {
  705. "shape": "S1g"
  706. },
  707. "namespaces": {
  708. "shape": "S2v"
  709. }
  710. }
  711. }
  712. },
  713. "IsAuthorized": {
  714. "input": {
  715. "type": "structure",
  716. "required": [
  717. "policyStoreId"
  718. ],
  719. "members": {
  720. "policyStoreId": {},
  721. "principal": {
  722. "shape": "S6"
  723. },
  724. "action": {
  725. "shape": "Sk"
  726. },
  727. "resource": {
  728. "shape": "S6"
  729. },
  730. "context": {
  731. "shape": "Sn"
  732. },
  733. "entities": {
  734. "shape": "S3"
  735. }
  736. }
  737. },
  738. "output": {
  739. "type": "structure",
  740. "required": [
  741. "decision",
  742. "determiningPolicies",
  743. "errors"
  744. ],
  745. "members": {
  746. "decision": {},
  747. "determiningPolicies": {
  748. "shape": "St"
  749. },
  750. "errors": {
  751. "shape": "Sw"
  752. }
  753. }
  754. }
  755. },
  756. "IsAuthorizedWithToken": {
  757. "input": {
  758. "type": "structure",
  759. "required": [
  760. "policyStoreId"
  761. ],
  762. "members": {
  763. "policyStoreId": {},
  764. "identityToken": {
  765. "shape": "Sz"
  766. },
  767. "accessToken": {
  768. "shape": "Sz"
  769. },
  770. "action": {
  771. "shape": "Sk"
  772. },
  773. "resource": {
  774. "shape": "S6"
  775. },
  776. "context": {
  777. "shape": "Sn"
  778. },
  779. "entities": {
  780. "shape": "S3"
  781. }
  782. }
  783. },
  784. "output": {
  785. "type": "structure",
  786. "required": [
  787. "decision",
  788. "determiningPolicies",
  789. "errors"
  790. ],
  791. "members": {
  792. "decision": {},
  793. "determiningPolicies": {
  794. "shape": "St"
  795. },
  796. "errors": {
  797. "shape": "Sw"
  798. },
  799. "principal": {
  800. "shape": "S6"
  801. }
  802. }
  803. }
  804. },
  805. "ListIdentitySources": {
  806. "input": {
  807. "type": "structure",
  808. "required": [
  809. "policyStoreId"
  810. ],
  811. "members": {
  812. "policyStoreId": {},
  813. "nextToken": {},
  814. "maxResults": {
  815. "type": "integer"
  816. },
  817. "filters": {
  818. "type": "list",
  819. "member": {
  820. "type": "structure",
  821. "members": {
  822. "principalEntityType": {
  823. "shape": "S1e"
  824. }
  825. }
  826. }
  827. }
  828. }
  829. },
  830. "output": {
  831. "type": "structure",
  832. "required": [
  833. "identitySources"
  834. ],
  835. "members": {
  836. "nextToken": {},
  837. "identitySources": {
  838. "type": "list",
  839. "member": {
  840. "type": "structure",
  841. "required": [
  842. "createdDate",
  843. "identitySourceId",
  844. "lastUpdatedDate",
  845. "policyStoreId",
  846. "principalEntityType"
  847. ],
  848. "members": {
  849. "createdDate": {
  850. "shape": "S1g"
  851. },
  852. "details": {
  853. "deprecated": true,
  854. "deprecatedMessage": "This shape has been replaced by ConfigurationItem",
  855. "type": "structure",
  856. "members": {
  857. "clientIds": {
  858. "shape": "S1a",
  859. "deprecated": true,
  860. "deprecatedMessage": "This attribute has been replaced by configuration.cognitoUserPoolConfiguration.clientIds"
  861. },
  862. "userPoolArn": {
  863. "deprecated": true,
  864. "deprecatedMessage": "This attribute has been replaced by configuration.cognitoUserPoolConfiguration.userPoolArn"
  865. },
  866. "discoveryUrl": {
  867. "deprecated": true,
  868. "deprecatedMessage": "This attribute has been replaced by configuration.cognitoUserPoolConfiguration.issuer"
  869. },
  870. "openIdIssuer": {
  871. "deprecated": true,
  872. "deprecatedMessage": "This attribute has been replaced by configuration"
  873. }
  874. }
  875. },
  876. "identitySourceId": {},
  877. "lastUpdatedDate": {
  878. "shape": "S1g"
  879. },
  880. "policyStoreId": {},
  881. "principalEntityType": {
  882. "shape": "S1e"
  883. },
  884. "configuration": {
  885. "type": "structure",
  886. "members": {
  887. "cognitoUserPoolConfiguration": {
  888. "type": "structure",
  889. "required": [
  890. "userPoolArn",
  891. "clientIds",
  892. "issuer"
  893. ],
  894. "members": {
  895. "userPoolArn": {},
  896. "clientIds": {
  897. "shape": "S1a"
  898. },
  899. "issuer": {},
  900. "groupConfiguration": {
  901. "type": "structure",
  902. "members": {
  903. "groupEntityType": {
  904. "shape": "S1d"
  905. }
  906. }
  907. }
  908. }
  909. }
  910. },
  911. "union": true
  912. }
  913. }
  914. }
  915. }
  916. }
  917. }
  918. },
  919. "ListPolicies": {
  920. "input": {
  921. "type": "structure",
  922. "required": [
  923. "policyStoreId"
  924. ],
  925. "members": {
  926. "policyStoreId": {},
  927. "nextToken": {},
  928. "maxResults": {
  929. "type": "integer"
  930. },
  931. "filter": {
  932. "type": "structure",
  933. "members": {
  934. "principal": {
  935. "shape": "S3g"
  936. },
  937. "resource": {
  938. "shape": "S3g"
  939. },
  940. "policyType": {},
  941. "policyTemplateId": {}
  942. }
  943. }
  944. }
  945. },
  946. "output": {
  947. "type": "structure",
  948. "required": [
  949. "policies"
  950. ],
  951. "members": {
  952. "nextToken": {},
  953. "policies": {
  954. "type": "list",
  955. "member": {
  956. "type": "structure",
  957. "required": [
  958. "policyStoreId",
  959. "policyId",
  960. "policyType",
  961. "definition",
  962. "createdDate",
  963. "lastUpdatedDate"
  964. ],
  965. "members": {
  966. "policyStoreId": {},
  967. "policyId": {},
  968. "policyType": {},
  969. "principal": {
  970. "shape": "S6"
  971. },
  972. "resource": {
  973. "shape": "S6"
  974. },
  975. "actions": {
  976. "shape": "S1r"
  977. },
  978. "definition": {
  979. "type": "structure",
  980. "members": {
  981. "static": {
  982. "type": "structure",
  983. "members": {
  984. "description": {
  985. "shape": "S1l"
  986. }
  987. }
  988. },
  989. "templateLinked": {
  990. "type": "structure",
  991. "required": [
  992. "policyTemplateId"
  993. ],
  994. "members": {
  995. "policyTemplateId": {},
  996. "principal": {
  997. "shape": "S6"
  998. },
  999. "resource": {
  1000. "shape": "S6"
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "union": true
  1006. },
  1007. "createdDate": {
  1008. "shape": "S1g"
  1009. },
  1010. "lastUpdatedDate": {
  1011. "shape": "S1g"
  1012. },
  1013. "effect": {}
  1014. }
  1015. }
  1016. }
  1017. }
  1018. }
  1019. },
  1020. "ListPolicyStores": {
  1021. "input": {
  1022. "type": "structure",
  1023. "members": {
  1024. "nextToken": {},
  1025. "maxResults": {
  1026. "type": "integer"
  1027. }
  1028. }
  1029. },
  1030. "output": {
  1031. "type": "structure",
  1032. "required": [
  1033. "policyStores"
  1034. ],
  1035. "members": {
  1036. "nextToken": {},
  1037. "policyStores": {
  1038. "type": "list",
  1039. "member": {
  1040. "type": "structure",
  1041. "required": [
  1042. "policyStoreId",
  1043. "arn",
  1044. "createdDate"
  1045. ],
  1046. "members": {
  1047. "policyStoreId": {},
  1048. "arn": {},
  1049. "createdDate": {
  1050. "shape": "S1g"
  1051. },
  1052. "lastUpdatedDate": {
  1053. "shape": "S1g"
  1054. },
  1055. "description": {
  1056. "shape": "S1w"
  1057. }
  1058. }
  1059. }
  1060. }
  1061. }
  1062. }
  1063. },
  1064. "ListPolicyTemplates": {
  1065. "input": {
  1066. "type": "structure",
  1067. "required": [
  1068. "policyStoreId"
  1069. ],
  1070. "members": {
  1071. "policyStoreId": {},
  1072. "nextToken": {},
  1073. "maxResults": {
  1074. "type": "integer"
  1075. }
  1076. }
  1077. },
  1078. "output": {
  1079. "type": "structure",
  1080. "required": [
  1081. "policyTemplates"
  1082. ],
  1083. "members": {
  1084. "nextToken": {},
  1085. "policyTemplates": {
  1086. "type": "list",
  1087. "member": {
  1088. "type": "structure",
  1089. "required": [
  1090. "policyStoreId",
  1091. "policyTemplateId",
  1092. "createdDate",
  1093. "lastUpdatedDate"
  1094. ],
  1095. "members": {
  1096. "policyStoreId": {},
  1097. "policyTemplateId": {},
  1098. "description": {
  1099. "shape": "S20"
  1100. },
  1101. "createdDate": {
  1102. "shape": "S1g"
  1103. },
  1104. "lastUpdatedDate": {
  1105. "shape": "S1g"
  1106. }
  1107. }
  1108. }
  1109. }
  1110. }
  1111. }
  1112. },
  1113. "PutSchema": {
  1114. "input": {
  1115. "type": "structure",
  1116. "required": [
  1117. "policyStoreId",
  1118. "definition"
  1119. ],
  1120. "members": {
  1121. "policyStoreId": {},
  1122. "definition": {
  1123. "type": "structure",
  1124. "members": {
  1125. "cedarJson": {
  1126. "shape": "S2u"
  1127. }
  1128. },
  1129. "union": true
  1130. }
  1131. }
  1132. },
  1133. "output": {
  1134. "type": "structure",
  1135. "required": [
  1136. "policyStoreId",
  1137. "namespaces",
  1138. "createdDate",
  1139. "lastUpdatedDate"
  1140. ],
  1141. "members": {
  1142. "policyStoreId": {},
  1143. "namespaces": {
  1144. "shape": "S2v"
  1145. },
  1146. "createdDate": {
  1147. "shape": "S1g"
  1148. },
  1149. "lastUpdatedDate": {
  1150. "shape": "S1g"
  1151. }
  1152. }
  1153. },
  1154. "idempotent": true
  1155. },
  1156. "UpdateIdentitySource": {
  1157. "input": {
  1158. "type": "structure",
  1159. "required": [
  1160. "policyStoreId",
  1161. "identitySourceId",
  1162. "updateConfiguration"
  1163. ],
  1164. "members": {
  1165. "policyStoreId": {},
  1166. "identitySourceId": {},
  1167. "updateConfiguration": {
  1168. "type": "structure",
  1169. "members": {
  1170. "cognitoUserPoolConfiguration": {
  1171. "type": "structure",
  1172. "required": [
  1173. "userPoolArn"
  1174. ],
  1175. "members": {
  1176. "userPoolArn": {},
  1177. "clientIds": {
  1178. "shape": "S1a"
  1179. },
  1180. "groupConfiguration": {
  1181. "type": "structure",
  1182. "required": [
  1183. "groupEntityType"
  1184. ],
  1185. "members": {
  1186. "groupEntityType": {
  1187. "shape": "S1d"
  1188. }
  1189. }
  1190. }
  1191. }
  1192. }
  1193. },
  1194. "union": true
  1195. },
  1196. "principalEntityType": {
  1197. "shape": "S1e"
  1198. }
  1199. }
  1200. },
  1201. "output": {
  1202. "type": "structure",
  1203. "required": [
  1204. "createdDate",
  1205. "identitySourceId",
  1206. "lastUpdatedDate",
  1207. "policyStoreId"
  1208. ],
  1209. "members": {
  1210. "createdDate": {
  1211. "shape": "S1g"
  1212. },
  1213. "identitySourceId": {},
  1214. "lastUpdatedDate": {
  1215. "shape": "S1g"
  1216. },
  1217. "policyStoreId": {}
  1218. }
  1219. },
  1220. "idempotent": true
  1221. },
  1222. "UpdatePolicy": {
  1223. "input": {
  1224. "type": "structure",
  1225. "required": [
  1226. "policyStoreId",
  1227. "policyId",
  1228. "definition"
  1229. ],
  1230. "members": {
  1231. "policyStoreId": {},
  1232. "policyId": {},
  1233. "definition": {
  1234. "type": "structure",
  1235. "members": {
  1236. "static": {
  1237. "type": "structure",
  1238. "required": [
  1239. "statement"
  1240. ],
  1241. "members": {
  1242. "description": {
  1243. "shape": "S1l"
  1244. },
  1245. "statement": {
  1246. "shape": "S1m"
  1247. }
  1248. }
  1249. }
  1250. },
  1251. "union": true
  1252. }
  1253. }
  1254. },
  1255. "output": {
  1256. "type": "structure",
  1257. "required": [
  1258. "policyStoreId",
  1259. "policyId",
  1260. "policyType",
  1261. "createdDate",
  1262. "lastUpdatedDate"
  1263. ],
  1264. "members": {
  1265. "policyStoreId": {},
  1266. "policyId": {},
  1267. "policyType": {},
  1268. "principal": {
  1269. "shape": "S6"
  1270. },
  1271. "resource": {
  1272. "shape": "S6"
  1273. },
  1274. "actions": {
  1275. "shape": "S1r"
  1276. },
  1277. "createdDate": {
  1278. "shape": "S1g"
  1279. },
  1280. "lastUpdatedDate": {
  1281. "shape": "S1g"
  1282. },
  1283. "effect": {}
  1284. }
  1285. },
  1286. "idempotent": true
  1287. },
  1288. "UpdatePolicyStore": {
  1289. "input": {
  1290. "type": "structure",
  1291. "required": [
  1292. "policyStoreId",
  1293. "validationSettings"
  1294. ],
  1295. "members": {
  1296. "policyStoreId": {},
  1297. "validationSettings": {
  1298. "shape": "S1u"
  1299. },
  1300. "description": {
  1301. "shape": "S1w"
  1302. }
  1303. }
  1304. },
  1305. "output": {
  1306. "type": "structure",
  1307. "required": [
  1308. "policyStoreId",
  1309. "arn",
  1310. "createdDate",
  1311. "lastUpdatedDate"
  1312. ],
  1313. "members": {
  1314. "policyStoreId": {},
  1315. "arn": {},
  1316. "createdDate": {
  1317. "shape": "S1g"
  1318. },
  1319. "lastUpdatedDate": {
  1320. "shape": "S1g"
  1321. }
  1322. }
  1323. },
  1324. "idempotent": true
  1325. },
  1326. "UpdatePolicyTemplate": {
  1327. "input": {
  1328. "type": "structure",
  1329. "required": [
  1330. "policyStoreId",
  1331. "policyTemplateId",
  1332. "statement"
  1333. ],
  1334. "members": {
  1335. "policyStoreId": {},
  1336. "policyTemplateId": {},
  1337. "description": {
  1338. "shape": "S20"
  1339. },
  1340. "statement": {
  1341. "shape": "S1m"
  1342. }
  1343. }
  1344. },
  1345. "output": {
  1346. "type": "structure",
  1347. "required": [
  1348. "policyStoreId",
  1349. "policyTemplateId",
  1350. "createdDate",
  1351. "lastUpdatedDate"
  1352. ],
  1353. "members": {
  1354. "policyStoreId": {},
  1355. "policyTemplateId": {},
  1356. "createdDate": {
  1357. "shape": "S1g"
  1358. },
  1359. "lastUpdatedDate": {
  1360. "shape": "S1g"
  1361. }
  1362. }
  1363. },
  1364. "idempotent": true
  1365. }
  1366. },
  1367. "shapes": {
  1368. "S3": {
  1369. "type": "structure",
  1370. "members": {
  1371. "entityList": {
  1372. "type": "list",
  1373. "member": {
  1374. "type": "structure",
  1375. "required": [
  1376. "identifier"
  1377. ],
  1378. "members": {
  1379. "identifier": {
  1380. "shape": "S6"
  1381. },
  1382. "attributes": {
  1383. "type": "map",
  1384. "key": {},
  1385. "value": {
  1386. "shape": "Sb"
  1387. }
  1388. },
  1389. "parents": {
  1390. "type": "list",
  1391. "member": {
  1392. "shape": "S6"
  1393. }
  1394. }
  1395. }
  1396. }
  1397. }
  1398. },
  1399. "union": true
  1400. },
  1401. "S6": {
  1402. "type": "structure",
  1403. "required": [
  1404. "entityType",
  1405. "entityId"
  1406. ],
  1407. "members": {
  1408. "entityType": {
  1409. "type": "string",
  1410. "sensitive": true
  1411. },
  1412. "entityId": {
  1413. "type": "string",
  1414. "sensitive": true
  1415. }
  1416. }
  1417. },
  1418. "Sb": {
  1419. "type": "structure",
  1420. "members": {
  1421. "boolean": {
  1422. "type": "boolean",
  1423. "sensitive": true
  1424. },
  1425. "entityIdentifier": {
  1426. "shape": "S6"
  1427. },
  1428. "long": {
  1429. "type": "long",
  1430. "sensitive": true
  1431. },
  1432. "string": {
  1433. "type": "string",
  1434. "sensitive": true
  1435. },
  1436. "set": {
  1437. "type": "list",
  1438. "member": {
  1439. "shape": "Sb"
  1440. }
  1441. },
  1442. "record": {
  1443. "type": "map",
  1444. "key": {},
  1445. "value": {
  1446. "shape": "Sb"
  1447. }
  1448. }
  1449. },
  1450. "union": true
  1451. },
  1452. "Sj": {
  1453. "type": "structure",
  1454. "members": {
  1455. "principal": {
  1456. "shape": "S6"
  1457. },
  1458. "action": {
  1459. "shape": "Sk"
  1460. },
  1461. "resource": {
  1462. "shape": "S6"
  1463. },
  1464. "context": {
  1465. "shape": "Sn"
  1466. }
  1467. }
  1468. },
  1469. "Sk": {
  1470. "type": "structure",
  1471. "required": [
  1472. "actionType",
  1473. "actionId"
  1474. ],
  1475. "members": {
  1476. "actionType": {
  1477. "type": "string",
  1478. "sensitive": true
  1479. },
  1480. "actionId": {
  1481. "type": "string",
  1482. "sensitive": true
  1483. }
  1484. }
  1485. },
  1486. "Sn": {
  1487. "type": "structure",
  1488. "members": {
  1489. "contextMap": {
  1490. "type": "map",
  1491. "key": {},
  1492. "value": {
  1493. "shape": "Sb"
  1494. }
  1495. }
  1496. },
  1497. "union": true
  1498. },
  1499. "St": {
  1500. "type": "list",
  1501. "member": {
  1502. "type": "structure",
  1503. "required": [
  1504. "policyId"
  1505. ],
  1506. "members": {
  1507. "policyId": {}
  1508. }
  1509. }
  1510. },
  1511. "Sw": {
  1512. "type": "list",
  1513. "member": {
  1514. "type": "structure",
  1515. "required": [
  1516. "errorDescription"
  1517. ],
  1518. "members": {
  1519. "errorDescription": {}
  1520. },
  1521. "sensitive": true
  1522. }
  1523. },
  1524. "Sz": {
  1525. "type": "string",
  1526. "sensitive": true
  1527. },
  1528. "S11": {
  1529. "type": "structure",
  1530. "members": {
  1531. "action": {
  1532. "shape": "Sk"
  1533. },
  1534. "resource": {
  1535. "shape": "S6"
  1536. },
  1537. "context": {
  1538. "shape": "Sn"
  1539. }
  1540. }
  1541. },
  1542. "S1a": {
  1543. "type": "list",
  1544. "member": {
  1545. "type": "string",
  1546. "sensitive": true
  1547. }
  1548. },
  1549. "S1d": {
  1550. "type": "string",
  1551. "sensitive": true
  1552. },
  1553. "S1e": {
  1554. "type": "string",
  1555. "sensitive": true
  1556. },
  1557. "S1g": {
  1558. "type": "timestamp",
  1559. "timestampFormat": "iso8601"
  1560. },
  1561. "S1l": {
  1562. "type": "string",
  1563. "sensitive": true
  1564. },
  1565. "S1m": {
  1566. "type": "string",
  1567. "sensitive": true
  1568. },
  1569. "S1r": {
  1570. "type": "list",
  1571. "member": {
  1572. "shape": "Sk"
  1573. }
  1574. },
  1575. "S1u": {
  1576. "type": "structure",
  1577. "required": [
  1578. "mode"
  1579. ],
  1580. "members": {
  1581. "mode": {}
  1582. }
  1583. },
  1584. "S1w": {
  1585. "type": "string",
  1586. "sensitive": true
  1587. },
  1588. "S20": {
  1589. "type": "string",
  1590. "sensitive": true
  1591. },
  1592. "S2u": {
  1593. "type": "string",
  1594. "sensitive": true
  1595. },
  1596. "S2v": {
  1597. "type": "list",
  1598. "member": {
  1599. "type": "string",
  1600. "sensitive": true
  1601. }
  1602. },
  1603. "S3g": {
  1604. "type": "structure",
  1605. "members": {
  1606. "unspecified": {
  1607. "type": "boolean"
  1608. },
  1609. "identifier": {
  1610. "shape": "S6"
  1611. }
  1612. },
  1613. "union": true
  1614. }
  1615. }
  1616. }