tccli-intl-en 3.1.11.1__py2.py3-none-any.whl → 3.1.12.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 (28) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +6 -0
  3. tccli/services/ai3d/__init__.py +4 -0
  4. tccli/services/ai3d/ai3d_client.py +266 -0
  5. tccli/services/ai3d/v20250513/api.json +264 -0
  6. tccli/services/ai3d/v20250513/examples.json +20 -0
  7. tccli/services/cvm/v20170312/api.json +3 -3
  8. tccli/services/cvm/v20170312/examples.json +31 -31
  9. tccli/services/faceid/v20180301/api.json +2 -2
  10. tccli/services/hunyuan/__init__.py +4 -0
  11. tccli/services/hunyuan/hunyuan_client.py +266 -0
  12. tccli/services/hunyuan/v20230901/api.json +270 -0
  13. tccli/services/hunyuan/v20230901/examples.json +20 -0
  14. tccli/services/mdl/mdl_client.py +192 -24
  15. tccli/services/mdl/v20200326/api.json +418 -5
  16. tccli/services/mdl/v20200326/examples.json +24 -0
  17. tccli/services/mps/mps_client.py +56 -0
  18. tccli/services/mps/v20190612/api.json +208 -9
  19. tccli/services/mps/v20190612/examples.json +36 -22
  20. tccli/services/teo/teo_client.py +56 -0
  21. tccli/services/teo/v20220901/api.json +101 -2
  22. tccli/services/teo/v20220901/examples.json +8 -0
  23. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/METADATA +2 -2
  24. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/RECORD +28 -20
  25. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/LICENSE +0 -0
  26. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/WHEEL +0 -0
  27. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/entry_points.txt +0 -0
  28. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/top_level.txt +0 -0
@@ -72,6 +72,61 @@ def doDescribeStreamLiveChannelAlerts(args, parsed_globals):
72
72
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
73
73
 
74
74
 
75
+ def doDescribeWatermarkDetection(args, parsed_globals):
76
+ g_param = parse_global_arg(parsed_globals)
77
+
78
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
79
+ cred = credential.CVMRoleCredential()
80
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
81
+ cred = credential.STSAssumeRoleCredential(
82
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
83
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
84
+ )
85
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
86
+ and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
87
+ and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
88
+ and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
89
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
90
+ else:
91
+ cred = credential.Credential(
92
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
93
+ )
94
+ http_profile = HttpProfile(
95
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
96
+ reqMethod="POST",
97
+ endpoint=g_param[OptionsDefine.Endpoint],
98
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
99
+ )
100
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
101
+ if g_param[OptionsDefine.Language]:
102
+ profile.language = g_param[OptionsDefine.Language]
103
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
104
+ client = mod.MdlClient(cred, g_param[OptionsDefine.Region], profile)
105
+ client._sdkVersion += ("_CLI_" + __version__)
106
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
107
+ model = models.DescribeWatermarkDetectionRequest()
108
+ model.from_json_string(json.dumps(args))
109
+ start_time = time.time()
110
+ while True:
111
+ rsp = client.DescribeWatermarkDetection(model)
112
+ result = rsp.to_json_string()
113
+ try:
114
+ json_obj = json.loads(result)
115
+ except TypeError as e:
116
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
117
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
118
+ break
119
+ cur_time = time.time()
120
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
121
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
122
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
123
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
124
+ else:
125
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
126
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
127
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
128
+
129
+
75
130
  def doDescribeStreamLiveChannel(args, parsed_globals):
76
131
  g_param = parse_global_arg(parsed_globals)
77
132
 
@@ -182,7 +237,7 @@ def doCreateStreamLiveInput(args, parsed_globals):
182
237
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
183
238
 
184
239
 
185
- def doDeleteStreamLivePlan(args, parsed_globals):
240
+ def doDescribeStreamLiveChannelLogs(args, parsed_globals):
186
241
  g_param = parse_global_arg(parsed_globals)
187
242
 
