tccli 3.0.1283.1__py2.py3-none-any.whl → 3.0.1285.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 (104) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/acp/v20220105/api.json +23 -23
  3. tccli/services/acp/v20220105/examples.json +2 -8
  4. tccli/services/advisor/v20200721/api.json +4 -2
  5. tccli/services/apm/v20210622/api.json +1 -1
  6. tccli/services/autoscaling/v20180419/api.json +88 -86
  7. tccli/services/bh/bh_client.py +53 -0
  8. tccli/services/bh/v20230418/api.json +199 -0
  9. tccli/services/bh/v20230418/examples.json +8 -0
  10. tccli/services/cdn/v20180606/api.json +4 -2
  11. tccli/services/cdwch/v20200915/api.json +19 -9
  12. tccli/services/cdwch/v20200915/examples.json +1 -1
  13. tccli/services/cdwdoris/v20211228/api.json +18 -0
  14. tccli/services/cfg/v20210820/api.json +48 -24
  15. tccli/services/cfg/v20210820/examples.json +8 -2
  16. tccli/services/clb/v20180317/api.json +21 -3
  17. tccli/services/cmq/v20190304/api.json +92 -92
  18. tccli/services/cynosdb/v20190107/api.json +389 -379
  19. tccli/services/dbbrain/v20191016/api.json +17 -17
  20. tccli/services/dbbrain/v20210527/api.json +22 -22
  21. tccli/services/dcdb/v20180411/api.json +14 -4
  22. tccli/services/dcdb/v20180411/examples.json +1 -1
  23. tccli/services/dlc/v20210125/api.json +130 -58
  24. tccli/services/dlc/v20210125/examples.json +5 -5
  25. tccli/services/domain/v20180808/api.json +160 -160
  26. tccli/services/dsgc/v20190723/api.json +2 -2
  27. tccli/services/dts/v20180330/api.json +19 -19
  28. tccli/services/dts/v20211206/api.json +829 -818
  29. tccli/services/emr/emr_client.py +53 -0
  30. tccli/services/emr/v20190103/api.json +247 -0
  31. tccli/services/emr/v20190103/examples.json +8 -0
  32. tccli/services/es/v20180416/api.json +13 -3
  33. tccli/services/es/v20180416/examples.json +2 -2
  34. tccli/services/ess/ess_client.py +53 -0
  35. tccli/services/ess/v20201111/api.json +122 -1
  36. tccli/services/ess/v20201111/examples.json +26 -0
  37. tccli/services/essbasic/essbasic_client.py +57 -4
  38. tccli/services/essbasic/v20210526/api.json +163 -0
  39. tccli/services/essbasic/v20210526/examples.json +26 -0
  40. tccli/services/fmu/fmu_client.py +8 -167
  41. tccli/services/fmu/v20191213/api.json +0 -292
  42. tccli/services/fmu/v20191213/examples.json +0 -24
  43. tccli/services/goosefs/v20220519/api.json +26 -24
  44. tccli/services/goosefs/v20220519/examples.json +2 -2
  45. tccli/services/iotcloud/v20210408/api.json +27 -27
  46. tccli/services/iotcloud/v20210408/examples.json +6 -6
  47. tccli/services/iotexplorer/iotexplorer_client.py +0 -106
  48. tccli/services/iotexplorer/v20190423/api.json +0 -274
  49. tccli/services/iotexplorer/v20190423/examples.json +0 -16
  50. tccli/services/iss/v20230517/api.json +547 -537
  51. tccli/services/iss/v20230517/examples.json +2 -2
  52. tccli/services/kms/v20190118/api.json +20 -0
  53. tccli/services/lcic/lcic_client.py +114 -8
  54. tccli/services/lcic/v20220817/api.json +108 -0
  55. tccli/services/lcic/v20220817/examples.json +16 -0
  56. tccli/services/lke/v20231130/api.json +8 -8
  57. tccli/services/lke/v20231130/examples.json +1 -1
  58. tccli/services/lowcode/v20210108/api.json +165 -165
  59. tccli/services/lowcode/v20210108/examples.json +5 -5
  60. tccli/services/mariadb/v20170312/api.json +12 -2
  61. tccli/services/mariadb/v20170312/examples.json +4 -4
  62. tccli/services/mongodb/mongodb_client.py +57 -4
  63. tccli/services/mongodb/v20190725/api.json +63 -0
  64. tccli/services/mongodb/v20190725/examples.json +14 -0
  65. tccli/services/monitor/v20180724/api.json +36 -36
  66. tccli/services/monitor/v20180724/examples.json +10 -10
  67. tccli/services/ocr/v20181119/api.json +2 -2
  68. tccli/services/ocr/v20181119/examples.json +2 -2
  69. tccli/services/organization/organization_client.py +53 -0
  70. tccli/services/organization/v20210331/api.json +61 -0
  71. tccli/services/organization/v20210331/examples.json +8 -0
  72. tccli/services/redis/v20180412/api.json +11 -2
  73. tccli/services/redis/v20180412/examples.json +1 -1
  74. tccli/services/scf/v20180416/api.json +40 -0
  75. tccli/services/svp/svp_client.py +57 -4
  76. tccli/services/svp/v20240125/api.json +319 -0
  77. tccli/services/svp/v20240125/examples.json +8 -0
  78. tccli/services/tdmq/tdmq_client.py +4 -57
  79. tccli/services/tdmq/v20200217/api.json +118 -212
  80. tccli/services/tdmq/v20200217/examples.json +0 -8
  81. tccli/services/tds/v20220801/api.json +2 -2
  82. tccli/services/tione/v20211111/api.json +41 -1
  83. tccli/services/trtc/v20190722/api.json +16 -5
  84. tccli/services/tse/v20201207/api.json +207 -104
  85. tccli/services/tsf/tsf_client.py +53 -0
  86. tccli/services/tsf/v20180326/api.json +48 -4
  87. tccli/services/tsf/v20180326/examples.json +8 -0
  88. tccli/services/vclm/v20240523/api.json +20 -2
  89. tccli/services/vdb/v20230616/api.json +62 -62
  90. tccli/services/vdb/v20230616/examples.json +2 -2
  91. tccli/services/vpc/v20170312/api.json +54 -0
  92. tccli/services/vpc/v20170312/examples.json +8 -0
  93. tccli/services/vpc/vpc_client.py +53 -0
  94. tccli/services/waf/v20180125/api.json +143 -0
  95. tccli/services/waf/v20180125/examples.json +16 -0
  96. tccli/services/waf/waf_client.py +106 -0
  97. tccli/services/wedata/v20210820/api.json +1220 -5
  98. tccli/services/wedata/v20210820/examples.json +32 -8
  99. tccli/services/wedata/wedata_client.py +159 -0
  100. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/METADATA +2 -2
  101. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/RECORD +104 -104
  102. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/WHEEL +0 -0
  103. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/entry_points.txt +0 -0
  104. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/license_files/LICENSE +0 -0
