tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1216.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 (99) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/configure.py +46 -1
  3. tccli/services/__init__.py +0 -3
  4. tccli/services/apm/v20210622/api.json +20 -0
  5. tccli/services/asr/v20190614/api.json +3 -3
  6. tccli/services/bi/v20220105/api.json +32 -4
  7. tccli/services/bi/v20220105/examples.json +1 -1
  8. tccli/services/billing/billing_client.py +53 -0
  9. tccli/services/billing/v20180709/api.json +304 -0
  10. tccli/services/billing/v20180709/examples.json +8 -0
  11. tccli/services/bsca/v20210811/api.json +222 -17
  12. tccli/services/bsca/v20210811/examples.json +4 -4
  13. tccli/services/ccc/ccc_client.py +53 -0
  14. tccli/services/ccc/v20200210/api.json +167 -18
  15. tccli/services/ccc/v20200210/examples.json +11 -3
  16. tccli/services/cdb/v20170320/api.json +13 -4
  17. tccli/services/cdb/v20170320/examples.json +1 -1
  18. tccli/services/cdn/v20180606/api.json +5 -3
  19. tccli/services/cdwdoris/v20211228/api.json +12 -2
  20. tccli/services/cfw/v20190904/api.json +81 -47
  21. tccli/services/cfw/v20190904/examples.json +46 -40
  22. tccli/services/ciam/v20220331/api.json +316 -315
  23. tccli/services/ciam/v20220331/examples.json +49 -49
  24. tccli/services/cloudaudit/cloudaudit_client.py +30 -30
  25. tccli/services/cloudaudit/v20190319/api.json +215 -186
  26. tccli/services/cloudaudit/v20190319/examples.json +13 -13
  27. tccli/services/cls/v20201016/api.json +365 -66
  28. tccli/services/cls/v20201016/examples.json +9 -3
  29. tccli/services/csip/v20221121/api.json +4 -4
  30. tccli/services/cvm/v20170312/api.json +42 -0
  31. tccli/services/cwp/v20180228/api.json +217 -163
  32. tccli/services/cwp/v20180228/examples.json +53 -65
  33. tccli/services/cynosdb/v20190107/api.json +77 -29
  34. tccli/services/cynosdb/v20190107/examples.json +22 -22
  35. tccli/services/dasb/v20191018/api.json +77 -0
  36. tccli/services/dasb/v20191018/examples.json +5 -5
  37. tccli/services/domain/v20180808/api.json +3 -3
  38. tccli/services/domain/v20180808/examples.json +3 -3
  39. tccli/services/eb/v20210416/api.json +15 -15
  40. tccli/services/eb/v20210416/examples.json +1 -1
  41. tccli/services/es/es_client.py +249 -37
  42. tccli/services/es/v20180416/api.json +521 -0
  43. tccli/services/es/v20180416/examples.json +32 -0
  44. tccli/services/ess/ess_client.py +53 -0
  45. tccli/services/ess/v20201111/api.json +145 -9
  46. tccli/services/ess/v20201111/examples.json +15 -1
  47. tccli/services/essbasic/essbasic_client.py +106 -0
  48. tccli/services/essbasic/v20210526/api.json +234 -12
  49. tccli/services/essbasic/v20210526/examples.json +22 -0
  50. tccli/services/gaap/v20180529/api.json +44 -26
  51. tccli/services/gaap/v20180529/examples.json +24 -30
  52. tccli/services/iotexplorer/v20190423/api.json +40 -0
  53. tccli/services/live/v20180801/api.json +35 -9
  54. tccli/services/mongodb/v20190725/api.json +6 -8
  55. tccli/services/ocr/v20181119/api.json +2 -2
  56. tccli/services/organization/organization_client.py +352 -34
  57. tccli/services/organization/v20210331/api.json +451 -0
  58. tccli/services/organization/v20210331/examples.json +48 -0
  59. tccli/services/region/v20220627/api.json +1 -1
  60. tccli/services/scf/scf_client.py +269 -4
  61. tccli/services/scf/v20180416/api.json +554 -0
  62. tccli/services/scf/v20180416/examples.json +46 -0
  63. tccli/services/ssl/v20191205/api.json +1 -1
  64. tccli/services/tat/v20201028/api.json +27 -25
  65. tccli/services/tat/v20201028/examples.json +4 -4
  66. tccli/services/tcss/v20201101/api.json +13 -13
  67. tccli/services/tcss/v20201101/examples.json +5 -5
  68. tccli/services/tdmq/v20200217/api.json +64 -63
  69. tccli/services/tdmq/v20200217/examples.json +2 -2
  70. tccli/services/tem/v20210701/api.json +144 -103
  71. tccli/services/tem/v20210701/examples.json +27 -27
  72. tccli/services/teo/teo_client.py +277 -12
  73. tccli/services/teo/v20220901/api.json +1020 -143
  74. tccli/services/teo/v20220901/examples.json +71 -1
  75. tccli/services/tke/tke_client.py +53 -0
  76. tccli/services/tke/v20180525/api.json +43 -0
  77. tccli/services/tke/v20180525/examples.json +8 -0
  78. tccli/services/tms/tms_client.py +4 -57
  79. tccli/services/tms/v20201229/api.json +0 -354
  80. tccli/services/tms/v20201229/examples.json +0 -8
  81. tccli/services/trtc/v20190722/api.json +221 -22
  82. tccli/services/vpc/v20170312/api.json +105 -30
  83. tccli/services/vpc/v20170312/examples.json +10 -2
  84. tccli/services/vpc/vpc_client.py +107 -54
  85. tccli/services/waf/v20180125/api.json +61 -0
  86. tccli/services/waf/v20180125/examples.json +8 -0
  87. tccli/services/waf/waf_client.py +53 -0
  88. tccli/services/wedata/v20210820/api.json +686 -0
  89. tccli/services/wedata/v20210820/examples.json +16 -0
  90. tccli/services/wedata/wedata_client.py +106 -0
  91. {tccli-3.0.1215.1.dist-info → tccli-3.0.1216.1.dist-info}/METADATA +6 -2
  92. {tccli-3.0.1215.1.dist-info → tccli-3.0.1216.1.dist-info}/RECORD +95 -99
  93. tccli/services/cr/__init__.py +0 -4
  94. tccli/services/cr/cr_client.py +0 -1626
  95. tccli/services/cr/v20180321/api.json +0 -2829
  96. tccli/services/cr/v20180321/examples.json +0 -235
  97. {tccli-3.0.1215.1.dist-info → tccli-3.0.1216.1.dist-info}/WHEEL +0 -0
  98. {tccli-3.0.1215.1.dist-info → tccli-3.0.1216.1.dist-info}/entry_points.txt +0 -0
  99. {tccli-3.0.1215.1.dist-info → tccli-3.0.1216.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1215.1'
1
+ __version__ = '3.0.1216.1'
tccli/configure.py CHANGED
@@ -230,6 +230,50 @@ class ConfigureSetCommand(BasicConfigure):
230
230
  self._init_configure(profile_name + '.credential', cred)
231
231
 
232
232
 
233
+ class ConfigureSetRootDomainCommand(BasicConfigure):
234
+ NAME = 'set-root-domain'
235
+ DESCRIPTION = 'Set the root domain name for all endpoints.'
236
+ USEAGE = 'tccli configure set-root-domain [root-domain-value] [--profile profile-name]'
237
+ AVAILABLECONFIG = "[cvm, cbs ...].endpoint: service [cvm cbs ...] access point root domain name"
238
+ EXAMPLES = "$ tccli configure set-root-domain internal.tencentcloudapi.com --profile test"
239
+ ARG_TABLE = [
240
+ {'name': 'varname',
241
+ 'help_text': 'The name of the root domain value to set.',
242
+ 'action': 'store',
243
+ 'nargs': '+',
244
+ 'cli_type_name': 'string',
245
+ 'positional_arg': True},
246
+ ]
247
+
248
+ def __init__(self):
249
+ super(ConfigureSetRootDomainCommand, self).__init__()
250
+
251
+ def _run_main(self, args, parsed_globals):
252
+ var_value = args.varname
253
+ if len(var_value) != 1:
254
+ raise ParamError("Unexpected format\n"
255
+ "Expected input format:\n\n"
256
+ " $tccli configure set-root-domain internal.tencentcloudapi.com\n")
257
+ profile_name = self._get_profile_name(parsed_globals)
258
+ profile_name = profile_name + '.configure'
259
+
260
+ conf_data = {}
261
+ is_exist, config_path = self._profile_existed(profile_name)
262
+ if is_exist:
263
+ conf_data = Utils.load_json_msg(config_path)
264
+ if profile_name.endswith(".configure"):
265
+ for mod in self._cli_data.get_available_services().keys():
266
+ if mod not in conf_data:
267
+ conf_data[mod] = {}
268
+ conf_data[mod]["endpoint"] = "%s.tencentcloudapi.com" % mod
269
+ if mod != 'autoscaling':
270
+ conf_data[mod]["endpoint"] = "%s.%s" % (mod, var_value[0])
271
+ else:
272
+ conf_data[mod]["endpoint"] = "as.%s" % var_value[0]
273
+ conf_data[mod]["version"] = self._cli_data.get_available_services()[mod][0]
274
+ Utils.dump_json_msg(config_path, conf_data)
275
+
276
+
233
277
  class ConfigureGetCommand(BasicConfigure):
234
278
  NAME = 'get'
235
279
  DESCRIPTION = "get your profile(eg:SecretId, SecretKey, Region)."
@@ -342,7 +386,8 @@ class ConfigureCommand(BasicConfigure):
342
386
  {'name': 'list', 'command_class': ConfigureListCommand},
343
387
  {'name': 'get', 'command_class': ConfigureGetCommand},
344
388
  {'name': 'set', 'command_class': ConfigureSetCommand},
345
- {'name': 'remove', 'command_class': ConfigureRemoveCommand}
389
+ {'name': 'remove', 'command_class': ConfigureRemoveCommand},
390
+ {'name': 'set-root-domain', 'command_class': ConfigureSetRootDomainCommand},
346
391
  ]