188
243
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -214,11 +269,11 @@ def doDeleteStreamLivePlan(args, parsed_globals):
214
269
  client = mod.MdlClient(cred, g_param[OptionsDefine.Region], profile)
215
270
  client._sdkVersion += ("_CLI_" + __version__)
216
271
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
217
- model = models.DeleteStreamLivePlanRequest()
272
+ model = models.DescribeStreamLiveChannelLogsRequest()
218
273
  model.from_json_string(json.dumps(args))
219
274
  start_time = time.time()
220
275
  while True:
221
- rsp = client.DeleteStreamLivePlan(model)
276
+ rsp = client.DescribeStreamLiveChannelLogs(model)
222
277
  result = rsp.to_json_string()
223
278
  try:
224
279
  json_obj = json.loads(result)
@@ -292,6 +347,61 @@ def doDescribeStreamLiveInputSecurityGroups(args, parsed_globals):
292
347
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
293
348
 
294
349
 
350
+ def doCreateWatermarkDetection(args, parsed_globals):
351
+ g_param = parse_global_arg(parsed_globals)
352
+
353
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
354
+ cred = credential.CVMRoleCredential()
355
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
356
+ cred = credential.STSAssumeRoleCredential(
357
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
358
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
359
+ )
360
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
361
+ and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
362
+ and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
363
+ and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
364
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
365
+ else:
366
+ cred = credential.Credential(
367
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
368
+ )
369
+ http_profile = HttpProfile(
370
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
371
+ reqMethod="POST",
372
+ endpoint=g_param[OptionsDefine.Endpoint],
373
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
374
+ )
375
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
376
+ if g_param[OptionsDefine.Language]:
377
+ profile.language = g_param[OptionsDefine.Language]
378
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
379
+ client = mod.MdlClient(cred, g_param[OptionsDefine.Region], profile)
380
+ client._sdkVersion += ("_CLI_" + __version__)
381
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
382
+ model = models.CreateWatermarkDetectionRequest()
383
+ model.from_json_string(json.dumps(args))
384
+ start_time = time.time()
385
+ while True:
386
+ rsp = client.CreateWatermarkDetection(model)
387
+ result = rsp.to_json_string()
388
+ try:
389
+ json_obj = json.loads(result)
390
+ except TypeError as e:
391
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
392
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
393
+ break
394
+ cur_time = time.time()
395
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
396
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
397
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
398
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
399
+ else:
400
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
401
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
402
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
403
+
404
+
295
405
  def doDescribeStreamLiveChannelInputStatistics(args, parsed_globals):
296
406
  g_param = parse_global_arg(parsed_globals)
297
407
 
@@ -842,6 +952,61 @@ def doDescribeStreamLivePlans(args, parsed_globals):
842
952
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
843
953
 
844
954
 
955
+ def doDescribeWatermarkDetections(args, parsed_globals):
956
+ g_param = parse_global_arg(parsed_globals)
957
+
958
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
959
+ cred = credential.CVMRoleCredential()
960
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
961
+ cred = credential.STSAssumeRoleCredential(
962
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
963
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
964
+ )
965
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
966
+ and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
967
+ and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
968
+ and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
969
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
970
+ else:
971
+ cred = credential.Credential(
972
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
973
+ )
974
+ http_profile = HttpProfile(
975
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
976
+ reqMethod="POST",
977
+ endpoint=g_param[OptionsDefine.Endpoint],
978
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
979
+ )
980
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
981
+ if g_param[OptionsDefine.Language]:
982
+ profile.language = g_param[OptionsDefine.Language]
983
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
984
+ client = mod.MdlClient(cred, g_param[OptionsDefine.Region], profile)
985
+ client._sdkVersion += ("_CLI_" + __version__)
986
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
987
+ model = models.DescribeWatermarkDetectionsRequest()
988
+ model.from_json_string(json.dumps(args))
989
+ start_time = time.time()
990
+ while True:
991
+ rsp = client.DescribeWatermarkDetections(model)
992
+ result = rsp.to_json_string()
993
+ try:
994
+ json_obj = json.loads(result)
995
+ except TypeError as e:
996
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
997
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
998
+ break
999
+ cur_time = time.time()
1000
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1001
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1002
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1003
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1004
+ else:
1005
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1006
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1007
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1008
+
1009
+
845
1010
  def doModifyStreamLiveWatermark(args, parsed_globals):
