tencentcloud-sdk-python-tcb 3.1.70__tar.gz → 3.1.77__tar.gz

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 (17) hide show
  1. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud/tcb/v20180608/errorcodes.py +12 -0
  5. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud/tcb/v20180608/models.py +158 -173
  6. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud/tcb/v20180608/tcb_client.py +7 -30
  7. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud/tcb/v20180608/tcb_client_async.py +6 -24
  8. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_tcb-3.1.77/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_tcb-3.1.70/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/README.rst +0 -0
  12. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud/tcb/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud/tcb/v20180608/__init__.py +0 -0
  15. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tcb-3.1.70 → tencentcloud_sdk_python_tcb-3.1.77}/tencentcloud_sdk_python_tcb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcb
3
- Version: 3.1.70
3
+ Version: 3.1.77
4
4
  Summary: Tencent Cloud Tcb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.70
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.77
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-tcb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.70,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.77,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tcb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.70'
17
+ __version__ = '3.1.77'
@@ -47,6 +47,9 @@ FAILEDOPERATION_EMPTYDATABASEENDPOINT = 'FailedOperation.EmptyDatabaseEndpoint'
47
47
  # FailedOperation.FlexdbResourceOverdue
48
48
  FAILEDOPERATION_FLEXDBRESOURCEOVERDUE = 'FailedOperation.FlexdbResourceOverdue'
49
49
 
50
+ # Instance status does not match the required status for this operation.
51
+ FAILEDOPERATION_INSTANCESTATUSCONFLICT = 'FailedOperation.InstanceStatusConflict'
52
+
50
53
  # 无效上下文
51
54
  FAILEDOPERATION_INVALIDCONTEXT = 'FailedOperation.InvalidContext'
52
55
 
@@ -56,6 +59,12 @@ FAILEDOPERATION_LISTTABLE = 'FailedOperation.ListTable'
56
59
  # 网络异常
57
60
  FAILEDOPERATION_NETWORKERROR = 'FailedOperation.NetworkError'
58
61
 
62
+ # Failed to connect to PostgreSQL instance.
63
+ FAILEDOPERATION_PGCONNECTERROR = 'FailedOperation.PGConnectError'
64
+
65
+ # Execute SQL error.
66
+ FAILEDOPERATION_PGEXECUTESQLERROR = 'FailedOperation.PGExecuteSqlError'
67
+
59
68
  # 查询异常
60
69
  FAILEDOPERATION_QUERYERROR = 'FailedOperation.QueryError'
61
70
 
@@ -197,6 +206,9 @@ RESOURCENOTFOUND_HTTPSERVICEDOMAIN = 'ResourceNotFound.HTTPServiceDomain'
197
206
  # 数据库实例不存在。
198
207
  RESOURCENOTFOUND_INSTANCENOTFOUND = 'ResourceNotFound.InstanceNotFound'
199
208
 
209
+ # Database role not found.
210
+ RESOURCENOTFOUND_ROLENOTFOUND = 'ResourceNotFound.RoleNotFound'
211
+
200
212
  # 请求的云托管服务未找到
201
213
  RESOURCENOTFOUND_SERVERNOTFOUND = 'ResourceNotFound.ServerNotFound'
202
214
 
@@ -9242,115 +9242,6 @@ class DropIndex(AbstractModel):
9242
9242
 
9243
9243
 
9244
9244
 
