tccli 3.0.1224.1__py2.py3-none-any.whl → 3.0.1226.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/autoscaling/v20180419/api.json +11 -0
  3. tccli/services/batch/v20170312/api.json +33 -11
  4. tccli/services/billing/v20180709/api.json +60 -30
  5. tccli/services/billing/v20180709/examples.json +7 -7
  6. tccli/services/cbs/v20170312/api.json +1 -1
  7. tccli/services/cdb/v20170320/api.json +218 -2
  8. tccli/services/cdb/v20170320/examples.json +3 -3
  9. tccli/services/cdwdoris/v20211228/api.json +1 -1
  10. tccli/services/ckafka/v20190819/api.json +791 -679
  11. tccli/services/cvm/v20170312/api.json +33 -11
  12. tccli/services/cwp/v20180228/api.json +1 -1
  13. tccli/services/cynosdb/v20190107/api.json +4 -4
  14. tccli/services/dts/v20211206/api.json +21 -1
  15. tccli/services/ess/v20201111/api.json +2 -2
  16. tccli/services/ess/v20201111/examples.json +2 -2
  17. tccli/services/essbasic/v20210526/api.json +2 -2
  18. tccli/services/essbasic/v20210526/examples.json +2 -2
  19. tccli/services/faceid/v20180301/api.json +1 -1
  20. tccli/services/hunyuan/hunyuan_client.py +53 -0
  21. tccli/services/hunyuan/v20230901/api.json +297 -0
  22. tccli/services/hunyuan/v20230901/examples.json +8 -0
  23. tccli/services/ims/v20201229/api.json +2 -2
  24. tccli/services/iotexplorer/v20190423/api.json +11 -11
  25. tccli/services/lcic/v20220817/api.json +1 -1
  26. tccli/services/live/live_client.py +548 -71
  27. tccli/services/live/v20180801/api.json +803 -45
  28. tccli/services/live/v20180801/examples.json +73 -1
  29. tccli/services/lke/v20231130/api.json +1 -1
  30. tccli/services/mps/v20190612/api.json +174 -13
  31. tccli/services/mrs/v20200910/api.json +4217 -4211
  32. tccli/services/mrs/v20200910/examples.json +14 -14
  33. tccli/services/ocr/ocr_client.py +0 -53
  34. tccli/services/ocr/v20181119/api.json +0 -162
  35. tccli/services/ocr/v20181119/examples.json +0 -8
  36. tccli/services/scf/v20180416/api.json +1 -1
  37. tccli/services/teo/teo_client.py +159 -0
  38. tccli/services/teo/v20220901/api.json +199 -0
  39. tccli/services/teo/v20220901/examples.json +36 -0
  40. tccli/services/trtc/v20190722/api.json +20 -0
  41. tccli/services/tsf/v20180326/api.json +1287 -118
  42. tccli/services/tsf/v20180326/examples.json +5 -5
  43. tccli/services/tts/v20190823/api.json +2 -2
  44. tccli/services/vclm/v20240523/api.json +77 -6
  45. tccli/services/vclm/v20240523/examples.json +9 -1
  46. tccli/services/vclm/vclm_client.py +53 -0
  47. tccli/services/vdb/v20230616/api.json +20 -0
  48. {tccli-3.0.1224.1.dist-info → tccli-3.0.1226.1.dist-info}/METADATA +2 -2
  49. {tccli-3.0.1224.1.dist-info → tccli-3.0.1226.1.dist-info}/RECORD +52 -52
  50. {tccli-3.0.1224.1.dist-info → tccli-3.0.1226.1.dist-info}/WHEEL +0 -0
  51. {tccli-3.0.1224.1.dist-info → tccli-3.0.1226.1.dist-info}/entry_points.txt +0 -0
  52. {tccli-3.0.1224.1.dist-info → tccli-3.0.1226.1.dist-info}/license_files/LICENSE +0 -0
@@ -381,7 +381,7 @@ def doModifyLiveSnapshotTemplate(args, parsed_globals):
381
381
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
382
 
383
383
 
384
- def doDescribeRecordTask(args, parsed_globals):
384
+ def doModifyLiveRecordTemplate(args, parsed_globals):
385
385
  g_param = parse_global_arg(parsed_globals)
386
386
 
387
387
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -410,11 +410,63 @@ def doDescribeRecordTask(args, parsed_globals):
410
410
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
411
411
  client._sdkVersion += ("_CLI_" + __version__)
412
412
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
413
- model = models.DescribeRecordTaskRequest()
413
+ model = models.ModifyLiveRecordTemplateRequest()
414
414
  model.from_json_string(json.dumps(args))
415
415
  start_time = time.time()
416
416
  while True:
417
- rsp = client.DescribeRecordTask(model)
417
+ rsp = client.ModifyLiveRecordTemplate(model)
418
+ result = rsp.to_json_string()
419
+ try:
420
+ json_obj = json.loads(result)
421
+ except TypeError as e:
422
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
423
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
424
+ break
425
+ cur_time = time.time()
426
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
427
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
428
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
429
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
430
+ else:
431
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
432
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
433
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
434
+
435
+
436
+ def doStopCasterPvw(args, parsed_globals):
437
+ g_param = parse_global_arg(parsed_globals)
438
+
439
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
440
+ cred = credential.CVMRoleCredential()
441
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
442
+ cred = credential.STSAssumeRoleCredential(
443
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
444
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
445
+ )
446
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
447
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
448
+ else:
449
+ cred = credential.Credential(
450
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
451
+ )
452
+ http_profile = HttpProfile(
453
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
454
+ reqMethod="POST",
455
+ endpoint=g_param[OptionsDefine.Endpoint],
456
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
457
+ )
458
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
459
+ if g_param[OptionsDefine.Language]:
460
+ profile.language = g_param[OptionsDefine.Language]
461
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
462
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
463
+ client._sdkVersion += ("_CLI_" + __version__)
464
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
465
+ model = models.StopCasterPvwRequest()
466
+ model.from_json_string(json.dumps(args))
467
+ start_time = time.time()
468
+ while True:
469
+ rsp = client.StopCasterPvw(model)
418
470
  result = rsp.to_json_string()
419
471
  try:
420
472
  json_obj = json.loads(result)
