tccli 3.0.1211.1__py2.py3-none-any.whl → 3.0.1213.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 (61) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/asr/v20190614/api.json +1 -1
  3. tccli/services/captcha/v20190722/api.json +13 -3
  4. tccli/services/ccc/v20200210/api.json +2 -2
  5. tccli/services/cdb/v20170320/api.json +18 -0
  6. tccli/services/cfw/v20190904/api.json +68 -64
  7. tccli/services/cfw/v20190904/examples.json +22 -22
  8. tccli/services/ckafka/v20190819/api.json +12 -23
  9. tccli/services/cvm/v20170312/api.json +1 -1
  10. tccli/services/cwp/v20180228/api.json +144 -112
  11. tccli/services/cwp/v20180228/examples.json +55 -55
  12. tccli/services/cynosdb/v20190107/api.json +52 -41
  13. tccli/services/cynosdb/v20190107/examples.json +2 -2
  14. tccli/services/dbbrain/v20210527/api.json +2 -2
  15. tccli/services/dbbrain/v20210527/examples.json +1 -1
  16. tccli/services/ecdn/v20191012/api.json +2 -2
  17. tccli/services/ecdn/v20191012/examples.json +1 -1
  18. tccli/services/emr/v20190103/api.json +2 -2
  19. tccli/services/emr/v20190103/examples.json +1 -1
  20. tccli/services/ess/v20201111/api.json +19 -1
  21. tccli/services/ess/v20201111/examples.json +6 -0
  22. tccli/services/essbasic/v20210526/api.json +19 -1
  23. tccli/services/essbasic/v20210526/examples.json +6 -0
  24. tccli/services/faceid/v20180301/api.json +13 -9
  25. tccli/services/hunyuan/v20230901/api.json +1 -1
  26. tccli/services/lcic/v20220817/api.json +5 -5
  27. tccli/services/lcic/v20220817/examples.json +2 -2
  28. tccli/services/lighthouse/v20200324/api.json +6 -6
  29. tccli/services/lighthouse/v20200324/examples.json +1 -1
  30. tccli/services/monitor/v20180724/api.json +19 -0
  31. tccli/services/mqtt/v20240516/api.json +3 -3
  32. tccli/services/ocr/v20181119/api.json +1 -1
  33. tccli/services/rce/v20201103/api.json +10 -10
  34. tccli/services/rce/v20201103/examples.json +1 -1
  35. tccli/services/ses/v20201002/api.json +21 -21
  36. tccli/services/sms/v20190711/api.json +74 -74
  37. tccli/services/sms/v20190711/examples.json +12 -12
  38. tccli/services/sms/v20210111/api.json +73 -73
  39. tccli/services/sms/v20210111/examples.json +15 -15
  40. tccli/services/taf/v20200210/api.json +38 -1
  41. tccli/services/taf/v20200210/examples.json +1 -1
  42. tccli/services/tdmq/tdmq_client.py +53 -0
  43. tccli/services/tdmq/v20200217/api.json +180 -66
  44. tccli/services/tdmq/v20200217/examples.json +20 -12
  45. tccli/services/tke/v20180525/api.json +11 -1
  46. tccli/services/tke/v20180525/examples.json +1 -1
  47. tccli/services/trocket/v20230308/api.json +353 -274
  48. tccli/services/trocket/v20230308/examples.json +58 -64
  49. tccli/services/trtc/v20190722/api.json +20 -20
  50. tccli/services/vpc/v20170312/api.json +9 -9
  51. tccli/services/waf/v20180125/api.json +83 -1
  52. tccli/services/waf/v20180125/examples.json +9 -1
  53. tccli/services/waf/waf_client.py +57 -4
  54. tccli/services/wedata/v20210820/api.json +390 -0
  55. tccli/services/wedata/v20210820/examples.json +14 -0
  56. tccli/services/wedata/wedata_client.py +57 -4
  57. {tccli-3.0.1211.1.dist-info → tccli-3.0.1213.1.dist-info}/METADATA +2 -2
  58. {tccli-3.0.1211.1.dist-info → tccli-3.0.1213.1.dist-info}/RECORD +61 -61
  59. {tccli-3.0.1211.1.dist-info → tccli-3.0.1213.1.dist-info}/WHEEL +0 -0
  60. {tccli-3.0.1211.1.dist-info → tccli-3.0.1213.1.dist-info}/entry_points.txt +0 -0
  61. {tccli-3.0.1211.1.dist-info → tccli-3.0.1213.1.dist-info}/license_files/LICENSE +0 -0
