tccli 3.0.1100.1__py2.py3-none-any.whl → 3.0.1102.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 (75) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdb/v20170320/CloseSSL.md +21 -0
  3. tccli/examples/cdb/v20170320/DescribeSSLStatus.md +22 -0
  4. tccli/examples/cdb/v20170320/OpenSSL.md +21 -0
  5. tccli/examples/cls/v20201016/DeleteConfigExtra.md +1 -1
  6. tccli/examples/cls/v20201016/DeleteDataTransform.md +1 -1
  7. tccli/examples/cls/v20201016/ModifyConfigExtra.md +2 -2
  8. tccli/examples/csip/v20221121/CreateRiskCenterScanTask.md +1 -0
  9. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewCFGRiskList.md +1 -0
  10. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewPortRiskList.md +1 -0
  11. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewVULRiskList.md +1 -0
  12. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewWeakPasswordRiskList.md +1 -0
  13. tccli/examples/csip/v20221121/DescribeRiskCenterPortViewPortRiskList.md +1 -0
  14. tccli/examples/csip/v20221121/DescribeRiskCenterServerRiskList.md +1 -0
  15. tccli/examples/csip/v20221121/DescribeRiskCenterVULViewVULRiskList.md +1 -0
  16. tccli/examples/csip/v20221121/DescribeRiskCenterWebsiteRiskList.md +1 -0
  17. tccli/examples/csip/v20221121/DescribeScanTaskList.md +1 -0
  18. tccli/examples/csip/v20221121/DescribeTaskLogURL.md +1 -0
  19. tccli/examples/csip/v20221121/ModifyRiskCenterRiskStatus.md +1 -0
  20. tccli/examples/csip/v20221121/ModifyRiskCenterScanTask.md +1 -0
  21. tccli/examples/postgres/v20170312/ModifyAccountRemark.md +1 -1
  22. tccli/examples/rum/v20210622/DescribeError.md +1 -1
  23. tccli/examples/rum/v20210622/ModifyProject.md +1 -1
  24. tccli/examples/teo/v20220901/DescribeRulesSetting.md +6 -159
  25. tccli/examples/teo/v20220901/DescribeSecurityIPGroup.md +30 -0
  26. tccli/examples/trtc/v20190722/CreateCloudRecording.md +2 -2
  27. tccli/examples/tsf/v20180326/CreateCluster.md +2 -2
  28. tccli/examples/vpc/v20170312/DeleteVpnGateway.md +1 -2
  29. tccli/examples/vpc/v20170312/DescribeVpnGatewaySslServers.md +23 -33
  30. tccli/examples/vpc/v20170312/InquiryPriceCreateVpnGateway.md +11 -3
  31. tccli/examples/vpc/v20170312/InquiryPriceResetVpnGatewayInternetMaxBandwidth.md +14 -7
  32. tccli/examples/vpc/v20170312/ModifyVpnGatewayCcnRoutes.md +1 -1
  33. tccli/examples/wedata/v20210820/DescribeProject.md +58 -1
  34. tccli/services/cdb/cdb_client.py +163 -4
  35. tccli/services/cdb/v20170320/api.json +169 -0
  36. tccli/services/cdb/v20170320/examples.json +24 -0
  37. tccli/services/cdn/v20180606/api.json +1 -1
  38. tccli/services/clb/v20180317/api.json +18 -0
  39. tccli/services/cls/v20201016/api.json +97 -75
  40. tccli/services/cls/v20201016/examples.json +3 -3
  41. tccli/services/csip/v20221121/api.json +157 -4
  42. tccli/services/csip/v20221121/examples.json +13 -13
  43. tccli/services/cvm/v20170312/api.json +5 -3
  44. tccli/services/cwp/cwp_client.py +0 -53
  45. tccli/services/cwp/v20180228/api.json +0 -194
  46. tccli/services/cwp/v20180228/examples.json +0 -8
  47. tccli/services/cynosdb/v20190107/api.json +1 -1
  48. tccli/services/ess/v20201111/api.json +9 -0
  49. tccli/services/essbasic/v20210526/api.json +19 -1
  50. tccli/services/hunyuan/v20230901/api.json +2 -2
  51. tccli/services/monitor/v20180724/api.json +39 -39
  52. tccli/services/nlp/v20190408/api.json +13 -0
  53. tccli/services/ocr/v20181119/api.json +1 -1
  54. tccli/services/postgres/v20170312/examples.json +1 -1
  55. tccli/services/rum/v20210622/api.json +34 -19
  56. tccli/services/rum/v20210622/examples.json +16 -16
  57. tccli/services/ssl/v20191205/api.json +2 -2
  58. tccli/services/tdmq/v20200217/api.json +111 -1
  59. tccli/services/teo/teo_client.py +53 -0
  60. tccli/services/teo/v20220901/api.json +56 -3
  61. tccli/services/teo/v20220901/examples.json +9 -1
  62. tccli/services/trtc/v20190722/api.json +24 -6
  63. tccli/services/trtc/v20190722/examples.json +1 -1
  64. tccli/services/tsf/v20180326/api.json +80 -42
  65. tccli/services/tsf/v20180326/examples.json +1 -1
  66. tccli/services/vod/v20180717/api.json +2 -2
  67. tccli/services/vpc/v20170312/api.json +36 -23
  68. tccli/services/vpc/v20170312/examples.json +11 -11
  69. tccli/services/wedata/v20210820/api.json +465 -0
  70. tccli/services/wedata/v20210820/examples.json +1 -1
  71. {tccli-3.0.1100.1.dist-info → tccli-3.0.1102.1.dist-info}/METADATA +2 -2
  72. {tccli-3.0.1100.1.dist-info → tccli-3.0.1102.1.dist-info}/RECORD +75 -71
  73. {tccli-3.0.1100.1.dist-info → tccli-3.0.1102.1.dist-info}/WHEEL +0 -0
  74. {tccli-3.0.1100.1.dist-info → tccli-3.0.1102.1.dist-info}/entry_points.txt +0 -0
  75. {tccli-3.0.1100.1.dist-info → tccli-3.0.1102.1.dist-info}/license_files/LICENSE +0 -0
