tencentcloud-sdk-python-intl-en 3.0.1233__py2.py3-none-any.whl → 3.0.1234__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1233'
16
+ __version__ = '3.0.1234'
@@ -10106,6 +10106,8 @@ ccli billing DescribeBillDetail --cli-unfold-argument --Offset 1 --Limit 100 --M
10106
10106
 
10107
10107
  @property
10108
10108
  def ProductCode(self):
10109
+ warnings.warn("parameter `ProductCode` is deprecated", DeprecationWarning)
10110
+
10109
10111
  """Queries information on a specified product
10110
10112
  :rtype: str
10111
10113
  """
@@ -10113,6 +10115,8 @@ ccli billing DescribeBillDetail --cli-unfold-argument --Offset 1 --Limit 100 --M
10113
10115
 
10114
10116
  @ProductCode.setter
10115
10117
  def ProductCode(self, ProductCode):
10118
+ warnings.warn("parameter `ProductCode` is deprecated", DeprecationWarning)
10119
+
10116
10120
  self._ProductCode = ProductCode
10117
10121
 
10118
10122
  @property
@@ -96,6 +96,29 @@ class EmrClient(AbstractClient):
96
96
  raise TencentCloudSDKException(type(e).__name__, str(e))
97
97
 
98
98
 
99
+ def CreateSLInstance(self, request):
100
+ """This API is used to create a Serverless HBase instance.- If the API call is successful, a Serverless HBase instance will be created. If the instance creation request is successful, the InstanceId of the created instance and the RequestID of the request will be returned.- This is an asynchronous API. The operation is not completed immediately when the API call returns. The instance operation result can be viewed by calling DescribeInstancesList to view the StatusDesc status of the current instance.
101
+
102
+ :param request: Request instance for CreateSLInstance.
103
+ :type request: :class:`tencentcloud.emr.v20190103.models.CreateSLInstanceRequest`
104
+ :rtype: :class:`tencentcloud.emr.v20190103.models.CreateSLInstanceResponse`
105
+
106
+ """
107
+ try:
108
+ params = request._serialize()
109
+ headers = request.headers
110
+ body = self.call("CreateSLInstance", params, headers=headers)
111
+ response = json.loads(body)
112
+ model = models.CreateSLInstanceResponse()
113
+ model._deserialize(response["Response"])
114
+ return model
115
+ except Exception as e:
116
+ if isinstance(e, TencentCloudSDKException):
117
+ raise
118
+ else:
119
+ raise TencentCloudSDKException(type(e).__name__, str(e))
120
+
121
+
99
122
  def DescribeAutoScaleRecords(self, request):
100
123
  """This API is used to inquiry detailed records of cluster autoscaling.
101
124
 
@@ -257,6 +280,52 @@ class EmrClient(AbstractClient):
257
280
  raise TencentCloudSDKException(type(e).__name__, str(e))
258
281
 
259
282
 
283
+ def DescribeSLInstance(self, request):
284
+ """This API is used to query the basic information of Serverless HBase instances.
285
+
286
+ :param request: Request instance for DescribeSLInstance.
287
+ :type request: :class:`tencentcloud.emr.v20190103.models.DescribeSLInstanceRequest`
288
+ :rtype: :class:`tencentcloud.emr.v20190103.models.DescribeSLInstanceResponse`
289
+
290
+ """
291
+ try:
292
+ params = request._serialize()
293
+ headers = request.headers
294
+ body = self.call("DescribeSLInstance", params, headers=headers)
295
+ response = json.loads(body)
296
+ model = models.DescribeSLInstanceResponse()
297
+ model._deserialize(response["Response"])
298
+ return model
299
+ except Exception as e:
300
+ if isinstance(e, TencentCloudSDKException):
301
+ raise
302
+ else:
303
+ raise TencentCloudSDKException(type(e).__name__, str(e))
304
+
305
+
306
+ def DescribeSLInstanceList(self, request):
307
+ """This API is used to query the detailed information of the Serverless HBase instance list.
308
+
309
+ :param request: Request instance for DescribeSLInstanceList.
310
+ :type request: :class:`tencentcloud.emr.v20190103.models.DescribeSLInstanceListRequest`
311
+ :rtype: :class:`tencentcloud.emr.v20190103.models.DescribeSLInstanceListResponse`
312
+
313
+ """
314
+ try:
315
+ params = request._serialize()
316
+ headers = request.headers
317
+ body = self.call("DescribeSLInstanceList", params, headers=headers)
318
+ response = json.loads(body)
319
+ model = models.DescribeSLInstanceListResponse()
320
+ model._deserialize(response["Response"])
321
+ return model
322
+ except Exception as e:
323
+ if isinstance(e, TencentCloudSDKException):
324
+ raise
325
+ else:
326
+ raise TencentCloudSDKException(type(e).__name__, str(e))
327
+
328
+
260
329
  def DescribeUsersForUserManager(self, request):
261
330
  """This API is available for clusters with OpenLDAP components configured.
