tencentcloud-sdk-python-intl-en 3.0.1068__py2.py3-none-any.whl → 3.0.1070__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.
Files changed (30) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/models.py +3 -3
  3. tencentcloud/antiddos/v20200309/antiddos_client.py +23 -0
  4. tencentcloud/antiddos/v20200309/models.py +141 -0
  5. tencentcloud/apigateway/v20180808/apigateway_client.py +0 -1
  6. tencentcloud/apigateway/v20180808/models.py +5 -5
  7. tencentcloud/autoscaling/v20180419/errorcodes.py +9 -0
  8. tencentcloud/autoscaling/v20180419/models.py +216 -70
  9. tencentcloud/billing/v20180709/billing_client.py +23 -0
  10. tencentcloud/billing/v20180709/errorcodes.py +6 -0
  11. tencentcloud/billing/v20180709/models.py +227 -0
  12. tencentcloud/captcha/v20190722/models.py +17 -5
  13. tencentcloud/ciam/v20220331/models.py +15 -15
  14. tencentcloud/cvm/v20170312/models.py +0 -1
  15. tencentcloud/mdl/v20200326/models.py +12 -0
  16. tencentcloud/ocr/v20181119/models.py +56 -0
  17. tencentcloud/ocr/v20181119/ocr_client.py +1 -0
  18. tencentcloud/tcss/v20201101/models.py +433 -1
  19. tencentcloud/tmt/v20180321/errorcodes.py +21 -0
  20. tencentcloud/tmt/v20180321/models.py +1 -1
  21. tencentcloud/trtc/v20190722/models.py +58 -0
  22. tencentcloud/trtc/v20190722/trtc_client.py +23 -0
  23. tencentcloud/vod/v20180717/models.py +896 -9
  24. tencentcloud/vpc/v20170312/errorcodes.py +1 -1
  25. tencentcloud/vpc/v20170312/models.py +76 -0
  26. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  27. {tencentcloud_sdk_python_intl_en-3.0.1068.dist-info → tencentcloud_sdk_python_intl_en-3.0.1070.dist-info}/METADATA +1 -1
  28. {tencentcloud_sdk_python_intl_en-3.0.1068.dist-info → tencentcloud_sdk_python_intl_en-3.0.1070.dist-info}/RECORD +30 -30
  29. {tencentcloud_sdk_python_intl_en-3.0.1068.dist-info → tencentcloud_sdk_python_intl_en-3.0.1070.dist-info}/WHEEL +0 -0
  30. {tencentcloud_sdk_python_intl_en-3.0.1068.dist-info → tencentcloud_sdk_python_intl_en-3.0.1070.dist-info}/top_level.txt +0 -0
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.1068'
16
+ __version__ = '3.0.1070'
@@ -35,11 +35,11 @@ Image restrictions: The single-edge resolution must be less than 5,000 and great
35
35
  :type InputUrl: str
36
36
  :param _Prompt: Text description.
37
37
  It is used to increase the possibility that the generation result contains the described content.
38
- Chinese is recommended. A maximum of 256 UTF-8 characters are supported.
38
+ A maximum of 256 UTF-8 characters are supported.
39
39
  :type Prompt: str
40
40
  :param _NegativePrompt: Negative text description.
41
41
  It is used to reduce the possibility that the generation result contains the described content, but such content cannot be completely avoided.
42
- Chinese is recommended. A maximum of 256 UTF-8 characters are supported.
42
+ English is recommended. A maximum of 256 UTF-8 characters are supported.
43
43
  :type NegativePrompt: str
44
44
  :param _Styles: Image style.