@@ -805,6 +805,13 @@
805
805
  "output": "DescribeProjectResponse",
806
806
  "status": "online"
807
807
  },
808
+ "DescribeProjectUsers": {
809
+ "document": "获取项目下的用户,分页返回",
810
+ "input": "DescribeProjectUsersRequest",
811
+ "name": "获取项目下的用户列表",
812
+ "output": "DescribeProjectUsersResponse",
813
+ "status": "online"
814
+ },
808
815
  "DescribeQualityScore": {
809
816
  "document": "质量报告-质量评分",
810
817
  "input": "DescribeQualityScoreRequest",
@@ -16213,6 +16220,78 @@
16213
16220
  ],
16214
16221
  "type": "object"
16215
16222
  },
16223
+ "DescribeProjectUsersRequest": {
16224
+ "document": "DescribeProjectUsers请求参数结构体",
16225
+ "members": [
16226
+ {
16227
+ "disabled": false,
16228
+ "document": "分页号",
16229
+ "example": "0",
16230
+ "member": "uint64",
16231
+ "name": "PageNumber",
16232
+ "required": true,
16233
+ "type": "int"
16234
+ },
16235
+ {
16236
+ "disabled": false,
16237
+ "document": "分页大小",
16238
+ "example": "10",
16239
+ "member": "uint64",
16240
+ "name": "PageSize",
16241
+ "required": true,
16242
+ "type": "int"
16243
+ },
16244
+ {
16245
+ "disabled": false,
16246
+ "document": "【过滤参数】自定义条件查询",
16247
+ "example": "[]",
16248
+ "member": "FilterOptional",
16249
+ "name": "Filters",
16250
+ "required": false,
16251
+ "type": "list"
16252
+ },
16253
+ {
16254
+ "disabled": false,
16255
+ "document": "【排序参数】排序字段",
16256
+ "example": "[]",
16257
+ "member": "OrderFieldOptional",
16258
+ "name": "OrderFields",
16259
+ "required": false,
16260
+ "type": "list"
16261
+ },
16262
+ {
16263
+ "disabled": false,
16264
+ "document": "是否项目管理员",
16265
+ "example": "无",
16266
+ "member": "bool",
16267
+ "name": "IsProjectAdmin",
16268
+ "required": false,
16269
+ "type": "bool"
16270
+ }
16271
+ ],
16272
+ "type": "object"
16273
+ },
16274
+ "DescribeProjectUsersResponse": {
16275
+ "document": "DescribeProjectUsers返回参数结构体",
16276
+ "members": [
16277
+ {
16278
+ "disabled": false,
16279
+ "document": "项目列表",
16280
+ "example": "无",
16281
+ "member": "ProjectUsersPage",
16282
+ "name": "Data",
16283
+ "type": "object",
16284
+ "value_allowed_null": false
16285
+ },
16286
+ {
16287
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
16288
+ "member": "string",
16289
+ "name": "RequestId",
16290
+ "type": "string"
16291
+ }
16292
+ ],
16293
+ "type": "object"
16294
+ },
16216
16295
  "DescribeQualityScoreRequest": {
16217
16296
  "document": "DescribeQualityScore请求参数结构体",
16218
16297
  "members": [
@@ -31629,6 +31708,138 @@
31629
31708
  ],
31630
31709
  "usage": "in"
31631
31710
  },
