tccli 3.0.1221.1__py2.py3-none-any.whl → 3.0.1222.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/billing/v20180709/api.json +36 -36
  3. tccli/services/billing/v20180709/examples.json +1 -1
  4. tccli/services/bsca/v20210811/api.json +11 -1
  5. tccli/services/cfs/v20190719/api.json +1 -1
  6. tccli/services/cfs/v20190719/examples.json +1 -1
  7. tccli/services/cvm/v20170312/api.json +1 -1
  8. tccli/services/cynosdb/v20190107/api.json +5 -5
  9. tccli/services/dbdc/v20201029/api.json +43 -43
  10. tccli/services/dbdc/v20201029/examples.json +5 -5
  11. tccli/services/dcdb/v20180411/api.json +67 -79
  12. tccli/services/dnspod/v20210323/api.json +1 -1
  13. tccli/services/dts/v20211206/api.json +1 -1
  14. tccli/services/gwlb/v20240906/api.json +6 -6
  15. tccli/services/gwlb/v20240906/examples.json +4 -4
  16. tccli/services/iotexplorer/v20190423/api.json +5 -5
  17. tccli/services/live/live_client.py +731 -42
  18. tccli/services/live/v20180801/api.json +1060 -96
  19. tccli/services/live/v20180801/examples.json +104 -0
  20. tccli/services/lke/v20231130/api.json +692 -104
  21. tccli/services/lke/v20231130/examples.json +16 -16
  22. tccli/services/mariadb/v20170312/api.json +70 -88
  23. tccli/services/svp/v20240125/api.json +4 -4
  24. tccli/services/tke/v20180525/api.json +10 -0
  25. tccli/services/trtc/v20190722/api.json +55 -72
  26. tccli/services/tse/v20201207/api.json +35 -31
  27. tccli/services/tse/v20201207/examples.json +19 -19
  28. tccli/services/wedata/v20210820/api.json +3 -3
  29. {tccli-3.0.1221.1.dist-info → tccli-3.0.1222.1.dist-info}/METADATA +2 -2
  30. {tccli-3.0.1221.1.dist-info → tccli-3.0.1222.1.dist-info}/RECORD +33 -33
  31. {tccli-3.0.1221.1.dist-info → tccli-3.0.1222.1.dist-info}/WHEEL +0 -0
  32. {tccli-3.0.1221.1.dist-info → tccli-3.0.1222.1.dist-info}/entry_points.txt +0 -0
  33. {tccli-3.0.1221.1.dist-info → tccli-3.0.1222.1.dist-info}/license_files/LICENSE +0 -0
@@ -953,7 +953,7 @@ def doDescribeTimeShiftStreamList(args, parsed_globals):
953
953
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
954
954
 
955
955
 
956
- def doDeleteLiveTranscodeTemplate(args, parsed_globals):
956
+ def doAddCasterInputInfo(args, parsed_globals):
957
957
  g_param = parse_global_arg(parsed_globals)
958
958
 
959
959
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -982,11 +982,11 @@ def doDeleteLiveTranscodeTemplate(args, parsed_globals):
982
982
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
983
983
  client._sdkVersion += ("_CLI_" + __version__)
984
984
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
985
- model = models.DeleteLiveTranscodeTemplateRequest()
985
+ model = models.AddCasterInputInfoRequest()
986
986
  model.from_json_string(json.dumps(args))
987
987
  start_time = time.time()
988
988
  while True:
989
- rsp = client.DeleteLiveTranscodeTemplate(model)
989
+ rsp = client.AddCasterInputInfo(model)
990
990
  result = rsp.to_json_string()
991
991
  try:
992
992
  json_obj = json.loads(result)
@@ -1265,7 +1265,7 @@ def doDescribeTopClientIpSumInfoList(args, parsed_globals):
1265
1265
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1266
1266
 
1267
1267
 
1268
- def doModifyPullStreamStatus(args, parsed_globals):
1268
+ def doCreateCasterInputPushUrl(args, parsed_globals):
1269
1269
  g_param = parse_global_arg(parsed_globals)
1270
1270
 
1271
1271
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1294,11 +1294,63 @@ def doModifyPullStreamStatus(args, parsed_globals):
1294
1294
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
1295
1295
  client._sdkVersion += ("_CLI_" + __version__)
1296
1296
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1297
- model = models.ModifyPullStreamStatusRequest()
1297
+ model = models.CreateCasterInputPushUrlRequest()
1298
1298
  model.from_json_string(json.dumps(args))
1299
1299
  start_time = time.time()
1300
1300
  while True:
1301
- rsp = client.ModifyPullStreamStatus(model)
1301
+ rsp = client.CreateCasterInputPushUrl(model)
1302
+ result = rsp.to_json_string()
1303
+ try:
1304
+ json_obj = json.loads(result)
1305
+ except TypeError as e:
1306
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1307
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1308
+ break
1309
+ cur_time = time.time()
1310
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1311
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1312
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1313
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1314
+ else:
1315
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1316
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1317
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1318
+
1319
+
1320
+ def doCreateLivePadRule(args, parsed_globals):
1321
+ g_param = parse_global_arg(parsed_globals)
1322
+
1323
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1324
+ cred = credential.CVMRoleCredential()
1325
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1326
+ cred = credential.STSAssumeRoleCredential(
1327
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1328
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1329
+ )
1330
+ 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):
1331
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1332
+ else:
1333
+ cred = credential.Credential(
1334
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1335
+ )
1336
+ http_profile = HttpProfile(
1337
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1338
+ reqMethod="POST",
1339
+ endpoint=g_param[OptionsDefine.Endpoint],
1340
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1341
+ )
1342
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1343
+ if g_param[OptionsDefine.Language]:
1344
+ profile.language = g_param[OptionsDefine.Language]
1345
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1346
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
1347
+ client._sdkVersion += ("_CLI_" + __version__)
1348
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1349
+ model = models.CreateLivePadRuleRequest()
1350
+ model.from_json_string(json.dumps(args))
1351
+ start_time = time.time()
1352
+ while True:
1353
+ rsp = client.CreateLivePadRule(model)
1302
1354
  result = rsp.to_json_string()
