tencentcloud-sdk-ses 3.0.1068 → 3.0.1070

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a1b2f4005d60ec4dac73ed6e993190a6c1ca1e7
4
- data.tar.gz: b2ae27c06c02703ff70e135a699c5b44e45f1d50
3
+ metadata.gz: bad2f0c800b672f40f0f91a0e888f378ac2eb3fb
4
+ data.tar.gz: 388b5f34a3219e7429a1062f0d02366695163e09
5
5
  SHA512:
6
- metadata.gz: 89d4f9a90442dd86b22463fef126af7e8fc49396430cdf0110e66bfed93abc54aa0f964fe7d59de571b70f1de17f721d1f107fee54cddb12d943247e7ccc007a
7
- data.tar.gz: 279eeb8953e4a836824b42b546b93ceb34b9d0ed5dbf107fe89f6b37922f40a4ea74252e126745d25705001c6b3b985ac38912a9ed72036df06f51433090cde5
6
+ metadata.gz: f328e1a01f55b3e9acff631fca693c11d1ab652db622cd60052bb11f2cd722a45ad628c3b8f0640d3130155d1091b7c0cc489f2f1ba18dbed73ed05075145cc2
7
+ data.tar.gz: 562670f90756995c5aa79002760d9a5d90c75fe624a04264a000541a9fc293321093dbd20675b563adea9a2a523fdc1705a4fbf40da945d72195b437103ab2bb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1068
1
+ 3.0.1070
@@ -462,6 +462,30 @@ module TencentCloud
462
462
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
463
463
  end
464
464
 
465
+ # 获取地址级退订配置列表
466
+
467
+ # @param request: Request instance for ListAddressUnsubscribeConfig.
468
+ # @type request: :class:`Tencentcloud::ses::V20201002::ListAddressUnsubscribeConfigRequest`
469
+ # @rtype: :class:`Tencentcloud::ses::V20201002::ListAddressUnsubscribeConfigResponse`
470
+ def ListAddressUnsubscribeConfig(request)
471
+ body = send_request('ListAddressUnsubscribeConfig', request.serialize)
472
+ response = JSON.parse(body)
473
+ if response['Response'].key?('Error') == false
474
+ model = ListAddressUnsubscribeConfigResponse.new
475
+ model.deserialize(response['Response'])
476
+ model
477
+ else
478
+ code = response['Response']['Error']['Code']
479
+ message = response['Response']['Error']['Message']
480
+ reqid = response['Response']['RequestId']
481
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
482
+ end
483
+ rescue TencentCloud::Common::TencentCloudSDKException => e
484
+ raise e
485
+ rescue StandardError => e
486
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
487
+ end
488
+
465
489
  # 腾讯云发送的邮件一旦被收件方判断为硬退(Hard Bounce),腾讯云会拉黑该地址,并不允许所有用户向该地址发送邮件。成为邮箱黑名单。如果业务方确认是误判,可以从黑名单中删除。
466
490
 
467
491
  # @param request: Request instance for ListBlackEmailAddress.
@@ -17,6 +17,30 @@
17
17
  module TencentCloud
18
18
  module Ses
19
19
  module V20201002
20
+ # 地址级退订配置
21
+ class AddressUnsubscribeConfigData < TencentCloud::Common::AbstractModel
22
+ # @param Address: 发信地址
23
+ # @type Address: String
24
+ # @param UnsubscribeConfig: 退订链接选项 0: 不加入退订链接 1: 简体中文 2: 英文 3: 繁体中文 4: 西班牙语 5: 法语 6: 德语 7: 日语 8: 韩语 9: 阿拉伯语 10: 泰语
25
+ # @type UnsubscribeConfig: String
26
+ # @param Status: 0:关闭,1:开启
27
+ # @type Status: Integer
28
+
29
+ attr_accessor :Address, :UnsubscribeConfig, :Status
30
+
31
+ def initialize(address=nil, unsubscribeconfig=nil, status=nil)
32
+ @Address = address
33
+ @UnsubscribeConfig = unsubscribeconfig
34
+ @Status = status
35
+ end
36
+
37
+ def deserialize(params)
38
+ @Address = params['Address']
39
+ @UnsubscribeConfig = params['UnsubscribeConfig']
40
+ @Status = params['Status']
41
+ end
42
+ end
43
+
20
44
  # 附件结构,包含附件名和base64之后的附件内容。
21
45
  class Attachment < TencentCloud::Common::AbstractModel
22
46
  # @param FileName: 附件名称,最大支持255个字符长度,不支持部分附件类型,详情请参考[附件类型](https://cloud.tencent.com/document/product/1288/51951)。
@@ -1079,6 +1103,57 @@ module TencentCloud
1079
1103
  end
1080
1104
  end
1081
1105
 
1106
+ # ListAddressUnsubscribeConfig请求参数结构体
1107
+ class ListAddressUnsubscribeConfigRequest < TencentCloud::Common::AbstractModel
1108
+ # @param Offset: 偏移量
1109
+ # @type Offset: Integer
1110
+ # @param Limit: 拉取最大条数,不超过100
1111
+ # @type Limit: String
1112
+
1113
+ attr_accessor :Offset, :Limit
1114
+
1115
+ def initialize(offset=nil, limit=nil)
1116
+ @Offset = offset
1117
+ @Limit = limit
1118
+ end
1119
+
1120
+ def deserialize(params)
1121
+ @Offset = params['Offset']
1122
+ @Limit = params['Limit']
1123
+ end
1124
+ end
1125
+
1126
+ # ListAddressUnsubscribeConfig返回参数结构体
1127
+ class ListAddressUnsubscribeConfigResponse < TencentCloud::Common::AbstractModel
1128
+ # @param AddressUnsubscribeConfigList: 地址级退订配置
1129
+ # @type AddressUnsubscribeConfigList: Array
1130
+ # @param Total: 总数
1131
+ # @type Total: Integer
1132
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1133
+ # @type RequestId: String
1134
+
1135
+ attr_accessor :AddressUnsubscribeConfigList, :Total, :RequestId
1136
+
1137
+ def initialize(addressunsubscribeconfiglist=nil, total=nil, requestid=nil)
1138
+ @AddressUnsubscribeConfigList = addressunsubscribeconfiglist
1139
+ @Total = total
1140
+ @RequestId = requestid
1141
+ end
1142
+
1143
+ def deserialize(params)
1144
+ unless params['AddressUnsubscribeConfigList'].nil?
1145
+ @AddressUnsubscribeConfigList = []
1146
+ params['AddressUnsubscribeConfigList'].each do |i|
1147
+ addressunsubscribeconfigdata_tmp = AddressUnsubscribeConfigData.new
1148
+ addressunsubscribeconfigdata_tmp.deserialize(i)
1149
+ @AddressUnsubscribeConfigList << addressunsubscribeconfigdata_tmp
1150
+ end
1151
+ end
1152
+ @Total = params['Total']
1153
+ @RequestId = params['RequestId']
1154
+ end
1155
+ end
1156
+
1082
1157
  # ListBlackEmailAddress请求参数结构体
1083
1158
  class ListBlackEmailAddressRequest < TencentCloud::Common::AbstractModel
1084
1159
  # @param StartDate: 开始日期,格式为YYYY-MM-DD
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ses
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1068
4
+ version: 3.0.1070
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-26 00:00:00.000000000 Z
11
+ date: 2025-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common