tccli 3.0.1181.1__py2.py3-none-any.whl → 3.0.1183.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/ams/v20201229/api.json +20 -0
  4. tccli/services/ams/v20201229/examples.json +1 -1
  5. tccli/services/asr/asr_client.py +229 -17
  6. tccli/services/asr/v20190614/api.json +379 -0
  7. tccli/services/asr/v20190614/examples.json +32 -0
  8. tccli/services/batch/v20170312/api.json +1 -1
  9. tccli/services/bi/v20220105/api.json +10 -0
  10. tccli/services/cdb/cdb_client.py +106 -0
  11. tccli/services/cdb/v20170320/api.json +185 -0
  12. tccli/services/cdb/v20170320/examples.json +17 -1
  13. tccli/services/cdwdoris/v20211228/api.json +70 -8
  14. tccli/services/cdwdoris/v20211228/examples.json +2 -2
  15. tccli/services/cfg/v20210820/api.json +134 -11
  16. tccli/services/cfw/cfw_client.py +53 -0
  17. tccli/services/cfw/v20190904/api.json +44 -0
  18. tccli/services/cfw/v20190904/examples.json +8 -0
  19. tccli/services/ckafka/v20190819/api.json +46 -16
  20. tccli/services/ckafka/v20190819/examples.json +8 -8
  21. tccli/services/clb/v20180317/api.json +99 -2
  22. tccli/services/cls/v20201016/api.json +1 -1
  23. tccli/services/controlcenter/__init__.py +4 -0
  24. tccli/services/controlcenter/controlcenter_client.py +195 -0
  25. tccli/services/controlcenter/v20230110/api.json +82 -0
  26. tccli/services/controlcenter/v20230110/examples.json +13 -0
  27. tccli/services/csip/v20221121/api.json +308 -1
  28. tccli/services/cvm/v20170312/api.json +20 -20
  29. tccli/services/cvm/v20170312/examples.json +1 -1
  30. tccli/services/cwp/v20180228/api.json +3 -3
  31. tccli/services/cwp/v20180228/examples.json +1 -1
  32. tccli/services/cynosdb/cynosdb_client.py +110 -4
  33. tccli/services/cynosdb/v20190107/api.json +296 -11
  34. tccli/services/cynosdb/v20190107/examples.json +19 -3
  35. tccli/services/dasb/v20191018/api.json +20 -1
  36. tccli/services/dbbrain/v20210527/api.json +15 -15
  37. tccli/services/dc/v20180410/api.json +117 -73
  38. tccli/services/dc/v20180410/examples.json +11 -11
  39. tccli/services/dcdb/dcdb_client.py +53 -0
  40. tccli/services/dcdb/v20180411/api.json +54 -0
  41. tccli/services/dcdb/v20180411/examples.json +8 -0
  42. tccli/services/emr/emr_client.py +53 -0
  43. tccli/services/emr/v20190103/api.json +52 -0
  44. tccli/services/emr/v20190103/examples.json +8 -0
  45. tccli/services/es/es_client.py +53 -0
  46. tccli/services/es/v20180416/api.json +64 -1
  47. tccli/services/es/v20180416/examples.json +8 -0
  48. tccli/services/ess/v20201111/api.json +1 -1
  49. tccli/services/essbasic/v20210526/api.json +9 -9
  50. tccli/services/hunyuan/hunyuan_client.py +106 -0
  51. tccli/services/hunyuan/v20230901/api.json +236 -1
  52. tccli/services/hunyuan/v20230901/examples.json +16 -0
  53. tccli/services/ims/v20201229/api.json +1 -1
  54. tccli/services/iotexplorer/v20190423/api.json +2 -2
  55. tccli/services/iss/v20230517/api.json +18 -0
  56. tccli/services/iss/v20230517/examples.json +3 -3
  57. tccli/services/lke/v20231130/api.json +141 -2
  58. tccli/services/mariadb/mariadb_client.py +57 -4
  59. tccli/services/mariadb/v20170312/api.json +54 -0
  60. tccli/services/mariadb/v20170312/examples.json +8 -0
  61. tccli/services/oceanus/v20190422/api.json +10 -0
  62. tccli/services/ocr/v20181119/api.json +7 -7
  63. tccli/services/organization/organization_client.py +53 -0
  64. tccli/services/organization/v20210331/api.json +43 -0
  65. tccli/services/organization/v20210331/examples.json +8 -0
  66. tccli/services/postgres/v20170312/api.json +3 -0
  67. tccli/services/redis/v20180412/api.json +16 -16
  68. tccli/services/scf/v20180416/api.json +26 -16
  69. tccli/services/ses/v20201002/api.json +148 -11
  70. tccli/services/sms/v20190711/api.json +49 -49
  71. tccli/services/sms/v20190711/examples.json +2 -2
  72. tccli/services/ssl/v20191205/api.json +3 -3
  73. tccli/services/ssl/v20191205/examples.json +2 -2
  74. tccli/services/tdmq/v20200217/api.json +180 -93
  75. tccli/services/tdmq/v20200217/examples.json +8 -8
  76. tccli/services/tke/v20180525/api.json +14 -2
  77. tccli/services/tke/v20180525/examples.json +3 -3
  78. tccli/services/tms/tms_client.py +0 -53
  79. tccli/services/tms/v20201229/api.json +2 -46
  80. tccli/services/tms/v20201229/examples.json +0 -8
  81. tccli/services/tmt/v20180321/api.json +4 -4
  82. tccli/services/trocket/v20230308/api.json +62 -12
  83. tccli/services/vpc/v20170312/api.json +23 -0
  84. tccli/services/wedata/v20210820/api.json +1909 -175
  85. tccli/services/wedata/v20210820/examples.json +62 -0
  86. tccli/services/wedata/wedata_client.py +387 -16
  87. {tccli-3.0.1181.1.dist-info → tccli-3.0.1183.1.dist-info}/METADATA +2 -2
  88. {tccli-3.0.1181.1.dist-info → tccli-3.0.1183.1.dist-info}/RECORD +91 -87
  89. {tccli-3.0.1181.1.dist-info → tccli-3.0.1183.1.dist-info}/WHEEL +0 -0
  90. {tccli-3.0.1181.1.dist-info → tccli-3.0.1183.1.dist-info}/entry_points.txt +0 -0
  91. {tccli-3.0.1181.1.dist-info → tccli-3.0.1183.1.dist-info}/license_files/LICENSE +0 -0