1303
1355
  try:
1304
1356
  json_obj = json.loads(result)
@@ -1525,6 +1577,58 @@ def doModifyLiveStreamMonitor(args, parsed_globals):
1525
1577
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1526
1578
 
1527
1579
 
1580
+ def doDescribeCasterInputInfos(args, parsed_globals):
1581
+ g_param = parse_global_arg(parsed_globals)
1582
+
1583
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1584
+ cred = credential.CVMRoleCredential()
1585
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1586
+ cred = credential.STSAssumeRoleCredential(
1587
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1588
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1589
+ )
1590
+ 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):
1591
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1592
+ else:
1593
+ cred = credential.Credential(
1594
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1595
+ )
1596
+ http_profile = HttpProfile(
1597
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1598
+ reqMethod="POST",
1599
+ endpoint=g_param[OptionsDefine.Endpoint],
1600
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1601
+ )
1602
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1603
+ if g_param[OptionsDefine.Language]:
1604
+ profile.language = g_param[OptionsDefine.Language]
1605
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1606
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
1607
+ client._sdkVersion += ("_CLI_" + __version__)
1608
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1609
+ model = models.DescribeCasterInputInfosRequest()
1610
+ model.from_json_string(json.dumps(args))
1611
+ start_time = time.time()
1612
+ while True:
1613
+ rsp = client.DescribeCasterInputInfos(model)
1614
+ result = rsp.to_json_string()
1615
+ try:
1616
+ json_obj = json.loads(result)
1617
+ except TypeError as e:
1618
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1619
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1620
+ break
1621
+ cur_time = time.time()
1622
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1623
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1624
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1625
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1626
+ else:
1627
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1628
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1629
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1630
+
1631
+
1528
1632
  def doDescribeVisitTopSumInfoList(args, parsed_globals):
1529
1633
  g_param = parse_global_arg(parsed_globals)
1530
1634
 
@@ -1629,6 +1733,58 @@ def doModifyLiveRecordTemplate(args, parsed_globals):
1629
1733
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1630
1734
 
1631
1735
 
1736
+ def doAddCasterLayoutInfo(args, parsed_globals):
1737
+ g_param = parse_global_arg(parsed_globals)
1738
+
1739
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1740
+ cred = credential.CVMRoleCredential()
1741
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1742
+ cred = credential.STSAssumeRoleCredential(
1743
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1744
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1745
+ )
1746
+ 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):
1747
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1748
+ else:
1749
+ cred = credential.Credential(
1750
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1751
+ )
1752
+ http_profile = HttpProfile(
1753
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1754
+ reqMethod="POST",
1755
+ endpoint=g_param[OptionsDefine.Endpoint],
1756
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1757
+ )
1758
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1759
+ if g_param[OptionsDefine.Language]:
1760
+ profile.language = g_param[OptionsDefine.Language]
1761
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1762
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
1763
+ client._sdkVersion += ("_CLI_" + __version__)
1764
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1765
+ model = models.AddCasterLayoutInfoRequest()
1766
+ model.from_json_string(json.dumps(args))
1767
+ start_time = time.time()
1768
+ while True:
1769
+ rsp = client.AddCasterLayoutInfo(model)
1770
+ result = rsp.to_json_string()
1771
+ try:
1772
+ json_obj = json.loads(result)
1773
+ except TypeError as e:
1774
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1775
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1776
+ break
1777
+ cur_time = time.time()
1778
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1779
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1780
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1781
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1782
+ else:
1783
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1784
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1785
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1786
+
1787
+
1632
1788
  def doDescribeLiveDomainCert(args, parsed_globals):
1633
1789
  g_param = parse_global_arg(parsed_globals)
1634
1790
 
@@ -1785,6 +1941,58 @@ def doDescribeAreaBillBandwidthAndFluxList(args, parsed_globals):
1785
1941
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1786
1942
 
1787
1943
 
1944
+ def doDeleteCasterLayoutInfo(args, parsed_globals):
1945
+ g_param = parse_global_arg(parsed_globals)
1946
+
1947
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1948
+ cred = credential.CVMRoleCredential()
1949
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1950
+ cred = credential.STSAssumeRoleCredential(
1951
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1952
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1953
+ )
1954
+ 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):
1955
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1956
+ else:
1957
+ cred = credential.Credential(
1958
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1959
+ )
1960
+ http_profile = HttpProfile(
1961
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1962
+ reqMethod="POST",
1963
+ endpoint=g_param[OptionsDefine.Endpoint],
1964
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1965
+ )
1966
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1967
+ if g_param[OptionsDefine.Language]:
1968
+ profile.language = g_param[OptionsDefine.Language]
1969
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1970
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
1971
+ client._sdkVersion += ("_CLI_" + __version__)
1972
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1973
+ model = models.DeleteCasterLayoutInfoRequest()
1974
+ model.from_json_string(json.dumps(args))
1975
+ start_time = time.time()
1976
+ while True:
1977
+ rsp = client.DeleteCasterLayoutInfo(model)
1978
+ result = rsp.to_json_string()
1979
+ try:
1980
+ json_obj = json.loads(result)
1981
+ except TypeError as e:
1982
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1983
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1984
+ break
1985
+ cur_time = time.time()
1986
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1987
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1988
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1989
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1990
+ else:
1991
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1992
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1993
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1994
+
1995
+
1788
1996
  def doDeleteLiveWatermarkRule(args, parsed_globals):
1789
1997
  g_param = parse_global_arg(parsed_globals)
1790
1998
 
@@ -3865,6 +4073,58 @@ def doCreateLiveCallbackTemplate(args, parsed_globals):
3865
4073
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3866
4074
 
3867
4075
 
