tccli 3.0.1144.1__py2.py3-none-any.whl → 3.0.1146.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 (35) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/asr/v20190614/api.json +2 -2
  3. tccli/services/cdb/cdb_client.py +167 -8
  4. tccli/services/cdb/v20170320/api.json +158 -2
  5. tccli/services/cdb/v20170320/examples.json +24 -0
  6. tccli/services/ckafka/v20190819/api.json +1 -1
  7. tccli/services/ckafka/v20190819/examples.json +2 -2
  8. tccli/services/dbdc/v20201029/api.json +14 -12
  9. tccli/services/dbdc/v20201029/examples.json +1 -1
  10. tccli/services/dlc/v20210125/api.json +52 -2
  11. tccli/services/emr/v20190103/api.json +5 -5
  12. tccli/services/es/es_client.py +61 -8
  13. tccli/services/es/v20180416/api.json +96 -2
  14. tccli/services/es/v20180416/examples.json +11 -3
  15. tccli/services/ess/v20201111/api.json +9 -0
  16. tccli/services/essbasic/v20210526/api.json +24 -15
  17. tccli/services/iotexplorer/v20190423/api.json +11 -0
  18. tccli/services/iotvideo/v20211125/api.json +11 -0
  19. tccli/services/lke/v20231130/api.json +11 -1
  20. tccli/services/mps/mps_client.py +228 -16
  21. tccli/services/mps/v20190612/api.json +494 -1
  22. tccli/services/mps/v20190612/examples.json +32 -0
  23. tccli/services/ocr/v20181119/api.json +9 -0
  24. tccli/services/smpn/smpn_client.py +0 -159
  25. tccli/services/smpn/v20190822/api.json +4 -316
  26. tccli/services/smpn/v20190822/examples.json +0 -24
  27. tccli/services/tke/v20180525/api.json +3 -0
  28. tccli/services/trtc/v20190722/api.json +13 -4
  29. tccli/services/tsi/v20210325/api.json +2 -2
  30. tccli/services/tts/v20190823/api.json +1 -1
  31. {tccli-3.0.1144.1.dist-info → tccli-3.0.1146.1.dist-info}/METADATA +2 -2
  32. {tccli-3.0.1144.1.dist-info → tccli-3.0.1146.1.dist-info}/RECORD +35 -35
  33. {tccli-3.0.1144.1.dist-info → tccli-3.0.1146.1.dist-info}/WHEEL +0 -0
  34. {tccli-3.0.1144.1.dist-info → tccli-3.0.1146.1.dist-info}/entry_points.txt +0 -0
  35. {tccli-3.0.1144.1.dist-info → tccli-3.0.1146.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1144.1'
1
+ __version__ = '3.0.1146.1'
@@ -2014,7 +2014,7 @@
2014
2014
  },
2015
2015
  {
2016
2016
  "disabled": false,
2017
- "document": "词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,11]之间整数或100,数组长度不大于1000",
2017
+ "document": "词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,11]之间整数或100,数组长度不大于1000 (注意:如果仅更新热词表名称或者描述字段,请求不用带本参数)",
2018
2018
  "example": "无",
2019
2019
  "member": "HotWord",
2020
2020
  "name": "WordWeights",
@@ -2023,7 +2023,7 @@
2023
2023
  },
