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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'RealTranslationAgent', 'version' => '2026-06-22'],
'directories' => ['CancelTranslationTask', 'GetOriginalFileUrl', 'GetTranslatedFileUrl', 'GetTranslationTask', 'ListTranslationTasks', 'SubmitTranslationTask', 'UploadTranslationFile'],
'components' => [
'schemas' => [],
],
'apis' => [
'CancelTranslationTask' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'formData',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'f9c35b0453b'],
],
[
'name' => 'APIKey',
'in' => 'query',
'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'sk-5****7'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<TranslationSubmitResultDTO>',
'description' => '\\-',
'type' => 'object',
'properties' => [
'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'successful'],
'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'F22CA868-601F-50D1-99B2-520491F25EB7'],
'Data' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b'],
'Status' => [
'description' => '',
'type' => 'string',
'enumValueTitles' => ['CANCELLED' => '', 'COMPLETED' => '', 'FAILED' => '', 'PROCESSING' => '', 'PENDING' => '', 'ANALYZED' => ''],
'example' => 'CANCEL',
],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"F22CA868-601F-50D1-99B2-520491F25EB7\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"f9c35b0453b\\",\\n \\"Status\\": \\"CANCEL\\"\\n }\\n}","type":"json"}]',
'changeSet' => [],
],
'GetOriginalFileUrl' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'formData',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'f9c35b0453b'],
],
[
'name' => 'APIKey',
'in' => 'query',
'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<FileDownloadUrlDTO>',
'description' => '\\-',
'type' => 'object',
'properties' => [
'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => '9F80A58B-DFBA-55A1-B9D2-819B32904127'],
'Data' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'DownloadUrl' => ['description' => '', 'type' => 'string', 'example' => 'https://gtm-translate-service-prod.oss-cn-zhangjiakou.aliyuncs.com/translations/replaced/a_file_992736840.pptx?Expires=1782738716&OSSAccessKeyId=STS.NZm6TgFWU2sgpBxs2UD154B9w&Signature=uPORIIsYjiwRFzoyNUN8Htnwdfc%3D&security-token=CAIS3gJ1q6Ft5B2yfSjIr5nYfe7Tq4h0hbGMcmTJlzIASL4Z24eSlTz2IHhMf3FtAuwft%2FU0mWFW7foSlrp6SJtIXleCZtF94oxN9h2gb4fb4woBanWd08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0OC1ACnmrdM%2FdupesL0MPMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onGWwQKv0zfYrGJo4M0cF9jLqcmHutYtvH6jvlxpuGWjInt1RdGMKRHXj7YAZy63dDYCHRtm2ect12R0R3spTPvXvGd22tMCfkrqw7Ahz2PACvRGM5dh0AbW042tZHwaHNHYcJrPu9YH1QLobvGc7TkCSYBIdG7lRJ8EPtayyu0U3F2gASJGhqAATkIHCzHZWyr%2F8WJFcinsIxuI8iYoH3pOTZ2HJgDW38Zbu0NqMZmH%2BbRahVPiN7s4ckYmF50hCbgXt%2BdD9R6jB%2BkNufrVtN%2FAVgRMLOeEn2FZF0CCLlyjaIqq8QIxaPpDSLxpV6wZSh5enenoKm%2B1wunWRdd0gwG03k%2F4RCcDbb%2FIAA%3D'],
'FileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'],
'ExpireTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1774147442'],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"9F80A58B-DFBA-55A1-B9D2-819B32904127\\",\\n \\"Data\\": {\\n \\"DownloadUrl\\": \\"https://gtm-translate-service-prod.oss-cn-zhangjiakou.aliyuncs.com/translations/replaced/a_file_992736840.pptx?Expires=1782738716&OSSAccessKeyId=STS.NZm6TgFWU2sgpBxs2UD154B9w&Signature=uPORIIsYjiwRFzoyNUN8Htnwdfc%3D&security-token=CAIS3gJ1q6Ft5B2yfSjIr5nYfe7Tq4h0hbGMcmTJlzIASL4Z24eSlTz2IHhMf3FtAuwft%2FU0mWFW7foSlrp6SJtIXleCZtF94oxN9h2gb4fb4woBanWd08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0OC1ACnmrdM%2FdupesL0MPMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onGWwQKv0zfYrGJo4M0cF9jLqcmHutYtvH6jvlxpuGWjInt1RdGMKRHXj7YAZy63dDYCHRtm2ect12R0R3spTPvXvGd22tMCfkrqw7Ahz2PACvRGM5dh0AbW042tZHwaHNHYcJrPu9YH1QLobvGc7TkCSYBIdG7lRJ8EPtayyu0U3F2gASJGhqAATkIHCzHZWyr%2F8WJFcinsIxuI8iYoH3pOTZ2HJgDW38Zbu0NqMZmH%2BbRahVPiN7s4ckYmF50hCbgXt%2BdD9R6jB%2BkNufrVtN%2FAVgRMLOeEn2FZF0CCLlyjaIqq8QIxaPpDSLxpV6wZSh5enenoKm%2B1wunWRdd0gwG03k%2F4RCcDbb%2FIAA%3D\\",\\n \\"FileName\\": \\"translated_a_file.pptx\\",\\n \\"ExpireTime\\": 1774147442\\n }\\n}","type":"json"}]',
'changeSet' => [],
],
'GetTranslatedFileUrl' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'formData',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'f9c35b0453b'],
],
[
'name' => 'APIKey',
'in' => 'query',
'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'sk-1***s'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<FileDownloadUrlDTO>',
'description' => '\\-',
'type' => 'object',
'properties' => [
'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => '18D108E8-9625-5A26-BF0C-23EA0A2646B3'],
'Data' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'DownloadUrl' => ['description' => '', 'type' => 'string', 'example' => 'https://gtm-translate-service-prod.oss-cn-zhangjiakou.aliyuncs.com/translations/replaced/a_file_992736840.pptx?Expires=1782738716&OSSAccessKeyId=STS.NZm6TgFWU2sgpBxs2UD154B9w&Signature=uPORIIsYjiwRFzoyNUN8Htnwdfc%3D&security-token=CAIS3gJ1q6Ft5B2yfSjIr5nYfe7Tq4h0hbGMcmTJlzIASL4Z24eSlTz2IHhMf3FtAuwft%2FU0mWFW7foSlrp6SJtIXleCZtF94oxN9h2gb4fb4woBanWd08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0OC1ACnmrdM%2FdupesL0MPMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onGWwQKv0zfYrGJo4M0cF9jLqcmHutYtvH6jvlxpuGWjInt1RdGMKRHXj7YAZy63dDYCHRtm2ect12R0R3spTPvXvGd22tMCfkrqw7Ahz2PACvRGM5dh0AbW042tZHwaHNHYcJrPu9YH1QLobvGc7TkCSYBIdG7lRJ8EPtayyu0U3F2gASJGhqAATkIHCzHZWyr%2F8WJFcinsIxuI8iYoH3pOTZ2HJgDW38Zbu0NqMZmH%2BbRahVPiN7s4ckYmF50hCbgXt%2BdD9R6jB%2BkNufrVtN%2FAVgRMLOeEn2FZF0CCLlyjaIqq8QIxaPpDSLxpV6wZSh5enenoKm%2B1wunWRdd0gwG03k%2F4RCcDbb%2FIAA%3D'],
'FileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'],
'ExpireTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1774147442'],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"18D108E8-9625-5A26-BF0C-23EA0A2646B3\\",\\n \\"Data\\": {\\n \\"DownloadUrl\\": \\"https://gtm-translate-service-prod.oss-cn-zhangjiakou.aliyuncs.com/translations/replaced/a_file_992736840.pptx?Expires=1782738716&OSSAccessKeyId=STS.NZm6TgFWU2sgpBxs2UD154B9w&Signature=uPORIIsYjiwRFzoyNUN8Htnwdfc%3D&security-token=CAIS3gJ1q6Ft5B2yfSjIr5nYfe7Tq4h0hbGMcmTJlzIASL4Z24eSlTz2IHhMf3FtAuwft%2FU0mWFW7foSlrp6SJtIXleCZtF94oxN9h2gb4fb4woBanWd08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0OC1ACnmrdM%2FdupesL0MPMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onGWwQKv0zfYrGJo4M0cF9jLqcmHutYtvH6jvlxpuGWjInt1RdGMKRHXj7YAZy63dDYCHRtm2ect12R0R3spTPvXvGd22tMCfkrqw7Ahz2PACvRGM5dh0AbW042tZHwaHNHYcJrPu9YH1QLobvGc7TkCSYBIdG7lRJ8EPtayyu0U3F2gASJGhqAATkIHCzHZWyr%2F8WJFcinsIxuI8iYoH3pOTZ2HJgDW38Zbu0NqMZmH%2BbRahVPiN7s4ckYmF50hCbgXt%2BdD9R6jB%2BkNufrVtN%2FAVgRMLOeEn2FZF0CCLlyjaIqq8QIxaPpDSLxpV6wZSh5enenoKm%2B1wunWRdd0gwG03k%2F4RCcDbb%2FIAA%3D\\",\\n \\"FileName\\": \\"translated_a_file.pptx\\",\\n \\"ExpireTime\\": 1774147442\\n }\\n}","type":"json"}]',
'changeSet' => [],
],
'GetTranslationTask' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'formData',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'f9c35b0453b'],
],
[
'name' => 'APIKey',
'in' => 'query',
'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<TranslationTaskDetailDTO>',
'description' => '\\-',
'type' => 'object',
'properties' => [
'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'successful'],
'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'EDD51FD8-93E0-5161-BCA6-38A8393F26D9'],
'Data' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b'],
'BaseTaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b'],
'OriginalFileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'],
'Status' => [
'description' => '',
'type' => 'string',
'enumValueTitles' => ['CANCELLED' => '', 'COMPLETED' => '', 'FAILED' => '', 'PROCESSING' => '', 'PENDING' => '', 'ANALYZED' => ''],
'example' => 'PROCESSING',
],
'Progress' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '90'],
'Config' => [
'description' => '',
'type' => 'object',
'properties' => [
'SourceLanguage' => ['description' => '', 'type' => 'string', 'example' => 'zh'],
'TargetLanguage' => ['description' => '', 'type' => 'string', 'example' => 'en'],
'Style' => ['description' => '', 'type' => 'string', 'example' => 'minimal'],
'SecurityLevel' => ['description' => '', 'type' => 'string', 'example' => 'public'],
'Template' => ['description' => '', 'type' => 'string', 'example' => 'common'],
],
],
'WordCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1600'],
'PageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'FileFormat' => ['description' => '', 'type' => 'string', 'example' => 'PPTX'],
'FileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'],
'TaskType' => [
'description' => '',
'type' => 'string',
'enumValueTitles' => ['DOCUMENT' => ''],
'example' => 'DOCUMENT',
],
'EstimatedCostCredits' => ['description' => '', 'type' => 'number', 'format' => 'double', 'example' => '2.5510'],
'EstimatedTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '40000'],
'CostCredits' => ['description' => '', 'type' => 'number', 'format' => 'double', 'example' => '2.5510'],
'CostTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '43'],
'FinishedAt' => ['description' => '', 'type' => 'string', 'example' => '1774147442'],
'ErrorMessage' => ['description' => '', 'type' => 'string', 'example' => 'error'],
'Fonts' => [
'description' => '',
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
'items' => ['type' => 'string', 'example' => '{'."\n"
.' "default": ['."\n"
.' "Arial",'."\n"
.' "Calibri",'."\n"
.' "Times New Roman"'."\n"
.' ],'."\n"
.' "ja": ['."\n"
.' "MS Mincho",'."\n"
.' "Yu Mincho",'."\n"
.' "Meiryo"'."\n"
.' ],'."\n"
.' "en": ['."\n"
.' "Times New Roman",'."\n"
.' "Calibri",'."\n"
.' "Arial"'."\n"
.' ],'."\n"
.' "id": ['."\n"
.' "Arial",'."\n"
.' "Calibri",'."\n"
.' "Times New Roman"'."\n"
.' ],'."\n"
.' "fr": ['."\n"
.' "Calibri",'."\n"
.' "Arial",'."\n"
.' "Marianne"'."\n"
.' ]'."\n"
.'}', 'description' => ''],
'description' => '',
],
],
'WorkSpaceId' => ['description' => '', 'type' => 'string', 'example' => 'c2b898f******c985c'],
'OrgId' => ['description' => '', 'type' => 'string', 'example' => 'org_e5b74*****9c94209'],
'ExtractedTerms' => [
'description' => '',
'type' => 'array',
'items' => [
'description' => '\\-',
'type' => 'object',
'properties' => [
'SourceTerm' => ['description' => '', 'type' => 'string', 'example' => ''],
'TargetTerm' => ['description' => '', 'type' => 'string', 'example' => 'dog'],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"EDD51FD8-93E0-5161-BCA6-38A8393F26D9\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"f9c35b0453b\\",\\n \\"BaseTaskId\\": \\"f9c35b0453b\\",\\n \\"OriginalFileName\\": \\"translated_a_file.pptx\\",\\n \\"Status\\": \\"PROCESSING\\",\\n \\"Progress\\": 90,\\n \\"Config\\": {\\n \\"SourceLanguage\\": \\"zh\\",\\n \\"TargetLanguage\\": \\"en\\",\\n \\"Style\\": \\"minimal\\",\\n \\"SecurityLevel\\": \\"public\\",\\n \\"Template\\": \\"common\\"\\n },\\n \\"WordCount\\": 1600,\\n \\"PageCount\\": 0,\\n \\"FileFormat\\": \\"PPTX\\",\\n \\"FileName\\": \\"translated_a_file.pptx\\",\\n \\"TaskType\\": \\"DOCUMENT\\",\\n \\"EstimatedCostCredits\\": 2.551,\\n \\"EstimatedTime\\": 40000,\\n \\"CostCredits\\": 2.551,\\n \\"CostTime\\": 43,\\n \\"FinishedAt\\": \\"1774147442\\",\\n \\"ErrorMessage\\": \\"error\\",\\n \\"Fonts\\": {\\n \\"key\\": [\\n \\"{\\\\n \\\\\\"default\\\\\\": [\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Times New Roman\\\\\\"\\\\n ],\\\\n \\\\\\"ja\\\\\\": [\\\\n \\\\\\"MS Mincho\\\\\\",\\\\n \\\\\\"Yu Mincho\\\\\\",\\\\n \\\\\\"Meiryo\\\\\\"\\\\n ],\\\\n \\\\\\"en\\\\\\": [\\\\n \\\\\\"Times New Roman\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Arial\\\\\\"\\\\n ],\\\\n \\\\\\"id\\\\\\": [\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Times New Roman\\\\\\"\\\\n ],\\\\n \\\\\\"fr\\\\\\": [\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Marianne\\\\\\"\\\\n ]\\\\n}\\"\\n ]\\n },\\n \\"WorkSpaceId\\": \\"c2b898f******c985c\\",\\n \\"OrgId\\": \\"org_e5b74*****9c94209\\",\\n \\"ExtractedTerms\\": [\\n {\\n \\"SourceTerm\\": \\"\\",\\n \\"TargetTerm\\": \\"dog\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'changeSet' => [],
],
'ListTranslationTasks' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '0', 'exclusiveMinimum' => true, 'example' => '10', 'default' => '10'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6lkCoZlXVoygoU1omMcKBVc'],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'f9c35b0453b'],
],
[
'name' => 'OriginalFileName',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'translated_a_file.pptx'],
],
[
'name' => 'SourceLanguage',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'TargetLanguage',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'PROCESSING'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2026-06-26 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2026-06-27 00:00:00'],
],
[
'name' => 'APIKey',
'in' => 'query',
'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'sk-1***s'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<PageResult<TranslationTaskItemDTO>>',
'description' => '\\-',
'type' => 'object',
'properties' => [
'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => '50ABF118-2F9D-51DF-B1FB-1E389817DC47'],
'Data' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'List' => [
'title' => '',
'description' => '',
'type' => 'array',
'items' => [
'description' => '',
'type' => 'object',
'properties' => [
'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b'],
'OriginalFileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'],
'Template' => ['description' => '', 'type' => 'string', 'example' => 'common'],
'SourceLanguage' => ['description' => '', 'type' => 'string', 'example' => 'zh'],
'TargetLanguage' => ['description' => '', 'type' => 'string', 'example' => 'en'],
'Creator' => ['description' => '', 'type' => 'string', 'example' => 'acc_93****c936'],
'CreatorName' => ['description' => '', 'type' => 'string', 'example' => 'tes_account@test.com'],
'StartTime' => ['description' => '', 'type' => 'string', 'example' => '1782459562000'],
'GmtCreate' => ['description' => '', 'type' => 'string', 'example' => '1782459562000'],
'CompleteTime' => ['description' => '', 'type' => 'string', 'example' => '1782459562000'],
'CostTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '196'],
'Status' => ['description' => '', 'type' => 'string', 'example' => 'CANCELLED'],
'Progress' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '61'],
'ErrorMessage' => ['description' => '', 'type' => 'string', 'example' => 'device offline'],
'WorkSpaceId' => ['description' => '', 'type' => 'string', 'example' => '6458351*****0cc5'],
'OrgId' => ['description' => '', 'type' => 'string', 'example' => 'org_c6******cdc2ce7'],
'CostCredits' => ['description' => '', 'type' => 'number', 'format' => 'double', 'example' => '81.2992'],
'WordCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1600'],
'PageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '21'],
'FileFormat' => ['description' => '', 'type' => 'string', 'example' => 'PPTX'],
'FileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'],
'TaskType' => ['description' => '', 'type' => 'string', 'example' => 'DOCUMENT'],
],
],
],
'Total' => ['title' => '', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'MaxResults' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'NextToken' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAVpfrV4aVmra0dxbtRB74lmSGzegoejeIqxIET/WdX50'],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"50ABF118-2F9D-51DF-B1FB-1E389817DC47\\",\\n \\"Data\\": {\\n \\"List\\": [\\n {\\n \\"TaskId\\": \\"f9c35b0453b\\",\\n \\"OriginalFileName\\": \\"translated_a_file.pptx\\",\\n \\"Template\\": \\"common\\",\\n \\"SourceLanguage\\": \\"zh\\",\\n \\"TargetLanguage\\": \\"en\\",\\n \\"Creator\\": \\"acc_93****c936\\",\\n \\"CreatorName\\": \\"tes_account@test.com\\",\\n \\"StartTime\\": \\"1782459562000\\",\\n \\"GmtCreate\\": \\"1782459562000\\",\\n \\"CompleteTime\\": \\"1782459562000\\",\\n \\"CostTime\\": 196,\\n \\"Status\\": \\"CANCELLED\\",\\n \\"Progress\\": 61,\\n \\"ErrorMessage\\": \\"device offline\\",\\n \\"WorkSpaceId\\": \\"6458351*****0cc5\\",\\n \\"OrgId\\": \\"org_c6******cdc2ce7\\",\\n \\"CostCredits\\": 81.2992,\\n \\"WordCount\\": 1600,\\n \\"PageCount\\": 21,\\n \\"FileFormat\\": \\"PPTX\\",\\n \\"FileName\\": \\"translated_a_file.pptx\\",\\n \\"TaskType\\": \\"DOCUMENT\\"\\n }\\n ],\\n \\"Total\\": 5,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"AAAAAVpfrV4aVmra0dxbtRB74lmSGzegoejeIqxIET/WdX50\\"\\n }\\n}","type":"json"}]',
'changeSet' => [],
'ramActions' => [],
],
'SubmitTranslationTask' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'formData',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'f9c35b0453b'],
],
[
'name' => 'BaseTaskId',
'in' => 'formData',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'f9c35b0453b'],
],
[
'name' => 'Config',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => '',
'type' => 'object',
'properties' => [
'SourceLanguage' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'zh'],
'TargetLanguage' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'en'],
'Style' => [
'description' => '',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['normal' => '', 'minimal' => ''],
'example' => 'minimal',
],
'Font' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'Arial'],
],
'required' => true,
'example' => '{'."\n"
.' "SourceLanguage": "zh",'."\n"
.' "TargetLanguage": "en",'."\n"
.' "Style": "minimal",'."\n"
.' "Font": "Arial"'."\n"
.' }',
],
],
[
'name' => 'APIKey',
'in' => 'query',
'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***'],
],
[
'name' => 'CustomTerms',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => '',
'type' => 'array',
'items' => [
'description' => '\\-',
'type' => 'object',
'properties' => [
'SourceTerm' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
'TargetTerm' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'dog'],
],
'required' => false,
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<TranslationSubmitResultDTO>',
'description' => '\\-',
'type' => 'object',
'properties' => [
'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'F6E6D23C-D6FC-5AD4-B90B-1E32850393AB'],
'Data' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b'],
'Status' => [
'description' => '',
'type' => 'string',
'enumValueTitles' => ['CANCELLED' => '', 'COMPLETED' => '', 'FAILED' => '', 'PROCESSING' => '', 'PENDING' => '', 'ANALYZED' => ''],
'example' => 'COMPLETED',
],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"F6E6D23C-D6FC-5AD4-B90B-1E32850393AB\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"f9c35b0453b\\",\\n \\"Status\\": \\"COMPLETED\\"\\n }\\n}","type":"json"}]',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
],
'UploadTranslationFile' => [
'summary' => '',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'APIKey',
'in' => 'query',
'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'sk-2***s'],
],
[
'name' => 'File',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'http://gtm-pop-file-upload-zhangjiakou.oss-cn-zhangjiakou.aliyuncs.com/467a_208353582454045230_c8a22285d0b14873aefdcb7eaa7f9046', 'isFileTransferUrl' => true, 'title' => ''],
],
[
'name' => 'FileName',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'testfile_202511.txt', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '\\-',
'type' => 'object',
'properties' => [
'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'],
'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'F60AC23C-27A7-5376-9A68-0B6EF2D4F9E4'],
'Data' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b', 'title' => ''],
'WordCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2000', 'title' => ''],
'PageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'EstimatedCostCredits' => ['description' => '', 'type' => 'number', 'format' => 'double', 'example' => '3.0021', 'title' => ''],
'EstimatedTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '60000', 'title' => ''],
'DetectedLang' => [
'description' => '',
'type' => 'string',
'enumValueTitles' => ['de' => '', 'ko' => '', 'ja' => '', 'en' => '', 'fr' => '', 'zh' => ''],
'example' => 'zh',
'title' => '',
],
'CreditBreakdown' => ['description' => '', 'type' => 'string', 'example' => 'docx: 0.002 creadits/word × 1000 words (original 2 characters rounded up to nearest thousand) / 1000 = 0.002'."\n"
."\n", 'title' => ''],
'CreditsAvailable' => ['description' => '', 'type' => 'boolean', 'example' => 'True', 'title' => ''],
'Fonts' => [
'description' => '',
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
'items' => ['type' => 'string', 'example' => '{'."\n"
.' "default": ['."\n"
.' "Arial",'."\n"
.' "Calibri",'."\n"
.' "Times New Roman"'."\n"
.' ],'."\n"
.' "ja": ['."\n"
.' "MS Mincho",'."\n"
.' "Yu Mincho",'."\n"
.' "Meiryo"'."\n"
.' ],'."\n"
.' "en": ['."\n"
.' "Times New Roman",'."\n"
.' "Calibri",'."\n"
.' "Arial"'."\n"
.' ],'."\n"
.' "id": ['."\n"
.' "Arial",'."\n"
.' "Calibri",'."\n"
.' "Times New Roman"'."\n"
.' ],'."\n"
.' "fr": ['."\n"
.' "Calibri",'."\n"
.' "Arial",'."\n"
.' "Marianne"'."\n"
.' ]'."\n"
.'}', 'description' => '', 'title' => ''],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'SensitiveDetected' => ['description' => '', 'type' => 'boolean', 'example' => 'True', 'title' => ''],
'SensitiveTags' => [
'description' => '',
'type' => 'array',
'items' => ['description' => '', 'type' => 'string', 'example' => '["Trade Secrets", "Account Credentials"]'."\n"
."\n", 'title' => ''],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
'example' => '',
],
],
],
'title' => '',
'description' => '> - 本接口仅涉及文档上传与信息预估,**不产生任何费用**,Credits 消耗将在您**正式提交翻译**任务后开始计算。'."\n"
."\n\n"
.'**语种检测**'."\n"
."\n"
.'系统将自动检测上传文档的语言类型,当前支持中文。'."\n"
."\n"
.'**敏感信息检测**'."\n"
."\n"
.'系统将对上传的文档进行敏感信息检测。若检测到敏感信息,返回结果中 `SensitiveDetected` 字段值为 `true`,并通过 `SensitiveTags` 字段返回命中的关键词列表。'."\n"
.'> - 您可根据实际情况决定是否继续提交翻译任务。'."\n"
.'> - 若您提交任务时的翻译效果设置为极致模式,系统会自动将涉及敏感信息**部分的内容**调整为 auto 模式。'."\n"
."\n\n"
.'**注意事项**'."\n"
."\n"
.'- 请确保上传的文档格式受系统支持,否则可能导致解析失败。'."\n"
.'- 返回结果中的 `EstimatedCostCredits` 为预估消耗 Credits,实际消耗以正式提交翻译任务后的结算为准。'."\n"
.'- 返回结果中的 `EstimatedTime` 为预估翻译时长,单位为毫秒,实际翻译时长可能因文档复杂度存在差异。'."\n"
.'- 返回结果中的 `Fonts` 字段为支持修改字体的语言及对应字体列表,您可根据目标语言选择合适的字体。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"F60AC23C-27A7-5376-9A68-0B6EF2D4F9E4\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"f9c35b0453b\\",\\n \\"WordCount\\": 2000,\\n \\"PageCount\\": 10,\\n \\"EstimatedCostCredits\\": 3.0021,\\n \\"EstimatedTime\\": 60000,\\n \\"DetectedLang\\": \\"zh\\",\\n \\"CreditBreakdown\\": \\"docx: 0.002 creadits/word × 1000 words (original 2 characters rounded up to nearest thousand) / 1000 = 0.002\\\\n\\\\n\\",\\n \\"CreditsAvailable\\": true,\\n \\"Fonts\\": {\\n \\"key\\": [\\n \\"{\\\\n \\\\\\"default\\\\\\": [\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Times New Roman\\\\\\"\\\\n ],\\\\n \\\\\\"ja\\\\\\": [\\\\n \\\\\\"MS Mincho\\\\\\",\\\\n \\\\\\"Yu Mincho\\\\\\",\\\\n \\\\\\"Meiryo\\\\\\"\\\\n ],\\\\n \\\\\\"en\\\\\\": [\\\\n \\\\\\"Times New Roman\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Arial\\\\\\"\\\\n ],\\\\n \\\\\\"id\\\\\\": [\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Times New Roman\\\\\\"\\\\n ],\\\\n \\\\\\"fr\\\\\\": [\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Marianne\\\\\\"\\\\n ]\\\\n}\\"\\n ]\\n },\\n \\"SensitiveDetected\\": true,\\n \\"SensitiveTags\\": [\\n \\"[\\\\\\"Trade Secrets\\\\\\", \\\\\\"Account Credentials\\\\\\"]\\\\n\\\\n\\"\\n ]\\n }\\n}","type":"json"}]',
],
],
'endpoints' => [
['regionId' => 'public', 'regionName' => 'Public network', 'areaId' => 'other', 'areaName' => 'Other', 'public' => 'realtranslationagent.aliyuncs.com', 'endpoint' => 'realtranslationagent.aliyuncs.com', 'vpc' => ''],
],
'errorCodes' => [],
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ram' => [
'productCode' => 'RealTranslationAgent',
'productName' => 'innovative swproduct',
'ramCodes' => ['realtranslationagent'],
'ramLevel' => 'OPERATION',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'SubmitTranslationTask',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'realtranslationagent:SubmitTranslationTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CancelTranslationTask',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'realtranslationagent:CancelTranslationTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetTranslatedFileUrl',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'realtranslationagent:GetTranslatedFileUrl',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UploadTranslationFile',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'realtranslationagent:UploadTranslationFile',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListTranslationTasks',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'realtranslationagent:ListTranslationTasks',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetOriginalFileUrl',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'realtranslationagent:GetOriginalFileUrl',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetTranslationTask',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'realtranslationagent:GetTranslationTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];
|