4076
+ def doModifyCasterOutputInfo(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.ModifyCasterOutputInfoRequest()
4106
+ model.from_json_string(json.dumps(args))
4107
+ start_time = time.time()
4108
+ while True:
4109
+ rsp = client.ModifyCasterOutputInfo(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
+
3868
4128
  def doResumeLiveStream(args, parsed_globals):
3869
4129
  g_param = parse_global_arg(parsed_globals)
3870
4130
 
@@ -4073,7 +4333,7 @@ def doModifyLiveCallbackTemplate(args, parsed_globals):
4073
4333
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4074
4334
 
4075
4335
 
4076
- def doDescribeLivePullStreamTasks(args, parsed_globals):
4336
+ def doDeleteLiveTimeShiftTemplate(args, parsed_globals):
4077
4337
  g_param = parse_global_arg(parsed_globals)
4078
4338
 
4079
4339
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4102,11 +4362,11 @@ def doDescribeLivePullStreamTasks(args, parsed_globals):
4102
4362
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4103
4363
  client._sdkVersion += ("_CLI_" + __version__)
4104
4364
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4105
- model = models.DescribeLivePullStreamTasksRequest()
4365
+ model = models.DeleteLiveTimeShiftTemplateRequest()
4106
4366
  model.from_json_string(json.dumps(args))
4107
4367
  start_time = time.time()
4108
4368
  while True:
4109
- rsp = client.DescribeLivePullStreamTasks(model)
4369
+ rsp = client.DeleteLiveTimeShiftTemplate(model)
4110
4370
  result = rsp.to_json_string()
4111
4371
  try:
4112
4372
  json_obj = json.loads(result)
@@ -4281,6 +4541,58 @@ def doDescribeCasterUserStatus(args, parsed_globals):
4281
4541
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4282
4542
 
4283
4543
 
4544
+ def doDescribeCasterLayoutInfos(args, parsed_globals):
4545
+ g_param = parse_global_arg(parsed_globals)
4546
+
4547
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4548
+ cred = credential.CVMRoleCredential()
4549
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4550
+ cred = credential.STSAssumeRoleCredential(
4551
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4552
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4553
+ )
4554
+ 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):
4555
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4556
+ else:
4557
+ cred = credential.Credential(
4558
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4559
+ )
4560
+ http_profile = HttpProfile(
4561
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4562
+ reqMethod="POST",
4563
+ endpoint=g_param[OptionsDefine.Endpoint],
4564
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4565
+ )
4566
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4567
+ if g_param[OptionsDefine.Language]:
4568
+ profile.language = g_param[OptionsDefine.Language]
4569
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4570
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4571
+ client._sdkVersion += ("_CLI_" + __version__)
4572
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4573
+ model = models.DescribeCasterLayoutInfosRequest()
4574
+ model.from_json_string(json.dumps(args))
4575
+ start_time = time.time()
4576
+ while True:
4577
+ rsp = client.DescribeCasterLayoutInfos(model)
4578
+ result = rsp.to_json_string()
4579
+ try:
4580
+ json_obj = json.loads(result)
4581
+ except TypeError as e:
4582
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4583
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4584
+ break
4585
+ cur_time = time.time()
4586
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4587
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4588
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4589
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4590
+ else:
4591
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4592
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4593
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4594
+
4595
+
4284
4596
  def doDescribeLivePullStreamTaskStatus(args, parsed_globals):
4285
4597
  g_param = parse_global_arg(parsed_globals)
4286
4598
 
@@ -4593,7 +4905,7 @@ def doDescribeLiveSnapshotTemplates(args, parsed_globals):
4593
4905
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4594
4906
 
4595
4907
 
4596
- def doCreateLivePadRule(args, parsed_globals):
4908
+ def doDescribeCasterOutputInfos(args, parsed_globals):
4597
4909
  g_param = parse_global_arg(parsed_globals)
4598
4910
 
4599
4911
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4622,11 +4934,11 @@ def doCreateLivePadRule(args, parsed_globals):
4622
4934
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
4623
4935
  client._sdkVersion += ("_CLI_" + __version__)
4624
4936
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4625
- model = models.CreateLivePadRuleRequest()
4937
+ model = models.DescribeCasterOutputInfosRequest()
4626
4938
  model.from_json_string(json.dumps(args))
4627
4939
  start_time = time.time()
4628
4940
  while True:
4629
- rsp = client.CreateLivePadRule(model)
4941
+ rsp = client.DescribeCasterOutputInfos(model)
4630
4942
  result = rsp.to_json_string()
4631
4943
  try:
4632
4944
  json_obj = json.loads(result)
@@ -5113,6 +5425,58 @@ def doDescribeLogDownloadList(args, parsed_globals):
5113
5425
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5114
5426
 
5115
5427
 
5428
+ def doAddCasterOutputInfo(args, parsed_globals):
5429
+ g_param = parse_global_arg(parsed_globals)
5430
+
5431
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5432
+ cred = credential.CVMRoleCredential()
5433
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5434
+ cred = credential.STSAssumeRoleCredential(
5435
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5436
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5437
+ )
5438
+ 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):
5439
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5440
+ else:
5441
+ cred = credential.Credential(
5442
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5443
+ )
5444
+ http_profile = HttpProfile(
5445
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5446
+ reqMethod="POST",
5447
+ endpoint=g_param[OptionsDefine.Endpoint],
5448
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5449
+ )
5450
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5451
+ if g_param[OptionsDefine.Language]:
5452
+ profile.language = g_param[OptionsDefine.Language]
5453
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5454
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
5455
+ client._sdkVersion += ("_CLI_" + __version__)
5456
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5457
+ model = models.AddCasterOutputInfoRequest()
5458
+ model.from_json_string(json.dumps(args))
5459
+ start_time = time.time()
5460
+ while True:
5461
+ rsp = client.AddCasterOutputInfo(model)
5462
+ result = rsp.to_json_string()
5463
+ try:
5464
+ json_obj = json.loads(result)
5465
+ except TypeError as e:
5466
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5467
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5468
+ break
5469
+ cur_time = time.time()
5470
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5471
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5472
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5473
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5474
+ else:
5475
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5476
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5477
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5478
+
5479
+
5116
5480
  def doDescribeLiveRecordRules(args, parsed_globals):