9245
- class EditAuthConfigRequest(AbstractModel):
9246
- r"""EditAuthConfig请求参数结构体
9247
-
9248
- """
9249
-
9250
- def __init__(self):
9251
- r"""
9252
- :param _EnvId: 环境id
9253
- :type EnvId: str
9254
- :param _PhoneNumberLogin: 手机号登录配置 "TRUE", "FALSE", "LOGIN_ONLY"
9255
- :type PhoneNumberLogin: str
9256
- :param _AnonymousLogin: 匿名登录配置 "TRUE", "FALSE"
9257
- :type AnonymousLogin: str
9258
- :param _UsernameLogin: 用户名密码登录配置 "TRUE", "FALSE"
9259
- :type UsernameLogin: str
9260
- """
9261
- self._EnvId = None
9262
- self._PhoneNumberLogin = None
9263
- self._AnonymousLogin = None
9264
- self._UsernameLogin = None
9265
-
9266
- @property
9267
- def EnvId(self):
9268
- r"""环境id
9269
- :rtype: str
9270
- """
9271
- return self._EnvId
9272
-
9273
- @EnvId.setter
9274
- def EnvId(self, EnvId):
9275
- self._EnvId = EnvId
9276
-
9277
- @property
9278
- def PhoneNumberLogin(self):
9279
- r"""手机号登录配置 "TRUE", "FALSE", "LOGIN_ONLY"
9280
- :rtype: str
9281
- """
9282
- return self._PhoneNumberLogin
9283
-
9284
- @PhoneNumberLogin.setter
9285
- def PhoneNumberLogin(self, PhoneNumberLogin):
9286
- self._PhoneNumberLogin = PhoneNumberLogin
9287
-
9288
- @property
9289
- def AnonymousLogin(self):
9290
- r"""匿名登录配置 "TRUE", "FALSE"
9291
- :rtype: str
9292
- """
9293
- return self._AnonymousLogin
9294
-
9295
- @AnonymousLogin.setter
9296
- def AnonymousLogin(self, AnonymousLogin):
9297
- self._AnonymousLogin = AnonymousLogin
9298
-
9299
- @property
9300
- def UsernameLogin(self):
9301
- r"""用户名密码登录配置 "TRUE", "FALSE"
9302
- :rtype: str
9303
- """
9304
- return self._UsernameLogin
9305
-
9306
- @UsernameLogin.setter
9307
- def UsernameLogin(self, UsernameLogin):
9308
- self._UsernameLogin = UsernameLogin
9309
-
9310
-
9311
- def _deserialize(self, params):
9312
- self._EnvId = params.get("EnvId")
9313
- self._PhoneNumberLogin = params.get("PhoneNumberLogin")
9314
- self._AnonymousLogin = params.get("AnonymousLogin")
9315
- self._UsernameLogin = params.get("UsernameLogin")
9316
- memeber_set = set(params.keys())
9317
- for name, value in vars(self).items():
9318
- property_name = name[1:]
9319
- if property_name in memeber_set:
9320
- memeber_set.remove(property_name)
9321
- if len(memeber_set) > 0:
9322
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9323
-
9324
-
9325
-
9326
- class EditAuthConfigResponse(AbstractModel):
9327
- r"""EditAuthConfig返回参数结构体
9328
-
9329
- """
9330
-
9331
- def __init__(self):
9332
- r"""
9333
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9334
- :type RequestId: str
9335
- """
9336
- self._RequestId = None
9337
-
9338
- @property
9339
- def RequestId(self):
9340
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9341
- :rtype: str
9342
- """
9343
- return self._RequestId
9344
-
9345
- @RequestId.setter
9346
- def RequestId(self, RequestId):
9347
- self._RequestId = RequestId
9348
-
9349
-
9350
- def _deserialize(self, params):
9351
- self._RequestId = params.get("RequestId")
9352
-
9353
-
9354
9245
  class EmailProviderConfig(AbstractModel):
9355
9246
  r"""邮箱登录配置
9356
9247
 
@@ -10328,6 +10219,164 @@ class EnvInfo(AbstractModel):
10328
10219
 
10329
10220
 
10330
10221
 