31711
+ "ProjectUserRole": {
31712
+ "document": "项目的用户对象",
31713
+ "members": [
31714
+ {
31715
+ "disabled": false,
31716
+ "document": "用户角色对象\n注意:此字段可能返回 null,表示取不到有效值。",
31717
+ "example": "[]",
31718
+ "member": "SystemRole",
31719
+ "name": "Roles",
31720
+ "required": true,
31721
+ "type": "list",
31722
+ "value_allowed_null": true
31723
+ },
31724
+ {
31725
+ "disabled": false,
31726
+ "document": "mc\n注意:此字段可能返回 null,表示取不到有效值。",
31727
+ "example": "名称",
31728
+ "member": "string",
31729
+ "name": "UserName",
31730
+ "required": true,
31731
+ "type": "string",
31732
+ "value_allowed_null": true
31733
+ },
31734
+ {
31735
+ "disabled": false,
31736
+ "document": "用户id\n注意:此字段可能返回 null,表示取不到有效值。",
31737
+ "example": "1",
31738
+ "member": "string",
31739
+ "name": "UserId",
31740
+ "required": true,
31741
+ "type": "string",
31742
+ "value_allowed_null": true
31743
+ },
31744
+ {
31745
+ "disabled": false,
31746
+ "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
31747
+ "example": "1",
31748
+ "member": "string",
31749
+ "name": "CreateTime",
31750
+ "required": true,
31751
+ "type": "string",
31752
+ "value_allowed_null": true
31753
+ },
31754
+ {
31755
+ "disabled": false,
31756
+ "document": "是否创建者\n注意:此字段可能返回 null,表示取不到有效值。",
31757
+ "example": "true",
31758
+ "member": "bool",
31759
+ "name": "Creator",
31760
+ "required": true,
31761
+ "type": "bool",
31762
+ "value_allowed_null": true
31763
+ },
31764
+ {
31765
+ "disabled": false,
31766
+ "document": "显示名称\n注意:此字段可能返回 null,表示取不到有效值。",
31767
+ "example": "无",
31768
+ "member": "string",
31769
+ "name": "DisplayName",
31770
+ "required": false,
31771
+ "type": "string",
31772
+ "value_allowed_null": true
31773
+ },
31774
+ {
31775
+ "disabled": false,
31776
+ "document": "是否项目管理员\n注意:此字段可能返回 null,表示取不到有效值。",
31777
+ "example": "无",
31778
+ "member": "bool",
31779
+ "name": "IsProjectAdmin",
31780
+ "required": false,
31781
+ "type": "bool",
31782
+ "value_allowed_null": true
31783
+ }
31784
+ ],
31785
+ "usage": "out"
31786
+ },
31787
+ "ProjectUsersPage": {
31788
+ "document": "项目下的用户集合",
31789
+ "members": [
31790
+ {
31791
+ "disabled": false,
31792
+ "document": "用户集合\n注意:此字段可能返回 null,表示取不到有效值。",
31793
+ "example": "[]",
31794
+ "member": "ProjectUserRole",
31795
+ "name": "Rows",
31796
+ "required": true,
31797
+ "type": "list",
31798
+ "value_allowed_null": true
31799
+ },
31800
+ {
31801
+ "disabled": false,
31802
+ "document": "分页大小\n注意:此字段可能返回 null,表示取不到有效值。",
31803
+ "example": "10",
31804
+ "member": "uint64",
31805
+ "name": "PageSize",
31806
+ "required": true,
31807
+ "type": "int",
31808
+ "value_allowed_null": true
31809
+ },
31810
+ {
31811
+ "disabled": false,
31812
+ "document": "分页页码\n注意:此字段可能返回 null,表示取不到有效值。",
31813
+ "example": "0",
31814
+ "member": "uint64",
31815
+ "name": "PageNumber",
31816
+ "required": true,
31817
+ "type": "int",
31818
+ "value_allowed_null": true
31819
+ },
31820
+ {
31821
+ "disabled": false,
31822
+ "document": "总数量\n注意:此字段可能返回 null,表示取不到有效值。",
31823
+ "example": "1",
31824
+ "member": "uint64",
31825
+ "name": "TotalCount",
31826
+ "required": true,
31827
+ "type": "int",
31828
+ "value_allowed_null": true
31829
+ },
31830
+ {
31831
+ "disabled": false,
31832
+ "document": "总分页页码\n注意:此字段可能返回 null,表示取不到有效值。",
31833
+ "example": "1",
31834
+ "member": "uint64",
31835
+ "name": "TotalPageNumber",
31836
+ "required": true,
31837
+ "type": "int",
31838
+ "value_allowed_null": true
31839
+ }
31840
+ ],
31841
+ "usage": "out"
31842
+ },
31632
31843
  "Property": {
31633
31844
  "document": "dlc建表属性",
31634
31845
  "members": [
@@ -32629,6 +32840,89 @@
32629
32840
  ],
32630
32841
  "usage": "out"
32631
32842
  },