5117
5481
  g_param = parse_global_arg(parsed_globals)
5118
5482
 
@@ -5142,11 +5506,115 @@ def doDescribeLiveRecordRules(args, parsed_globals):
5142
5506
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
5143
5507
  client._sdkVersion += ("_CLI_" + __version__)
5144
5508
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5145
- model = models.DescribeLiveRecordRulesRequest()
5509
+ model = models.DescribeLiveRecordRulesRequest()
5510
+ model.from_json_string(json.dumps(args))
5511
+ start_time = time.time()
5512
+ while True:
5513
+ rsp = client.DescribeLiveRecordRules(model)
5514
+ result = rsp.to_json_string()
5515
+ try:
5516
+ json_obj = json.loads(result)
5517
+ except TypeError as e:
5518
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5519
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5520
+ break
5521
+ cur_time = time.time()
5522
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5523
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5524
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5525
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5526
+ else:
5527
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5528
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5529
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5530
+
5531
+
5532
+ def doCancelCommonMixStream(args, parsed_globals):
5533
+ g_param = parse_global_arg(parsed_globals)
5534
+
5535
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5536
+ cred = credential.CVMRoleCredential()
5537
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5538
+ cred = credential.STSAssumeRoleCredential(
5539
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5540
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5541
+ )
5542
+ 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):
5543
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5544
+ else:
5545
+ cred = credential.Credential(
5546
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5547
+ )
5548
+ http_profile = HttpProfile(
5549
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5550
+ reqMethod="POST",
5551
+ endpoint=g_param[OptionsDefine.Endpoint],
5552
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5553
+ )
5554
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5555
+ if g_param[OptionsDefine.Language]:
5556
+ profile.language = g_param[OptionsDefine.Language]
5557
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5558
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
5559
+ client._sdkVersion += ("_CLI_" + __version__)
5560
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5561
+ model = models.CancelCommonMixStreamRequest()
5562
+ model.from_json_string(json.dumps(args))
5563
+ start_time = time.time()
5564
+ while True:
5565
+ rsp = client.CancelCommonMixStream(model)
5566
+ result = rsp.to_json_string()
5567
+ try:
5568
+ json_obj = json.loads(result)
5569
+ except TypeError as e:
5570
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5571
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5572
+ break
5573
+ cur_time = time.time()
5574
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5575
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5576
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5577
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5578
+ else:
5579
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5580
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5581
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5582
+
5583
+
5584
+ def doDescribeLiveXP2PDetailInfoList(args, parsed_globals):
5585
+ g_param = parse_global_arg(parsed_globals)
5586
+
5587
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5588
+ cred = credential.CVMRoleCredential()
5589
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5590
+ cred = credential.STSAssumeRoleCredential(
5591
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5592
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5593
+ )
5594
+ 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):
5595
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5596
+ else:
5597
+ cred = credential.Credential(
5598
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5599
+ )
5600
+ http_profile = HttpProfile(
5601
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5602
+ reqMethod="POST",
5603
+ endpoint=g_param[OptionsDefine.Endpoint],
5604
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5605
+ )
5606
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5607
+ if g_param[OptionsDefine.Language]:
5608
+ profile.language = g_param[OptionsDefine.Language]
5609
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5610
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
5611
+ client._sdkVersion += ("_CLI_" + __version__)
5612
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5613
+ model = models.DescribeLiveXP2PDetailInfoListRequest()
5146
5614
  model.from_json_string(json.dumps(args))
5147
5615
  start_time = time.time()
5148
5616
  while True:
5149
- rsp = client.DescribeLiveRecordRules(model)
5617
+ rsp = client.DescribeLiveXP2PDetailInfoList(model)
5150
5618
  result = rsp.to_json_string()
5151
5619
  try:
5152
5620
  json_obj = json.loads(result)
@@ -5217,7 +5685,7 @@ def doDescribeLiveTimeShiftTemplates(args, parsed_globals):
5217
5685
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5218
5686
 
5219
5687
 
5220
- def doDescribeLiveXP2PDetailInfoList(args, parsed_globals):
5688
+ def doModifyCasterLayoutInfo(args, parsed_globals):
5221
5689
  g_param = parse_global_arg(parsed_globals)
5222
5690
 
5223
5691
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5246,11 +5714,11 @@ def doDescribeLiveXP2PDetailInfoList(args, parsed_globals):
5246
5714
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
5247
5715
  client._sdkVersion += ("_CLI_" + __version__)
5248
5716
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5249
- model = models.DescribeLiveXP2PDetailInfoListRequest()
5717
+ model = models.ModifyCasterLayoutInfoRequest()
5250
5718
  model.from_json_string(json.dumps(args))
5251
5719
  start_time = time.time()
5252
5720
  while True:
5253
- rsp = client.DescribeLiveXP2PDetailInfoList(model)
5721
+ rsp = client.ModifyCasterLayoutInfo(model)
5254
5722
  result = rsp.to_json_string()
5255
5723
  try:
5256
5724
  json_obj = json.loads(result)
@@ -5997,6 +6465,58 @@ def doDescribeLiveCallbackTemplate(args, parsed_globals):
5997
6465
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5998
6466
 
5999
6467
 
