tccli 3.0.1357.1__py2.py3-none-any.whl → 3.0.1358.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 (29) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cdz/v20221123/api.json +1 -1
  3. tccli/services/clb/v20180317/api.json +4 -4
  4. tccli/services/cloudaudit/v20190319/api.json +9 -0
  5. tccli/services/ctem/ctem_client.py +57 -4
  6. tccli/services/ctem/v20231128/api.json +70 -0
  7. tccli/services/ctem/v20231128/examples.json +8 -0
  8. tccli/services/cwp/v20180228/api.json +13 -3
  9. tccli/services/dnspod/dnspod_client.py +53 -0
  10. tccli/services/dnspod/v20210323/api.json +218 -0
  11. tccli/services/dnspod/v20210323/examples.json +26 -0
  12. tccli/services/emr/v20190103/api.json +10 -0
  13. tccli/services/ess/ess_client.py +103 -50
  14. tccli/services/ess/v20201111/api.json +337 -0
  15. tccli/services/ess/v20201111/examples.json +8 -0
  16. tccli/services/igtm/v20231024/api.json +1 -1
  17. tccli/services/rum/v20210622/api.json +15 -15
  18. tccli/services/tat/v20201028/api.json +10 -0
  19. tccli/services/trtc/v20190722/api.json +21 -10
  20. tccli/services/trtc/v20190722/examples.json +1 -1
  21. tccli/services/vclm/v20240523/api.json +9 -0
  22. tccli/services/vod/v20180717/api.json +29 -1
  23. tccli/services/vod/v20180717/examples.json +2 -2
  24. tccli/services/weilingwith/v20230427/api.json +2 -2
  25. {tccli-3.0.1357.1.dist-info → tccli-3.0.1358.1.dist-info}/METADATA +2 -2
  26. {tccli-3.0.1357.1.dist-info → tccli-3.0.1358.1.dist-info}/RECORD +29 -29
  27. {tccli-3.0.1357.1.dist-info → tccli-3.0.1358.1.dist-info}/WHEEL +0 -0
  28. {tccli-3.0.1357.1.dist-info → tccli-3.0.1358.1.dist-info}/entry_points.txt +0 -0
  29. {tccli-3.0.1357.1.dist-info → tccli-3.0.1358.1.dist-info}/license_files/LICENSE +0 -0
@@ -1733,7 +1733,7 @@ def doRenewAutoSignLicense(args, parsed_globals):
1733
1733
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1734
1734
 
1735
1735
 
1736
- def doCreateWebThemeConfig(args, parsed_globals):
1736
+ def doVerifyPdf(args, parsed_globals):
1737
1737
  g_param = parse_global_arg(parsed_globals)
1738
1738
 
1739
1739
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1762,11 +1762,11 @@ def doCreateWebThemeConfig(args, parsed_globals):
1762
1762
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
1763
1763
  client._sdkVersion += ("_CLI_" + __version__)
1764
1764
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1765
- model = models.CreateWebThemeConfigRequest()
1765
+ model = models.VerifyPdfRequest()
1766
1766
  model.from_json_string(json.dumps(args))
1767
1767
  start_time = time.time()
1768
1768
  while True:
1769
- rsp = client.CreateWebThemeConfig(model)
1769
+ rsp = client.VerifyPdf(model)
1770
1770
  result = rsp.to_json_string()
1771
1771
  try:
1772
1772
  json_obj = json.loads(result)
@@ -1785,7 +1785,7 @@ def doCreateWebThemeConfig(args, parsed_globals):
1785
1785
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1786
1786
 
1787
1787
 
1788
- def doVerifyPdf(args, parsed_globals):
1788
+ def doBindEmployeeUserIdWithClientOpenId(args, parsed_globals):
1789
1789
  g_param = parse_global_arg(parsed_globals)
1790
1790
 
1791
1791
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1814,11 +1814,11 @@ def doVerifyPdf(args, parsed_globals):
1814
1814
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
1815
1815
  client._sdkVersion += ("_CLI_" + __version__)
