tccli-intl-en 3.0.1282.1__py2.py3-none-any.whl → 3.0.1284.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 (148) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argument.py +1 -1
  3. tccli/services/advisor/advisor_client.py +2 -2
  4. tccli/services/aiart/aiart_client.py +1 -1
  5. tccli/services/ams/ams_client.py +4 -4
  6. tccli/services/antiddos/antiddos_client.py +70 -70
  7. tccli/services/apigateway/apigateway_client.py +93 -93
  8. tccli/services/apm/apm_client.py +783 -55
  9. tccli/services/apm/v20210622/api.json +3936 -1145
  10. tccli/services/apm/v20210622/examples.json +133 -23
  11. tccli/services/asr/asr_client.py +2 -2
  12. tccli/services/autoscaling/autoscaling_client.py +58 -58
  13. tccli/services/batch/batch_client.py +28 -28
  14. tccli/services/bi/bi_client.py +24 -24
  15. tccli/services/billing/billing_client.py +42 -42
  16. tccli/services/cam/cam_client.py +81 -81
  17. tccli/services/captcha/captcha_client.py +1 -1
  18. tccli/services/car/car_client.py +33 -33
  19. tccli/services/cbs/cbs_client.py +38 -38
  20. tccli/services/ccc/ccc_client.py +70 -70
  21. tccli/services/cdb/cdb_client.py +133 -133
  22. tccli/services/cdc/cdc_client.py +20 -20
  23. tccli/services/cdn/cdn_client.py +44 -44
  24. tccli/services/cdwdoris/cdwdoris_client.py +77 -77
  25. tccli/services/cdwpg/cdwpg_client.py +24 -24
  26. tccli/services/cdz/cdz_client.py +1 -1
  27. tccli/services/cfg/cfg_client.py +16 -16
  28. tccli/services/cfs/cfs_client.py +39 -39
  29. tccli/services/cfw/cfw_client.py +66 -66
  30. tccli/services/chdfs/chdfs_client.py +29 -29
  31. tccli/services/ciam/ciam_client.py +16 -16
  32. tccli/services/ckafka/ckafka_client.py +60 -60
  33. tccli/services/clb/clb_client.py +83 -83
  34. tccli/services/cloudaudit/cloudaudit_client.py +18 -18
  35. tccli/services/cls/cls_client.py +86 -86
  36. tccli/services/cmq/cmq_client.py +2 -2
  37. tccli/services/config/config_client.py +6 -6
  38. tccli/services/controlcenter/controlcenter_client.py +1 -1
  39. tccli/services/csip/csip_client.py +34 -34
  40. tccli/services/ctsdb/ctsdb_client.py +2 -2
  41. tccli/services/cvm/cvm_client.py +84 -84
  42. tccli/services/cvm/v20170312/api.json +152 -93
  43. tccli/services/cvm/v20170312/examples.json +62 -62
  44. tccli/services/cwp/cwp_client.py +465 -465
  45. tccli/services/cynosdb/cynosdb_client.py +154 -154
  46. tccli/services/dataintegration/dataintegration_client.py +1 -1
  47. tccli/services/dayu/dayu_client.py +103 -103
  48. tccli/services/dbbrain/dbbrain_client.py +42 -42
  49. tccli/services/dc/dc_client.py +18 -18
  50. tccli/services/dcdb/dcdb_client.py +62 -62
  51. tccli/services/dlc/dlc_client.py +109 -109
  52. tccli/services/dms/dms_client.py +2 -2
  53. tccli/services/dnspod/dnspod_client.py +40 -40
  54. tccli/services/domain/domain_client.py +24 -24
  55. tccli/services/dts/dts_client.py +83 -83
  56. tccli/services/eb/eb_client.py +26 -26
  57. tccli/services/ecdn/ecdn_client.py +15 -15
  58. tccli/services/ecm/ecm_client.py +124 -124
  59. tccli/services/eiam/eiam_client.py +40 -40
  60. tccli/services/emr/emr_client.py +77 -77
  61. tccli/services/es/es_client.py +21 -21
  62. tccli/services/facefusion/facefusion_client.py +3 -3
  63. tccli/services/faceid/faceid_client.py +19 -19
  64. tccli/services/gaap/gaap_client.py +88 -88
  65. tccli/services/gme/gme_client.py +10 -10
  66. tccli/services/gpm/gpm_client.py +18 -18
  67. tccli/services/gse/gse_client.py +22 -22
  68. tccli/services/gwlb/gwlb_client.py +18 -18
  69. tccli/services/iai/iai_client.py +29 -29
  70. tccli/services/iap/iap_client.py +6 -6
  71. tccli/services/ims/ims_client.py +1 -1
  72. tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +42 -42
  73. tccli/services/iotcloud/iotcloud_client.py +20 -20
  74. tccli/services/ip/ip_client.py +6 -6
  75. tccli/services/kms/kms_client.py +68 -68
  76. tccli/services/lcic/lcic_client.py +53 -53
  77. tccli/services/lighthouse/lighthouse_client.py +74 -74
  78. tccli/services/live/live_client.py +120 -120
  79. tccli/services/lke/lke_client.py +90 -90
  80. tccli/services/lkeap/lkeap_client.py +63 -7
  81. tccli/services/lkeap/v20240522/api.json +98 -0
  82. tccli/services/lkeap/v20240522/examples.json +20 -0
  83. tccli/services/mariadb/mariadb_client.py +50 -50
  84. tccli/services/mdc/mdc_client.py +18 -18
  85. tccli/services/mdl/mdl_client.py +33 -33
  86. tccli/services/mdp/mdp_client.py +62 -62
  87. tccli/services/message/message_client.py +1 -1
  88. tccli/services/mongodb/mongodb_client.py +33 -33
  89. tccli/services/monitor/monitor_client.py +149 -149
  90. tccli/services/mps/mps_client.py +96 -96
  91. tccli/services/msp/msp_client.py +7 -7
  92. tccli/services/ocr/ocr_client.py +94 -38
  93. tccli/services/ocr/v20181119/api.json +119 -10
  94. tccli/services/ocr/v20181119/examples.json +8 -0
  95. tccli/services/omics/omics_client.py +20 -20
  96. tccli/services/organization/organization_client.py +116 -116
  97. tccli/services/postgres/postgres_client.py +91 -91
  98. tccli/services/privatedns/privatedns_client.py +31 -31
  99. tccli/services/pts/pts_client.py +48 -48
  100. tccli/services/quota/quota_client.py +5 -5
  101. tccli/services/rce/rce_client.py +1 -1
  102. tccli/services/redis/redis_client.py +109 -109
  103. tccli/services/region/region_client.py +3 -3
  104. tccli/services/rum/rum_client.py +60 -60
  105. tccli/services/scf/scf_client.py +42 -42
  106. tccli/services/ses/ses_client.py +29 -29
  107. tccli/services/sms/sms_client.py +18 -18
  108. tccli/services/sqlserver/sqlserver_client.py +139 -139
  109. tccli/services/ssl/ssl_client.py +38 -38
  110. tccli/services/ssm/ssm_client.py +24 -24
  111. tccli/services/sts/sts_client.py +5 -5
  112. tccli/services/tag/tag_client.py +30 -30
  113. tccli/services/tat/tat_client.py +19 -19
  114. tccli/services/tbaas/tbaas_client.py +4 -4
  115. tccli/services/tcaplusdb/tcaplusdb_client.py +52 -52
  116. tccli/services/tchd/tchd_client.py +1 -1
  117. tccli/services/tcmpp/tcmpp_client.py +104 -104
  118. tccli/services/tcr/tcr_client.py +76 -76
  119. tccli/services/tcsas/tcsas_client.py +59 -59
  120. tccli/services/tcss/tcss_client.py +330 -330
  121. tccli/services/tdid/tdid_client.py +48 -48
  122. tccli/services/tdmq/tdmq_client.py +94 -94
  123. tccli/services/tem/tem_client.py +56 -56
  124. tccli/services/teo/teo_client.py +241 -241
  125. tccli/services/teo/v20220901/api.json +2 -2
  126. tccli/services/tione/tione_client.py +1 -1
  127. tccli/services/tiw/tiw_client.py +51 -51
  128. tccli/services/tke/tke_client.py +138 -138
  129. tccli/services/tms/tms_client.py +1 -1
  130. tccli/services/tmt/tmt_client.py +1 -1
  131. tccli/services/trabbit/trabbit_client.py +29 -29
  132. tccli/services/trro/trro_client.py +19 -19
  133. tccli/services/trtc/trtc_client.py +51 -51
  134. tccli/services/trtc/v20190722/api.json +5 -5
  135. tccli/services/tts/tts_client.py +1 -1
  136. tccli/services/vclm/vclm_client.py +2 -2
  137. tccli/services/vm/vm_client.py +4 -4
  138. tccli/services/vod/vod_client.py +179 -179
  139. tccli/services/vpc/vpc_client.py +293 -293
  140. tccli/services/waf/waf_client.py +107 -107
  141. tccli/services/wedata/wedata_client.py +310 -310
  142. tccli/services/yunjing/yunjing_client.py +71 -71
  143. {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.0.1284.1.dist-info}/METADATA +2 -2
  144. {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.0.1284.1.dist-info}/RECORD +148 -148
  145. {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.0.1284.1.dist-info}/LICENSE +0 -0
  146. {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.0.1284.1.dist-info}/WHEEL +0 -0
  147. {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.0.1284.1.dist-info}/entry_points.txt +0 -0
  148. {tccli_intl_en-3.0.1282.1.dist-info → tccli_intl_en-3.0.1284.1.dist-info}/top_level.txt +0 -0