@@ -1577,7 +1629,7 @@ def doAuthenticateDomainOwner(args, parsed_globals):
1577
1629
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1578
1630
 
1579
1631
 
1580
- def doModifyLiveStreamMonitor(args, parsed_globals):
1632
+ def doStopLiveStreamMonitor(args, parsed_globals):
1581
1633
  g_param = parse_global_arg(parsed_globals)
1582
1634
 
1583
1635
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1606,11 +1658,11 @@ def doModifyLiveStreamMonitor(args, parsed_globals):
1606
1658
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
1607
1659
  client._sdkVersion += ("_CLI_" + __version__)
1608
1660
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1609
- model = models.ModifyLiveStreamMonitorRequest()
1661
+ model = models.StopLiveStreamMonitorRequest()
1610
1662
  model.from_json_string(json.dumps(args))
1611
1663
  start_time = time.time()
1612
1664
  while True:
1613
- rsp = client.ModifyLiveStreamMonitor(model)
1665
+ rsp = client.StopLiveStreamMonitor(model)
1614
1666
  result = rsp.to_json_string()
1615
1667
  try:
1616
1668
  json_obj = json.loads(result)
@@ -1733,7 +1785,7 @@ def doDescribeVisitTopSumInfoList(args, parsed_globals):
1733
1785
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1734
1786
 
1735
1787
 
1736
- def doModifyLiveRecordTemplate(args, parsed_globals):
1788
+ def doDescribeRecordTask(args, parsed_globals):
1737
1789
  g_param = parse_global_arg(parsed_globals)
1738
1790
 
1739
1791
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1762,11 +1814,11 @@ def doModifyLiveRecordTemplate(args, parsed_globals):
1762
1814
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
1763
1815
  client._sdkVersion += ("_CLI_" + __version__)
1764
1816
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1765
- model = models.ModifyLiveRecordTemplateRequest()
1817
+ model = models.DescribeRecordTaskRequest()
1766
1818
  model.from_json_string(json.dumps(args))
1767
1819
  start_time = time.time()
1768
1820
  while True:
1769
- rsp = client.ModifyLiveRecordTemplate(model)
1821
+ rsp = client.DescribeRecordTask(model)
1770
1822
  result = rsp.to_json_string()
1771
1823
  try:
1772
1824
  json_obj = json.loads(result)
@@ -2045,7 +2097,7 @@ def doDescribeLiveTranscodeRules(args, parsed_globals):
2045
2097
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2046
2098
 
2047
2099
 
2048
- def doStopCasterPvw(args, parsed_globals):
2100
+ def doDescribeCasterMarkWordInfos(args, parsed_globals):
2049
2101
  g_param = parse_global_arg(parsed_globals)
2050
2102
 
2051
2103
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2074,11 +2126,11 @@ def doStopCasterPvw(args, parsed_globals):
2074
2126
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
2075
2127
  client._sdkVersion += ("_CLI_" + __version__)
2076
2128
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2077
- model = models.StopCasterPvwRequest()
2129
+ model = models.DescribeCasterMarkWordInfosRequest()
2078
2130
  model.from_json_string(json.dumps(args))
2079
2131
  start_time = time.time()
2080
2132
  while True:
2081
- rsp = client.StopCasterPvw(model)
2133
+ rsp = client.DescribeCasterMarkWordInfos(model)
2082
2134
  result = rsp.to_json_string()
2083
2135
  try:
2084
2136
  json_obj = json.loads(result)
@@ -2565,6 +2617,58 @@ def doDeleteLiveCallbackTemplate(args, parsed_globals):
2565
2617
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2566
2618
 
2567
2619
 
2620
+ def doModifyCasterMarkPicInfo(args, parsed_globals):
2621
+ g_param = parse_global_arg(parsed_globals)
2622
+
2623
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2624
+ cred = credential.CVMRoleCredential()
2625
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2626
+ cred = credential.STSAssumeRoleCredential(
2627
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2628
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2629
+ )
2630
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
2631
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2632
+ else:
2633
+ cred = credential.Credential(
2634
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2635
+ )
2636
+ http_profile = HttpProfile(
2637
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2638
+ reqMethod="POST",
2639
+ endpoint=g_param[OptionsDefine.Endpoint],
2640
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2641
+ )
2642
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2643
+ if g_param[OptionsDefine.Language]:
2644
+ profile.language = g_param[OptionsDefine.Language]
2645
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2646
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
2647
+ client._sdkVersion += ("_CLI_" + __version__)
2648
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2649
+ model = models.ModifyCasterMarkPicInfoRequest()
2650
+ model.from_json_string(json.dumps(args))
2651
+ start_time = time.time()
2652
+ while True:
2653
+ rsp = client.ModifyCasterMarkPicInfo(model)
2654
+ result = rsp.to_json_string()
2655
+ try:
2656
+ json_obj = json.loads(result)
2657
+ except TypeError as e:
2658
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2659
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2660
+ break
2661
+ cur_time = time.time()
2662
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2663
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2664
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2665
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2666
+ else:
2667
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2668
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2669
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2670
+
2671
+
2568
2672
  def doDescribeCasterPlayUrl(args, parsed_globals):
2569
2673
  g_param = parse_global_arg(parsed_globals)
2570
2674
 
@@ -2929,6 +3033,58 @@ def doStopScreenshotTask(args, parsed_globals):
2929
3033
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2930
3034
 
2931
3035
 
3036
+ def doAddCasterMarkWordInfo(args, parsed_globals):
3037
+ g_param = parse_global_arg(parsed_globals)
3038
+
3039
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3040
+ cred = credential.CVMRoleCredential()
3041
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3042
+ cred = credential.STSAssumeRoleCredential(
3043
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3044
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3045
+ )
3046
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
3047
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3048
+ else:
3049
+ cred = credential.Credential(
3050
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3051
+ )
3052
+ http_profile = HttpProfile(
3053
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3054
+ reqMethod="POST",
3055
+ endpoint=g_param[OptionsDefine.Endpoint],
3056
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3057
+ )
3058
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3059
+ if g_param[OptionsDefine.Language]:
3060
+ profile.language = g_param[OptionsDefine.Language]
3061
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3062
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
3063
+ client._sdkVersion += ("_CLI_" + __version__)
3064
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3065
+ model = models.AddCasterMarkWordInfoRequest()
3066
+ model.from_json_string(json.dumps(args))
3067
+ start_time = time.time()
3068
+ while True:
3069
+ rsp = client.AddCasterMarkWordInfo(model)
3070
+ result = rsp.to_json_string()
3071
+ try:
3072
+ json_obj = json.loads(result)
3073
+ except TypeError as e:
3074
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3075
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3076
+ break
3077
+ cur_time = time.time()
3078
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3079
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3080
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3081
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3082
+ else:
3083
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3084
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3085
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3086
+
3087
+
2932
3088
  def doDescribeMonitorReport(args, parsed_globals):
