tencentcloud-sdk-iotcloud 3.0.387 → 3.0.388

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: e3b8838376400ad361b1f86d7a883c0e3306a6dc
4
- data.tar.gz: 77be7b04f0950e3aea4235841922e783797b55c1
3
+ metadata.gz: be6f7b74b4fa5198712b997ae0fd4b90db439d9b
4
+ data.tar.gz: ff213249a2437a0fe345d0607b19945470566b8c
5
5
  SHA512:
6
- metadata.gz: 8ac3e793535d7b885d00ebfd9c8c5d07e40285ae5edb9f3daf8c9fa54d5be4c414b04f7c2f7e300d6f682fec213cc3e3c73cd8c83491967a74c64fcbac53f48a
7
- data.tar.gz: 342100a8a6f5773b3de0f26f181220e2f66c9960eb0990fe76a96bbfe6b5627ef4d7d73864a606cd8c773dce78b8544db3c269cba7a015a7fc2b9419685d6be5
6
+ metadata.gz: e723ff7908179274d6b0719c99bb40415c8275c63d705f906d1313dc877995415e7e792d94f2693c2f4aaf67ef717813247f20ba527b57bf939bb10bec11f2d8
7
+ data.tar.gz: 3cebc52f9f6a50be4f846aee9c5c4048f5645059c58fbf0261e2f8d21d27904935f1dc6a80a8de4ad30d0157d31574dbb7482286d7b866fd25812416bca711ea
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.387
1
+ 3.0.388
@@ -317,6 +317,30 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
+ # 本接口(DeleteDeviceShadow)用于删除设备影子
321
+
322
+ # @param request: Request instance for DeleteDeviceShadow.
323
+ # @type request: :class:`Tencentcloud::iotcloud::V20210408::DeleteDeviceShadowRequest`
324
+ # @rtype: :class:`Tencentcloud::iotcloud::V20210408::DeleteDeviceShadowResponse`
325
+ def DeleteDeviceShadow(request)
326
+ body = send_request('DeleteDeviceShadow', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DeleteDeviceShadowResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
320
344
  # 删除私有CA证书
321
345
 
322
346
  # @param request: Request instance for DeletePrivateCA.
@@ -831,6 +831,42 @@ module TencentCloud
831
831
  end
832
832
  end
833
833
 
834
+ # DeleteDeviceShadow请求参数结构体
835
+ class DeleteDeviceShadowRequest < TencentCloud::Common::AbstractModel
836
+ # @param ProductId: 产品ID
837
+ # @type ProductId: String
838
+ # @param DeviceName: 设备名称
839
+ # @type DeviceName: String
840
+
841
+ attr_accessor :ProductId, :DeviceName
842
+
843
+ def initialize(productid=nil, devicename=nil)
844
+ @ProductId = productid
845
+ @DeviceName = devicename
846
+ end
847
+
848
+ def deserialize(params)
849
+ @ProductId = params['ProductId']
850
+ @DeviceName = params['DeviceName']
851
+ end
852
+ end
853
+
854
+ # DeleteDeviceShadow返回参数结构体
855
+ class DeleteDeviceShadowResponse < TencentCloud::Common::AbstractModel
856
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
857
+ # @type RequestId: String
858
+
859
+ attr_accessor :RequestId
860
+
861
+ def initialize(requestid=nil)
862
+ @RequestId = requestid
863
+ end
864
+
865
+ def deserialize(params)
866
+ @RequestId = params['RequestId']
867
+ end
868
+ end
869
+
834
870
  # DeletePrivateCA请求参数结构体
835
871
  class DeletePrivateCARequest < TencentCloud::Common::AbstractModel
836
872
  # @param CertName: 私有CA证书名称
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-iotcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.387
4
+ version: 3.0.388
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-08-15 00:00:00.000000000 Z
11
+ date: 2022-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common