347
392
 
348
393
  VALUES_TO_PROMPT = [
@@ -236,9 +236,6 @@ SERVICE_VERSIONS = {
236
236
  "cpdp": [
237
237
  "2019-08-20"
238
238
  ],
239
- "cr": [
240
- "2018-03-21"
241
- ],
242
239
  "csip": [
243
240
  "2022-11-21"
244
241
  ],
@@ -795,6 +795,26 @@
795
795
  "output_required": false,
796
796
  "type": "int",
797
797
  "value_allowed_null": true
798
+ },
799
+ {
800
+ "disabled": false,
801
+ "document": "是否免费(0=否,1=限额免费,2=完全免费),默认0\n注意:此字段可能返回 null,表示取不到有效值。",
802
+ "example": "0",
803
+ "member": "int64",
804
+ "name": "Free",
805
+ "output_required": false,
806
+ "type": "int",
807
+ "value_allowed_null": true
808
+ },
809
+ {
810
+ "disabled": false,
811
+ "document": "是否tsf默认业务系统(0=否,1-是)\n注意:此字段可能返回 null,表示取不到有效值。",
812
+ "example": "0",
813
+ "member": "int64",
814
+ "name": "DefaultTSF",
815
+ "output_required": false,
816
+ "type": "int",
817
+ "value_allowed_null": true
798
818
  }
799
819
  ],