2933
3089
  g_param = parse_global_arg(parsed_globals)
2934
3090
 
@@ -3894,11 +4050,167 @@ def doCreateLivePullStreamTask(args, parsed_globals):
3894
4050
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
3895
4051
  client._sdkVersion += ("_CLI_" + __version__)
3896
4052
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3897
- model = models.CreateLivePullStreamTaskRequest()
4053
+ model = models.CreateLivePullStreamTaskRequest()
4054
+ model.from_json_string(json.dumps(args))
4055
+ start_time = time.time()
4056
+ while True:
4057
+ rsp = client.CreateLivePullStreamTask(model)
4058
+ result = rsp.to_json_string()
4059
+ try:
4060
+ json_obj = json.loads(result)
4061
+ except TypeError as e:
4062
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4063
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4064
+ break
4065
+ cur_time = time.time()
4066
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4067
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4068
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4069
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4070
+ else:
4071
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4072
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4073
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4074
+
4075
+
4076
+ def doDescribeLiveCert(args, parsed_globals):
4077
+ g_param = parse_global_arg(parsed_globals)
4078
+
4079
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4080
+ cred = credential.CVMRoleCredential()
4081
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4082
+ cred = credential.STSAssumeRoleCredential(
4083
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4084
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4085
+ )
4086
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
4087
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4088
+ else:
4089
+ cred = credential.Credential(
4090
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4091
+ )
4092
+ http_profile = HttpProfile(
4093
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4094
+ reqMethod="POST",
4095
+ endpoint=g_param[OptionsDefine.Endpoint],
4096
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4097
+ )
4098
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4099
+ if g_param[OptionsDefine.Language]:
4100
+ profile.language = g_param[OptionsDefine.Language]
4101
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4102
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4103
+ client._sdkVersion += ("_CLI_" + __version__)
4104
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4105
+ model = models.DescribeLiveCertRequest()
4106
+ model.from_json_string(json.dumps(args))
4107
+ start_time = time.time()
4108
+ while True:
4109
+ rsp = client.DescribeLiveCert(model)
4110
+ result = rsp.to_json_string()
4111
+ try:
4112
+ json_obj = json.loads(result)
4113
+ except TypeError as e:
4114
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4115
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4116
+ break
4117
+ cur_time = time.time()
4118
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4119
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4120
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4121
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4122
+ else:
4123
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4124
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4125
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4126
+
4127
+
4128
+ def doModifyLiveDomainCertBindings(args, parsed_globals):
4129
+ g_param = parse_global_arg(parsed_globals)
4130
+
4131
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4132
+ cred = credential.CVMRoleCredential()
4133
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4134
+ cred = credential.STSAssumeRoleCredential(
4135
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4136
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4137
+ )
4138
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
4139
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4140
+ else:
4141
+ cred = credential.Credential(
4142
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4143
+ )
4144
+ http_profile = HttpProfile(
4145
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4146
+ reqMethod="POST",
4147
+ endpoint=g_param[OptionsDefine.Endpoint],
4148
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4149
+ )
4150
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4151
+ if g_param[OptionsDefine.Language]:
4152
+ profile.language = g_param[OptionsDefine.Language]
4153
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4154
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4155
+ client._sdkVersion += ("_CLI_" + __version__)
4156
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4157
+ model = models.ModifyLiveDomainCertBindingsRequest()
4158
+ model.from_json_string(json.dumps(args))
4159
+ start_time = time.time()
4160
+ while True:
4161
+ rsp = client.ModifyLiveDomainCertBindings(model)
4162
+ result = rsp.to_json_string()
4163
+ try:
4164
+ json_obj = json.loads(result)
4165
+ except TypeError as e:
4166
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4167
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4168
+ break
4169
+ cur_time = time.time()
4170
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4171
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4172
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4173
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4174
+ else:
4175
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4176
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4177
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4178
+
4179
+
4180
+ def doDescribeDeliverLogDownList(args, parsed_globals):
4181
+ g_param = parse_global_arg(parsed_globals)
4182
+
4183
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4184
+ cred = credential.CVMRoleCredential()
4185
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4186
+ cred = credential.STSAssumeRoleCredential(
4187
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4188
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4189
+ )
4190
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
4191
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4192
+ else:
4193
+ cred = credential.Credential(
4194
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4195
+ )
4196
+ http_profile = HttpProfile(
4197
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4198
+ reqMethod="POST",
4199
+ endpoint=g_param[OptionsDefine.Endpoint],
4200
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4201
+ )
4202
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4203
+ if g_param[OptionsDefine.Language]:
4204
+ profile.language = g_param[OptionsDefine.Language]
4205
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4206
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4207
+ client._sdkVersion += ("_CLI_" + __version__)
4208
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4209
+ model = models.DescribeDeliverLogDownListRequest()
3898
4210
  model.from_json_string(json.dumps(args))
3899
4211
  start_time = time.time()
3900
4212
  while True:
3901
- rsp = client.CreateLivePullStreamTask(model)
4213
+ rsp = client.DescribeDeliverLogDownList(model)
3902
4214
  result = rsp.to_json_string()
3903
4215
  try:
3904
4216
  json_obj = json.loads(result)
@@ -3917,7 +4229,7 @@ def doCreateLivePullStreamTask(args, parsed_globals):
3917
4229
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3918
4230
 
3919
4231
 
3920
- def doDescribeLiveCert(args, parsed_globals):
4232
+ def doCreateCasterPgm(args, parsed_globals):
3921
4233
  g_param = parse_global_arg(parsed_globals)
3922
4234
 
3923
4235
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3946,11 +4258,11 @@ def doDescribeLiveCert(args, parsed_globals):
3946
4258
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
3947
4259
  client._sdkVersion += ("_CLI_" + __version__)
