tccli 3.0.1135.1__py2.py3-none-any.whl → 3.0.1136.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 (48) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/asr/asr_client.py +53 -0
  4. tccli/services/asr/v20190614/api.json +193 -1
  5. tccli/services/asr/v20190614/examples.json +8 -0
  6. tccli/services/batch/v20170312/api.json +8 -5
  7. tccli/services/batch/v20170312/examples.json +1 -1
  8. tccli/services/ckafka/v20190819/api.json +1 -1
  9. tccli/services/dlc/dlc_client.py +53 -0
  10. tccli/services/dlc/v20210125/api.json +134 -0
  11. tccli/services/dlc/v20210125/examples.json +8 -0
  12. tccli/services/dsgc/v20190723/api.json +35 -35
  13. tccli/services/eiam/v20210420/api.json +4 -4
  14. tccli/services/eiam/v20210420/examples.json +4 -4
  15. tccli/services/ess/v20201111/api.json +1 -1
  16. tccli/services/essbasic/v20210526/api.json +2 -2
  17. tccli/services/iotexplorer/iotexplorer_client.py +53 -0
  18. tccli/services/iotexplorer/v20190423/api.json +133 -0
  19. tccli/services/iotexplorer/v20190423/examples.json +8 -0
  20. tccli/services/lighthouse/v20200324/api.json +14 -14
  21. tccli/services/lighthouse/v20200324/examples.json +7 -7
  22. tccli/services/lke/lke_client.py +175 -16
  23. tccli/services/lke/v20231130/api.json +429 -4
  24. tccli/services/lke/v20231130/examples.json +24 -0
  25. tccli/services/ocr/v20181119/api.json +1 -1
  26. tccli/services/tdmq/tdmq_client.py +53 -0
  27. tccli/services/tdmq/v20200217/api.json +301 -0
  28. tccli/services/tdmq/v20200217/examples.json +8 -0
  29. tccli/services/tem/v20210701/api.json +8 -5
  30. tccli/services/tem/v20210701/examples.json +2 -2
  31. tccli/services/trocket/trocket_client.py +65 -12
  32. tccli/services/trocket/v20230308/api.json +196 -0
  33. tccli/services/trocket/v20230308/examples.json +8 -0
  34. tccli/services/trtc/v20190722/api.json +45 -63
  35. tccli/services/tsi/__init__.py +4 -0
  36. tccli/services/tsi/tsi_client.py +301 -0
  37. tccli/services/tsi/v20210325/api.json +373 -0
  38. tccli/services/tsi/v20210325/examples.json +29 -0
  39. tccli/services/vpc/v20170312/api.json +36 -16
  40. tccli/services/vpc/v20170312/examples.json +9 -3
  41. tccli/services/waf/v20180125/api.json +70 -0
  42. tccli/services/waf/v20180125/examples.json +8 -0
  43. tccli/services/waf/waf_client.py +53 -0
  44. {tccli-3.0.1135.1.dist-info → tccli-3.0.1136.1.dist-info}/METADATA +2 -2
  45. {tccli-3.0.1135.1.dist-info → tccli-3.0.1136.1.dist-info}/RECORD +48 -44
  46. {tccli-3.0.1135.1.dist-info → tccli-3.0.1136.1.dist-info}/WHEEL +0 -0
  47. {tccli-3.0.1135.1.dist-info → tccli-3.0.1136.1.dist-info}/entry_points.txt +0 -0
  48. {tccli-3.0.1135.1.dist-info → tccli-3.0.1136.1.dist-info}/license_files/LICENSE +0 -0
