greengrassv2-2020-11-30.min.json 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2020-11-30",
  5. "endpointPrefix": "greengrass",
  6. "protocol": "rest-json",
  7. "protocols": [
  8. "rest-json"
  9. ],
  10. "serviceAbbreviation": "AWS GreengrassV2",
  11. "serviceFullName": "AWS IoT Greengrass V2",
  12. "serviceId": "GreengrassV2",
  13. "signatureVersion": "v4",
  14. "uid": "greengrassv2-2020-11-30"
  15. },
  16. "operations": {
  17. "AssociateServiceRoleToAccount": {
  18. "http": {
  19. "method": "PUT",
  20. "requestUri": "/greengrass/servicerole",
  21. "responseCode": 200
  22. },
  23. "input": {
  24. "type": "structure",
  25. "required": [
  26. "roleArn"
  27. ],
  28. "members": {
  29. "roleArn": {
  30. "locationName": "RoleArn"
  31. }
  32. }
  33. },
  34. "output": {
  35. "type": "structure",
  36. "members": {
  37. "associatedAt": {
  38. "locationName": "AssociatedAt"
  39. }
  40. }
  41. }
  42. },
  43. "BatchAssociateClientDeviceWithCoreDevice": {
  44. "http": {
  45. "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/associateClientDevices",
  46. "responseCode": 200
  47. },
  48. "input": {
  49. "type": "structure",
  50. "required": [
  51. "coreDeviceThingName"
  52. ],
  53. "members": {
  54. "entries": {
  55. "type": "list",
  56. "member": {
  57. "type": "structure",
  58. "required": [
  59. "thingName"
  60. ],
  61. "members": {
  62. "thingName": {}
  63. }
  64. }
  65. },
  66. "coreDeviceThingName": {
  67. "location": "uri",
  68. "locationName": "coreDeviceThingName"
  69. }
  70. }
  71. },
  72. "output": {
  73. "type": "structure",
  74. "members": {
  75. "errorEntries": {
  76. "type": "list",
  77. "member": {
  78. "type": "structure",
  79. "members": {
  80. "thingName": {},
  81. "code": {},
  82. "message": {}
  83. }
  84. }
  85. }
  86. }
  87. }
  88. },
  89. "BatchDisassociateClientDeviceFromCoreDevice": {
  90. "http": {
  91. "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/disassociateClientDevices",
  92. "responseCode": 200
  93. },
  94. "input": {
  95. "type": "structure",
  96. "required": [
  97. "coreDeviceThingName"
  98. ],
  99. "members": {
  100. "entries": {
  101. "type": "list",
  102. "member": {
  103. "type": "structure",
  104. "required": [
  105. "thingName"
  106. ],
  107. "members": {
  108. "thingName": {}
  109. }
  110. }
  111. },
  112. "coreDeviceThingName": {
  113. "location": "uri",
  114. "locationName": "coreDeviceThingName"
  115. }
  116. }
  117. },
  118. "output": {
  119. "type": "structure",
  120. "members": {
  121. "errorEntries": {
  122. "type": "list",
  123. "member": {
  124. "type": "structure",
  125. "members": {
  126. "thingName": {},
  127. "code": {},
  128. "message": {}
  129. }
  130. }
  131. }
  132. }
  133. }
  134. },
  135. "CancelDeployment": {
  136. "http": {
  137. "requestUri": "/greengrass/v2/deployments/{deploymentId}/cancel"
  138. },
  139. "input": {
  140. "type": "structure",
  141. "required": [
  142. "deploymentId"
  143. ],
  144. "members": {
  145. "deploymentId": {
  146. "location": "uri",
  147. "locationName": "deploymentId"
  148. }
  149. }
  150. },
  151. "output": {
  152. "type": "structure",
  153. "members": {
  154. "message": {}
  155. }
  156. }
  157. },
  158. "CreateComponentVersion": {
  159. "http": {
  160. "requestUri": "/greengrass/v2/createComponentVersion",
  161. "responseCode": 201
  162. },
  163. "input": {
  164. "type": "structure",
  165. "members": {
  166. "inlineRecipe": {
  167. "type": "blob"
  168. },
  169. "lambdaFunction": {
  170. "type": "structure",
  171. "required": [
  172. "lambdaArn"
  173. ],
  174. "members": {
  175. "lambdaArn": {},
  176. "componentName": {},
  177. "componentVersion": {},
  178. "componentPlatforms": {
  179. "shape": "Sp"
  180. },
  181. "componentDependencies": {
  182. "type": "map",
  183. "key": {},
  184. "value": {
  185. "type": "structure",
  186. "members": {
  187. "versionRequirement": {},
  188. "dependencyType": {}
  189. }
  190. }
  191. },
  192. "componentLambdaParameters": {
  193. "type": "structure",
  194. "members": {
  195. "eventSources": {
  196. "type": "list",
  197. "member": {
  198. "type": "structure",
  199. "required": [
  200. "topic",
  201. "type"
  202. ],
  203. "members": {
  204. "topic": {},
  205. "type": {}
  206. }
  207. }
  208. },
  209. "maxQueueSize": {
  210. "type": "integer"
  211. },
  212. "maxInstancesCount": {
  213. "type": "integer"
  214. },
  215. "maxIdleTimeInSeconds": {
  216. "type": "integer"
  217. },
  218. "timeoutInSeconds": {
  219. "type": "integer"
  220. },
  221. "statusTimeoutInSeconds": {
  222. "type": "integer"
  223. },
  224. "pinned": {
  225. "type": "boolean"
  226. },
  227. "inputPayloadEncodingType": {},
  228. "execArgs": {
  229. "type": "list",
  230. "member": {}
  231. },
  232. "environmentVariables": {
  233. "type": "map",
  234. "key": {},
  235. "value": {}
  236. },
  237. "linuxProcessParams": {
  238. "type": "structure",
  239. "members": {
  240. "isolationMode": {},
  241. "containerParams": {
  242. "type": "structure",
  243. "members": {
  244. "memorySizeInKB": {
  245. "type": "integer"
  246. },
  247. "mountROSysfs": {
  248. "type": "boolean"
  249. },
  250. "volumes": {
  251. "type": "list",
  252. "member": {
  253. "type": "structure",
  254. "required": [
  255. "sourcePath",
  256. "destinationPath"
  257. ],
  258. "members": {
  259. "sourcePath": {},
  260. "destinationPath": {},
  261. "permission": {},
  262. "addGroupOwner": {
  263. "type": "boolean"
  264. }
  265. }
  266. }
  267. },
  268. "devices": {
  269. "type": "list",
  270. "member": {
  271. "type": "structure",
  272. "required": [
  273. "path"
  274. ],
  275. "members": {
  276. "path": {},
  277. "permission": {},
  278. "addGroupOwner": {
  279. "type": "boolean"
  280. }
  281. }
  282. }
  283. }
  284. }
  285. }
  286. }
  287. }
  288. }
  289. }
  290. }
  291. },
  292. "tags": {
  293. "shape": "S1f"
  294. },
  295. "clientToken": {
  296. "idempotencyToken": true
  297. }
  298. }
  299. },
  300. "output": {
  301. "type": "structure",
  302. "required": [
  303. "componentName",
  304. "componentVersion",
  305. "creationTimestamp",
  306. "status"
  307. ],
  308. "members": {
  309. "arn": {},
  310. "componentName": {},
  311. "componentVersion": {},
  312. "creationTimestamp": {
  313. "type": "timestamp"
  314. },
  315. "status": {
  316. "shape": "S1m"
  317. }
  318. }
  319. }
  320. },
  321. "CreateDeployment": {
  322. "http": {
  323. "requestUri": "/greengrass/v2/deployments",
  324. "responseCode": 201
  325. },
  326. "input": {
  327. "type": "structure",
  328. "required": [
  329. "targetArn"
  330. ],
  331. "members": {
  332. "targetArn": {},
  333. "deploymentName": {},
  334. "components": {
  335. "shape": "S1t"
  336. },
  337. "iotJobConfiguration": {
  338. "shape": "S23"
  339. },
  340. "deploymentPolicies": {
  341. "shape": "S2k"
  342. },
  343. "parentTargetArn": {},
  344. "tags": {
  345. "shape": "S1f"
  346. },
  347. "clientToken": {
  348. "idempotencyToken": true
  349. }
  350. }
  351. },
  352. "output": {
  353. "type": "structure",
  354. "members": {
  355. "deploymentId": {},
  356. "iotJobId": {},
  357. "iotJobArn": {}
  358. }
  359. }
  360. },
  361. "DeleteComponent": {
  362. "http": {
  363. "method": "DELETE",
  364. "requestUri": "/greengrass/v2/components/{arn}",
  365. "responseCode": 204
  366. },
  367. "input": {
  368. "type": "structure",
  369. "required": [
  370. "arn"
  371. ],
  372. "members": {
  373. "arn": {
  374. "location": "uri",
  375. "locationName": "arn"
  376. }
  377. }
  378. }
  379. },
  380. "DeleteCoreDevice": {
  381. "http": {
  382. "method": "DELETE",
  383. "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}",
  384. "responseCode": 204
  385. },
  386. "input": {
  387. "type": "structure",
  388. "required": [
  389. "coreDeviceThingName"
  390. ],
  391. "members": {
  392. "coreDeviceThingName": {
  393. "location": "uri",
  394. "locationName": "coreDeviceThingName"
  395. }
  396. }
  397. }
  398. },
  399. "DeleteDeployment": {
  400. "http": {
  401. "method": "DELETE",
  402. "requestUri": "/greengrass/v2/deployments/{deploymentId}",
  403. "responseCode": 204
  404. },
  405. "input": {
  406. "type": "structure",
  407. "required": [
  408. "deploymentId"
  409. ],
  410. "members": {
  411. "deploymentId": {
  412. "location": "uri",
  413. "locationName": "deploymentId"
  414. }
  415. }
  416. }
  417. },
  418. "DescribeComponent": {
  419. "http": {
  420. "method": "GET",
  421. "requestUri": "/greengrass/v2/components/{arn}/metadata"
  422. },
  423. "input": {
  424. "type": "structure",
  425. "required": [
  426. "arn"
  427. ],
  428. "members": {
  429. "arn": {
  430. "location": "uri",
  431. "locationName": "arn"
  432. }
  433. }
  434. },
  435. "output": {
  436. "type": "structure",
  437. "members": {
  438. "arn": {},
  439. "componentName": {},
  440. "componentVersion": {},
  441. "creationTimestamp": {
  442. "type": "timestamp"
  443. },
  444. "publisher": {},
  445. "description": {},
  446. "status": {
  447. "shape": "S1m"
  448. },
  449. "platforms": {
  450. "shape": "Sp"
  451. },
  452. "tags": {
  453. "shape": "S1f"
  454. }
  455. }
  456. }
  457. },
  458. "DisassociateServiceRoleFromAccount": {
  459. "http": {
  460. "method": "DELETE",
  461. "requestUri": "/greengrass/servicerole",
  462. "responseCode": 200
  463. },
  464. "input": {
  465. "type": "structure",
  466. "members": {}
  467. },
  468. "output": {
  469. "type": "structure",
  470. "members": {
  471. "disassociatedAt": {
  472. "locationName": "DisassociatedAt"
  473. }
  474. }
  475. }
  476. },
  477. "GetComponent": {
  478. "http": {
  479. "method": "GET",
  480. "requestUri": "/greengrass/v2/components/{arn}"
  481. },
  482. "input": {
  483. "type": "structure",
  484. "required": [
  485. "arn"
  486. ],
  487. "members": {
  488. "recipeOutputFormat": {
  489. "location": "querystring",
  490. "locationName": "recipeOutputFormat"
  491. },
  492. "arn": {
  493. "location": "uri",
  494. "locationName": "arn"
  495. }
  496. }
  497. },
  498. "output": {
  499. "type": "structure",
  500. "required": [
  501. "recipeOutputFormat",
  502. "recipe"
  503. ],
  504. "members": {
  505. "recipeOutputFormat": {},
  506. "recipe": {
  507. "type": "blob"
  508. },
  509. "tags": {
  510. "shape": "S1f"
  511. }
  512. }
  513. }
  514. },
  515. "GetComponentVersionArtifact": {
  516. "http": {
  517. "method": "GET",
  518. "requestUri": "/greengrass/v2/components/{arn}/artifacts/{artifactName+}"
  519. },
  520. "input": {
  521. "type": "structure",
  522. "required": [
  523. "arn",
  524. "artifactName"
  525. ],
  526. "members": {
  527. "arn": {
  528. "location": "uri",
  529. "locationName": "arn"
  530. },
  531. "artifactName": {
  532. "location": "uri",
  533. "locationName": "artifactName"
  534. },
  535. "s3EndpointType": {
  536. "location": "querystring",
  537. "locationName": "s3EndpointType"
  538. },
  539. "iotEndpointType": {
  540. "location": "header",
  541. "locationName": "x-amz-iot-endpoint-type"
  542. }
  543. }
  544. },
  545. "output": {
  546. "type": "structure",
  547. "required": [
  548. "preSignedUrl"
  549. ],
  550. "members": {
  551. "preSignedUrl": {}
  552. }
  553. }
  554. },
  555. "GetConnectivityInfo": {
  556. "http": {
  557. "method": "GET",
  558. "requestUri": "/greengrass/things/{thingName}/connectivityInfo",
  559. "responseCode": 200
  560. },
  561. "input": {
  562. "type": "structure",
  563. "required": [
  564. "thingName"
  565. ],
  566. "members": {
  567. "thingName": {
  568. "location": "uri",
  569. "locationName": "thingName"
  570. }
  571. }
  572. },
  573. "output": {
  574. "type": "structure",
  575. "members": {
  576. "connectivityInfo": {
  577. "shape": "S3b",
  578. "locationName": "ConnectivityInfo"
  579. },
  580. "message": {
  581. "locationName": "Message"
  582. }
  583. }
  584. }
  585. },
  586. "GetCoreDevice": {
  587. "http": {
  588. "method": "GET",
  589. "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}"
  590. },
  591. "input": {
  592. "type": "structure",
  593. "required": [
  594. "coreDeviceThingName"
  595. ],
  596. "members": {
  597. "coreDeviceThingName": {
  598. "location": "uri",
  599. "locationName": "coreDeviceThingName"
  600. }
  601. }
  602. },
  603. "output": {
  604. "type": "structure",
  605. "members": {
  606. "coreDeviceThingName": {},
  607. "coreVersion": {},
  608. "platform": {},
  609. "architecture": {},
  610. "status": {},
  611. "lastStatusUpdateTimestamp": {
  612. "type": "timestamp"
  613. },
  614. "tags": {
  615. "shape": "S1f"
  616. }
  617. }
  618. }
  619. },
  620. "GetDeployment": {
  621. "http": {
  622. "method": "GET",
  623. "requestUri": "/greengrass/v2/deployments/{deploymentId}"
  624. },
  625. "input": {
  626. "type": "structure",
  627. "required": [
  628. "deploymentId"
  629. ],
  630. "members": {
  631. "deploymentId": {
  632. "location": "uri",
  633. "locationName": "deploymentId"
  634. }
  635. }
  636. },
  637. "output": {
  638. "type": "structure",
  639. "members": {
  640. "targetArn": {},
  641. "revisionId": {},
  642. "deploymentId": {},
  643. "deploymentName": {},
  644. "deploymentStatus": {},
  645. "iotJobId": {},
  646. "iotJobArn": {},
  647. "components": {
  648. "shape": "S1t"
  649. },
  650. "deploymentPolicies": {
  651. "shape": "S2k"
  652. },
  653. "iotJobConfiguration": {
  654. "shape": "S23"
  655. },
  656. "creationTimestamp": {
  657. "type": "timestamp"
  658. },
  659. "isLatestForTarget": {
  660. "type": "boolean"
  661. },
  662. "parentTargetArn": {},
  663. "tags": {
  664. "shape": "S1f"
  665. }
  666. }
  667. }
  668. },
  669. "GetServiceRoleForAccount": {
  670. "http": {
  671. "method": "GET",
  672. "requestUri": "/greengrass/servicerole",
  673. "responseCode": 200
  674. },
  675. "input": {
  676. "type": "structure",
  677. "members": {}
  678. },
  679. "output": {
  680. "type": "structure",
  681. "members": {
  682. "associatedAt": {
  683. "locationName": "AssociatedAt"
  684. },
  685. "roleArn": {
  686. "locationName": "RoleArn"
  687. }
  688. }
  689. }
  690. },
  691. "ListClientDevicesAssociatedWithCoreDevice": {
  692. "http": {
  693. "method": "GET",
  694. "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/associatedClientDevices",
  695. "responseCode": 200
  696. },
  697. "input": {
  698. "type": "structure",
  699. "required": [
  700. "coreDeviceThingName"
  701. ],
  702. "members": {
  703. "coreDeviceThingName": {
  704. "location": "uri",
  705. "locationName": "coreDeviceThingName"
  706. },
  707. "maxResults": {
  708. "location": "querystring",
  709. "locationName": "maxResults",
  710. "type": "integer"
  711. },
  712. "nextToken": {
  713. "location": "querystring",
  714. "locationName": "nextToken"
  715. }
  716. }
  717. },
  718. "output": {
  719. "type": "structure",
  720. "members": {
  721. "associatedClientDevices": {
  722. "type": "list",
  723. "member": {
  724. "type": "structure",
  725. "members": {
  726. "thingName": {},
  727. "associationTimestamp": {
  728. "type": "timestamp"
  729. }
  730. }
  731. }
  732. },
  733. "nextToken": {}
  734. }
  735. }
  736. },
  737. "ListComponentVersions": {
  738. "http": {
  739. "method": "GET",
  740. "requestUri": "/greengrass/v2/components/{arn}/versions"
  741. },
  742. "input": {
  743. "type": "structure",
  744. "required": [
  745. "arn"
  746. ],
  747. "members": {
  748. "arn": {
  749. "location": "uri",
  750. "locationName": "arn"
  751. },
  752. "maxResults": {
  753. "location": "querystring",
  754. "locationName": "maxResults",
  755. "type": "integer"
  756. },
  757. "nextToken": {
  758. "location": "querystring",
  759. "locationName": "nextToken"
  760. }
  761. }
  762. },
  763. "output": {
  764. "type": "structure",
  765. "members": {
  766. "componentVersions": {
  767. "type": "list",
  768. "member": {
  769. "type": "structure",
  770. "members": {
  771. "componentName": {},
  772. "componentVersion": {},
  773. "arn": {}
  774. }
  775. }
  776. },
  777. "nextToken": {}
  778. }
  779. }
  780. },
  781. "ListComponents": {
  782. "http": {
  783. "method": "GET",
  784. "requestUri": "/greengrass/v2/components"
  785. },
  786. "input": {
  787. "type": "structure",
  788. "members": {
  789. "scope": {
  790. "location": "querystring",
  791. "locationName": "scope"
  792. },
  793. "maxResults": {
  794. "location": "querystring",
  795. "locationName": "maxResults",
  796. "type": "integer"
  797. },
  798. "nextToken": {
  799. "location": "querystring",
  800. "locationName": "nextToken"
  801. }
  802. }
  803. },
  804. "output": {
  805. "type": "structure",
  806. "members": {
  807. "components": {
  808. "type": "list",
  809. "member": {
  810. "type": "structure",
  811. "members": {
  812. "arn": {},
  813. "componentName": {},
  814. "latestVersion": {
  815. "type": "structure",
  816. "members": {
  817. "arn": {},
  818. "componentVersion": {},
  819. "creationTimestamp": {
  820. "type": "timestamp"
  821. },
  822. "description": {},
  823. "publisher": {},
  824. "platforms": {
  825. "shape": "Sp"
  826. }
  827. }
  828. }
  829. }
  830. }
  831. },
  832. "nextToken": {}
  833. }
  834. }
  835. },
  836. "ListCoreDevices": {
  837. "http": {
  838. "method": "GET",
  839. "requestUri": "/greengrass/v2/coreDevices"
  840. },
  841. "input": {
  842. "type": "structure",
  843. "members": {
  844. "thingGroupArn": {
  845. "location": "querystring",
  846. "locationName": "thingGroupArn"
  847. },
  848. "status": {
  849. "location": "querystring",
  850. "locationName": "status"
  851. },
  852. "maxResults": {
  853. "location": "querystring",
  854. "locationName": "maxResults",
  855. "type": "integer"
  856. },
  857. "nextToken": {
  858. "location": "querystring",
  859. "locationName": "nextToken"
  860. }
  861. }
  862. },
  863. "output": {
  864. "type": "structure",
  865. "members": {
  866. "coreDevices": {
  867. "type": "list",
  868. "member": {
  869. "type": "structure",
  870. "members": {
  871. "coreDeviceThingName": {},
  872. "status": {},
  873. "lastStatusUpdateTimestamp": {
  874. "type": "timestamp"
  875. }
  876. }
  877. }
  878. },
  879. "nextToken": {}
  880. }
  881. }
  882. },
  883. "ListDeployments": {
  884. "http": {
  885. "method": "GET",
  886. "requestUri": "/greengrass/v2/deployments"
  887. },
  888. "input": {
  889. "type": "structure",
  890. "members": {
  891. "targetArn": {
  892. "location": "querystring",
  893. "locationName": "targetArn"
  894. },
  895. "historyFilter": {
  896. "location": "querystring",
  897. "locationName": "historyFilter"
  898. },
  899. "parentTargetArn": {
  900. "location": "querystring",
  901. "locationName": "parentTargetArn"
  902. },
  903. "maxResults": {
  904. "location": "querystring",
  905. "locationName": "maxResults",
  906. "type": "integer"
  907. },
  908. "nextToken": {
  909. "location": "querystring",
  910. "locationName": "nextToken"
  911. }
  912. }
  913. },
  914. "output": {
  915. "type": "structure",
  916. "members": {
  917. "deployments": {
  918. "type": "list",
  919. "member": {
  920. "type": "structure",
  921. "members": {
  922. "targetArn": {},
  923. "revisionId": {},
  924. "deploymentId": {},
  925. "deploymentName": {},
  926. "creationTimestamp": {
  927. "type": "timestamp"
  928. },
  929. "deploymentStatus": {},
  930. "isLatestForTarget": {
  931. "type": "boolean"
  932. },
  933. "parentTargetArn": {}
  934. }
  935. }
  936. },
  937. "nextToken": {}
  938. }
  939. }
  940. },
  941. "ListEffectiveDeployments": {
  942. "http": {
  943. "method": "GET",
  944. "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/effectiveDeployments"
  945. },
  946. "input": {
  947. "type": "structure",
  948. "required": [
  949. "coreDeviceThingName"
  950. ],
  951. "members": {
  952. "coreDeviceThingName": {
  953. "location": "uri",
  954. "locationName": "coreDeviceThingName"
  955. },
  956. "maxResults": {
  957. "location": "querystring",
  958. "locationName": "maxResults",
  959. "type": "integer"
  960. },
  961. "nextToken": {
  962. "location": "querystring",
  963. "locationName": "nextToken"
  964. }
  965. }
  966. },
  967. "output": {
  968. "type": "structure",
  969. "members": {
  970. "effectiveDeployments": {
  971. "type": "list",
  972. "member": {
  973. "type": "structure",
  974. "required": [
  975. "deploymentId",
  976. "deploymentName",
  977. "targetArn",
  978. "coreDeviceExecutionStatus",
  979. "creationTimestamp",
  980. "modifiedTimestamp"
  981. ],
  982. "members": {
  983. "deploymentId": {},
  984. "deploymentName": {},
  985. "iotJobId": {},
  986. "iotJobArn": {},
  987. "description": {},
  988. "targetArn": {},
  989. "coreDeviceExecutionStatus": {},
  990. "reason": {},
  991. "creationTimestamp": {
  992. "type": "timestamp"
  993. },
  994. "modifiedTimestamp": {
  995. "type": "timestamp"
  996. },
  997. "statusDetails": {
  998. "type": "structure",
  999. "members": {
  1000. "errorStack": {
  1001. "type": "list",
  1002. "member": {}
  1003. },
  1004. "errorTypes": {
  1005. "type": "list",
  1006. "member": {}
  1007. }
  1008. }
  1009. }
  1010. }
  1011. }
  1012. },
  1013. "nextToken": {}
  1014. }
  1015. }
  1016. },
  1017. "ListInstalledComponents": {
  1018. "http": {
  1019. "method": "GET",
  1020. "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/installedComponents"
  1021. },
  1022. "input": {
  1023. "type": "structure",
  1024. "required": [
  1025. "coreDeviceThingName"
  1026. ],
  1027. "members": {
  1028. "coreDeviceThingName": {
  1029. "location": "uri",
  1030. "locationName": "coreDeviceThingName"
  1031. },
  1032. "maxResults": {
  1033. "location": "querystring",
  1034. "locationName": "maxResults",
  1035. "type": "integer"
  1036. },
  1037. "nextToken": {
  1038. "location": "querystring",
  1039. "locationName": "nextToken"
  1040. },
  1041. "topologyFilter": {
  1042. "location": "querystring",
  1043. "locationName": "topologyFilter"
  1044. }
  1045. }
  1046. },
  1047. "output": {
  1048. "type": "structure",
  1049. "members": {
  1050. "installedComponents": {
  1051. "type": "list",
  1052. "member": {
  1053. "type": "structure",
  1054. "members": {
  1055. "componentName": {},
  1056. "componentVersion": {},
  1057. "lifecycleState": {},
  1058. "lifecycleStateDetails": {},
  1059. "isRoot": {
  1060. "type": "boolean"
  1061. },
  1062. "lastStatusChangeTimestamp": {
  1063. "type": "timestamp"
  1064. },
  1065. "lastReportedTimestamp": {
  1066. "type": "timestamp"
  1067. },
  1068. "lastInstallationSource": {},
  1069. "lifecycleStatusCodes": {
  1070. "type": "list",
  1071. "member": {}
  1072. }
  1073. }
  1074. }
  1075. },
  1076. "nextToken": {}
  1077. }
  1078. }
  1079. },
  1080. "ListTagsForResource": {
  1081. "http": {
  1082. "method": "GET",
  1083. "requestUri": "/tags/{resourceArn}"
  1084. },
  1085. "input": {
  1086. "type": "structure",
  1087. "required": [
  1088. "resourceArn"
  1089. ],
  1090. "members": {
  1091. "resourceArn": {
  1092. "location": "uri",
  1093. "locationName": "resourceArn"
  1094. }
  1095. }
  1096. },
  1097. "output": {
  1098. "type": "structure",
  1099. "members": {
  1100. "tags": {
  1101. "shape": "S1f"
  1102. }
  1103. }
  1104. }
  1105. },
  1106. "ResolveComponentCandidates": {
  1107. "http": {
  1108. "requestUri": "/greengrass/v2/resolveComponentCandidates"
  1109. },
  1110. "input": {
  1111. "type": "structure",
  1112. "members": {
  1113. "platform": {
  1114. "shape": "Sq"
  1115. },
  1116. "componentCandidates": {
  1117. "type": "list",
  1118. "member": {
  1119. "type": "structure",
  1120. "members": {
  1121. "componentName": {},
  1122. "componentVersion": {},
  1123. "versionRequirements": {
  1124. "type": "map",
  1125. "key": {},
  1126. "value": {}
  1127. }
  1128. }
  1129. }
  1130. }
  1131. }
  1132. },
  1133. "output": {
  1134. "type": "structure",
  1135. "members": {
  1136. "resolvedComponentVersions": {
  1137. "type": "list",
  1138. "member": {
  1139. "type": "structure",
  1140. "members": {
  1141. "arn": {},
  1142. "componentName": {},
  1143. "componentVersion": {},
  1144. "recipe": {
  1145. "type": "blob"
  1146. },
  1147. "vendorGuidance": {},
  1148. "message": {}
  1149. }
  1150. }
  1151. }
  1152. }
  1153. }
  1154. },
  1155. "TagResource": {
  1156. "http": {
  1157. "requestUri": "/tags/{resourceArn}"
  1158. },
  1159. "input": {
  1160. "type": "structure",
  1161. "required": [
  1162. "resourceArn",
  1163. "tags"
  1164. ],
  1165. "members": {
  1166. "resourceArn": {
  1167. "location": "uri",
  1168. "locationName": "resourceArn"
  1169. },
  1170. "tags": {
  1171. "shape": "S1f"
  1172. }
  1173. }
  1174. },
  1175. "output": {
  1176. "type": "structure",
  1177. "members": {}
  1178. }
  1179. },
  1180. "UntagResource": {
  1181. "http": {
  1182. "method": "DELETE",
  1183. "requestUri": "/tags/{resourceArn}"
  1184. },
  1185. "input": {
  1186. "type": "structure",
  1187. "required": [
  1188. "resourceArn",
  1189. "tagKeys"
  1190. ],
  1191. "members": {
  1192. "resourceArn": {
  1193. "location": "uri",
  1194. "locationName": "resourceArn"
  1195. },
  1196. "tagKeys": {
  1197. "location": "querystring",
  1198. "locationName": "tagKeys",
  1199. "type": "list",
  1200. "member": {}
  1201. }
  1202. }
  1203. },
  1204. "output": {
  1205. "type": "structure",
  1206. "members": {}
  1207. }
  1208. },
  1209. "UpdateConnectivityInfo": {
  1210. "http": {
  1211. "method": "PUT",
  1212. "requestUri": "/greengrass/things/{thingName}/connectivityInfo",
  1213. "responseCode": 200
  1214. },
  1215. "input": {
  1216. "type": "structure",
  1217. "required": [
  1218. "thingName",
  1219. "connectivityInfo"
  1220. ],
  1221. "members": {
  1222. "thingName": {
  1223. "location": "uri",
  1224. "locationName": "thingName"
  1225. },
  1226. "connectivityInfo": {
  1227. "shape": "S3b",
  1228. "locationName": "ConnectivityInfo"
  1229. }
  1230. }
  1231. },
  1232. "output": {
  1233. "type": "structure",
  1234. "members": {
  1235. "version": {
  1236. "locationName": "Version"
  1237. },
  1238. "message": {
  1239. "locationName": "Message"
  1240. }
  1241. }
  1242. }
  1243. }
  1244. },
  1245. "shapes": {
  1246. "Sp": {
  1247. "type": "list",
  1248. "member": {
  1249. "shape": "Sq"
  1250. }
  1251. },
  1252. "Sq": {
  1253. "type": "structure",
  1254. "members": {
  1255. "name": {},
  1256. "attributes": {
  1257. "type": "map",
  1258. "key": {},
  1259. "value": {}
  1260. }
  1261. }
  1262. },
  1263. "S1f": {
  1264. "type": "map",
  1265. "key": {},
  1266. "value": {}
  1267. },
  1268. "S1m": {
  1269. "type": "structure",
  1270. "members": {
  1271. "componentState": {},
  1272. "message": {},
  1273. "errors": {
  1274. "type": "map",
  1275. "key": {},
  1276. "value": {}
  1277. },
  1278. "vendorGuidance": {},
  1279. "vendorGuidanceMessage": {}
  1280. }
  1281. },
  1282. "S1t": {
  1283. "type": "map",
  1284. "key": {},
  1285. "value": {
  1286. "type": "structure",
  1287. "required": [
  1288. "componentVersion"
  1289. ],
  1290. "members": {
  1291. "componentVersion": {},
  1292. "configurationUpdate": {
  1293. "type": "structure",
  1294. "members": {
  1295. "merge": {},
  1296. "reset": {
  1297. "type": "list",
  1298. "member": {}
  1299. }
  1300. }
  1301. },
  1302. "runWith": {
  1303. "type": "structure",
  1304. "members": {
  1305. "posixUser": {},
  1306. "systemResourceLimits": {
  1307. "type": "structure",
  1308. "members": {
  1309. "memory": {
  1310. "type": "long"
  1311. },
  1312. "cpus": {
  1313. "type": "double"
  1314. }
  1315. }
  1316. },
  1317. "windowsUser": {}
  1318. }
  1319. }
  1320. }
  1321. }
  1322. },
  1323. "S23": {
  1324. "type": "structure",
  1325. "members": {
  1326. "jobExecutionsRolloutConfig": {
  1327. "type": "structure",
  1328. "members": {
  1329. "exponentialRate": {
  1330. "type": "structure",
  1331. "required": [
  1332. "baseRatePerMinute",
  1333. "incrementFactor",
  1334. "rateIncreaseCriteria"
  1335. ],
  1336. "members": {
  1337. "baseRatePerMinute": {
  1338. "type": "integer"
  1339. },
  1340. "incrementFactor": {
  1341. "type": "double"
  1342. },
  1343. "rateIncreaseCriteria": {
  1344. "type": "structure",
  1345. "members": {
  1346. "numberOfNotifiedThings": {
  1347. "type": "integer"
  1348. },
  1349. "numberOfSucceededThings": {
  1350. "type": "integer"
  1351. }
  1352. }
  1353. }
  1354. }
  1355. },
  1356. "maximumPerMinute": {
  1357. "type": "integer"
  1358. }
  1359. }
  1360. },
  1361. "abortConfig": {
  1362. "type": "structure",
  1363. "required": [
  1364. "criteriaList"
  1365. ],
  1366. "members": {
  1367. "criteriaList": {
  1368. "type": "list",
  1369. "member": {
  1370. "type": "structure",
  1371. "required": [
  1372. "failureType",
  1373. "action",
  1374. "thresholdPercentage",
  1375. "minNumberOfExecutedThings"
  1376. ],
  1377. "members": {
  1378. "failureType": {},
  1379. "action": {},
  1380. "thresholdPercentage": {
  1381. "type": "double"
  1382. },
  1383. "minNumberOfExecutedThings": {
  1384. "type": "integer"
  1385. }
  1386. }
  1387. }
  1388. }
  1389. }
  1390. },
  1391. "timeoutConfig": {
  1392. "type": "structure",
  1393. "members": {
  1394. "inProgressTimeoutInMinutes": {
  1395. "type": "long"
  1396. }
  1397. }
  1398. }
  1399. }
  1400. },
  1401. "S2k": {
  1402. "type": "structure",
  1403. "members": {
  1404. "failureHandlingPolicy": {},
  1405. "componentUpdatePolicy": {
  1406. "type": "structure",
  1407. "members": {
  1408. "timeoutInSeconds": {
  1409. "type": "integer"
  1410. },
  1411. "action": {}
  1412. }
  1413. },
  1414. "configurationValidationPolicy": {
  1415. "type": "structure",
  1416. "members": {
  1417. "timeoutInSeconds": {
  1418. "type": "integer"
  1419. }
  1420. }
  1421. }
  1422. }
  1423. },
  1424. "S3b": {
  1425. "type": "list",
  1426. "member": {
  1427. "type": "structure",
  1428. "members": {
  1429. "id": {
  1430. "locationName": "Id"
  1431. },
  1432. "hostAddress": {
  1433. "locationName": "HostAddress"
  1434. },
  1435. "portNumber": {
  1436. "locationName": "PortNumber",
  1437. "type": "integer"
  1438. },
  1439. "metadata": {
  1440. "locationName": "Metadata"
  1441. }
  1442. }
  1443. }
  1444. }
  1445. }
  1446. }