tencentcloud-sdk-ses 3.0.1070 → 3.0.1071

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: bad2f0c800b672f40f0f91a0e888f378ac2eb3fb
4
- data.tar.gz: 388b5f34a3219e7429a1062f0d02366695163e09
3
+ metadata.gz: 9e335e7ef6542d566c9dd78d5ecabb97541b59a8
4
+ data.tar.gz: 378c6567dea8041a47b20c6c6ab0fd27ef0c497a
5
5
  SHA512:
6
- metadata.gz: f328e1a01f55b3e9acff631fca693c11d1ab652db622cd60052bb11f2cd722a45ad628c3b8f0640d3130155d1091b7c0cc489f2f1ba18dbed73ed05075145cc2
7
- data.tar.gz: 562670f90756995c5aa79002760d9a5d90c75fe624a04264a000541a9fc293321093dbd20675b563adea9a2a523fdc1705a4fbf40da945d72195b437103ab2bb
6
+ metadata.gz: f4de23a00202002c19ef843ccab85dbbab6a160f1779198fed890436c174d2f2b21fc479b405c7f50fbc59a1a9ba3457d38f58bf213763590bfa9e1a3d5abb50
7
+ data.tar.gz: 882ef07bf24d92680ad83d664e43923620ac1306f0f5df9283155460760d3d6e2c4ae32cf1d750a5a80212939197a3f8eadf66e5f8f5080545466d128d7f1030
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1070
1
+ 3.0.1071
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 创建地址级退订配置
57
+
58
+ # @param request: Request instance for CreateAddressUnsubscribeConfig.
59
+ # @type request: :class:`Tencentcloud::ses::V20201002::CreateAddressUnsubscribeConfigRequest`
60
+ # @rtype: :class:`Tencentcloud::ses::V20201002::CreateAddressUnsubscribeConfigResponse`
61
+ def CreateAddressUnsubscribeConfig(request)
62
+ body = send_request('CreateAddressUnsubscribeConfig', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateAddressUnsubscribeConfigResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
56
80
  # 添加自定义黑名单
57
81
 
58
82
  # @param request: Request instance for CreateCustomBlacklist.
@@ -222,6 +246,30 @@ module TencentCloud
222
246
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
223
247
  end
224
248
 
249
+ # 删除地址级退订配置
250
+
251
+ # @param request: Request instance for DeleteAddressUnsubscribeConfig.
252
+ # @type request: :class:`Tencentcloud::ses::V20201002::DeleteAddressUnsubscribeConfigRequest`
253
+ # @rtype: :class:`Tencentcloud::ses::V20201002::DeleteAddressUnsubscribeConfigResponse`
254
+ def DeleteAddressUnsubscribeConfig(request)
255
+ body = send_request('DeleteAddressUnsubscribeConfig', request.serialize)
256
+ response = JSON.parse(body)
257
+ if response['Response'].key?('Error') == false
258
+ model = DeleteAddressUnsubscribeConfigResponse.new
259
+ model.deserialize(response['Response'])
260
+ model
261
+ else
262
+ code = response['Response']['Error']['Code']
263
+ message = response['Response']['Error']['Message']
264
+ reqid = response['Response']['RequestId']
265
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
266
+ end
267
+ rescue TencentCloud::Common::TencentCloudSDKException => e
268
+ raise e
269
+ rescue StandardError => e
270
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
271
+ end
272
+
225
273
  # 邮箱被拉黑之后,用户如果确认收件邮箱有效或者已经处于激活状态,可以从腾讯云地址库中删除该黑名单之后继续投递。
226
274
 
227
275
  # @param request: Request instance for DeleteBlackList.
@@ -702,6 +750,30 @@ module TencentCloud
702
750
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
703
751
  end
704
752
 
753
+ # 用于更新地址级退订配置
754
+
755
+ # @param request: Request instance for UpdateAddressUnsubscribeConfig.
756
+ # @type request: :class:`Tencentcloud::ses::V20201002::UpdateAddressUnsubscribeConfigRequest`
757
+ # @rtype: :class:`Tencentcloud::ses::V20201002::UpdateAddressUnsubscribeConfigResponse`
758
+ def UpdateAddressUnsubscribeConfig(request)
759
+ body = send_request('UpdateAddressUnsubscribeConfig', request.serialize)
760
+ response = JSON.parse(body)
761
+ if response['Response'].key?('Error') == false
762
+ model = UpdateAddressUnsubscribeConfigResponse.new
763
+ model.deserialize(response['Response'])
764
+ model
765
+ else
766
+ code = response['Response']['Error']['Code']
767
+ message = response['Response']['Error']['Message']
768
+ reqid = response['Response']['RequestId']
769
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
770
+ end
771
+ rescue TencentCloud::Common::TencentCloudSDKException => e
772
+ raise e
773
+ rescue StandardError => e
774
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
775
+ end
776
+
705
777
  # 更新自定义黑名单
706
778
 
707
779
  # @param request: Request instance for UpdateCustomBlackList.
@@ -223,6 +223,46 @@ module TencentCloud
223
223
  end
224
224
  end
225
225
 
226
+ # CreateAddressUnsubscribeConfig请求参数结构体
227
+ class CreateAddressUnsubscribeConfigRequest < TencentCloud::Common::AbstractModel
228
+ # @param Address: 发信地址
229
+ # @type Address: String
230
+ # @param UnsubscribeConfig: 退订链接选项 0: 不加入退订链接 1: 简体中文 2: 英文 3: 繁体中文 4: 西班牙语 5: 法语 6: 德语 7: 日语 8: 韩语 9: 阿拉伯语 10: 泰语
231
+ # @type UnsubscribeConfig: String
232
+ # @param Status: 0:关闭,1:打开
233
+ # @type Status: Integer
234
+
235
+ attr_accessor :Address, :UnsubscribeConfig, :Status
236
+
237
+ def initialize(address=nil, unsubscribeconfig=nil, status=nil)
238
+ @Address = address
239
+ @UnsubscribeConfig = unsubscribeconfig
240
+ @Status = status
241
+ end
242
+
243
+ def deserialize(params)
244
+ @Address = params['Address']
245
+ @UnsubscribeConfig = params['UnsubscribeConfig']
246
+ @Status = params['Status']
247
+ end
248
+ end
249
+
250
+ # CreateAddressUnsubscribeConfig返回参数结构体
251
+ class CreateAddressUnsubscribeConfigResponse < TencentCloud::Common::AbstractModel
252
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
253
+ # @type RequestId: String
254
+
255
+ attr_accessor :RequestId
256
+
257
+ def initialize(requestid=nil)
258
+ @RequestId = requestid
259
+ end
260
+
261
+ def deserialize(params)
262
+ @RequestId = params['RequestId']
263
+ end
264
+ end
265
+
226
266
  # CreateCustomBlacklist请求参数结构体
227
267
  class CreateCustomBlacklistRequest < TencentCloud::Common::AbstractModel
228
268
  # @param Emails: 添加到黑名单的邮件地址
@@ -628,6 +668,38 @@ module TencentCloud
628
668
  end
629
669
  end
630
670
 
671
+ # DeleteAddressUnsubscribeConfig请求参数结构体
672
+ class DeleteAddressUnsubscribeConfigRequest < TencentCloud::Common::AbstractModel
673
+ # @param Address: 需要操作的发信地址
674
+ # @type Address: String
675
+
676
+ attr_accessor :Address
677
+
678
+ def initialize(address=nil)
679
+ @Address = address
680
+ end
681
+
682
+ def deserialize(params)
683
+ @Address = params['Address']
684
+ end
685
+ end
686
+
687
+ # DeleteAddressUnsubscribeConfig返回参数结构体
688
+ class DeleteAddressUnsubscribeConfigResponse < TencentCloud::Common::AbstractModel
689
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
690
+ # @type RequestId: String
691
+
692
+ attr_accessor :RequestId
693
+
694
+ def initialize(requestid=nil)
695
+ @RequestId = requestid
696
+ end
697
+
698
+ def deserialize(params)
699
+ @RequestId = params['RequestId']
700
+ end
701
+ end
702
+
631
703
  # DeleteBlackList请求参数结构体
632
704
  class DeleteBlackListRequest < TencentCloud::Common::AbstractModel
633
705
  # @param EmailAddressList: 需要清除的黑名单邮箱列表,数组长度至少为1
@@ -2104,6 +2176,46 @@ module TencentCloud
2104
2176
  end
2105
2177
  end
2106
2178
 
2179
+ # UpdateAddressUnsubscribeConfig请求参数结构体
2180
+ class UpdateAddressUnsubscribeConfigRequest < TencentCloud::Common::AbstractModel
2181
+ # @param Address: 发信地址
2182
+ # @type Address: String
2183
+ # @param UnsubscribeConfig: 退订链接选项 0: 不加入退订链接 1: 简体中文 2: 英文 3: 繁体中文 4: 西班牙语 5: 法语 6: 德语 7: 日语 8: 韩语 9: 阿拉伯语 10: 泰语
2184
+ # @type UnsubscribeConfig: String
2185
+ # @param Status: 0:关闭配置,1:打开配置
2186
+ # @type Status: Integer
2187
+
2188
+ attr_accessor :Address, :UnsubscribeConfig, :Status
2189
+
2190
+ def initialize(address=nil, unsubscribeconfig=nil, status=nil)
2191
+ @Address = address
2192
+ @UnsubscribeConfig = unsubscribeconfig
2193
+ @Status = status
2194
+ end
2195
+
2196
+ def deserialize(params)
2197
+ @Address = params['Address']
2198
+ @UnsubscribeConfig = params['UnsubscribeConfig']
2199
+ @Status = params['Status']
2200
+ end
2201
+ end
2202
+
2203
+ # UpdateAddressUnsubscribeConfig返回参数结构体
2204
+ class UpdateAddressUnsubscribeConfigResponse < TencentCloud::Common::AbstractModel
2205
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2206
+ # @type RequestId: String
2207
+
2208
+ attr_accessor :RequestId
2209
+
2210
+ def initialize(requestid=nil)
2211
+ @RequestId = requestid
2212
+ end
2213
+
2214
+ def deserialize(params)
2215
+ @RequestId = params['RequestId']
2216
+ end
2217
+ end
2218
+
2107
2219
  # UpdateCustomBlackList请求参数结构体
2108
2220
  class UpdateCustomBlackListRequest < TencentCloud::Common::AbstractModel
2109
2221
  # @param Id: 需要更改的黑名单id
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.1070
4
+ version: 3.0.1071
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-28 00:00:00.000000000 Z
11
+ date: 2025-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common