mobileanalytics-2014-06-05.min.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2014-06-05",
  5. "endpointPrefix": "mobileanalytics",
  6. "serviceFullName": "Amazon Mobile Analytics",
  7. "serviceId": "Mobile Analytics",
  8. "signatureVersion": "v4",
  9. "protocol": "rest-json"
  10. },
  11. "operations": {
  12. "PutEvents": {
  13. "http": {
  14. "requestUri": "/2014-06-05/events",
  15. "responseCode": 202
  16. },
  17. "input": {
  18. "type": "structure",
  19. "required": [
  20. "events",
  21. "clientContext"
  22. ],
  23. "members": {
  24. "events": {
  25. "type": "list",
  26. "member": {
  27. "type": "structure",
  28. "required": [
  29. "eventType",
  30. "timestamp"
  31. ],
  32. "members": {
  33. "eventType": {},
  34. "timestamp": {},
  35. "session": {
  36. "type": "structure",
  37. "members": {
  38. "id": {},
  39. "duration": {
  40. "type": "long"
  41. },
  42. "startTimestamp": {},
  43. "stopTimestamp": {}
  44. }
  45. },
  46. "version": {},
  47. "attributes": {
  48. "type": "map",
  49. "key": {},
  50. "value": {}
  51. },
  52. "metrics": {
  53. "type": "map",
  54. "key": {},
  55. "value": {
  56. "type": "double"
  57. }
  58. }
  59. }
  60. }
  61. },
  62. "clientContext": {
  63. "location": "header",
  64. "locationName": "x-amz-Client-Context"
  65. },
  66. "clientContextEncoding": {
  67. "location": "header",
  68. "locationName": "x-amz-Client-Context-Encoding"
  69. }
  70. }
  71. }
  72. }
  73. },
  74. "shapes": {}
  75. }