@@ -315,14 +315,14 @@
315
315
  "members": [
316
316
  {
317
317
  "disabled": false,
318
- "document": "到期时间\n注意:此字段可能返回 null,表示取不到有效值。",
318
+ "document": "到期时间",
319
319
  "example": "2024-01-01 00:00:00",
320
320
  "member": "string",
321
321
  "name": "CurDeadline",
322
322
  "output_required": false,
323
323
  "required": false,
324
324
  "type": "string",
325
- "value_allowed_null": true
325
+ "value_allowed_null": false
326
326
  },
327
327
  {
328
328
  "disabled": false,
@@ -337,25 +337,25 @@
337
337
  },
338
338
  {
339
339
  "disabled": false,
340
- "document": "自动付费标识:0:默认未设置 1:自动续费 2 不自动续费\n注意:此字段可能返回 null,表示取不到有效值。",
340
+ "document": "自动付费标识:0:默认未设置 1:自动续费 2 不自动续费",
341
341
  "example": "0",
342
342
  "member": "int64",
343
343
  "name": "AutoRenewFlag",
344
344
  "output_required": false,
345
345
  "required": false,
346
346
  "type": "int",
347
- "value_allowed_null": true
347
+ "value_allowed_null": false
348
348
  },
349
349
  {
350
350
  "disabled": false,
351
- "document": "资源ID\n注意:此字段可能返回 null,表示取不到有效值。",
351
+ "document": "资源ID",
352
352
  "example": "100026787145_sp_cdls_goosefs_1716879810",
353
353
  "member": "string",
354
354
  "name": "ResourceId",
355
355
  "output_required": false,
356
356
  "required": false,
357
357
  "type": "string",
358
- "value_allowed_null": true
358
+ "value_allowed_null": false
359
359
  }
360
360
  ],
361
361
  "usage": "both"
@@ -461,13 +461,13 @@
461
461
  },
462
462
  {
463
463
  "disabled": false,
464
- "document": "自定义挂载点\n注意:此字段可能返回 null,表示取不到有效值。",
464
+ "document": "自定义挂载点",
465
465
  "example": "/test",
466
466
  "member": "string",
467
467
  "name": "MountPoint",
468
468
  "output_required": false,
469
469
  "type": "string",
470
- "value_allowed_null": true
470
+ "value_allowed_null": false
471
471
  }
472
472
  ],
473
473
  "usage": "out"
@@ -1138,7 +1138,7 @@
1138
1138
  "example": "无",
1139
1139
  "member": "FSAttribute",
1140
1140
  "name": "FSAttributeList",
1141
- "required": true,
1141
+ "output_required": true,
1142
1142
  "type": "list",
1143
1143
  "value_allowed_null": false
1144
1144
  },
@@ -1148,7 +1148,7 @@
1148
1148
  "example": "30",
1149
1149
  "member": "uint64",
1150
1150
  "name": "TotalCount",
1151
- "required": true,
1151
+ "output_required": true,
1152
1152
  "type": "int",
1153
1153
  "value_allowed_null": false
1154
1154
  },