1816
1816
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1817
- model = models.VerifyPdfRequest()
1817
+ model = models.BindEmployeeUserIdWithClientOpenIdRequest()
1818
1818
  model.from_json_string(json.dumps(args))
1819
1819
  start_time = time.time()
1820
1820
  while True:
1821
- rsp = client.VerifyPdf(model)
1821
+ rsp = client.BindEmployeeUserIdWithClientOpenId(model)
1822
1822
  result = rsp.to_json_string()
1823
1823
  try:
1824
1824
  json_obj = json.loads(result)
@@ -1837,7 +1837,7 @@ def doVerifyPdf(args, parsed_globals):
1837
1837
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1838
1838
 
1839
1839
 
1840
- def doBindEmployeeUserIdWithClientOpenId(args, parsed_globals):
1840
+ def doCreateOrganizationAuthFile(args, parsed_globals):
1841
1841
  g_param = parse_global_arg(parsed_globals)
1842
1842
 
1843
1843
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1866,11 +1866,11 @@ def doBindEmployeeUserIdWithClientOpenId(args, parsed_globals):
1866
1866
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
1867
1867
  client._sdkVersion += ("_CLI_" + __version__)
1868
1868
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1869
- model = models.BindEmployeeUserIdWithClientOpenIdRequest()
1869
+ model = models.CreateOrganizationAuthFileRequest()
1870
1870
  model.from_json_string(json.dumps(args))
1871
1871
  start_time = time.time()
1872
1872
  while True:
1873
- rsp = client.BindEmployeeUserIdWithClientOpenId(model)
1873
+ rsp = client.CreateOrganizationAuthFile(model)
1874
1874
  result = rsp.to_json_string()
1875
1875
  try:
1876
1876
  json_obj = json.loads(result)
@@ -1889,7 +1889,7 @@ def doBindEmployeeUserIdWithClientOpenId(args, parsed_globals):
1889
1889
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1890
1890
 
1891
1891
 
1892
- def doCreateOrganizationAuthFile(args, parsed_globals):
1892
+ def doDeleteIntegrationRoleUsers(args, parsed_globals):
1893
1893
  g_param = parse_global_arg(parsed_globals)
1894
1894
 
1895
1895
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1918,11 +1918,11 @@ def doCreateOrganizationAuthFile(args, parsed_globals):
1918
1918
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
1919
1919
  client._sdkVersion += ("_CLI_" + __version__)
1920
1920
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1921
- model = models.CreateOrganizationAuthFileRequest()
1921
+ model = models.DeleteIntegrationRoleUsersRequest()
1922
1922
  model.from_json_string(json.dumps(args))
1923
1923
  start_time = time.time()
1924
1924
  while True:
1925
- rsp = client.CreateOrganizationAuthFile(model)
1925
+ rsp = client.DeleteIntegrationRoleUsers(model)
1926
1926
  result = rsp.to_json_string()
1927
1927
  try:
1928
1928
  json_obj = json.loads(result)
@@ -1941,7 +1941,7 @@ def doCreateOrganizationAuthFile(args, parsed_globals):
1941
1941
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1942
1942
 
1943
1943
 
1944
- def doDeleteIntegrationRoleUsers(args, parsed_globals):
1944
+ def doCreateFlowGroupByFiles(args, parsed_globals):
1945
1945
  g_param = parse_global_arg(parsed_globals)
1946
1946
 
1947
1947
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1970,11 +1970,11 @@ def doDeleteIntegrationRoleUsers(args, parsed_globals):
1970
1970
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
1971
1971
  client._sdkVersion += ("_CLI_" + __version__)
1972
1972
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1973
- model = models.DeleteIntegrationRoleUsersRequest()
1973
+ model = models.CreateFlowGroupByFilesRequest()
1974
1974
  model.from_json_string(json.dumps(args))
1975
1975
  start_time = time.time()
1976
1976
  while True:
1977
- rsp = client.DeleteIntegrationRoleUsers(model)
1977
+ rsp = client.CreateFlowGroupByFiles(model)
1978
1978
  result = rsp.to_json_string()
