tccli 3.0.1091.1__py2.py3-none-any.whl → 3.0.1093.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/cdb/v20170320/CheckMigrateCluster.md +18 -0
- tccli/examples/cdb/v20170320/DescribeClusterInfo.md +59 -0
- tccli/examples/domain/v20180808/BidPreDomains.md +21 -0
- tccli/examples/domain/v20180808/DescribeReservedBidInfo.md +43 -0
- tccli/examples/domain/v20180808/DescribeReservedPreDomainInfo.md +31 -0
- tccli/examples/es/v20180416/UpdateInstance.md +27 -27
- tccli/examples/es/v20180416/UpdatePlugins.md +6 -6
- tccli/examples/ess/v20201111/CreateBatchOrganizationRegistrationTasks.md +146 -0
- tccli/examples/ess/v20201111/CreateOrganizationAuthUrl.md +28 -0
- tccli/examples/ess/v20201111/CreateOrganizationBatchSignUrl.md +28 -0
- tccli/examples/hunyuan/v20230901/ChatPro.md +69 -31
- tccli/examples/hunyuan/v20230901/ChatStd.md +40 -1
- tccli/examples/lke/v20231130/CheckAttributeLabelExist.md +24 -0
- tccli/examples/lke/v20231130/CheckAttributeLabelRefer.md +23 -0
- tccli/examples/lke/v20231130/CreateApp.md +24 -0
- tccli/examples/lke/v20231130/CreateAttributeLabel.md +24 -0
- tccli/examples/lke/v20231130/CreateCorp.md +24 -0
- tccli/examples/lke/v20231130/CreateQA.md +24 -0
- tccli/examples/lke/v20231130/CreateQACate.md +26 -0
- tccli/examples/lke/v20231130/CreateRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/CreateRelease.md +21 -0
- tccli/examples/lke/v20231130/DeleteApp.md +21 -0
- tccli/examples/lke/v20231130/DeleteAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/DeleteDoc.md +21 -0
- tccli/examples/lke/v20231130/DeleteQA.md +21 -0
- tccli/examples/lke/v20231130/DeleteQACate.md +21 -0
- tccli/examples/lke/v20231130/DeleteRejectedQuestion.md +21 -0
- tccli/examples/lke/v20231130/DescribeApp.md +29 -0
- tccli/examples/lke/v20231130/DescribeAttributeLabel.md +28 -0
- tccli/examples/lke/v20231130/DescribeCorp.md +21 -0
- tccli/examples/lke/v20231130/DescribeDoc.md +44 -0
- tccli/examples/lke/v20231130/DescribeQA.md +42 -0
- tccli/examples/lke/v20231130/DescribeRefer.md +35 -0
- tccli/examples/lke/v20231130/DescribeRelease.md +25 -0
- tccli/examples/lke/v20231130/DescribeReleaseInfo.md +24 -0
- tccli/examples/lke/v20231130/DescribeRobotBizIDByAppKey.md +21 -0
- tccli/examples/lke/v20231130/DescribeStorageCredential.md +32 -0
- tccli/examples/lke/v20231130/DescribeUnsatisfiedReplyContext.md +121 -0
- tccli/examples/lke/v20231130/ExportAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/ExportQAList.md +21 -0
- tccli/examples/lke/v20231130/ExportUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/GenerateQA.md +21 -0
- tccli/examples/lke/v20231130/GetAppKnowledgeCount.md +22 -0
- tccli/examples/lke/v20231130/GetAppSecret.md +24 -0
- tccli/examples/lke/v20231130/GetDocPreview.md +26 -0
- tccli/examples/lke/v20231130/GetEmbedding.md +29 -0
- tccli/examples/lke/v20231130/GetMsgRecord.md +51 -0
- tccli/examples/lke/v20231130/GetTaskStatus.md +0 -0
- tccli/examples/lke/v20231130/GetWsToken.md +44 -0
- tccli/examples/lke/v20231130/GroupQA.md +44 -0
- tccli/examples/lke/v20231130/IgnoreUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/IsTransferIntent.md +22 -0
- tccli/examples/lke/v20231130/ListApp.md +36 -0
- tccli/examples/lke/v20231130/ListAppCategory.md +25 -0
- tccli/examples/lke/v20231130/ListAttributeLabel.md +33 -0
- tccli/examples/lke/v20231130/ListDoc.md +52 -0
- tccli/examples/lke/v20231130/ListModel.md +31 -0
- tccli/examples/lke/v20231130/ListQA.md +66 -0
- tccli/examples/lke/v20231130/ListQACate.md +41 -0
- tccli/examples/lke/v20231130/ListRejectedQuestion.md +52 -0
- tccli/examples/lke/v20231130/ListRejectedQuestionPreview.md +37 -0
- tccli/examples/lke/v20231130/ListRelease.md +36 -0
- tccli/examples/lke/v20231130/ListReleaseConfigPreview.md +129 -0
- tccli/examples/lke/v20231130/ListReleaseDocPreview.md +38 -0
- tccli/examples/lke/v20231130/ListReleaseQAPreview.md +107 -0
- tccli/examples/lke/v20231130/ListSelectDoc.md +27 -0
- tccli/examples/lke/v20231130/ListUnsatisfiedReply.md +24 -0
- tccli/examples/lke/v20231130/ModifyApp.md +25 -0
- tccli/examples/lke/v20231130/ModifyAttributeLabel.md +23 -0
- tccli/examples/lke/v20231130/ModifyDoc.md +25 -0
- tccli/examples/lke/v20231130/ModifyDocAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQA.md +24 -0
- tccli/examples/lke/v20231130/ModifyQAAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQACate.md +22 -0
- tccli/examples/lke/v20231130/ModifyRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/ParseDoc.md +25 -0
- tccli/examples/lke/v20231130/QueryParseDocResult.md +24 -0
- tccli/examples/lke/v20231130/QueryRewrite.md +25 -0
- tccli/examples/lke/v20231130/RateMsgRecord.md +22 -0
- tccli/examples/lke/v20231130/ResetSession.md +20 -0
- tccli/examples/lke/v20231130/RetryDocAudit.md +21 -0
- tccli/examples/lke/v20231130/RetryDocParse.md +21 -0
- tccli/examples/lke/v20231130/RetryRelease.md +21 -0
- tccli/examples/lke/v20231130/SaveDoc.md +34 -0
- tccli/examples/lke/v20231130/StopDocParse.md +21 -0
- tccli/examples/lke/v20231130/UploadAttributeLabel.md +27 -0
- tccli/examples/lke/v20231130/VerifyQA.md +27 -0
- tccli/examples/mna/v20210119/GetFlowPackages.md +3 -1
- tccli/examples/mna/v20210119/GetFlowStatistic.md +42 -0
- tccli/examples/ocr/v20181119/GeneralBasicOCR.md +0 -1
- tccli/examples/rce/v20201103/ManageMarketingRisk.md +19 -56
- tccli/examples/sqlserver/v20180328/DescribeRestoreTimeRange.md +23 -0
- tccli/examples/svp/v20240125/CreateSavingPlanOrder.md +1 -1
- tccli/examples/tke/v20180525/DescribeSupportedRuntime.md +25 -0
- tccli/examples/tke/v20180525/ModifyClusterRuntimeConfig.md +27 -0
- tccli/examples/vod/v20180717/CreateSubAppId.md +1 -1
- tccli/examples/vod/v20180717/DescribeAdaptiveDynamicStreamingTemplates.md +5 -1
- tccli/examples/vod/v20180717/DescribeSubAppIds.md +8 -8
- tccli/examples/vod/v20180717/ModifySubAppIdInfo.md +3 -3
- tccli/examples/vod/v20180717/ModifySubAppIdStatus.md +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/aiart/v20221229/api.json +25 -6
- tccli/services/antiddos/v20200309/api.json +10 -0
- tccli/services/asr/v20190614/api.json +4 -4
- tccli/services/bsca/v20210811/api.json +19 -1
- tccli/services/ccc/v20200210/api.json +12 -12
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +255 -0
- tccli/services/cdb/v20170320/examples.json +16 -0
- tccli/services/cdn/v20180606/api.json +4 -4
- tccli/services/ckafka/v20190819/api.json +29 -24
- tccli/services/domain/domain_client.py +114 -8
- tccli/services/domain/v20180808/api.json +177 -4
- tccli/services/domain/v20180808/examples.json +22 -0
- tccli/services/dts/v20211206/api.json +2 -2
- tccli/services/es/v20180416/api.json +12 -12
- tccli/services/es/v20180416/examples.json +21 -21
- tccli/services/ess/ess_client.py +149 -43
- tccli/services/ess/v20201111/api.json +406 -4
- tccli/services/ess/v20201111/examples.json +34 -0
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/faceid/v20180301/api.json +10 -1
- tccli/services/hunyuan/v20230901/api.json +67 -21
- tccli/services/hunyuan/v20230901/examples.json +17 -5
- tccli/services/iai/v20180301/api.json +19 -19
- tccli/services/lcic/v20220817/api.json +49 -0
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +4117 -0
- tccli/services/lke/v20231130/api.json +9020 -0
- tccli/services/lke/v20231130/examples.json +617 -0
- tccli/services/mna/v20210119/api.json +249 -29
- tccli/services/mna/v20210119/examples.json +7 -1
- tccli/services/monitor/v20180724/api.json +30 -10
- tccli/services/ocr/v20181119/api.json +29 -15
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/rce/v20201103/api.json +4 -4
- tccli/services/rce/v20201103/examples.json +3 -3
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/scf/v20180416/api.json +18 -9
- tccli/services/sms/v20210111/api.json +1 -1
- tccli/services/sqlserver/sqlserver_client.py +110 -57
- tccli/services/sqlserver/v20180328/api.json +63 -0
- tccli/services/sqlserver/v20180328/examples.json +8 -0
- tccli/services/svp/v20240125/examples.json +1 -1
- tccli/services/tat/v20201028/api.json +3 -3
- tccli/services/tione/v20211111/api.json +25 -1
- tccli/services/tke/tke_client.py +106 -0
- tccli/services/tke/v20180525/api.json +229 -17
- tccli/services/tke/v20180525/examples.json +17 -1
- tccli/services/trtc/v20190722/api.json +46 -4
- tccli/services/vod/v20180717/api.json +24 -24
- tccli/services/vod/v20180717/examples.json +8 -8
- tccli/services/wedata/v20210820/api.json +295 -1437
- tccli/services/wedata/v20210820/examples.json +0 -88
- tccli/services/wedata/wedata_client.py +33 -616
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/RECORD +161 -73
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/ess/ess_client.py
CHANGED
@@ -17,6 +17,58 @@ from tencentcloud.ess.v20201111 import models as models_v20201111
|
|
17
17
|
from jmespath import search
|
18
18
|
import time
|
19
19
|
|
20
|
+
def doCreateIntegrationRole(args, parsed_globals):
|
21
|
+
g_param = parse_global_arg(parsed_globals)
|
22
|
+
|
23
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
24
|
+
cred = credential.CVMRoleCredential()
|
25
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
26
|
+
cred = credential.STSAssumeRoleCredential(
|
27
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
28
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
29
|
+
)
|
30
|
+
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):
|
31
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
32
|
+
else:
|
33
|
+
cred = credential.Credential(
|
34
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
35
|
+
)
|
36
|
+
http_profile = HttpProfile(
|
37
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
38
|
+
reqMethod="POST",
|
39
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
40
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
41
|
+
)
|
42
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
43
|
+
if g_param[OptionsDefine.Language]:
|
44
|
+
profile.language = g_param[OptionsDefine.Language]
|
45
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
46
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
47
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
48
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
49
|
+
model = models.CreateIntegrationRoleRequest()
|
50
|
+
model.from_json_string(json.dumps(args))
|
51
|
+
start_time = time.time()
|
52
|
+
while True:
|
53
|
+
rsp = client.CreateIntegrationRole(model)
|
54
|
+
result = rsp.to_json_string()
|
55
|
+
try:
|
56
|
+
json_obj = json.loads(result)
|
57
|
+
except TypeError as e:
|
58
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
59
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
60
|
+
break
|
61
|
+
cur_time = time.time()
|
62
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
63
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
64
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
65
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
66
|
+
else:
|
67
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
68
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
69
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
|
+
|
71
|
+
|
20
72
|
def doCreateBatchQuickSignUrl(args, parsed_globals):
|
21
73
|
g_param = parse_global_arg(parsed_globals)
|
22
74
|
|
@@ -901,7 +953,7 @@ def doCreateBatchCancelFlowUrl(args, parsed_globals):
|
|
901
953
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
902
954
|
|
903
955
|
|
904
|
-
def
|
956
|
+
def doModifyFlowDeadline(args, parsed_globals):
|
905
957
|
g_param = parse_global_arg(parsed_globals)
|
906
958
|
|
907
959
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -930,11 +982,11 @@ def doDeleteIntegrationDepartment(args, parsed_globals):
|
|
930
982
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
931
983
|
client._sdkVersion += ("_CLI_" + __version__)
|
932
984
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
933
|
-
model = models.
|
985
|
+
model = models.ModifyFlowDeadlineRequest()
|
934
986
|
model.from_json_string(json.dumps(args))
|
935
987
|
start_time = time.time()
|
936
988
|
while True:
|
937
|
-
rsp = client.
|
989
|
+
rsp = client.ModifyFlowDeadline(model)
|
938
990
|
result = rsp.to_json_string()
|
939
991
|
try:
|
940
992
|
json_obj = json.loads(result)
|
@@ -1109,6 +1161,58 @@ def doCreateFlowApprovers(args, parsed_globals):
|
|
1109
1161
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1110
1162
|
|
1111
1163
|
|
1164
|
+
def doCreateBatchOrganizationRegistrationTasks(args, parsed_globals):
|
1165
|
+
g_param = parse_global_arg(parsed_globals)
|
1166
|
+
|
1167
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1168
|
+
cred = credential.CVMRoleCredential()
|
1169
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1170
|
+
cred = credential.STSAssumeRoleCredential(
|
1171
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1172
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1173
|
+
)
|
1174
|
+
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):
|
1175
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1176
|
+
else:
|
1177
|
+
cred = credential.Credential(
|
1178
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1179
|
+
)
|
1180
|
+
http_profile = HttpProfile(
|
1181
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1182
|
+
reqMethod="POST",
|
1183
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1184
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1185
|
+
)
|
1186
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1187
|
+
if g_param[OptionsDefine.Language]:
|
1188
|
+
profile.language = g_param[OptionsDefine.Language]
|
1189
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1190
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1191
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1192
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1193
|
+
model = models.CreateBatchOrganizationRegistrationTasksRequest()
|
1194
|
+
model.from_json_string(json.dumps(args))
|
1195
|
+
start_time = time.time()
|
1196
|
+
while True:
|
1197
|
+
rsp = client.CreateBatchOrganizationRegistrationTasks(model)
|
1198
|
+
result = rsp.to_json_string()
|
1199
|
+
try:
|
1200
|
+
json_obj = json.loads(result)
|
1201
|
+
except TypeError as e:
|
1202
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1203
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1204
|
+
break
|
1205
|
+
cur_time = time.time()
|
1206
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1207
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1208
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1209
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1210
|
+
else:
|
1211
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1212
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1213
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1214
|
+
|
1215
|
+
|
1112
1216
|
def doDeleteIntegrationRoleUsers(args, parsed_globals):
|
1113
1217
|
g_param = parse_global_arg(parsed_globals)
|
1114
1218
|
|
@@ -1265,7 +1369,7 @@ def doCreatePrepareFlow(args, parsed_globals):
|
|
1265
1369
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1266
1370
|
|
1267
1371
|
|
1268
|
-
def
|
1372
|
+
def doDeleteIntegrationDepartment(args, parsed_globals):
|
1269
1373
|
g_param = parse_global_arg(parsed_globals)
|
1270
1374
|
|
1271
1375
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1294,11 +1398,11 @@ def doModifyIntegrationDepartment(args, parsed_globals):
|
|
1294
1398
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1295
1399
|
client._sdkVersion += ("_CLI_" + __version__)
|
1296
1400
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1297
|
-
model = models.
|
1401
|
+
model = models.DeleteIntegrationDepartmentRequest()
|
1298
1402
|
model.from_json_string(json.dumps(args))
|
1299
1403
|
start_time = time.time()
|
1300
1404
|
while True:
|
1301
|
-
rsp = client.
|
1405
|
+
rsp = client.DeleteIntegrationDepartment(model)
|
1302
1406
|
result = rsp.to_json_string()
|
1303
1407
|
try:
|
1304
1408
|
json_obj = json.loads(result)
|
@@ -1785,7 +1889,7 @@ def doDescribeExtendedServiceAuthInfos(args, parsed_globals):
|
|
1785
1889
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1786
1890
|
|
1787
1891
|
|
1788
|
-
def
|
1892
|
+
def doDescribeFlowEvidenceReport(args, parsed_globals):
|
1789
1893
|
g_param = parse_global_arg(parsed_globals)
|
1790
1894
|
|
1791
1895
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1814,11 +1918,11 @@ def doModifyFlowDeadline(args, parsed_globals):
|
|
1814
1918
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1815
1919
|
client._sdkVersion += ("_CLI_" + __version__)
|
1816
1920
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1817
|
-
model = models.
|
1921
|
+
model = models.DescribeFlowEvidenceReportRequest()
|
1818
1922
|
model.from_json_string(json.dumps(args))
|
1819
1923
|
start_time = time.time()
|
1820
1924
|
while True:
|
1821
|
-
rsp = client.
|
1925
|
+
rsp = client.DescribeFlowEvidenceReport(model)
|
1822
1926
|
result = rsp.to_json_string()
|
1823
1927
|
try:
|
1824
1928
|
json_obj = json.loads(result)
|
@@ -1837,7 +1941,7 @@ def doModifyFlowDeadline(args, parsed_globals):
|
|
1837
1941
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
1942
|
|
1839
1943
|
|
1840
|
-
def
|
1944
|
+
def doCreateFlowByFiles(args, parsed_globals):
|
1841
1945
|
g_param = parse_global_arg(parsed_globals)
|
1842
1946
|
|
1843
1947
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1866,11 +1970,11 @@ def doDescribeFlowEvidenceReport(args, parsed_globals):
|
|
1866
1970
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1867
1971
|
client._sdkVersion += ("_CLI_" + __version__)
|
1868
1972
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1869
|
-
model = models.
|
1973
|
+
model = models.CreateFlowByFilesRequest()
|
1870
1974
|
model.from_json_string(json.dumps(args))
|
1871
1975
|
start_time = time.time()
|
1872
1976
|
while True:
|
1873
|
-
rsp = client.
|
1977
|
+
rsp = client.CreateFlowByFiles(model)
|
1874
1978
|
result = rsp.to_json_string()
|
1875
1979
|
try:
|
1876
1980
|
json_obj = json.loads(result)
|
@@ -1889,7 +1993,7 @@ def doDescribeFlowEvidenceReport(args, parsed_globals):
|
|
1889
1993
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1890
1994
|
|
1891
1995
|
|
1892
|
-
def
|
1996
|
+
def doCreateSeal(args, parsed_globals):
|
1893
1997
|
g_param = parse_global_arg(parsed_globals)
|
1894
1998
|
|
1895
1999
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1918,11 +2022,11 @@ def doCreateFlowByFiles(args, parsed_globals):
|
|
1918
2022
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1919
2023
|
client._sdkVersion += ("_CLI_" + __version__)
|
1920
2024
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1921
|
-
model = models.
|
2025
|
+
model = models.CreateSealRequest()
|
1922
2026
|
model.from_json_string(json.dumps(args))
|
1923
2027
|
start_time = time.time()
|
1924
2028
|
while True:
|
1925
|
-
rsp = client.
|
2029
|
+
rsp = client.CreateSeal(model)
|
1926
2030
|
result = rsp.to_json_string()
|
1927
2031
|
try:
|
1928
2032
|
json_obj = json.loads(result)
|
@@ -1941,7 +2045,7 @@ def doCreateFlowByFiles(args, parsed_globals):
|
|
1941
2045
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1942
2046
|
|
1943
2047
|
|
1944
|
-
def
|
2048
|
+
def doDescribeIntegrationRoles(args, parsed_globals):
|
1945
2049
|
g_param = parse_global_arg(parsed_globals)
|
1946
2050
|
|
1947
2051
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1970,11 +2074,11 @@ def doCreateSeal(args, parsed_globals):
|
|
1970
2074
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1971
2075
|
client._sdkVersion += ("_CLI_" + __version__)
|
1972
2076
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1973
|
-
model = models.
|
2077
|
+
model = models.DescribeIntegrationRolesRequest()
|
1974
2078
|
model.from_json_string(json.dumps(args))
|
1975
2079
|
start_time = time.time()
|
1976
2080
|
while True:
|
1977
|
-
rsp = client.
|
2081
|
+
rsp = client.DescribeIntegrationRoles(model)
|
1978
2082
|
result = rsp.to_json_string()
|
1979
2083
|
try:
|
1980
2084
|
json_obj = json.loads(result)
|
@@ -1993,7 +2097,7 @@ def doCreateSeal(args, parsed_globals):
|
|
1993
2097
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1994
2098
|
|
1995
2099
|
|
1996
|
-
def
|
2100
|
+
def doCreateMultiFlowSignQRCode(args, parsed_globals):
|
1997
2101
|
g_param = parse_global_arg(parsed_globals)
|
1998
2102
|
|
1999
2103
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2022,11 +2126,11 @@ def doDescribeIntegrationRoles(args, parsed_globals):
|
|
2022
2126
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
2023
2127
|
client._sdkVersion += ("_CLI_" + __version__)
|
2024
2128
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2025
|
-
model = models.
|
2129
|
+
model = models.CreateMultiFlowSignQRCodeRequest()
|
2026
2130
|
model.from_json_string(json.dumps(args))
|
2027
2131
|
start_time = time.time()
|
2028
2132
|
while True:
|
2029
|
-
rsp = client.
|
2133
|
+
rsp = client.CreateMultiFlowSignQRCode(model)
|
2030
2134
|
result = rsp.to_json_string()
|
2031
2135
|
try:
|
2032
2136
|
json_obj = json.loads(result)
|
@@ -2045,7 +2149,7 @@ def doDescribeIntegrationRoles(args, parsed_globals):
|
|
2045
2149
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2046
2150
|
|
2047
2151
|
|
2048
|
-
def
|
2152
|
+
def doGetTaskResultApi(args, parsed_globals):
|
2049
2153
|
g_param = parse_global_arg(parsed_globals)
|
2050
2154
|
|
2051
2155
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2074,11 +2178,11 @@ def doCreateMultiFlowSignQRCode(args, parsed_globals):
|
|
2074
2178
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
2075
2179
|
client._sdkVersion += ("_CLI_" + __version__)
|
2076
2180
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2077
|
-
model = models.
|
2181
|
+
model = models.GetTaskResultApiRequest()
|
2078
2182
|
model.from_json_string(json.dumps(args))
|
2079
2183
|
start_time = time.time()
|
2080
2184
|
while True:
|
2081
|
-
rsp = client.
|
2185
|
+
rsp = client.GetTaskResultApi(model)
|
2082
2186
|
result = rsp.to_json_string()
|
2083
2187
|
try:
|
2084
2188
|
json_obj = json.loads(result)
|
@@ -2097,7 +2201,7 @@ def doCreateMultiFlowSignQRCode(args, parsed_globals):
|
|
2097
2201
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2098
2202
|
|
2099
2203
|
|
2100
|
-
def
|
2204
|
+
def doDescribeExtendedServiceAuthDetail(args, parsed_globals):
|
2101
2205
|
g_param = parse_global_arg(parsed_globals)
|
2102
2206
|
|
2103
2207
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2126,11 +2230,11 @@ def doGetTaskResultApi(args, parsed_globals):
|
|
2126
2230
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
2127
2231
|
client._sdkVersion += ("_CLI_" + __version__)
|
2128
2232
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2129
|
-
model = models.
|
2233
|
+
model = models.DescribeExtendedServiceAuthDetailRequest()
|
2130
2234
|
model.from_json_string(json.dumps(args))
|
2131
2235
|
start_time = time.time()
|
2132
2236
|
while True:
|
2133
|
-
rsp = client.
|
2237
|
+
rsp = client.DescribeExtendedServiceAuthDetail(model)
|
2134
2238
|
result = rsp.to_json_string()
|
2135
2239
|
try:
|
2136
2240
|
json_obj = json.loads(result)
|
@@ -2149,7 +2253,7 @@ def doGetTaskResultApi(args, parsed_globals):
|
|
2149
2253
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2150
2254
|
|
2151
2255
|
|
2152
|
-
def
|
2256
|
+
def doCreateOrganizationInfoChangeUrl(args, parsed_globals):
|
2153
2257
|
g_param = parse_global_arg(parsed_globals)
|
2154
2258
|
|
2155
2259
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2178,11 +2282,11 @@ def doDescribeExtendedServiceAuthDetail(args, parsed_globals):
|
|
2178
2282
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
2179
2283
|
client._sdkVersion += ("_CLI_" + __version__)
|
2180
2284
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2181
|
-
model = models.
|
2285
|
+
model = models.CreateOrganizationInfoChangeUrlRequest()
|
2182
2286
|
model.from_json_string(json.dumps(args))
|
2183
2287
|
start_time = time.time()
|
2184
2288
|
while True:
|
2185
|
-
rsp = client.
|
2289
|
+
rsp = client.CreateOrganizationInfoChangeUrl(model)
|
2186
2290
|
result = rsp.to_json_string()
|
2187
2291
|
try:
|
2188
2292
|
json_obj = json.loads(result)
|
@@ -2201,7 +2305,7 @@ def doDescribeExtendedServiceAuthDetail(args, parsed_globals):
|
|
2201
2305
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2202
2306
|
|
2203
2307
|
|
2204
|
-
def
|
2308
|
+
def doDescribeThirdPartyAuthCode(args, parsed_globals):
|
2205
2309
|
g_param = parse_global_arg(parsed_globals)
|
2206
2310
|
|
2207
2311
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2230,11 +2334,11 @@ def doCreateOrganizationInfoChangeUrl(args, parsed_globals):
|
|
2230
2334
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
2231
2335
|
client._sdkVersion += ("_CLI_" + __version__)
|
2232
2336
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2233
|
-
model = models.
|
2337
|
+
model = models.DescribeThirdPartyAuthCodeRequest()
|
2234
2338
|
model.from_json_string(json.dumps(args))
|
2235
2339
|
start_time = time.time()
|
2236
2340
|
while True:
|
2237
|
-
rsp = client.
|
2341
|
+
rsp = client.DescribeThirdPartyAuthCode(model)
|
2238
2342
|
result = rsp.to_json_string()
|
2239
2343
|
try:
|
2240
2344
|
json_obj = json.loads(result)
|
@@ -2253,7 +2357,7 @@ def doCreateOrganizationInfoChangeUrl(args, parsed_globals):
|
|
2253
2357
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2254
2358
|
|
2255
2359
|
|
2256
|
-
def
|
2360
|
+
def doModifyIntegrationDepartment(args, parsed_globals):
|
2257
2361
|
g_param = parse_global_arg(parsed_globals)
|
2258
2362
|
|
2259
2363
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2282,11 +2386,11 @@ def doDescribeThirdPartyAuthCode(args, parsed_globals):
|
|
2282
2386
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
2283
2387
|
client._sdkVersion += ("_CLI_" + __version__)
|
2284
2388
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2285
|
-
model = models.
|
2389
|
+
model = models.ModifyIntegrationDepartmentRequest()
|
2286
2390
|
model.from_json_string(json.dumps(args))
|
2287
2391
|
start_time = time.time()
|
2288
2392
|
while True:
|
2289
|
-
rsp = client.
|
2393
|
+
rsp = client.ModifyIntegrationDepartment(model)
|
2290
2394
|
result = rsp.to_json_string()
|
2291
2395
|
try:
|
2292
2396
|
json_obj = json.loads(result)
|
@@ -2669,7 +2773,7 @@ def doDescribeFlowBriefs(args, parsed_globals):
|
|
2669
2773
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2670
2774
|
|
2671
2775
|
|
2672
|
-
def
|
2776
|
+
def doCreateOrganizationAuthUrl(args, parsed_globals):
|
2673
2777
|
g_param = parse_global_arg(parsed_globals)
|
2674
2778
|
|
2675
2779
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2698,11 +2802,11 @@ def doCreateIntegrationRole(args, parsed_globals):
|
|
2698
2802
|
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
2699
2803
|
client._sdkVersion += ("_CLI_" + __version__)
|
2700
2804
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2701
|
-
model = models.
|
2805
|
+
model = models.CreateOrganizationAuthUrlRequest()
|
2702
2806
|
model.from_json_string(json.dumps(args))
|
2703
2807
|
start_time = time.time()
|
2704
2808
|
while True:
|
2705
|
-
rsp = client.
|
2809
|
+
rsp = client.CreateOrganizationAuthUrl(model)
|
2706
2810
|
result = rsp.to_json_string()
|
2707
2811
|
try:
|
2708
2812
|
json_obj = json.loads(result)
|
@@ -3928,6 +4032,7 @@ MODELS_MAP = {
|
|
3928
4032
|
}
|
3929
4033
|
|
3930
4034
|
ACTION_MAP = {
|
4035
|
+
"CreateIntegrationRole": doCreateIntegrationRole,
|
3931
4036
|
"CreateBatchQuickSignUrl": doCreateBatchQuickSignUrl,
|
3932
4037
|
"DescribeOrganizationGroupOrganizations": doDescribeOrganizationGroupOrganizations,
|
3933
4038
|
"ModifyApplicationCallbackInfo": doModifyApplicationCallbackInfo,
|
@@ -3945,14 +4050,15 @@ ACTION_MAP = {
|
|
3945
4050
|
"ModifyExtendedService": doModifyExtendedService,
|
3946
4051
|
"UnbindEmployeeUserIdWithClientOpenId": doUnbindEmployeeUserIdWithClientOpenId,
|
3947
4052
|
"CreateBatchCancelFlowUrl": doCreateBatchCancelFlowUrl,
|
3948
|
-
"
|
4053
|
+
"ModifyFlowDeadline": doModifyFlowDeadline,
|
3949
4054
|
"BindEmployeeUserIdWithClientOpenId": doBindEmployeeUserIdWithClientOpenId,
|
3950
4055
|
"CreatePreparedPersonalEsign": doCreatePreparedPersonalEsign,
|
3951
4056
|
"CreateFlowApprovers": doCreateFlowApprovers,
|
4057
|
+
"CreateBatchOrganizationRegistrationTasks": doCreateBatchOrganizationRegistrationTasks,
|
3952
4058
|
"DeleteIntegrationRoleUsers": doDeleteIntegrationRoleUsers,
|
3953
4059
|
"CreateFlowSignReview": doCreateFlowSignReview,
|
3954
4060
|
"CreatePrepareFlow": doCreatePrepareFlow,
|
3955
|
-
"
|
4061
|
+
"DeleteIntegrationDepartment": doDeleteIntegrationDepartment,
|
3956
4062
|
"DescribeFlowInfo": doDescribeFlowInfo,
|
3957
4063
|
"CreateIntegrationEmployees": doCreateIntegrationEmployees,
|
3958
4064
|
"CreateFlowEvidenceReport": doCreateFlowEvidenceReport,
|
@@ -3962,7 +4068,6 @@ ACTION_MAP = {
|
|
3962
4068
|
"DescribeUserAutoSignStatus": doDescribeUserAutoSignStatus,
|
3963
4069
|
"CreateFlowGroupByTemplates": doCreateFlowGroupByTemplates,
|
3964
4070
|
"DescribeExtendedServiceAuthInfos": doDescribeExtendedServiceAuthInfos,
|
3965
|
-
"ModifyFlowDeadline": doModifyFlowDeadline,
|
3966
4071
|
"DescribeFlowEvidenceReport": doDescribeFlowEvidenceReport,
|
3967
4072
|
"CreateFlowByFiles": doCreateFlowByFiles,
|
3968
4073
|
"CreateSeal": doCreateSeal,
|
@@ -3972,6 +4077,7 @@ ACTION_MAP = {
|
|
3972
4077
|
"DescribeExtendedServiceAuthDetail": doDescribeExtendedServiceAuthDetail,
|
3973
4078
|
"CreateOrganizationInfoChangeUrl": doCreateOrganizationInfoChangeUrl,
|
3974
4079
|
"DescribeThirdPartyAuthCode": doDescribeThirdPartyAuthCode,
|
4080
|
+
"ModifyIntegrationDepartment": doModifyIntegrationDepartment,
|
3975
4081
|
"CreateExtendedServiceAuthInfos": doCreateExtendedServiceAuthInfos,
|
3976
4082
|
"CancelMultiFlowSignQRCode": doCancelMultiFlowSignQRCode,
|
3977
4083
|
"DescribeIntegrationEmployees": doDescribeIntegrationEmployees,
|
@@ -3979,7 +4085,7 @@ ACTION_MAP = {
|
|
3979
4085
|
"CreatePersonAuthCertificateImage": doCreatePersonAuthCertificateImage,
|
3980
4086
|
"CreateConvertTaskApi": doCreateConvertTaskApi,
|
3981
4087
|
"DescribeFlowBriefs": doDescribeFlowBriefs,
|
3982
|
-
"
|
4088
|
+
"CreateOrganizationAuthUrl": doCreateOrganizationAuthUrl,
|
3983
4089
|
"CreateIntegrationUserRoles": doCreateIntegrationUserRoles,
|
3984
4090
|
"DescribeSignFaceVideo": doDescribeSignFaceVideo,
|
3985
4091
|
"UploadFiles": doUploadFiles,
|