800
820
  "usage": "out"
@@ -616,7 +616,7 @@
616
616
  },
617
617
  {
618
618
  "disabled": false,
619
- "document": "识别声道数\n1:单声道(16k音频仅支持单声道,**请勿**设置为双声道);\n2:双声道(仅支持8k电话音频,且双声道应分别为通话双方)\n\n注意:\n• 16k音频:仅支持单声道识别,**需设置ChannelNum=1**;\n• 8k电话音频:支持单声道、双声道识别,**建议设置ChannelNum=2,即双声道**。双声道能够物理区分说话人、避免说话双方重叠产生的识别错误,能达到最好的说话人分离效果和识别效果。设置双声道后,将自动区分说话人,因此**无需再开启说话人分离功能**,相关参数(**SpeakerDiarization、SpeakerNumber**)使用默认值即可",
619
+ "document": "识别声道数\n1:单声道(16k音频仅支持单声道,**请勿**设置为双声道);\n2:双声道(仅支持8k电话音频,且双声道应分别为通话双方)\n\n注意:\n• 16k音频:仅支持单声道识别,**需设置ChannelNum=1**;\n• 8k电话音频:支持单声道、双声道识别,**建议设置ChannelNum=2,即双声道**。双声道能够物理区分说话人、避免说话双方重叠产生的识别错误,能达到最好的说话人分离效果和识别效果。设置双声道后,将自动区分说话人,因此**无需再开启说话人分离功能**,相关参数(**SpeakerDiarization、SpeakerNumber**)使用默认值即可,返回的ResultDetail中的speakerId的值为0代表左声道,值为1代表右声道。",
620
620
  "example": "1",
621
621
  "member": "uint64",
622
622
  "name": "ChannelNum",
@@ -1887,7 +1887,7 @@
1887
1887
  },
1888
1888
  {
1889
1889
  "disabled": false,
1890
- "document": "声道或说话人 Id(请求中如果设置了 speaker_diarization或者ChannelNum为双声道,可区分说话人或声道)\n注意:此字段可能返回 null,表示取不到有效值。",
1890
+ "document": "声道或说话人 Id(请求中如果设置了 speaker_diarization或者ChannelNum为双声道,可区分说话人或声道)\n单声道话者分离时不同的值代表不同的说话人; 8k双声道话者分离时speakerId的值为0代表左声道,值为1代表右声道。\n注意:此字段可能返回 null,表示取不到有效值。",
1891
1891
  "example": "0",
1892
1892
  "member": "int64",
1893
1893
  "name": "SpeakerId",
@@ -1917,7 +1917,7 @@
1917
1917
  },