@@ -42,7 +42,7 @@ def doListMigrationTask(args, parsed_globals):
42
42
  endpoint=g_param[OptionsDefine.Endpoint],
43
43
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
44
44
  )
45
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
45
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
46
46
  if g_param[OptionsDefine.Language]:
47
47
  profile.language = g_param[OptionsDefine.Language]
48
48
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -97,7 +97,7 @@ def doRegisterMigrationTask(args, parsed_globals):
97
97
  endpoint=g_param[OptionsDefine.Endpoint],
98
98
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
99
99
  )
100
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
100
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
101
101
  if g_param[OptionsDefine.Language]:
102
102
  profile.language = g_param[OptionsDefine.Language]
103
103
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -152,7 +152,7 @@ def doModifyMigrationTaskStatus(args, parsed_globals):
152
152
  endpoint=g_param[OptionsDefine.Endpoint],
153
153
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
154
154
  )
155
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
155
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
156
156
  if g_param[OptionsDefine.Language]:
157
157
  profile.language = g_param[OptionsDefine.Language]
158
158
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -207,7 +207,7 @@ def doDeregisterMigrationTask(args, parsed_globals):
207
207
  endpoint=g_param[OptionsDefine.Endpoint],
208
208
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
209
209
  )
210
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
210
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
211
211
  if g_param[OptionsDefine.Language]:
212
212
  profile.language = g_param[OptionsDefine.Language]
213
213
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -262,7 +262,7 @@ def doDescribeMigrationTask(args, parsed_globals):
262
262
  endpoint=g_param[OptionsDefine.Endpoint],
263
263
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
264
264
  )
265
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
265
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
266
266
  if g_param[OptionsDefine.Language]:
267
267
  profile.language = g_param[OptionsDefine.Language]
268
268
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -317,7 +317,7 @@ def doModifyMigrationTaskBelongToProject(args, parsed_globals):
317
317
  endpoint=g_param[OptionsDefine.Endpoint],
318
318
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
319
319
  )
320
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
320
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
321
321
  if g_param[OptionsDefine.Language]:
322
322
  profile.language = g_param[OptionsDefine.Language]
323
323
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -372,7 +372,7 @@ def doListMigrationProject(args, parsed_globals):
372
372
  endpoint=g_param[OptionsDefine.Endpoint],
373
373
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
374
374
  )
375
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
375
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
376
376
  if g_param[OptionsDefine.Language]:
377
377
  profile.language = g_param[OptionsDefine.Language]
378
378
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -42,7 +42,7 @@ def doRecognizeThaiPinkCard(args, parsed_globals):
42
42
  endpoint=g_param[OptionsDefine.Endpoint],
43
43
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
44
44
  )