3948
4260
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3949
- model = models.DescribeLiveCertRequest()
4261
+ model = models.CreateCasterPgmRequest()
3950
4262
  model.from_json_string(json.dumps(args))
3951
4263
  start_time = time.time()
3952
4264
  while True:
3953
- rsp = client.DescribeLiveCert(model)
4265
+ rsp = client.CreateCasterPgm(model)
3954
4266
  result = rsp.to_json_string()
3955
4267
  try:
3956
4268
  json_obj = json.loads(result)
@@ -3969,7 +4281,7 @@ def doDescribeLiveCert(args, parsed_globals):
3969
4281
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3970
4282
 
3971
4283
 
3972
- def doModifyLiveDomainCertBindings(args, parsed_globals):
4284
+ def doDescribeLiveEnhanceInfoList(args, parsed_globals):
3973
4285
  g_param = parse_global_arg(parsed_globals)
3974
4286
 
3975
4287
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3998,11 +4310,11 @@ def doModifyLiveDomainCertBindings(args, parsed_globals):
3998
4310
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
3999
4311
  client._sdkVersion += ("_CLI_" + __version__)
4000
4312
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4001
- model = models.ModifyLiveDomainCertBindingsRequest()
4313
+ model = models.DescribeLiveEnhanceInfoListRequest()
4002
4314
  model.from_json_string(json.dumps(args))
4003
4315
  start_time = time.time()
4004
4316
  while True:
4005
- rsp = client.ModifyLiveDomainCertBindings(model)
4317
+ rsp = client.DescribeLiveEnhanceInfoList(model)
4006
4318
  result = rsp.to_json_string()
4007
4319
  try:
4008
4320
  json_obj = json.loads(result)
@@ -4021,7 +4333,7 @@ def doModifyLiveDomainCertBindings(args, parsed_globals):
4021
4333
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4022
4334
 
4023
4335
 
4024
- def doDescribeDeliverLogDownList(args, parsed_globals):
4336
+ def doDescribePullTransformPushInfo(args, parsed_globals):
4025
4337
  g_param = parse_global_arg(parsed_globals)
4026
4338
 
4027
4339
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4050,11 +4362,11 @@ def doDescribeDeliverLogDownList(args, parsed_globals):
4050
4362
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4051
4363
  client._sdkVersion += ("_CLI_" + __version__)
4052
4364
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4053
- model = models.DescribeDeliverLogDownListRequest()
4365
+ model = models.DescribePullTransformPushInfoRequest()
4054
4366
  model.from_json_string(json.dumps(args))
4055
4367
  start_time = time.time()
4056
4368
  while True:
4057
- rsp = client.DescribeDeliverLogDownList(model)
4369
+ rsp = client.DescribePullTransformPushInfo(model)
4058
4370
  result = rsp.to_json_string()
4059
4371
  try:
4060
4372
  json_obj = json.loads(result)
@@ -4073,7 +4385,7 @@ def doDescribeDeliverLogDownList(args, parsed_globals):
4073
4385
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4074
4386
 
4075
4387
 
4076
- def doDescribeLiveDomains(args, parsed_globals):
4388
+ def doCreateLiveCallbackTemplate(args, parsed_globals):
4077
4389
  g_param = parse_global_arg(parsed_globals)
4078
4390
 
4079
4391
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4102,11 +4414,11 @@ def doDescribeLiveDomains(args, parsed_globals):
4102
4414
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4103
4415
  client._sdkVersion += ("_CLI_" + __version__)
4104
4416
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4105
- model = models.DescribeLiveDomainsRequest()
4417
+ model = models.CreateLiveCallbackTemplateRequest()
4106
4418
  model.from_json_string(json.dumps(args))
4107
4419
  start_time = time.time()
4108
4420
  while True:
4109
- rsp = client.DescribeLiveDomains(model)
4421
+ rsp = client.CreateLiveCallbackTemplate(model)
4110
4422
  result = rsp.to_json_string()
4111
4423
  try:
4112
4424
  json_obj = json.loads(result)
@@ -4125,7 +4437,7 @@ def doDescribeLiveDomains(args, parsed_globals):
4125
4437
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4126
4438
 
4127
4439
 
4128
- def doDescribePullTransformPushInfo(args, parsed_globals):
4440
+ def doDescribeLiveDomains(args, parsed_globals):
4129
4441
  g_param = parse_global_arg(parsed_globals)
4130
4442
 
4131
4443
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4154,11 +4466,11 @@ def doDescribePullTransformPushInfo(args, parsed_globals):
4154
4466
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4155
4467
  client._sdkVersion += ("_CLI_" + __version__)
4156
4468
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4157
- model = models.DescribePullTransformPushInfoRequest()
4469
+ model = models.DescribeLiveDomainsRequest()
4158
4470
  model.from_json_string(json.dumps(args))
4159
4471
  start_time = time.time()
4160
4472
  while True:
4161
- rsp = client.DescribePullTransformPushInfo(model)
4473
+ rsp = client.DescribeLiveDomains(model)
4162
4474
  result = rsp.to_json_string()
4163
4475
  try:
4164
4476
  json_obj = json.loads(result)
@@ -4177,7 +4489,7 @@ def doDescribePullTransformPushInfo(args, parsed_globals):
4177
4489
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4178
4490
 
4179
4491
 
4180
- def doCreateLiveCallbackTemplate(args, parsed_globals):
4492
+ def doModifyCasterOutputInfo(args, parsed_globals):
4181
4493
  g_param = parse_global_arg(parsed_globals)
4182
4494
 
4183
4495
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4206,11 +4518,11 @@ def doCreateLiveCallbackTemplate(args, parsed_globals):
4206
4518
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4207
4519
  client._sdkVersion += ("_CLI_" + __version__)
4208
4520
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4209
- model = models.CreateLiveCallbackTemplateRequest()
4521
+ model = models.ModifyCasterOutputInfoRequest()
4210
4522
  model.from_json_string(json.dumps(args))
4211
4523
  start_time = time.time()
4212
4524
  while True:
4213
- rsp = client.CreateLiveCallbackTemplate(model)
4525
+ rsp = client.ModifyCasterOutputInfo(model)
4214
4526
  result = rsp.to_json_string()
4215
4527
  try:
4216
4528
  json_obj = json.loads(result)