1918
1918
  {
1919
1919
  "disabled": false,
1920
- "document": "情绪类型(可能为空)\n注意:此字段可能返回 null,表示取不到有效值。",
1920
+ "document": "情绪类型(可能为空,有2种情况 1、没有对应资源包;2、情绪跟语音效果相关,如果情绪不够强烈时可能无法识别)\n注意:此字段可能返回 null,表示取不到有效值。",
1921
1921
  "example": "happy",
1922
1922
  "member": "string",
1923
1923
  "name": "EmotionType",
@@ -176,7 +176,7 @@
176
176
  },
177
177
  {
178
178
  "disabled": false,
179
- "document": "分享页面id,嵌出看板时此为空值0",
179
+ "document": "分享页面id,嵌出看板时此为空值0,ChatBI嵌出时不传\n",
180
180
  "example": "1",
181
181
  "member": "uint64",
182
182
  "name": "PageId",
@@ -203,7 +203,16 @@
203
203
  },
204
204
  {
205
205
  "disabled": false,
206
- "document": "panel,看板;page,页面",
206
+ "document": "embed:页面/看板嵌出\nchatBIEmbed:ChatBI嵌出",
207
+ "example": "embed",
208
+ "member": "string",
209
+ "name": "Intention",
210
+ "required": false,
211
+ "type": "string"
212
+ },
213
+ {
214
+ "disabled": false,
215
+ "document": "panel, 看板;page,页面\nproject,ChatBI嵌出时",
207
216
  "example": "page",
208
217
  "member": "string",
209
218
  "name": "Scope",
@@ -923,7 +932,7 @@
923
932
  },
924
933
  {
925
934
  "disabled": false,
926
- "document": "分享页面id,嵌出看板时此为空值0",
935
+ "document": "分享页面id,嵌出看板时此为空值0,ChatBI嵌出时不传",
927
936
  "example": "1",
928
937
  "member": "uint64",
929
938
  "name": "PageId",
@@ -932,7 +941,16 @@
932
941
  },
933
942
  {
934
943
  "disabled": false,
935
- "document": "page表示嵌出页面,panel表示嵌出整个看板",
944
+ "document": "embed表示页面看板嵌出,chatBIEmbed表示ChatBI嵌出",
945
+ "example": "无",
946
+ "member": "string",
947
+ "name": "Intention",
948
+ "required": false,
949
+ "type": "string"
950
+ },
951
+ {
952
+ "disabled": false,
953
+ "document": "page表示嵌出页面,panel表示嵌出整个看板,ChatBI嵌出时使用project",
936
954
  "example": "1",
937
955
  "member": "string",
938
956
  "name": "Scope",
@@ -2847,6 +2865,16 @@
2847
2865
  "output_required": false,
2848
2866
  "type": "string",
2849
2867
  "value_allowed_null": true
2868
+ },
2869
+ {
2870
+ "disabled": false,
2871
+ "document": "embed表示页面看板嵌出,chatBIEmbed表示ChatBI嵌出\n注意:此字段可能返回 null,表示取不到有效值。",
2872
+ "example": "无",
2873
+ "member": "string",
2874
+ "name": "Intention",
2875
+ "output_required": false,
2876
+ "type": "string",
2877
+ "value_allowed_null": true
2850
2878
  }
2851
2879
  ],
2852
2880
  "usage": "out"