10222
+ class ExecutePGSqlRequest(AbstractModel):
10223
+ r"""ExecutePGSql请求参数结构体
10224
+
10225
+ """
10226
+
10227
+ def __init__(self):
10228
+ r"""
10229
+ :param _EnvId: <p>云开发环境ID</p>
10230
+ :type EnvId: str
10231
+ :param _Sql: <p>要执行的SQL语句</p>
10232
+ :type Sql: str
10233
+ :param _Role: <p>指定 role 执行 SQL</p>
10234
+ :type Role: str
10235
+ """
10236
+ self._EnvId = None
10237
+ self._Sql = None
10238
+ self._Role = None
10239
+
10240
+ @property
10241
+ def EnvId(self):
10242
+ r"""<p>云开发环境ID</p>
10243
+ :rtype: str
10244
+ """
10245
+ return self._EnvId
10246
+
10247
+ @EnvId.setter
10248
+ def EnvId(self, EnvId):
10249
+ self._EnvId = EnvId
10250
+
10251
+ @property
10252
+ def Sql(self):
10253
+ r"""<p>要执行的SQL语句</p>
10254
+ :rtype: str
10255
+ """
10256
+ return self._Sql
10257
+
10258
+ @Sql.setter
10259
+ def Sql(self, Sql):
10260
+ self._Sql = Sql
10261
+
10262
+ @property
10263
+ def Role(self):
10264
+ r"""<p>指定 role 执行 SQL</p>
10265
+ :rtype: str
10266
+ """
10267
+ return self._Role
10268
+
10269
+ @Role.setter
10270
+ def Role(self, Role):
10271
+ self._Role = Role
10272
+
10273
+
10274
+ def _deserialize(self, params):
10275
+ self._EnvId = params.get("EnvId")
10276
+ self._Sql = params.get("Sql")
10277
+ self._Role = params.get("Role")
10278
+ memeber_set = set(params.keys())
10279
+ for name, value in vars(self).items():
10280
+ property_name = name[1:]
10281
+ if property_name in memeber_set:
10282
+ memeber_set.remove(property_name)
10283
+ if len(memeber_set) > 0:
10284
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10285
+
10286
+
10287
+
10288
+ class ExecutePGSqlResponse(AbstractModel):
10289
+ r"""ExecutePGSql返回参数结构体
10290
+
10291
+ """
10292
+
10293
+ def __init__(self):
10294
+ r"""
10295
+ :param _AffectedRows: <p>影响行数</p>
10296
+ :type AffectedRows: int
10297
+ :param _Columns: <p>字段名列表</p>
10298
+ 注意:此字段可能返回 null,表示取不到有效值。
10299
+ :type Columns: list of str
10300
+ :param _Rows: <p>数据行。每一行数据都是一个JSON串,将JSON进行反序列化将得到了每列的值。值可能是 null 或者 字符串,如果是 null 说明该列的值为 &lt;null&gt;,如果是字符串则为该列的值的字符串表示形式。</p>
10301
+ 注意:此字段可能返回 null,表示取不到有效值。
10302
+ :type Rows: list of str
10303
+ :param _ExecutionTimeMs: <p>SQL执行耗时</p><p>单位:毫秒</p>
10304
+ :type ExecutionTimeMs: int
10305
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10306
+ :type RequestId: str
10307
+ """
10308
+ self._AffectedRows = None
10309
+ self._Columns = None
10310
+ self._Rows = None
10311
+ self._ExecutionTimeMs = None
10312
+ self._RequestId = None
10313
+
10314
+ @property
10315
+ def AffectedRows(self):
10316
+ r"""<p>影响行数</p>
10317
+ :rtype: int
10318
+ """
10319
+ return self._AffectedRows
10320
+
10321
+ @AffectedRows.setter
10322
+ def AffectedRows(self, AffectedRows):
10323
+ self._AffectedRows = AffectedRows
10324
+
10325
+ @property
10326
+ def Columns(self):
10327
+ r"""<p>字段名列表</p>
10328
+ 注意:此字段可能返回 null,表示取不到有效值。
10329
+ :rtype: list of str
10330
+ """
10331
+ return self._Columns
10332
+
10333
+ @Columns.setter
10334
+ def Columns(self, Columns):
10335
+ self._Columns = Columns
10336
+
10337
+ @property
10338
+ def Rows(self):
10339
+ r"""<p>数据行。每一行数据都是一个JSON串,将JSON进行反序列化将得到了每列的值。值可能是 null 或者 字符串,如果是 null 说明该列的值为 &lt;null&gt;,如果是字符串则为该列的值的字符串表示形式。</p>
10340
+ 注意:此字段可能返回 null,表示取不到有效值。
10341
+ :rtype: list of str
10342
+ """
10343
+ return self._Rows
10344
+
10345
+ @Rows.setter
10346
+ def Rows(self, Rows):
10347
+ self._Rows = Rows
10348
+
10349
+ @property
10350
+ def ExecutionTimeMs(self):
10351
+ r"""<p>SQL执行耗时</p><p>单位:毫秒</p>
10352
+ :rtype: int
10353
+ """
10354
+ return self._ExecutionTimeMs
10355
+
10356
+ @ExecutionTimeMs.setter
10357
+ def ExecutionTimeMs(self, ExecutionTimeMs):
10358
+ self._ExecutionTimeMs = ExecutionTimeMs
10359
+
10360
+ @property
10361
+ def RequestId(self):
10362
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10363
+ :rtype: str
10364
+ """
10365
+ return self._RequestId
10366
+
10367
+ @RequestId.setter
10368
+ def RequestId(self, RequestId):
10369
+ self._RequestId = RequestId
10370
+
10371
+
10372
+ def _deserialize(self, params):
10373
+ self._AffectedRows = params.get("AffectedRows")
10374
+ self._Columns = params.get("Columns")
10375
+ self._Rows = params.get("Rows")
10376
+ self._ExecutionTimeMs = params.get("ExecutionTimeMs")
10377
+ self._RequestId = params.get("RequestId")
10378
+
10379
+
10331
10380
  class ExternalStorage(AbstractModel):
10332
10381
  r"""外部存储。