846
1011
  g_param = parse_global_arg(parsed_globals)
847
1012
 
@@ -1062,7 +1227,7 @@ def doDescribeStreamLiveWatermark(args, parsed_globals):
1062
1227
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1063
1228
 
1064
1229
 
1065
- def doDescribeStreamLiveChannelLogs(args, parsed_globals):
1230
+ def doStartStreamLiveChannel(args, parsed_globals):
1066
1231
  g_param = parse_global_arg(parsed_globals)
1067
1232
 
1068
1233
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1094,11 +1259,11 @@ def doDescribeStreamLiveChannelLogs(args, parsed_globals):
1094
1259
  client = mod.MdlClient(cred, g_param[OptionsDefine.Region], profile)
1095
1260
  client._sdkVersion += ("_CLI_" + __version__)
1096
1261
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1097
- model = models.DescribeStreamLiveChannelLogsRequest()
1262
+ model = models.StartStreamLiveChannelRequest()
1098
1263
  model.from_json_string(json.dumps(args))
1099
1264
  start_time = time.time()
1100
1265
  while True:
1101
- rsp = client.DescribeStreamLiveChannelLogs(model)
1266
+ rsp = client.StartStreamLiveChannel(model)
1102
1267
  result = rsp.to_json_string()
1103
1268
  try:
1104
1269
  json_obj = json.loads(result)
@@ -1557,7 +1722,7 @@ def doStopStreamLiveChannel(args, parsed_globals):
1557
1722
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1558
1723
 
1559
1724
 
1560
- def doDescribeStreamLiveWatermarks(args, parsed_globals):
1725
+ def doDeleteStreamLivePlan(args, parsed_globals):
1561
1726
  g_param = parse_global_arg(parsed_globals)
1562
1727
 
1563
1728
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1589,11 +1754,11 @@ def doDescribeStreamLiveWatermarks(args, parsed_globals):
1589
1754
  client = mod.MdlClient(cred, g_param[OptionsDefine.Region], profile)
1590
1755
  client._sdkVersion += ("_CLI_" + __version__)
1591
1756
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1592
- model = models.DescribeStreamLiveWatermarksRequest()
1757
+ model = models.DeleteStreamLivePlanRequest()
1593
1758
  model.from_json_string(json.dumps(args))
1594
1759
  start_time = time.time()
1595
1760
  while True:
1596
- rsp = client.DescribeStreamLiveWatermarks(model)
1761
+ rsp = client.DeleteStreamLivePlan(model)
1597
1762
  result = rsp.to_json_string()
1598
1763
  try:
1599
1764
  json_obj = json.loads(result)
@@ -1612,7 +1777,7 @@ def doDescribeStreamLiveWatermarks(args, parsed_globals):
1612
1777
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1613
1778
 
1614
1779
 
1615
- def doGetAbWatermarkPlayUrl(args, parsed_globals):
1780
+ def doDescribeStreamLiveWatermarks(args, parsed_globals):
1616
1781
  g_param = parse_global_arg(parsed_globals)
1617
1782
 
1618
1783
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1644,11 +1809,11 @@ def doGetAbWatermarkPlayUrl(args, parsed_globals):
1644
1809
  client = mod.MdlClient(cred, g_param[OptionsDefine.Region], profile)
1645
1810
  client._sdkVersion += ("_CLI_" + __version__)
1646
1811
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1647
- model = models.GetAbWatermarkPlayUrlRequest()
1812
+ model = models.DescribeStreamLiveWatermarksRequest()
1648
1813
  model.from_json_string(json.dumps(args))