6468
+ def doDescribeLivePackageInfo(args, parsed_globals):
6469
+ g_param = parse_global_arg(parsed_globals)
6470
+
6471
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
6472
+ cred = credential.CVMRoleCredential()
6473
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
6474
+ cred = credential.STSAssumeRoleCredential(
6475
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
6476
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
6477
+ )
6478
+ 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):
6479
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
6480
+ else:
6481
+ cred = credential.Credential(
6482
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
6483
+ )
6484
+ http_profile = HttpProfile(
6485
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
6486
+ reqMethod="POST",
6487
+ endpoint=g_param[OptionsDefine.Endpoint],
6488
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
6489
+ )
6490
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
6491
+ if g_param[OptionsDefine.Language]:
6492
+ profile.language = g_param[OptionsDefine.Language]
6493
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
6494
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
6495
+ client._sdkVersion += ("_CLI_" + __version__)
6496
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
6497
+ model = models.DescribeLivePackageInfoRequest()
6498
+ model.from_json_string(json.dumps(args))
6499
+ start_time = time.time()
6500
+ while True:
6501
+ rsp = client.DescribeLivePackageInfo(model)
6502
+ result = rsp.to_json_string()
6503
+ try:
6504
+ json_obj = json.loads(result)
6505
+ except TypeError as e:
6506
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
6507
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
6508
+ break
6509
+ cur_time = time.time()
6510
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
6511
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
6512
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
6513
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
6514
+ else:
6515
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
6516
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
6517
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6518
+
6519
+
6000
6520
  def doDescribeLiveTimeShiftWriteSizeInfoList(args, parsed_globals):
6001
6521
  g_param = parse_global_arg(parsed_globals)
6002
6522
 
@@ -6153,6 +6673,58 @@ def doAddLiveDomain(args, parsed_globals):
6153
6673
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6154
6674
 
6155
6675
 
6676
+ def doModifyPullStreamStatus(args, parsed_globals):
6677
+ g_param = parse_global_arg(parsed_globals)
6678
+
6679
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
6680
+ cred = credential.CVMRoleCredential()
6681
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
6682
+ cred = credential.STSAssumeRoleCredential(
6683
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
6684
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
6685
+ )
6686
+ 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):
6687
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
6688
+ else:
6689
+ cred = credential.Credential(
6690
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
6691
+ )
6692
+ http_profile = HttpProfile(
6693
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
6694
+ reqMethod="POST",
6695
+ endpoint=g_param[OptionsDefine.Endpoint],
6696
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
6697
+ )
6698
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
6699
+ if g_param[OptionsDefine.Language]:
6700
+ profile.language = g_param[OptionsDefine.Language]
6701
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
6702
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
6703
+ client._sdkVersion += ("_CLI_" + __version__)
6704
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
6705
+ model = models.ModifyPullStreamStatusRequest()
6706
+ model.from_json_string(json.dumps(args))
6707
+ start_time = time.time()
6708
+ while True:
6709
+ rsp = client.ModifyPullStreamStatus(model)
6710
+ result = rsp.to_json_string()
6711
+ try:
6712
+ json_obj = json.loads(result)
6713
+ except TypeError as e:
6714
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
6715
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
6716
+ break
6717
+ cur_time = time.time()
6718
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
6719
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
6720
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
6721
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
6722
+ else:
6723
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
6724
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
6725
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6726
+
6727
+
6156
6728
  def doDeleteLivePadTemplate(args, parsed_globals):
6157
6729
  g_param = parse_global_arg(parsed_globals)
6158
6730
 
@@ -6881,7 +7453,7 @@ def doRestartLivePullStreamTask(args, parsed_globals):
6881
7453
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6882
7454
 
6883
7455
 
6884
- def doDescribeLivePadTemplates(args, parsed_globals):
7456
+ def doCreatePullStreamConfig(args, parsed_globals):
6885
7457
  g_param = parse_global_arg(parsed_globals)
6886
7458
 
6887
7459
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -6910,11 +7482,11 @@ def doDescribeLivePadTemplates(args, parsed_globals):
6910
7482
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
6911
7483
  client._sdkVersion += ("_CLI_" + __version__)
6912
7484
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
6913
- model = models.DescribeLivePadTemplatesRequest()
7485
+ model = models.CreatePullStreamConfigRequest()
6914
7486
  model.from_json_string(json.dumps(args))
6915
7487
  start_time = time.time()
6916
7488
  while True:
6917
- rsp = client.DescribeLivePadTemplates(model)
7489
+ rsp = client.CreatePullStreamConfig(model)
6918
7490
  result = rsp.to_json_string()
6919
7491
  try:
6920
7492
  json_obj = json.loads(result)
@@ -7037,6 +7609,58 @@ def doDescribeLivePadRules(args, parsed_globals):
7037
7609
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7038
7610
 
7039
7611
 
7612
+ def doDeleteCasterInputInfo(args, parsed_globals):
7613
+ g_param = parse_global_arg(parsed_globals)
7614
+
7615
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
7616
+ cred = credential.CVMRoleCredential()
7617
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
7618
+ cred = credential.STSAssumeRoleCredential(
7619
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
7620
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
7621
+ )
7622
+ 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):
7623
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
7624
+ else:
7625
+ cred = credential.Credential(
7626
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
7627
+ )
7628
+ http_profile = HttpProfile(
7629
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
7630
+ reqMethod="POST",
7631
+ endpoint=g_param[OptionsDefine.Endpoint],
7632
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
7633
+ )
7634
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
7635
+ if g_param[OptionsDefine.Language]:
7636
+ profile.language = g_param[OptionsDefine.Language]
7637
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
7638
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
7639
+ client._sdkVersion += ("_CLI_" + __version__)
7640
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
7641
+ model = models.DeleteCasterInputInfoRequest()
7642
+ model.from_json_string(json.dumps(args))
7643
+ start_time = time.time()
7644
+ while True:
7645
+ rsp = client.DeleteCasterInputInfo(model)
7646
+ result = rsp.to_json_string()
7647
+ try:
7648
+ json_obj = json.loads(result)
7649
+ except TypeError as e:
7650
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
7651
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
7652
+ break
7653
+ cur_time = time.time()
7654
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
7655
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
7656
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
7657
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
7658
+ else:
7659
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
7660
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
7661
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7662
+
7663
+
7040
7664
  def doDeleteLiveRecord(args, parsed_globals):
7041
7665
  g_param = parse_global_arg(parsed_globals)
