tencentcloud-sdk-ses 3.0.656 → 3.0.657

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0ef3547c0b3dacd6a6b1439b6a5be48b6f3e920b
4
- data.tar.gz: 778ec15a949382b5583e0676484c88a6924be735
3
+ metadata.gz: 275e066f790b0aa667dedae5a80631727628d529
4
+ data.tar.gz: 7fc15aaf3f238496cacc595d42e1c40b7bb221d6
5
5
  SHA512:
6
- metadata.gz: 4ae1d31539fa0aa8ccafd912b78a15ccde33989589ebd6403ea5ef935ef2b265ec96443956c0e9494bba5371fdfc9ab23c852b1364cf811de7eb4fd6e3c188bc
7
- data.tar.gz: 165fb9efa13fc06ea650464cbaeacf2efee615a352f831f280eb7b4fad6ec090280a6f963241d4b906dbb06e0c03711163119937bc7e8d74bc74aa4b92fff2ee
6
+ metadata.gz: e29c9d766d8ea08afe2e8f5e8cc8344a4fbadb357452ebaace4e4e0182d679356e331ff17c132c70e53b0da54bcbedc792ac8f0c39aaebc458af785fdb231d5d
7
+ data.tar.gz: 2f4978c1e8e879d30dc4c5bb88e300307c31d4f2f2a3b606f9ab5c2ff19b88c1340998b5c006ba77cbc41ec1f0f2a51457f4bc8c69f378f71da09ee2af44f1e0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.656
1
+ 3.0.657
@@ -511,6 +511,30 @@ module TencentCloud
511
511
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
512
512
  end
513
513
 
514
+ # 根据收件人列表id查询收件人列表中的所有收件人邮箱地址,分页查询,可以根据收件邮箱地址来过滤查询
515
+
516
+ # @param request: Request instance for ListReceiverDetails.
517
+ # @type request: :class:`Tencentcloud::ses::V20201002::ListReceiverDetailsRequest`
518
+ # @rtype: :class:`Tencentcloud::ses::V20201002::ListReceiverDetailsResponse`
519
+ def ListReceiverDetails(request)
520
+ body = send_request('ListReceiverDetails', request.serialize)
521
+ response = JSON.parse(body)
522
+ if response['Response'].key?('Error') == false
523
+ model = ListReceiverDetailsResponse.new
524
+ model.deserialize(response['Response'])
525
+ model
526
+ else
527
+ code = response['Response']['Error']['Code']
528
+ message = response['Response']['Error']['Message']
529
+ reqid = response['Response']['RequestId']
530
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
531
+ end
532
+ rescue TencentCloud::Common::TencentCloudSDKException => e
533
+ raise e
534
+ rescue StandardError => e
535
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
536
+ end
537
+
514
538
  # 根据条件查询收件人列表,支持分页,模糊查询,状态查询
515
539
 
516
540
  # @param request: Request instance for ListReceivers.
@@ -1103,6 +1103,65 @@ module TencentCloud
1103
1103
  end
1104
1104
  end
1105
1105
 
1106
+ # ListReceiverDetails请求参数结构体
1107
+ class ListReceiverDetailsRequest < TencentCloud::Common::AbstractModel
1108
+ # @param ReceiverId: 收件人列表ID,CreateReceiver接口创建收件人列表时会返回该值
1109
+ # @type ReceiverId: Integer
1110
+ # @param Offset: 偏移量,整型,从0开始
1111
+ # @type Offset: Integer
1112
+ # @param Limit: 限制数目,整型,不超过100
1113
+ # @type Limit: Integer
1114
+ # @param Email: 收件人地址,长度0-50,示例:xxx@te.com,支持模糊查询
1115
+ # @type Email: String
1116
+
1117
+ attr_accessor :ReceiverId, :Offset, :Limit, :Email
1118
+
1119
+ def initialize(receiverid=nil, offset=nil, limit=nil, email=nil)
1120
+ @ReceiverId = receiverid
1121
+ @Offset = offset
1122
+ @Limit = limit
1123
+ @Email = email
1124
+ end
1125
+
1126
+ def deserialize(params)
1127
+ @ReceiverId = params['ReceiverId']
1128
+ @Offset = params['Offset']
1129
+ @Limit = params['Limit']
1130
+ @Email = params['Email']
1131
+ end
1132
+ end
1133
+
1134
+ # ListReceiverDetails返回参数结构体
1135
+ class ListReceiverDetailsResponse < TencentCloud::Common::AbstractModel
1136
+ # @param TotalCount: 总数
1137
+ # @type TotalCount: Integer
1138
+ # @param Data: 数据记录
1139
+ # @type Data: Array
1140
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1141
+ # @type RequestId: String
1142
+
1143
+ attr_accessor :TotalCount, :Data, :RequestId
1144
+
1145
+ def initialize(totalcount=nil, data=nil, requestid=nil)
1146
+ @TotalCount = totalcount
1147
+ @Data = data
1148
+ @RequestId = requestid
1149
+ end
1150
+
1151
+ def deserialize(params)
1152
+ @TotalCount = params['TotalCount']
1153
+ unless params['Data'].nil?
1154
+ @Data = []
1155
+ params['Data'].each do |i|
1156
+ receiverdetail_tmp = ReceiverDetail.new
1157
+ receiverdetail_tmp.deserialize(i)
1158
+ @Data << receiverdetail_tmp
1159
+ end
1160
+ end
1161
+ @RequestId = params['RequestId']
1162
+ end
1163
+ end
1164
+
1106
1165
  # ListReceivers请求参数结构体
1107
1166
  class ListReceiversRequest < TencentCloud::Common::AbstractModel
1108
1167
  # @param Offset: 偏移量,整型,从0开始
@@ -1263,6 +1322,30 @@ module TencentCloud
1263
1322
  end
1264
1323
  end
1265
1324
 
1325
+ # 收件人列表详情
1326
+ class ReceiverDetail < TencentCloud::Common::AbstractModel
1327
+ # @param Email: 收件人地址
1328
+ # @type Email: String
1329
+ # @param CreateTime: 创建时间
1330
+ # @type CreateTime: String
1331
+ # @param TemplateData: 模板参数
1332
+ # @type TemplateData: String
1333
+
1334
+ attr_accessor :Email, :CreateTime, :TemplateData
1335
+
1336
+ def initialize(email=nil, createtime=nil, templatedata=nil)
1337
+ @Email = email
1338
+ @CreateTime = createtime
1339
+ @TemplateData = templatedata
1340
+ end
1341
+
1342
+ def deserialize(params)
1343
+ @Email = params['Email']
1344
+ @CreateTime = params['CreateTime']
1345
+ @TemplateData = params['TemplateData']
1346
+ end
1347
+ end
1348
+
1266
1349
  # 收件人明细输入参数,包含收件人邮箱,以及模板参数
1267
1350
  class ReceiverInputData < TencentCloud::Common::AbstractModel
1268
1351
  # @param Email: 收件人邮箱
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.656
4
+ version: 3.0.657
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-11 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common