@@ -1546,25 +1546,25 @@
1546
1546
  },
1547
1547
  {
1548
1548
  "disabled": false,
1549
- "document": "绑定bucket的数据流动策略ID\n注意:此字段可能返回 null,表示取不到有效值。",
1549
+ "document": "绑定bucket的数据流动策略ID",
1550
1550
  "example": "x-rule-1",
1551
1551
  "member": "string",
1552
1552
  "name": "RuleId",
1553
1553
  "output_required": true,
1554
1554
  "required": false,
1555
1555
  "type": "string",
1556
- "value_allowed_null": true
1556
+ "value_allowed_null": false
1557
1557
  },
1558
1558
  {
1559
1559
  "disabled": false,
1560
- "document": "规则备注与描述\n注意:此字段可能返回 null,表示取不到有效值。",
1560
+ "document": "规则备注与描述",
1561
1561
  "example": "this rule is for picture bucket",
1562
1562
  "member": "string",
1563
1563
  "name": "RuleDescription",
1564
1564
  "output_required": true,
1565
1565
  "required": false,
1566
1566
  "type": "string",
1567
- "value_allowed_null": true
1567
+ "value_allowed_null": false
1568
1568
  },
1569
1569
  {
1570
1570
  "disabled": false,
@@ -1579,36 +1579,36 @@
1579
1579
  },
1580
1580
  {
1581
1581
  "disabled": false,
1582
- "document": "是否使用全球加速域名\n注意:此字段可能返回 null,表示取不到有效值。",
1582
+ "document": "是否使用全球加速域名",
1583
1583
  "example": "false",
1584
1584
  "member": "bool",
1585
1585
  "name": "AccelerateFlag",
1586
1586
  "output_required": false,
1587
1587
  "required": false,
1588
1588
  "type": "bool",
1589
- "value_allowed_null": true
1589
+ "value_allowed_null": false
1590
1590
  },
1591
1591
  {
1592
1592
  "disabled": false,
1593
- "document": "桶所在的园区\n注意:此字段可能返回 null,表示取不到有效值。",
1593
+ "document": "桶所在的园区",
1594
1594
  "example": "ap-shanghai",
1595
1595
  "member": "string",
1596
1596
  "name": "BucketRegion",
1597
1597
  "output_required": false,
1598
1598
  "required": false,
1599
1599
  "type": "string",
1600
- "value_allowed_null": true
1600
+ "value_allowed_null": false
1601
1601
  },
1602
1602
  {
1603
1603
  "disabled": false,
1604
- "document": "自定义Endpoint\n注意:此字段可能返回 null,表示取不到有效值。",
1604
+ "document": "自定义Endpoint",
1605
1605
  "example": "172.0.1.16",
1606
1606
  "member": "string",
1607
1607
  "name": "Endpoint",
1608
1608
  "output_required": false,
1609
1609
  "required": false,
1610
1610
  "type": "string",
1611
- "value_allowed_null": true
1611
+ "value_allowed_null": false
1612
1612
  }
1613
1613
  ],
1614
1614
  "usage": "both"
@@ -1770,23 +1770,25 @@
1770
1770
  "members": [
1771
1771
  {
1772
1772
  "disabled": false,
1773
- "document": "vpc id\n注意:此字段可能返回 null,表示取不到有效值。",
1773
+ "document": "vpc id",
1774
1774
  "example": "vpc-a1b2c3d4",
1775
1775
  "member": "string",
1776
1776
  "name": "VpcId",
1777
+ "output_required": true,
1777
1778
  "required": true,
1778
1779
  "type": "string",
1779
- "value_allowed_null": true
1780
+ "value_allowed_null": false
1780
1781
  },
1781
1782
  {
1782
1783
  "disabled": false,
1783
- "document": "子网ID\n注意:此字段可能返回 null,表示取不到有效值。",
1784
+ "document": "子网ID",
1784
1785
  "example": "subnet-a1b2c3d4",
1785
1786
  "member": "string",
1786
1787
  "name": "SubnetId",
1788
+ "output_required": true,
1787
1789
  "required": false,
1788
1790
  "type": "string",
1789
- "value_allowed_null": true
1791
+ "value_allowed_null": false
1790
1792
  }
1791
1793
  ],
1792
1794
  "usage": "both"