2024
2024
  {
2025
2025
  "disabled": false,
2026
- "document": "词权重文件(纯文本文件)的二进制base64编码,以行分隔,每行的格式为word|weight,即以英文符号|为分割,左边为词,右边为权重,如:你好|5。\n当用户传此参数(参数长度大于0),即以此参数解析词权重,WordWeights会被忽略",
2026
+ "document": "词权重文件(纯文本文件)的二进制base64编码,以行分隔,每行的格式为word|weight,即以英文符号|为分割,左边为词,右边为权重,如:你好|5。\n当用户传此参数(参数长度大于0),即以此参数解析词权重,WordWeights会被忽略\n (注意:如果仅更新热词表名称或者描述字段,请求不用带本参数)",
2027
2027
  "example": "无",
2028
2028
  "member": "string",
2029
2029
  "name": "WordWeightStr",
@@ -3137,7 +3137,7 @@ def doDescribeProxySupportParam(args, parsed_globals):
3137
3137
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3138
3138
 
3139
3139
 
3140
- def doDescribeLocalBinlogConfig(args, parsed_globals):
3140
+ def doDescribeDeviceMonitorInfo(args, parsed_globals):
3141
3141
  g_param = parse_global_arg(parsed_globals)
3142
3142
 
3143
3143
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3166,11 +3166,11 @@ def doDescribeLocalBinlogConfig(args, parsed_globals):
3166
3166
  client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
3167
3167
  client._sdkVersion += ("_CLI_" + __version__)
3168
3168
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3169
- model = models.DescribeLocalBinlogConfigRequest()
3169
+ model = models.DescribeDeviceMonitorInfoRequest()
3170
3170
  model.from_json_string(json.dumps(args))
3171
3171
  start_time = time.time()
3172
3172
  while True:
3173
- rsp = client.DescribeLocalBinlogConfig(model)
3173
+ rsp = client.DescribeDeviceMonitorInfo(model)
3174
3174
  result = rsp.to_json_string()
3175
3175
  try:
3176
3176
  json_obj = json.loads(result)
@@ -5321,6 +5321,58 @@ def doDescribeAuditConfig(args, parsed_globals):
5321
5321
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5322
5322
 
5323
5323
 
5324
+ def doResetPassword(args, parsed_globals):
5325
+ g_param = parse_global_arg(parsed_globals)
5326
+
5327
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5328
+ cred = credential.CVMRoleCredential()
5329
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5330
+ cred = credential.STSAssumeRoleCredential(
5331
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5332
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5333
+ )
5334
+ 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):
5335
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5336
+ else:
5337
+ cred = credential.Credential(
5338
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5339
+ )
5340
+ http_profile = HttpProfile(
5341
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5342
+ reqMethod="POST",
5343
+ endpoint=g_param[OptionsDefine.Endpoint],
5344
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5345
+ )
5346
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5347
+ if g_param[OptionsDefine.Language]:
5348
+ profile.language = g_param[OptionsDefine.Language]
5349
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5350
+ client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
5351
+ client._sdkVersion += ("_CLI_" + __version__)
5352
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5353
+ model = models.ResetPasswordRequest()
5354
+ model.from_json_string(json.dumps(args))
5355
+ start_time = time.time()
5356
+ while True:
5357
+ rsp = client.ResetPassword(model)
5358
+ result = rsp.to_json_string()
5359
+ try:
5360
+ json_obj = json.loads(result)
5361
+ except TypeError as e:
5362
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5363
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5364
+ break
5365
+ cur_time = time.time()
5366
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5367
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5368
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5369
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5370
+ else:
5371
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5372
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5373
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5374
+
5375
+
5324
5376
  def doModifyLocalBinlogConfig(args, parsed_globals):
5325
5377
  g_param = parse_global_arg(parsed_globals)
5326
5378
 
@@ -6101,6 +6153,58 @@ def doDescribeDBSwitchRecords(args, parsed_globals):
6101
6153
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6102
6154
 
6103
6155
 
