tencentcloud-sdk-ses 3.0.474 → 3.0.475

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: a731bd11368634da8c01f9a97512d7c144dfd97d
4
- data.tar.gz: 6a50f625733b53133fc0d03a67daa92dc5d4d85c
3
+ metadata.gz: dab65f4584b919e59eb7b1e0ad45c3d48f03c768
4
+ data.tar.gz: 00918f834be6ae2028b22a15998dc2a9ac1ee745
5
5
  SHA512:
6
- metadata.gz: d11135db3f5b10ad3b1a9c74b99fc36f02f0fdc87de626b545a116cbad7f1b8e545c33c70ea8507f4832361685c0e9b5a6273e3206d81e905449d857097f42d2
7
- data.tar.gz: eb2101a2e28bb6f486efdbd86c6757d996ae81942384261d6ebef73b32748d51e2ed9b417c2cfe2fa6741231e9a788b02630768557c670d00650db09604aeaf1
6
+ metadata.gz: f1d2bc3ae482f78b2a53ea879a9b33e80a564d7a7aa32b706961608a2c9913a26614253a5d9ce713088099d481cb92e200432e252e5140f229298c6961987530
7
+ data.tar.gz: 842deadb99561fd7e91e63d11da3f48f47dec3bc844d731cdb977f5ee1e4b2214cf2cd3703bcc22ed69739af70b4e4891d8c7b71ffc48de853e7370b3953bb62
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.474
1
+ 3.0.475
@@ -607,6 +607,30 @@ module TencentCloud
607
607
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
608
608
  end
609
609
 
610
+ # 设置邮箱的smtp密码。若要通过smtp发送邮件,必须为邮箱设置smtp密码。初始时,邮箱没有设置smtp密码,不能使用smtp的方式发送邮件。设置smtp密码后,可以修改密码。
611
+
612
+ # @param request: Request instance for UpdateEmailSmtpPassWord.
613
+ # @type request: :class:`Tencentcloud::ses::V20201002::UpdateEmailSmtpPassWordRequest`
614
+ # @rtype: :class:`Tencentcloud::ses::V20201002::UpdateEmailSmtpPassWordResponse`
615
+ def UpdateEmailSmtpPassWord(request)
616
+ body = send_request('UpdateEmailSmtpPassWord', request.serialize)
617
+ response = JSON.parse(body)
618
+ if response['Response'].key?('Error') == false
619
+ model = UpdateEmailSmtpPassWordResponse.new
620
+ model.deserialize(response['Response'])
621
+ model
622
+ else
623
+ code = response['Response']['Error']['Code']
624
+ message = response['Response']['Error']['Message']
625
+ reqid = response['Response']['RequestId']
626
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
627
+ end
628
+ rescue TencentCloud::Common::TencentCloudSDKException => e
629
+ raise e
630
+ rescue StandardError => e
631
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
632
+ end
633
+
610
634
  # 更新邮件模板,更新后需再次审核
611
635
 
612
636
  # @param request: Request instance for UpdateEmailTemplate.
@@ -1706,6 +1706,42 @@ module TencentCloud
1706
1706
  end
1707
1707
  end
1708
1708
 
1709
+ # UpdateEmailSmtpPassWord请求参数结构体
1710
+ class UpdateEmailSmtpPassWordRequest < TencentCloud::Common::AbstractModel
1711
+ # @param Password: smtp密码,长度限制64
1712
+ # @type Password: String
1713
+ # @param EmailAddress: 发信邮箱,长度限制128
1714
+ # @type EmailAddress: String
1715
+
1716
+ attr_accessor :Password, :EmailAddress
1717
+
1718
+ def initialize(password=nil, emailaddress=nil)
1719
+ @Password = password
1720
+ @EmailAddress = emailaddress
1721
+ end
1722
+
1723
+ def deserialize(params)
1724
+ @Password = params['Password']
1725
+ @EmailAddress = params['EmailAddress']
1726
+ end
1727
+ end
1728
+
1729
+ # UpdateEmailSmtpPassWord返回参数结构体
1730
+ class UpdateEmailSmtpPassWordResponse < TencentCloud::Common::AbstractModel
1731
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1732
+ # @type RequestId: String
1733
+
1734
+ attr_accessor :RequestId
1735
+
1736
+ def initialize(requestid=nil)
1737
+ @RequestId = requestid
1738
+ end
1739
+
1740
+ def deserialize(params)
1741
+ @RequestId = params['RequestId']
1742
+ end
1743
+ end
1744
+
1709
1745
  # UpdateEmailTemplate请求参数结构体
1710
1746
  class UpdateEmailTemplateRequest < TencentCloud::Common::AbstractModel
1711
1747
  # @param TemplateContent: 模板内容
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.474
4
+ version: 3.0.475
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-12-15 00:00:00.000000000 Z
11
+ date: 2022-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common