32843
+ "RolePrivilege": {
32844
+ "document": "角色权限对象",
32845
+ "members": [
32846
+ {
32847
+ "disabled": false,
32848
+ "document": "id\n注意:此字段可能返回 null,表示取不到有效值。",
32849
+ "example": "1",
32850
+ "member": "string",
32851
+ "name": "PrivilegeId",
32852
+ "output_required": true,
32853
+ "required": false,
32854
+ "type": "string",
32855
+ "value_allowed_null": true
32856
+ },
32857
+ {
32858
+ "disabled": false,
32859
+ "document": "名称\n注意:此字段可能返回 null,表示取不到有效值。",
32860
+ "example": "名称",
32861
+ "member": "string",
32862
+ "name": "PrivilegeName",
32863
+ "output_required": true,
32864
+ "required": false,
32865
+ "type": "string",
32866
+ "value_allowed_null": true
32867
+ },
32868
+ {
32869
+ "disabled": false,
32870
+ "document": "路径\n注意:此字段可能返回 null,表示取不到有效值。",
32871
+ "example": "路径",
32872
+ "member": "string",
32873
+ "name": "RestPath",
32874
+ "output_required": true,
32875
+ "required": false,
32876
+ "type": "string",
32877
+ "value_allowed_null": true
32878
+ },
32879
+ {
32880
+ "disabled": false,
32881
+ "document": "方法\n注意:此字段可能返回 null,表示取不到有效值。",
32882
+ "example": "方法",
32883
+ "member": "string",
32884
+ "name": "RestMethod",
32885
+ "output_required": true,
32886
+ "required": false,
32887
+ "type": "string",
32888
+ "value_allowed_null": true
32889
+ },
32890
+ {
32891
+ "disabled": false,
32892
+ "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。",
32893
+ "example": "描述",
32894
+ "member": "string",
32895
+ "name": "Description",
32896
+ "output_required": true,
32897
+ "required": false,
32898
+ "type": "string",
32899
+ "value_allowed_null": true
32900
+ },
32901
+ {
32902
+ "disabled": false,
32903
+ "document": "模块id\n注意:此字段可能返回 null,表示取不到有效值。",
32904
+ "example": "模块id",
32905
+ "member": "string",
32906
+ "name": "ModuleId",
32907
+ "output_required": false,
32908
+ "required": false,
32909
+ "type": "string",
32910
+ "value_allowed_null": true
32911
+ },
32912
+ {
32913
+ "disabled": false,
32914
+ "document": "权限类型 N、R、RW、RWD\n注意:此字段可能返回 null,表示取不到有效值。",
32915
+ "example": "RWD",
32916
+ "member": "string",
32917
+ "name": "Type",
32918
+ "output_required": false,
32919
+ "required": false,
32920
+ "type": "string",
32921
+ "value_allowed_null": true
32922
+ }
32923
+ ],
32924
+ "usage": "both"
32925
+ },
32632
32926
  "Rule": {
32633
32927
  "document": "数据质量规则",
32634
32928
  "members": [
@@ -38159,6 +38453,102 @@
38159
38453
  ],
38160
38454
  "type": "object"
38161
38455
  },