@@ -4229,7 +4541,7 @@ def doCreateLiveCallbackTemplate(args, parsed_globals):
4229
4541
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4230
4542
 
4231
4543
 
4232
- def doCreateCasterPgm(args, parsed_globals):
4544
+ def doCreateCasterPvw(args, parsed_globals):
4233
4545
  g_param = parse_global_arg(parsed_globals)
4234
4546
 
4235
4547
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4258,11 +4570,11 @@ def doCreateCasterPgm(args, parsed_globals):
4258
4570
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4259
4571
  client._sdkVersion += ("_CLI_" + __version__)
4260
4572
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4261
- model = models.CreateCasterPgmRequest()
4573
+ model = models.CreateCasterPvwRequest()
4262
4574
  model.from_json_string(json.dumps(args))
4263
4575
  start_time = time.time()
4264
4576
  while True:
4265
- rsp = client.CreateCasterPgm(model)
4577
+ rsp = client.CreateCasterPvw(model)
4266
4578
  result = rsp.to_json_string()
4267
4579
  try:
4268
4580
  json_obj = json.loads(result)
@@ -4281,7 +4593,7 @@ def doCreateCasterPgm(args, parsed_globals):
4281
4593
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4282
4594
 
4283
4595
 
4284
- def doModifyCasterOutputInfo(args, parsed_globals):
4596
+ def doResumeLiveStream(args, parsed_globals):
4285
4597
  g_param = parse_global_arg(parsed_globals)
4286
4598
 
4287
4599
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4310,11 +4622,11 @@ def doModifyCasterOutputInfo(args, parsed_globals):
4310
4622
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4311
4623
  client._sdkVersion += ("_CLI_" + __version__)
4312
4624
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4313
- model = models.ModifyCasterOutputInfoRequest()
4625
+ model = models.ResumeLiveStreamRequest()
4314
4626
  model.from_json_string(json.dumps(args))
4315
4627
  start_time = time.time()
4316
4628
  while True:
4317
- rsp = client.ModifyCasterOutputInfo(model)
4629
+ rsp = client.ResumeLiveStream(model)
4318
4630
  result = rsp.to_json_string()
4319
4631
  try:
4320
4632
  json_obj = json.loads(result)
@@ -4333,7 +4645,7 @@ def doModifyCasterOutputInfo(args, parsed_globals):
4333
4645
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4334
4646
 
4335
4647
 
4336
- def doCreateCasterPvw(args, parsed_globals):
4648
+ def doDescribeCasterMarkPicInfos(args, parsed_globals):
4337
4649
  g_param = parse_global_arg(parsed_globals)
4338
4650
 
4339
4651
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4362,11 +4674,11 @@ def doCreateCasterPvw(args, parsed_globals):
4362
4674
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4363
4675
  client._sdkVersion += ("_CLI_" + __version__)
4364
4676
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4365
- model = models.CreateCasterPvwRequest()
4677
+ model = models.DescribeCasterMarkPicInfosRequest()
4366
4678
  model.from_json_string(json.dumps(args))
4367
4679
  start_time = time.time()
4368
4680
  while True:
4369
- rsp = client.CreateCasterPvw(model)
4681
+ rsp = client.DescribeCasterMarkPicInfos(model)
4370
4682
  result = rsp.to_json_string()
4371
4683
  try:
4372
4684
  json_obj = json.loads(result)
@@ -4385,7 +4697,7 @@ def doCreateCasterPvw(args, parsed_globals):
4385
4697
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4386
4698
 
4387
4699
 
4388
- def doResumeLiveStream(args, parsed_globals):
4700
+ def doModifyLivePullStreamTask(args, parsed_globals):
4389
4701
  g_param = parse_global_arg(parsed_globals)
4390
4702
 
4391
4703
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4414,11 +4726,11 @@ def doResumeLiveStream(args, parsed_globals):
4414
4726
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4415
4727
  client._sdkVersion += ("_CLI_" + __version__)
4416
4728
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4417
- model = models.ResumeLiveStreamRequest()
4729
+ model = models.ModifyLivePullStreamTaskRequest()
4418
4730
  model.from_json_string(json.dumps(args))
4419
4731
  start_time = time.time()
4420
4732
  while True:
4421
- rsp = client.ResumeLiveStream(model)
4733
+ rsp = client.ModifyLivePullStreamTask(model)
4422
4734
  result = rsp.to_json_string()
4423
4735
  try:
4424
4736
  json_obj = json.loads(result)
@@ -4437,7 +4749,7 @@ def doResumeLiveStream(args, parsed_globals):
4437
4749
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4438
4750
 
4439
4751
 
4440
- def doModifyLivePullStreamTask(args, parsed_globals):
4752
+ def doDeleteLiveDomain(args, parsed_globals):
4441
4753
  g_param = parse_global_arg(parsed_globals)
4442
4754
 
4443
4755
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4466,11 +4778,11 @@ def doModifyLivePullStreamTask(args, parsed_globals):
4466
4778
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4467
4779
  client._sdkVersion += ("_CLI_" + __version__)
4468
4780
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4469
- model = models.ModifyLivePullStreamTaskRequest()
4781
+ model = models.DeleteLiveDomainRequest()
4470
4782
  model.from_json_string(json.dumps(args))
4471
4783
  start_time = time.time()
4472
4784
  while True:
4473
- rsp = client.ModifyLivePullStreamTask(model)
4785
+ rsp = client.DeleteLiveDomain(model)
4474
4786
  result = rsp.to_json_string()
4475
4787
  try:
4476
4788
  json_obj = json.loads(result)
@@ -4489,7 +4801,7 @@ def doModifyLivePullStreamTask(args, parsed_globals):
4489
4801
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4490
4802
 
4491
4803
 
4492
- def doDeleteLiveDomain(args, parsed_globals):
4804
+ def doModifyLiveCallbackTemplate(args, parsed_globals):
4493
4805
  g_param = parse_global_arg(parsed_globals)
4494
4806
 
4495
4807
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4518,11 +4830,11 @@ def doDeleteLiveDomain(args, parsed_globals):
4518
4830
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4519
4831
  client._sdkVersion += ("_CLI_" + __version__)
4520
4832
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4521
- model = models.DeleteLiveDomainRequest()
4833
+ model = models.ModifyLiveCallbackTemplateRequest()
4522
4834
  model.from_json_string(json.dumps(args))