@@ -1845,6 +1845,15 @@
1845
1845
  "name": "ExpireEnd",
1846
1846
  "required": false,
1847
1847
  "type": "string"
1848
+ },
1849
+ {
1850
+ "disabled": false,
1851
+ "document": "相似问内容",
1852
+ "example": "无",
1853
+ "member": "string",
1854
+ "name": "SimilarQuestions",
1855
+ "required": false,
1856
+ "type": "list"
1848
1857
  }
1849
1858
  ],
1850
1859
  "type": "object"
@@ -3233,6 +3242,16 @@
3233
3242
  "type": "string",
3234
3243
  "value_allowed_null": false
3235
3244
  },
3245
+ {
3246
+ "disabled": false,
3247
+ "document": "相似问列表信息",
3248
+ "example": "无",
3249
+ "member": "SimilarQuestion",
3250
+ "name": "SimilarQuestions",
3251
+ "output_required": false,
3252
+ "type": "list",
3253
+ "value_allowed_null": false
3254
+ },
3236
3255
  {
3237
3256
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3238
3257
  "member": "string",
@@ -6602,7 +6621,7 @@
6602
6621
  "members": [
6603
6622
  {
6604
6623
  "disabled": false,
6605
- "document": "机器人ID",
6624
+ "document": "应用ID",
6606
6625
  "example": "无",
6607
6626
  "member": "string",
6608
6627
  "name": "BotBizId",
@@ -6647,7 +6666,7 @@
6647
6666
  },
6648
6667
  {
6649
6668
  "disabled": false,
6650
- "document": "发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败)",
6669
+ "document": "发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败 12已过期 13超量失效 14超量失效恢复)",
6651
6670
  "example": "无",
6652
6671
  "member": "int64",
6653
6672
  "name": "ReleaseStatus",
@@ -6927,6 +6946,56 @@
6927
6946
  "output_required": false,
6928
6947
  "type": "string",
6929
6948
  "value_allowed_null": false
6949
+ },
6950
+ {
6951
+ "disabled": false,
6952
+ "document": "有效开始时间,unix时间戳",
6953
+ "example": "无",
6954
+ "member": "string",
6955
+ "name": "ExpireStart",
6956
+ "output_required": false,
6957
+ "type": "string",
6958
+ "value_allowed_null": false
6959
+ },
6960
+ {
6961
+ "disabled": false,
6962
+ "document": "有效结束时间,unix时间戳,0代表永久有效",
6963
+ "example": "无",
6964
+ "member": "string",
6965
+ "name": "ExpireEnd",
6966
+ "output_required": false,
6967
+ "type": "string",
6968
+ "value_allowed_null": false
6969
+ },
6970
+ {
6971
+ "disabled": false,
6972
+ "document": "属性标签适用范围 1:全部,2:按条件",
6973
+ "example": "无",
6974
+ "member": "int64",
6975
+ "name": "AttrRange",
6976
+ "output_required": false,
6977
+ "type": "int",
6978
+ "value_allowed_null": false
6979
+ },
6980
+ {
6981
+ "disabled": false,
6982
+ "document": "属性标签",
6983
+ "example": "无",
6984
+ "member": "AttrLabel",
6985
+ "name": "AttrLabels",
6986
+ "output_required": false,
6987
+ "type": "list",
6988
+ "value_allowed_null": false
6989
+ },
6990
+ {
6991
+ "disabled": false,
6992
+ "document": "相似问个数",
6993
+ "example": "无",
6994
+ "member": "uint64",
6995
+ "name": "SimilarQuestionNum",
6996
+ "output_required": false,
6997
+ "type": "int",
6998
+ "value_allowed_null": false
6930
6999
  }
6931
7000
  ],
6932
7001
  "usage": "out"
@@ -8423,6 +8492,15 @@
8423
8492
  "name": "ExpireEnd",
8424
8493
  "required": false,
8425
8494
  "type": "string"
8495
+ },
8496
+ {
8497
+ "disabled": false,
8498
+ "document": "相似问修改信息(相似问没有修改则不传)",
8499
+ "example": "无",
8500
+ "member": "SimilarQuestionModify",
8501
+ "name": "SimilarQuestionModify",
8502
+ "required": false,
8503
+ "type": "object"
8426
8504
  }