38456
+ "SystemRole": {
38457
+ "document": "角色对象",
38458
+ "members": [
38459
+ {
38460
+ "disabled": false,
38461
+ "document": "角色id",
38462
+ "example": "1",
38463
+ "member": "string",
38464
+ "name": "RoleId",
38465
+ "required": true,
38466
+ "type": "string",
38467
+ "value_allowed_null": false
38468
+ },
38469
+ {
38470
+ "disabled": false,
38471
+ "document": "角色名称\n注意:此字段可能返回 null,表示取不到有效值。",
38472
+ "example": "Name",
38473
+ "member": "string",
38474
+ "name": "Name",
38475
+ "required": true,
38476
+ "type": "string",
38477
+ "value_allowed_null": true
38478
+ },
38479
+ {
38480
+ "disabled": false,
38481
+ "document": "角色昵称\n注意:此字段可能返回 null,表示取不到有效值。",
38482
+ "example": "Name",
38483
+ "member": "string",
38484
+ "name": "NameCn",
38485
+ "required": true,
38486
+ "type": "string",
38487
+ "value_allowed_null": true
38488
+ },
38489
+ {
38490
+ "disabled": false,
38491
+ "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。",
38492
+ "example": "描述",
38493
+ "member": "string",
38494
+ "name": "Description",
38495
+ "required": true,
38496
+ "type": "string",
38497
+ "value_allowed_null": true
38498
+ },
38499
+ {
38500
+ "disabled": false,
38501
+ "document": "角色权限\n注意:此字段可能返回 null,表示取不到有效值。",
38502
+ "example": "[]",
38503
+ "member": "RolePrivilege",
38504
+ "name": "Privileges",
38505
+ "required": true,
38506
+ "type": "list",
38507
+ "value_allowed_null": true
38508
+ },
38509
+ {
38510
+ "disabled": false,
38511
+ "document": "方法路径\n注意:此字段可能返回 null,表示取不到有效值。",
38512
+ "example": "[]",
38513
+ "member": "string",
38514
+ "name": "MethodPaths",
38515
+ "required": true,
38516
+ "type": "list",
38517
+ "value_allowed_null": true
38518
+ },
38519
+ {
38520
+ "disabled": false,
38521
+ "document": "角色类型, 分为System,Tenant,Project,Commercial\n注意:此字段可能返回 null,表示取不到有效值。",
38522
+ "example": "无",
38523
+ "member": "string",
38524
+ "name": "RoleType",
38525
+ "required": false,
38526
+ "type": "string",
38527
+ "value_allowed_null": true
38528
+ },
38529
+ {
38530
+ "disabled": false,
38531
+ "document": "是否系统默认\n注意:此字段可能返回 null,表示取不到有效值。",
38532
+ "example": "无",
38533
+ "member": "bool",
38534
+ "name": "SystemInit",
38535
+ "required": false,
38536
+ "type": "bool",
38537
+ "value_allowed_null": true
38538
+ },
38539
+ {
38540
+ "disabled": false,
38541
+ "document": "自定义参数\n注意:此字段可能返回 null,表示取不到有效值。",
38542
+ "example": "无",
38543
+ "member": "string",
38544
+ "name": "Params",
38545
+ "required": false,
38546
+ "type": "string",
38547
+ "value_allowed_null": true
38548
+ }
38549
+ ],
38550
+ "usage": "out"
38551
+ },
38162
38552
  "Table": {
38163
38553
  "document": "Table",
38164
38554
  "members": [
@@ -1004,6 +1004,20 @@
1004
1004
  "title": "describe project with params"
1005
1005
  }
1006
1006
  ],