4523
4835
  start_time = time.time()
4524
4836
  while True:
4525
- rsp = client.DeleteLiveDomain(model)
4837
+ rsp = client.ModifyLiveCallbackTemplate(model)
4526
4838
  result = rsp.to_json_string()
4527
4839
  try:
4528
4840
  json_obj = json.loads(result)
@@ -4541,7 +4853,7 @@ def doDeleteLiveDomain(args, parsed_globals):
4541
4853
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4542
4854
 
4543
4855
 
4544
- def doModifyLiveCallbackTemplate(args, parsed_globals):
4856
+ def doAddCasterMarkPicInfo(args, parsed_globals):
4545
4857
  g_param = parse_global_arg(parsed_globals)
4546
4858
 
4547
4859
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4570,11 +4882,11 @@ def doModifyLiveCallbackTemplate(args, parsed_globals):
4570
4882
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4571
4883
  client._sdkVersion += ("_CLI_" + __version__)
4572
4884
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4573
- model = models.ModifyLiveCallbackTemplateRequest()
4885
+ model = models.AddCasterMarkPicInfoRequest()
4574
4886
  model.from_json_string(json.dumps(args))
4575
4887
  start_time = time.time()
4576
4888
  while True:
4577
- rsp = client.ModifyLiveCallbackTemplate(model)
4889
+ rsp = client.AddCasterMarkPicInfo(model)
4578
4890
  result = rsp.to_json_string()
4579
4891
  try:
4580
4892
  json_obj = json.loads(result)
@@ -4749,7 +5061,7 @@ def doDescribeStreamPlayInfoList(args, parsed_globals):
4749
5061
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4750
5062
 
4751
5063
 
4752
- def doDescribeCasterUserStatus(args, parsed_globals):
5064
+ def doCreateCaster(args, parsed_globals):
4753
5065
  g_param = parse_global_arg(parsed_globals)
4754
5066
 
4755
5067
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4778,11 +5090,11 @@ def doDescribeCasterUserStatus(args, parsed_globals):
4778
5090
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4779
5091
  client._sdkVersion += ("_CLI_" + __version__)
4780
5092
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4781
- model = models.DescribeCasterUserStatusRequest()
5093
+ model = models.CreateCasterRequest()
4782
5094
  model.from_json_string(json.dumps(args))
4783
5095
  start_time = time.time()
4784
5096
  while True:
4785
- rsp = client.DescribeCasterUserStatus(model)
5097
+ rsp = client.CreateCaster(model)
4786
5098
  result = rsp.to_json_string()
4787
5099
  try:
4788
5100
  json_obj = json.loads(result)
@@ -5321,6 +5633,58 @@ def doModifyLivePlayAuthKey(args, parsed_globals):
5321
5633
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5322
5634
 
5323
5635
 
5636
+ def doModifyCasterMarkWordInfo(args, parsed_globals):
5637
+ g_param = parse_global_arg(parsed_globals)
5638
+
5639
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5640
+ cred = credential.CVMRoleCredential()
5641
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5642
+ cred = credential.STSAssumeRoleCredential(
5643
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5644
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5645
+ )
5646
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
5647
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5648
+ else:
5649
+ cred = credential.Credential(
5650
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5651
+ )
5652
+ http_profile = HttpProfile(
5653
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5654
+ reqMethod="POST",
5655
+ endpoint=g_param[OptionsDefine.Endpoint],
5656
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5657
+ )
5658
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5659
+ if g_param[OptionsDefine.Language]:
5660
+ profile.language = g_param[OptionsDefine.Language]
5661
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5662
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
5663
+ client._sdkVersion += ("_CLI_" + __version__)
5664
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5665
+ model = models.ModifyCasterMarkWordInfoRequest()
5666
+ model.from_json_string(json.dumps(args))
5667
+ start_time = time.time()
5668
+ while True:
5669
+ rsp = client.ModifyCasterMarkWordInfo(model)
5670
+ result = rsp.to_json_string()
5671
+ try:
5672
+ json_obj = json.loads(result)
5673
+ except TypeError as e:
5674
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5675
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5676
+ break
5677
+ cur_time = time.time()
5678
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5679
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5680
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5681
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5682
+ else:
5683
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5684
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5685
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5686
+
5687
+
5324
5688
  def doDeleteCaster(args, parsed_globals):
5325
5689
  g_param = parse_global_arg(parsed_globals)
5326
5690
 
@@ -8597,7 +8961,7 @@ def doDescribeCasterDisplayInfo(args, parsed_globals):
8597
8961
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
8598
8962
 
8599
8963
 
8600
- def doStopLiveStreamMonitor(args, parsed_globals):
8964
+ def doModifyLiveStreamMonitor(args, parsed_globals):
8601
8965
  g_param = parse_global_arg(parsed_globals)
8602
8966
 
8603
8967
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -8626,11 +8990,11 @@ def doStopLiveStreamMonitor(args, parsed_globals):
8626
8990
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
8627
8991
  client._sdkVersion += ("_CLI_" + __version__)
8628
8992
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
8629
- model = models.StopLiveStreamMonitorRequest()
8993
+ model = models.ModifyLiveStreamMonitorRequest()
8630
8994
  model.from_json_string(json.dumps(args))
8631
8995
  start_time = time.time()
8632
8996
  while True:
8633
- rsp = client.StopLiveStreamMonitor(model)
8997
+ rsp = client.ModifyLiveStreamMonitor(model)
8634
8998
  result = rsp.to_json_string()
8635
8999
  try:
8636
9000
  json_obj = json.loads(result)
@@ -8649,7 +9013,7 @@ def doStopLiveStreamMonitor(args, parsed_globals):
8649
9013
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
8650
9014
 
8651
9015
 
8652
- def doCreateCaster(args, parsed_globals):
9016
+ def doDescribeCasterUserStatus(args, parsed_globals):
8653
9017
  g_param = parse_global_arg(parsed_globals)
8654
9018
 
8655
9019
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -8678,11 +9042,11 @@ def doCreateCaster(args, parsed_globals):
8678
9042
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
8679
9043
  client._sdkVersion += ("_CLI_" + __version__)