6156
+ def doCreateRotationPassword(args, parsed_globals):
6157
+ g_param = parse_global_arg(parsed_globals)
6158
+
6159
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
6160
+ cred = credential.CVMRoleCredential()
6161
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
6162
+ cred = credential.STSAssumeRoleCredential(
6163
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
6164
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
6165
+ )
6166
+ 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):
6167
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
6168
+ else:
6169
+ cred = credential.Credential(
6170
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
6171
+ )
6172
+ http_profile = HttpProfile(
6173
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
6174
+ reqMethod="POST",
6175
+ endpoint=g_param[OptionsDefine.Endpoint],
6176
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
6177
+ )
6178
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
6179
+ if g_param[OptionsDefine.Language]:
6180
+ profile.language = g_param[OptionsDefine.Language]
6181
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
6182
+ client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
6183
+ client._sdkVersion += ("_CLI_" + __version__)
6184
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
6185
+ model = models.CreateRotationPasswordRequest()
6186
+ model.from_json_string(json.dumps(args))
6187
+ start_time = time.time()
6188
+ while True:
6189
+ rsp = client.CreateRotationPassword(model)
6190
+ result = rsp.to_json_string()
6191
+ try:
6192
+ json_obj = json.loads(result)
6193
+ except TypeError as e:
6194
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
6195
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
6196
+ break
6197
+ cur_time = time.time()
6198
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
6199
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
6200
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
6201
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
6202
+ else:
6203
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
6204
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
6205
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6206
+
6207
+
6104
6208
  def doCreateDBImportJob(args, parsed_globals):
6105
6209
  g_param = parse_global_arg(parsed_globals)
6106
6210
 
@@ -6517,6 +6621,58 @@ def doModifyAuditRuleTemplates(args, parsed_globals):
6517
6621
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6518
6622
 
6519
6623
 
6624
+ def doDeleteRotationPassword(args, parsed_globals):
6625
+ g_param = parse_global_arg(parsed_globals)
6626
+
6627
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
6628
+ cred = credential.CVMRoleCredential()
6629
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
6630
+ cred = credential.STSAssumeRoleCredential(
6631
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
6632
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
6633
+ )
6634
+ 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):
6635
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
6636
+ else:
6637
+ cred = credential.Credential(
6638
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
6639
+ )
6640
+ http_profile = HttpProfile(
6641
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
6642
+ reqMethod="POST",
6643
+ endpoint=g_param[OptionsDefine.Endpoint],
6644
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
6645
+ )
6646
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
6647
+ if g_param[OptionsDefine.Language]:
6648
+ profile.language = g_param[OptionsDefine.Language]
6649
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
6650
+ client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
6651
+ client._sdkVersion += ("_CLI_" + __version__)
6652
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
6653
+ model = models.DeleteRotationPasswordRequest()
6654
+ model.from_json_string(json.dumps(args))
6655
+ start_time = time.time()
6656
+ while True:
6657
+ rsp = client.DeleteRotationPassword(model)
6658
+ result = rsp.to_json_string()
6659
+ try:
6660
+ json_obj = json.loads(result)
6661
+ except TypeError as e:
6662
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
6663
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
6664
+ break
6665
+ cur_time = time.time()
6666
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
6667
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
6668
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
6669
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
6670
+ else:
6671
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
6672
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
6673
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6674
+
6675
+
6520
6676
  def doModifyAccountPassword(args, parsed_globals):
6521
6677
  g_param = parse_global_arg(parsed_globals)
6522
6678
 
@@ -7609,7 +7765,7 @@ def doStartBatchRollback(args, parsed_globals):
7609
7765
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7610
7766
 
7611
7767
 
7612
- def doDescribeDeviceMonitorInfo(args, parsed_globals):
7768
+ def doDescribeLocalBinlogConfig(args, parsed_globals):
7613
7769
  g_param = parse_global_arg(parsed_globals)
7614
7770
 
7615
7771
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -7638,11 +7794,11 @@ def doDescribeDeviceMonitorInfo(args, parsed_globals):
7638
7794
  client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
7639
7795
  client._sdkVersion += ("_CLI_" + __version__)
7640
7796
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
7641
- model = models.DescribeDeviceMonitorInfoRequest()
7797
+ model = models.DescribeLocalBinlogConfigRequest()
7642
7798
  model.from_json_string(json.dumps(args))
7643
7799
  start_time = time.time()