@@ -3,7 +3,7 @@
3
3
  "ApplyEmbedInterval": [
4
4
  {
5
5
  "document": "",
6
- "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ApplyEmbedInterval\n<公共请求参数>\n\n{\n \"Scope\": \"page\",\n \"BIToken\": \"246cbf0d-aa6c-445d-895d-b368f59159e8\",\n \"ExtraParam\": \"\",\n \"PageId\": \"1\",\n \"ProjectId\": \"2\"\n}",
6
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ApplyEmbedInterval\n<公共请求参数>\n\n{\n \"Intention\": \"embed\",\n \"Scope\": \"page\",\n \"BIToken\": \"246cbf0d-aa6c-445d-895d-b368f59159e8\",\n \"ExtraParam\": \"\",\n \"PageId\": \"1\",\n \"ProjectId\": \"2\"\n}",
7
7
  "output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"e60a2172-715b-4305-beb2-40792ae53856\",\n \"Extra\": \"\",\n \"Data\": {\n \"Result\": true\n }\n }\n}",
8
8
  "title": "申请Token延期接口实例"
9
9
  }
@@ -1421,6 +1421,58 @@ def doDescribeSavingPlanUsage(args, parsed_globals):
1421
1421
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1422
1422
 
1423
1423
 
1424
+ def doDescribeBillAdjustInfo(args, parsed_globals):
1425
+ g_param = parse_global_arg(parsed_globals)
1426
+
1427
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1428
+ cred = credential.CVMRoleCredential()
1429
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1430
+ cred = credential.STSAssumeRoleCredential(
1431
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1432
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1433
+ )
1434
+ 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):
1435
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1436
+ else:
1437
+ cred = credential.Credential(
1438
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1439
+ )
1440
+ http_profile = HttpProfile(
1441
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1442
+ reqMethod="POST",
1443
+ endpoint=g_param[OptionsDefine.Endpoint],
1444
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1445
+ )
1446
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1447
+ if g_param[OptionsDefine.Language]:
1448
+ profile.language = g_param[OptionsDefine.Language]
1449
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1450
+ client = mod.BillingClient(cred, g_param[OptionsDefine.Region], profile)
1451
+ client._sdkVersion += ("_CLI_" + __version__)
1452
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1453
+ model = models.DescribeBillAdjustInfoRequest()
1454
+ model.from_json_string(json.dumps(args))
1455
+ start_time = time.time()
1456
+ while True:
1457
+ rsp = client.DescribeBillAdjustInfo(model)
1458
+ result = rsp.to_json_string()
1459
+ try:
1460
+ json_obj = json.loads(result)
1461
+ except TypeError as e:
1462
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1463
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1464
+ break
1465
+ cur_time = time.time()
1466
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1467
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1468
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1469
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1470
+ else:
1471
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1472
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1473
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1474
+
1475
+
1424
1476
  def doDescribeAllocationBillDetail(args, parsed_globals):
1425
1477
  g_param = parse_global_arg(parsed_globals)
1426
1478
 
@@ -2395,6 +2447,7 @@ ACTION_MAP = {
2395
2447
  "DescribeAccountBalance": doDescribeAccountBalance,
2396
2448
  "DescribeDosageDetailByDate": doDescribeDosageDetailByDate,
2397
2449
  "DescribeSavingPlanUsage": doDescribeSavingPlanUsage,
2450
+ "DescribeBillAdjustInfo": doDescribeBillAdjustInfo,
2398
2451
  "DescribeAllocationBillDetail": doDescribeAllocationBillDetail,
2399
2452
  "DescribeBillSummaryByRegion": doDescribeBillSummaryByRegion,
2400
2453
  "DescribeBillSummaryByProject": doDescribeBillSummaryByProject,
@@ -91,6 +91,13 @@
91
91
  "output": "DescribeAllocationTrendByMonthResponse",
92
92
  "status": "online"
93
93
  },
94
+ "DescribeBillAdjustInfo": {
95
+ "document": "可以通过API获取当前UIN是否有调账,客户可以更快地主动地获取调账情况。",
96
+ "input": "DescribeBillAdjustInfoRequest",
97
+ "name": "获取账单异常调整信息",
98
+ "output": "DescribeBillAdjustInfoResponse",
99
+ "status": "online"
100
+ },
94
101
  "DescribeBillDetail": {
95
102
  "document": "获取账单明细数据。\n注意事项:\n1.在请求接口时,由于网络不稳定或其它异常,可能会导致请求失败。如果您遇到这种情况,我们建议您在接口请求失败时,手动发起重试操作,这样可以更好地确保您的接口请求能够成功执行。\n2.对于账单明细数据量级很大(例如每月账单明细量级超过20w)的客户,通过 API 调用账单数据效率较低,建议您开通账单数据存储功能,通过存储桶中获取账单文件进行分析。[账单存储至COS桶](https://cloud.tencent.com/document/product/555/61275)",
96
103
  "input": "DescribeBillDetailRequest",
@@ -429,6 +436,78 @@
429
436
  ],
430
437
  "usage": "out"
431
438
  },