8680
9044
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
8681
- model = models.CreateCasterRequest()
9045
+ model = models.DescribeCasterUserStatusRequest()
8682
9046
  model.from_json_string(json.dumps(args))
8683
9047
  start_time = time.time()
8684
9048
  while True:
8685
- rsp = client.CreateCaster(model)
9049
+ rsp = client.DescribeCasterUserStatus(model)
8686
9050
  result = rsp.to_json_string()
8687
9051
  try:
8688
9052
  json_obj = json.loads(result)
@@ -8961,6 +9325,110 @@ def doModifyCasterInputInfo(args, parsed_globals):
8961
9325
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
8962
9326
 
8963
9327
 
9328
+ def doDeleteCasterMarkPicInfo(args, parsed_globals):
9329
+ g_param = parse_global_arg(parsed_globals)
9330
+
9331
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
9332
+ cred = credential.CVMRoleCredential()
9333
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
9334
+ cred = credential.STSAssumeRoleCredential(
9335
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
9336
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
9337
+ )
9338
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
9339
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
9340
+ else:
9341
+ cred = credential.Credential(
9342
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
9343
+ )
9344
+ http_profile = HttpProfile(
9345
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
9346
+ reqMethod="POST",
9347
+ endpoint=g_param[OptionsDefine.Endpoint],
9348
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
9349
+ )
9350
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
9351
+ if g_param[OptionsDefine.Language]:
9352
+ profile.language = g_param[OptionsDefine.Language]
9353
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
9354
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
9355
+ client._sdkVersion += ("_CLI_" + __version__)
9356
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
9357
+ model = models.DeleteCasterMarkPicInfoRequest()
9358
+ model.from_json_string(json.dumps(args))
9359
+ start_time = time.time()
9360
+ while True:
9361
+ rsp = client.DeleteCasterMarkPicInfo(model)
9362
+ result = rsp.to_json_string()
9363
+ try:
9364
+ json_obj = json.loads(result)
9365
+ except TypeError as e:
9366
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
9367
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
9368
+ break
9369
+ cur_time = time.time()
9370
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
9371
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
9372
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
9373
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
9374
+ else:
9375
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
9376
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
9377
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
9378
+
9379
+
9380
+ def doDeleteCasterMarkWordInfo(args, parsed_globals):
9381
+ g_param = parse_global_arg(parsed_globals)
9382
+
9383
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
9384
+ cred = credential.CVMRoleCredential()
9385
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
9386
+ cred = credential.STSAssumeRoleCredential(
9387
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
9388
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
9389
+ )
9390
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
9391
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
9392
+ else:
9393
+ cred = credential.Credential(
9394
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
9395
+ )
9396
+ http_profile = HttpProfile(
9397
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
9398
+ reqMethod="POST",
9399
+ endpoint=g_param[OptionsDefine.Endpoint],
9400
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
9401
+ )
9402
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
9403
+ if g_param[OptionsDefine.Language]:
9404
+ profile.language = g_param[OptionsDefine.Language]
9405
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
9406
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
9407
+ client._sdkVersion += ("_CLI_" + __version__)
9408
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
9409
+ model = models.DeleteCasterMarkWordInfoRequest()
9410
+ model.from_json_string(json.dumps(args))
9411
+ start_time = time.time()
9412
+ while True:
9413
+ rsp = client.DeleteCasterMarkWordInfo(model)
9414
+ result = rsp.to_json_string()
9415
+ try:
9416
+ json_obj = json.loads(result)
9417
+ except TypeError as e:
9418
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
9419
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
9420
+ break
9421
+ cur_time = time.time()
9422
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
9423
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
9424
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
9425
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
9426
+ else:
9427
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
9428
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
9429
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
9430
+
9431
+
8964
9432
  def doDescribeBackupStreamList(args, parsed_globals):
8965
9433
  g_param = parse_global_arg(parsed_globals)
8966
9434
 