@@ -19829,58 +19829,6 @@ def doModifyBaselineRule(args, parsed_globals):
19829
19829
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
19830
19830
 
19831
19831
 
19832
- def doDescribeAttackLogInfo(args, parsed_globals):
19833
- g_param = parse_global_arg(parsed_globals)
19834
-
19835
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
19836
- cred = credential.CVMRoleCredential()
19837
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
19838
- cred = credential.STSAssumeRoleCredential(
19839
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
19840
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
19841
- )
19842
- 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):
19843
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
19844
- else:
19845
- cred = credential.Credential(
19846
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
19847
- )
19848
- http_profile = HttpProfile(
19849
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
19850
- reqMethod="POST",
19851
- endpoint=g_param[OptionsDefine.Endpoint],
19852
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
19853
- )
19854
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
19855
- if g_param[OptionsDefine.Language]:
19856
- profile.language = g_param[OptionsDefine.Language]
19857
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
19858
- client = mod.CwpClient(cred, g_param[OptionsDefine.Region], profile)
19859
- client._sdkVersion += ("_CLI_" + __version__)
19860
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
19861
- model = models.DescribeAttackLogInfoRequest()
19862
- model.from_json_string(json.dumps(args))
19863
- start_time = time.time()
19864
- while True:
19865
- rsp = client.DescribeAttackLogInfo(model)
19866
- result = rsp.to_json_string()
19867
- try:
19868
- json_obj = json.loads(result)
19869
- except TypeError as e:
19870
- json_obj = json.loads(result.decode('utf-8')) # python3.3
19871
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
19872
- break
19873
- cur_time = time.time()
19874
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
19875
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
19876
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
19877
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
19878
- else:
19879
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
19880
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
19881
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
19882
-
19883
-
19884
19832
  def doModifyWebPageProtectSwitch(args, parsed_globals):
19885
19833
  g_param = parse_global_arg(parsed_globals)
19886
19834
 
@@ -27345,7 +27293,6 @@ ACTION_MAP = {
27345
27293
  "DescribeTags": doDescribeTags,
27346
27294
  "DescribeBaselineBasicInfo": doDescribeBaselineBasicInfo,
27347
27295
  "ModifyBaselineRule": doModifyBaselineRule,
27348
- "DescribeAttackLogInfo": doDescribeAttackLogInfo,
27349
27296
  "ModifyWebPageProtectSwitch": doModifyWebPageProtectSwitch,
27350
27297
  "ModifyVulDefenceEventStatus": doModifyVulDefenceEventStatus,
27351
27298
  "GetLocalStorageItem": doGetLocalStorageItem,
@@ -854,13 +854,6 @@
854
854
  "output": "DescribeAttackEventsResponse",
855
855
  "status": "online"
856
856
  },
