tencentcloud-sdk-python-intl-en 3.0.1251__py2.py3-none-any.whl → 3.0.1253__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/bi/__init__.py +0 -0
- tencentcloud/bi/v20220105/__init__.py +0 -0
- tencentcloud/bi/v20220105/bi_client.py +72 -0
- tencentcloud/bi/v20220105/errorcodes.py +66 -0
- tencentcloud/bi/v20220105/models.py +959 -0
- tencentcloud/cfg/v20210820/models.py +30 -0
- tencentcloud/faceid/v20180301/models.py +36 -4
- tencentcloud/mps/v20190612/models.py +831 -106
- tencentcloud/mps/v20190612/mps_client.py +5 -6
- tencentcloud/sqlserver/v20180328/models.py +54 -32
- tencentcloud/teo/v20220901/errorcodes.py +46 -1
- tencentcloud/teo/v20220901/models.py +7726 -1879
- tencentcloud/teo/v20220901/teo_client.py +896 -29
- {tencentcloud_sdk_python_intl_en-3.0.1251.dist-info → tencentcloud_sdk_python_intl_en-3.0.1253.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1251.dist-info → tencentcloud_sdk_python_intl_en-3.0.1253.dist-info}/RECORD +18 -13
- {tencentcloud_sdk_python_intl_en-3.0.1251.dist-info → tencentcloud_sdk_python_intl_en-3.0.1253.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1251.dist-info → tencentcloud_sdk_python_intl_en-3.0.1253.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
File without changes
|
File without changes
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import json
|
17
|
+
|
18
|
+
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
19
|
+
from tencentcloud.common.abstract_client import AbstractClient
|
20
|
+
from tencentcloud.bi.v20220105 import models
|
21
|
+
|
22
|
+
|
23
|
+
class BiClient(AbstractClient):
|
24
|
+
_apiVersion = '2022-01-05'
|
25
|
+
_endpoint = 'bi.intl.tencentcloudapi.com'
|
26
|
+
_service = 'bi'
|
27
|
+
|
28
|
+
|
29
|
+
def ApplyEmbedInterval(self, request):
|
30
|
+
"""This API is used to extend the available time of a token with strong authentication.
|
31
|
+
|
32
|
+
:param request: Request instance for ApplyEmbedInterval.
|
33
|
+
:type request: :class:`tencentcloud.bi.v20220105.models.ApplyEmbedIntervalRequest`
|
34
|
+
:rtype: :class:`tencentcloud.bi.v20220105.models.ApplyEmbedIntervalResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("ApplyEmbedInterval", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.ApplyEmbedIntervalResponse()
|
43
|
+
model._deserialize(response["Response"])
|
44
|
+
return model
|
45
|
+
except Exception as e:
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
47
|
+
raise
|
48
|
+
else:
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
+
|
51
|
+
|
52
|
+
def CreateDatasource(self, request):
|
53
|
+
"""This API is used to create a data source.
|
54
|
+
|
55
|
+
:param request: Request instance for CreateDatasource.
|
56
|
+
:type request: :class:`tencentcloud.bi.v20220105.models.CreateDatasourceRequest`
|
57
|
+
:rtype: :class:`tencentcloud.bi.v20220105.models.CreateDatasourceResponse`
|
58
|
+
|
59
|
+
"""
|
60
|
+
try:
|
61
|
+
params = request._serialize()
|
62
|
+
headers = request.headers
|
63
|
+
body = self.call("CreateDatasource", params, headers=headers)
|
64
|
+
response = json.loads(body)
|
65
|
+
model = models.CreateDatasourceResponse()
|
66
|
+
model._deserialize(response["Response"])
|
67
|
+
return model
|
68
|
+
except Exception as e:
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
70
|
+
raise
|
71
|
+
else:
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
|
17
|
+
# CAM signature/authentication error.
|
18
|
+
AUTHFAILURE = 'AuthFailure'
|
19
|
+
|
20
|
+
# Operation failed.
|
21
|
+
FAILEDOPERATION = 'FailedOperation'
|
22
|
+
|
23
|
+
# Internal error.
|
24
|
+
INTERNALERROR = 'InternalError'
|
25
|
+
|
26
|
+
# Internal error.
|
27
|
+
INTERNALERROR_INTERNAL = 'InternalError.Internal'
|
28
|
+
|
29
|
+
# Parameter error.
|
30
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
31
|
+
|
32
|
+
# Report embedding error.
|
33
|
+
INVALIDPARAMETER_EMBED = 'InvalidParameter.Embed'
|
34
|
+
|
35
|
+
# Parameter value error.
|
36
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
37
|
+
|
38
|
+
# The quota limit is exceeded.
|
39
|
+
LIMITEXCEEDED = 'LimitExceeded'
|
40
|
+
|
41
|
+
# Parameters are missing.
|
42
|
+
MISSINGPARAMETER = 'MissingParameter'
|
43
|
+
|
44
|
+
# The required parameter is missing.
|
45
|
+
MISSINGPARAMETER_MISSINGPARAM = 'MissingParameter.MissingParam'
|
46
|
+
|
47
|
+
# Operation denied.
|
48
|
+
OPERATIONDENIED = 'OperationDenied'
|
49
|
+
|
50
|
+
# Too many and frequent requests.
|
51
|
+
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
52
|
+
|
53
|
+
# Unauthorized operation.
|
54
|
+
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
55
|
+
|
56
|
+
# Permission error.
|
57
|
+
UNAUTHORIZEDOPERATION_AUTHORIZE = 'UnauthorizedOperation.Authorize'
|
58
|
+
|
59
|
+
# Unknown parameter error.
|
60
|
+
UNKNOWNPARAMETER = 'UnknownParameter'
|
61
|
+
|
62
|
+
# The operation is not supported.
|
63
|
+
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
64
|
+
|
65
|
+
# Default business exception.
|
66
|
+
UNSUPPORTEDOPERATION_BIERROR = 'UnsupportedOperation.BIError'
|