@@ -9707,7 +10175,8 @@ ACTION_MAP = {
9707
10175
  "CreateLiveRecord": doCreateLiveRecord,
9708
10176
  "UpdateLiveWatermark": doUpdateLiveWatermark,
9709
10177
  "ModifyLiveSnapshotTemplate": doModifyLiveSnapshotTemplate,
9710
- "DescribeRecordTask": doDescribeRecordTask,
10178
+ "ModifyLiveRecordTemplate": doModifyLiveRecordTemplate,
10179
+ "StopCasterPvw": doStopCasterPvw,
9711
10180
  "CreateLiveWatermarkRule": doCreateLiveWatermarkRule,
9712
10181
  "DescribeLiveStreamEventList": doDescribeLiveStreamEventList,
9713
10182
  "DescribePullStreamConfigs": doDescribePullStreamConfigs,
@@ -9730,16 +10199,16 @@ ACTION_MAP = {
9730
10199
  "CreateScreenshotTask": doCreateScreenshotTask,
9731
10200
  "DescribeLiveRecordTemplates": doDescribeLiveRecordTemplates,
9732
10201
  "AuthenticateDomainOwner": doAuthenticateDomainOwner,
9733
- "ModifyLiveStreamMonitor": doModifyLiveStreamMonitor,
10202
+ "StopLiveStreamMonitor": doStopLiveStreamMonitor,
9734
10203
  "DescribeCasterInputInfos": doDescribeCasterInputInfos,
9735
10204
  "DescribeVisitTopSumInfoList": doDescribeVisitTopSumInfoList,
9736
- "ModifyLiveRecordTemplate": doModifyLiveRecordTemplate,
10205
+ "DescribeRecordTask": doDescribeRecordTask,
9737
10206
  "AddCasterLayoutInfo": doAddCasterLayoutInfo,
9738
10207
  "DescribeLiveDomainCert": doDescribeLiveDomainCert,
9739
10208
  "AddLiveWatermark": doAddLiveWatermark,
9740
10209
  "DescribeAreaBillBandwidthAndFluxList": doDescribeAreaBillBandwidthAndFluxList,
9741
10210
  "DescribeLiveTranscodeRules": doDescribeLiveTranscodeRules,
9742
- "StopCasterPvw": doStopCasterPvw,
10211
+ "DescribeCasterMarkWordInfos": doDescribeCasterMarkWordInfos,
9743
10212
  "DeleteCasterLayoutInfo": doDeleteCasterLayoutInfo,
9744
10213
  "DeleteLiveWatermarkRule": doDeleteLiveWatermarkRule,
9745
10214
  "DescribeDeliverBandwidthList": doDescribeDeliverBandwidthList,
@@ -9749,6 +10218,7 @@ ACTION_MAP = {
9749
10218
  "DescribeLiveStreamOnlineList": doDescribeLiveStreamOnlineList,
9750
10219
  "EnableOptimalSwitching": doEnableOptimalSwitching,
9751
10220
  "DeleteLiveCallbackTemplate": doDeleteLiveCallbackTemplate,
10221
+ "ModifyCasterMarkPicInfo": doModifyCasterMarkPicInfo,
9752
10222
  "DescribeCasterPlayUrl": doDescribeCasterPlayUrl,
9753
10223
  "DescribeLivePushAuthKey": doDescribeLivePushAuthKey,
9754
10224
  "DeletePullStreamConfig": doDeletePullStreamConfig,
@@ -9756,6 +10226,7 @@ ACTION_MAP = {
9756
10226
  "DescribeLiveRecordTemplate": doDescribeLiveRecordTemplate,
9757
10227
  "DescribeLivePadTemplate": doDescribeLivePadTemplate,
9758
10228
  "StopScreenshotTask": doStopScreenshotTask,
10229
+ "AddCasterMarkWordInfo": doAddCasterMarkWordInfo,
9759
10230
  "DescribeMonitorReport": doDescribeMonitorReport,
9760
10231
  "CreateCommonMixStream": doCreateCommonMixStream,
9761
10232
  "DescribeLiveStreamMonitor": doDescribeLiveStreamMonitor,
@@ -9778,20 +10249,23 @@ ACTION_MAP = {
9778
10249
  "DescribeLiveCert": doDescribeLiveCert,
9779
10250
  "ModifyLiveDomainCertBindings": doModifyLiveDomainCertBindings,
9780
10251
  "DescribeDeliverLogDownList": doDescribeDeliverLogDownList,
9781
- "DescribeLiveDomains": doDescribeLiveDomains,
10252
+ "CreateCasterPgm": doCreateCasterPgm,
10253
+ "DescribeLiveEnhanceInfoList": doDescribeLiveEnhanceInfoList,
9782
10254
  "DescribePullTransformPushInfo": doDescribePullTransformPushInfo,
9783
10255
  "CreateLiveCallbackTemplate": doCreateLiveCallbackTemplate,
9784
- "CreateCasterPgm": doCreateCasterPgm,
10256
+ "DescribeLiveDomains": doDescribeLiveDomains,
9785
10257
  "ModifyCasterOutputInfo": doModifyCasterOutputInfo,
9786
10258
  "CreateCasterPvw": doCreateCasterPvw,
9787
10259
  "ResumeLiveStream": doResumeLiveStream,
10260
+ "DescribeCasterMarkPicInfos": doDescribeCasterMarkPicInfos,
9788
10261
  "ModifyLivePullStreamTask": doModifyLivePullStreamTask,
9789
10262
  "DeleteLiveDomain": doDeleteLiveDomain,
9790
10263
  "ModifyLiveCallbackTemplate": doModifyLiveCallbackTemplate,
10264
+ "AddCasterMarkPicInfo": doAddCasterMarkPicInfo,
9791
10265
  "DeleteLiveTimeShiftTemplate": doDeleteLiveTimeShiftTemplate,
9792
10266
  "DescribeGroupProIspPlayInfoList": doDescribeGroupProIspPlayInfoList,
9793
10267
  "DescribeStreamPlayInfoList": doDescribeStreamPlayInfoList,
9794
- "DescribeCasterUserStatus": doDescribeCasterUserStatus,
10268
+ "CreateCaster": doCreateCaster,
9795
10269
  "DescribeCasterLayoutInfos": doDescribeCasterLayoutInfos,
9796
10270
  "DescribeLivePullStreamTaskStatus": doDescribeLivePullStreamTaskStatus,
9797
10271
  "DescribeLiveSnapshotTemplate": doDescribeLiveSnapshotTemplate,
@@ -9802,6 +10276,7 @@ ACTION_MAP = {
9802
10276
  "DescribeCasterOutputInfos": doDescribeCasterOutputInfos,
9803
10277
  "StopLiveRecord": doStopLiveRecord,
9804
10278
  "ModifyLivePlayAuthKey": doModifyLivePlayAuthKey,
10279
+ "ModifyCasterMarkWordInfo": doModifyCasterMarkWordInfo,
9805
10280
  "DeleteCaster": doDeleteCaster,
9806
10281
  "DescribeLiveTranscodeTemplate": doDescribeLiveTranscodeTemplate,
9807
10282
  "DescribeScreenShotSheetNumList": doDescribeScreenShotSheetNumList,
@@ -9865,13 +10340,15 @@ ACTION_MAP = {
9865
10340
  "CreateCasterPgmFromPvw": doCreateCasterPgmFromPvw,
9866
10341
  "DescribeCasterTransitionTypes": doDescribeCasterTransitionTypes,
9867
10342
  "DescribeCasterDisplayInfo": doDescribeCasterDisplayInfo,
9868
- "StopLiveStreamMonitor": doStopLiveStreamMonitor,
9869
- "CreateCaster": doCreateCaster,
10343
+ "ModifyLiveStreamMonitor": doModifyLiveStreamMonitor,
10344
+ "DescribeCasterUserStatus": doDescribeCasterUserStatus,
9870
10345
  "DescribeLiveStreamState": doDescribeLiveStreamState,
9871
10346
  "ModifyLiveDomainReferer": doModifyLiveDomainReferer,
9872
10347
  "DeleteLiveRecordTemplate": doDeleteLiveRecordTemplate,
9873
10348
  "CopyCaster": doCopyCaster,
9874
10349
  "ModifyCasterInputInfo": doModifyCasterInputInfo,
10350
+ "DeleteCasterMarkPicInfo": doDeleteCasterMarkPicInfo,
10351
+ "DeleteCasterMarkWordInfo": doDeleteCasterMarkWordInfo,
9875
10352
  "DescribeBackupStreamList": doDescribeBackupStreamList,
9876
10353
  "ResumeDelayLiveStream": doResumeDelayLiveStream,
9877
10354
  "CreateRecordTask": doCreateRecordTask,