1649
1814
  start_time = time.time()
1650
1815
  while True:
1651
- rsp = client.GetAbWatermarkPlayUrl(model)
1816
+ rsp = client.DescribeStreamLiveWatermarks(model)
1652
1817
  result = rsp.to_json_string()
1653
1818
  try:
1654
1819
  json_obj = json.loads(result)
@@ -1667,7 +1832,7 @@ def doGetAbWatermarkPlayUrl(args, parsed_globals):
1667
1832
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1668
1833
 
1669
1834
 
1670
- def doDeleteStreamLiveInputSecurityGroup(args, parsed_globals):
1835
+ def doGetAbWatermarkPlayUrl(args, parsed_globals):
1671
1836
  g_param = parse_global_arg(parsed_globals)
1672
1837
 
1673
1838
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1699,11 +1864,11 @@ def doDeleteStreamLiveInputSecurityGroup(args, parsed_globals):
1699
1864
  client = mod.MdlClient(cred, g_param[OptionsDefine.Region], profile)
1700
1865
  client._sdkVersion += ("_CLI_" + __version__)
1701
1866
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1702
- model = models.DeleteStreamLiveInputSecurityGroupRequest()
1867
+ model = models.GetAbWatermarkPlayUrlRequest()
1703
1868
  model.from_json_string(json.dumps(args))
1704
1869
  start_time = time.time()
1705
1870
  while True:
1706
- rsp = client.DeleteStreamLiveInputSecurityGroup(model)
1871
+ rsp = client.GetAbWatermarkPlayUrl(model)
1707
1872
  result = rsp.to_json_string()
1708
1873
  try:
1709
1874
  json_obj = json.loads(result)
@@ -1722,7 +1887,7 @@ def doDeleteStreamLiveInputSecurityGroup(args, parsed_globals):
1722
1887
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1723
1888
 
1724
1889
 
1725
- def doCreateStreamLiveInputSecurityGroup(args, parsed_globals):
1890
+ def doDeleteStreamLiveInputSecurityGroup(args, parsed_globals):
1726
1891
  g_param = parse_global_arg(parsed_globals)
1727
1892
 
1728
1893
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1754,11 +1919,11 @@ def doCreateStreamLiveInputSecurityGroup(args, parsed_globals):
1754
1919
  client = mod.MdlClient(cred, g_param[OptionsDefine.Region], profile)
1755
1920
  client._sdkVersion += ("_CLI_" + __version__)
1756
1921
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1757
- model = models.CreateStreamLiveInputSecurityGroupRequest()
1922
+ model = models.DeleteStreamLiveInputSecurityGroupRequest()
1758
1923
  model.from_json_string(json.dumps(args))
1759
1924
  start_time = time.time()
1760
1925
  while True:
1761
- rsp = client.CreateStreamLiveInputSecurityGroup(model)
1926
+ rsp = client.DeleteStreamLiveInputSecurityGroup(model)
1762
1927
  result = rsp.to_json_string()
1763
1928
  try:
1764
1929
  json_obj = json.loads(result)
@@ -1777,7 +1942,7 @@ def doCreateStreamLiveInputSecurityGroup(args, parsed_globals):
1777
1942
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1778
1943
 
1779
1944
 
1780
- def doStartStreamLiveChannel(args, parsed_globals):
1945
+ def doCreateStreamLiveInputSecurityGroup(args, parsed_globals):
1781
1946
  g_param = parse_global_arg(parsed_globals)
1782
1947
 
1783
1948
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1809,11 +1974,11 @@ def doStartStreamLiveChannel(args, parsed_globals):
1809
1974
  client = mod.MdlClient(cred, g_param[OptionsDefine.Region], profile)
1810
1975
  client._sdkVersion += ("_CLI_" + __version__)
1811
1976
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1812
- model = models.StartStreamLiveChannelRequest()
1977
+ model = models.CreateStreamLiveInputSecurityGroupRequest()
1813
1978
  model.from_json_string(json.dumps(args))