857
- "DescribeAttackLogInfo": {
858
- "document": "DescribeAttackEventInfo 接口替代\n\n网络攻击日志详情",
859
- "input": "DescribeAttackLogInfoRequest",
860
- "name": "网络攻击日志详情",
861
- "output": "DescribeAttackLogInfoResponse",
862
- "status": "deprecated"
863
- },
864
857
  "DescribeAttackLogs": {
865
858
  "document": "按分页形式展示网络攻击日志列表",
866
859
  "input": "DescribeAttackLogsRequest",
@@ -20399,193 +20392,6 @@
20399
20392
  ],
20400
20393
  "type": "object"
20401
20394
  },
20402
- "DescribeAttackLogInfoRequest": {
20403
- "document": "DescribeAttackLogInfo请求参数结构体",
20404
- "members": [
20405
- {
20406
- "disabled": false,
20407
- "document": "日志ID",
20408
- "example": "1",
20409
- "member": "uint64",
20410
- "name": "Id",
20411
- "required": true,
20412
- "type": "int"
20413
- }
20414
- ],
20415
- "type": "object"
20416
- },
20417
- "DescribeAttackLogInfoResponse": {
20418
- "document": "DescribeAttackLogInfo返回参数结构体",
20419
- "members": [
20420
- {
20421
- "disabled": false,
20422
- "document": "日志ID",
20423
- "example": "1",
20424
- "member": "uint64",
20425
- "name": "Id",
20426
- "required": true,
20427
- "type": "int",
20428
- "value_allowed_null": false
20429
- },
20430
- {
20431
- "disabled": false,
20432
- "document": "主机ID",
20433
- "example": "1",
20434
- "member": "string",
20435
- "name": "Quuid",
20436
- "required": true,
20437
- "type": "string",
20438
- "value_allowed_null": false
20439
- },
20440
- {
20441
- "disabled": false,
20442
- "document": "攻击来源端口",
20443
- "example": "xxx",
20444
- "member": "uint64",
20445
- "name": "SrcPort",
20446
- "required": true,
20447
- "type": "int",
20448
- "value_allowed_null": false
20449
- },
20450
- {
20451
- "disabled": false,
20452
- "document": "攻击来源IP",
20453
- "example": "xxx",
20454
- "member": "string",
20455
- "name": "SrcIp",
20456
- "required": true,
20457
- "type": "string",
20458
- "value_allowed_null": false
20459
- },
20460
- {
20461
- "disabled": false,
20462
- "document": "攻击目标端口",
20463
- "example": "xxx",
20464
- "member": "uint64",
20465
- "name": "DstPort",
20466
- "required": true,
20467
- "type": "int",
20468
- "value_allowed_null": false
20469
- },
20470
- {
20471
- "disabled": false,
20472
- "document": "攻击目标IP",
20473
- "example": "xxx",
20474
- "member": "string",
20475
- "name": "DstIp",
20476
- "required": true,
20477
- "type": "string",
20478
- "value_allowed_null": false
20479
- },
20480
- {
20481
- "disabled": false,
20482
- "document": "攻击方法",
20483
- "example": "xxx",
20484
- "member": "string",
20485
- "name": "HttpMethod",
20486
- "required": true,
20487
- "type": "string",
20488
- "value_allowed_null": false
20489
- },
20490
- {
20491
- "disabled": false,
20492
- "document": "攻击目标主机",
20493
- "example": "xxx",
20494
- "member": "string",
20495
- "name": "HttpHost",
20496
- "required": true,
20497
- "type": "string",
20498
- "value_allowed_null": false
20499
- },
20500
- {
20501
- "disabled": false,
20502
- "document": "攻击头信息",
20503
- "example": "xxx",
20504
- "member": "string",
20505
- "name": "HttpHead",
20506
- "required": true,
20507
- "type": "string",
20508
- "value_allowed_null": false
20509
- },
20510
- {
20511
- "disabled": false,
20512
- "document": "攻击者浏览器标识",
20513
- "example": "xxx",
20514
- "member": "string",
20515
- "name": "HttpUserAgent",
20516
- "required": true,
20517
- "type": "string",
20518
- "value_allowed_null": false
20519
- },
20520
- {
20521
- "disabled": false,
20522
- "document": "请求源",
20523
- "example": "xxx",
20524
- "member": "string",
20525
- "name": "HttpReferer",
20526
- "required": true,
20527
- "type": "string",
20528
- "value_allowed_null": false
20529
- },
20530
- {
20531
- "disabled": false,
20532
- "document": "威胁类型",
20533
- "example": "xxx",
20534
- "member": "string",
20535
- "name": "VulType",
20536
- "required": true,
20537
- "type": "string",
20538
- "value_allowed_null": false
20539
- },
20540
- {
20541
- "disabled": false,
20542
- "document": "攻击路径",
20543
- "example": "xxx",
20544
- "member": "string",
20545
- "name": "HttpCgi",
20546
- "required": true,
20547
- "type": "string",
20548
- "value_allowed_null": false
20549
- },
20550
- {
20551
- "disabled": false,
20552
- "document": "攻击参数",
20553
- "example": "xxx",
20554
- "member": "string",
20555
- "name": "HttpParam",
20556
- "required": true,
20557
- "type": "string",
20558
- "value_allowed_null": false
20559
- },
20560
- {
20561
- "disabled": false,
20562
- "document": "攻击时间",
20563
- "example": "xxx",
20564
- "member": "string",
20565
- "name": "CreatedAt",
20566
- "required": true,
20567
- "type": "string",
20568
- "value_allowed_null": false
20569
- },
20570
- {
20571
- "disabled": false,
20572
- "document": "攻击内容",
20573
- "example": "xxx",
20574
- "member": "string",
20575
- "name": "HttpContent",
20576
- "required": true,
20577
- "type": "string",
20578
- "value_allowed_null": false
20579
- },
20580
- {
20581
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
20582
- "member": "string",
20583
- "name": "RequestId",
20584
- "type": "string"
20585
- }
20586
- ],
20587
- "type": "object"
20588
- },
20589
20395
  "DescribeAttackLogsRequest": {
20590
20396
  "document": "DescribeAttackLogs请求参数结构体",
20591
20397
  "members": [
@@ -982,14 +982,6 @@
982
982
  "title": "网络攻击检测列表"
983
983
  }
984
984
  ],