1979
1979
  try:
1980
1980
  json_obj = json.loads(result)
@@ -1993,7 +1993,7 @@ def doDeleteIntegrationRoleUsers(args, parsed_globals):
1993
1993
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1994
1994
 
1995
1995
 
1996
- def doCreateFlowGroupByFiles(args, parsed_globals):
1996
+ def doCreateIntegrationDepartment(args, parsed_globals):
1997
1997
  g_param = parse_global_arg(parsed_globals)
1998
1998
 
1999
1999
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2022,11 +2022,11 @@ def doCreateFlowGroupByFiles(args, parsed_globals):
2022
2022
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2023
2023
  client._sdkVersion += ("_CLI_" + __version__)
2024
2024
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2025
- model = models.CreateFlowGroupByFilesRequest()
2025
+ model = models.CreateIntegrationDepartmentRequest()
2026
2026
  model.from_json_string(json.dumps(args))
2027
2027
  start_time = time.time()
2028
2028
  while True:
2029
- rsp = client.CreateFlowGroupByFiles(model)
2029
+ rsp = client.CreateIntegrationDepartment(model)
2030
2030
  result = rsp.to_json_string()
2031
2031
  try:
2032
2032
  json_obj = json.loads(result)
@@ -2045,7 +2045,7 @@ def doCreateFlowGroupByFiles(args, parsed_globals):
2045
2045
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2046
2046
 
2047
2047
 
2048
- def doCreateIntegrationDepartment(args, parsed_globals):
2048
+ def doCreateContractDiffTaskWebUrl(args, parsed_globals):
2049
2049
  g_param = parse_global_arg(parsed_globals)
2050
2050
 
2051
2051
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2074,11 +2074,11 @@ def doCreateIntegrationDepartment(args, parsed_globals):
2074
2074
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2075
2075
  client._sdkVersion += ("_CLI_" + __version__)
2076
2076
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2077
- model = models.CreateIntegrationDepartmentRequest()
2077
+ model = models.CreateContractDiffTaskWebUrlRequest()
2078
2078
  model.from_json_string(json.dumps(args))
2079
2079
  start_time = time.time()
2080
2080
  while True:
2081
- rsp = client.CreateIntegrationDepartment(model)
2081
+ rsp = client.CreateContractDiffTaskWebUrl(model)
2082
2082
  result = rsp.to_json_string()
2083
2083
  try:
2084
2084
  json_obj = json.loads(result)
@@ -2097,7 +2097,7 @@ def doCreateIntegrationDepartment(args, parsed_globals):
2097
2097
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2098
2098
 
2099
2099
 
2100
- def doCreateContractDiffTaskWebUrl(args, parsed_globals):
2100
+ def doCreateFlow(args, parsed_globals):
2101
2101
  g_param = parse_global_arg(parsed_globals)
2102
2102
 
2103
2103
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2126,11 +2126,11 @@ def doCreateContractDiffTaskWebUrl(args, parsed_globals):
2126
2126
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2127
2127
  client._sdkVersion += ("_CLI_" + __version__)
2128
2128
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2129
- model = models.CreateContractDiffTaskWebUrlRequest()
2129
+ model = models.CreateFlowRequest()
2130
2130
  model.from_json_string(json.dumps(args))
2131
2131
  start_time = time.time()
2132
2132
  while True:
2133
- rsp = client.CreateContractDiffTaskWebUrl(model)
2133
+ rsp = client.CreateFlow(model)
2134
2134
  result = rsp.to_json_string()
2135
2135
  try:
2136
2136
  json_obj = json.loads(result)
@@ -2149,7 +2149,7 @@ def doCreateContractDiffTaskWebUrl(args, parsed_globals):
2149
2149
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2150
2150
 
2151
2151
 
2152
- def doCreateFlow(args, parsed_globals):
2152
+ def doDescribeExtendedServiceAuthInfos(args, parsed_globals):
2153
2153
  g_param = parse_global_arg(parsed_globals)
2154
2154
 