@@ -2487,7 +2487,7 @@
2487
2487
  {
2488
2488
  "disabled": false,
2489
2489
  "document": "模板名称",
2490
- "example": "",
2490
+ "example": "模板名称",
2491
2491
  "member": "string",
2492
2492
  "name": "Name",
2493
2493
  "output_required": true,
@@ -2497,7 +2497,7 @@
2497
2497
  {
2498
2498
  "disabled": false,
2499
2499
  "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。",
2500
- "example": "",
2500
+ "example": "模板描述",
2501
2501
  "member": "string",
2502
2502
  "name": "Description",
2503
2503
  "output_required": true,
@@ -2557,7 +2557,7 @@
2557
2557
  {
2558
2558
  "disabled": false,
2559
2559
  "document": "是否开启别名\n注意:此字段可能返回 null,表示取不到有效值。",
2560
- "example": "",
2560
+ "example": "false",
2561
2561
  "member": "bool",
2562
2562
  "name": "IsAlias",
2563
2563
  "output_required": false,
@@ -2758,40 +2758,40 @@
2758
2758
  {
2759
2759
  "disabled": false,
2760
2760
  "document": "结果类型。",
2761
- "example": "",
2761
+ "example": "cos",
2762
2762
  "member": "string",
2763
2763
  "name": "Result",
2764
- "required": false,
2764
+ "output_required": true,
2765
2765
  "type": "string",
2766
2766
  "value_allowed_null": false
2767
2767
  },
2768
2768
  {
2769
2769
  "disabled": false,
2770
2770
  "document": "结果描述。",
2771
- "example": "",
2771
+ "example": "婚姻状况: 未婚",
2772
2772
  "member": "string",
2773
2773
  "name": "ResultDescription",
2774
- "required": false,
2774
+ "output_required": true,
2775
2775
  "type": "string",
2776
2776
  "value_allowed_null": false
2777
2777
  },
2778
2778
  {
2779
2779
  "disabled": false,
2780
2780
  "document": "错误信息描述。\n注意:此字段可能返回 null,表示取不到有效值。",
2781
- "example": "",
2781
+ "example": "error message",
2782
2782
  "member": "ErrDescription",
2783
2783
  "name": "ErrDescription",
2784
- "required": false,
2784
+ "output_required": true,
2785
2785
  "type": "object",
2786
2786
  "value_allowed_null": true
2787
2787
  },
2788
2788
  {
2789
2789
  "disabled": false,
2790
2790
  "document": "资源ID。",
2791
- "example": "",
2791
+ "example": "cos-abcd1234",
2792
2792
  "member": "string",
2793
2793
  "name": "ResourceId",
2794
- "required": false,
2794
+ "output_required": true,
2795
2795
  "type": "string",
2796
2796
  "value_allowed_null": false
2797
2797
  }
@@ -11658,7 +11658,7 @@
11658
11658
  "example": "1",
11659
11659
  "member": "int64",
11660
11660
  "name": "TaskId",
11661
- "required": true,
11661
+ "output_required": true,
11662
11662
  "type": "int",
11663
11663
  "value_allowed_null": false
11664
11664
  },
@@ -11668,7 +11668,7 @@
11668
11668
  "example": "1",
11669
11669
  "member": "int64",
11670
11670
  "name": "FileResultId",
11671
- "required": true,
11671
+ "output_required": true,
11672
11672
  "type": "int",
11673
11673
  "value_allowed_null": true
11674
11674
  },
@@ -11678,7 +11678,7 @@
11678
11678
  "example": "bucket_1",
11679
11679
  "member": "string",
11680
11680
  "name": "BucketName",
11681
- "required": true,
11681
+ "output_required": true,
11682
11682
  "type": "string",
11683
11683
  "value_allowed_null": true
11684
11684
  },
@@ -11688,7 +11688,7 @@
11688
11688
  "example": "file_1",
11689
11689
  "member": "string",
11690
11690
  "name": "FileName",
11691
- "required": true,
11691
+ "output_required": true,
11692
11692
  "type": "string",
11693
11693
  "value_allowed_null": true
11694
11694
  },
@@ -11698,7 +11698,7 @@
11698
11698
  "example": "1",
11699
11699
  "member": "int64",
11700
11700
  "name": "CategoryId",
11701
- "required": true,
11701
+ "output_required": true,
11702
11702
  "type": "int",
11703
11703
  "value_allowed_null": true
11704
11704
  },
@@ -11708,7 +11708,7 @@
11708
11708
  "example": "个人基本信息",
11709
11709
  "member": "string",
11710
11710
  "name": "CategoryName",
11711
- "required": true,
11711
+ "output_required": true,
11712
11712
  "type": "string",
11713
11713
  "value_allowed_null": true
11714
11714
  },
@@ -11718,7 +11718,7 @@
11718
11718
  "example": "10000",
11719
11719
  "member": "int64",
11720
11720
  "name": "LevelId",
11721
- "required": true,
11721
+ "output_required": true,
11722
11722
  "type": "int",