985
- "DescribeAttackLogInfo": [
986
- {
987
- "document": "网络攻击日志详情",
988
- "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAttackLogInfo\n<公共请求参数>\n\n{\n \"Id\": \"1023\"\n}",
989
- "output": "{\n \"Response\": {\n \"HttpParam\": \"xx\",\n \"DstIp\": \"xx\",\n \"HttpCgi\": \"xx\",\n \"VulType\": \"xx\",\n \"CreatedAt\": \"xx\",\n \"SrcPort\": 1,\n \"HttpHead\": \"xx\",\n \"HttpUserAgent\": \"xx\",\n \"HttpMethod\": \"xx\",\n \"Quuid\": \"xx\",\n \"HttpReferer\": \"xx\",\n \"SrcIp\": \"xx\",\n \"DstPort\": 1,\n \"HttpContent\": \"xx\",\n \"Id\": 1,\n \"HttpHost\": \"xx\",\n \"RequestId\": \"xx\"\n }\n}",
990
- "title": "网络攻击日志详情"
991
- }
992
- ],
993
985
  "DescribeAttackLogs": [
994
986
  {
995
987
  "document": "网络攻击日志列表",
@@ -7705,7 +7705,7 @@
7705
7705
  },
7706
7706
  {
7707
7707
  "disabled": false,
7708
- "document": "单次请求返回的数量。默认值为30,最大值为 20000。",
7708
+ "document": "单次请求返回的数量。默认值为30,最大值为 100。",
7709
7709
  "example": "10",
7710
7710
  "member": "uint64",
7711
7711
  "name": "Limit",
@@ -11942,6 +11942,15 @@
11942
11942
  "name": "ApproverSignRole",
11943
11943
  "required": false,
11944
11944
  "type": "string"
11945
+ },
11946
+ {
11947
+ "disabled": false,
11948
+ "document": "印章Id,签署控件类型为印章时,用于指定本企业签署方在解除协议中使用那个印章进行签署",
11949
+ "example": "无",
11950
+ "member": "string",
11951
+ "name": "ApproverSignSealId",
11952
+ "required": false,
11953
+ "type": "string"
11945
11954
  }
11946
11955
  ],
