1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2018-01-12",
|
5 | "endpointPrefix": "dlm",
|
6 | "jsonVersion": "1.1",
|
7 | "protocol": "rest-json",
|
8 | "serviceAbbreviation": "Amazon DLM",
|
9 | "serviceFullName": "Amazon Data Lifecycle Manager",
|
10 | "serviceId": "DLM",
|
11 | "signatureVersion": "v4",
|
12 | "signingName": "dlm",
|
13 | "uid": "dlm-2018-01-12"
|
14 | },
|
15 | "operations": {
|
16 | "CreateLifecyclePolicy": {
|
17 | "http": {
|
18 | "requestUri": "/policies"
|
19 | },
|
20 | "input": {
|
21 | "type": "structure",
|
22 | "required": [
|
23 | "ExecutionRoleArn",
|
24 | "Description",
|
25 | "State",
|
26 | "PolicyDetails"
|
27 | ],
|
28 | "members": {
|
29 | "ExecutionRoleArn": {},
|
30 | "Description": {},
|
31 | "State": {},
|
32 | "PolicyDetails": {
|
33 | "shape": "S5"
|
34 | },
|
35 | "Tags": {
|
36 | "shape": "S12"
|
37 | }
|
38 | }
|
39 | },
|
40 | "output": {
|
41 | "type": "structure",
|
42 | "members": {
|
43 | "PolicyId": {}
|
44 | }
|
45 | }
|
46 | },
|
47 | "DeleteLifecyclePolicy": {
|
48 | "http": {
|
49 | "method": "DELETE",
|
50 | "requestUri": "/policies/{policyId}/"
|
51 | },
|
52 | "input": {
|
53 | "type": "structure",
|
54 | "required": [
|
55 | "PolicyId"
|
56 | ],
|
57 | "members": {
|
58 | "PolicyId": {
|
59 | "location": "uri",
|
60 | "locationName": "policyId"
|
61 | }
|
62 | }
|
63 | },
|
64 | "output": {
|
65 | "type": "structure",
|
66 | "members": {}
|
67 | }
|
68 | },
|
69 | "GetLifecyclePolicies": {
|
70 | "http": {
|
71 | "method": "GET",
|
72 | "requestUri": "/policies"
|
73 | },
|
74 | "input": {
|
75 | "type": "structure",
|
76 | "members": {
|
77 | "PolicyIds": {
|
78 | "location": "querystring",
|
79 | "locationName": "policyIds",
|
80 | "type": "list",
|
81 | "member": {}
|
82 | },
|
83 | "State": {
|
84 | "location": "querystring",
|
85 | "locationName": "state"
|
86 | },
|
87 | "ResourceTypes": {
|
88 | "shape": "S7",
|
89 | "location": "querystring",
|
90 | "locationName": "resourceTypes"
|
91 | },
|
92 | "TargetTags": {
|
93 | "location": "querystring",
|
94 | "locationName": "targetTags",
|
95 | "type": "list",
|
96 | "member": {}
|
97 | },
|
98 | "TagsToAdd": {
|
99 | "location": "querystring",
|
100 | "locationName": "tagsToAdd",
|
101 | "type": "list",
|
102 | "member": {}
|
103 | }
|
104 | }
|
105 | },
|
106 | "output": {
|
107 | "type": "structure",
|
108 | "members": {
|
109 | "Policies": {
|
110 | "type": "list",
|
111 | "member": {
|
112 | "type": "structure",
|
113 | "members": {
|
114 | "PolicyId": {},
|
115 | "Description": {},
|
116 | "State": {},
|
117 | "Tags": {
|
118 | "shape": "S12"
|
119 | }
|
120 | }
|
121 | }
|
122 | }
|
123 | }
|
124 | }
|
125 | },
|
126 | "GetLifecyclePolicy": {
|
127 | "http": {
|
128 | "method": "GET",
|
129 | "requestUri": "/policies/{policyId}/"
|
130 | },
|
131 | "input": {
|
132 | "type": "structure",
|
133 | "required": [
|
134 | "PolicyId"
|
135 | ],
|
136 | "members": {
|
137 | "PolicyId": {
|
138 | "location": "uri",
|
139 | "locationName": "policyId"
|
140 | }
|
141 | }
|
142 | },
|
143 | "output": {
|
144 | "type": "structure",
|
145 | "members": {
|
146 | "Policy": {
|
147 | "type": "structure",
|
148 | "members": {
|
149 | "PolicyId": {},
|
150 | "Description": {},
|
151 | "State": {},
|
152 | "StatusMessage": {},
|
153 | "ExecutionRoleArn": {},
|
154 | "DateCreated": {
|
155 | "shape": "S1m"
|
156 | },
|
157 | "DateModified": {
|
158 | "shape": "S1m"
|
159 | },
|
160 | "PolicyDetails": {
|
161 | "shape": "S5"
|
162 | },
|
163 | "Tags": {
|
164 | "shape": "S12"
|
165 | },
|
166 | "PolicyArn": {}
|
167 | }
|
168 | }
|
169 | }
|
170 | }
|
171 | },
|
172 | "ListTagsForResource": {
|
173 | "http": {
|
174 | "method": "GET",
|
175 | "requestUri": "/tags/{resourceArn}"
|
176 | },
|
177 | "input": {
|
178 | "type": "structure",
|
179 | "required": [
|
180 | "ResourceArn"
|
181 | ],
|
182 | "members": {
|
183 | "ResourceArn": {
|
184 | "location": "uri",
|
185 | "locationName": "resourceArn"
|
186 | }
|
187 | }
|
188 | },
|
189 | "output": {
|
190 | "type": "structure",
|
191 | "members": {
|
192 | "Tags": {
|
193 | "shape": "S12"
|
194 | }
|
195 | }
|
196 | }
|
197 | },
|
198 | "TagResource": {
|
199 | "http": {
|
200 | "requestUri": "/tags/{resourceArn}"
|
201 | },
|
202 | "input": {
|
203 | "type": "structure",
|
204 | "required": [
|
205 | "ResourceArn",
|
206 | "Tags"
|
207 | ],
|
208 | "members": {
|
209 | "ResourceArn": {
|
210 | "location": "uri",
|
211 | "locationName": "resourceArn"
|
212 | },
|
213 | "Tags": {
|
214 | "shape": "S12"
|
215 | }
|
216 | }
|
217 | },
|
218 | "output": {
|
219 | "type": "structure",
|
220 | "members": {}
|
221 | }
|
222 | },
|
223 | "UntagResource": {
|
224 | "http": {
|
225 | "method": "DELETE",
|
226 | "requestUri": "/tags/{resourceArn}"
|
227 | },
|
228 | "input": {
|
229 | "type": "structure",
|
230 | "required": [
|
231 | "ResourceArn",
|
232 | "TagKeys"
|
233 | ],
|
234 | "members": {
|
235 | "ResourceArn": {
|
236 | "location": "uri",
|
237 | "locationName": "resourceArn"
|
238 | },
|
239 | "TagKeys": {
|
240 | "location": "querystring",
|
241 | "locationName": "tagKeys",
|
242 | "type": "list",
|
243 | "member": {}
|
244 | }
|
245 | }
|
246 | },
|
247 | "output": {
|
248 | "type": "structure",
|
249 | "members": {}
|
250 | }
|
251 | },
|
252 | "UpdateLifecyclePolicy": {
|
253 | "http": {
|
254 | "method": "PATCH",
|
255 | "requestUri": "/policies/{policyId}"
|
256 | },
|
257 | "input": {
|
258 | "type": "structure",
|
259 | "required": [
|
260 | "PolicyId"
|
261 | ],
|
262 | "members": {
|
263 | "PolicyId": {
|
264 | "location": "uri",
|
265 | "locationName": "policyId"
|
266 | },
|
267 | "ExecutionRoleArn": {},
|
268 | "State": {},
|
269 | "Description": {},
|
270 | "PolicyDetails": {
|
271 | "shape": "S5"
|
272 | }
|
273 | }
|
274 | },
|
275 | "output": {
|
276 | "type": "structure",
|
277 | "members": {}
|
278 | }
|
279 | }
|
280 | },
|
281 | "shapes": {
|
282 | "S5": {
|
283 | "type": "structure",
|
284 | "members": {
|
285 | "PolicyType": {},
|
286 | "ResourceTypes": {
|
287 | "shape": "S7"
|
288 | },
|
289 | "TargetTags": {
|
290 | "type": "list",
|
291 | "member": {
|
292 | "shape": "Sa"
|
293 | }
|
294 | },
|
295 | "Schedules": {
|
296 | "type": "list",
|
297 | "member": {
|
298 | "type": "structure",
|
299 | "members": {
|
300 | "Name": {},
|
301 | "CopyTags": {
|
302 | "type": "boolean"
|
303 | },
|
304 | "TagsToAdd": {
|
305 | "type": "list",
|
306 | "member": {
|
307 | "shape": "Sa"
|
308 | }
|
309 | },
|
310 | "VariableTags": {
|
311 | "type": "list",
|
312 | "member": {
|
313 | "shape": "Sa"
|
314 | }
|
315 | },
|
316 | "CreateRule": {
|
317 | "type": "structure",
|
318 | "required": [
|
319 | "Interval",
|
320 | "IntervalUnit"
|
321 | ],
|
322 | "members": {
|
323 | "Interval": {
|
324 | "type": "integer"
|
325 | },
|
326 | "IntervalUnit": {},
|
327 | "Times": {
|
328 | "type": "list",
|
329 | "member": {}
|
330 | }
|
331 | }
|
332 | },
|
333 | "RetainRule": {
|
334 | "type": "structure",
|
335 | "members": {
|
336 | "Count": {
|
337 | "type": "integer"
|
338 | },
|
339 | "Interval": {
|
340 | "type": "integer"
|
341 | },
|
342 | "IntervalUnit": {}
|
343 | }
|
344 | },
|
345 | "FastRestoreRule": {
|
346 | "type": "structure",
|
347 | "required": [
|
348 | "AvailabilityZones"
|
349 | ],
|
350 | "members": {
|
351 | "Count": {
|
352 | "type": "integer"
|
353 | },
|
354 | "Interval": {
|
355 | "type": "integer"
|
356 | },
|
357 | "IntervalUnit": {},
|
358 | "AvailabilityZones": {
|
359 | "type": "list",
|
360 | "member": {}
|
361 | }
|
362 | }
|
363 | },
|
364 | "CrossRegionCopyRules": {
|
365 | "type": "list",
|
366 | "member": {
|
367 | "type": "structure",
|
368 | "required": [
|
369 | "TargetRegion",
|
370 | "Encrypted"
|
371 | ],
|
372 | "members": {
|
373 | "TargetRegion": {},
|
374 | "Encrypted": {
|
375 | "type": "boolean"
|
376 | },
|
377 | "CmkArn": {},
|
378 | "CopyTags": {
|
379 | "type": "boolean"
|
380 | },
|
381 | "RetainRule": {
|
382 | "type": "structure",
|
383 | "members": {
|
384 | "Interval": {
|
385 | "type": "integer"
|
386 | },
|
387 | "IntervalUnit": {}
|
388 | }
|
389 | }
|
390 | }
|
391 | }
|
392 | }
|
393 | }
|
394 | }
|
395 | },
|
396 | "Parameters": {
|
397 | "type": "structure",
|
398 | "members": {
|
399 | "ExcludeBootVolume": {
|
400 | "type": "boolean"
|
401 | }
|
402 | }
|
403 | }
|
404 | }
|
405 | },
|
406 | "S7": {
|
407 | "type": "list",
|
408 | "member": {}
|
409 | },
|
410 | "Sa": {
|
411 | "type": "structure",
|
412 | "required": [
|
413 | "Key",
|
414 | "Value"
|
415 | ],
|
416 | "members": {
|
417 | "Key": {},
|
418 | "Value": {}
|
419 | }
|
420 | },
|
421 | "S12": {
|
422 | "type": "map",
|
423 | "key": {},
|
424 | "value": {}
|
425 | },
|
426 | "S1m": {
|
427 | "type": "timestamp",
|
428 | "timestampFormat": "iso8601"
|
429 | }
|
430 | }
|
431 | } |
\ | No newline at end of file |