Debian Codegraph @

models/apis/route53-recovery-cluster/2019-12-02/api-2.json

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2019-12-02",
5 "endpointPrefix":"route53-recovery-cluster",
6 "jsonVersion":"1.0",
7 "protocol":"json",
8 "serviceFullName":"Route53 Recovery Cluster",
9 "serviceId":"Route53 Recovery Cluster",
10 "signatureVersion":"v4",
11 "signingName":"route53-recovery-cluster",
12 "targetPrefix":"ToggleCustomerAPI",
13 "uid":"route53-recovery-cluster-2019-12-02"
14 },
15 "operations":{
16 "GetRoutingControlState":{
17 "name":"GetRoutingControlState",
18 "http":{
19 "method":"POST",
20 "requestUri":"/"
21 },
22 "input":{"shape":"GetRoutingControlStateRequest"},
23 "output":{"shape":"GetRoutingControlStateResponse"},
24 "errors":[
25 {"shape":"AccessDeniedException"},
26 {"shape":"InternalServerException"},
27 {"shape":"ResourceNotFoundException"},
28 {"shape":"ValidationException"},
29 {"shape":"ThrottlingException"},
30 {"shape":"EndpointTemporarilyUnavailableException"}
31 ]
32 },
33 "ListRoutingControls":{
34 "name":"ListRoutingControls",
35 "http":{
36 "method":"POST",
37 "requestUri":"/"
38 },
39 "input":{"shape":"ListRoutingControlsRequest"},
40 "output":{"shape":"ListRoutingControlsResponse"},
41 "errors":[
42 {"shape":"AccessDeniedException"},
43 {"shape":"InternalServerException"},
44 {"shape":"ResourceNotFoundException"},
45 {"shape":"ValidationException"},
46 {"shape":"ThrottlingException"},
47 {"shape":"EndpointTemporarilyUnavailableException"}
48 ]
49 },
50 "UpdateRoutingControlState":{
51 "name":"UpdateRoutingControlState",
52 "http":{
53 "method":"POST",
54 "requestUri":"/"
55 },
56 "input":{"shape":"UpdateRoutingControlStateRequest"},
57 "output":{"shape":"UpdateRoutingControlStateResponse"},
58 "errors":[
59 {"shape":"AccessDeniedException"},
60 {"shape":"InternalServerException"},
61 {"shape":"ResourceNotFoundException"},
62 {"shape":"ValidationException"},
63 {"shape":"ThrottlingException"},
64 {"shape":"EndpointTemporarilyUnavailableException"},
65 {"shape":"ConflictException"}
66 ]
67 },
68 "UpdateRoutingControlStates":{
69 "name":"UpdateRoutingControlStates",
70 "http":{
71 "method":"POST",
72 "requestUri":"/"
73 },
74 "input":{"shape":"UpdateRoutingControlStatesRequest"},
75 "output":{"shape":"UpdateRoutingControlStatesResponse"},
76 "errors":[
77 {"shape":"AccessDeniedException"},
78 {"shape":"InternalServerException"},
79 {"shape":"ResourceNotFoundException"},
80 {"shape":"ValidationException"},
81 {"shape":"ThrottlingException"},
82 {"shape":"EndpointTemporarilyUnavailableException"},
83 {"shape":"ConflictException"},
84 {"shape":"ServiceLimitExceededException"}
85 ]
86 }
87 },
88 "shapes":{
89 "AccessDeniedException":{
90 "type":"structure",
91 "required":["message"],
92 "members":{
93 "message":{"shape":"String"}
94 },
95 "exception":true
96 },
97 "Arn":{
98 "type":"string",
99 "max":255,
100 "min":1,
101 "pattern":"^[A-Za-z0-9:.\\/_-]*$"
102 },
103 "Arns":{
104 "type":"list",
105 "member":{"shape":"Arn"}
106 },
107 "ConflictException":{
108 "type":"structure",
109 "required":[
110 "message",
111 "resourceId",
112 "resourceType"
113 ],
114 "members":{
115 "message":{"shape":"String"},
116 "resourceId":{"shape":"String"},
117 "resourceType":{"shape":"String"}
118 },
119 "exception":true
120 },
121 "ControlPanelName":{
122 "type":"string",
123 "max":64,
124 "min":1,
125 "pattern":"^\\S+$"
126 },
127 "EndpointTemporarilyUnavailableException":{
128 "type":"structure",
129 "required":["message"],
130 "members":{
131 "message":{"shape":"String"}
132 },
133 "exception":true
134 },
135 "GetRoutingControlStateRequest":{
136 "type":"structure",
137 "required":["RoutingControlArn"],
138 "members":{
139 "RoutingControlArn":{"shape":"Arn"}
140 }
141 },
142 "GetRoutingControlStateResponse":{
143 "type":"structure",
144 "required":[
145 "RoutingControlArn",
146 "RoutingControlState"
147 ],
148 "members":{
149 "RoutingControlArn":{"shape":"Arn"},
150 "RoutingControlState":{"shape":"RoutingControlState"},
151 "RoutingControlName":{"shape":"RoutingControlName"}
152 }
153 },
154 "InternalServerException":{
155 "type":"structure",
156 "required":["message"],
157 "members":{
158 "message":{"shape":"String"},
159 "retryAfterSeconds":{"shape":"RetryAfterSeconds"}
160 },
161 "exception":true,
162 "fault":true
163 },
164 "ListRoutingControlsRequest":{
165 "type":"structure",
166 "members":{
167 "ControlPanelArn":{"shape":"Arn"},
168 "NextToken":{"shape":"PageToken"},
169 "MaxResults":{
170 "shape":"MaxResults",
171 "box":true
172 }
173 }
174 },
175 "ListRoutingControlsResponse":{
176 "type":"structure",
177 "required":["RoutingControls"],
178 "members":{
179 "RoutingControls":{"shape":"RoutingControls"},
180 "NextToken":{"shape":"PageToken"}
181 }
182 },
183 "MaxResults":{
184 "type":"integer",
185 "min":1
186 },
187 "Owner":{
188 "type":"string",
189 "max":1024,
190 "min":12,
191 "pattern":"^\\S+$"
192 },
193 "PageToken":{
194 "type":"string",
195 "max":8096,
196 "min":1,
197 "pattern":"[\\S]*"
198 },
199 "ResourceNotFoundException":{
200 "type":"structure",
201 "required":[
202 "message",
203 "resourceId",
204 "resourceType"
205 ],
206 "members":{
207 "message":{"shape":"String"},
208 "resourceId":{"shape":"String"},
209 "resourceType":{"shape":"String"}
210 },
211 "exception":true
212 },
213 "RetryAfterSeconds":{"type":"integer"},
214 "RoutingControl":{
215 "type":"structure",
216 "members":{
217 "ControlPanelArn":{"shape":"Arn"},
218 "ControlPanelName":{"shape":"ControlPanelName"},
219 "RoutingControlArn":{"shape":"Arn"},
220 "RoutingControlName":{"shape":"RoutingControlName"},
221 "RoutingControlState":{"shape":"RoutingControlState"},
222 "Owner":{"shape":"Owner"}
223 }
224 },
225 "RoutingControlName":{
226 "type":"string",
227 "max":64,
228 "min":1,
229 "pattern":"^\\S+$"
230 },
231 "RoutingControlState":{
232 "type":"string",
233 "enum":[
234 "On",
235 "Off"
236 ]
237 },
238 "RoutingControls":{
239 "type":"list",
240 "member":{"shape":"RoutingControl"}
241 },
242 "ServiceLimitExceededException":{
243 "type":"structure",
244 "required":[
245 "message",
246 "limitCode",
247 "serviceCode"
248 ],
249 "members":{
250 "message":{"shape":"String"},
251 "resourceId":{"shape":"String"},
252 "resourceType":{"shape":"String"},
253 "limitCode":{"shape":"String"},
254 "serviceCode":{"shape":"String"}
255 },
256 "exception":true
257 },
258 "String":{"type":"string"},
259 "ThrottlingException":{
260 "type":"structure",
261 "required":["message"],
262 "members":{
263 "message":{"shape":"String"},
264 "retryAfterSeconds":{"shape":"RetryAfterSeconds"}
265 },
266 "exception":true
267 },
268 "UpdateRoutingControlStateEntries":{
269 "type":"list",
270 "member":{"shape":"UpdateRoutingControlStateEntry"}
271 },
272 "UpdateRoutingControlStateEntry":{
273 "type":"structure",
274 "required":[
275 "RoutingControlArn",
276 "RoutingControlState"
277 ],
278 "members":{
279 "RoutingControlArn":{"shape":"Arn"},
280 "RoutingControlState":{"shape":"RoutingControlState"}
281 }
282 },
283 "UpdateRoutingControlStateRequest":{
284 "type":"structure",
285 "required":[
286 "RoutingControlArn",
287 "RoutingControlState"
288 ],
289 "members":{
290 "RoutingControlArn":{"shape":"Arn"},
291 "RoutingControlState":{"shape":"RoutingControlState"},
292 "SafetyRulesToOverride":{"shape":"Arns"}
293 }
294 },
295 "UpdateRoutingControlStateResponse":{
296 "type":"structure",
297 "members":{
298 }
299 },
300 "UpdateRoutingControlStatesRequest":{
301 "type":"structure",
302 "required":["UpdateRoutingControlStateEntries"],
303 "members":{
304 "UpdateRoutingControlStateEntries":{"shape":"UpdateRoutingControlStateEntries"},
305 "SafetyRulesToOverride":{"shape":"Arns"}
306 }
307 },
308 "UpdateRoutingControlStatesResponse":{
309 "type":"structure",
310 "members":{
311 }
312 },
313 "ValidationException":{
314 "type":"structure",
315 "required":["message"],
316 "members":{
317 "message":{"shape":"String"},
318 "reason":{"shape":"ValidationExceptionReason"},
319 "fields":{"shape":"ValidationExceptionFieldList"}
320 },
321 "exception":true
322 },
323 "ValidationExceptionField":{
324 "type":"structure",
325 "required":[
326 "name",
327 "message"
328 ],
329 "members":{
330 "name":{"shape":"String"},
331 "message":{"shape":"String"}
332 }
333 },
334 "ValidationExceptionFieldList":{
335 "type":"list",
336 "member":{"shape":"ValidationExceptionField"}
337 },
338 "ValidationExceptionReason":{
339 "type":"string",
340 "enum":[
341 "unknownOperation",
342 "cannotParse",
343 "fieldValidationFailed",
344 "other"
345 ]
346 }
347 }
348 }