11723
11723
  "value_allowed_null": true
11724
11724
  },
@@ -11728,17 +11728,17 @@
11728
11728
  "example": "高",
11729
11729
  "member": "string",
11730
11730
  "name": "LevelName",
11731
- "required": true,
11731
+ "output_required": true,
11732
11732
  "type": "string",
11733
11733
  "value_allowed_null": true
11734
11734
  },
11735
11735
  {
11736
11736
  "disabled": false,
11737
11737
  "document": "KMS加密,true or false\n注意:此字段可能返回 null,表示取不到有效值。",
11738
- "example": "",
11738
+ "example": "true",
11739
11739
  "member": "bool",
11740
11740
  "name": "KMSEncrypted",
11741
- "required": true,
11741
+ "output_required": true,
11742
11742
  "type": "bool",
11743
11743
  "value_allowed_null": true
11744
11744
  },
@@ -11748,7 +11748,7 @@
11748
11748
  "example": "姓名",
11749
11749
  "member": "string",
11750
11750
  "name": "RuleName",
11751
- "required": true,
11751
+ "output_required": true,
11752
11752
  "type": "string",
11753
11753
  "value_allowed_null": true
11754
11754
  },
@@ -11758,7 +11758,7 @@
11758
11758
  "example": "1",
11759
11759
  "member": "int64",
11760
11760
  "name": "RuleId",
11761
- "required": true,
11761
+ "output_required": true,
11762
11762
  "type": "int",
11763
11763
  "value_allowed_null": true
11764
11764
  },
@@ -11768,27 +11768,27 @@
11768
11768
  "example": "1",
11769
11769
  "member": "int64",
11770
11770
  "name": "LevelRiskScore",
11771
- "required": true,
11771
+ "output_required": true,
11772
11772
  "type": "int",
11773
11773
  "value_allowed_null": true
11774
11774
  },
11775
11775
  {
11776
11776
  "disabled": false,
11777
11777
  "document": "文件大小,单位为KB\n注意:此字段可能返回 null,表示取不到有效值。",
11778
- "example": "",
11778
+ "example": "1024",
11779
11779
  "member": "int64",
11780
11780
  "name": "FileSize",
11781
- "required": true,
11781
+ "output_required": true,
11782
11782
  "type": "int",
11783
11783
  "value_allowed_null": true
11784
11784
  },
11785
11785
  {
11786
11786
  "disabled": false,
11787
11787
  "document": "文件类型,如csv,txt\n注意:此字段可能返回 null,表示取不到有效值。",
11788
- "example": "",
11788
+ "example": "txt",
11789
11789
  "member": "string",
11790
11790
  "name": "FileType",
11791
- "required": true,
11791
+ "output_required": true,
11792
11792
  "type": "string",
11793
11793
  "value_allowed_null": true
11794
11794
  },
@@ -11798,37 +11798,37 @@
11798
11798
  "example": "1",
11799
11799
  "member": "int64",
11800
11800
  "name": "SensitiveDataCount",
11801
- "required": true,
11801
+ "output_required": true,
11802
11802
  "type": "int",
11803
11803
  "value_allowed_null": true
11804
11804
  },
11805
11805
  {
11806
11806
  "disabled": false,
11807
11807
  "document": "分类树路径\n注意:此字段可能返回 null,表示取不到有效值。",
11808
- "example": "",
11808
+ "example": "[\"category\"]",
11809
11809
  "member": "string",
11810
11810
  "name": "CategoryFullPath",
11811
- "required": true,
11811
+ "output_required": true,
11812
11812
  "type": "list",
11813
11813
  "value_allowed_null": true
11814
11814
  },
11815
11815
  {
11816
11816
  "disabled": false,
11817
11817
  "document": "合规组ID\n注意:此字段可能返回 null,表示取不到有效值。",
11818
- "example": "",
11818
+ "example": "1",
11819
11819
  "member": "int64",
11820
11820
  "name": "ComplianceId",
11821
- "required": true,
11821
+ "output_required": true,
11822
11822
  "type": "int",
11823
11823
  "value_allowed_null": true
11824
11824
  },