45
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
45
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
46
46
  if g_param[OptionsDefine.Language]:
47
47
  profile.language = g_param[OptionsDefine.Language]
48
48
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -97,7 +97,7 @@ def doIDCardOCR(args, parsed_globals):
97
97
  endpoint=g_param[OptionsDefine.Endpoint],
98
98
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
99
99
  )
100
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
100
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
101
101
  if g_param[OptionsDefine.Language]:
102
102
  profile.language = g_param[OptionsDefine.Language]
103
103
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -152,7 +152,7 @@ def doRecognizeBrazilDriverLicenseOCR(args, parsed_globals):
152
152
  endpoint=g_param[OptionsDefine.Endpoint],
153
153
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
154
154
  )
155
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
155
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
156
156
  if g_param[OptionsDefine.Language]:
157
157
  profile.language = g_param[OptionsDefine.Language]
158
158
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -207,7 +207,7 @@ def doMLIDCardOCR(args, parsed_globals):
207
207
  endpoint=g_param[OptionsDefine.Endpoint],
208
208
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
209
209
  )
210
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
210
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
211
211
  if g_param[OptionsDefine.Language]:
212
212
  profile.language = g_param[OptionsDefine.Language]
213
213
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -262,7 +262,7 @@ def doGeneralAccurateOCR(args, parsed_globals):
262
262
  endpoint=g_param[OptionsDefine.Endpoint],
263
263
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
264
264
  )
265
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
265
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
266
266
  if g_param[OptionsDefine.Language]:
267
267
  profile.language = g_param[OptionsDefine.Language]
268
268
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -317,7 +317,7 @@ def doSmartStructuralOCRV2(args, parsed_globals):
317
317
  endpoint=g_param[OptionsDefine.Endpoint],
318
318
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
319
319
  )
320
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
320
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
321
321
  if g_param[OptionsDefine.Language]:
322
322
  profile.language = g_param[OptionsDefine.Language]
323
323
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -372,7 +372,7 @@ def doRecognizeTableAccurateOCR(args, parsed_globals):
372
372
  endpoint=g_param[OptionsDefine.Endpoint],
373
373
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
374
374
  )
375
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
375
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
376
376
  if g_param[OptionsDefine.Language]:
377
377
  profile.language = g_param[OptionsDefine.Language]
378
378
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -402,6 +402,61 @@ def doRecognizeTableAccurateOCR(args, parsed_globals):
402
402
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
403
403
 
404
404
 
405
+ def doRecognizeDetectCardCoords(args, parsed_globals):
406
+ g_param = parse_global_arg(parsed_globals)
407
+
408
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
409
+ cred = credential.CVMRoleCredential()
410
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
411
+ cred = credential.STSAssumeRoleCredential(
412
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
413
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
414
+ )
415
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
416
+ and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
417
+ and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
418
+ and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
419
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
420
+ else:
421
+ cred = credential.Credential(
422
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
423
+ )
424
+ http_profile = HttpProfile(
425
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
426
+ reqMethod="POST",
427
+ endpoint=g_param[OptionsDefine.Endpoint],
428
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
429
+ )
430
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
431
+ if g_param[OptionsDefine.Language]:
432
+ profile.language = g_param[OptionsDefine.Language]
433
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
434
+ client = mod.OcrClient(cred, g_param[OptionsDefine.Region], profile)
435
+ client._sdkVersion += ("_CLI_" + __version__)
436
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
437
+ model = models.RecognizeDetectCardCoordsRequest()
438
+ model.from_json_string(json.dumps(args))
439
+ start_time = time.time()
440
+ while True:
441
+ rsp = client.RecognizeDetectCardCoords(model)
442
+ result = rsp.to_json_string()
443
+ try:
444
+ json_obj = json.loads(result)
445
+ except TypeError as e:
446
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
447
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
448
+ break
449
+ cur_time = time.time()
450
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
451
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
452
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
453
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
454
+ else:
455
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
456
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
457
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
458
+
459
+
405
460
  def doVinOCR(args, parsed_globals):
406
461
  g_param = parse_global_arg(parsed_globals)
407
462
 