7042
7666
 
@@ -7349,7 +7973,7 @@ def doDescribeCaster(args, parsed_globals):
7349
7973
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7350
7974
 
7351
7975
 
7352
- def doDeleteLiveTimeShiftTemplate(args, parsed_globals):
7976
+ def doDescribeLivePullStreamTasks(args, parsed_globals):
7353
7977
  g_param = parse_global_arg(parsed_globals)
7354
7978
 
7355
7979
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -7378,11 +8002,11 @@ def doDeleteLiveTimeShiftTemplate(args, parsed_globals):
7378
8002
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
7379
8003
  client._sdkVersion += ("_CLI_" + __version__)
7380
8004
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
7381
- model = models.DeleteLiveTimeShiftTemplateRequest()
8005
+ model = models.DescribeLivePullStreamTasksRequest()
7382
8006
  model.from_json_string(json.dumps(args))
7383
8007
  start_time = time.time()
7384
8008
  while True:
7385
- rsp = client.DeleteLiveTimeShiftTemplate(model)
8009
+ rsp = client.DescribeLivePullStreamTasks(model)
7386
8010
  result = rsp.to_json_string()
7387
8011
  try:
7388
8012
  json_obj = json.loads(result)
@@ -7973,6 +8597,58 @@ def doCopyCaster(args, parsed_globals):
7973
8597
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7974
8598
 
7975
8599
 
8600
+ def doModifyCasterInputInfo(args, parsed_globals):
8601
+ g_param = parse_global_arg(parsed_globals)
8602
+
8603
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
8604
+ cred = credential.CVMRoleCredential()
8605
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
8606
+ cred = credential.STSAssumeRoleCredential(
8607
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
8608
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
8609
+ )
8610
+ 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):
8611
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
8612
+ else:
8613
+ cred = credential.Credential(
8614
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
8615
+ )
8616
+ http_profile = HttpProfile(
8617
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
8618
+ reqMethod="POST",
8619
+ endpoint=g_param[OptionsDefine.Endpoint],
8620
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
8621
+ )
8622
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
8623
+ if g_param[OptionsDefine.Language]:
8624
+ profile.language = g_param[OptionsDefine.Language]
8625
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
8626
+ client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
8627
+ client._sdkVersion += ("_CLI_" + __version__)
8628
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
8629
+ model = models.ModifyCasterInputInfoRequest()
8630
+ model.from_json_string(json.dumps(args))
8631
+ start_time = time.time()
8632
+ while True:
8633
+ rsp = client.ModifyCasterInputInfo(model)
8634
+ result = rsp.to_json_string()
8635
+ try:
8636
+ json_obj = json.loads(result)
8637
+ except TypeError as e:
8638
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
8639
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
8640
+ break
8641
+ cur_time = time.time()
8642
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
8643
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
8644
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
8645
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
8646
+ else:
8647
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
8648
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
8649
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
8650
+
8651
+
7976
8652
  def doDescribeBackupStreamList(args, parsed_globals):
7977
8653
  g_param = parse_global_arg(parsed_globals)
7978
8654
 
@@ -8337,7 +9013,7 @@ def doEnableLiveDomain(args, parsed_globals):
8337
9013
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
8338
9014
 
8339
9015
 
8340
- def doCancelCommonMixStream(args, parsed_globals):
9016
+ def doDeleteCasterOutputInfo(args, parsed_globals):
8341
9017
  g_param = parse_global_arg(parsed_globals)
8342
9018
 
8343
9019
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -8366,11 +9042,11 @@ def doCancelCommonMixStream(args, parsed_globals):
8366
9042
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
8367
9043
  client._sdkVersion += ("_CLI_" + __version__)
8368
9044
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
8369
- model = models.CancelCommonMixStreamRequest()
9045
+ model = models.DeleteCasterOutputInfoRequest()
8370
9046
  model.from_json_string(json.dumps(args))
8371
9047
  start_time = time.time()
8372
9048
  while True:
8373
- rsp = client.CancelCommonMixStream(model)
9049
+ rsp = client.DeleteCasterOutputInfo(model)
8374
9050
  result = rsp.to_json_string()
8375
9051
  try:
8376
9052
  json_obj = json.loads(result)
@@ -8441,7 +9117,7 @@ def doStopLivePadProcessor(args, parsed_globals):
8441
9117
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
8442
9118
 
8443
9119
 
8444
- def doDescribeLivePackageInfo(args, parsed_globals):
9120
+ def doDeleteLiveTranscodeTemplate(args, parsed_globals):
8445
9121
  g_param = parse_global_arg(parsed_globals)
8446
9122
 
8447
9123
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -8470,11 +9146,11 @@ def doDescribeLivePackageInfo(args, parsed_globals):
8470
9146
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
8471
9147
  client._sdkVersion += ("_CLI_" + __version__)
8472
9148
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
8473
- model = models.DescribeLivePackageInfoRequest()
9149
+ model = models.DeleteLiveTranscodeTemplateRequest()
8474
9150
  model.from_json_string(json.dumps(args))
8475
9151
  start_time = time.time()
8476
9152
  while True:
8477
- rsp = client.DescribeLivePackageInfo(model)
9153
+ rsp = client.DeleteLiveTranscodeTemplate(model)
8478
9154
  result = rsp.to_json_string()
8479
9155
  try:
8480
9156
  json_obj = json.loads(result)
@@ -8493,7 +9169,7 @@ def doDescribeLivePackageInfo(args, parsed_globals):
8493
9169
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
8494
9170
 
8495
9171
 
8496
- def doCreatePullStreamConfig(args, parsed_globals):
9172
+ def doDescribeLivePadTemplates(args, parsed_globals):
8497
9173
  g_param = parse_global_arg(parsed_globals)
8498
9174
 
8499
9175
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -8522,11 +9198,11 @@ def doCreatePullStreamConfig(args, parsed_globals):
8522
9198
  client = mod.LiveClient(cred, g_param[OptionsDefine.Region], profile)