439
+ "AdjustInfoDetail": {
440
+ "document": "UIN异常调整明细",
441
+ "members": [
442
+ {
443
+ "disabled": false,
444
+ "document": "支付者UIN:支付者的账号 ID,账号 ID 是用户在腾讯云的唯一账号标识\n注意:此字段可能返回 null,表示取不到有效值。",
445
+ "example": "909619400",
446
+ "member": "string",
447
+ "name": "PayerUin",
448
+ "output_required": false,
449
+ "required": false,
450
+ "type": "string",
451
+ "value_allowed_null": true
452
+ },
453
+ {
454
+ "disabled": false,
455
+ "document": "账单月份,格式:yyyy-MM\n注意:此字段可能返回 null,表示取不到有效值。",
456
+ "example": "2024-10",
457
+ "member": "string",
458
+ "name": "Month",
459
+ "output_required": false,
460
+ "required": false,
461
+ "type": "string",
462
+ "value_allowed_null": true
463
+ },
464
+ {
465
+ "disabled": false,
466
+ "document": "调整类型\n调账:manualAdjustment\n补结算:supplementarySettlement\n重结算:reSettlement\n注意:此字段可能返回 null,表示取不到有效值。",
467
+ "example": "manualAdjustment",
468
+ "member": "string",
469
+ "name": "AdjustType",
470
+ "output_required": false,
471
+ "required": false,
472
+ "type": "string",
473
+ "value_allowed_null": true
474
+ },
475
+ {
476
+ "disabled": false,
477
+ "document": "调整单号\n注意:此字段可能返回 null,表示取不到有效值。",
478
+ "example": "2220726096135",
479
+ "member": "string",
480
+ "name": "AdjustNum",
481
+ "output_required": false,
482
+ "required": false,
483
+ "type": "string",
484
+ "value_allowed_null": true
485
+ },
486
+ {
487
+ "disabled": false,
488
+ "document": "异常调整完成时间,格式:yyyy-MM-dd HH:mm:ss\n注意:此字段可能返回 null,表示取不到有效值。",
489
+ "example": "2022-12-02 12:39:04",
490
+ "member": "string",
491
+ "name": "AdjustCompletionTime",
492
+ "output_required": false,
493
+ "required": false,
494
+ "type": "string",
495
+ "value_allowed_null": true
496
+ },
497
+ {
498
+ "disabled": false,
499
+ "document": "调整金额\n注意:此字段可能返回 null,表示取不到有效值。",
500
+ "example": "333.00000000",
501
+ "member": "float",
502
+ "name": "AdjustAmount",
503
+ "output_required": false,
504
+ "required": false,
505
+ "type": "float",
506
+ "value_allowed_null": true
507
+ }
508
+ ],
509
+ "usage": "both"
510
+ },
432
511
  "AllocationAverageData": {
433
512
  "document": "分账账单趋势图平均值",
434
513
  "members": [
@@ -1163,6 +1242,66 @@
1163
1242
  "output_required": false,
1164
1243
  "type": "int",
1165
1244
  "value_allowed_null": true
1245
+ },
1246
+ {
1247
+ "disabled": false,
1248
+ "document": "当前消费项的优惠对象,例如:官网折扣、用户折扣、活动折扣。\n注意:此字段可能返回 null,表示取不到有效值。",
1249
+ "example": "common",
1250
+ "member": "string",
1251
+ "name": "DiscountObject",
1252
+ "output_required": false,
1253
+ "type": "string",
1254
+ "value_allowed_null": true
1255
+ },
1256
+ {
1257
+ "disabled": false,
1258
+ "document": "当前消费项的优惠类型,例如:折扣、合同价。\n注意:此字段可能返回 null,表示取不到有效值。",
1259
+ "example": "0",
1260
+ "member": "string",
1261
+ "name": "DiscountType",
1262
+ "output_required": false,
1263
+ "type": "string",
1264
+ "value_allowed_null": true
1265
+ },
1266
+ {
1267
+ "disabled": false,
1268
+ "document": "对优惠类型的补充描述,例如:商务折扣8折,则优惠类型为“折扣”,优惠内容为“0.8”。\n注意:此字段可能返回 null,表示取不到有效值。",
1269
+ "example": "0",
1270
+ "member": "string",
1271
+ "name": "DiscountContent",
1272
+ "output_required": false,
1273
+ "type": "string",
1274
+ "value_allowed_null": true
1275
+ },
1276
+ {
1277
+ "disabled": false,
1278
+ "document": "SPDeduction\n注意:此字段可能返回 null,表示取不到有效值。",
1279
+ "example": "0",
1280
+ "member": "string",
1281
+ "name": "SPDeduction",
1282
+ "output_required": false,
1283
+ "type": "string",
1284
+ "value_allowed_null": true
1285
+ },
1286
+ {
1287
+ "disabled": false,
1288
+ "document": "SPDeduction\n注意:此字段可能返回 null,表示取不到有效值。",
1289
+ "example": "0",
1290
+ "member": "string",
1291
+ "name": "SPDeductionRate",
1292
+ "output_required": false,
1293
+ "type": "string",
1294
+ "value_allowed_null": true
1295
+ },
1296
+ {
1297
+ "disabled": false,
1298
+ "document": "账单月\n注意:此字段可能返回 null,表示取不到有效值。",
1299
+ "example": "2024-10",
1300
+ "member": "string",
1301
+ "name": "BillMonth",
1302
+ "output_required": false,
1303
+ "type": "string",
1304
+ "value_allowed_null": true
1166
1305
  }
1167
1306
  ],