7644
7800
  while True:
7645
- rsp = client.DescribeDeviceMonitorInfo(model)
7801
+ rsp = client.DescribeLocalBinlogConfig(model)
7646
7802
  result = rsp.to_json_string()
7647
7803
  try:
7648
7804
  json_obj = json.loads(result)
@@ -8668,7 +8824,7 @@ ACTION_MAP = {
8668
8824
  "CreateDBInstanceHour": doCreateDBInstanceHour,
8669
8825
  "AddTimeWindow": doAddTimeWindow,
8670
8826
  "DescribeProxySupportParam": doDescribeProxySupportParam,
8671
- "DescribeLocalBinlogConfig": doDescribeLocalBinlogConfig,
8827
+ "DescribeDeviceMonitorInfo": doDescribeDeviceMonitorInfo,
8672
8828
  "CreateBackup": doCreateBackup,
8673
8829
  "ModifyDBInstanceVipVport": doModifyDBInstanceVipVport,
8674
8830
  "DescribeDBInstanceConfig": doDescribeDBInstanceConfig,
@@ -8710,6 +8866,7 @@ ACTION_MAP = {
8710
8866
  "AdjustCdbProxyAddress": doAdjustCdbProxyAddress,
8711
8867
  "DescribeCdbProxyInfo": doDescribeCdbProxyInfo,
8712
8868
  "DescribeAuditConfig": doDescribeAuditConfig,
8869
+ "ResetPassword": doResetPassword,
8713
8870
  "ModifyLocalBinlogConfig": doModifyLocalBinlogConfig,
8714
8871
  "CloseCDBProxy": doCloseCDBProxy,
8715
8872
  "DescribeAsyncRequestInfo": doDescribeAsyncRequestInfo,
@@ -8725,6 +8882,7 @@ ACTION_MAP = {
8725
8882
  "DescribeDBImportRecords": doDescribeDBImportRecords,
8726
8883
  "DescribeSSLStatus": doDescribeSSLStatus,
8727
8884
  "DescribeDBSwitchRecords": doDescribeDBSwitchRecords,
8885
+ "CreateRotationPassword": doCreateRotationPassword,
8728
8886
  "CreateDBImportJob": doCreateDBImportJob,
8729
8887
  "RestartDBInstances": doRestartDBInstances,
8730
8888
  "DescribeCpuExpandStrategy": doDescribeCpuExpandStrategy,
@@ -8733,6 +8891,7 @@ ACTION_MAP = {
8733
8891
  "DescribeBackupDownloadRestriction": doDescribeBackupDownloadRestriction,
8734
8892
  "ResetRootAccount": doResetRootAccount,
8735
8893
  "ModifyAuditRuleTemplates": doModifyAuditRuleTemplates,
8894
+ "DeleteRotationPassword": doDeleteRotationPassword,
8736
8895
  "ModifyAccountPassword": doModifyAccountPassword,
8737
8896
  "DescribeInstanceAlarmEvents": doDescribeInstanceAlarmEvents,
8738
8897
  "DescribeUploadedFiles": doDescribeUploadedFiles,
@@ -8754,7 +8913,7 @@ ACTION_MAP = {
8754
8913
  "ModifyAuditService": doModifyAuditService,
8755
8914
  "RenewDBInstance": doRenewDBInstance,
8756
8915
  "StartBatchRollback": doStartBatchRollback,
8757
- "DescribeDeviceMonitorInfo": doDescribeDeviceMonitorInfo,
8916
+ "DescribeLocalBinlogConfig": doDescribeLocalBinlogConfig,
8758
8917
  "OpenWanService": doOpenWanService,
8759
8918
  "ModifyAuditRule": doModifyAuditRule,
8760
8919
  "ModifyDBInstanceSecurityGroups": doModifyDBInstanceSecurityGroups,
@@ -196,6 +196,13 @@
196
196
  "output": "CreateRoInstanceIpResponse",
197
197
  "status": "online"
198
198
  },
199
+ "CreateRotationPassword": {
200
+ "document": "开启密码轮转",
201
+ "input": "CreateRotationPasswordRequest",
202
+ "name": "开启密码轮转",
203
+ "output": "CreateRotationPasswordResponse",
204
+ "status": "online"
205
+ },
199
206
  "DeleteAccounts": {
200
207
  "document": "本接口(DeleteAccounts)用于删除云数据库的账户。",
201
208
  "input": "DeleteAccountsRequest",
@@ -259,6 +266,13 @@
259
266
  "output": "DeleteParamTemplateResponse",
260
267
  "status": "online"
261
268
  },
269
+ "DeleteRotationPassword": {
270
+ "document": "关闭实例账户密码轮转",
271
+ "input": "DeleteRotationPasswordRequest",
272
+ "name": "关闭密码轮转",
273
+ "output": "DeleteRotationPasswordResponse",
274
+ "status": "online"
275
+ },
262
276
  "DeleteTimeWindow": {
263
277
  "document": "本接口(DeleteTimeWindow)用于删除云数据库实例的维护时间窗口。删除实例维护时间窗口之后,默认的维护时间窗为 03:00-04:00,即当选择在维护时间窗口内切换访问新实例时,默认会在 03:00-04:00 点进行切换访问新实例。",
264
278
  "input": "DeleteTimeWindowRequest",
@@ -1036,6 +1050,13 @@
1036
1050
  "output": "RenewDBInstanceResponse",
1037
1051
  "status": "online"
1038
1052
  },
1053
+ "ResetPassword": {
1054
+ "document": "手动刷新轮转密码",
1055
+ "input": "ResetPasswordRequest",
1056
+ "name": "手动刷新轮转密码",
1057
+ "output": "ResetPasswordResponse",
1058
+ "status": "online"
1059
+ },
1039
1060
  "ResetRootAccount": {
1040
1061
  "document": "重置实例ROOT账号,初始化账号权限",
1041
1062
  "input": "ResetRootAccountRequest",
@@ -6501,6 +6522,42 @@
6501
6522
  ],
6502
6523
  "type": "object"
6503
6524
  },
6525
+ "CreateRotationPasswordRequest": {
6526
+ "document": "CreateRotationPassword请求参数结构体",
6527
+ "members": [
6528
+ {
6529
+ "disabled": false,
6530
+ "document": "实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。",
6531
+ "example": "cdb-c1nl9rpv",
6532
+ "member": "string",
6533
+ "name": "InstanceId",
6534
+ "required": true,
6535
+ "type": "string"
6536
+ },
6537
+ {
6538
+ "disabled": false,
6539
+ "document": "当前需开启密码轮转的账号信息,包含账户名与主机名",
6540
+ "example": "无",
6541
+ "member": "Account",
6542
+ "name": "Accounts",
6543
+ "required": true,
6544
+ "type": "list"
6545
+ }
6546
+ ],
6547
+ "type": "object"
6548
+ },
6549
+ "CreateRotationPasswordResponse": {
6550
+ "document": "CreateRotationPassword返回参数结构体",
6551
+ "members": [
6552
+ {
6553
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6554
+ "member": "string",
6555
+ "name": "RequestId",
6556
+ "type": "string"
6557
+ }
6558
+ ],
6559
+ "type": "object"
6560
+ },
6504
6561
  "CustomConfig": {
6505
6562
  "document": "proxy配置",
6506
6563
  "members": [
@@ -6929,6 +6986,60 @@
6929
6986
  ],
6930
6987
  "type": "object"
6931
6988
  },
6989
+ "DeleteRotationPasswordRequest": {
6990
+ "document": "DeleteRotationPassword请求参数结构体",
6991
+ "members": [
6992
+ {
6993
+ "disabled": false,
6994
+ "document": "实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同",
6995
+ "example": "cdb-c1nl9rpv",
6996
+ "member": "string",
6997
+ "name": "InstanceId",
6998
+ "required": true,
6999
+ "type": "string"
7000
+ },
7001
+ {
7002
+ "disabled": false,
7003
+ "document": "关闭密码轮转的实例账户名,例如root",
7004
+ "example": "无",
7005
+ "member": "string",
7006
+ "name": "User",
7007
+ "required": true,
7008
+ "type": "string"
7009
+ },
7010
+ {
7011
+ "disabled": false,
7012
+ "document": "关闭密码轮转的实例账户域名,例如%",
7013
+ "example": "无",
7014
+ "member": "string",
7015
+ "name": "Host",
7016
+ "required": true,
7017
+ "type": "string"
7018
+ },
7019
+ {
7020
+ "disabled": false,
7021
+ "document": "关闭密码轮转后实例账户的最新密码",
7022
+ "example": "无",
7023
+ "member": "string",
7024
+ "name": "Password",
7025
+ "required": true,
7026
+ "type": "string"
7027
+ }
7028
+ ],
7029
+ "type": "object"
7030
+ },
7031
+ "DeleteRotationPasswordResponse": {
7032
+ "document": "DeleteRotationPassword返回参数结构体",
7033
+ "members": [
7034
+ {
7035
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
7036
+ "member": "string",
7037
+ "name": "RequestId",
7038
+ "type": "string"
7039
+ }
7040
+ ],
7041
+ "type": "object"
7042
+ },
6932
7043
  "DeleteTimeWindowRequest": {
6933
7044
  "document": "DeleteTimeWindow请求参数结构体",
6934
7045
  "members": [
@@ -12562,7 +12673,7 @@
12562
12673
  "example": "1",
12563
12674
  "member": "int64",
12564
12675
  "name": "TotalCount",
12565
- "required": true,
12676
+ "output_required": true,
12566
12677
  "type": "int",
12567
12678
  "value_allowed_null": false
12568
12679
  },
@@ -12572,7 +12683,7 @@
12572
12683
  "example": "无",
12573
12684
  "member": "SqlFileInfo",
12574
12685
  "name": "Items",
12575
- "required": true,
12686
+ "output_required": true,
12576
12687
  "type": "list",
12577
12688
  "value_allowed_null": false
12578
12689
  },
@@ -17829,6 +17940,51 @@
17829
17940
  ],
17830
17941
  "type": "object"
17831
17942
  },
17943
+ "ResetPasswordRequest": {
17944
+ "document": "ResetPassword请求参数结构体",
17945
+ "members": [
17946
+ {
17947
+ "disabled": false,
17948
+ "document": "实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。",
17949
+ "example": "无",
17950
+ "member": "string",
17951
+ "name": "InstanceId",
17952
+ "required": true,
17953
+ "type": "string"
17954
+ },
17955
+ {
17956
+ "disabled": false,
17957
+ "document": "手动刷新轮转密码的实例账户名,例如root",
17958
+ "example": "无",
17959
+ "member": "string",
17960
+ "name": "User",
17961
+ "required": true,
17962
+ "type": "string"
17963
+ },
17964
+ {
17965
+ "disabled": false,
17966
+ "document": "手动刷新轮转密码的实例账户域名,例如%",
17967
+ "example": "无",
17968
+ "member": "string",
17969
+ "name": "Host",
17970
+ "required": true,
17971
+ "type": "string"
17972
+ }
17973
+ ],
17974
+ "type": "object"
17975
+ },
17976
+ "ResetPasswordResponse": {
17977
+ "document": "ResetPassword返回参数结构体",
17978
+ "members": [
17979
+ {
17980
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
17981
+ "member": "string",
17982
+ "name": "RequestId",
17983
+ "type": "string"
17984
+ }
17985
+ ],
17986
+ "type": "object"
17987
+ },
17832
17988
  "ResetRootAccountRequest": {
17833
17989
  "document": "ResetRootAccount请求参数结构体",
17834
17990
  "members": [
@@ -248,6 +248,14 @@
248
248
  "title": "创建云数据库只读实例的独立VIP"
249
249
  }
250
250
  ],
251
+ "CreateRotationPassword": [
252
+ {
253
+ "document": "",
254
+ "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRotationPassword\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Accounts\": [\n {\n \"User\": \"abc\",\n \"Host\": \"abc\"\n }\n ]\n}",
255
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
256
+ "title": "开启密码轮转"
257
+ }
258
+ ],
251
259
  "DeleteAccounts": [
252
260
  {
253
261
  "document": "",
@@ -320,6 +328,14 @@
320
328
  "title": "删除参数模板"
321
329
  }
322
330
  ],
331
+ "DeleteRotationPassword": [
332
+ {
333
+ "document": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRotationPassword\n<公共请求参数>",
334
+ "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRotationPassword\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"User\": \"abc\",\n \"Host\": \"abc\",\n \"Password\": \"abc\"\n}",
335
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
336
+ "title": "关闭实例账户密码轮转"
337
+ }
338
+ ],
323
339
  "DeleteTimeWindow": [
324
340
  {
325
341
  "document": "",
@@ -1232,6 +1248,14 @@
1232
1248
  "title": "续费云数据库实例"
1233
1249
  }
1234
1250
  ],
1251
+ "ResetPassword": [
1252
+ {
1253
+ "document": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetPassword\n<公共请求参数>",
1254
+ "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetPassword\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"User\": \"abc\",\n \"Host\": \"abc\"\n}",
1255
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
1256
+ "title": "手动刷新轮转密码"
1257
+ }
1258
+ ],
1235
1259
  "ResetRootAccount": [
1236
1260
  {
1237
1261
  "document": "",
@@ -8611,7 +8611,7 @@
8611
8611
  "example": "无",
8612
8612
  "member": "TopicInSyncReplicaResult",
8613
8613
  "name": "Result",
8614
- "required": true,
8614
+ "output_required": true,
8615
8615
  "type": "object",
8616
8616
  "value_allowed_null": false
8617
8617
  },
@@ -557,8 +557,8 @@
557
557
  "DescribeTopicSyncReplica": [
558
558
  {
559
559
  "document": "",
560
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopicSyncReplica\n<公共请求参数>\n\n{\n \"InstanceId\": \"xx\",\n \"TopicName\": \"xxx\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"OutOfSyncReplicaOnly\": true\n}",
561
- "output": "{\n \"Response\": {\n \"Result\": {\n \"TotalCount\": 1,\n \"TopicInSyncReplicaList\": [\n {\n \"Partition\": \"xxxx\",\n \"Leader\": 1,\n \"Replica\": \"110,3551,2315\",\n \"InSyncReplica\": \"100,5526\",\n \"BeginOffset\": 10,\n \"EndOffset\": 10,\n \"MessageCount\": 1,\n \"OutOfSyncReplica\": \"120,51\"\n }\n ]\n },\n \"RequestId\": \"xx\"\n }\n}",
560
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopicSyncReplica\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"TopicName\": \"abc\",\n \"Offset\": 1,\n \"Limit\": 0,\n \"OutOfSyncReplicaOnly\": true\n}",
561
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TopicInSyncReplicaList\": [\n {\n \"Partition\": \"abc\",\n \"Leader\": 1,\n \"Replica\": \"abc\",\n \"InSyncReplica\": \"abc\",\n \"BeginOffset\": 1,\n \"EndOffset\": 1,\n \"MessageCount\": 1,\n \"OutOfSyncReplica\": \"abc\"\n }\n ],\n \"TotalCount\": 1\n },\n \"RequestId\": \"abc\"\n }\n}",
562
562
  "title": "Topic 未同步详情"
563
563
  }
564
564
  ],