rum-2018-05-10.min.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2018-05-10",
  5. "endpointPrefix": "rum",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceFullName": "CloudWatch RUM",
  9. "serviceId": "RUM",
  10. "signatureVersion": "v4",
  11. "signingName": "rum",
  12. "uid": "rum-2018-05-10"
  13. },
  14. "operations": {
  15. "BatchCreateRumMetricDefinitions": {
  16. "http": {
  17. "requestUri": "/rummetrics/{AppMonitorName}/metrics",
  18. "responseCode": 200
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "AppMonitorName",
  24. "Destination",
  25. "MetricDefinitions"
  26. ],
  27. "members": {
  28. "AppMonitorName": {
  29. "location": "uri",
  30. "locationName": "AppMonitorName"
  31. },
  32. "Destination": {},
  33. "DestinationArn": {},
  34. "MetricDefinitions": {
  35. "type": "list",
  36. "member": {
  37. "shape": "S6"
  38. }
  39. }
  40. }
  41. },
  42. "output": {
  43. "type": "structure",
  44. "required": [
  45. "Errors"
  46. ],
  47. "members": {
  48. "Errors": {
  49. "type": "list",
  50. "member": {
  51. "type": "structure",
  52. "required": [
  53. "ErrorCode",
  54. "ErrorMessage",
  55. "MetricDefinition"
  56. ],
  57. "members": {
  58. "ErrorCode": {},
  59. "ErrorMessage": {},
  60. "MetricDefinition": {
  61. "shape": "S6"
  62. }
  63. }
  64. }
  65. },
  66. "MetricDefinitions": {
  67. "shape": "Sj"
  68. }
  69. }
  70. },
  71. "idempotent": true
  72. },
  73. "BatchDeleteRumMetricDefinitions": {
  74. "http": {
  75. "method": "DELETE",
  76. "requestUri": "/rummetrics/{AppMonitorName}/metrics",
  77. "responseCode": 200
  78. },
  79. "input": {
  80. "type": "structure",
  81. "required": [
  82. "AppMonitorName",
  83. "Destination",
  84. "MetricDefinitionIds"
  85. ],
  86. "members": {
  87. "AppMonitorName": {
  88. "location": "uri",
  89. "locationName": "AppMonitorName"
  90. },
  91. "Destination": {
  92. "location": "querystring",
  93. "locationName": "destination"
  94. },
  95. "DestinationArn": {
  96. "location": "querystring",
  97. "locationName": "destinationArn"
  98. },
  99. "MetricDefinitionIds": {
  100. "shape": "Sn",
  101. "location": "querystring",
  102. "locationName": "metricDefinitionIds"
  103. }
  104. }
  105. },
  106. "output": {
  107. "type": "structure",
  108. "required": [
  109. "Errors"
  110. ],
  111. "members": {
  112. "Errors": {
  113. "type": "list",
  114. "member": {
  115. "type": "structure",
  116. "required": [
  117. "ErrorCode",
  118. "ErrorMessage",
  119. "MetricDefinitionId"
  120. ],
  121. "members": {
  122. "ErrorCode": {},
  123. "ErrorMessage": {},
  124. "MetricDefinitionId": {}
  125. }
  126. }
  127. },
  128. "MetricDefinitionIds": {
  129. "shape": "Sn"
  130. }
  131. }
  132. },
  133. "idempotent": true
  134. },
  135. "BatchGetRumMetricDefinitions": {
  136. "http": {
  137. "method": "GET",
  138. "requestUri": "/rummetrics/{AppMonitorName}/metrics",
  139. "responseCode": 200
  140. },
  141. "input": {
  142. "type": "structure",
  143. "required": [
  144. "AppMonitorName",
  145. "Destination"
  146. ],
  147. "members": {
  148. "AppMonitorName": {
  149. "location": "uri",
  150. "locationName": "AppMonitorName"
  151. },
  152. "Destination": {
  153. "location": "querystring",
  154. "locationName": "destination"
  155. },
  156. "DestinationArn": {
  157. "location": "querystring",
  158. "locationName": "destinationArn"
  159. },
  160. "MaxResults": {
  161. "location": "querystring",
  162. "locationName": "maxResults",
  163. "type": "integer"
  164. },
  165. "NextToken": {
  166. "location": "querystring",
  167. "locationName": "nextToken"
  168. }
  169. }
  170. },
  171. "output": {
  172. "type": "structure",
  173. "members": {
  174. "MetricDefinitions": {
  175. "shape": "Sj"
  176. },
  177. "NextToken": {}
  178. }
  179. }
  180. },
  181. "CreateAppMonitor": {
  182. "http": {
  183. "requestUri": "/appmonitor",
  184. "responseCode": 200
  185. },
  186. "input": {
  187. "type": "structure",
  188. "required": [
  189. "Domain",
  190. "Name"
  191. ],
  192. "members": {
  193. "AppMonitorConfiguration": {
  194. "shape": "Sv"
  195. },
  196. "CustomEvents": {
  197. "shape": "S15"
  198. },
  199. "CwLogEnabled": {
  200. "type": "boolean"
  201. },
  202. "Domain": {},
  203. "Name": {},
  204. "Tags": {
  205. "shape": "S18"
  206. }
  207. }
  208. },
  209. "output": {
  210. "type": "structure",
  211. "members": {
  212. "Id": {}
  213. }
  214. },
  215. "idempotent": true
  216. },
  217. "DeleteAppMonitor": {
  218. "http": {
  219. "method": "DELETE",
  220. "requestUri": "/appmonitor/{Name}",
  221. "responseCode": 200
  222. },
  223. "input": {
  224. "type": "structure",
  225. "required": [
  226. "Name"
  227. ],
  228. "members": {
  229. "Name": {
  230. "location": "uri",
  231. "locationName": "Name"
  232. }
  233. }
  234. },
  235. "output": {
  236. "type": "structure",
  237. "members": {}
  238. },
  239. "idempotent": true
  240. },
  241. "DeleteRumMetricsDestination": {
  242. "http": {
  243. "method": "DELETE",
  244. "requestUri": "/rummetrics/{AppMonitorName}/metricsdestination",
  245. "responseCode": 200
  246. },
  247. "input": {
  248. "type": "structure",
  249. "required": [
  250. "AppMonitorName",
  251. "Destination"
  252. ],
  253. "members": {
  254. "AppMonitorName": {
  255. "location": "uri",
  256. "locationName": "AppMonitorName"
  257. },
  258. "Destination": {
  259. "location": "querystring",
  260. "locationName": "destination"
  261. },
  262. "DestinationArn": {
  263. "location": "querystring",
  264. "locationName": "destinationArn"
  265. }
  266. }
  267. },
  268. "output": {
  269. "type": "structure",
  270. "members": {}
  271. },
  272. "idempotent": true
  273. },
  274. "GetAppMonitor": {
  275. "http": {
  276. "method": "GET",
  277. "requestUri": "/appmonitor/{Name}",
  278. "responseCode": 200
  279. },
  280. "input": {
  281. "type": "structure",
  282. "required": [
  283. "Name"
  284. ],
  285. "members": {
  286. "Name": {
  287. "location": "uri",
  288. "locationName": "Name"
  289. }
  290. }
  291. },
  292. "output": {
  293. "type": "structure",
  294. "members": {
  295. "AppMonitor": {
  296. "type": "structure",
  297. "members": {
  298. "AppMonitorConfiguration": {
  299. "shape": "Sv"
  300. },
  301. "Created": {},
  302. "CustomEvents": {
  303. "shape": "S15"
  304. },
  305. "DataStorage": {
  306. "type": "structure",
  307. "members": {
  308. "CwLog": {
  309. "type": "structure",
  310. "members": {
  311. "CwLogEnabled": {
  312. "type": "boolean"
  313. },
  314. "CwLogGroup": {}
  315. }
  316. }
  317. }
  318. },
  319. "Domain": {},
  320. "Id": {},
  321. "LastModified": {},
  322. "Name": {},
  323. "State": {},
  324. "Tags": {
  325. "shape": "S18"
  326. }
  327. }
  328. }
  329. }
  330. }
  331. },
  332. "GetAppMonitorData": {
  333. "http": {
  334. "requestUri": "/appmonitor/{Name}/data",
  335. "responseCode": 200
  336. },
  337. "input": {
  338. "type": "structure",
  339. "required": [
  340. "Name",
  341. "TimeRange"
  342. ],
  343. "members": {
  344. "Filters": {
  345. "type": "list",
  346. "member": {
  347. "type": "structure",
  348. "members": {
  349. "Name": {},
  350. "Values": {
  351. "type": "list",
  352. "member": {}
  353. }
  354. }
  355. }
  356. },
  357. "MaxResults": {
  358. "type": "integer"
  359. },
  360. "Name": {
  361. "location": "uri",
  362. "locationName": "Name"
  363. },
  364. "NextToken": {},
  365. "TimeRange": {
  366. "type": "structure",
  367. "required": [
  368. "After"
  369. ],
  370. "members": {
  371. "After": {
  372. "type": "long"
  373. },
  374. "Before": {
  375. "type": "long"
  376. }
  377. }
  378. }
  379. }
  380. },
  381. "output": {
  382. "type": "structure",
  383. "members": {
  384. "Events": {
  385. "type": "list",
  386. "member": {}
  387. },
  388. "NextToken": {}
  389. }
  390. }
  391. },
  392. "ListAppMonitors": {
  393. "http": {
  394. "requestUri": "/appmonitors",
  395. "responseCode": 200
  396. },
  397. "input": {
  398. "type": "structure",
  399. "members": {
  400. "MaxResults": {
  401. "location": "querystring",
  402. "locationName": "maxResults",
  403. "type": "integer"
  404. },
  405. "NextToken": {
  406. "location": "querystring",
  407. "locationName": "nextToken"
  408. }
  409. }
  410. },
  411. "output": {
  412. "type": "structure",
  413. "members": {
  414. "AppMonitorSummaries": {
  415. "type": "list",
  416. "member": {
  417. "type": "structure",
  418. "members": {
  419. "Created": {},
  420. "Id": {},
  421. "LastModified": {},
  422. "Name": {},
  423. "State": {}
  424. }
  425. }
  426. },
  427. "NextToken": {}
  428. }
  429. }
  430. },
  431. "ListRumMetricsDestinations": {
  432. "http": {
  433. "method": "GET",
  434. "requestUri": "/rummetrics/{AppMonitorName}/metricsdestination",
  435. "responseCode": 200
  436. },
  437. "input": {
  438. "type": "structure",
  439. "required": [
  440. "AppMonitorName"
  441. ],
  442. "members": {
  443. "AppMonitorName": {
  444. "location": "uri",
  445. "locationName": "AppMonitorName"
  446. },
  447. "MaxResults": {
  448. "location": "querystring",
  449. "locationName": "maxResults",
  450. "type": "integer"
  451. },
  452. "NextToken": {
  453. "location": "querystring",
  454. "locationName": "nextToken"
  455. }
  456. }
  457. },
  458. "output": {
  459. "type": "structure",
  460. "members": {
  461. "Destinations": {
  462. "type": "list",
  463. "member": {
  464. "type": "structure",
  465. "members": {
  466. "Destination": {},
  467. "DestinationArn": {},
  468. "IamRoleArn": {}
  469. }
  470. }
  471. },
  472. "NextToken": {}
  473. }
  474. }
  475. },
  476. "ListTagsForResource": {
  477. "http": {
  478. "method": "GET",
  479. "requestUri": "/tags/{ResourceArn}",
  480. "responseCode": 200
  481. },
  482. "input": {
  483. "type": "structure",
  484. "required": [
  485. "ResourceArn"
  486. ],
  487. "members": {
  488. "ResourceArn": {
  489. "location": "uri",
  490. "locationName": "ResourceArn"
  491. }
  492. }
  493. },
  494. "output": {
  495. "type": "structure",
  496. "required": [
  497. "ResourceArn",
  498. "Tags"
  499. ],
  500. "members": {
  501. "ResourceArn": {},
  502. "Tags": {
  503. "shape": "S18"
  504. }
  505. }
  506. }
  507. },
  508. "PutRumEvents": {
  509. "http": {
  510. "requestUri": "/appmonitors/{Id}/",
  511. "responseCode": 200
  512. },
  513. "input": {
  514. "type": "structure",
  515. "required": [
  516. "AppMonitorDetails",
  517. "BatchId",
  518. "Id",
  519. "RumEvents",
  520. "UserDetails"
  521. ],
  522. "members": {
  523. "AppMonitorDetails": {
  524. "type": "structure",
  525. "members": {
  526. "id": {},
  527. "name": {},
  528. "version": {}
  529. }
  530. },
  531. "BatchId": {},
  532. "Id": {
  533. "location": "uri",
  534. "locationName": "Id"
  535. },
  536. "RumEvents": {
  537. "type": "list",
  538. "member": {
  539. "type": "structure",
  540. "required": [
  541. "details",
  542. "id",
  543. "timestamp",
  544. "type"
  545. ],
  546. "members": {
  547. "details": {
  548. "jsonvalue": true
  549. },
  550. "id": {},
  551. "metadata": {
  552. "jsonvalue": true
  553. },
  554. "timestamp": {
  555. "type": "timestamp"
  556. },
  557. "type": {}
  558. }
  559. }
  560. },
  561. "UserDetails": {
  562. "type": "structure",
  563. "members": {
  564. "sessionId": {},
  565. "userId": {}
  566. }
  567. }
  568. }
  569. },
  570. "output": {
  571. "type": "structure",
  572. "members": {}
  573. },
  574. "endpoint": {
  575. "hostPrefix": "dataplane."
  576. }
  577. },
  578. "PutRumMetricsDestination": {
  579. "http": {
  580. "requestUri": "/rummetrics/{AppMonitorName}/metricsdestination",
  581. "responseCode": 200
  582. },
  583. "input": {
  584. "type": "structure",
  585. "required": [
  586. "AppMonitorName",
  587. "Destination"
  588. ],
  589. "members": {
  590. "AppMonitorName": {
  591. "location": "uri",
  592. "locationName": "AppMonitorName"
  593. },
  594. "Destination": {},
  595. "DestinationArn": {},
  596. "IamRoleArn": {}
  597. }
  598. },
  599. "output": {
  600. "type": "structure",
  601. "members": {}
  602. },
  603. "idempotent": true
  604. },
  605. "TagResource": {
  606. "http": {
  607. "requestUri": "/tags/{ResourceArn}",
  608. "responseCode": 200
  609. },
  610. "input": {
  611. "type": "structure",
  612. "required": [
  613. "ResourceArn",
  614. "Tags"
  615. ],
  616. "members": {
  617. "ResourceArn": {
  618. "location": "uri",
  619. "locationName": "ResourceArn"
  620. },
  621. "Tags": {
  622. "shape": "S18"
  623. }
  624. }
  625. },
  626. "output": {
  627. "type": "structure",
  628. "members": {}
  629. },
  630. "idempotent": true
  631. },
  632. "UntagResource": {
  633. "http": {
  634. "method": "DELETE",
  635. "requestUri": "/tags/{ResourceArn}",
  636. "responseCode": 200
  637. },
  638. "input": {
  639. "type": "structure",
  640. "required": [
  641. "ResourceArn",
  642. "TagKeys"
  643. ],
  644. "members": {
  645. "ResourceArn": {
  646. "location": "uri",
  647. "locationName": "ResourceArn"
  648. },
  649. "TagKeys": {
  650. "location": "querystring",
  651. "locationName": "tagKeys",
  652. "type": "list",
  653. "member": {}
  654. }
  655. }
  656. },
  657. "output": {
  658. "type": "structure",
  659. "members": {}
  660. },
  661. "idempotent": true
  662. },
  663. "UpdateAppMonitor": {
  664. "http": {
  665. "method": "PATCH",
  666. "requestUri": "/appmonitor/{Name}",
  667. "responseCode": 200
  668. },
  669. "input": {
  670. "type": "structure",
  671. "required": [
  672. "Name"
  673. ],
  674. "members": {
  675. "AppMonitorConfiguration": {
  676. "shape": "Sv"
  677. },
  678. "CustomEvents": {
  679. "shape": "S15"
  680. },
  681. "CwLogEnabled": {
  682. "type": "boolean"
  683. },
  684. "Domain": {},
  685. "Name": {
  686. "location": "uri",
  687. "locationName": "Name"
  688. }
  689. }
  690. },
  691. "output": {
  692. "type": "structure",
  693. "members": {}
  694. }
  695. },
  696. "UpdateRumMetricDefinition": {
  697. "http": {
  698. "method": "PATCH",
  699. "requestUri": "/rummetrics/{AppMonitorName}/metrics",
  700. "responseCode": 200
  701. },
  702. "input": {
  703. "type": "structure",
  704. "required": [
  705. "AppMonitorName",
  706. "Destination",
  707. "MetricDefinition",
  708. "MetricDefinitionId"
  709. ],
  710. "members": {
  711. "AppMonitorName": {
  712. "location": "uri",
  713. "locationName": "AppMonitorName"
  714. },
  715. "Destination": {},
  716. "DestinationArn": {},
  717. "MetricDefinition": {
  718. "shape": "S6"
  719. },
  720. "MetricDefinitionId": {}
  721. }
  722. },
  723. "output": {
  724. "type": "structure",
  725. "members": {}
  726. },
  727. "idempotent": true
  728. }
  729. },
  730. "shapes": {
  731. "S6": {
  732. "type": "structure",
  733. "required": [
  734. "Name"
  735. ],
  736. "members": {
  737. "DimensionKeys": {
  738. "shape": "S7"
  739. },
  740. "EventPattern": {},
  741. "Name": {},
  742. "Namespace": {},
  743. "UnitLabel": {},
  744. "ValueKey": {}
  745. }
  746. },
  747. "S7": {
  748. "type": "map",
  749. "key": {},
  750. "value": {}
  751. },
  752. "Sj": {
  753. "type": "list",
  754. "member": {
  755. "type": "structure",
  756. "required": [
  757. "MetricDefinitionId",
  758. "Name"
  759. ],
  760. "members": {
  761. "DimensionKeys": {
  762. "shape": "S7"
  763. },
  764. "EventPattern": {},
  765. "MetricDefinitionId": {},
  766. "Name": {},
  767. "Namespace": {},
  768. "UnitLabel": {},
  769. "ValueKey": {}
  770. }
  771. }
  772. },
  773. "Sn": {
  774. "type": "list",
  775. "member": {}
  776. },
  777. "Sv": {
  778. "type": "structure",
  779. "members": {
  780. "AllowCookies": {
  781. "type": "boolean"
  782. },
  783. "EnableXRay": {
  784. "type": "boolean"
  785. },
  786. "ExcludedPages": {
  787. "shape": "Sx"
  788. },
  789. "FavoritePages": {
  790. "type": "list",
  791. "member": {}
  792. },
  793. "GuestRoleArn": {},
  794. "IdentityPoolId": {},
  795. "IncludedPages": {
  796. "shape": "Sx"
  797. },
  798. "SessionSampleRate": {
  799. "type": "double"
  800. },
  801. "Telemetries": {
  802. "type": "list",
  803. "member": {}
  804. }
  805. }
  806. },
  807. "Sx": {
  808. "type": "list",
  809. "member": {}
  810. },
  811. "S15": {
  812. "type": "structure",
  813. "members": {
  814. "Status": {}
  815. }
  816. },
  817. "S18": {
  818. "type": "map",
  819. "key": {},
  820. "value": {}
  821. }
  822. }
  823. }