1168
1307
  "usage": "out"
@@ -2663,6 +2802,76 @@
2663
2802
  "output_required": false,
2664
2803
  "type": "string",
2665
2804
  "value_allowed_null": true
2805
+ },
2806
+ {
2807
+ "disabled": false,
2808
+ "document": "SPDeduction\n注意:此字段可能返回 null,表示取不到有效值。",
2809
+ "example": "0.00000000",
2810
+ "member": "string",
2811
+ "name": "SPDeduction",
2812
+ "output_required": false,
2813
+ "type": "string",
2814
+ "value_allowed_null": true
2815
+ },
2816
+ {
2817
+ "disabled": false,
2818
+ "document": "节省计划抵扣率:节省计划可用余额额度范围内,节省计划对于此组件打的折扣率\n注意:此字段可能返回 null,表示取不到有效值。",
2819
+ "example": "0.00000000",
2820
+ "member": "string",
2821
+ "name": "SPDeductionRate",
2822
+ "output_required": false,
2823
+ "type": "string",
2824
+ "value_allowed_null": true
2825
+ },
2826
+ {
2827
+ "disabled": false,
2828
+ "document": "AssociatedOrder\n注意:此字段可能返回 null,表示取不到有效值。",
2829
+ "example": "无",
2830
+ "member": "string",
2831
+ "name": "AssociatedOrder",
2832
+ "output_required": false,
2833
+ "type": "string",
2834
+ "value_allowed_null": true
2835
+ },
2836
+ {
2837
+ "disabled": false,
2838
+ "document": "当前消费项的优惠对象,例如:官网折扣、用户折扣、活动折扣。\n注意:此字段可能返回 null,表示取不到有效值。",
2839
+ "example": "common",
2840
+ "member": "string",
2841
+ "name": "DiscountObject",
2842
+ "output_required": false,
2843
+ "type": "string",
2844
+ "value_allowed_null": true
2845
+ },
2846
+ {
2847
+ "disabled": false,
2848
+ "document": "当前消费项的优惠类型,例如:折扣、合同价。\n注意:此字段可能返回 null,表示取不到有效值。",
2849
+ "example": "0",
2850
+ "member": "string",
2851
+ "name": "DiscountType",
2852
+ "output_required": false,
2853
+ "type": "string",
2854
+ "value_allowed_null": true
2855
+ },
2856
+ {
2857
+ "disabled": false,
2858
+ "document": "对优惠类型的补充描述,例如:商务折扣8折,则优惠类型为“折扣”,优惠内容为“0.8”。\n注意:此字段可能返回 null,表示取不到有效值。",
2859
+ "example": "0",
2860
+ "member": "string",
2861
+ "name": "DiscountContent",
2862
+ "output_required": false,
2863
+ "type": "string",
2864
+ "value_allowed_null": true
2865
+ },
2866
+ {
2867
+ "disabled": false,
2868
+ "document": "账单月\n注意:此字段可能返回 null,表示取不到有效值。",
2869
+ "example": "2024-10",
2870
+ "member": "string",
2871
+ "name": "BillMonth",
2872
+ "output_required": false,
2873
+ "type": "string",
2874
+ "value_allowed_null": true
2666
2875
  }
2667
2876
  ],
2668
2877
  "usage": "out"
@@ -3089,6 +3298,26 @@
3089
3298
  "output_required": true,
3090
3299
  "type": "string",
3091
3300
  "value_allowed_null": true
3301
+ },
3302
+ {
3303
+ "disabled": false,
3304
+ "document": "SPDeduction\n注意:此字段可能返回 null,表示取不到有效值。",
3305
+ "example": "无",
3306
+ "member": "string",
3307
+ "name": "SPDeduction",
3308
+ "output_required": false,
3309
+ "type": "string",
3310
+ "value_allowed_null": true
3311
+ },
3312
+ {
3313
+ "disabled": false,
3314
+ "document": "账单月\n注意:此字段可能返回 null,表示取不到有效值。",
3315
+ "example": "无",
3316
+ "member": "string",
3317
+ "name": "BillMonth",
3318
+ "output_required": false,
3319
+ "type": "string",
3320
+ "value_allowed_null": true
3092
3321
  }
3093
3322
  ],
3094
3323
  "usage": "out"
@@ -8496,6 +8725,16 @@
8496
8725
  "type": "list",
8497
8726
  "value_allowed_null": true
8498
8727
  },
