1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2018-11-09",
|
5 | "endpointPrefix": "datasync",
|
6 | "jsonVersion": "1.1",
|
7 | "protocol": "json",
|
8 | "serviceAbbreviation": "DataSync",
|
9 | "serviceFullName": "AWS DataSync",
|
10 | "serviceId": "DataSync",
|
11 | "signatureVersion": "v4",
|
12 | "signingName": "datasync",
|
13 | "targetPrefix": "FmrsService",
|
14 | "uid": "datasync-2018-11-09"
|
15 | },
|
16 | "operations": {
|
17 | "CancelTaskExecution": {
|
18 | "input": {
|
19 | "type": "structure",
|
20 | "required": [
|
21 | "TaskExecutionArn"
|
22 | ],
|
23 | "members": {
|
24 | "TaskExecutionArn": {}
|
25 | }
|
26 | },
|
27 | "output": {
|
28 | "type": "structure",
|
29 | "members": {}
|
30 | }
|
31 | },
|
32 | "CreateAgent": {
|
33 | "input": {
|
34 | "type": "structure",
|
35 | "required": [
|
36 | "ActivationKey"
|
37 | ],
|
38 | "members": {
|
39 | "ActivationKey": {},
|
40 | "AgentName": {},
|
41 | "Tags": {
|
42 | "shape": "S7"
|
43 | }
|
44 | }
|
45 | },
|
46 | "output": {
|
47 | "type": "structure",
|
48 | "members": {
|
49 | "AgentArn": {}
|
50 | }
|
51 | }
|
52 | },
|
53 | "CreateLocationEfs": {
|
54 | "input": {
|
55 | "type": "structure",
|
56 | "required": [
|
57 | "Subdirectory",
|
58 | "EfsFilesystemArn",
|
59 | "Ec2Config"
|
60 | ],
|
61 | "members": {
|
62 | "Subdirectory": {},
|
63 | "EfsFilesystemArn": {},
|
64 | "Ec2Config": {
|
65 | "shape": "Sf"
|
66 | },
|
67 | "Tags": {
|
68 | "shape": "S7"
|
69 | }
|
70 | }
|
71 | },
|
72 | "output": {
|
73 | "type": "structure",
|
74 | "members": {
|
75 | "LocationArn": {}
|
76 | }
|
77 | }
|
78 | },
|
79 | "CreateLocationNfs": {
|
80 | "input": {
|
81 | "type": "structure",
|
82 | "required": [
|
83 | "Subdirectory",
|
84 | "ServerHostname",
|
85 | "OnPremConfig"
|
86 | ],
|
87 | "members": {
|
88 | "Subdirectory": {},
|
89 | "ServerHostname": {},
|
90 | "OnPremConfig": {
|
91 | "shape": "Sn"
|
92 | },
|
93 | "Tags": {
|
94 | "shape": "S7"
|
95 | }
|
96 | }
|
97 | },
|
98 | "output": {
|
99 | "type": "structure",
|
100 | "members": {
|
101 | "LocationArn": {}
|
102 | }
|
103 | }
|
104 | },
|
105 | "CreateLocationS3": {
|
106 | "input": {
|
107 | "type": "structure",
|
108 | "required": [
|
109 | "Subdirectory",
|
110 | "S3BucketArn",
|
111 | "S3Config"
|
112 | ],
|
113 | "members": {
|
114 | "Subdirectory": {},
|
115 | "S3BucketArn": {},
|
116 | "S3Config": {
|
117 | "shape": "Ss"
|
118 | },
|
119 | "Tags": {
|
120 | "shape": "S7"
|
121 | }
|
122 | }
|
123 | },
|
124 | "output": {
|
125 | "type": "structure",
|
126 | "members": {
|
127 | "LocationArn": {}
|
128 | }
|
129 | }
|
130 | },
|
131 | "CreateTask": {
|
132 | "input": {
|
133 | "type": "structure",
|
134 | "required": [
|
135 | "SourceLocationArn",
|
136 | "DestinationLocationArn"
|
137 | ],
|
138 | "members": {
|
139 | "SourceLocationArn": {},
|
140 | "DestinationLocationArn": {},
|
141 | "CloudWatchLogGroupArn": {},
|
142 | "Name": {},
|
143 | "Options": {
|
144 | "shape": "Sx"
|
145 | },
|
146 | "Tags": {
|
147 | "shape": "S7"
|
148 | }
|
149 | }
|
150 | },
|
151 | "output": {
|
152 | "type": "structure",
|
153 | "members": {
|
154 | "TaskArn": {}
|
155 | }
|
156 | }
|
157 | },
|
158 | "DeleteAgent": {
|
159 | "input": {
|
160 | "type": "structure",
|
161 | "required": [
|
162 | "AgentArn"
|
163 | ],
|
164 | "members": {
|
165 | "AgentArn": {}
|
166 | }
|
167 | },
|
168 | "output": {
|
169 | "type": "structure",
|
170 | "members": {}
|
171 | }
|
172 | },
|
173 | "DeleteLocation": {
|
174 | "input": {
|
175 | "type": "structure",
|
176 | "required": [
|
177 | "LocationArn"
|
178 | ],
|
179 | "members": {
|
180 | "LocationArn": {}
|
181 | }
|
182 | },
|
183 | "output": {
|
184 | "type": "structure",
|
185 | "members": {}
|
186 | }
|
187 | },
|
188 | "DeleteTask": {
|
189 | "input": {
|
190 | "type": "structure",
|
191 | "required": [
|
192 | "TaskArn"
|
193 | ],
|
194 | "members": {
|
195 | "TaskArn": {}
|
196 | }
|
197 | },
|
198 | "output": {
|
199 | "type": "structure",
|
200 | "members": {}
|
201 | }
|
202 | },
|
203 | "DescribeAgent": {
|
204 | "input": {
|
205 | "type": "structure",
|
206 | "required": [
|
207 | "AgentArn"
|
208 | ],
|
209 | "members": {
|
210 | "AgentArn": {}
|
211 | }
|
212 | },
|
213 | "output": {
|
214 | "type": "structure",
|
215 | "members": {
|
216 | "AgentArn": {},
|
217 | "Name": {},
|
218 | "Status": {},
|
219 | "LastConnectionTime": {
|
220 | "type": "timestamp"
|
221 | },
|
222 | "CreationTime": {
|
223 | "type": "timestamp"
|
224 | }
|
225 | }
|
226 | }
|
227 | },
|
228 | "DescribeLocationEfs": {
|
229 | "input": {
|
230 | "type": "structure",
|
231 | "required": [
|
232 | "LocationArn"
|
233 | ],
|
234 | "members": {
|
235 | "LocationArn": {}
|
236 | }
|
237 | },
|
238 | "output": {
|
239 | "type": "structure",
|
240 | "members": {
|
241 | "LocationArn": {},
|
242 | "LocationUri": {},
|
243 | "Ec2Config": {
|
244 | "shape": "Sf"
|
245 | },
|
246 | "CreationTime": {
|
247 | "type": "timestamp"
|
248 | }
|
249 | }
|
250 | }
|
251 | },
|
252 | "DescribeLocationNfs": {
|
253 | "input": {
|
254 | "type": "structure",
|
255 | "required": [
|
256 | "LocationArn"
|
257 | ],
|
258 | "members": {
|
259 | "LocationArn": {}
|
260 | }
|
261 | },
|
262 | "output": {
|
263 | "type": "structure",
|
264 | "members": {
|
265 | "LocationArn": {},
|
266 | "LocationUri": {},
|
267 | "OnPremConfig": {
|
268 | "shape": "Sn"
|
269 | },
|
270 | "CreationTime": {
|
271 | "type": "timestamp"
|
272 | }
|
273 | }
|
274 | }
|
275 | },
|
276 | "DescribeLocationS3": {
|
277 | "input": {
|
278 | "type": "structure",
|
279 | "required": [
|
280 | "LocationArn"
|
281 | ],
|
282 | "members": {
|
283 | "LocationArn": {}
|
284 | }
|
285 | },
|
286 | "output": {
|
287 | "type": "structure",
|
288 | "members": {
|
289 | "LocationArn": {},
|
290 | "LocationUri": {},
|
291 | "S3Config": {
|
292 | "shape": "Ss"
|
293 | },
|
294 | "CreationTime": {
|
295 | "type": "timestamp"
|
296 | }
|
297 | }
|
298 | }
|
299 | },
|
300 | "DescribeTask": {
|
301 | "input": {
|
302 | "type": "structure",
|
303 | "required": [
|
304 | "TaskArn"
|
305 | ],
|
306 | "members": {
|
307 | "TaskArn": {}
|
308 | }
|
309 | },
|
310 | "output": {
|
311 | "type": "structure",
|
312 | "members": {
|
313 | "TaskArn": {},
|
314 | "Status": {},
|
315 | "Name": {},
|
316 | "CurrentTaskExecutionArn": {},
|
317 | "SourceLocationArn": {},
|
318 | "DestinationLocationArn": {},
|
319 | "CloudWatchLogGroupArn": {},
|
320 | "Options": {
|
321 | "shape": "Sx"
|
322 | },
|
323 | "ErrorCode": {},
|
324 | "ErrorDetail": {},
|
325 | "CreationTime": {
|
326 | "type": "timestamp"
|
327 | }
|
328 | }
|
329 | }
|
330 | },
|
331 | "DescribeTaskExecution": {
|
332 | "input": {
|
333 | "type": "structure",
|
334 | "required": [
|
335 | "TaskExecutionArn"
|
336 | ],
|
337 | "members": {
|
338 | "TaskExecutionArn": {}
|
339 | }
|
340 | },
|
341 | "output": {
|
342 | "type": "structure",
|
343 | "members": {
|
344 | "TaskExecutionArn": {},
|
345 | "Status": {},
|
346 | "Options": {
|
347 | "shape": "Sx"
|
348 | },
|
349 | "StartTime": {
|
350 | "type": "timestamp"
|
351 | },
|
352 | "EstimatedFilesToTransfer": {
|
353 | "type": "long"
|
354 | },
|
355 | "EstimatedBytesToTransfer": {
|
356 | "type": "long"
|
357 | },
|
358 | "FilesTransferred": {
|
359 | "type": "long"
|
360 | },
|
361 | "BytesWritten": {
|
362 | "type": "long"
|
363 | },
|
364 | "BytesTransferred": {
|
365 | "type": "long"
|
366 | },
|
367 | "Result": {
|
368 | "type": "structure",
|
369 | "members": {
|
370 | "PrepareDuration": {
|
371 | "type": "long"
|
372 | },
|
373 | "PrepareStatus": {},
|
374 | "TransferDuration": {
|
375 | "type": "long"
|
376 | },
|
377 | "TransferStatus": {},
|
378 | "VerifyDuration": {
|
379 | "type": "long"
|
380 | },
|
381 | "VerifyStatus": {},
|
382 | "ErrorCode": {},
|
383 | "ErrorDetail": {}
|
384 | }
|
385 | }
|
386 | }
|
387 | }
|
388 | },
|
389 | "ListAgents": {
|
390 | "input": {
|
391 | "type": "structure",
|
392 | "members": {
|
393 | "MaxResults": {
|
394 | "type": "integer"
|
395 | },
|
396 | "NextToken": {}
|
397 | }
|
398 | },
|
399 | "output": {
|
400 | "type": "structure",
|
401 | "members": {
|
402 | "Agents": {
|
403 | "type": "list",
|
404 | "member": {
|
405 | "type": "structure",
|
406 | "members": {
|
407 | "AgentArn": {},
|
408 | "Name": {},
|
409 | "Status": {}
|
410 | }
|
411 | }
|
412 | },
|
413 | "NextToken": {}
|
414 | }
|
415 | }
|
416 | },
|
417 | "ListLocations": {
|
418 | "input": {
|
419 | "type": "structure",
|
420 | "members": {
|
421 | "MaxResults": {
|
422 | "type": "integer"
|
423 | },
|
424 | "NextToken": {}
|
425 | }
|
426 | },
|
427 | "output": {
|
428 | "type": "structure",
|
429 | "members": {
|
430 | "Locations": {
|
431 | "type": "list",
|
432 | "member": {
|
433 | "type": "structure",
|
434 | "members": {
|
435 | "LocationArn": {},
|
436 | "LocationUri": {}
|
437 | }
|
438 | }
|
439 | },
|
440 | "NextToken": {}
|
441 | }
|
442 | }
|
443 | },
|
444 | "ListTagsForResource": {
|
445 | "input": {
|
446 | "type": "structure",
|
447 | "required": [
|
448 | "ResourceArn"
|
449 | ],
|
450 | "members": {
|
451 | "ResourceArn": {},
|
452 | "MaxResults": {
|
453 | "type": "integer"
|
454 | },
|
455 | "NextToken": {}
|
456 | }
|
457 | },
|
458 | "output": {
|
459 | "type": "structure",
|
460 | "members": {
|
461 | "Tags": {
|
462 | "shape": "S7"
|
463 | },
|
464 | "NextToken": {}
|
465 | }
|
466 | }
|
467 | },
|
468 | "ListTaskExecutions": {
|
469 | "input": {
|
470 | "type": "structure",
|
471 | "members": {
|
472 | "TaskArn": {},
|
473 | "MaxResults": {
|
474 | "type": "integer"
|
475 | },
|
476 | "NextToken": {}
|
477 | }
|
478 | },
|
479 | "output": {
|
480 | "type": "structure",
|
481 | "members": {
|
482 | "TaskExecutions": {
|
483 | "type": "list",
|
484 | "member": {
|
485 | "type": "structure",
|
486 | "members": {
|
487 | "TaskExecutionArn": {},
|
488 | "Status": {}
|
489 | }
|
490 | }
|
491 | },
|
492 | "NextToken": {}
|
493 | }
|
494 | }
|
495 | },
|
496 | "ListTasks": {
|
497 | "input": {
|
498 | "type": "structure",
|
499 | "members": {
|
500 | "MaxResults": {
|
501 | "type": "integer"
|
502 | },
|
503 | "NextToken": {}
|
504 | }
|
505 | },
|
506 | "output": {
|
507 | "type": "structure",
|
508 | "members": {
|
509 | "Tasks": {
|
510 | "type": "list",
|
511 | "member": {
|
512 | "type": "structure",
|
513 | "members": {
|
514 | "TaskArn": {},
|
515 | "Status": {},
|
516 | "Name": {}
|
517 | }
|
518 | }
|
519 | },
|
520 | "NextToken": {}
|
521 | }
|
522 | }
|
523 | },
|
524 | "StartTaskExecution": {
|
525 | "input": {
|
526 | "type": "structure",
|
527 | "required": [
|
528 | "TaskArn"
|
529 | ],
|
530 | "members": {
|
531 | "TaskArn": {},
|
532 | "OverrideOptions": {
|
533 | "shape": "Sx"
|
534 | }
|
535 | }
|
536 | },
|
537 | "output": {
|
538 | "type": "structure",
|
539 | "members": {
|
540 | "TaskExecutionArn": {}
|
541 | }
|
542 | }
|
543 | },
|
544 | "TagResource": {
|
545 | "input": {
|
546 | "type": "structure",
|
547 | "required": [
|
548 | "ResourceArn",
|
549 | "Tags"
|
550 | ],
|
551 | "members": {
|
552 | "ResourceArn": {},
|
553 | "Tags": {
|
554 | "shape": "S7"
|
555 | }
|
556 | }
|
557 | },
|
558 | "output": {
|
559 | "type": "structure",
|
560 | "members": {}
|
561 | }
|
562 | },
|
563 | "UntagResource": {
|
564 | "input": {
|
565 | "type": "structure",
|
566 | "required": [
|
567 | "ResourceArn",
|
568 | "Keys"
|
569 | ],
|
570 | "members": {
|
571 | "ResourceArn": {},
|
572 | "Keys": {
|
573 | "type": "list",
|
574 | "member": {}
|
575 | }
|
576 | }
|
577 | },
|
578 | "output": {
|
579 | "type": "structure",
|
580 | "members": {}
|
581 | }
|
582 | },
|
583 | "UpdateAgent": {
|
584 | "input": {
|
585 | "type": "structure",
|
586 | "required": [
|
587 | "AgentArn"
|
588 | ],
|
589 | "members": {
|
590 | "AgentArn": {},
|
591 | "Name": {}
|
592 | }
|
593 | },
|
594 | "output": {
|
595 | "type": "structure",
|
596 | "members": {}
|
597 | }
|
598 | },
|
599 | "UpdateTask": {
|
600 | "input": {
|
601 | "type": "structure",
|
602 | "required": [
|
603 | "TaskArn"
|
604 | ],
|
605 | "members": {
|
606 | "TaskArn": {},
|
607 | "Options": {
|
608 | "shape": "Sx"
|
609 | },
|
610 | "Name": {}
|
611 | }
|
612 | },
|
613 | "output": {
|
614 | "type": "structure",
|
615 | "members": {}
|
616 | }
|
617 | }
|
618 | },
|
619 | "shapes": {
|
620 | "S7": {
|
621 | "type": "list",
|
622 | "member": {
|
623 | "type": "structure",
|
624 | "members": {
|
625 | "Key": {},
|
626 | "Value": {}
|
627 | }
|
628 | }
|
629 | },
|
630 | "Sf": {
|
631 | "type": "structure",
|
632 | "required": [
|
633 | "SubnetArn",
|
634 | "SecurityGroupArns"
|
635 | ],
|
636 | "members": {
|
637 | "SubnetArn": {},
|
638 | "SecurityGroupArns": {
|
639 | "type": "list",
|
640 | "member": {}
|
641 | }
|
642 | }
|
643 | },
|
644 | "Sn": {
|
645 | "type": "structure",
|
646 | "required": [
|
647 | "AgentArns"
|
648 | ],
|
649 | "members": {
|
650 | "AgentArns": {
|
651 | "type": "list",
|
652 | "member": {}
|
653 | }
|
654 | }
|
655 | },
|
656 | "Ss": {
|
657 | "type": "structure",
|
658 | "required": [
|
659 | "BucketAccessRoleArn"
|
660 | ],
|
661 | "members": {
|
662 | "BucketAccessRoleArn": {}
|
663 | }
|
664 | },
|
665 | "Sx": {
|
666 | "type": "structure",
|
667 | "members": {
|
668 | "VerifyMode": {},
|
669 | "Atime": {},
|
670 | "Mtime": {},
|
671 | "Uid": {},
|
672 | "Gid": {},
|
673 | "PreserveDeletedFiles": {},
|
674 | "PreserveDevices": {},
|
675 | "PosixPermissions": {},
|
676 | "BytesPerSecond": {
|
677 | "type": "long"
|
678 | }
|
679 | }
|
680 | }
|
681 | }
|
682 | } |
\ | No newline at end of file |