1814
1979
  start_time = time.time()
1815
1980
  while True:
1816
- rsp = client.StartStreamLiveChannel(model)
1981
+ rsp = client.CreateStreamLiveInputSecurityGroup(model)
1817
1982
  result = rsp.to_json_string()
1818
1983
  try:
1819
1984
  json_obj = json.loads(result)
@@ -1844,10 +2009,12 @@ MODELS_MAP = {
1844
2009
 
1845
2010
  ACTION_MAP = {
1846
2011
  "DescribeStreamLiveChannelAlerts": doDescribeStreamLiveChannelAlerts,
2012
+ "DescribeWatermarkDetection": doDescribeWatermarkDetection,
1847
2013
  "DescribeStreamLiveChannel": doDescribeStreamLiveChannel,
1848
2014
  "CreateStreamLiveInput": doCreateStreamLiveInput,
1849
- "DeleteStreamLivePlan": doDeleteStreamLivePlan,
2015
+ "DescribeStreamLiveChannelLogs": doDescribeStreamLiveChannelLogs,
1850
2016
  "DescribeStreamLiveInputSecurityGroups": doDescribeStreamLiveInputSecurityGroups,
2017
+ "CreateWatermarkDetection": doCreateWatermarkDetection,
1851
2018
  "DescribeStreamLiveChannelInputStatistics": doDescribeStreamLiveChannelInputStatistics,
1852
2019
  "DeleteStreamLiveChannel": doDeleteStreamLiveChannel,
1853
2020
  "DescribeStreamLiveRegions": doDescribeStreamLiveRegions,
@@ -1858,11 +2025,12 @@ ACTION_MAP = {
1858
2025
  "ModifyStreamLiveChannel": doModifyStreamLiveChannel,
1859
2026
  "DescribeStreamLiveChannels": doDescribeStreamLiveChannels,
1860
2027
  "DescribeStreamLivePlans": doDescribeStreamLivePlans,
2028
+ "DescribeWatermarkDetections": doDescribeWatermarkDetections,
1861
2029
  "ModifyStreamLiveWatermark": doModifyStreamLiveWatermark,
1862
2030
  "CreateStreamLiveWatermark": doCreateStreamLiveWatermark,
1863
2031
  "DescribeStreamLiveInputs": doDescribeStreamLiveInputs,
1864
2032
  "DescribeStreamLiveWatermark": doDescribeStreamLiveWatermark,
1865
- "DescribeStreamLiveChannelLogs": doDescribeStreamLiveChannelLogs,
2033
+ "StartStreamLiveChannel": doStartStreamLiveChannel,
1866
2034
  "QueryInputStreamState": doQueryInputStreamState,
1867
2035
  "DescribeStreamLiveInput": doDescribeStreamLiveInput,
1868
2036
  "DeleteStreamLiveWatermark": doDeleteStreamLiveWatermark,
@@ -1871,11 +2039,11 @@ ACTION_MAP = {
1871
2039
  "DeleteStreamLiveInput": doDeleteStreamLiveInput,
1872
2040
  "DescribeStreamLiveChannelOutputStatistics": doDescribeStreamLiveChannelOutputStatistics,
1873
2041
  "StopStreamLiveChannel": doStopStreamLiveChannel,
2042
+ "DeleteStreamLivePlan": doDeleteStreamLivePlan,
1874
2043
  "DescribeStreamLiveWatermarks": doDescribeStreamLiveWatermarks,
1875
2044
  "GetAbWatermarkPlayUrl": doGetAbWatermarkPlayUrl,
1876
2045
  "DeleteStreamLiveInputSecurityGroup": doDeleteStreamLiveInputSecurityGroup,
1877
2046
  "CreateStreamLiveInputSecurityGroup": doCreateStreamLiveInputSecurityGroup,
1878
- "StartStreamLiveChannel": doStartStreamLiveChannel,
1879
2047
 
1880
2048
  }
1881
2049