@@ -427,7 +482,7 @@ def doVinOCR(args, parsed_globals):
427
482
  endpoint=g_param[OptionsDefine.Endpoint],
428
483
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
429
484
  )
430
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
485
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
431
486
  if g_param[OptionsDefine.Language]:
432
487
  profile.language = g_param[OptionsDefine.Language]
433
488
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -482,7 +537,7 @@ def doMLIDPassportOCR(args, parsed_globals):
482
537
  endpoint=g_param[OptionsDefine.Endpoint],
483
538
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
484
539
  )
485
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
540
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
486
541
  if g_param[OptionsDefine.Language]:
487
542
  profile.language = g_param[OptionsDefine.Language]
488
543
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -537,7 +592,7 @@ def doRecognizeBrazilRNEOCR(args, parsed_globals):
537
592
  endpoint=g_param[OptionsDefine.Endpoint],
538
593
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
539
594
  )
540
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
595
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
541
596
  if g_param[OptionsDefine.Language]:
542
597
  profile.language = g_param[OptionsDefine.Language]
543
598
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -592,7 +647,7 @@ def doHKIDCardOCR(args, parsed_globals):
592
647
  endpoint=g_param[OptionsDefine.Endpoint],
593
648
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
594
649
  )
595
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
650
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
596
651
  if g_param[OptionsDefine.Language]:
597
652
  profile.language = g_param[OptionsDefine.Language]
598
653
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -647,7 +702,7 @@ def doGeneralBasicOCR(args, parsed_globals):
647
702
  endpoint=g_param[OptionsDefine.Endpoint],
648
703
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
649
704
  )
650
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
705
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
651
706
  if g_param[OptionsDefine.Language]:
652
707
  profile.language = g_param[OptionsDefine.Language]
653
708
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -702,7 +757,7 @@ def doPermitOCR(args, parsed_globals):
702
757
  endpoint=g_param[OptionsDefine.Endpoint],
703
758
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
704
759
  )
705
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
760
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
706
761
  if g_param[OptionsDefine.Language]:
707
762
  profile.language = g_param[OptionsDefine.Language]
708
763
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -757,7 +812,7 @@ def doRecognizeThaiIDCardOCR(args, parsed_globals):
757
812
  endpoint=g_param[OptionsDefine.Endpoint],
758
813
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
759
814
  )
760
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
815
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
761
816
  if g_param[OptionsDefine.Language]:
762
817
  profile.language = g_param[OptionsDefine.Language]
763
818
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -812,7 +867,7 @@ def doRecognizeMacaoIDCardOCR(args, parsed_globals):
812
867
  endpoint=g_param[OptionsDefine.Endpoint],
813
868
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
814
869
  )
815
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
870
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
816
871
  if g_param[OptionsDefine.Language]:
817
872
  profile.language = g_param[OptionsDefine.Language]
818
873
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -867,7 +922,7 @@ def doRecognizeBrazilCommonOCR(args, parsed_globals):
867
922
  endpoint=g_param[OptionsDefine.Endpoint],
868
923
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
869
924
  )
870
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
925
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
871
926
  if g_param[OptionsDefine.Language]:
872
927
  profile.language = g_param[OptionsDefine.Language]
873
928
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -922,7 +977,7 @@ def doTableOCR(args, parsed_globals):
922
977
  endpoint=g_param[OptionsDefine.Endpoint],
923
978
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
924
979
  )
925
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
980
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
926
981
  if g_param[OptionsDefine.Language]:
927
982
  profile.language = g_param[OptionsDefine.Language]
928
983
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -977,7 +1032,7 @@ def doHmtResidentPermitOCR(args, parsed_globals):
977
1032
  endpoint=g_param[OptionsDefine.Endpoint],
978
1033
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
979
1034
  )
980
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1035
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
981
1036
  if g_param[OptionsDefine.Language]:
982
1037
  profile.language = g_param[OptionsDefine.Language]
983
1038
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1032,7 +1087,7 @@ def doRecognizeMexicoVTID(args, parsed_globals):
1032
1087
  endpoint=g_param[OptionsDefine.Endpoint],
1033
1088
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1034
1089
  )
1035
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1090
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1036
1091
  if g_param[OptionsDefine.Language]:
1037
1092
  profile.language = g_param[OptionsDefine.Language]
1038
1093
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1087,7 +1142,7 @@ def doLicensePlateOCR(args, parsed_globals):
1087
1142
  endpoint=g_param[OptionsDefine.Endpoint],
1088
1143
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1089
1144
  )
1090
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1145
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1091
1146
  if g_param[OptionsDefine.Language]:
1092
1147
  profile.language = g_param[OptionsDefine.Language]
1093
1148
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1142,7 +1197,7 @@ def doRecognizeKoreanIDCardOCR(args, parsed_globals):
1142
1197
  endpoint=g_param[OptionsDefine.Endpoint],
1143
1198
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1144
1199
  )
1145
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1200
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1146
1201
  if g_param[OptionsDefine.Language]:
1147
1202
  profile.language = g_param[OptionsDefine.Language]
1148
1203
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1197,7 +1252,7 @@ def doExtractDocMulti(args, parsed_globals):
1197
1252
  endpoint=g_param[OptionsDefine.Endpoint],
1198
1253
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1199
1254
  )
1200
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1255
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1201
1256
  if g_param[OptionsDefine.Language]:
1202
1257
  profile.language = g_param[OptionsDefine.Language]
1203
1258
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1252,7 +1307,7 @@ def doSealOCR(args, parsed_globals):
1252
1307
  endpoint=g_param[OptionsDefine.Endpoint],
1253
1308
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1254
1309
  )
1255
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1310
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1256
1311
  if g_param[OptionsDefine.Language]:
1257
1312
  profile.language = g_param[OptionsDefine.Language]
1258
1313
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1307,7 +1362,7 @@ def doRecognizePhilippinesVoteIDOCR(args, parsed_globals):
1307
1362
  endpoint=g_param[OptionsDefine.Endpoint],
1308
1363
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1309
1364
  )
1310
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1365
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1311
1366
  if g_param[OptionsDefine.Language]:
1312
1367
  profile.language = g_param[OptionsDefine.Language]
1313
1368
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1362,7 +1417,7 @@ def doRecognizeBrazilIDCardOCR(args, parsed_globals):
1362
1417
  endpoint=g_param[OptionsDefine.Endpoint],
1363
1418
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1364
1419
  )
1365
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1420
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1366
1421
  if g_param[OptionsDefine.Language]:
1367
1422
  profile.language = g_param[OptionsDefine.Language]
1368
1423
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1417,7 +1472,7 @@ def doRecognizePhilippinesUMIDOCR(args, parsed_globals):
1417
1472
  endpoint=g_param[OptionsDefine.Endpoint],
1418
1473
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1419
1474
  )
1420
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1475
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1421
1476
  if g_param[OptionsDefine.Language]:
1422
1477
  profile.language = g_param[OptionsDefine.Language]
1423
1478
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1472,7 +1527,7 @@ def doRecognizeBrazilRNMOCR(args, parsed_globals):
1472
1527
  endpoint=g_param[OptionsDefine.Endpoint],
1473
1528
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1474
1529
  )
1475
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1530
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1476
1531
  if g_param[OptionsDefine.Language]:
1477
1532
  profile.language = g_param[OptionsDefine.Language]
1478
1533
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1527,7 +1582,7 @@ def doRecognizeSingaporeIDCardOCR(args, parsed_globals):
1527
1582
  endpoint=g_param[OptionsDefine.Endpoint],
1528
1583
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1529
1584
  )
1530
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1585
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1531
1586
  if g_param[OptionsDefine.Language]:
1532
1587
  profile.language = g_param[OptionsDefine.Language]
1533
1588
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1582,7 +1637,7 @@ def doBankCardOCR(args, parsed_globals):
1582
1637
  endpoint=g_param[OptionsDefine.Endpoint],
1583
1638
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1584
1639
  )
1585
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1640
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1586
1641
  if g_param[OptionsDefine.Language]:
1587
1642
  profile.language = g_param[OptionsDefine.Language]
1588
1643
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1637,7 +1692,7 @@ def doMainlandPermitOCR(args, parsed_globals):
1637
1692
  endpoint=g_param[OptionsDefine.Endpoint],