262
331
  This API is used to export users in batches. For a Kerberos cluster, set `NeedKeytabInfo` to `true` to obtain the download link of the Keytab file. If `SupportDownLoadKeyTab` is `true`, but `DownLoadKeyTabUrl` is null, the Keytab file is not ready yet (being generated) in the backend.
@@ -442,6 +511,52 @@ class EmrClient(AbstractClient):
442
511
  raise TencentCloudSDKException(type(e).__name__, str(e))
443
512
 
444
513
 
514
+ def ModifySLInstance(self, request):
515
+ """This API is used to resize a Serverless HBase instance.- If the API call is successful, a Serverless HBase instance will be created. If the instance creation request is successful, the RequestID of the request will be returned.- This is an asynchronous API. The operation is not completed immediately when the API call returns. The instance operation result can be viewed by calling DescribeInstancesList to view the StatusDesc status of the current instance.
516
+
517
+ :param request: Request instance for ModifySLInstance.
518
+ :type request: :class:`tencentcloud.emr.v20190103.models.ModifySLInstanceRequest`
519
+ :rtype: :class:`tencentcloud.emr.v20190103.models.ModifySLInstanceResponse`
520
+
521
+ """
522
+ try:
523
+ params = request._serialize()
524
+ headers = request.headers
525
+ body = self.call("ModifySLInstance", params, headers=headers)
526
+ response = json.loads(body)
527
+ model = models.ModifySLInstanceResponse()
528
+ model._deserialize(response["Response"])
529
+ return model
530
+ except Exception as e:
531
+ if isinstance(e, TencentCloudSDKException):
532
+ raise
533
+ else:
534
+ raise TencentCloudSDKException(type(e).__name__, str(e))
535
+
536
+
537
+ def ModifySLInstanceBasic(self, request):
538
+ """This API is used to modify the Serverless HBase instance name.
539
+
540
+ :param request: Request instance for ModifySLInstanceBasic.
541
+ :type request: :class:`tencentcloud.emr.v20190103.models.ModifySLInstanceBasicRequest`
542
+ :rtype: :class:`tencentcloud.emr.v20190103.models.ModifySLInstanceBasicResponse`
543
+
544
+ """
545
+ try:
546
+ params = request._serialize()
547
+ headers = request.headers
548
+ body = self.call("ModifySLInstanceBasic", params, headers=headers)
549
+ response = json.loads(body)
550
+ model = models.ModifySLInstanceBasicResponse()
551
+ model._deserialize(response["Response"])
552
+ return model
553
+ except Exception as e:
554
+ if isinstance(e, TencentCloudSDKException):
555
+ raise
556
+ else:
557
+ raise TencentCloudSDKException(type(e).__name__, str(e))
558
+
559
+
445
560
  def ModifyUserManagerPwd(self, request):