11825
11825
  {
11826
11826
  "disabled": false,
11827
11827
  "document": "结果id\n注意:此字段可能返回 null,表示取不到有效值。",
11828
- "example": "",
11828
+ "example": "1",
11829
11829
  "member": "int64",
11830
11830
  "name": "ResultId",
11831
- "required": true,
11831
+ "output_required": true,
11832
11832
  "type": "int",
11833
11833
  "value_allowed_null": true
11834
11834
  }
@@ -1413,7 +1413,7 @@
1413
1413
  "example": "无",
1414
1414
  "member": "string",
1415
1415
  "name": "FailedItems",
1416
- "required": true,
1416
+ "output_required": true,
1417
1417
  "type": "list",
1418
1418
  "value_allowed_null": true
1419
1419
  },
@@ -2515,7 +2515,7 @@
2515
2515
  "example": "无",
2516
2516
  "member": "string",
2517
2517
  "name": "UserId",
2518
- "required": true,
2518
+ "output_required": true,
2519
2519
  "type": "string",
2520
2520
  "value_allowed_null": false
2521
2521
  },
@@ -2525,7 +2525,7 @@
2525
2525
  "example": "无",
2526
2526
  "member": "string",
2527
2527
  "name": "UserName",
2528
- "required": true,
2528
+ "output_required": true,
2529
2529
  "type": "string",
2530
2530
  "value_allowed_null": false
2531
2531
  },
@@ -2535,7 +2535,7 @@
2535
2535
  "example": "无",
2536
2536
  "member": "ThirdPartyAccountInfo",
2537
2537
  "name": "ThirdPartyAccounts",
2538
- "required": true,
2538
+ "output_required": true,
2539
2539
  "type": "list",
2540
2540
  "value_allowed_null": true
2541
2541
  },
@@ -99,8 +99,8 @@
99
99
  "DeleteUsers": [
100
100
  {
101
101
  "document": "",
102
- "input": "POST / HTTP/1.1\nHost: eiam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUsers\n<公共请求参数>\n\n{\n \"DeleteIdList\": [\n \"xx\"\n ],\n \"DeleteNameList\": [\n \"xx\"\n ]\n}",
103
- "output": "{\n \"Response\": {\n \"RequestId\": \"xx\",\n \"FailedItems\": [\n \"xx\"\n ]\n }\n}",
102
+ "input": "POST / HTTP/1.1\nHost: eiam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUsers\n<公共请求参数>\n\n{\n \"DeleteIdList\": [\n \"uid222222\"\n ],\n \"DeleteNameList\": [\n \"用户22222\"\n ]\n}",
103
+ "output": "{\n \"Response\": {\n \"RequestId\": \"requestId22222\",\n \"FailedItems\": [\n \"uid2222222\"\n ]\n }\n}",
104
104
  "title": "请求示例"
105
105
  }
106
106
  ],
@@ -187,8 +187,8 @@
187
187
  "DescribeUserThirdPartyAccountInfo": [
188
188
  {
189
189
  "document": "",
190
- "input": "POST / HTTP/1.1\nHost: eiam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserThirdPartyAccountInfo\n<公共请求参数>\n\n{\n \"UserName\": \"xx\",\n \"UserId\": \"xx\"\n}",
191
- "output": "{\n \"Response\": {\n \"UserName\": \"xx\",\n \"UserId\": \"xx\",\n \"RequestId\": \"xx\",\n \"ThirdPartyAccounts\": [\n {\n \"AccountCode\": \"xx\",\n \"AccountName\": \"xx\"\n }\n ]\n }\n}",
190
+ "input": "POST / HTTP/1.1\nHost: eiam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserThirdPartyAccountInfo\n<公共请求参数>\n\n{\n \"UserName\": \"测试用户1111\",\n \"UserId\": \"userId1111\"\n}",
191
+ "output": "{\n \"Response\": {\n \"UserName\": \"测试用户1111\",\n \"UserId\": \"userId1111\",\n \"RequestId\": \"requestId1111\",\n \"ThirdPartyAccounts\": [\n {\n \"AccountCode\": \"userCode001\",\n \"AccountName\": \"第三方测试用户0001\"\n }\n ]\n }\n}",
192
192
  "title": "请求示例"
193
193
  }
194
194
  ],
@@ -4482,7 +4482,7 @@
4482
4482
  "type": "object"
4483
4483
  },