1638
1693
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1639
1694
  )
1640
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1695
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1641
1696
  if g_param[OptionsDefine.Language]:
1642
1697
  profile.language = g_param[OptionsDefine.Language]
1643
1698
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1692,7 +1747,7 @@ def doRecognizePhilippinesSssIDOCR(args, parsed_globals):
1692
1747
  endpoint=g_param[OptionsDefine.Endpoint],
1693
1748
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1694
1749
  )
1695
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1750
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1696
1751
  if g_param[OptionsDefine.Language]:
1697
1752
  profile.language = g_param[OptionsDefine.Language]
1698
1753
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1747,7 +1802,7 @@ def doRecognizePhilippinesDrivingLicenseOCR(args, parsed_globals):
1747
1802
  endpoint=g_param[OptionsDefine.Endpoint],
1748
1803
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1749
1804
  )
1750
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1805
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1751
1806
  if g_param[OptionsDefine.Language]:
1752
1807
  profile.language = g_param[OptionsDefine.Language]
1753
1808
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1802,7 +1857,7 @@ def doSmartStructuralPro(args, parsed_globals):
1802
1857
  endpoint=g_param[OptionsDefine.Endpoint],
1803
1858
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1804
1859
  )
1805
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1860
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1806
1861
  if g_param[OptionsDefine.Language]:
1807
1862
  profile.language = g_param[OptionsDefine.Language]
1808
1863
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1857,7 +1912,7 @@ def doRecognizeIndonesiaIDCardOCR(args, parsed_globals):
1857
1912
  endpoint=g_param[OptionsDefine.Endpoint],
1858
1913
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1859
1914
  )
1860
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1915
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1861
1916
  if g_param[OptionsDefine.Language]:
1862
1917
  profile.language = g_param[OptionsDefine.Language]
1863
1918
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1912,7 +1967,7 @@ def doRecognizePhilippinesTinIDOCR(args, parsed_globals):
1912
1967
  endpoint=g_param[OptionsDefine.Endpoint],
1913
1968
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1914
1969
  )
1915
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1970
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1916
1971
  if g_param[OptionsDefine.Language]:
1917
1972
  profile.language = g_param[OptionsDefine.Language]
1918
1973
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -1967,7 +2022,7 @@ def doRecognizeKoreanDrivingLicenseOCR(args, parsed_globals):
1967
2022
  endpoint=g_param[OptionsDefine.Endpoint],
1968
2023
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1969
2024
  )
1970
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2025
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
1971
2026
  if g_param[OptionsDefine.Language]:
1972
2027
  profile.language = g_param[OptionsDefine.Language]
1973
2028
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -2022,7 +2077,7 @@ def doRecognizeGeneralInvoice(args, parsed_globals):
2022
2077
  endpoint=g_param[OptionsDefine.Endpoint],
2023
2078
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2024
2079
  )
2025
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2080
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
2026
2081
  if g_param[OptionsDefine.Language]:
2027
2082
  profile.language = g_param[OptionsDefine.Language]
2028
2083
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -2077,7 +2132,7 @@ def doRecognizeMainlandIDCardOCR(args, parsed_globals):
2077
2132
  endpoint=g_param[OptionsDefine.Endpoint],
2078
2133
  proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2079
2134
  )
2080
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2135
+ profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
2081
2136
  if g_param[OptionsDefine.Language]:
2082
2137
  profile.language = g_param[OptionsDefine.Language]
2083
2138
  mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
@@ -2125,6 +2180,7 @@ ACTION_MAP = {
2125
2180
  "GeneralAccurateOCR": doGeneralAccurateOCR,
2126
2181
  "SmartStructuralOCRV2": doSmartStructuralOCRV2,
2127
2182
  "RecognizeTableAccurateOCR": doRecognizeTableAccurateOCR,
2183
+ "RecognizeDetectCardCoords": doRecognizeDetectCardCoords,
2128
2184
  "VinOCR": doVinOCR,
2129
2185
  "MLIDPassportOCR": doMLIDPassportOCR,
2130
2186
  "RecognizeBrazilRNEOCR": doRecognizeBrazilRNEOCR,