45
45
  Select the desired style from the [Image Style List](https://intl.cloud.tencent.com/document/product/1668/86250?from_cn_redirect=1) and enter the style number.
@@ -69,7 +69,7 @@ The URL is valid for 1 hour.
69
69
  :param _EnhanceImage: Switch indicating whether to enhance image clarity. Default value: 0.
70
70
  1: on
71
71
  0: off
72
- If the switch is turned on, the image clarity will be enhanced, but the generation time will increase.
72
+ If the switch is turned on, the image clarity will be enhanced and the generation time will increase.
73
73
  :type EnhanceImage: int
74
74
  :param _RestoreFace: Maximum number of faces for detail restoration. Value range: 0 - 6. Default value: 0.
75
75
  If the input value is greater than 0, the value will be used as the maximum number of faces with a small area can be restored in each image. The generation time will increase according to the actual number of faces restored.
@@ -1040,6 +1040,29 @@ class AntiddosClient(AbstractClient):
1040
1040
  raise TencentCloudSDKException(type(e).__name__, str(e))
1041
1041
 
1042
1042
 
1043
+ def DescribeIpBlockList(self, request):
1044
+ """
1045
+
1046
+ :param request: Request instance for DescribeIpBlockList.
1047
+ :type request: :class:`tencentcloud.antiddos.v20200309.models.DescribeIpBlockListRequest`
1048
+ :rtype: :class:`tencentcloud.antiddos.v20200309.models.DescribeIpBlockListResponse`
1049
+
1050
+ """
1051
+ try:
1052
+ params = request._serialize()
1053
+ headers = request.headers
1054
+ body = self.call("DescribeIpBlockList", params, headers=headers)
1055
+ response = json.loads(body)
1056
+ model = models.DescribeIpBlockListResponse()
1057
+ model._deserialize(response["Response"])
1058
+ return model
1059
+ except Exception as e:
1060
+ if isinstance(e, TencentCloudSDKException):
1061
+ raise
1062
+ else:
1063
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1064
+
1065
+
1043
1066
  def DescribeL7RulesBySSLCertId(self, request):
1044
1067
  """This API is used to query layer-7 rules matched with certificate IDs.
1045
1068
 
@@ -7356,6 +7356,54 @@ class DescribeDefaultAlarmThresholdResponse(AbstractModel):
7356
7356
  self._RequestId = params.get("RequestId")
7357
7357
 
7358
7358
 
7359
+ class DescribeIpBlockListRequest(AbstractModel):
7360
+ """DescribeIpBlockList request structure.
7361
+
7362
+ """
7363
+
7364
+
7365
+ class DescribeIpBlockListResponse(AbstractModel):
7366
+ """DescribeIpBlockList response structure.
7367
+
7368
+ """
7369
+
7370
+ def __init__(self):
7371
+ r"""
7372
+ :param _List: IP block list
7373
+ :type List: list of IpBlockData
7374
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
7375
+ :type RequestId: str
7376
+ """
7377
+ self._List = None
7378
+ self._RequestId = None
7379
+
7380
+ @property
7381
+ def List(self):
7382
+ return self._List
7383
+
7384
+ @List.setter
7385
+ def List(self, List):
7386
+ self._List = List
7387
+
7388
+ @property
7389
+ def RequestId(self):
7390
+ return self._RequestId
7391
+
7392
+ @RequestId.setter
7393
+ def RequestId(self, RequestId):
7394
+ self._RequestId = RequestId
7395
+
7396
+
7397
+ def _deserialize(self, params):
7398
+ if params.get("List") is not None:
7399
+ self._List = []
7400
+ for item in params.get("List"):
7401
+ obj = IpBlockData()
7402
+ obj._deserialize(item)
7403
+ self._List.append(obj)
7404
+ self._RequestId = params.get("RequestId")
7405
+
7406
+
7359
7407
  class DescribeL7RulesBySSLCertIdRequest(AbstractModel):
7360
7408
  """DescribeL7RulesBySSLCertId request structure.
7361
7409
 
@@ -10630,6 +10678,99 @@ class InstanceRelation(AbstractModel):
10630
10678
 
10631
10679
 
10632
10680
 
10681
+ class IpBlockData(AbstractModel):
10682
+ """
10683
+
10684
+ """
10685
+
10686
+ def __init__(self):
10687
+ r"""
10688
+ :param _Status:
10689
+ :type Status: str
10690
+ :param _Ip:
10691
+ :type Ip: str
10692
+ :param _BlockTime:
10693
+ :type BlockTime: str
10694
+ :param _UnBlockTime:
10695
+ :type UnBlockTime: str
10696
+ :param _ActionType:
10697
+ :type ActionType: str
10698
+ :param _ProtectFlag:
10699
+ :type ProtectFlag: int
10700
+ """
10701
+ self._Status = None
10702
+ self._Ip = None
10703
+ self._BlockTime = None
10704
+ self._UnBlockTime = None
10705
+ self._ActionType = None
10706
+ self._ProtectFlag = None
10707
+
10708
+ @property
10709
+ def Status(self):
10710
+ return self._Status
10711
+
10712
+ @Status.setter
10713
+ def Status(self, Status):
10714
+ self._Status = Status
10715
+
10716
+ @property
10717
+ def Ip(self):
10718
+ return self._Ip
10719
+
10720
+ @Ip.setter
10721
+ def Ip(self, Ip):
10722
+ self._Ip = Ip
10723
+
10724
+ @property
10725
+ def BlockTime(self):
10726
+ return self._BlockTime
10727
+
10728
+ @BlockTime.setter
10729
+ def BlockTime(self, BlockTime):
10730
+ self._BlockTime = BlockTime
10731
+
10732
+ @property
10733
+ def UnBlockTime(self):
10734
+ return self._UnBlockTime
10735
+
10736
+ @UnBlockTime.setter
10737
+ def UnBlockTime(self, UnBlockTime):
10738
+ self._UnBlockTime = UnBlockTime
10739
+
10740
+ @property
10741
+ def ActionType(self):
10742
+ return self._ActionType
10743
+
10744
+ @ActionType.setter
10745
+ def ActionType(self, ActionType):
10746
+ self._ActionType = ActionType
10747
+
10748
+ @property
10749
+ def ProtectFlag(self):
10750
+ return self._ProtectFlag
10751
+
10752
+ @ProtectFlag.setter
10753
+ def ProtectFlag(self, ProtectFlag):
10754
+ self._ProtectFlag = ProtectFlag
10755
+
10756
+
10757
+ def _deserialize(self, params):
10758
+ self._Status = params.get("Status")
10759
+ self._Ip = params.get("Ip")
10760
+ self._BlockTime = params.get("BlockTime")
10761
+ self._UnBlockTime = params.get("UnBlockTime")
10762
+ self._ActionType = params.get("ActionType")
10763
+ self._ProtectFlag = params.get("ProtectFlag")
10764
+ memeber_set = set(params.keys())
10765
+ for name, value in vars(self).items():
10766
+ property_name = name[1:]
10767
+ if property_name in memeber_set:
10768
+ memeber_set.remove(property_name)
10769
+ if len(memeber_set) > 0:
10770
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10771
+
10772
+
10773
+
10633
10774
  class IpSegment(AbstractModel):
10634
10775
  """Structure of IP range
10635
10776
 
@@ -913,7 +913,6 @@ class ApigatewayClient(AbstractClient):
913
913
  def DescribeApiKeysStatus(self, request):
914
914
  """This API is used to query the information of one or more API keys.
915
915
 
916
-
917
916
  :param request: Request instance for DescribeApiKeysStatus.
918
917
  :type request: :class:`tencentcloud.apigateway.v20180808.models.DescribeApiKeysStatusRequest`
919
918
  :rtype: :class:`tencentcloud.apigateway.v20180808.models.DescribeApiKeysStatusResponse`
@@ -2304,13 +2304,13 @@ class AttachPluginRequest(AbstractModel):
2304
2304
 
2305
2305
  def __init__(self):
2306
2306
  r"""
2307
- :param _PluginId: ID of the plugin to be bound.
2307
+ :param _PluginId: ID of the bound API gateway plugin.
2308
2308
  :type PluginId: str
2309
- :param _ServiceId: Service ID.
2309
+ :param _ServiceId: ID of the service to be operated
2310
2310
  :type ServiceId: str
2311
- :param _EnvironmentName: API environment.
2311
+ :param _EnvironmentName: Environment for operating the API.
2312
2312
  :type EnvironmentName: str
2313
- :param _ApiIds: List of APIs bound with the plugin
2313
+ :param _ApiIds: List of APIs to be bound.
2314
2314
  :type ApiIds: list of str
2315
2315
  """
2316
2316
  self._PluginId = None
@@ -2373,7 +2373,7 @@ class AttachPluginResponse(AbstractModel):
2373
2373
 
2374
2374
  def __init__(self):
2375
2375
  r"""
2376
- :param _Result: Whether binding succeeded.
2376
+ :param _Result: Whether the binding operation is successful.
2377
2377
  :type Result: bool
2378
2378
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2379
2379
  :type RequestId: str
@@ -110,6 +110,9 @@ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
110
110
  # The bandwidth package ID is not supported in this account.
111
111
  INVALIDPARAMETERVALUE_ACCOUNTNOTSUPPORTBANDWIDTHPACKAGEID = 'InvalidParameterValue.AccountNotSupportBandwidthPackageId'
112
112
 
113
+ # The declared original expected instance number does not match the actual original expected instance number.
114
+ INVALIDPARAMETERVALUE_ASSERTDESIREDCAPACITYFAILED = 'InvalidParameterValue.AssertDesiredCapacityFailed'
115
+
113
116
  # The specified base capacity cannot exceed the max capacity.
114
117
  INVALIDPARAMETERVALUE_BASECAPACITYTOOLARGE = 'InvalidParameterValue.BaseCapacityTooLarge'
115
118
 
@@ -152,6 +155,9 @@ INVALIDPARAMETERVALUE_GROUPNAMEDUPLICATED = 'InvalidParameterValue.GroupNameDupl
152
155
  # Invalid hostname
153
156
  INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = 'InvalidParameterValue.HostNameIllegal'
154
157
 
158
+ # HostNames with suffixes are too long and exceed the specified upper limit.
159
+ INVALIDPARAMETERVALUE_HOSTNAMEWITHSUFFIXTOOLONG = 'InvalidParameterValue.HostNameWithSuffixTooLong'
160
+
155
161
  # The specified IPv6 public network bandwidth billing mode is invalid.
156
162
  INVALIDPARAMETERVALUE_IPV6INTERNETCHARGETYPE = 'InvalidParameterValue.IPv6InternetChargeType'
157
163
 
@@ -161,6 +167,9 @@ INVALIDPARAMETERVALUE_IMAGENOTFOUND = 'InvalidParameterValue.ImageNotFound'
161
167
  # Invalid instance name
162
168
  INVALIDPARAMETERVALUE_INSTANCENAMEILLEGAL = 'InvalidParameterValue.InstanceNameIllegal'
163
169
 
170
+ # Instance names with suffixes are too long and exceed the specified upper limit.
171
+ INVALIDPARAMETERVALUE_INSTANCENAMEWITHSUFFIXTOOLONG = 'InvalidParameterValue.InstanceNameWithSuffixTooLong'
172
+
164
173
  # The instance type is not supported.
165
174
  INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = 'InvalidParameterValue.InstanceTypeNotSupported'
166
175