1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2018-10-26",
|
5 | "endpointPrefix": "api.detective",
|
6 | "jsonVersion": "1.1",
|
7 | "protocol": "rest-json",
|
8 | "serviceFullName": "Amazon Detective",
|
9 | "serviceId": "Detective",
|
10 | "signatureVersion": "v4",
|
11 | "signingName": "detective",
|
12 | "uid": "detective-2018-10-26"
|
13 | },
|
14 | "operations": {
|
15 | "AcceptInvitation": {
|
16 | "http": {
|
17 | "method": "PUT",
|
18 | "requestUri": "/invitation"
|
19 | },
|
20 | "input": {
|
21 | "type": "structure",
|
22 | "required": [
|
23 | "GraphArn"
|
24 | ],
|
25 | "members": {
|
26 | "GraphArn": {}
|
27 | }
|
28 | }
|
29 | },
|
30 | "CreateGraph": {
|
31 | "http": {
|
32 | "requestUri": "/graph"
|
33 | },
|
34 | "output": {
|
35 | "type": "structure",
|
36 | "members": {
|
37 | "GraphArn": {}
|
38 | }
|
39 | }
|
40 | },
|
41 | "CreateMembers": {
|
42 | "http": {
|
43 | "requestUri": "/graph/members"
|
44 | },
|
45 | "input": {
|
46 | "type": "structure",
|
47 | "required": [
|
48 | "GraphArn",
|
49 | "Accounts"
|
50 | ],
|
51 | "members": {
|
52 | "GraphArn": {},
|
53 | "Message": {},
|
54 | "Accounts": {
|
55 | "type": "list",
|
56 | "member": {
|
57 | "type": "structure",
|
58 | "required": [
|
59 | "AccountId",
|
60 | "EmailAddress"
|
61 | ],
|
62 | "members": {
|
63 | "AccountId": {},
|
64 | "EmailAddress": {}
|
65 | }
|
66 | }
|
67 | }
|
68 | }
|
69 | },
|
70 | "output": {
|
71 | "type": "structure",
|
72 | "members": {
|
73 | "Members": {
|
74 | "shape": "Sb"
|
75 | },
|
76 | "UnprocessedAccounts": {
|
77 | "shape": "Sh"
|
78 | }
|
79 | }
|
80 | }
|
81 | },
|
82 | "DeleteGraph": {
|
83 | "http": {
|
84 | "requestUri": "/graph/removal"
|
85 | },
|
86 | "input": {
|
87 | "type": "structure",
|
88 | "required": [
|
89 | "GraphArn"
|
90 | ],
|
91 | "members": {
|
92 | "GraphArn": {}
|
93 | }
|
94 | }
|
95 | },
|
96 | "DeleteMembers": {
|
97 | "http": {
|
98 | "requestUri": "/graph/members/removal"
|
99 | },
|
100 | "input": {
|
101 | "type": "structure",
|
102 | "required": [
|
103 | "GraphArn",
|
104 | "AccountIds"
|
105 | ],
|
106 | "members": {
|
107 | "GraphArn": {},
|
108 | "AccountIds": {
|
109 | "shape": "Sm"
|
110 | }
|
111 | }
|
112 | },
|
113 | "output": {
|
114 | "type": "structure",
|
115 | "members": {
|
116 | "AccountIds": {
|
117 | "shape": "Sm"
|
118 | },
|
119 | "UnprocessedAccounts": {
|
120 | "shape": "Sh"
|
121 | }
|
122 | }
|
123 | }
|
124 | },
|
125 | "DisassociateMembership": {
|
126 | "http": {
|
127 | "requestUri": "/membership/removal"
|
128 | },
|
129 | "input": {
|
130 | "type": "structure",
|
131 | "required": [
|
132 | "GraphArn"
|
133 | ],
|
134 | "members": {
|
135 | "GraphArn": {}
|
136 | }
|
137 | }
|
138 | },
|
139 | "GetMembers": {
|
140 | "http": {
|
141 | "requestUri": "/graph/members/get"
|
142 | },
|
143 | "input": {
|
144 | "type": "structure",
|
145 | "required": [
|
146 | "GraphArn",
|
147 | "AccountIds"
|
148 | ],
|
149 | "members": {
|
150 | "GraphArn": {},
|
151 | "AccountIds": {
|
152 | "shape": "Sm"
|
153 | }
|
154 | }
|
155 | },
|
156 | "output": {
|
157 | "type": "structure",
|
158 | "members": {
|
159 | "MemberDetails": {
|
160 | "shape": "Sb"
|
161 | },
|
162 | "UnprocessedAccounts": {
|
163 | "shape": "Sh"
|
164 | }
|
165 | }
|
166 | }
|
167 | },
|
168 | "ListGraphs": {
|
169 | "http": {
|
170 | "requestUri": "/graphs/list"
|
171 | },
|
172 | "input": {
|
173 | "type": "structure",
|
174 | "members": {
|
175 | "NextToken": {},
|
176 | "MaxResults": {
|
177 | "type": "integer"
|
178 | }
|
179 | }
|
180 | },
|
181 | "output": {
|
182 | "type": "structure",
|
183 | "members": {
|
184 | "GraphList": {
|
185 | "type": "list",
|
186 | "member": {
|
187 | "type": "structure",
|
188 | "members": {
|
189 | "Arn": {},
|
190 | "CreatedTime": {
|
191 | "type": "timestamp"
|
192 | }
|
193 | }
|
194 | }
|
195 | },
|
196 | "NextToken": {}
|
197 | }
|
198 | }
|
199 | },
|
200 | "ListInvitations": {
|
201 | "http": {
|
202 | "requestUri": "/invitations/list"
|
203 | },
|
204 | "input": {
|
205 | "type": "structure",
|
206 | "members": {
|
207 | "NextToken": {},
|
208 | "MaxResults": {
|
209 | "type": "integer"
|
210 | }
|
211 | }
|
212 | },
|
213 | "output": {
|
214 | "type": "structure",
|
215 | "members": {
|
216 | "Invitations": {
|
217 | "shape": "Sb"
|
218 | },
|
219 | "NextToken": {}
|
220 | }
|
221 | }
|
222 | },
|
223 | "ListMembers": {
|
224 | "http": {
|
225 | "requestUri": "/graph/members/list"
|
226 | },
|
227 | "input": {
|
228 | "type": "structure",
|
229 | "required": [
|
230 | "GraphArn"
|
231 | ],
|
232 | "members": {
|
233 | "GraphArn": {},
|
234 | "NextToken": {},
|
235 | "MaxResults": {
|
236 | "type": "integer"
|
237 | }
|
238 | }
|
239 | },
|
240 | "output": {
|
241 | "type": "structure",
|
242 | "members": {
|
243 | "MemberDetails": {
|
244 | "shape": "Sb"
|
245 | },
|
246 | "NextToken": {}
|
247 | }
|
248 | }
|
249 | },
|
250 | "RejectInvitation": {
|
251 | "http": {
|
252 | "requestUri": "/invitation/removal"
|
253 | },
|
254 | "input": {
|
255 | "type": "structure",
|
256 | "required": [
|
257 | "GraphArn"
|
258 | ],
|
259 | "members": {
|
260 | "GraphArn": {}
|
261 | }
|
262 | }
|
263 | },
|
264 | "StartMonitoringMember": {
|
265 | "http": {
|
266 | "requestUri": "/graph/member/monitoringstate"
|
267 | },
|
268 | "input": {
|
269 | "type": "structure",
|
270 | "required": [
|
271 | "GraphArn",
|
272 | "AccountId"
|
273 | ],
|
274 | "members": {
|
275 | "GraphArn": {},
|
276 | "AccountId": {}
|
277 | }
|
278 | }
|
279 | }
|
280 | },
|
281 | "shapes": {
|
282 | "Sb": {
|
283 | "type": "list",
|
284 | "member": {
|
285 | "type": "structure",
|
286 | "members": {
|
287 | "AccountId": {},
|
288 | "EmailAddress": {},
|
289 | "GraphArn": {},
|
290 | "MasterId": {},
|
291 | "Status": {},
|
292 | "DisabledReason": {},
|
293 | "InvitedTime": {
|
294 | "type": "timestamp"
|
295 | },
|
296 | "UpdatedTime": {
|
297 | "type": "timestamp"
|
298 | },
|
299 | "PercentOfGraphUtilization": {
|
300 | "type": "double"
|
301 | },
|
302 | "PercentOfGraphUtilizationUpdatedTime": {
|
303 | "type": "timestamp"
|
304 | }
|
305 | }
|
306 | }
|
307 | },
|
308 | "Sh": {
|
309 | "type": "list",
|
310 | "member": {
|
311 | "type": "structure",
|
312 | "members": {
|
313 | "AccountId": {},
|
314 | "Reason": {}
|
315 | }
|
316 | }
|
317 | },
|
318 | "Sm": {
|
319 | "type": "list",
|
320 | "member": {}
|
321 | }
|
322 | }
|
323 | } |
\ | No newline at end of file |