446
561
  """This API is used to change user password (user management).
447
562
 
@@ -580,6 +695,29 @@ class EmrClient(AbstractClient):
580
695
  raise TencentCloudSDKException(type(e).__name__, str(e))
581
696
 
582
697
 
698
+ def TerminateSLInstance(self, request):
699
+ """This API is used to terminate a Serverless HBase instance.
700
+
701
+ :param request: Request instance for TerminateSLInstance.
702
+ :type request: :class:`tencentcloud.emr.v20190103.models.TerminateSLInstanceRequest`
703
+ :rtype: :class:`tencentcloud.emr.v20190103.models.TerminateSLInstanceResponse`
704
+
705
+ """
706
+ try:
707
+ params = request._serialize()
708
+ headers = request.headers
709
+ body = self.call("TerminateSLInstance", params, headers=headers)
710
+ response = json.loads(body)
711
+ model = models.TerminateSLInstanceResponse()
712
+ model._deserialize(response["Response"])
713
+ return model
714
+ except Exception as e:
715
+ if isinstance(e, TencentCloudSDKException):
716
+ raise
717
+ else:
718
+ raise TencentCloudSDKException(type(e).__name__, str(e))
719
+
720
+
583
721
  def TerminateTasks(self, request):
584
722
  """This API is used to terminate a task node.
585
723
 
@@ -221,6 +221,9 @@ INVALIDPARAMETER_INVALIDMETATYPE = 'InvalidParameter.InvalidMetaType'
221
221
  # Invalid target specification.
222
222
  INVALIDPARAMETER_INVALIDMODIFYSPEC = 'InvalidParameter.InvalidModifySpec'
223
223
 
224
+ # Illegal node count.
225
+ INVALIDPARAMETER_INVALIDNODECOUNT = 'InvalidParameter.InvalidNodeCount'
226
+
224
227
  # Incorrect node type.
225
228
  INVALIDPARAMETER_INVALIDNODEFLAG = 'InvalidParameter.InvalidNodeFlag'
226
229
 
@@ -305,6 +308,9 @@ INVALIDPARAMETER_INVALIDTIMEUNIT = 'InvalidParameter.InvalidTimeUnit'
305
308
  # The TKE cluster ID is invalid, or the TKE cluster is not eligible.
306
309
  INVALIDPARAMETER_INVALIDTKEINSTANCE = 'InvalidParameter.InvalidTkeInstance'
307
310
 
311
+ # Parent account UIN parameter input error.
312
+ INVALIDPARAMETER_INVALIDUINNUM = 'InvalidParameter.InvalidUinNum'
313
+
308
314
  # Invalid unified metadatabase.
309
315
  INVALIDPARAMETER_INVALIDUNIFYMETA = 'InvalidParameter.InvalidUnifyMeta'
310
316
 
@@ -362,6 +368,9 @@ RESOURCEINSUFFICIENT_DISKINSUFFICIENT = 'ResourceInsufficient.DiskInsufficient'
362
368
  # The node specification is unsupported or has been sold out.
363
369
  RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = 'ResourceInsufficient.InstanceInsufficient'
364
370
 
371
+ # Resources do not exist.
372
+ RESOURCENOTFOUND = 'ResourceNotFound'
373
+
365
374
  # The instance was not found.
366
375
  RESOURCENOTFOUND_CLUSTERNOTFOUND = 'ResourceNotFound.ClusterNotFound'
367
376
 
@@ -389,6 +398,9 @@ RESOURCENOTFOUND_TAGSNOTFOUND = 'ResourceNotFound.TagsNotFound'
389
398
  # There is no default value of the current resource spec.
390
399
  RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = 'ResourceUnavailable.ResourceSpecNotDefaultSpec'
391
400
 
401
+ # The resource specification does not exist.
402
+ RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = 'ResourceUnavailable.ResourceSpecNotExist'
403
+
392
404
  # The resources have been sold out.
393
405
  RESOURCESSOLDOUT = 'ResourcesSoldOut'
394
406