8427
8505
  ],
8428
8506
  "type": "object"
@@ -10618,6 +10696,67 @@
10618
10696
  ],
10619
10697
  "type": "object"
10620
10698
  },
10699
+ "SimilarQuestion": {
10700
+ "document": "相似问信息",
10701
+ "members": [
10702
+ {
10703
+ "disabled": false,
10704
+ "document": "相似问ID\n注意:此字段可能返回 null,表示取不到有效值。",
10705
+ "example": "10001",
10706
+ "member": "string",
10707
+ "name": "SimBizId",
10708
+ "output_required": false,
10709
+ "required": false,
10710
+ "type": "string",
10711
+ "value_allowed_null": true
10712
+ },
10713
+ {
10714
+ "disabled": false,
10715
+ "document": "相似问内容\n注意:此字段可能返回 null,表示取不到有效值。",
10716
+ "example": "您好",
10717
+ "member": "string",
10718
+ "name": "Question",
10719
+ "output_required": false,
10720
+ "required": false,
10721
+ "type": "string",
10722
+ "value_allowed_null": true
10723
+ }
10724
+ ],
10725
+ "usage": "both"
10726
+ },
10727
+ "SimilarQuestionModify": {
10728
+ "document": "相似问修改(更新)信息",
10729
+ "members": [
10730
+ {
10731
+ "disabled": false,
10732
+ "document": "需要添加的相似问(内容)列表",
10733
+ "example": "无",
10734
+ "member": "string",
10735
+ "name": "AddQuestions",
10736
+ "required": false,
10737
+ "type": "list"
10738
+ },
10739
+ {
10740
+ "disabled": false,
10741
+ "document": "需要更新的相似问列表",
10742
+ "example": "无",
10743
+ "member": "SimilarQuestion",
10744
+ "name": "UpdateQuestions",
10745
+ "required": false,
10746
+ "type": "list"
10747
+ },
10748
+ {
10749
+ "disabled": false,
10750
+ "document": "需要删除的相似问列表",
10751
+ "example": "无",
10752
+ "member": "SimilarQuestion",
10753
+ "name": "DeleteQuestions",
10754
+ "required": false,
10755
+ "type": "list"
10756
+ }
10757
+ ],
10758
+ "usage": "in"
10759
+ },
10621
10760
  "StopDocParseRequest": {
10622
10761
  "document": "StopDocParse请求参数结构体",
10623
10762
  "members": [
@@ -901,6 +901,58 @@ def doModifyLogFileRetentionPeriod(args, parsed_globals):
901
901
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
902
902
 
903
903
 
904
+ def doDescribeDBInstanceDetail(args, parsed_globals):
905
+ g_param = parse_global_arg(parsed_globals)
906
+
907
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
908
+ cred = credential.CVMRoleCredential()
909
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
910
+ cred = credential.STSAssumeRoleCredential(
911
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
912
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
913
+ )
914
+ 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):
915
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
916
+ else:
917
+ cred = credential.Credential(
918
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
919
+ )
920
+ http_profile = HttpProfile(
921
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
922
+ reqMethod="POST",
923
+ endpoint=g_param[OptionsDefine.Endpoint],
924
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
925
+ )
926
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
927
+ if g_param[OptionsDefine.Language]:
928
+ profile.language = g_param[OptionsDefine.Language]
929
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
930
+ client = mod.MariadbClient(cred, g_param[OptionsDefine.Region], profile)
931
+ client._sdkVersion += ("_CLI_" + __version__)
932
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
933
+ model = models.DescribeDBInstanceDetailRequest()
934
+ model.from_json_string(json.dumps(args))
935
+ start_time = time.time()
936
+ while True:
937
+ rsp = client.DescribeDBInstanceDetail(model)
938
+ result = rsp.to_json_string()
939
+ try:
940
+ json_obj = json.loads(result)
941
+ except TypeError as e:
942
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
943
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
944
+ break
945
+ cur_time = time.time()
946
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
947
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
948
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
949
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
950
+ else:
951
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
952
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
953
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
954
+
955
+
904
956
  def doDescribeDBSlowLogs(args, parsed_globals):
905
957
  g_param = parse_global_arg(parsed_globals)
906
958
 
@@ -3605,7 +3657,7 @@ def doUpgradeDBInstance(args, parsed_globals):
3605
3657
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3606
3658
 
3607
3659
 
3608
- def doDescribeDBInstanceDetail(args, parsed_globals):
3660
+ def doDescribeBinlogTime(args, parsed_globals):
3609
3661
  g_param = parse_global_arg(parsed_globals)
3610
3662
 
3611
3663
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3634,11 +3686,11 @@ def doDescribeDBInstanceDetail(args, parsed_globals):
3634
3686
  client = mod.MariadbClient(cred, g_param[OptionsDefine.Region], profile)
3635
3687
  client._sdkVersion += ("_CLI_" + __version__)
3636
3688
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3637
- model = models.DescribeDBInstanceDetailRequest()
3689
+ model = models.DescribeBinlogTimeRequest()
3638
3690
  model.from_json_string(json.dumps(args))
3639
3691
  start_time = time.time()
3640
3692
  while True:
3641
- rsp = client.DescribeDBInstanceDetail(model)
3693
+ rsp = client.DescribeBinlogTime(model)
3642
3694
  result = rsp.to_json_string()
3643
3695
  try:
3644
3696
  json_obj = json.loads(result)
@@ -3841,6 +3893,7 @@ ACTION_MAP = {
3841
3893
  "ResetAccountPassword": doResetAccountPassword,
3842
3894
  "ModifyDBParameters": doModifyDBParameters,
3843
3895
  "ModifyLogFileRetentionPeriod": doModifyLogFileRetentionPeriod,
3896
+ "DescribeDBInstanceDetail": doDescribeDBInstanceDetail,
3844
3897
  "DescribeDBSlowLogs": doDescribeDBSlowLogs,
3845
3898
  "DescribeFlow": doDescribeFlow,
3846
3899
  "SwitchDBInstanceHA": doSwitchDBInstanceHA,
@@ -3893,7 +3946,7 @@ ACTION_MAP = {
3893
3946
  "TerminateDedicatedDBInstance": doTerminateDedicatedDBInstance,
3894
3947
  "CloneAccount": doCloneAccount,
3895
3948
  "UpgradeDBInstance": doUpgradeDBInstance,
3896
- "DescribeDBInstanceDetail": doDescribeDBInstanceDetail,
3949
+ "DescribeBinlogTime": doDescribeBinlogTime,
3897
3950
  "DescribeLogFileRetentionPeriod": doDescribeLogFileRetentionPeriod,
3898
3951
  "AssociateSecurityGroups": doAssociateSecurityGroups,
3899
3952
  "DescribeDBEncryptAttributes": doDescribeDBEncryptAttributes,
@@ -112,6 +112,13 @@
112
112
  "output": "DescribeBackupTimeResponse",
113
113
  "status": "online"
114
114
  },
115
+ "DescribeBinlogTime": {
116
+ "document": "本接口(DescribeBinlogTime)用于查询可回档时间范围。",
117
+ "input": "DescribeBinlogTimeRequest",
118
+ "name": "查询可回档时间范围",
119
+ "output": "DescribeBinlogTimeResponse",
120
+ "status": "online"
121
+ },
115
122
  "DescribeDBEncryptAttributes": {
116
123
  "document": "本接口(DescribeDBEncryptAttributes)用于查询实例数据加密状态。",
117
124
  "input": "DescribeDBEncryptAttributesRequest",
@@ -3456,6 +3463,53 @@
3456
3463
  ],
3457
3464
  "type": "object"
3458
3465
  },
3466
+ "DescribeBinlogTimeRequest": {
3467
+ "document": "DescribeBinlogTime请求参数结构体",
3468
+ "members": [
3469
+ {
3470
+ "disabled": false,
3471
+ "document": "实例 ID,形如:tdsql-ow728lmc。",
3472
+ "example": "tdsql-arryr5nt",
3473
+ "member": "string",
3474
+ "name": "InstanceId",
3475
+ "required": true,
3476
+ "type": "string"
3477
+ }
3478
+ ],
3479
+ "type": "object"
3480
+ },
3481
+ "DescribeBinlogTimeResponse": {
3482
+ "document": "DescribeBinlogTime返回参数结构体",
3483
+ "members": [
3484
+ {
3485
+ "disabled": false,
3486
+ "document": "开始时间",
3487
+ "example": "2019-04-06 00:31:10",
3488
+ "member": "string",
3489
+ "name": "StartTime",
3490
+ "required": true,
3491
+ "type": "string",
3492
+ "value_allowed_null": false
3493
+ },
3494
+ {
3495
+ "disabled": false,
3496
+ "document": "结束时间",
3497
+ "example": "2019-04-06 14:31:56",
3498
+ "member": "string",
3499
+ "name": "EndTime",
3500
+ "required": true,
3501
+ "type": "string",
3502
+ "value_allowed_null": false
3503
+ },
3504
+ {
3505
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3506
+ "member": "string",
3507
+ "name": "RequestId",
3508
+ "type": "string"
3509
+ }
3510
+ ],
3511
+ "type": "object"
3512
+ },
3459
3513
  "DescribeDBEncryptAttributesRequest": {
3460
3514
  "document": "DescribeDBEncryptAttributes请求参数结构体",
3461
3515
  "members": [
@@ -128,6 +128,14 @@
128
128
  "title": "查询云数据库实例的备份时间窗口配置"
129
129
  }
130
130
  ],
131
+ "DescribeBinlogTime": [
132
+ {
133
+ "document": "",
134
+ "input": "https://mariadb.tencentcloudapi.com/?Action=DescribeBinlogTime\n&InstanceId=tdsql-arryr5nt\n&<公共请求参数>",
135
+ "output": "{\n \"Response\": {\n \"EndTime\": \"2019-04-06 14:31:56\",\n \"RequestId\": \"8668c08c-e030-48a4-9e67-0c87608f6171\",\n \"StartTime\": \"2019-04-06 00:31:10\"\n }\n}",
136
+ "title": "查询可回档时间范围"
137
+ }
138
+ ],
131
139
  "DescribeDBEncryptAttributes": [
132
140
  {
133
141
  "document": "",
@@ -881,6 +881,16 @@
881
881
  "output_required": false,
882
882
  "type": "string",
883
883
  "value_allowed_null": true
884
+ },
885
+ {
886
+ "disabled": false,
887
+ "document": "Cu比例\n注意:此字段可能返回 null,表示取不到有效值。",
888
+ "example": "4",
889
+ "member": "int64",
890
+ "name": "MemRatio",
891
+ "output_required": false,
892
+ "type": "int",
893
+ "value_allowed_null": true
884
894
  }
885
895
  ],
886
896
  "usage": "out"
@@ -64,18 +64,18 @@
64
64
  "status": "online"
65
65
  },