@@ -115,8 +115,8 @@
115
115
  "DescribeFileSystems": [
116
116
  {
117
117
  "document": "列出所有的文件系统",
118
- "input": "POST / HTTP/1.1\nHost: goosefs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFileSystems\n<公共请求参数>\n\n{\n \"Limit\": \"20\",\n \"Offset\": \"0\"\n}",
119
- "output": "{\n \"Response\": {\n \"FSAttributeList\": [\n {\n \"FileSystemId\": \"x_c60_r3c4fa1f\",\n \"Name\": \"MyTestFS\",\n \"Status\": \"alive\",\n \"Type\": \"goosefsx\",\n \"VpcId\": \"vpc-123\",\n \"SubnetId\": \"subnet-123\",\n \"Zone\": \"ap-guangzhou-3\",\n \"Description\": \"my test fs\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"ModifyTime\": \"2020-09-22T00:00:00+00:00\",\n \"Tag\": [\n {\n \"Value\": \"production\",\n \"Key\": \"env\"\n }\n ],\n \"GooseFSxAttribute\": {\n \"Model\": \"C60\",\n \"Capacity\": 4608,\n \"MappedBucketList\": [\n {\n \"BucketName\": \"mybucket-12500000\",\n \"FileSystemPath\": \"/\"\n }\n ],\n \"ClientManagerNodeList\": [\n {\n \"NodeInstanceId\": \"ins-a1b2c3\",\n \"NodeIp\": \"10.0.1.1\",\n \"InitialPassword\": \"a1b2c3d4\"\n },\n {\n \"NodeInstanceId\": \"ins-d4f5g6\",\n \"NodeIp\": \"10.0.1.2\",\n \"InitialPassword\": \"a1b2c3d4\"\n },\n {\n \"NodeInstanceId\": \"ins-h7i8j9\",\n \"NodeIp\": \"10.0.1.3\",\n \"InitialPassword\": \"a1b2c3d4\"\n }\n ]\n }\n }\n ],\n \"TotalCount\": 30,\n \"RequestId\": \"b3caa32f-5e39-4360-91e4-5724369b78a6\"\n }\n}",
118
+ "input": "POST / HTTP/1.1\nHost: goosefs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFileSystems\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10\n}",
119
+ "output": "{\n \"Response\": {\n \"FSAttributeList\": [\n {\n \"ChargeAttribute\": {\n \"PayMode\": \"postPay\"\n },\n \"CreateTime\": \"2025-03-06T20:25:17+08:00\",\n \"Description\": \"性能\",\n \"FileSystemId\": \"x-c50-6zgr1g24\",\n \"GooseFSxAttribute\": {\n \"Capacity\": 9216,\n \"ClientManagerNodeList\": [\n {\n \"InitialPassword\": \"wcewcffevvrvvrvgr\",\n \"NodeInstanceId\": \"ins-3nryi8i7\",\n \"NodeIp\": \"10.0.0.10\"\n },\n {\n \"InitialPassword\": \"wcewcffevvrvvrvgr\",\n \"NodeInstanceId\": \"ins-h84056df\",\n \"NodeIp\": \"10.0.0.11\"\n },\n {\n \"InitialPassword\": \"wcewcffevvrvvrvgr\",\n \"NodeInstanceId\": \"ins-0voabq4p\",\n \"NodeIp\": \"10.0.0.12\"\n }\n ],\n \"MappedBucketList\": [],\n \"Model\": \"C50\"\n },\n \"ModifyTime\": \"2025-03-06T20:39:10+08:00\",\n \"Name\": \"性能\",\n \"Status\": \"ACTIVE\",\n \"SubnetId\": \"subnet-c4cdynlr\",\n \"Tag\": [],\n \"Type\": \"goosefsx\",\n \"VpcId\": \"vpc-lc0aecbo\",\n \"Zone\": \"ap-beijing-7\"\n },\n {\n \"ChargeAttribute\": {\n \"PayMode\": \"postPay\"\n },\n \"CreateTime\": \"2025-03-05T17:12:03+08:00\",\n \"Description\": \"s6C50\",\n \"FileSystemId\": \"x-c50-q51r4u2f\",\n \"GooseFSxAttribute\": {\n \"Capacity\": 9216,\n \"ClientManagerNodeList\": [\n {\n \"InitialPassword\": \"wcewcffevvrvvrvgr\",\n \"NodeInstanceId\": \"ins-1z4swav5\",\n \"NodeIp\": \"10.0.0.1\"\n },\n {\n \"InitialPassword\": \"wcewcffevvrvvrvgr\",\n \"NodeInstanceId\": \"ins-6dzh6vd3\",\n \"NodeIp\": \"10.0.0.11\"\n },\n {\n \"InitialPassword\": \"wcewcffevvrvvrvgr\",\n \"NodeInstanceId\": \"ins-70nmym9x\",\n \"NodeIp\": \"10.0.0.12\"\n }\n ],\n \"MappedBucketList\": [],\n \"Model\": \"C50\"\n },\n \"ModifyTime\": \"2025-03-05T17:26:16+08:00\",\n \"Name\": \"s6C50\",\n \"Status\": \"ACTIVE\",\n \"SubnetId\": \"subnet-c4cdynlr\",\n \"Tag\": [],\n \"Type\": \"goosefsx\",\n \"VpcId\": \"vpc-lc0aecbo\",\n \"Zone\": \"ap-beijing-7\"\n }\n ],\n \"RequestId\": \"7066c1c9-5b5d-494c-8116-1c6f533ee2f6\",\n \"TotalCount\": 2\n }\n}",
120
120
  "title": "罗列文件系统"
121
121
  }
122
122
  ],
@@ -148,9 +148,9 @@
148
148
  "status": "online"
149
149
  },