8728
+ {
8729
+ "disabled": false,
8730
+ "document": "分账标签键\n注意:此字段可能返回 null,表示取不到有效值。",
8731
+ "example": "[\"游戏项目组\",\"部门\",\"机房\",\"云应用\",\"运营状态\"]",
8732
+ "member": "string",
8733
+ "name": "TagKey",
8734
+ "output_required": false,
8735
+ "type": "list",
8736
+ "value_allowed_null": true
8737
+ },
8499
8738
  {
8500
8739
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
8501
8740
  "member": "string",
@@ -9605,6 +9844,71 @@
9605
9844
  ],
9606
9845
  "type": "object"
9607
9846
  },
9847
+ "DescribeBillAdjustInfoRequest": {
9848
+ "document": "DescribeBillAdjustInfo请求参数结构体",
9849
+ "members": [
9850
+ {
9851
+ "disabled": false,
9852
+ "document": "格式:yyyy-MM\n账单月份,month和timeFrom&timeTo必传一个,如果有传timeFrom&timeTo则month字段无效",
9853
+ "example": "2024-10",
9854
+ "member": "string",
9855
+ "name": "Month",
9856
+ "required": false,
9857
+ "type": "string"
9858
+ },
9859
+ {
9860
+ "disabled": false,
9861
+ "document": "格式:yyyy-MM-dd\n开始时间,month和timeFrom&timeTo必传一个,如果有该字段则month字段无效。timeFrom和timeTo必须一起传,且为相同月份,不支持跨月查询,查询结果是整月数据",
9862
+ "example": "2024-10-01",
9863
+ "member": "string",
9864
+ "name": "TimeFrom",
9865
+ "required": false,
9866
+ "type": "string"
9867
+ },
9868
+ {
9869
+ "disabled": false,
9870
+ "document": "格式:yyyy-MM-dd\n截止时间,month和timeFrom&timeTo必传一个,如果有该字段则month字段无效。timeFrom和timeTo必须一起传,且为相同月份,不支持跨月查询,查询结果是整月数据",
9871
+ "example": "2024-10-02",
9872
+ "member": "string",
9873
+ "name": "TimeTo",
9874
+ "required": false,
9875
+ "type": "string"
9876
+ }
9877
+ ],
9878
+ "type": "object"
9879
+ },
9880
+ "DescribeBillAdjustInfoResponse": {
9881
+ "document": "DescribeBillAdjustInfo返回参数结构体",
9882
+ "members": [
9883
+ {
9884
+ "disabled": false,
9885
+ "document": "数据总量",
9886
+ "example": "10",
9887
+ "member": "int64",
9888
+ "name": "Total",
9889
+ "output_required": false,
9890
+ "type": "int",
9891
+ "value_allowed_null": false
9892
+ },
9893
+ {
9894
+ "disabled": false,
9895
+ "document": "明细数据",
9896
+ "example": "[]",
9897
+ "member": "AdjustInfoDetail",
9898
+ "name": "Data",
9899
+ "output_required": false,
9900
+ "type": "list",
9901
+ "value_allowed_null": false
9902
+ },
9903
+ {
9904
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
9905
+ "member": "string",
9906
+ "name": "RequestId",
9907
+ "type": "string"
9908
+ }
9909
+ ],
9910
+ "type": "object"
9911
+ },
9608
9912
  "DescribeBillDetailForOrganizationRequest": {
9609
9913
  "document": "DescribeBillDetailForOrganization请求参数结构体",
9610
9914
  "members": [
@@ -104,6 +104,14 @@
104
104
  "title": "查询分账报表费用趋势"
105
105
  }
106
106
  ],
107
+ "DescribeBillAdjustInfo": [
108
+ {
109
+ "document": "根据月份获取账单异常调整信息",
110
+ "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillAdjustInfo\n<公共请求参数>\n\n{\n \"Month\": \"2023-09\"\n}",
111
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"AdjustAmount\": 2346.28,\n \"AdjustCompletionTime\": \"2024-10-21 17:50:46\",\n \"AdjustNum\": \"20230906159081\",\n \"AdjustType\": \"manualAdjustment\",\n \"Month\": \"2023-09\",\n \"PayerUin\": \"909619400\"\n },\n {\n \"AdjustAmount\": 5318.81,\n \"AdjustCompletionTime\": \"2024-10-21 17:44:14\",\n \"AdjustNum\": \"20230909111993\",\n \"AdjustType\": \"manualAdjustment\",\n \"Month\": \"2023-09\",\n \"PayerUin\": \"909619400\"\n }\n ],\n \"RequestId\": \"7fd119c4-8f8b-4355-b365-6df62b7d6660\",\n \"Total\": 2\n }\n}",
112
+ "title": "获取账单异常调整信息"
113
+ }
114
+ ],
107
115
  "DescribeBillDetail": [
108
116
  {
109
117
  "document": "获取账单明细",