10333
10382
  标识该存储介质,并非由云开发CloudBase创建,而是绑定的其他存储介质。
@@ -16482,70 +16531,6 @@ class ProviderResponseParametersMap(AbstractModel):
16482
16531
 
16483
16532
 
16484
16533
 
16485
- class ReinstateEnvRequest(AbstractModel):
16486
- r"""ReinstateEnv请求参数结构体
16487
-
16488
- """
16489
-
16490
- def __init__(self):
16491
- r"""
16492
- :param _EnvId: 环境ID
16493
- :type EnvId: str
16494
- """
16495
- self._EnvId = None
16496
-
16497
- @property
16498
- def EnvId(self):
16499
- r"""环境ID
16500
- :rtype: str
16501
- """
16502
- return self._EnvId
16503
-
16504
- @EnvId.setter
16505
- def EnvId(self, EnvId):
16506
- self._EnvId = EnvId
16507
-
16508
-
16509
- def _deserialize(self, params):
16510
- self._EnvId = params.get("EnvId")
16511
- memeber_set = set(params.keys())
16512
- for name, value in vars(self).items():
16513
- property_name = name[1:]
16514
- if property_name in memeber_set:
16515
- memeber_set.remove(property_name)
16516
- if len(memeber_set) > 0:
16517
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16518
-
16519
-
16520
-
16521
- class ReinstateEnvResponse(AbstractModel):
16522
- r"""ReinstateEnv返回参数结构体
16523
-
16524
- """
16525
-
16526
- def __init__(self):
16527
- r"""
16528
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16529
- :type RequestId: str
16530
- """
16531
- self._RequestId = None
16532
-
16533
- @property
16534
- def RequestId(self):
16535
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16536
- :rtype: str
16537
- """
16538
- return self._RequestId
16539
-
16540
- @RequestId.setter
16541
- def RequestId(self, RequestId):
16542
- self._RequestId = RequestId
16543
-
16544
-
16545
- def _deserialize(self, params):
16546
- self._RequestId = params.get("RequestId")
16547
-
16548
-
16549
16534
  class RenewEnvRequest(AbstractModel):
16550
16535
  r"""RenewEnv请求参数结构体
16551
16536
 
@@ -1299,20 +1299,20 @@ class TcbClient(AbstractClient):
1299
1299
  raise TencentCloudSDKException(type(e).__name__, str(e))
1300
1300
 
1301
1301
 
1302
- def EditAuthConfig(self, request):
1303
- r"""修改登录配置
1302
+ def ExecutePGSql(self, request):
1303
+ r"""在Postgres数据库上执行SQL
1304
1304
 
1305
- :param request: Request instance for EditAuthConfig.
1306
- :type request: :class:`tencentcloud.tcb.v20180608.models.EditAuthConfigRequest`
1307
- :rtype: :class:`tencentcloud.tcb.v20180608.models.EditAuthConfigResponse`
1305
+ :param request: Request instance for ExecutePGSql.
1306
+ :type request: :class:`tencentcloud.tcb.v20180608.models.ExecutePGSqlRequest`
1307
+ :rtype: :class:`tencentcloud.tcb.v20180608.models.ExecutePGSqlResponse`
1308
1308
 