1007
+ "DescribeProjectUsers": [
1008
+ {
1009
+ "document": "查询项目下用户",
1010
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectUsers\n<公共请求参数>\n\n{\n \"PageNumber\": \"0\",\n \"PageSize\": \"10\"\n}",
1011
+ "output": "{\n \"Response\": {\n \"RequestId\": \"f59ff4b5-6999-484a-a7e2-960605d68333\",\n \"Data\": {\n \"Rows\": [\n {\n \"UserId\": \"100006908545\",\n \"UserName\": \"3193772711_WeData\",\n \"DisplayName\": \"3193772711_WeData\",\n \"Roles\": [\n {\n \"RoleId\": \"308335260274237440\",\n \"Name\": null,\n \"NameCn\": \"空间管理员\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260676890624\",\n \"Name\": null,\n \"NameCn\": \"数据科学家\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260844662784\",\n \"Name\": null,\n \"NameCn\": \"运维工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260945326080\",\n \"Name\": null,\n \"NameCn\": \"访客\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n }\n ],\n \"CreateTime\": \"2021-06-16 16:44:51\",\n \"Creator\": true\n },\n {\n \"UserId\": \"100015684538\",\n \"UserName\": \"zhiqinzhang\",\n \"DisplayName\": \"zhiqinzhang\",\n \"Roles\": [\n {\n \"RoleId\": \"308335260676890624\",\n \"Name\": null,\n \"NameCn\": \"数据科学家\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n }\n ],\n \"CreateTime\": \"2021-07-29 15:15:41\",\n \"Creator\": false\n }\n ],\n \"PageNumber\": 0,\n \"PageSize\": 10,\n \"TotalCount\": 7,\n \"TotalPageNumber\": 0\n }\n }\n}",
1012
+ "title": "成功示例2"
1013
+ },
1014
+ {
1015
+ "document": "查询项目下所有用户",
1016
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectUsers\n<公共请求参数>\n\n{\n \"PageNumber\": \"1\",\n \"OrderFields\": [\n {\n \"Direction\": \"DESC\",\n \"Name\": \"CreateTime\"\n }\n ],\n \"PageSize\": \"10\",\n \"Filters\": [\n {\n \"Values\": [\n \"\"\n ],\n \"Name\": \"DisplayName\"\n }\n ]\n}",
1017
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4c659efc-0372-4e3d-a484-0476b564420d\",\n \"Data\": {\n \"Rows\": [\n {\n \"UserId\": \"100013890962\",\n \"UserName\": \"\",\n \"DisplayName\": \"sundyang\",\n \"Roles\": [\n {\n \"RoleId\": \"308335260676890624\",\n \"Name\": null,\n \"NameCn\": \"数据工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n }\n ],\n \"CreateTime\": \"2021-07-29 15:14:54\",\n \"Creator\": false\n },\n {\n \"UserId\": \"100020026287\",\n \"UserName\": \"\",\n \"DisplayName\": \"v_huangaluo\",\n \"Roles\": [\n {\n \"RoleId\": \"308335260274237440\",\n \"Name\": null,\n \"NameCn\": \"项目管理员\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260676890624\",\n \"Name\": null,\n \"NameCn\": \"数据工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260844662784\",\n \"Name\": null,\n \"NameCn\": \"运维工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260945326080\",\n \"Name\": null,\n \"NameCn\": \"访客\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n }\n ],\n \"CreateTime\": \"2021-07-09 15:20:22\",\n \"Creator\": false\n },\n {\n \"UserId\": \"100019904305\",\n \"UserName\": \"\",\n \"DisplayName\": \"kuanliu\",\n \"Roles\": [\n {\n \"RoleId\": \"308335260274237440\",\n \"Name\": null,\n \"NameCn\": \"项目管理员\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260676890624\",\n \"Name\": null,\n \"NameCn\": \"数据工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260844662784\",\n \"Name\": null,\n \"NameCn\": \"运维工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260945326080\",\n \"Name\": null,\n \"NameCn\": \"访客\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n }\n ],\n \"CreateTime\": \"2021-07-09 15:20:22\",\n \"Creator\": false\n }\n ],\n \"PageNumber\": 0,\n \"PageSize\": 10,\n \"TotalCount\": 3,\n \"TotalPageNumber\": 0\n }\n }\n}",
1018
+ "title": "成功示例-filter"
1019
+ }
1020
+ ],
1007
1021
  "DescribeQualityScore": [
1008
1022
  {
1009
1023
  "document": "查询质量评分",
@@ -10053,7 +10053,7 @@ def doUploadContent(args, parsed_globals):
10053
10053
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
10054
10054
 
10055
10055
 
10056
- def doModifyTaskAlarmRegular(args, parsed_globals):
10056
+ def doDescribeProjectUsers(args, parsed_globals):
10057
10057
  g_param = parse_global_arg(parsed_globals)
10058
10058
 
10059
10059
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -10082,11 +10082,11 @@ def doModifyTaskAlarmRegular(args, parsed_globals):
10082
10082
  client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
10083
10083
  client._sdkVersion += ("_CLI_" + __version__)
10084
10084
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
10085
- model = models.ModifyTaskAlarmRegularRequest()
10085
+ model = models.DescribeProjectUsersRequest()
10086
10086
  model.from_json_string(json.dumps(args))
10087
10087
  start_time = time.time()
10088
10088
  while True:
10089
- rsp = client.ModifyTaskAlarmRegular(model)
10089
+ rsp = client.DescribeProjectUsers(model)
10090
10090
  result = rsp.to_json_string()
10091
10091
  try:
10092
10092
  json_obj = json.loads(result)
@@ -11041,6 +11041,58 @@ def doCreateTaskFolder(args, parsed_globals):
11041
11041
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
11042
11042
 
11043
11043
 
11044
+ def doModifyTaskAlarmRegular(args, parsed_globals):
11045
+ g_param = parse_global_arg(parsed_globals)
11046
+
11047
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
11048
+ cred = credential.CVMRoleCredential()
11049
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
11050
+ cred = credential.STSAssumeRoleCredential(
11051
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
11052
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
11053
+ )
11054
+ 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):
11055
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
11056
+ else:
11057
+ cred = credential.Credential(
11058
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
11059
+ )
11060
+ http_profile = HttpProfile(
11061
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
11062
+ reqMethod="POST",
11063
+ endpoint=g_param[OptionsDefine.Endpoint],
11064
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
11065
+ )
11066
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
11067
+ if g_param[OptionsDefine.Language]:
11068
+ profile.language = g_param[OptionsDefine.Language]
11069
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
11070
+ client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
11071
+ client._sdkVersion += ("_CLI_" + __version__)
11072
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
11073
+ model = models.ModifyTaskAlarmRegularRequest()
11074
+ model.from_json_string(json.dumps(args))
11075
+ start_time = time.time()
11076
+ while True:
11077
+ rsp = client.ModifyTaskAlarmRegular(model)
11078
+ result = rsp.to_json_string()
11079
+ try:
11080
+ json_obj = json.loads(result)
11081
+ except TypeError as e:
11082
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
11083
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
11084
+ break
11085
+ cur_time = time.time()
11086
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
11087
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
11088
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
11089
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
11090
+ else:
11091
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
11092
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
11093
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
11094
+
11095
+
11044
11096
  def doBatchStopWorkflowsByIds(args, parsed_globals):
11045
11097
  g_param = parse_global_arg(parsed_globals)
11046
11098
 
@@ -12337,7 +12389,7 @@ ACTION_MAP = {
12337
12389
  "DescribeTaskAlarmRegulations": doDescribeTaskAlarmRegulations,
12338
12390
  "DescribeIntegrationVersionNodesInfo": doDescribeIntegrationVersionNodesInfo,
12339
12391
  "UploadContent": doUploadContent,
12340
- "ModifyTaskAlarmRegular": doModifyTaskAlarmRegular,
12392
+ "DescribeProjectUsers": doDescribeProjectUsers,
12341
12393
  "DescribeWorkflowSchedulerInfoDs": doDescribeWorkflowSchedulerInfoDs,
12342
12394
  "DeleteCustomFunction": doDeleteCustomFunction,
12343
12395
  "DescribeFolderWorkflowList": doDescribeFolderWorkflowList,
@@ -12356,6 +12408,7 @@ ACTION_MAP = {
12356
12408
  "DescribeRealTimeTaskInstanceNodeInfo": doDescribeRealTimeTaskInstanceNodeInfo,
12357
12409
  "ModifyDimensionWeight": doModifyDimensionWeight,
12358
12410
  "CreateTaskFolder": doCreateTaskFolder,
12411
+ "ModifyTaskAlarmRegular": doModifyTaskAlarmRegular,
12359
12412
  "BatchStopWorkflowsByIds": doBatchStopWorkflowsByIds,
12360
12413
  "BatchResumeIntegrationTasks": doBatchResumeIntegrationTasks,
12361
12414
  "SetTaskAlarmNew": doSetTaskAlarmNew,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1211.1
3
+ Version: 3.0.1213.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1211
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1213
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介