tencentcloud-sdk-python-intl-en 3.0.1206__py2.py3-none-any.whl → 3.0.1208__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 +1 -1
- tencentcloud/billing/v20180709/billing_client.py +69 -0
- tencentcloud/billing/v20180709/errorcodes.py +9 -0
- tencentcloud/billing/v20180709/models.py +342 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +138 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +9 -0
- tencentcloud/cynosdb/v20190107/models.py +1037 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +12 -10
- tencentcloud/lke/__init__.py +0 -0
- tencentcloud/lke/v20231130/__init__.py +0 -0
- tencentcloud/lke/v20231130/errorcodes.py +54 -0
- tencentcloud/lke/v20231130/lke_client.py +1252 -0
- tencentcloud/lke/v20231130/models.py +15873 -0
- tencentcloud/mdl/v20200326/models.py +9 -9
- tencentcloud/ses/v20201002/models.py +432 -0
- tencentcloud/ses/v20201002/ses_client.py +92 -0
- {tencentcloud_sdk_python_intl_en-3.0.1206.dist-info → tencentcloud_sdk_python_intl_en-3.0.1208.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1206.dist-info → tencentcloud_sdk_python_intl_en-3.0.1208.dist-info}/RECORD +20 -15
- {tencentcloud_sdk_python_intl_en-3.0.1206.dist-info → tencentcloud_sdk_python_intl_en-3.0.1208.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1206.dist-info → tencentcloud_sdk_python_intl_en-3.0.1208.dist-info}/top_level.txt +0 -0
|
@@ -7086,17 +7086,17 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
7086
7086
|
|
|
7087
7087
|
class InputSettingInfo(AbstractModel):
|
|
7088
7088
|
"""The input settings.
|
|
7089
|
-
The format of an RTMP_PUSH address is ${InputAddress}/${AppName}/${StreamName}.
|
|
7089
|
+
The format of an RTMP_PUSH/RTMPS_PUSH address is ${InputAddress}/${AppName}/${StreamName}.
|
|
7090
7090
|
The format of an SRT_PUSH address is ${InputAddress}?streamid=${StreamName},h=${InputDomain}.
|
|
7091
7091
|
|
|
7092
7092
|
"""
|
|
7093
7093
|
|
|
7094
7094
|
def __init__(self):
|
|
7095
7095
|
r"""
|
|
7096
|
-
:param _AppName: Application name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
|
|
7096
|
+
:param _AppName: Application name, which is valid if `Type` is `RTMP_PUSH` or `RTMPS_PUSH`, and can contain 1-32 letters and digits
|
|
7097
7097
|
Note: This field may return `null`, indicating that no valid value was found.
|
|
7098
7098
|
:type AppName: str
|
|
7099
|
-
:param _StreamName: Stream name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
|
|
7099
|
+
:param _StreamName: Stream name, which is valid if `Type` is `RTMP_PUSH` or `RTMPS_PUSH`, and can contain 1-32 letters and digits
|
|
7100
7100
|
Note: This field may return `null`, indicating that no valid value was found.
|
|
7101
7101
|
:type StreamName: str
|
|
7102
7102
|
:param _SourceUrl: Source URL, which is valid if `Type` is `RTMP_PULL`, `HLS_PULL`, `MP4_PULL`, `RTSP_PULL` or `SRT_PULL`, and can contain 1-512 characters
|
|
@@ -7108,8 +7108,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
7108
7108
|
:param _SourceType: Source type for stream pulling and relaying. To pull content from private-read COS buckets under the current account, set this parameter to `TencentCOS`; otherwise, leave it empty.
|
|
7109
7109
|
Note: this field may return `null`, indicating that no valid value was found.
|
|
7110
7110
|
:type SourceType: str
|
|
7111
|
-
:param _DelayTime: Delayed time (ms) for playback, which is valid if `Type` is `RTMP_PUSH`
|
|
7112
|
-
Value range: 0 (default) or 10000-600000
|
|
7111
|
+
:param _DelayTime: Delayed time (ms) for playback, which is valid if `Type` is `RTMP_PUSH` or `RTMPS_PUSH`.
|
|
7112
|
+
Value range: 0 (default) or 10000-600000.
|
|
7113
7113
|
The value must be a multiple of 1,000.
|
|
7114
7114
|
Note: This field may return `null`, indicating that no valid value was found.
|
|
7115
7115
|
:type DelayTime: int
|
|
@@ -7137,7 +7137,7 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
7137
7137
|
|
|
7138
7138
|
@property
|
|
7139
7139
|
def AppName(self):
|
|
7140
|
-
"""Application name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
|
|
7140
|
+
"""Application name, which is valid if `Type` is `RTMP_PUSH` or `RTMPS_PUSH`, and can contain 1-32 letters and digits
|
|
7141
7141
|
Note: This field may return `null`, indicating that no valid value was found.
|
|
7142
7142
|
:rtype: str
|
|
7143
7143
|
"""
|
|
@@ -7149,7 +7149,7 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
7149
7149
|
|
|
7150
7150
|
@property
|
|
7151
7151
|
def StreamName(self):
|
|
7152
|
-
"""Stream name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
|
|
7152
|
+
"""Stream name, which is valid if `Type` is `RTMP_PUSH` or `RTMPS_PUSH`, and can contain 1-32 letters and digits
|
|
7153
7153
|
Note: This field may return `null`, indicating that no valid value was found.
|
|
7154
7154
|
:rtype: str
|
|
7155
7155
|
"""
|
|
@@ -7197,8 +7197,8 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
7197
7197
|
|
|
7198
7198
|
@property
|
|
7199
7199
|
def DelayTime(self):
|
|
7200
|
-
"""Delayed time (ms) for playback, which is valid if `Type` is `RTMP_PUSH`
|
|
7201
|
-
Value range: 0 (default) or 10000-600000
|
|
7200
|
+
"""Delayed time (ms) for playback, which is valid if `Type` is `RTMP_PUSH` or `RTMPS_PUSH`.
|
|
7201
|
+
Value range: 0 (default) or 10000-600000.
|
|
7202
7202
|
The value must be a multiple of 1,000.
|
|
7203
7203
|
Note: This field may return `null`, indicating that no valid value was found.
|
|
7204
7204
|
:rtype: int
|
|
@@ -18,6 +18,72 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
class AddressUnsubscribeConfigData(AbstractModel):
|
|
22
|
+
"""Address-Level unsubscribe configuration.
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _Address: Sender address.
|
|
29
|
+
:type Address: str
|
|
30
|
+
:param _UnsubscribeConfig: Unsubscription link option 0: do not include unsubscription link 1: simplified chinese 2: english 3: traditional chinese 4: spanish 5: french 6: german 7: japanese 8: korean 9: arabic 10: thai.
|
|
31
|
+
:type UnsubscribeConfig: str
|
|
32
|
+
:param _Status: 0: disabled; 1: enabled.
|
|
33
|
+
:type Status: int
|
|
34
|
+
"""
|
|
35
|
+
self._Address = None
|
|
36
|
+
self._UnsubscribeConfig = None
|
|
37
|
+
self._Status = None
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def Address(self):
|
|
41
|
+
"""Sender address.
|
|
42
|
+
:rtype: str
|
|
43
|
+
"""
|
|
44
|
+
return self._Address
|
|
45
|
+
|
|
46
|
+
@Address.setter
|
|
47
|
+
def Address(self, Address):
|
|
48
|
+
self._Address = Address
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def UnsubscribeConfig(self):
|
|
52
|
+
"""Unsubscription link option 0: do not include unsubscription link 1: simplified chinese 2: english 3: traditional chinese 4: spanish 5: french 6: german 7: japanese 8: korean 9: arabic 10: thai.
|
|
53
|
+
:rtype: str
|
|
54
|
+
"""
|
|
55
|
+
return self._UnsubscribeConfig
|
|
56
|
+
|
|
57
|
+
@UnsubscribeConfig.setter
|
|
58
|
+
def UnsubscribeConfig(self, UnsubscribeConfig):
|
|
59
|
+
self._UnsubscribeConfig = UnsubscribeConfig
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
def Status(self):
|
|
63
|
+
"""0: disabled; 1: enabled.
|
|
64
|
+
:rtype: int
|
|
65
|
+
"""
|
|
66
|
+
return self._Status
|
|
67
|
+
|
|
68
|
+
@Status.setter
|
|
69
|
+
def Status(self, Status):
|
|
70
|
+
self._Status = Status
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def _deserialize(self, params):
|
|
74
|
+
self._Address = params.get("Address")
|
|
75
|
+
self._UnsubscribeConfig = params.get("UnsubscribeConfig")
|
|
76
|
+
self._Status = params.get("Status")
|
|
77
|
+
memeber_set = set(params.keys())
|
|
78
|
+
for name, value in vars(self).items():
|
|
79
|
+
property_name = name[1:]
|
|
80
|
+
if property_name in memeber_set:
|
|
81
|
+
memeber_set.remove(property_name)
|
|
82
|
+
if len(memeber_set) > 0:
|
|
83
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
21
87
|
class Attachment(AbstractModel):
|
|
22
88
|
"""Attachment structure, including attachment name and Base64-encoded attachment content
|
|
23
89
|
|
|
@@ -381,6 +447,100 @@ class BlackEmailAddress(AbstractModel):
|
|
|
381
447
|
|
|
382
448
|
|
|
383
449
|
|
|
450
|
+
class CreateAddressUnsubscribeConfigRequest(AbstractModel):
|
|
451
|
+
"""CreateAddressUnsubscribeConfig request structure.
|
|
452
|
+
|
|
453
|
+
"""
|
|
454
|
+
|
|
455
|
+
def __init__(self):
|
|
456
|
+
r"""
|
|
457
|
+
:param _Address: Sender address.
|
|
458
|
+
:type Address: str
|
|
459
|
+
:param _UnsubscribeConfig: Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai
|
|
460
|
+
:type UnsubscribeConfig: str
|
|
461
|
+
:param _Status: 0: disabled; 1: enabled.
|
|
462
|
+
:type Status: int
|
|
463
|
+
"""
|
|
464
|
+
self._Address = None
|
|
465
|
+
self._UnsubscribeConfig = None
|
|
466
|
+
self._Status = None
|
|
467
|
+
|
|
468
|
+
@property
|
|
469
|
+
def Address(self):
|
|
470
|
+
"""Sender address.
|
|
471
|
+
:rtype: str
|
|
472
|
+
"""
|
|
473
|
+
return self._Address
|
|
474
|
+
|
|
475
|
+
@Address.setter
|
|
476
|
+
def Address(self, Address):
|
|
477
|
+
self._Address = Address
|
|
478
|
+
|
|
479
|
+
@property
|
|
480
|
+
def UnsubscribeConfig(self):
|
|
481
|
+
"""Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai
|
|
482
|
+
:rtype: str
|
|
483
|
+
"""
|
|
484
|
+
return self._UnsubscribeConfig
|
|
485
|
+
|
|
486
|
+
@UnsubscribeConfig.setter
|
|
487
|
+
def UnsubscribeConfig(self, UnsubscribeConfig):
|
|
488
|
+
self._UnsubscribeConfig = UnsubscribeConfig
|
|
489
|
+
|
|
490
|
+
@property
|
|
491
|
+
def Status(self):
|
|
492
|
+
"""0: disabled; 1: enabled.
|
|
493
|
+
:rtype: int
|
|
494
|
+
"""
|
|
495
|
+
return self._Status
|
|
496
|
+
|
|
497
|
+
@Status.setter
|
|
498
|
+
def Status(self, Status):
|
|
499
|
+
self._Status = Status
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
def _deserialize(self, params):
|
|
503
|
+
self._Address = params.get("Address")
|
|
504
|
+
self._UnsubscribeConfig = params.get("UnsubscribeConfig")
|
|
505
|
+
self._Status = params.get("Status")
|
|
506
|
+
memeber_set = set(params.keys())
|
|
507
|
+
for name, value in vars(self).items():
|
|
508
|
+
property_name = name[1:]
|
|
509
|
+
if property_name in memeber_set:
|
|
510
|
+
memeber_set.remove(property_name)
|
|
511
|
+
if len(memeber_set) > 0:
|
|
512
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
class CreateAddressUnsubscribeConfigResponse(AbstractModel):
|
|
517
|
+
"""CreateAddressUnsubscribeConfig response structure.
|
|
518
|
+
|
|
519
|
+
"""
|
|
520
|
+
|
|
521
|
+
def __init__(self):
|
|
522
|
+
r"""
|
|
523
|
+
: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.
|
|
524
|
+
:type RequestId: str
|
|
525
|
+
"""
|
|
526
|
+
self._RequestId = None
|
|
527
|
+
|
|
528
|
+
@property
|
|
529
|
+
def RequestId(self):
|
|
530
|
+
"""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.
|
|
531
|
+
:rtype: str
|
|
532
|
+
"""
|
|
533
|
+
return self._RequestId
|
|
534
|
+
|
|
535
|
+
@RequestId.setter
|
|
536
|
+
def RequestId(self, RequestId):
|
|
537
|
+
self._RequestId = RequestId
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
def _deserialize(self, params):
|
|
541
|
+
self._RequestId = params.get("RequestId")
|
|
542
|
+
|
|
543
|
+
|
|
384
544
|
class CreateEmailAddressRequest(AbstractModel):
|
|
385
545
|
"""CreateEmailAddress request structure.
|
|
386
546
|
|
|
@@ -1005,6 +1165,70 @@ class DNSAttributes(AbstractModel):
|
|
|
1005
1165
|
|
|
1006
1166
|
|
|
1007
1167
|
|
|
1168
|
+
class DeleteAddressUnsubscribeConfigRequest(AbstractModel):
|
|
1169
|
+
"""DeleteAddressUnsubscribeConfig request structure.
|
|
1170
|
+
|
|
1171
|
+
"""
|
|
1172
|
+
|
|
1173
|
+
def __init__(self):
|
|
1174
|
+
r"""
|
|
1175
|
+
:param _Address: Sender address.
|
|
1176
|
+
:type Address: str
|
|
1177
|
+
"""
|
|
1178
|
+
self._Address = None
|
|
1179
|
+
|
|
1180
|
+
@property
|
|
1181
|
+
def Address(self):
|
|
1182
|
+
"""Sender address.
|
|
1183
|
+
:rtype: str
|
|
1184
|
+
"""
|
|
1185
|
+
return self._Address
|
|
1186
|
+
|
|
1187
|
+
@Address.setter
|
|
1188
|
+
def Address(self, Address):
|
|
1189
|
+
self._Address = Address
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
def _deserialize(self, params):
|
|
1193
|
+
self._Address = params.get("Address")
|
|
1194
|
+
memeber_set = set(params.keys())
|
|
1195
|
+
for name, value in vars(self).items():
|
|
1196
|
+
property_name = name[1:]
|
|
1197
|
+
if property_name in memeber_set:
|
|
1198
|
+
memeber_set.remove(property_name)
|
|
1199
|
+
if len(memeber_set) > 0:
|
|
1200
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
class DeleteAddressUnsubscribeConfigResponse(AbstractModel):
|
|
1205
|
+
"""DeleteAddressUnsubscribeConfig response structure.
|
|
1206
|
+
|
|
1207
|
+
"""
|
|
1208
|
+
|
|
1209
|
+
def __init__(self):
|
|
1210
|
+
r"""
|
|
1211
|
+
: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.
|
|
1212
|
+
:type RequestId: str
|
|
1213
|
+
"""
|
|
1214
|
+
self._RequestId = None
|
|
1215
|
+
|
|
1216
|
+
@property
|
|
1217
|
+
def RequestId(self):
|
|
1218
|
+
"""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.
|
|
1219
|
+
:rtype: str
|
|
1220
|
+
"""
|
|
1221
|
+
return self._RequestId
|
|
1222
|
+
|
|
1223
|
+
@RequestId.setter
|
|
1224
|
+
def RequestId(self, RequestId):
|
|
1225
|
+
self._RequestId = RequestId
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
def _deserialize(self, params):
|
|
1229
|
+
self._RequestId = params.get("RequestId")
|
|
1230
|
+
|
|
1231
|
+
|
|
1008
1232
|
class DeleteBlackListRequest(AbstractModel):
|
|
1009
1233
|
"""DeleteBlackList request structure.
|
|
1010
1234
|
|
|
@@ -2006,6 +2230,120 @@ class GetStatisticsReportResponse(AbstractModel):
|
|
|
2006
2230
|
self._RequestId = params.get("RequestId")
|
|
2007
2231
|
|
|
2008
2232
|
|
|
2233
|
+
class ListAddressUnsubscribeConfigRequest(AbstractModel):
|
|
2234
|
+
"""ListAddressUnsubscribeConfig request structure.
|
|
2235
|
+
|
|
2236
|
+
"""
|
|
2237
|
+
|
|
2238
|
+
def __init__(self):
|
|
2239
|
+
r"""
|
|
2240
|
+
:param _Offset: Offset.
|
|
2241
|
+
:type Offset: int
|
|
2242
|
+
:param _Limit: specifies the maximum number of entries to retrieve, with a cap of 100.
|
|
2243
|
+
:type Limit: str
|
|
2244
|
+
"""
|
|
2245
|
+
self._Offset = None
|
|
2246
|
+
self._Limit = None
|
|
2247
|
+
|
|
2248
|
+
@property
|
|
2249
|
+
def Offset(self):
|
|
2250
|
+
"""Offset.
|
|
2251
|
+
:rtype: int
|
|
2252
|
+
"""
|
|
2253
|
+
return self._Offset
|
|
2254
|
+
|
|
2255
|
+
@Offset.setter
|
|
2256
|
+
def Offset(self, Offset):
|
|
2257
|
+
self._Offset = Offset
|
|
2258
|
+
|
|
2259
|
+
@property
|
|
2260
|
+
def Limit(self):
|
|
2261
|
+
"""specifies the maximum number of entries to retrieve, with a cap of 100.
|
|
2262
|
+
:rtype: str
|
|
2263
|
+
"""
|
|
2264
|
+
return self._Limit
|
|
2265
|
+
|
|
2266
|
+
@Limit.setter
|
|
2267
|
+
def Limit(self, Limit):
|
|
2268
|
+
self._Limit = Limit
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
def _deserialize(self, params):
|
|
2272
|
+
self._Offset = params.get("Offset")
|
|
2273
|
+
self._Limit = params.get("Limit")
|
|
2274
|
+
memeber_set = set(params.keys())
|
|
2275
|
+
for name, value in vars(self).items():
|
|
2276
|
+
property_name = name[1:]
|
|
2277
|
+
if property_name in memeber_set:
|
|
2278
|
+
memeber_set.remove(property_name)
|
|
2279
|
+
if len(memeber_set) > 0:
|
|
2280
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2281
|
+
|
|
2282
|
+
|
|
2283
|
+
|
|
2284
|
+
class ListAddressUnsubscribeConfigResponse(AbstractModel):
|
|
2285
|
+
"""ListAddressUnsubscribeConfig response structure.
|
|
2286
|
+
|
|
2287
|
+
"""
|
|
2288
|
+
|
|
2289
|
+
def __init__(self):
|
|
2290
|
+
r"""
|
|
2291
|
+
:param _AddressUnsubscribeConfigList: Address-Level unsubscribe configuration.
|
|
2292
|
+
:type AddressUnsubscribeConfigList: list of AddressUnsubscribeConfigData
|
|
2293
|
+
:param _Total: Total number.
|
|
2294
|
+
:type Total: int
|
|
2295
|
+
: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.
|
|
2296
|
+
:type RequestId: str
|
|
2297
|
+
"""
|
|
2298
|
+
self._AddressUnsubscribeConfigList = None
|
|
2299
|
+
self._Total = None
|
|
2300
|
+
self._RequestId = None
|
|
2301
|
+
|
|
2302
|
+
@property
|
|
2303
|
+
def AddressUnsubscribeConfigList(self):
|
|
2304
|
+
"""Address-Level unsubscribe configuration.
|
|
2305
|
+
:rtype: list of AddressUnsubscribeConfigData
|
|
2306
|
+
"""
|
|
2307
|
+
return self._AddressUnsubscribeConfigList
|
|
2308
|
+
|
|
2309
|
+
@AddressUnsubscribeConfigList.setter
|
|
2310
|
+
def AddressUnsubscribeConfigList(self, AddressUnsubscribeConfigList):
|
|
2311
|
+
self._AddressUnsubscribeConfigList = AddressUnsubscribeConfigList
|
|
2312
|
+
|
|
2313
|
+
@property
|
|
2314
|
+
def Total(self):
|
|
2315
|
+
"""Total number.
|
|
2316
|
+
:rtype: int
|
|
2317
|
+
"""
|
|
2318
|
+
return self._Total
|
|
2319
|
+
|
|
2320
|
+
@Total.setter
|
|
2321
|
+
def Total(self, Total):
|
|
2322
|
+
self._Total = Total
|
|
2323
|
+
|
|
2324
|
+
@property
|
|
2325
|
+
def RequestId(self):
|
|
2326
|
+
"""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.
|
|
2327
|
+
:rtype: str
|
|
2328
|
+
"""
|
|
2329
|
+
return self._RequestId
|
|
2330
|
+
|
|
2331
|
+
@RequestId.setter
|
|
2332
|
+
def RequestId(self, RequestId):
|
|
2333
|
+
self._RequestId = RequestId
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
def _deserialize(self, params):
|
|
2337
|
+
if params.get("AddressUnsubscribeConfigList") is not None:
|
|
2338
|
+
self._AddressUnsubscribeConfigList = []
|
|
2339
|
+
for item in params.get("AddressUnsubscribeConfigList"):
|
|
2340
|
+
obj = AddressUnsubscribeConfigData()
|
|
2341
|
+
obj._deserialize(item)
|
|
2342
|
+
self._AddressUnsubscribeConfigList.append(obj)
|
|
2343
|
+
self._Total = params.get("Total")
|
|
2344
|
+
self._RequestId = params.get("RequestId")
|
|
2345
|
+
|
|
2346
|
+
|
|
2009
2347
|
class ListBlackEmailAddressRequest(AbstractModel):
|
|
2010
2348
|
"""ListBlackEmailAddress request structure.
|
|
2011
2349
|
|
|
@@ -3917,6 +4255,100 @@ class TimedEmailParam(AbstractModel):
|
|
|
3917
4255
|
|
|
3918
4256
|
|
|
3919
4257
|
|
|
4258
|
+
class UpdateAddressUnsubscribeConfigRequest(AbstractModel):
|
|
4259
|
+
"""UpdateAddressUnsubscribeConfig request structure.
|
|
4260
|
+
|
|
4261
|
+
"""
|
|
4262
|
+
|
|
4263
|
+
def __init__(self):
|
|
4264
|
+
r"""
|
|
4265
|
+
:param _Address: Sender address.
|
|
4266
|
+
:type Address: str
|
|
4267
|
+
:param _UnsubscribeConfig: Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai
|
|
4268
|
+
:type UnsubscribeConfig: str
|
|
4269
|
+
:param _Status: 0: disable; 1: enable.
|
|
4270
|
+
:type Status: int
|
|
4271
|
+
"""
|
|
4272
|
+
self._Address = None
|
|
4273
|
+
self._UnsubscribeConfig = None
|
|
4274
|
+
self._Status = None
|
|
4275
|
+
|
|
4276
|
+
@property
|
|
4277
|
+
def Address(self):
|
|
4278
|
+
"""Sender address.
|
|
4279
|
+
:rtype: str
|
|
4280
|
+
"""
|
|
4281
|
+
return self._Address
|
|
4282
|
+
|
|
4283
|
+
@Address.setter
|
|
4284
|
+
def Address(self, Address):
|
|
4285
|
+
self._Address = Address
|
|
4286
|
+
|
|
4287
|
+
@property
|
|
4288
|
+
def UnsubscribeConfig(self):
|
|
4289
|
+
"""Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai
|
|
4290
|
+
:rtype: str
|
|
4291
|
+
"""
|
|
4292
|
+
return self._UnsubscribeConfig
|
|
4293
|
+
|
|
4294
|
+
@UnsubscribeConfig.setter
|
|
4295
|
+
def UnsubscribeConfig(self, UnsubscribeConfig):
|
|
4296
|
+
self._UnsubscribeConfig = UnsubscribeConfig
|
|
4297
|
+
|
|
4298
|
+
@property
|
|
4299
|
+
def Status(self):
|
|
4300
|
+
"""0: disable; 1: enable.
|
|
4301
|
+
:rtype: int
|
|
4302
|
+
"""
|
|
4303
|
+
return self._Status
|
|
4304
|
+
|
|
4305
|
+
@Status.setter
|
|
4306
|
+
def Status(self, Status):
|
|
4307
|
+
self._Status = Status
|
|
4308
|
+
|
|
4309
|
+
|
|
4310
|
+
def _deserialize(self, params):
|
|
4311
|
+
self._Address = params.get("Address")
|
|
4312
|
+
self._UnsubscribeConfig = params.get("UnsubscribeConfig")
|
|
4313
|
+
self._Status = params.get("Status")
|
|
4314
|
+
memeber_set = set(params.keys())
|
|
4315
|
+
for name, value in vars(self).items():
|
|
4316
|
+
property_name = name[1:]
|
|
4317
|
+
if property_name in memeber_set:
|
|
4318
|
+
memeber_set.remove(property_name)
|
|
4319
|
+
if len(memeber_set) > 0:
|
|
4320
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4321
|
+
|
|
4322
|
+
|
|
4323
|
+
|
|
4324
|
+
class UpdateAddressUnsubscribeConfigResponse(AbstractModel):
|
|
4325
|
+
"""UpdateAddressUnsubscribeConfig response structure.
|
|
4326
|
+
|
|
4327
|
+
"""
|
|
4328
|
+
|
|
4329
|
+
def __init__(self):
|
|
4330
|
+
r"""
|
|
4331
|
+
: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.
|
|
4332
|
+
:type RequestId: str
|
|
4333
|
+
"""
|
|
4334
|
+
self._RequestId = None
|
|
4335
|
+
|
|
4336
|
+
@property
|
|
4337
|
+
def RequestId(self):
|
|
4338
|
+
"""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.
|
|
4339
|
+
:rtype: str
|
|
4340
|
+
"""
|
|
4341
|
+
return self._RequestId
|
|
4342
|
+
|
|
4343
|
+
@RequestId.setter
|
|
4344
|
+
def RequestId(self, RequestId):
|
|
4345
|
+
self._RequestId = RequestId
|
|
4346
|
+
|
|
4347
|
+
|
|
4348
|
+
def _deserialize(self, params):
|
|
4349
|
+
self._RequestId = params.get("RequestId")
|
|
4350
|
+
|
|
4351
|
+
|
|
3920
4352
|
class UpdateEmailIdentityRequest(AbstractModel):
|
|
3921
4353
|
"""UpdateEmailIdentity request structure.
|
|
3922
4354
|
|
|
@@ -49,6 +49,29 @@ class SesClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def CreateAddressUnsubscribeConfig(self, request):
|
|
53
|
+
"""This API is used to create an address-level unsubscribe configuration.
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for CreateAddressUnsubscribeConfig.
|
|
56
|
+
:type request: :class:`tencentcloud.ses.v20201002.models.CreateAddressUnsubscribeConfigRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.ses.v20201002.models.CreateAddressUnsubscribeConfigResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("CreateAddressUnsubscribeConfig", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.CreateAddressUnsubscribeConfigResponse()
|
|
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))
|
|
73
|
+
|
|
74
|
+
|
|
52
75
|
def CreateEmailAddress(self, request):
|
|
53
76
|
"""After the sender domain is verified, you need a sender address to send emails. For example, if your sender domain is mail.qcloud.com, your sender address can be service@mail.qcloud.com. If you want to display your name (such as "Tencent Cloud") in the inbox list of the recipients, the sender address should be in the format of `Tencent Cloud <email address>`. Please note that there must be a space between your name and the first angle bracket.
|
|
54
77
|
|
|
@@ -165,6 +188,29 @@ class SesClient(AbstractClient):
|
|
|
165
188
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
166
189
|
|
|
167
190
|
|
|
191
|
+
def DeleteAddressUnsubscribeConfig(self, request):
|
|
192
|
+
"""Remove address-level unsubscribe configuration.
|
|
193
|
+
|
|
194
|
+
:param request: Request instance for DeleteAddressUnsubscribeConfig.
|
|
195
|
+
:type request: :class:`tencentcloud.ses.v20201002.models.DeleteAddressUnsubscribeConfigRequest`
|
|
196
|
+
:rtype: :class:`tencentcloud.ses.v20201002.models.DeleteAddressUnsubscribeConfigResponse`
|
|
197
|
+
|
|
198
|
+
"""
|
|
199
|
+
try:
|
|
200
|
+
params = request._serialize()
|
|
201
|
+
headers = request.headers
|
|
202
|
+
body = self.call("DeleteAddressUnsubscribeConfig", params, headers=headers)
|
|
203
|
+
response = json.loads(body)
|
|
204
|
+
model = models.DeleteAddressUnsubscribeConfigResponse()
|
|
205
|
+
model._deserialize(response["Response"])
|
|
206
|
+
return model
|
|
207
|
+
except Exception as e:
|
|
208
|
+
if isinstance(e, TencentCloudSDKException):
|
|
209
|
+
raise
|
|
210
|
+
else:
|
|
211
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
212
|
+
|
|
213
|
+
|
|
168
214
|
def DeleteBlackList(self, request):
|
|
169
215
|
"""This API is used to unblocklist email addresses. If you confirm that a blocklisted recipient address is valid and active, you can remove it from Tencent Cloud’s address blocklist database.
|
|
170
216
|
|
|
@@ -373,6 +419,29 @@ class SesClient(AbstractClient):
|
|
|
373
419
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
374
420
|
|
|
375
421
|
|
|
422
|
+
def ListAddressUnsubscribeConfig(self, request):
|
|
423
|
+
"""This API is used to get the address and unsubscribe configuration list.
|
|
424
|
+
|
|
425
|
+
:param request: Request instance for ListAddressUnsubscribeConfig.
|
|
426
|
+
:type request: :class:`tencentcloud.ses.v20201002.models.ListAddressUnsubscribeConfigRequest`
|
|
427
|
+
:rtype: :class:`tencentcloud.ses.v20201002.models.ListAddressUnsubscribeConfigResponse`
|
|
428
|
+
|
|
429
|
+
"""
|
|
430
|
+
try:
|
|
431
|
+
params = request._serialize()
|
|
432
|
+
headers = request.headers
|
|
433
|
+
body = self.call("ListAddressUnsubscribeConfig", params, headers=headers)
|
|
434
|
+
response = json.loads(body)
|
|
435
|
+
model = models.ListAddressUnsubscribeConfigResponse()
|
|
436
|
+
model._deserialize(response["Response"])
|
|
437
|
+
return model
|
|
438
|
+
except Exception as e:
|
|
439
|
+
if isinstance(e, TencentCloudSDKException):
|
|
440
|
+
raise
|
|
441
|
+
else:
|
|
442
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
443
|
+
|
|
444
|
+
|
|
376
445
|
def ListBlackEmailAddress(self, request):
|
|
377
446
|
"""The API is used to get blocklisted addresses. In the case of a hard bounce, Tencent Cloud will blocklist the recipient address and do not allow any user to send emails to this address. If you confirm that this is a misjudgment, you can remove it from the blocklist.
|
|
378
447
|
|
|
@@ -534,6 +603,29 @@ class SesClient(AbstractClient):
|
|
|
534
603
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
535
604
|
|
|
536
605
|
|
|
606
|
+
def UpdateAddressUnsubscribeConfig(self, request):
|
|
607
|
+
"""This API is used to update address-level unsubscribe configurations.
|
|
608
|
+
|
|
609
|
+
:param request: Request instance for UpdateAddressUnsubscribeConfig.
|
|
610
|
+
:type request: :class:`tencentcloud.ses.v20201002.models.UpdateAddressUnsubscribeConfigRequest`
|
|
611
|
+
:rtype: :class:`tencentcloud.ses.v20201002.models.UpdateAddressUnsubscribeConfigResponse`
|
|
612
|
+
|
|
613
|
+
"""
|
|
614
|
+
try:
|
|
615
|
+
params = request._serialize()
|
|
616
|
+
headers = request.headers
|
|
617
|
+
body = self.call("UpdateAddressUnsubscribeConfig", params, headers=headers)
|
|
618
|
+
response = json.loads(body)
|
|
619
|
+
model = models.UpdateAddressUnsubscribeConfigResponse()
|
|
620
|
+
model._deserialize(response["Response"])
|
|
621
|
+
return model
|
|
622
|
+
except Exception as e:
|
|
623
|
+
if isinstance(e, TencentCloudSDKException):
|
|
624
|
+
raise
|
|
625
|
+
else:
|
|
626
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
627
|
+
|
|
628
|
+
|
|
537
629
|
def UpdateEmailIdentity(self, request):
|
|
538
630
|
"""This API is used to verify whether your DNS configuration is correct.
|
|
539
631
|
|