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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201002/client.rb +24 -0
- data/lib/v20201002/models.rb +36 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dab65f4584b919e59eb7b1e0ad45c3d48f03c768
|
4
|
+
data.tar.gz: 00918f834be6ae2028b22a15998dc2a9ac1ee745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1d2bc3ae482f78b2a53ea879a9b33e80a564d7a7aa32b706961608a2c9913a26614253a5d9ce713088099d481cb92e200432e252e5140f229298c6961987530
|
7
|
+
data.tar.gz: 842deadb99561fd7e91e63d11da3f48f47dec3bc844d731cdb977f5ee1e4b2214cf2cd3703bcc22ed69739af70b4e4891d8c7b71ffc48de853e7370b3953bb62
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.475
|
data/lib/v20201002/client.rb
CHANGED
@@ -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.
|
data/lib/v20201002/models.rb
CHANGED
@@ -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.
|
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-
|
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
|