tencentcloud-sdk-ses 1.0.275 → 1.0.276

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: 88e5360455d0532fbd71a7e07f9b98eada424bcb
4
- data.tar.gz: 4c3bd709c7ae0bf37cf61d16028710146a02d97f
3
+ metadata.gz: 2d42f43399e6f316b8f5717c3f2c89cb120f44a6
4
+ data.tar.gz: 7f5e10c11c03141f45b2ea0df564a13d70dbf8c5
5
5
  SHA512:
6
- metadata.gz: 989696d20ec0a1f2277ab2f8fc3f78ca276ca55497b4bd205d57d140e83d26ed0afb4115c3f0e1c109d15017465f603b74e3690994633cf6ce77f04ac1ebe70e
7
- data.tar.gz: 7650c5b0188f2969c02b143b082ab79dbd90ad9967365cc6c2733bd7aebb3c99ab6965623c04742b78f2dd21b8153c0980c7d37f4f6174ef0dfbb96131101368
6
+ metadata.gz: 104140a3ee3b8e8dd18e911afdd504e3ca2f4c47147b6b968d0e0183365be163ab7fec8a13fa7b88231800a0120d105837b8c1f1d2006e58a29e90ebdf599f7d
7
+ data.tar.gz: 2eb943f5ae4d411b0410a7058b156bc384fa43c5f222e105dfc988fed97e738990c244d4a9691d1f18507326b9d2f6d869e3cbeb441644cb456d98373ed378c6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.275
1
+ 1.0.276
@@ -294,6 +294,30 @@ module TencentCloud
294
294
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
295
295
  end
296
296
 
297
+ # 根据收件id删除收件人列表,同时删除列表中的所有收件邮箱
298
+
299
+ # @param request: Request instance for DeleteReceiver.
300
+ # @type request: :class:`Tencentcloud::ses::V20201002::DeleteReceiverRequest`
301
+ # @rtype: :class:`Tencentcloud::ses::V20201002::DeleteReceiverResponse`
302
+ def DeleteReceiver(request)
303
+ body = send_request('DeleteReceiver', request.serialize)
304
+ response = JSON.parse(body)
305
+ if response['Response'].key?('Error') == false
306
+ model = DeleteReceiverResponse.new
307
+ model.deserialize(response['Response'])
308
+ model
309
+ else
310
+ code = response['Response']['Error']['Code']
311
+ message = response['Response']['Error']['Message']
312
+ reqid = response['Response']['RequestId']
313
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
314
+ end
315
+ rescue TencentCloud::Common::TencentCloudSDKException => e
316
+ raise e
317
+ rescue StandardError => e
318
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
319
+ end
320
+
297
321
  # 获取某个发信域名的配置详情
298
322
 
299
323
  # @param request: Request instance for GetEmailIdentity.
@@ -579,6 +579,38 @@ module TencentCloud
579
579
  end
580
580
  end
581
581
 
582
+ # DeleteReceiver请求参数结构体
583
+ class DeleteReceiverRequest < TencentCloud::Common::AbstractModel
584
+ # @param ReceiverId: 收件人列表id,创建收件人列表时会返回
585
+ # @type ReceiverId: Integer
586
+
587
+ attr_accessor :ReceiverId
588
+
589
+ def initialize(receiverid=nil)
590
+ @ReceiverId = receiverid
591
+ end
592
+
593
+ def deserialize(params)
594
+ @ReceiverId = params['ReceiverId']
595
+ end
596
+ end
597
+
598
+ # DeleteReceiver返回参数结构体
599
+ class DeleteReceiverResponse < TencentCloud::Common::AbstractModel
600
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
601
+ # @type RequestId: String
602
+
603
+ attr_accessor :RequestId
604
+
605
+ def initialize(requestid=nil)
606
+ @RequestId = requestid
607
+ end
608
+
609
+ def deserialize(params)
610
+ @RequestId = params['RequestId']
611
+ end
612
+ end
613
+
582
614
  # 发信域名验证列表结构体
583
615
  class EmailIdentity < TencentCloud::Common::AbstractModel
584
616
  # @param IdentityName: 发信域名
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: 1.0.275
4
+ version: 1.0.276
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-11 00:00:00.000000000 Z
11
+ date: 2022-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common