1309
1309
  """
1310
1310
  try:
1311
1311
  params = request._serialize()
1312
1312
  headers = request.headers
1313
- body = self.call("EditAuthConfig", params, headers=headers)
1313
+ body = self.call("ExecutePGSql", params, headers=headers)
1314
1314
  response = json.loads(body)
1315
- model = models.EditAuthConfigResponse()
1315
+ model = models.ExecutePGSqlResponse()
1316
1316
  model._deserialize(response["Response"])
1317
1317
  return model
1318
1318
  except Exception as e:
@@ -1630,29 +1630,6 @@ class TcbClient(AbstractClient):
1630
1630
  raise TencentCloudSDKException(type(e).__name__, str(e))
1631
1631
 
1632
1632
 
1633
- def ReinstateEnv(self, request):
1634
- r"""针对已隔离的免费环境,可以通过本接口将其恢复访问。
1635
-
1636
- :param request: Request instance for ReinstateEnv.
1637
- :type request: :class:`tencentcloud.tcb.v20180608.models.ReinstateEnvRequest`
1638
- :rtype: :class:`tencentcloud.tcb.v20180608.models.ReinstateEnvResponse`
1639
-
1640
- """
1641
- try:
1642
- params = request._serialize()
1643
- headers = request.headers
1644
- body = self.call("ReinstateEnv", params, headers=headers)
1645
- response = json.loads(body)
1646
- model = models.ReinstateEnvResponse()
1647
- model._deserialize(response["Response"])
1648
- return model
1649
- except Exception as e:
1650
- if isinstance(e, TencentCloudSDKException):
1651
- raise
1652
- else:
1653
- raise TencentCloudSDKException(type(e).__name__, str(e))
1654
-
1655
-
1656
1633
  def RenewEnv(self, request):
1657
1634
  r"""本接口用于云开发环境套餐续费。
1658
1635
  该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
@@ -1038,19 +1038,19 @@ class TcbClient(AbstractClient):
1038
1038
 
1039
1039
  return await self.call_and_deserialize(**kwargs)
1040
1040
 
1041
- async def EditAuthConfig(
1041
+ async def ExecutePGSql(
1042
1042
  self,
1043
- request: models.EditAuthConfigRequest,
1043
+ request: models.ExecutePGSqlRequest,
1044
1044
  opts: Dict = None,
1045
- ) -> models.EditAuthConfigResponse:
1045
+ ) -> models.ExecutePGSqlResponse:
1046
1046
  """
1047
- 修改登录配置
1047
+ 在Postgres数据库上执行SQL
1048
1048
  """
1049
1049
 
1050
1050
  kwargs = {}
1051
- kwargs["action"] = "EditAuthConfig"
1051
+ kwargs["action"] = "ExecutePGSql"
1052
1052
  kwargs["params"] = request._serialize()
1053
- kwargs["resp_cls"] = models.EditAuthConfigResponse
1053
+ kwargs["resp_cls"] = models.ExecutePGSqlResponse
1054
1054
  kwargs["headers"] = request.headers
1055
1055
  kwargs["opts"] = opts or {}
1056
1056
 
@@ -1299,24 +1299,6 @@ class TcbClient(AbstractClient):
1299
1299
 
1300
1300
  return await self.call_and_deserialize(**kwargs)
1301
1301
 
1302
- async def ReinstateEnv(
1303
- self,
1304
- request: models.ReinstateEnvRequest,
1305
- opts: Dict = None,
1306
- ) -> models.ReinstateEnvResponse:
1307
- """
1308
- 针对已隔离的免费环境,可以通过本接口将其恢复访问。
1309
- """
1310
-
1311
- kwargs = {}
1312
- kwargs["action"] = "ReinstateEnv"
1313
- kwargs["params"] = request._serialize()
1314
- kwargs["resp_cls"] = models.ReinstateEnvResponse
1315
- kwargs["headers"] = request.headers
1316
- kwargs["opts"] = opts or {}
1317
-
1318
- return await self.call_and_deserialize(**kwargs)
1319
-
1320
1302
  async def RenewEnv(
1321
1303
  self,
1322
1304
  request: models.RenewEnvRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcb
3
- Version: 3.1.70
3
+ Version: 3.1.77
4
4
  Summary: Tencent Cloud Tcb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.70
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.77
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.77
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.70