github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/mobileanalytics/2014-06-05/api-2.json (about) 1 { 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2014-06-05", 5 "endpointPrefix":"mobileanalytics", 6 "serviceFullName":"Amazon Mobile Analytics", 7 "signatureVersion":"v4", 8 "protocol":"rest-json" 9 }, 10 "operations":{ 11 "PutEvents":{ 12 "name":"PutEvents", 13 "http":{ 14 "method":"POST", 15 "requestUri":"/2014-06-05/events", 16 "responseCode":202 17 }, 18 "input":{"shape":"PutEventsInput"}, 19 "errors":[ 20 { 21 "shape":"BadRequestException", 22 "error":{"httpStatusCode":400}, 23 "exception":true 24 } 25 ] 26 } 27 }, 28 "shapes":{ 29 "BadRequestException":{ 30 "type":"structure", 31 "members":{ 32 "message":{"shape":"String"} 33 }, 34 "error":{"httpStatusCode":400}, 35 "exception":true 36 }, 37 "Double":{"type":"double"}, 38 "Event":{ 39 "type":"structure", 40 "required":[ 41 "eventType", 42 "timestamp" 43 ], 44 "members":{ 45 "eventType":{"shape":"String50Chars"}, 46 "timestamp":{"shape":"ISO8601Timestamp"}, 47 "session":{"shape":"Session"}, 48 "version":{"shape":"String10Chars"}, 49 "attributes":{"shape":"MapOfStringToString"}, 50 "metrics":{"shape":"MapOfStringToNumber"} 51 } 52 }, 53 "EventListDefinition":{ 54 "type":"list", 55 "member":{"shape":"Event"} 56 }, 57 "ISO8601Timestamp":{"type":"string"}, 58 "Long":{"type":"long"}, 59 "MapOfStringToNumber":{ 60 "type":"map", 61 "key":{"shape":"String50Chars"}, 62 "value":{"shape":"Double"}, 63 "min":0, 64 "max":50 65 }, 66 "MapOfStringToString":{ 67 "type":"map", 68 "key":{"shape":"String50Chars"}, 69 "value":{"shape":"String0to1000Chars"}, 70 "min":0, 71 "max":50 72 }, 73 "PutEventsInput":{ 74 "type":"structure", 75 "required":[ 76 "events", 77 "clientContext" 78 ], 79 "members":{ 80 "events":{"shape":"EventListDefinition"}, 81 "clientContext":{ 82 "shape":"String", 83 "location":"header", 84 "locationName":"x-amz-Client-Context" 85 }, 86 "clientContextEncoding":{ 87 "shape":"String", 88 "location":"header", 89 "locationName":"x-amz-Client-Context-Encoding" 90 } 91 } 92 }, 93 "Session":{ 94 "type":"structure", 95 "members":{ 96 "id":{"shape":"String50Chars"}, 97 "duration":{"shape":"Long"}, 98 "startTimestamp":{"shape":"ISO8601Timestamp"}, 99 "stopTimestamp":{"shape":"ISO8601Timestamp"} 100 } 101 }, 102 "String":{"type":"string"}, 103 "String0to1000Chars":{ 104 "type":"string", 105 "min":0, 106 "max":1000 107 }, 108 "String10Chars":{ 109 "type":"string", 110 "min":1, 111 "max":10 112 }, 113 "String50Chars":{ 114 "type":"string", 115 "min":1, 116 "max":50 117 } 118 } 119 }