2155
2155
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2178,11 +2178,11 @@ def doCreateFlow(args, parsed_globals):
2178
2178
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2179
2179
  client._sdkVersion += ("_CLI_" + __version__)
2180
2180
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2181
- model = models.CreateFlowRequest()
2181
+ model = models.DescribeExtendedServiceAuthInfosRequest()
2182
2182
  model.from_json_string(json.dumps(args))
2183
2183
  start_time = time.time()
2184
2184
  while True:
2185
- rsp = client.CreateFlow(model)
2185
+ rsp = client.DescribeExtendedServiceAuthInfos(model)
2186
2186
  result = rsp.to_json_string()
2187
2187
  try:
2188
2188
  json_obj = json.loads(result)
@@ -2201,7 +2201,7 @@ def doCreateFlow(args, parsed_globals):
2201
2201
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2202
2202
 
2203
2203
 
2204
- def doDescribeExtendedServiceAuthInfos(args, parsed_globals):
2204
+ def doCreateLegalSealQrCode(args, parsed_globals):
2205
2205
  g_param = parse_global_arg(parsed_globals)
2206
2206
 
2207
2207
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2230,11 +2230,11 @@ def doDescribeExtendedServiceAuthInfos(args, parsed_globals):
2230
2230
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2231
2231
  client._sdkVersion += ("_CLI_" + __version__)
2232
2232
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2233
- model = models.DescribeExtendedServiceAuthInfosRequest()
2233
+ model = models.CreateLegalSealQrCodeRequest()
2234
2234
  model.from_json_string(json.dumps(args))
2235
2235
  start_time = time.time()
2236
2236
  while True:
2237
- rsp = client.DescribeExtendedServiceAuthInfos(model)
2237
+ rsp = client.CreateLegalSealQrCode(model)
2238
2238
  result = rsp.to_json_string()
2239
2239
  try:
2240
2240
  json_obj = json.loads(result)
@@ -2253,7 +2253,7 @@ def doDescribeExtendedServiceAuthInfos(args, parsed_globals):
2253
2253
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2254
2254
 
2255
2255
 
2256
- def doCreateLegalSealQrCode(args, parsed_globals):
2256
+ def doCreateSeal(args, parsed_globals):
2257
2257
  g_param = parse_global_arg(parsed_globals)
2258
2258
 
2259
2259
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2282,11 +2282,11 @@ def doCreateLegalSealQrCode(args, parsed_globals):
2282
2282
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2283
2283
  client._sdkVersion += ("_CLI_" + __version__)
2284
2284
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2285
- model = models.CreateLegalSealQrCodeRequest()
2285
+ model = models.CreateSealRequest()
2286
2286
  model.from_json_string(json.dumps(args))
2287
2287
  start_time = time.time()
2288
2288
  while True:
2289
- rsp = client.CreateLegalSealQrCode(model)
2289
+ rsp = client.CreateSeal(model)
2290
2290
  result = rsp.to_json_string()
2291
2291
  try:
2292
2292
  json_obj = json.loads(result)
@@ -2305,7 +2305,7 @@ def doCreateLegalSealQrCode(args, parsed_globals):
2305
2305
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2306
2306
 
2307
2307
 
2308
- def doCreateSeal(args, parsed_globals):
2308
+ def doCreateMultiFlowSignQRCode(args, parsed_globals):
2309
2309
  g_param = parse_global_arg(parsed_globals)
2310
2310
 
2311
2311
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2334,11 +2334,11 @@ def doCreateSeal(args, parsed_globals):
2334
2334
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2335
2335
  client._sdkVersion += ("_CLI_" + __version__)
2336
2336
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2337
- model = models.CreateSealRequest()
2337
+ model = models.CreateMultiFlowSignQRCodeRequest()
2338
2338
  model.from_json_string(json.dumps(args))
2339
2339
  start_time = time.time()
2340
2340
  while True:
2341
- rsp = client.CreateSeal(model)
2341
+ rsp = client.CreateMultiFlowSignQRCode(model)
2342
2342
  result = rsp.to_json_string()
2343
2343
  try:
2344
2344
  json_obj = json.loads(result)
@@ -2357,7 +2357,7 @@ def doCreateSeal(args, parsed_globals):
2357
2357
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2358
2358
 
2359
2359
 
2360
- def doCreateMultiFlowSignQRCode(args, parsed_globals):
2360
+ def doDescribeExtendedServiceAuthDetail(args, parsed_globals):
2361
2361
  g_param = parse_global_arg(parsed_globals)
2362
2362
 
2363
2363
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2386,11 +2386,11 @@ def doCreateMultiFlowSignQRCode(args, parsed_globals):
2386
2386
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2387
2387
  client._sdkVersion += ("_CLI_" + __version__)
2388
2388
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2389
- model = models.CreateMultiFlowSignQRCodeRequest()
2389
+ model = models.DescribeExtendedServiceAuthDetailRequest()
2390
2390
  model.from_json_string(json.dumps(args))
2391
2391
  start_time = time.time()
2392
2392
  while True:
2393
- rsp = client.CreateMultiFlowSignQRCode(model)
2393
+ rsp = client.DescribeExtendedServiceAuthDetail(model)
2394
2394
  result = rsp.to_json_string()
2395
2395
  try:
2396
2396
  json_obj = json.loads(result)
@@ -2409,7 +2409,7 @@ def doCreateMultiFlowSignQRCode(args, parsed_globals):
2409
2409
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2410
2410
 
2411
2411
 
2412
- def doDescribeExtendedServiceAuthDetail(args, parsed_globals):
2412
+ def doCancelMultiFlowSignQRCode(args, parsed_globals):
2413
2413
  g_param = parse_global_arg(parsed_globals)
2414
2414
 
2415
2415
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2438,11 +2438,11 @@ def doDescribeExtendedServiceAuthDetail(args, parsed_globals):
2438
2438
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2439
2439
  client._sdkVersion += ("_CLI_" + __version__)
2440
2440
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2441
- model = models.DescribeExtendedServiceAuthDetailRequest()
2441
+ model = models.CancelMultiFlowSignQRCodeRequest()
2442
2442
  model.from_json_string(json.dumps(args))
2443
2443
  start_time = time.time()
2444
2444
  while True:
2445
- rsp = client.DescribeExtendedServiceAuthDetail(model)
2445
+ rsp = client.CancelMultiFlowSignQRCode(model)
2446
2446
  result = rsp.to_json_string()
2447
2447
  try:
2448
2448
  json_obj = json.loads(result)
@@ -2461,7 +2461,7 @@ def doDescribeExtendedServiceAuthDetail(args, parsed_globals):
2461
2461
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2462
2462
 
2463
2463
 
2464
- def doCancelMultiFlowSignQRCode(args, parsed_globals):
2464
+ def doCreateMiniAppPrepareFlow(args, parsed_globals):
2465
2465
  g_param = parse_global_arg(parsed_globals)
2466
2466
 
2467
2467
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2490,11 +2490,11 @@ def doCancelMultiFlowSignQRCode(args, parsed_globals):
2490
2490
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2491
2491
  client._sdkVersion += ("_CLI_" + __version__)
2492
2492
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2493
- model = models.CancelMultiFlowSignQRCodeRequest()
2493
+ model = models.CreateMiniAppPrepareFlowRequest()
2494
2494
  model.from_json_string(json.dumps(args))
2495
2495
  start_time = time.time()
2496
2496
  while True:
2497
- rsp = client.CancelMultiFlowSignQRCode(model)
2497
+ rsp = client.CreateMiniAppPrepareFlow(model)
2498
2498
  result = rsp.to_json_string()
2499
2499
  try:
2500
2500
  json_obj = json.loads(result)
@@ -2617,6 +2617,58 @@ def doDescribeSignFaceVideo(args, parsed_globals):
2617
2617
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2618
2618
 
2619
2619
 