150
150
  "DescribeDeviceShadow": {
151
- "document": "本接口(DescribeDeviceShadow)用于查询虚拟设备信息。 ",
151
+ "document": "本接口(DescribeDeviceShadow)用于查询虚拟设备信息。",
152
152
  "input": "DescribeDeviceShadowRequest",
153
- "name": "获取设备影子",
153
+ "name": "获取设备影子(旧)",
154
154
  "output": "DescribeDeviceShadowResponse",
155
155
  "status": "online"
156
156
  },
@@ -1296,7 +1296,7 @@
1296
1296
  {
1297
1297
  "disabled": false,
1298
1298
  "document": "文件上传类型时文件md5值",
1299
- "example": "",
1299
+ "example": "bda2cc64487b0db7f53d689bccabde2d",
1300
1300
  "member": "string",
1301
1301
  "name": "Hash",
1302
1302
  "required": false,
@@ -2322,7 +2322,7 @@
2322
2322
  {
2323
2323
  "disabled": false,
2324
2324
  "document": "产品 ID",
2325
- "example": "ABCDE12345",
2325
+ "example": "EQPOKD5111",
2326
2326
  "member": "string",
2327
2327
  "name": "ProductId",
2328
2328
  "required": true,
@@ -2331,7 +2331,7 @@
2331
2331
  {
2332
2332
  "disabled": false,
2333
2333
  "document": "设备名称。命名规则:[a-zA-Z0-9:_-]{1,60}",
2334
- "example": "abc",
2334
+ "example": "dev-001",
2335
2335
  "member": "string",
2336
2336
  "name": "DeviceName",
2337
2337
  "required": true,
@@ -2349,7 +2349,7 @@
2349
2349
  "example": "{\"payload\":{\"state\": {\"reported\": { \"color\": \"red\"}}, \"timestamp",
2350
2350
  "member": "string",
2351
2351
  "name": "Data",
2352
- "required": true,
2352
+ "output_required": true,
2353
2353
  "type": "string",
2354
2354
  "value_allowed_null": false
2355
2355
  },
@@ -2951,7 +2951,7 @@
2951
2951
  {
2952
2952
  "disabled": false,
2953
2953
  "document": "搜索过滤条件",
2954
- "example": "",
2954
+ "example": "{\"Values\": [\"\\u672a\\u547d\\u540d\"], \"Name\": \"instance-name\"}",
2955
2955
  "member": "SearchKeyword",
2956
2956
  "name": "Filters",
2957
2957
  "required": false,
@@ -2966,7 +2966,7 @@
2966
2966
  {
2967
2967
  "disabled": false,
2968
2968
  "document": "固件升级任务列表\n注意:此字段可能返回 null,表示取不到有效值。",
2969
- "example": "",
2969
+ "example": " { \"TaskId\": 1000175, \"Status\": 3, \"CreateTime\": 1589466879, \"Type\": 1 }",
2970
2970
  "member": "FirmwareTaskInfo",
2971
2971
  "name": "TaskInfos",
2972
2972
  "output_required": true,
@@ -3667,7 +3667,7 @@
3667
3667
  {
3668
3668
  "disabled": false,
3669
3669
  "document": "产品ID",
3670
- "example": "ABCDE12345",
3670
+ "example": "EQPOKD5111",
3671
3671
  "member": "string",
3672
3672
  "name": "ProductID",
3673
3673
  "required": true,
@@ -3703,7 +3703,7 @@
3703
3703
  {
3704
3704
  "disabled": false,
3705
3705
  "document": "搜索过滤条件",
3706
- "example": "",
3706
+ "example": "{ \"TaskId\": 1000175}",
3707
3707
  "member": "SearchKeyword",
3708
3708
  "name": "Filters",
3709
3709
  "required": false,
@@ -3718,10 +3718,10 @@
3718
3718
  {
3719
3719
  "disabled": false,
3720
3720
  "document": "资源任务列表\n注意:此字段可能返回 null,表示取不到有效值。",
3721
- "example": "",
3721
+ "example": "{ \"TaskId\": 1000175, \"Status\": 3, \"CreateTime\": 1589466879, \"Type\": 1 }",
3722
3722
  "member": "FirmwareTaskInfo",
3723
3723
  "name": "TaskInfos",
3724
- "required": true,
3724
+ "output_required": true,
3725
3725
  "type": "list",
3726
3726
  "value_allowed_null": true
3727
3727
  },
@@ -3731,7 +3731,7 @@
3731
3731
  "example": "53",
3732
3732
  "member": "uint64",
3733
3733
  "name": "Total",
3734
- "required": true,
3734
+ "output_required": true,
3735
3735
  "type": "int",
3736
3736
  "value_allowed_null": true
3737
3737
  },
@@ -4834,7 +4834,7 @@
4834
4834
  {
4835
4835
  "disabled": false,
4836
4836
  "document": "日志检索上下文",
4837
- "example": "123",
4837
+ "example": "62080",
4838
4838
  "member": "string",
4839
4839
  "name": "Context",
4840
4840
  "required": false,
@@ -5057,7 +5057,7 @@
5057
5057
  "example": "DXF1ZXJ5QW5kRmV0Y2gBAAAAAAD1JVkWTEk5MHpyTVRTQ3lqa0tVbUtNVm9sZw==",
5058
5058
  "member": "string",
5059
5059
  "name": "Context",
5060
- "required": true,
5060
+ "output_required": true,
5061
5061
  "type": "string",
5062
5062
  "value_allowed_null": false
5063
5063
  },
@@ -5067,17 +5067,17 @@
5067
5067
  "example": "1",
5068
5068
  "member": "bool",
5069
5069
  "name": "Listover",
5070
- "required": true,
5070
+ "output_required": true,
5071
5071
  "type": "bool",
5072
5072
  "value_allowed_null": false
5073
5073
  },
5074
5074
  {
5075
5075
  "disabled": false,
5076
5076
  "document": "日志列表",
5077
- "example": "",
5077
+ "example": "[\"test_device1\\n\",\"test_device2\\n\"]",
5078
5078
  "member": "SDKLogItem",
5079
5079
  "name": "Results",
5080
- "required": true,
5080
+ "output_required": true,
5081
5081
  "type": "list",
5082
5082
  "value_allowed_null": false
5083
5083
  },
@@ -5130,7 +5130,7 @@
5130
5130
  {
5131
5131
  "disabled": false,
5132
5132
  "document": "规则列表",
5133
- "example": "",
5133
+ "example": "{\"RuleName\":\"rule2\"}",
5134
5134
  "member": "TopicRuleInfo",
5135
5135
  "name": "Rules",
5136
5136
  "output_required": true,
@@ -6140,20 +6140,20 @@
6140
6140
  {
6141
6141
  "disabled": false,
6142
6142
  "document": "产品ID",
6143
- "example": "ABCDE12345",
6143
+ "example": "EQPOKD5111",
6144
6144
  "member": "string",
6145
6145
  "name": "ProductId",
6146
- "required": true,
6146
+ "output_required": true,
6147
6147
  "type": "string",
6148
6148
  "value_allowed_null": false
6149
6149
  },
6150
6150
  {
6151
6151
  "disabled": false,
6152
6152
  "document": "设备名称",
6153
- "example": "ABCD",
6153
+ "example": "dev-001",
6154
6154
  "member": "string",
6155
6155
  "name": "DeviceName",
6156
- "required": true,
6156
+ "output_required": true,
6157
6157
  "type": "string",
6158
6158
  "value_allowed_null": false
6159
6159
  },
@@ -6163,7 +6163,7 @@
6163
6163
  "example": "DEBUG",
6164
6164
  "member": "string",
6165
6165
  "name": "Level",
6166
- "required": true,
6166
+ "output_required": true,
6167
6167
  "type": "string",
6168
6168
  "value_allowed_null": false
6169
6169
  },
@@ -6173,17 +6173,17 @@
6173
6173
  "example": "2021-04-08 00:00:00",
6174
6174
  "member": "string",
6175
6175
  "name": "DateTime",
6176
- "required": true,
6176
+ "output_required": true,
6177
6177
  "type": "string",
6178
6178
  "value_allowed_null": false
6179
6179
  },
6180
6180
  {
6181
6181
  "disabled": false,
6182
6182
  "document": "日志内容",
6183
- "example": "12345",
6183
+ "example": "4534234",
6184
6184
  "member": "string",
6185
6185
  "name": "Content",
6186
- "required": true,
6186
+ "output_required": true,
6187
6187
  "type": "string",
6188
6188
  "value_allowed_null": false
6189
6189
  }
@@ -177,8 +177,8 @@
177
177
  "DescribeDeviceShadow": [
178
178
  {
179
179
  "document": "",
180
- "input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeDeviceShadow\n&ProductId=ABCDE12345\n&DeviceName=abc\n&<公共请求参数>",
181
- "output": "{\n \"Response\": {\n \"Data\": \"{\\\"payload\\\":{\\\"state\\\": {\\\"reported\\\": { \\\"color\\\": \\\"red\\\"}}, \\\"metadata\\\": {\\\"reported\\\": {\\\"color\\\": {\\\"timestamp\\\": 1509092895971}}}, \\\"timestamp\\\": 1509443636326, \\\"version\\\": 5},\\\"result\\\":0,\\\"timestamp\\\":1509440846582,\\\"type\\\":\\\"get\\\"}\",\n \"RequestId\": \"xxxxxxxxxxxxxxxxxxxxxxx\"\n }\n}",
180
+ "input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeDeviceShadow\n&ProductId=EQPOKD5111\n&DeviceName=dev-001\n&<公共请求参数>",
181
+ "output": "{\n \"Response\": {\n \"Data\": \"{\\\"payload\\\":{\\\"state\\\": {\\\"reported\\\": { \\\"color\\\": \\\"red\\\"}}, \\\"metadata\\\": {\\\"reported\\\": {\\\"color\\\": {\\\"timestamp\\\": 1509092895971}}}, \\\"timestamp\\\": 1509443636326, \\\"version\\\": 5},\\\"result\\\":0,\\\"timestamp\\\":1509440846582,\\\"type\\\":\\\"get\\\"}\",\n \"RequestId\": \"54f75f05-a87c-45fc-9520-6b59e251e91c\"\n }\n}",
182
182
  "title": "获取设备影子"
183
183
  }
184
184
  ],
@@ -337,8 +337,8 @@
337
337
  "DescribeResourceTasks": [
338
338
  {
339
339
  "document": "",
340
- "input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeResourceTasks\n&ProductID=ABCDE12345\n&Name=test\n&Offset=1\n&Limit=5\n&<公共请求参数>",
341
- "output": "{\n \"Response\": {\n \"Total\": 53,\n \"TaskInfos\": [\n {\n \"TaskId\": 1000175,\n \"Status\": 3,\n \"CreateTime\": 1589466879,\n \"Type\": 1\n },\n {\n \"TaskId\": 1000176,\n \"Status\": 3,\n \"CreateTime\": 1589467049,\n \"Type\": 1\n },\n {\n \"Status\": 3,\n \"CreateTime\": 1589467138,\n \"Type\": 1,\n \"TaskId\": 1000179\n },\n {\n \"TaskId\": 1000180,\n \"Status\": 3,\n \"CreateTime\": 1589467139,\n \"Type\": 1\n },\n {\n \"Type\": 1,\n \"TaskId\": 1000182,\n \"Status\": 3,\n \"CreateTime\": 1589467141\n }\n ],\n \"RequestId\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n }\n}",
340
+ "input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeResourceTasks\n&ProductID= EQPOKD5111\n&Name=dev-001\n&Offset=1\n&Limit=5\n&<公共请求参数>",
341
+ "output": "{\n \"Response\": {\n \"Total\": 53,\n \"TaskInfos\": [\n {\n \"TaskId\": 1000175,\n \"Status\": 3,\n \"CreateTime\": 1589466879,\n \"Type\": 1\n },\n {\n \"TaskId\": 1000176,\n \"Status\": 3,\n \"CreateTime\": 1589467049,\n \"Type\": 1\n },\n {\n \"Status\": 3,\n \"CreateTime\": 1589467138,\n \"Type\": 1,\n \"TaskId\": 1000179\n },\n {\n \"TaskId\": 1000180,\n \"Status\": 3,\n \"CreateTime\": 1589467139,\n \"Type\": 1\n },\n {\n \"Type\": 1,\n \"TaskId\": 1000182,\n \"Status\": 3,\n \"CreateTime\": 1589467141\n }\n ],\n \"RequestId\": \"ebea2fd8-0b8f-44b3-99ab-1b04fcfb6cbd\"\n }\n}",
342
342
  "title": "查询资源推送任务列表"
343
343
  }
344
344
  ],
@@ -425,7 +425,7 @@
425
425
  "ListSDKLog": [
426
426
  {
427
427
  "document": "查询设备SDK日志",
428
- "input": "https://iotcloud.tencentcloudapi.com/?Action=ListSDKLog\n&Keywords=productid:xxxxxxx\n&MinTime=1606205400000\n&MaxTime=1606209059999\n&<公共请求参数>",
428
+ "input": "https://iotcloud.tencentcloudapi.com/?Action=ListSDKLog\n&Keywords=productid: UTY5QRLMQY\n&MinTime=1606205400000\n&MaxTime=1606209059999\n&<公共请求参数>",
429
429
  "output": "{\n \"Response\": {\n \"Context\": \"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAD1JVkWTEk5MHpyTVRTQ3lqa0tVbUtNVm9sZw==\",\n \"Listover\": true,\n \"RequestId\": \"1641d33e-df97-43d4-8cf1-21ba85533336\",\n \"Results\": []\n }\n}",
430
430
  "title": "查询设备SDK日志"
431
431
  }
@@ -434,7 +434,7 @@
434
434
  {
435
435
  "document": "",
436
436
  "input": "https://iotcloud.tencentcloudapi.com/?Action=ListTopicRules\n&PageNum=1\n&PageSize=10\n&<公共请求参数>",
437
- "output": "{\n \"Response\": {\n \"TotalCnt\": 2,\n \"Rules\": [\n {\n \"RuleName\": \"rule2\",\n \"CreatedAt\": 1524455688,\n \"RuleDisabled\": false,\n \"Description\": \"test2\",\n \"TopicPattern\": \"\"\n },\n {\n \"RuleName\": \"test\",\n \"CreatedAt\": 1524192248,\n \"RuleDisabled\": false,\n \"Description\": \"Describe\",\n \"TopicPattern\": \"gstasg\"\n }\n ],\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
437
+ "output": "{\n \"Response\": {\n \"TotalCnt\": 2,\n \"Rules\": [\n {\n \"RuleName\": \"rule2\",\n \"CreatedAt\": 1524455688,\n \"RuleDisabled\": false,\n \"Description\": \"mydescription1\",\n \"TopicPattern\": \"\"\n },\n {\n \"RuleName\": \"rule1\",\n \"CreatedAt\": 1524192248,\n \"RuleDisabled\": false,\n \"Description\": \"Describe\",\n \"TopicPattern\": \"gstasg\"\n }\n ],\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
438
438
  "title": "获取规则列表示例"
439
439
  }
440
440
  ],
@@ -4749,58 +4749,6 @@ def doCreateFreeCloudStorage(args, parsed_globals):
4749
4749
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4750
4750
 
4751
4751
 
4752
- def doGetTWeCallPkgList(args, parsed_globals):
4753
- g_param = parse_global_arg(parsed_globals)
4754
-
4755
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4756
- cred = credential.CVMRoleCredential()
4757
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4758
- cred = credential.STSAssumeRoleCredential(
4759
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4760
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4761
- )
4762
- 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):
4763
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4764
- else:
4765
- cred = credential.Credential(
4766
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4767
- )
4768
- http_profile = HttpProfile(
4769
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4770
- reqMethod="POST",
4771
- endpoint=g_param[OptionsDefine.Endpoint],
4772
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4773
- )
4774
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4775
- if g_param[OptionsDefine.Language]:
4776
- profile.language = g_param[OptionsDefine.Language]
4777
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4778
- client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
4779
- client._sdkVersion += ("_CLI_" + __version__)
4780
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
4781
- model = models.GetTWeCallPkgListRequest()
4782
- model.from_json_string(json.dumps(args))
4783
- start_time = time.time()
4784
- while True:
4785
- rsp = client.GetTWeCallPkgList(model)
4786
- result = rsp.to_json_string()
4787
- try:
4788
- json_obj = json.loads(result)
4789
- except TypeError as e:
4790
- json_obj = json.loads(result.decode('utf-8')) # python3.3
4791
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4792
- break
4793
- cur_time = time.time()
4794
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4795
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4796
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4797
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4798
- else:
4799
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4800
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4801
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4802
-
4803
-
4804
4752
  def doUpdateDevicesEnableState(args, parsed_globals):
4805
4753
  g_param = parse_global_arg(parsed_globals)
4806
4754
 
@@ -5061,58 +5009,6 @@ def doSearchPositionSpace(args, parsed_globals):
5061
5009
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5062
5010
 
5063
5011
 
5064
- def doAssignTWeCallLicense(args, parsed_globals):
5065
- g_param = parse_global_arg(parsed_globals)
5066
-
5067
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5068
- cred = credential.CVMRoleCredential()
5069
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5070
- cred = credential.STSAssumeRoleCredential(
5071
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5072
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5073
- )
5074
- 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):
5075
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5076
- else:
5077
- cred = credential.Credential(
5078
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5079
- )
5080
- http_profile = HttpProfile(
5081
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5082
- reqMethod="POST",
5083
- endpoint=g_param[OptionsDefine.Endpoint],
5084
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5085
- )
5086
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5087
- if g_param[OptionsDefine.Language]:
5088
- profile.language = g_param[OptionsDefine.Language]
5089
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5090
- client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
5091
- client._sdkVersion += ("_CLI_" + __version__)
5092
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
5093
- model = models.AssignTWeCallLicenseRequest()
5094
- model.from_json_string(json.dumps(args))
5095
- start_time = time.time()
5096
- while True:
5097
- rsp = client.AssignTWeCallLicense(model)
5098
- result = rsp.to_json_string()
5099
- try:
5100
- json_obj = json.loads(result)
5101
- except TypeError as e:
5102
- json_obj = json.loads(result.decode('utf-8')) # python3.3
5103
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5104
- break
5105
- cur_time = time.time()
5106
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5107
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5108
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5109
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5110
- else:
5111
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5112
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5113
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5114
-
5115
-
5116
5012
  def doResetTWeCallDevice(args, parsed_globals):
5117
5013
  g_param = parse_global_arg(parsed_globals)
5118
5014
 
@@ -8335,13 +8231,11 @@ ACTION_MAP = {
8335
8231
  "InvokeCloudStorageAIServiceTask": doInvokeCloudStorageAIServiceTask,
8336
8232
  "DescribeActivateLicenseService": doDescribeActivateLicenseService,
8337
8233
  "CreateFreeCloudStorage": doCreateFreeCloudStorage,
8338
- "GetTWeCallPkgList": doGetTWeCallPkgList,
8339
8234
  "UpdateDevicesEnableState": doUpdateDevicesEnableState,
8340
8235
  "ModifyProject": doModifyProject,
8341
8236
  "BindProducts": doBindProducts,
8342
8237
  "RemoveUserByRoomIdFromTRTC": doRemoveUserByRoomIdFromTRTC,
8343
8238
  "SearchPositionSpace": doSearchPositionSpace,
8344
- "AssignTWeCallLicense": doAssignTWeCallLicense,
8345
8239
  "ResetTWeCallDevice": doResetTWeCallDevice,
8346
8240
  "ModifyTopicPolicy": doModifyTopicPolicy,
8347
8241
  "DescribeSpaceFenceEventList": doDescribeSpaceFenceEventList,