11947
11956
  "usage": "in"
@@ -10649,7 +10649,7 @@
10649
10649
  "usage": "in"
10650
10650
  },
10651
10651
  "ReleasedApprover": {
10652
- "document": "解除协议的签署人,如不指定,默认使用待解除流程(原流程)中的签署人。</br>\n`注意`:\n - 不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该签署人。\n - 目前不支持替换C端(个人身份类型)签署人,但是可以指定C端签署人的签署方自定义控件别名,具体见参数ApproverSignRole描述。 \n - 当指定C端签署人的签署方自定义控件别名不空时,除参数ApproverNumber外,可以只传参数ApproverSignRole。\n\n如果需要指定B端(企业身份类型)签署人,其中ReleasedApprover需要传递的参数如下:\n`ApproverNumber`, `OrganizationName`, `ApproverType`必传。</br>\n对于其他身份标识:\n- **子客企业指定经办人**:OpenId必传,OrganizationOpenId必传;\n- **非子客企业经办人**:Name、Mobile必传。",
10652
+ "document": "解除协议的签署人,如不指定,默认使用待解除流程(原流程)中的签署人。</br>\n`注意`:\n - 不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该签署人。\n - 目前不支持替换C端(个人身份类型)签署人,但是可以指定C端签署人的签署方自定义控件别名,具体见参数ApproverSignRole描述。 \n - 当指定C端签署人的签署方自定义控件别名不空时,除参数ApproverNumber外,可以只传参数ApproverSignRole。\n\n如果需要指定B端(企业身份类型)签署人,其中ReleasedApprover需要传递的参数如下:\n(`ApproverNumber`, `ReleasedApproverRecipientId`这两个二选一), `OrganizationName`, `ApproverType`必传。</br>\n对于其他身份标识:\n- **子客企业指定经办人**:OpenId必传,OrganizationOpenId必传;\n- **非子客企业经办人**:Name、Mobile必传。",
10653
10653
  "members": [
10654
10654
  {
10655
10655
  "disabled": false,
@@ -10669,6 +10669,15 @@
10669
10669
  "required": true,
10670
10670
  "type": "string"
10671
10671
  },
10672
+ {
10673
+ "disabled": false,
10674
+ "document": "签署人在原合同中的RecipientId,可以通过<a href=\"https://qian.tencent.com/developers/partnerApis/flows/DescribeFlowDetailInfo\" target=\"_blank\">DescribeFlowDetailInfo</a>接口查看原流程中的签署人信息,可参考返回结构体<a href=\"https://qian.tencent.com/developers/partnerApis/dataTypes/#flowapproverdetail\" target=\"_blank\">FlowApproverDetail</a>中的RecipientId。\n**注意**:当指定了此参数后,ApproverNumber即失效,会以本参数作为原合同参与人的选取。与ApproverNumber二选一。",
10675
+ "example": "yDCb7UUckpwm3x62UEXHVn8B2hB9q8hT",
10676
+ "member": "string",
10677
+ "name": "ReleasedApproverRecipientId",
10678
+ "required": false,
10679
+ "type": "string"
10680
+ },
10672
10681
  {
10673
10682
  "disabled": false,
10674
10683
  "document": "签署人姓名,最大长度50个字。",
@@ -10749,6 +10758,15 @@
10749
10758
  "name": "ApproverSignRole",
10750
10759
  "required": false,
10751
10760
  "type": "string"
10761
+ },
10762
+ {
10763
+ "disabled": false,
10764
+ "document": "印章Id,签署控件类型为印章时,用于指定本企业签署方在解除协议中使用那个印章进行签署",
10765
+ "example": "无",
10766
+ "member": "string",
10767
+ "name": "ApproverSignSealId",
10768
+ "required": false,
10769
+ "type": "string"
10752
10770
  }
10753
10771
  ],
10754
10772
  "usage": "in"
@@ -676,7 +676,7 @@
676
676
  "type": "object"
677
677
  },
678
678
  "Message": {
679
- "document": "单条消息",
679
+ "document": "会话内容",
680
680
  "members": [
681
681
  {
682
682
  "disabled": false,
@@ -696,7 +696,7 @@
696
696
  "member": "string",
697
697
  "name": "Content",
698
698
  "output_required": false,
699
- "required": true,
699
+ "required": false,
700
700
  "type": "string",
701
701
  "value_allowed_null": false
702
702
  }