forked from aws/aws-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobileanalytics-2014-06-05.normal.json
167 lines (167 loc) · 5.61 KB
/
mobileanalytics-2014-06-05.normal.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"version":"2.0",
"metadata":{
"apiVersion":"2014-06-05",
"endpointPrefix":"mobileanalytics",
"serviceFullName":"Amazon Mobile Analytics",
"signatureVersion":"v4",
"protocol":"rest-json"
},
"documentation":"<p>Amazon Mobile Analytics is a service for collecting, visualizing, and understanding app usage data at scale.</p>",
"operations":{
"PutEvents":{
"name":"PutEvents",
"http":{
"method":"POST",
"requestUri":"/2014-06-05/events",
"responseCode":202
},
"input":{
"shape":"PutEventsInput",
"documentation":"<p>A container for the data needed for a PutEvent operation</p>"
},
"errors":[
{
"shape":"BadRequestException",
"error":{"httpStatusCode":400},
"exception":true,
"documentation":"<p>An exception object returned when a request fails.</p>"
}
],
"documentation":"<p>The PutEvents operation records one or more events. You can have up to 1,500 unique custom events per app, any combination of up to 40 attributes and metrics per custom event, and any number of attribute or metric values.</p>"
}
},
"shapes":{
"BadRequestException":{
"type":"structure",
"members":{
"message":{
"shape":"String",
"documentation":"<p>A text description associated with the BadRequestException object.</p>"
}
},
"error":{"httpStatusCode":400},
"exception":true,
"documentation":"<p>An exception object returned when a request fails.</p>"
},
"Double":{"type":"double"},
"Event":{
"type":"structure",
"required":[
"eventType",
"timestamp"
],
"members":{
"eventType":{
"shape":"String50Chars",
"documentation":"<p>A name signifying an event that occurred in your app. This is used for grouping and aggregating like events together for reporting purposes.</p>"
},
"timestamp":{
"shape":"ISO8601Timestamp",
"documentation":"<p>The time the event occurred in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z</p>"
},
"session":{
"shape":"Session",
"documentation":"<p>The session the event occured within. </p>"
},
"version":{
"shape":"String10Chars",
"documentation":"<p>The version of the event.</p>"
},
"attributes":{
"shape":"MapOfStringToString",
"documentation":"<p>A collection of key-value pairs that give additional context to the event. The key-value pairs are specified by the developer.</p> <p>This collection can be empty or the attribute object can be omitted.</p>"
},
"metrics":{
"shape":"MapOfStringToNumber",
"documentation":"<p>A collection of key-value pairs that gives additional, measurable context to the event. The key-value pairs are specified by the developer.</p> <p>This collection can be empty or the attribute object can be omitted.</p>"
}
},
"documentation":"<p>A JSON object representing a batch of unique event occurrences in your app.</p>"
},
"EventListDefinition":{
"type":"list",
"member":{"shape":"Event"}
},
"ISO8601Timestamp":{"type":"string"},
"Long":{"type":"long"},
"MapOfStringToNumber":{
"type":"map",
"key":{"shape":"String50Chars"},
"value":{"shape":"Double"},
"min":0,
"max":50
},
"MapOfStringToString":{
"type":"map",
"key":{"shape":"String50Chars"},
"value":{"shape":"String0to1000Chars"},
"min":0,
"max":50
},
"PutEventsInput":{
"type":"structure",
"required":[
"events",
"clientContext"
],
"members":{
"events":{
"shape":"EventListDefinition",
"documentation":"<p>An array of Event JSON objects</p>"
},
"clientContext":{
"shape":"String",
"location":"header",
"locationName":"x-amz-Client-Context",
"documentation":"<p>The client context including the client ID, app title, app version and package name.</p>"
},
"clientContextEncoding":{
"shape":"String",
"location":"header",
"locationName":"x-amz-Client-Context-Encoding",
"documentation":"<p>The encoding used for the client context.</p>"
}
},
"documentation":"<p>A container for the data needed for a PutEvent operation</p>"
},
"Session":{
"type":"structure",
"members":{
"id":{
"shape":"String50Chars",
"documentation":"<p>A unique identifier for the session</p>"
},
"duration":{
"shape":"Long",
"documentation":"<p>The duration of the session.</p>"
},
"startTimestamp":{
"shape":"ISO8601Timestamp",
"documentation":"<p>The time the event started in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z</p>"
},
"stopTimestamp":{
"shape":"ISO8601Timestamp",
"documentation":"<p>The time the event terminated in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z</p>"
}
},
"documentation":"<p>Describes the session. Session information is required on ALL events.</p>"
},
"String":{"type":"string"},
"String0to1000Chars":{
"type":"string",
"min":0,
"max":1000
},
"String10Chars":{
"type":"string",
"min":1,
"max":10
},
"String50Chars":{
"type":"string",
"min":1,
"max":50
}
}
}