8523
9199
  client._sdkVersion += ("_CLI_" + __version__)
8524
9200
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
8525
- model = models.CreatePullStreamConfigRequest()
9201
+ model = models.DescribeLivePadTemplatesRequest()
8526
9202
  model.from_json_string(json.dumps(args))
8527
9203
  start_time = time.time()
8528
9204
  while True:
8529
- rsp = client.CreatePullStreamConfig(model)
9205
+ rsp = client.DescribeLivePadTemplates(model)
8530
9206
  result = rsp.to_json_string()
8531
9207
  try:
8532
9208
  json_obj = json.loads(result)
@@ -8730,22 +9406,26 @@ ACTION_MAP = {
8730
9406
  "StartLiveStreamMonitor": doStartLiveStreamMonitor,
8731
9407
  "DescribeLiveSnapshotRules": doDescribeLiveSnapshotRules,
8732
9408
  "DescribeTimeShiftStreamList": doDescribeTimeShiftStreamList,
8733
- "DeleteLiveTranscodeTemplate": doDeleteLiveTranscodeTemplate,
9409
+ "AddCasterInputInfo": doAddCasterInputInfo,
8734
9410
  "CreateLivePadTemplate": doCreateLivePadTemplate,
8735
9411
  "CreateLiveStreamMonitor": doCreateLiveStreamMonitor,
8736
9412
  "DescribeLiveDomainReferer": doDescribeLiveDomainReferer,
8737
9413
  "DeleteScreenshotTask": doDeleteScreenshotTask,
8738
9414
  "DescribeTopClientIpSumInfoList": doDescribeTopClientIpSumInfoList,
8739
- "ModifyPullStreamStatus": doModifyPullStreamStatus,
9415
+ "CreateCasterInputPushUrl": doCreateCasterInputPushUrl,
9416
+ "CreateLivePadRule": doCreateLivePadRule,
8740
9417
  "CreateScreenshotTask": doCreateScreenshotTask,
8741
9418
  "DescribeLiveRecordTemplates": doDescribeLiveRecordTemplates,
8742
9419
  "AuthenticateDomainOwner": doAuthenticateDomainOwner,
8743
9420
  "ModifyLiveStreamMonitor": doModifyLiveStreamMonitor,
9421
+ "DescribeCasterInputInfos": doDescribeCasterInputInfos,
8744
9422
  "DescribeVisitTopSumInfoList": doDescribeVisitTopSumInfoList,
8745
9423
  "ModifyLiveRecordTemplate": doModifyLiveRecordTemplate,
9424
+ "AddCasterLayoutInfo": doAddCasterLayoutInfo,
8746
9425
  "DescribeLiveDomainCert": doDescribeLiveDomainCert,
8747
9426
  "AddLiveWatermark": doAddLiveWatermark,
8748
9427
  "DescribeAreaBillBandwidthAndFluxList": doDescribeAreaBillBandwidthAndFluxList,
9428
+ "DeleteCasterLayoutInfo": doDeleteCasterLayoutInfo,
8749
9429
  "DeleteLiveWatermarkRule": doDeleteLiveWatermarkRule,
8750
9430
  "DescribeDeliverBandwidthList": doDescribeDeliverBandwidthList,
8751
9431
  "DeleteLiveCallbackRule": doDeleteLiveCallbackRule,
@@ -8786,21 +9466,23 @@ ACTION_MAP = {
8786
9466
  "DescribeLiveDomains": doDescribeLiveDomains,
8787
9467
  "DescribePullTransformPushInfo": doDescribePullTransformPushInfo,
8788
9468
  "CreateLiveCallbackTemplate": doCreateLiveCallbackTemplate,
9469
+ "ModifyCasterOutputInfo": doModifyCasterOutputInfo,
8789
9470
  "ResumeLiveStream": doResumeLiveStream,
8790
9471
  "ModifyLivePullStreamTask": doModifyLivePullStreamTask,
8791
9472
  "DeleteLiveDomain": doDeleteLiveDomain,
8792
9473
  "ModifyLiveCallbackTemplate": doModifyLiveCallbackTemplate,
8793
- "DescribeLivePullStreamTasks": doDescribeLivePullStreamTasks,
9474
+ "DeleteLiveTimeShiftTemplate": doDeleteLiveTimeShiftTemplate,
8794
9475
  "DescribeGroupProIspPlayInfoList": doDescribeGroupProIspPlayInfoList,
8795
9476
  "DescribeStreamPlayInfoList": doDescribeStreamPlayInfoList,
8796
9477
  "DescribeCasterUserStatus": doDescribeCasterUserStatus,
9478
+ "DescribeCasterLayoutInfos": doDescribeCasterLayoutInfos,
8797
9479
  "DescribeLivePullStreamTaskStatus": doDescribeLivePullStreamTaskStatus,
8798
9480
  "DescribeLiveSnapshotTemplate": doDescribeLiveSnapshotTemplate,
8799
9481
  "DescribeLiveCallbackTemplates": doDescribeLiveCallbackTemplates,
8800
9482
  "StopRecordTask": doStopRecordTask,
8801
9483
  "ModifyLiveTimeShiftTemplate": doModifyLiveTimeShiftTemplate,
8802
9484
  "DescribeLiveSnapshotTemplates": doDescribeLiveSnapshotTemplates,
8803
- "CreateLivePadRule": doCreateLivePadRule,
9485
+ "DescribeCasterOutputInfos": doDescribeCasterOutputInfos,
8804
9486
  "StopLiveRecord": doStopLiveRecord,
8805
9487
  "ModifyLivePlayAuthKey": doModifyLivePlayAuthKey,
8806
9488
  "DeleteCaster": doDeleteCaster,
@@ -8810,9 +9492,12 @@ ACTION_MAP = {
8810
9492
  "DeleteRecordTask": doDeleteRecordTask,
8811
9493
  "DescribeLiveTranscodeDetailInfo": doDescribeLiveTranscodeDetailInfo,
8812
9494
  "DescribeLogDownloadList": doDescribeLogDownloadList,
9495
+ "AddCasterOutputInfo": doAddCasterOutputInfo,
8813
9496
  "DescribeLiveRecordRules": doDescribeLiveRecordRules,
8814
- "DescribeLiveTimeShiftTemplates": doDescribeLiveTimeShiftTemplates,
9497
+ "CancelCommonMixStream": doCancelCommonMixStream,
8815
9498
  "DescribeLiveXP2PDetailInfoList": doDescribeLiveXP2PDetailInfoList,
9499
+ "DescribeLiveTimeShiftTemplates": doDescribeLiveTimeShiftTemplates,
9500
+ "ModifyCasterLayoutInfo": doModifyCasterLayoutInfo,
8816
9501
  "DescribeLiveDelayInfoList": doDescribeLiveDelayInfoList,
8817
9502
  "DescribeLiveTimeShiftRules": doDescribeLiveTimeShiftRules,
8818
9503
  "DeleteLiveRecordRule": doDeleteLiveRecordRule,
@@ -8827,9 +9512,11 @@ ACTION_MAP = {
8827
9512
  "DescribeLivePadProcessorList": doDescribeLivePadProcessorList,
8828
9513
  "DescribePushBandwidthAndFluxList": doDescribePushBandwidthAndFluxList,
8829
9514
  "DescribeLiveCallbackTemplate": doDescribeLiveCallbackTemplate,
9515
+ "DescribeLivePackageInfo": doDescribeLivePackageInfo,
8830
9516
  "DescribeLiveTimeShiftWriteSizeInfoList": doDescribeLiveTimeShiftWriteSizeInfoList,
8831
9517
  "ForbidLiveStream": doForbidLiveStream,
8832
9518
  "AddLiveDomain": doAddLiveDomain,
9519
+ "ModifyPullStreamStatus": doModifyPullStreamStatus,
8833
9520
  "DeleteLivePadTemplate": doDeleteLivePadTemplate,
8834
9521
  "SwitchBackupStream": doSwitchBackupStream,
8835
9522
  "DescribeLiveDomainPlayInfoList": doDescribeLiveDomainPlayInfoList,
@@ -8844,16 +9531,17 @@ ACTION_MAP = {
8844
9531
  "CreateLiveTranscodeRule": doCreateLiveTranscodeRule,
8845
9532
  "DeleteLiveTimeShiftRule": doDeleteLiveTimeShiftRule,
8846
9533
  "RestartLivePullStreamTask": doRestartLivePullStreamTask,
8847
- "DescribeLivePadTemplates": doDescribeLivePadTemplates,
9534
+ "CreatePullStreamConfig": doCreatePullStreamConfig,
8848
9535
  "DescribeLiveWatermarkRules": doDescribeLiveWatermarkRules,
8849
9536
  "DescribeLivePadRules": doDescribeLivePadRules,
9537
+ "DeleteCasterInputInfo": doDeleteCasterInputInfo,
8850
9538
  "DeleteLiveRecord": doDeleteLiveRecord,
8851
9539
  "DescribeLiveStreamMonitorList": doDescribeLiveStreamMonitorList,
8852
9540
  "CreateLiveSnapshotRule": doCreateLiveSnapshotRule,
8853
9541
  "CreateLiveTimeShiftTemplate": doCreateLiveTimeShiftTemplate,
8854
9542
  "DeleteLiveStreamMonitor": doDeleteLiveStreamMonitor,
8855
9543
  "DescribeCaster": doDescribeCaster,
8856
- "DeleteLiveTimeShiftTemplate": doDeleteLiveTimeShiftTemplate,
9544
+ "DescribeLivePullStreamTasks": doDescribeLivePullStreamTasks,
8857
9545
  "DescribeProIspPlaySumInfoList": doDescribeProIspPlaySumInfoList,
8858
9546
  "DescribeAllStreamPlayInfoList": doDescribeAllStreamPlayInfoList,
8859
9547
  "DescribeLivePlayAuthKey": doDescribeLivePlayAuthKey,
@@ -8865,6 +9553,7 @@ ACTION_MAP = {
8865
9553
  "ModifyLiveDomainReferer": doModifyLiveDomainReferer,
8866
9554
  "DeleteLiveRecordTemplate": doDeleteLiveRecordTemplate,
8867
9555
  "CopyCaster": doCopyCaster,
9556
+ "ModifyCasterInputInfo": doModifyCasterInputInfo,
8868
9557
  "DescribeBackupStreamList": doDescribeBackupStreamList,
8869
9558
  "ResumeDelayLiveStream": doResumeDelayLiveStream,
8870
9559
  "CreateRecordTask": doCreateRecordTask,
@@ -8872,10 +9561,10 @@ ACTION_MAP = {
8872
9561
  "DescribeLiveCerts": doDescribeLiveCerts,
8873
9562
  "DescribeLiveTranscodeRules": doDescribeLiveTranscodeRules,
8874
9563
  "EnableLiveDomain": doEnableLiveDomain,
8875
- "CancelCommonMixStream": doCancelCommonMixStream,
9564
+ "DeleteCasterOutputInfo": doDeleteCasterOutputInfo,
8876
9565
  "StopLivePadProcessor": doStopLivePadProcessor,
8877
- "DescribeLivePackageInfo": doDescribeLivePackageInfo,
8878
- "CreatePullStreamConfig": doCreatePullStreamConfig,
9566
+ "DeleteLiveTranscodeTemplate": doDeleteLiveTranscodeTemplate,
9567
+ "DescribeLivePadTemplates": doDescribeLivePadTemplates,
8879
9568
  "DescribeTranscodeTaskNum": doDescribeTranscodeTaskNum,
8880
9569
  "DescribeLiveStreamPushInfoList": doDescribeLiveStreamPushInfoList,
8881
9570
  "DeleteLiveSnapshotTemplate": doDeleteLiveSnapshotTemplate,