66
66
  "ClassifyStoreName": {
67
- "document": "本接口用于识别门头照分类标签信息",
67
+ "document": "本接口用于识别门头照分类标签信息\n默认接口请求频率限制:1次/秒",
68
68
  "input": "ClassifyStoreNameRequest",
69
69
  "name": "商户照片分类",
70
70
  "output": "ClassifyStoreNameResponse",
71
71
  "status": "online"
72
72
  },
73
73
  "CreateAIFormTask": {
74
- "document": "本接口可创建智能表单录入任务,支持多个识别图片和PDF的URL上传,返回含有识别内容的操作页面URL。\n\n智能表单录入产品提供高准确率的表单识别技术和人工核对工具,支持自定义字段,将识别结果自动填入到自定义条目中,并提供人工操作工具,完成整个表单识别过程。适用性强,可对票据、合同、货单等文件的识别,适用于金融、货代、保险、档案等领域。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。",
74
+ "document": "智慧表单产品已下线,需要下线相关API\n\n本接口可创建智能表单录入任务,支持多个识别图片和PDF的URL上传,返回含有识别内容的操作页面URL。\n\n智能表单录入产品提供高准确率的表单识别技术和人工核对工具,支持自定义字段,将识别结果自动填入到自定义条目中,并提供人工操作工具,完成整个表单识别过程。适用性强,可对票据、合同、货单等文件的识别,适用于金融、货代、保险、档案等领域。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。",
75
75
  "input": "CreateAIFormTaskRequest",
76
76
  "name": "创建智慧表单文件识别任务",
77
77
  "output": "CreateAIFormTaskResponse",
78
- "status": "online"
78
+ "status": "deprecated"
79
79
  },