2620
+ def doCreateFlowByFiles(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.EssClient(cred, g_param[OptionsDefine.Region], profile)
2647
+ client._sdkVersion += ("_CLI_" + __version__)
2648
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2649
+ model = models.CreateFlowByFilesRequest()
2650
+ model.from_json_string(json.dumps(args))
2651
+ start_time = time.time()
2652
+ while True:
2653
+ rsp = client.CreateFlowByFiles(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
+
2620
2672
  def doCreateFlowSignUrl(args, parsed_globals):
2621
2673
  g_param = parse_global_arg(parsed_globals)
2622
2674
 
@@ -4177,7 +4229,7 @@ def doDescribeFlowComponents(args, parsed_globals):
4177
4229
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4178
4230
 
4179
4231
 
4180
- def doCreateFlowByFiles(args, parsed_globals):
4232
+ def doCreateWebThemeConfig(args, parsed_globals):
4181
4233
  g_param = parse_global_arg(parsed_globals)
4182
4234
 
4183
4235
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4206,11 +4258,11 @@ def doCreateFlowByFiles(args, parsed_globals):
4206
4258
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
4207
4259
  client._sdkVersion += ("_CLI_" + __version__)
4208
4260
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4209
- model = models.CreateFlowByFilesRequest()
4261
+ model = models.CreateWebThemeConfigRequest()
4210
4262
  model.from_json_string(json.dumps(args))
4211
4263
  start_time = time.time()
4212
4264
  while True:
4213
- rsp = client.CreateFlowByFiles(model)
4265
+ rsp = client.CreateWebThemeConfig(model)
4214
4266
  result = rsp.to_json_string()
4215
4267
  try:
4216
4268
  json_obj = json.loads(result)
@@ -5937,7 +5989,6 @@ ACTION_MAP = {
5937
5989
  "CreateUserAutoSignSealUrl": doCreateUserAutoSignSealUrl,
5938
5990
  "DescribeOrganizationAuthStatus": doDescribeOrganizationAuthStatus,
5939
5991
  "RenewAutoSignLicense": doRenewAutoSignLicense,
5940
- "CreateWebThemeConfig": doCreateWebThemeConfig,
5941
5992
  "VerifyPdf": doVerifyPdf,
5942
5993
  "BindEmployeeUserIdWithClientOpenId": doBindEmployeeUserIdWithClientOpenId,
5943
5994
  "CreateOrganizationAuthFile": doCreateOrganizationAuthFile,
@@ -5952,8 +6003,10 @@ ACTION_MAP = {
5952
6003
  "CreateMultiFlowSignQRCode": doCreateMultiFlowSignQRCode,
5953
6004
  "DescribeExtendedServiceAuthDetail": doDescribeExtendedServiceAuthDetail,
5954
6005
  "CancelMultiFlowSignQRCode": doCancelMultiFlowSignQRCode,
6006
+ "CreateMiniAppPrepareFlow": doCreateMiniAppPrepareFlow,
5955
6007
  "DescribeFlowBriefs": doDescribeFlowBriefs,
5956
6008
  "DescribeSignFaceVideo": doDescribeSignFaceVideo,
6009
+ "CreateFlowByFiles": doCreateFlowByFiles,
5957
6010
  "CreateFlowSignUrl": doCreateFlowSignUrl,
5958
6011
  "CreateBatchInitOrganizationUrl": doCreateBatchInitOrganizationUrl,
5959
6012
  "CreateFlowEvidenceReport": doCreateFlowEvidenceReport,
@@ -5984,7 +6037,7 @@ ACTION_MAP = {
5984
6037
  "UploadFiles": doUploadFiles,
5985
6038
  "CreateFlowForwards": doCreateFlowForwards,
5986
6039
  "DescribeFlowComponents": doDescribeFlowComponents,
5987
- "CreateFlowByFiles": doCreateFlowByFiles,
6040
+ "CreateWebThemeConfig": doCreateWebThemeConfig,
5988
6041
  "CreateDynamicFlowApprover": doCreateDynamicFlowApprover,
5989
6042
  "DescribeUserFlowType": doDescribeUserFlowType,
5990
6043
  "CreateModifyAdminAuthorizationUrl": doCreateModifyAdminAuthorizationUrl,