4484
4484
  {
4485
- "disabled": false,
4485
+ "disabled": true,
4486
4486
  "document": "机构信息,暂未开放",
4487
4487
  "example": "无",
4488
4488
  "member": "OrganizationInfo",
@@ -6556,7 +6556,7 @@
6556
6556
  "type": "object"
6557
6557
  },
6558
6558
  {
6559
- "disabled": false,
6559
+ "disabled": true,
6560
6560
  "document": "操作人信息",
6561
6561
  "example": "无",
6562
6562
  "member": "UserInfo",
@@ -6565,7 +6565,7 @@
6565
6565
  "type": "object"
6566
6566
  },
6567
6567
  {
6568
- "disabled": false,
6568
+ "disabled": true,
6569
6569
  "document": "企业信息",
6570
6570
  "example": "无",
6571
6571
  "member": "OrganizationInfo",
@@ -4749,6 +4749,58 @@ def doDescribeDevicePositionList(args, parsed_globals):
4749
4749
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4750
4750
 
4751
4751
 
4752
+ def doDescribeFirmware(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.DescribeFirmwareRequest()
4782
+ model.from_json_string(json.dumps(args))
4783
+ start_time = time.time()
4784
+ while True:
4785
+ rsp = client.DescribeFirmware(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
+
4752
4804
  def doDescribeDeviceFirmwares(args, parsed_globals):
4753
4805
  g_param = parse_global_arg(parsed_globals)
4754
4806
 
@@ -7243,6 +7295,7 @@ ACTION_MAP = {
7243
7295
  "GetTWeCallActiveStatus": doGetTWeCallActiveStatus,
7244
7296
  "DescribeGatewaySubProducts": doDescribeGatewaySubProducts,
7245
7297
  "DescribeDevicePositionList": doDescribeDevicePositionList,
7298
+ "DescribeFirmware": doDescribeFirmware,
7246
7299
  "DescribeDeviceFirmwares": doDescribeDeviceFirmwares,
7247
7300
  "BindDevices": doBindDevices,
7248
7301
  "CreateBatchProduction": doCreateBatchProduction,
@@ -441,6 +441,13 @@
441
441
  "output": "DescribeFenceEventListResponse",
442
442
  "status": "online"
443
443
  },
444
+ "DescribeFirmware": {
445
+ "document": "查询固件信息",
446
+ "input": "DescribeFirmwareRequest",
447
+ "name": "查询固件信息",
448
+ "output": "DescribeFirmwareResponse",
449
+ "status": "online"
450
+ },
444
451
  "DescribeFirmwareTask": {
445
452
  "document": "查询固件升级任务列表",
446
453
  "input": "DescribeFirmwareTaskRequest",
@@ -5682,6 +5689,132 @@
5682
5689
  ],
5683
5690
  "type": "object"
5684
5691
  },
5692
+ "DescribeFirmwareRequest": {
5693
+ "document": "DescribeFirmware请求参数结构体",
5694
+ "members": [
5695
+ {
5696
+ "disabled": false,
5697
+ "document": "产品ID",
5698
+ "example": "I6KTCZ170U",
5699
+ "member": "string",
5700
+ "name": "ProductID",
5701
+ "required": true,
5702
+ "type": "string"
5703
+ },
5704
+ {
5705
+ "disabled": false,
5706
+ "document": "固件版本号",
5707
+ "example": "t.2",
5708
+ "member": "string",
5709
+ "name": "FirmwareVersion",
5710
+ "required": true,
5711
+ "type": "string"
5712
+ }
5713
+ ],
5714
+ "type": "object"
5715
+ },
5716
+ "DescribeFirmwareResponse": {
5717
+ "document": "DescribeFirmware返回参数结构体",
5718
+ "members": [
5719
+ {
5720
+ "disabled": false,
5721
+ "document": "固件版本号",
5722
+ "example": "t.2",
5723
+ "member": "string",
5724
+ "name": "Version",
5725
+ "output_required": true,
5726
+ "type": "string",
5727
+ "value_allowed_null": false
5728
+ },
5729
+ {
5730
+ "disabled": false,
5731
+ "document": "产品ID",
5732
+ "example": "I6KTCZ170U",
5733
+ "member": "string",
5734
+ "name": "ProductId",
5735
+ "output_required": true,
5736
+ "type": "string",
5737
+ "value_allowed_null": false
5738
+ },
5739
+ {
5740
+ "disabled": false,
5741
+ "document": "固件名称\n注意:此字段可能返回 null,表示取不到有效值。",
5742
+ "example": "test",
5743
+ "member": "string",
5744
+ "name": "Name",
5745
+ "output_required": true,
5746
+ "type": "string",
5747
+ "value_allowed_null": true
5748
+ },
5749
+ {
5750
+ "disabled": false,
5751
+ "document": "固件描述\n注意:此字段可能返回 null,表示取不到有效值。",
5752
+ "example": "ttttt",
5753
+ "member": "string",
5754
+ "name": "Description",
5755
+ "output_required": true,
5756
+ "type": "string",
5757
+ "value_allowed_null": true
5758
+ },
5759
+ {
5760
+ "disabled": false,
5761
+ "document": "固件Md5值\n注意:此字段可能返回 null,表示取不到有效值。",
5762
+ "example": "1a5c386576074d22a604b795e8917e1a",
5763
+ "member": "string",
5764
+ "name": "Md5sum",
5765
+ "output_required": true,
5766
+ "type": "string",
5767
+ "value_allowed_null": true
5768
+ },
5769
+ {
5770
+ "disabled": false,
5771
+ "document": "固件上传的秒级时间戳\n注意:此字段可能返回 null,表示取不到有效值。",
5772
+ "example": "1599626765",
5773
+ "member": "uint64",
5774
+ "name": "Createtime",
5775
+ "output_required": true,
5776
+ "type": "int",
5777
+ "value_allowed_null": true
5778
+ },
5779
+ {
5780
+ "disabled": false,
5781
+ "document": "产品名称",
5782
+ "example": "8bvsn6go_测试OTA升级",
5783
+ "member": "string",
5784
+ "name": "ProductName",
5785
+ "output_required": true,
5786
+ "type": "string",
5787
+ "value_allowed_null": false
5788
+ },
5789
+ {
5790
+ "disabled": false,
5791
+ "document": "固件升级模块\n注意:此字段可能返回 null,表示取不到有效值。",
5792
+ "example": "mcu",
5793
+ "member": "string",
5794
+ "name": "FwType",
5795
+ "output_required": true,
5796
+ "type": "string",
5797
+ "value_allowed_null": true
5798
+ },
5799
+ {
5800
+ "disabled": false,
5801
+ "document": "固件用户自定义配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
5802
+ "example": "{\"key1\":\"value1\", \"key2\":\"支持中文\"}",
5803
+ "member": "string",
5804
+ "name": "UserDefined",
5805
+ "output_required": false,
5806
+ "type": "string",
5807
+ "value_allowed_null": true
5808
+ },
5809
+ {
5810
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5811
+ "member": "string",
5812
+ "name": "RequestId",
5813
+ "type": "string"
5814
+ }
5815
+ ],
5816
+ "type": "object"
5817
+ },
5685
5818
  "DescribeFirmwareTaskRequest": {
5686
5819
  "document": "DescribeFirmwareTask请求参数结构体",
5687
5820
  "members": [
@@ -546,6 +546,14 @@
546
546
  "title": "DescribeFenceEventList"
547
547
  }
548
548
  ],
549
+ "DescribeFirmware": [
550
+ {
551
+ "document": "",
552
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFirmware\n<公共请求参数>\n\n{\n \"ProductID\": \"I6KTCZ170U\",\n \"FirmwareVersion\": \"t.2\"\n}",
553
+ "output": "{\n \"Response\": {\n \"Createtime\": 1599626765,\n \"Description\": \"ttttt\",\n \"Md5sum\": \"1a5c386576074d22a604b795e8917e1a\",\n \"Name\": \"test\",\n \"ProductId\": \"I6KTCZ170U\",\n \"ProductName\": \"8bvsn6go_测试OTA升级\",\n \"RequestId\": \"01365e8c-f025-40b9-97a4-fa583d6c569e\",\n \"Version\": \"t.2\",\n \"FwType\": \"mcu\"\n }\n}",
554
+ "title": "查询固件信息"
555
+ }
556
+ ],
549
557
  "DescribeFirmwareTask": [
550
558
  {
551
559
  "document": "查询固件升级任务详情",