80
80
  "DriverLicenseOCR": {
81
81
  "document": "本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。\n\n驾驶证主页:包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位\n\n驾驶证副页:包括证号、姓名、档案编号、记录。\n\n另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。\n\n电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。\n\n默认接口请求频率限制:10次/秒。",
@@ -183,11 +183,11 @@
183
183
  "status": "online"
184
184
  },
185
185
  "GetTaskState": {
186
- "document": "支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。",
186
+ "document": "智慧表单产品已下线,需要下线相关API\n\n支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。",
187
187
  "input": "GetTaskStateRequest",
188
188
  "name": "查询智慧表单任务状态",
189
189
  "output": "GetTaskStateResponse",
190
- "status": "online"
190
+ "status": "deprecated"
191
191
  },
192
192
  "HKIDCardOCR": {
193
193
  "document": "本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备人像照片裁剪等扩展功能。\n\n默认接口请求频率限制:5次/秒。",
@@ -421,7 +421,7 @@
421
421
  "status": "online"
422
422
  },
423
423
  "RecognizeStoreName": {
424
- "document": "本接口用于识别门头照文字识别结果以及对应分类标签信息",
424
+ "document": "本接口用于识别门头照文字识别结果以及对应分类标签信息\n默认接口请求频率限制:1次/秒",
425
425
  "input": "RecognizeStoreNameRequest",
426
426
  "name": "商户门头照识别",
427
427
  "output": "RecognizeStoreNameResponse",
@@ -15308,7 +15308,7 @@
15308
15308
  "members": [
15309
15309
  {
15310
15310
  "disabled": false,
15311
- "document": "识别出的字段名称(关键字),支持以下字段:\n付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。",
15311
+ "document": "识别出的字段名称(关键字),如商店名称",
15312
15312
  "example": "商店名称",
15313
15313
  "member": "string",
15314
15314
  "name": "Name",
@@ -5063,6 +5063,58 @@ def doDescribeIdentityCenter(args, parsed_globals):
5063
5063
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5064
5064
 
5065
5065
 
5066
+ def doSendOrgMemberAccountBindEmail(args, parsed_globals):
5067
+ g_param = parse_global_arg(parsed_globals)
5068
+
5069
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5070
+ cred = credential.CVMRoleCredential()
5071
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5072
+ cred = credential.STSAssumeRoleCredential(
5073
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5074
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5075
+ )
5076
+ 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):
5077
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5078
+ else:
5079
+ cred = credential.Credential(
5080
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5081
+ )
5082
+ http_profile = HttpProfile(
5083
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5084
+ reqMethod="POST",
5085
+ endpoint=g_param[OptionsDefine.Endpoint],
5086
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5087
+ )
5088
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5089
+ if g_param[OptionsDefine.Language]:
5090
+ profile.language = g_param[OptionsDefine.Language]
5091
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5092
+ client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
5093
+ client._sdkVersion += ("_CLI_" + __version__)
5094
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5095
+ model = models.SendOrgMemberAccountBindEmailRequest()
5096
+ model.from_json_string(json.dumps(args))
5097
+ start_time = time.time()
5098
+ while True:
5099
+ rsp = client.SendOrgMemberAccountBindEmail(model)
5100
+ result = rsp.to_json_string()
5101
+ try:
5102
+ json_obj = json.loads(result)
5103
+ except TypeError as e:
5104
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5105
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5106
+ break
5107
+ cur_time = time.time()
5108
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5109
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5110
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5111
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5112
+ else:
5113
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5114
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5115
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5116
+
5117
+
5066
5118
  def doGetZoneStatistics(args, parsed_globals):
5067
5119
  g_param = parse_global_arg(parsed_globals)
5068
5120
 
@@ -6733,6 +6785,7 @@ ACTION_MAP = {
6733
6785
  "ListPoliciesForTarget": doListPoliciesForTarget,
6734
6786
  "DescribeOrganizationMemberAuthIdentities": doDescribeOrganizationMemberAuthIdentities,
6735
6787
  "DescribeIdentityCenter": doDescribeIdentityCenter,
6788
+ "SendOrgMemberAccountBindEmail": doSendOrgMemberAccountBindEmail,
6736
6789
  "GetZoneStatistics": doGetZoneStatistics,
6737
6790
  "DetachPolicy": doDetachPolicy,
6738
6791
  "DeleteShareUnitMembers": doDeleteShareUnitMembers,
@@ -714,6 +714,13 @@
714
714
  "output": "RemoveUserFromGroupResponse",
715
715
  "status": "online"
716
716
  },
717
+ "SendOrgMemberAccountBindEmail": {
718
+ "document": "重新发送成员绑定邮箱激活邮件",
719
+ "input": "SendOrgMemberAccountBindEmailRequest",
720
+ "name": "重新发送成员绑定邮箱激活邮件",
721
+ "output": "SendOrgMemberAccountBindEmailResponse",
722
+ "status": "online"
723
+ },
717
724
  "SetExternalSAMLIdentityProvider": {
718
725
  "document": "配置SAML身份提供商信息",
719
726
  "input": "SetExternalSAMLIdentityProviderRequest",
@@ -10012,6 +10019,42 @@
10012
10019
  ],
10013
10020
  "usage": "both"
10014
10021
  },
10022
+ "SendOrgMemberAccountBindEmailRequest": {
10023
+ "document": "SendOrgMemberAccountBindEmail请求参数结构体",
10024
+ "members": [
10025
+ {
10026
+ "disabled": false,
10027
+ "document": "成员Uin。",
10028
+ "example": "111111111111",
10029
+ "member": "int64",
10030
+ "name": "MemberUin",
10031
+ "required": true,
10032
+ "type": "int"
10033
+ },
10034
+ {
10035
+ "disabled": false,
10036
+ "document": "绑定ID。可以通过[DescribeOrganizationMemberEmailBind](https://cloud.tencent.com/document/product/850/93332)获取",
10037
+ "example": "12",
10038
+ "member": "int64",
10039
+ "name": "BindId",
10040
+ "required": true,
10041
+ "type": "int"
10042
+ }
10043
+ ],
10044
+ "type": "object"
10045
+ },
10046
+ "SendOrgMemberAccountBindEmailResponse": {
10047
+ "document": "SendOrgMemberAccountBindEmail返回参数结构体",
10048
+ "members": [
10049
+ {
10050
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
10051
+ "member": "string",
10052
+ "name": "RequestId",
10053
+ "type": "string"
10054
+ }
10055
+ ],
10056
+ "type": "object"
10057
+ },
10015
10058
  "SetExternalSAMLIdentityProviderRequest": {
10016
10059
  "document": "SetExternalSAMLIdentityProvider请求参数结构体",
10017
10060
  "members": [
@@ -816,6 +816,14 @@
816
816
  "title": "从用户组中移除用户"
817
817
  }
818
818
  ],
819
+ "SendOrgMemberAccountBindEmail": [
820
+ {
821
+ "document": "",
822
+ "input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendOrgMemberAccountBindEmail\n<公共请求参数>\n\n{\n \"MemberUin\": 111111111111,\n \"BindId\": 12\n}",
823
+ "output": "{\n \"Response\": {\n \"RequestId\": \"b46d2afe-6893-4529-bc96-2c82d9214957\"\n }\n}",
824
+ "title": "重新发送成员绑定邮箱激活邮件"
825
+ }
826
+ ],
819
827
  "SetExternalSAMLIdentityProvider": [
820
828
  {
821
829
  "document": "配置SAML身份提供商信息",
@@ -3555,6 +3555,7 @@
3555
3555
  "example": "Primary, Standby",
3556
3556
  "member": "string",
3557
3557
  "name": "Role",
3558
+ "output_required": true,
3558
3559
  "required": true,
3559
3560
  "type": "string",
3560
3561
  "value_allowed_null": false
@@ -3565,6 +3566,7 @@
3565
3566
  "example": "ap-guangzhou-1",
3566
3567
  "member": "string",
3567
3568
  "name": "Zone",
3569
+ "output_required": true,
3568
3570
  "required": true,
3569
3571
  "type": "string",
3570
3572
  "value_allowed_null": false
@@ -7082,6 +7084,7 @@
7082
7084
  "example": "[\"postgres-6fego161\"]",
7083
7085
  "member": "string",
7084
7086
  "name": "DBInstanceIdSet",
7087
+ "output_required": true,
7085
7088
  "type": "list",
7086
7089
  "value_allowed_null": false
7087
7090
  },