tencentcloud-sdk-nodejs 4.0.1015 → 4.0.1016

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +133 -0
  2. package/SERVICE_CHANGELOG.md +157 -628
  3. package/package.json +1 -1
  4. package/products.md +9 -9
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +20 -9
  7. package/src/services/cfs/v20190719/cfs_client.ts +19 -7
  8. package/src/services/cfs/v20190719/cfs_models.ts +52 -28
  9. package/src/services/cvm/v20170312/cvm_models.ts +20 -0
  10. package/src/services/faceid/v20180301/faceid_models.ts +7 -7
  11. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +17 -4
  12. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +156 -40
  13. package/src/services/lighthouse/v20200324/lighthouse_models.ts +8 -0
  14. package/src/services/mps/v20190612/mps_models.ts +2 -5
  15. package/src/services/postgres/v20170312/postgres_models.ts +30 -16
  16. package/tencentcloud/common/sdk_version.d.ts +1 -1
  17. package/tencentcloud/common/sdk_version.js +1 -1
  18. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +20 -9
  19. package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +7 -3
  20. package/tencentcloud/services/cfs/v20190719/cfs_client.js +9 -3
  21. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +50 -28
  22. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +20 -0
  23. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +7 -7
  24. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  25. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  26. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +153 -40
  27. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +8 -0
  28. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2 -5
  29. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +30 -16
  30. package/test/cfs.v20190719.test.js +12 -2
  31. package/test/iotexplorer.v20190423.test.js +10 -0
@@ -502,6 +502,36 @@ export interface DescribeSpaceFenceEventListResponse {
502
502
  RequestId?: string
503
503
  }
504
504
 
505
+ /**
506
+ * DescribeCloudStorageEventsWithAITasks返回参数结构体
507
+ */
508
+ export interface DescribeCloudStorageEventsWithAITasksResponse {
509
+ /**
510
+ * 云存事件列表
511
+ */
512
+ Events?: Array<CloudStorageEventWithAITasks>
513
+ /**
514
+ * 请求上下文, 用作查询游标
515
+ */
516
+ Context?: string
517
+ /**
518
+ * 拉取结果是否已经结束
519
+ */
520
+ Listover?: boolean
521
+ /**
522
+ * 内部结果数量,并不等同于事件总数。
523
+ */
524
+ Total?: number
525
+ /**
526
+ * 视频播放URL
527
+ */
528
+ VideoURL?: string
529
+ /**
530
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
531
+ */
532
+ RequestId?: string
533
+ }
534
+
505
535
  /**
506
536
  * SearchTopicRule返回参数结构体
507
537
  */
@@ -3272,13 +3302,33 @@ export interface DescribeCloudStorageStreamDataRequest {
3272
3302
  }
3273
3303
 
3274
3304
  /**
3275
- * CancelAssignTWeCallLicense返回参数结构体
3305
+ * DirectBindDeviceInFamily请求参数结构体
3276
3306
  */
3277
- export interface CancelAssignTWeCallLicenseResponse {
3307
+ export interface DirectBindDeviceInFamilyRequest {
3278
3308
  /**
3279
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3309
+ * 小程序appid
3280
3310
  */
3281
- RequestId?: string
3311
+ IotAppID: string
3312
+ /**
3313
+ * 用户ID
3314
+ */
3315
+ UserID: string
3316
+ /**
3317
+ * 家庭ID
3318
+ */
3319
+ FamilyId: string
3320
+ /**
3321
+ * 产品ID
3322
+ */
3323
+ ProductId: string
3324
+ /**
3325
+ * 设备名
3326
+ */
3327
+ DeviceName: string
3328
+ /**
3329
+ * 房间ID
3330
+ */
3331
+ RoomId?: string
3282
3332
  }
3283
3333
 
3284
3334
  /**
@@ -3523,6 +3573,56 @@ export interface CreatePositionSpaceRequest {
3523
3573
  Icon?: string
3524
3574
  }
3525
3575
 
3576
+ /**
3577
+ * DescribeCloudStorageEventsWithAITasks请求参数结构体
3578
+ */
3579
+ export interface DescribeCloudStorageEventsWithAITasksRequest {
3580
+ /**
3581
+ * 产品ID
3582
+ */
3583
+ ProductId: string
3584
+ /**
3585
+ * 设备名称
3586
+ */
3587
+ DeviceName: string
3588
+ /**
3589
+ * 事件关联的视频 AI 分析服务类型(支持多选)。可选值:
3590
+
3591
+ - `RealtimeObjectDetect`:目标检测
3592
+ - `Highlight`:视频浓缩
3593
+ - `VideoToText`:视频语义理解
3594
+ */
3595
+ ServiceTypes: Array<string>
3596
+ /**
3597
+ * 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
3598
+ */
3599
+ StartTime?: number
3600
+ /**
3601
+ * 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
3602
+ */
3603
+ EndTime?: number
3604
+ /**
3605
+ * 请求上下文, 用作查询游标
3606
+ */
3607
+ Context?: string
3608
+ /**
3609
+ * 查询数据项目的最大数量, 默认为10。假设传Size=10,返回的实际事件数量为N,则 5 <= N <= 10。
3610
+ */
3611
+ Size?: number
3612
+ /**
3613
+ * 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
3614
+ */
3615
+ EventId?: string
3616
+ /**
3617
+ * 用户ID
3618
+ */
3619
+ UserId?: string
3620
+ /**
3621
+ * 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
3622
+ */
3623
+ ChannelId?: number
3624
+ }
3625
+
3526
3626
  /**
3527
3627
  * DismissRoomByStrRoomIdFromTRTC请求参数结构体
3528
3628
  */
@@ -4648,6 +4748,7 @@ export interface DescribeCloudStorageAIServiceTasksRequest {
4648
4748
  * 云存 AI 服务类型。可选值:
4649
4749
  - `RealtimeObjectDetect`:目标检测
4650
4750
  - `Highlight`:视频浓缩
4751
+ - `VideoToText`:视频语义理解
4651
4752
  */
4652
4753
  ServiceType: string
4653
4754
  /**
@@ -4902,9 +5003,17 @@ export interface CallDeviceActionAsyncRequest {
4902
5003
  }
4903
5004
 
4904
5005
  /**
4905
- * ResumeWeCallDevice返回参数结构体
5006
+ * CallDeviceActionAsync返回参数结构体
4906
5007
  */
4907
- export interface ResumeWeCallDeviceResponse {
5008
+ export interface CallDeviceActionAsyncResponse {
5009
+ /**
5010
+ * 调用Id
5011
+ */
5012
+ ClientToken: string
5013
+ /**
5014
+ * 异步调用状态
5015
+ */
5016
+ Status: string
4908
5017
  /**
4909
5018
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4910
5019
  */
@@ -5074,6 +5183,40 @@ export interface WXDeviceInfo {
5074
5183
  WXIoTDeviceInfo?: WXIoTDeviceInfo
5075
5184
  }
5076
5185
 
5186
+ /**
5187
+ * 云存事件及其关联的云存 AI 任务
5188
+ */
5189
+ export interface CloudStorageEventWithAITasks {
5190
+ /**
5191
+ * 事件起始时间(Unix 时间戳,秒级
5192
+ */
5193
+ StartTime?: number
5194
+ /**
5195
+ * 事件结束时间(Unix 时间戳,秒级
5196
+ */
5197
+ EndTime?: number
5198
+ /**
5199
+ * 事件缩略图
5200
+ */
5201
+ Thumbnail?: string
5202
+ /**
5203
+ * 事件ID
5204
+ */
5205
+ EventId?: string
5206
+ /**
5207
+ * 事件录像上传状态,Finished: 全部上传成功 Partial: 部分上传成功 Failed: 上传失败
5208
+ */
5209
+ UploadStatus?: string
5210
+ /**
5211
+ * 事件自定义数据
5212
+ */
5213
+ Data?: string
5214
+ /**
5215
+ * 事件关联的云存 AI 任务列表
5216
+ */
5217
+ AITasks?: Array<CloudStorageAIServiceTask>
5218
+ }
5219
+
5077
5220
  /**
5078
5221
  * CreateDeviceChannel请求参数结构体
5079
5222
  */
@@ -6434,6 +6577,7 @@ export interface CloudStorageAIServiceTask {
6434
6577
 
6435
6578
  - `RealtimeObjectDetect`:目标检测
6436
6579
  - `Highlight`:视频浓缩
6580
+ - `VideoToText`:视频语义理解
6437
6581
  */
6438
6582
  ServiceType?: string
6439
6583
  /**
@@ -6630,17 +6774,9 @@ export interface GetWechatDeviceTicketResponse {
6630
6774
  }
6631
6775
 
6632
6776
  /**
6633
- * CallDeviceActionAsync返回参数结构体
6777
+ * ResumeWeCallDevice返回参数结构体
6634
6778
  */
6635
- export interface CallDeviceActionAsyncResponse {
6636
- /**
6637
- * 调用Id
6638
- */
6639
- ClientToken: string
6640
- /**
6641
- * 异步调用状态
6642
- */
6643
- Status: string
6779
+ export interface ResumeWeCallDeviceResponse {
6644
6780
  /**
6645
6781
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6646
6782
  */
@@ -7187,33 +7323,13 @@ export interface CreateTopicPolicyRequest {
7187
7323
  }
7188
7324
 
7189
7325
  /**
7190
- * DirectBindDeviceInFamily请求参数结构体
7326
+ * CancelAssignTWeCallLicense返回参数结构体
7191
7327
  */
7192
- export interface DirectBindDeviceInFamilyRequest {
7193
- /**
7194
- * 小程序appid
7195
- */
7196
- IotAppID: string
7197
- /**
7198
- * 用户ID
7199
- */
7200
- UserID: string
7201
- /**
7202
- * 家庭ID
7203
- */
7204
- FamilyId: string
7205
- /**
7206
- * 产品ID
7207
- */
7208
- ProductId: string
7209
- /**
7210
- * 设备名
7211
- */
7212
- DeviceName: string
7328
+ export interface CancelAssignTWeCallLicenseResponse {
7213
7329
  /**
7214
- * 房间ID
7330
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7215
7331
  */
7216
- RoomId?: string
7332
+ RequestId?: string
7217
7333
  }
7218
7334
 
7219
7335
  /**
@@ -293,6 +293,14 @@ false(默认):发送正常请求,通过检查后直接创建实例
293
293
  * 创建实例后自动执行的命令。
294
294
  */
295
295
  InitCommand?: Command
296
+ /**
297
+ * 主域名。
298
+ */
299
+ DomainName?: string
300
+ /**
301
+ * 子域名。
302
+ */
303
+ Subdomain?: string
296
304
  }
297
305
 
298
306
  /**
@@ -7963,7 +7963,7 @@ export interface CreateInput {
7963
7963
  */
7964
7964
  InputName: string
7965
7965
  /**
7966
- * 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。
7966
+ * 输入的协议,可选[SRT|RTP|RTMP_PUSH|RTMP_PULL|RTSP_PULL|RIST]。
7967
7967
  */
7968
7968
  Protocol: string
7969
7969
  /**
@@ -15192,10 +15192,7 @@ export interface ModifyInput {
15192
15192
  */
15193
15193
  RTPSettings: CreateInputRTPSettings
15194
15194
  /**
15195
- * 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。
15196
- 当输出包含RTP时,输入只能是RTP。
15197
- 当输出包含RTMP时,输入可以是SRT/RTMP。
15198
- 当输出包含SRT时,输入只能是SRT。
15195
+ * 输入的协议,可选[SRT|RTP|RTMP_PUSH|RTMP_PULL|RTSP_PULL|RIST]。 -
15199
15196
  */
15200
15197
  Protocol?: string
15201
15198
  /**
@@ -747,7 +747,7 @@ export interface RenewInstanceResponse {
747
747
  /**
748
748
  * 订单名
749
749
  */
750
- DealName: string
750
+ DealName?: string
751
751
  /**
752
752
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
753
753
  */
@@ -1002,11 +1002,16 @@ export interface RenewInstanceRequest {
1002
1002
  */
1003
1003
  DBInstanceId: string
1004
1004
  /**
1005
- * 续费多少个月
1005
+ * 购买时长,单位:月。
1006
+ <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
1007
+ <li>后付费:只支持1</li>
1006
1008
  */
1007
1009
  Period: number
1008
1010
  /**
1009
- * 是否自动使用代金券,1是,0否,默认不使用
1011
+ * 是否自动使用代金券:
1012
+ <li>0:否</li>
1013
+ <li>1:是</li>
1014
+ 默认值:0
1010
1015
  */
1011
1016
  AutoVoucher?: number
1012
1017
  /**
@@ -1698,6 +1703,7 @@ TDE:支持数据加密。
1698
1703
  /**
1699
1704
  * 数据库版本状态,包括:
1700
1705
  AVAILABLE:可用;
1706
+ UPGRADE_ONLY:不可创建,此版本仅可升级至高版本;
1701
1707
  DEPRECATED:已弃用。
1702
1708
  */
1703
1709
  Status?: string
@@ -5144,13 +5150,21 @@ export interface ModifyBackupPlanRequest {
5144
5150
  */
5145
5151
  BaseBackupRetentionPeriod?: number
5146
5152
  /**
5147
- * 实例备份周期,按照星期维度,格式为小写星期英文单词
5153
+ * 实例备份周期,若是星期维度,格式为小写星期英文单词;若是按月维度,格式为数字字符,如["1","2"]。
5148
5154
  */
5149
5155
  BackupPeriod?: Array<string>
5150
5156
  /**
5151
5157
  * 实例日志备份保留时长,取值范围为7-1830,单位是天
5152
5158
  */
5153
5159
  LogBackupRetentionPeriod?: number
5160
+ /**
5161
+ * 备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。
5162
+ */
5163
+ PlanId?: string
5164
+ /**
5165
+ * 要修改的备份计划名称。
5166
+ */
5167
+ PlanName?: string
5154
5168
  }
5155
5169
 
5156
5170
  /**
@@ -5380,14 +5394,14 @@ export interface DisIsolateDBInstancesRequest {
5380
5394
  DBInstanceIdSet: Array<string>
5381
5395
  /**
5382
5396
  * 购买时长,单位:月。
5383
- <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
5384
- <li>后付费:只支持1
5397
+ <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
5398
+ <li>后付费:只支持1</li>
5385
5399
  */
5386
5400
  Period?: number
5387
5401
  /**
5388
5402
  * 是否使用代金券:
5389
- <li>true:使用
5390
- <li>false:不使用
5403
+ <li>true:使用</li>
5404
+ <li>false:不使用</li>
5391
5405
  默认值:false
5392
5406
  */
5393
5407
  AutoVoucher?: boolean
@@ -5747,28 +5761,28 @@ export interface ModifyDBInstanceChargeTypeRequest {
5747
5761
  DBInstanceId: string
5748
5762
  /**
5749
5763
  * 实例计费类型,目前支持:
5750
- <li>PREPAID:预付费,即包年包月
5751
- <li>POSTPAID_BY_HOUR:后付费,即按量计费
5764
+ <li>PREPAID:预付费,即包年包月</li>
5765
+ <li>POSTPAID_BY_HOUR:后付费,即按量计费</li>
5752
5766
  默认值:PREPAID
5753
5767
  */
5754
5768
  InstanceChargeType: string
5755
5769
  /**
5756
5770
  * 购买时长,单位:月。
5757
- <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
5758
- <li>后付费:只支持1
5771
+ <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
5772
+ <li>后付费:只支持1</li>
5759
5773
  */
5760
5774
  Period: number
5761
5775
  /**
5762
5776
  * 续费标记:
5763
- <li>0:手动续费
5764
- <li>1:自动续费
5777
+ <li>0:手动续费</li>
5778
+ <li>1:自动续费</li>
5765
5779
  默认值:0
5766
5780
  */
5767
5781
  AutoRenewFlag?: number
5768
5782
  /**
5769
5783
  * 是否自动使用代金券:
5770
- <li>0:否
5771
- <li>1:是
5784
+ <li>0:否</li>
5785
+ <li>1:是</li>
5772
5786
  默认值:0
5773
5787
  */
5774
5788
  AutoVoucher?: number
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.1015";
1
+ export declare const sdkVersion = "4.0.1016";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.1015";
4
+ exports.sdkVersion = "4.0.1016";
@@ -223,12 +223,10 @@ export interface ScheduleInfo {
223
223
  export interface BindUser {
224
224
  /**
225
225
  * 用户名
226
- 注意:此字段可能返回 null,表示取不到有效值。
227
226
  */
228
227
  UserName?: string;
229
228
  /**
230
229
  * 主机信息
231
- 注意:此字段可能返回 null,表示取不到有效值。
232
230
  */
233
231
  Host?: string;
234
232
  }
@@ -842,6 +840,14 @@ export interface DescribeSlowQueryRecordsDownloadRequest {
842
840
  * catalog名称
843
841
  */
844
842
  CatalogName?: Array<string>;
843
+ /**
844
+ * 排序字段
845
+ */
846
+ SortField?: string;
847
+ /**
848
+ * 排序方式
849
+ */
850
+ SortOrder?: string;
845
851
  }
846
852
  /**
847
853
  * DescribeRestoreTaskDetail返回参数结构体
@@ -1503,12 +1509,10 @@ export interface DescribeSlowQueryRecordsResponse {
1503
1509
  SlowQueryRecords?: Array<SlowQueryRecord>;
1504
1510
  /**
1505
1511
  * 所有数据库名
1506
- 注意:此字段可能返回 null,表示取不到有效值。
1507
1512
  */
1508
1513
  DBNameList?: Array<string>;
1509
1514
  /**
1510
1515
  * 所有catalog名
1511
- 注意:此字段可能返回 null,表示取不到有效值。
1512
1516
  */
1513
1517
  CatalogNameList?: Array<string>;
1514
1518
  /**
@@ -1795,6 +1799,14 @@ export interface DescribeSlowQueryRecordsRequest {
1795
1799
  * MemoryUsage排序字段
1796
1800
  */
1797
1801
  MemoryUsage?: string;
1802
+ /**
1803
+ * 排序字段
1804
+ */
1805
+ SortField?: string;
1806
+ /**
1807
+ * 排序方式
1808
+ */
1809
+ SortOrder?: string;
1798
1810
  }
1799
1811
  /**
1800
1812
  * DescribeInstanceNodesRole返回参数结构体
@@ -2681,12 +2693,10 @@ export interface BackupStatus {
2681
2693
  Timeout?: number;
2682
2694
  /**
2683
2695
  * 备份实例id
2684
- 注意:此字段可能返回 null,表示取不到有效值。
2685
2696
  */
2686
2697
  BackupJobId?: number;
2687
2698
  /**
2688
2699
  * 实例对应snapshoit的id
2689
- 注意:此字段可能返回 null,表示取不到有效值。
2690
2700
  */
2691
2701
  TaskId?: number;
2692
2702
  }
@@ -2973,17 +2983,14 @@ export interface ModifySecurityGroupsResponse {
2973
2983
  export interface BackupCosInfo {
2974
2984
  /**
2975
2985
  * 备份文件所在的cos桶
2976
- 注意:此字段可能返回 null,表示取不到有效值。
2977
2986
  */
2978
2987
  CosBucket?: string;
2979
2988
  /**
2980
2989
  * 备份文件所在的完整cos路径
2981
- 注意:此字段可能返回 null,表示取不到有效值。
2982
2990
  */
2983
2991
  CosPath?: string;
2984
2992
  /**
2985
2993
  * 备份文件名称
2986
- 注意:此字段可能返回 null,表示取不到有效值。
2987
2994
  */
2988
2995
  SnapShotPath?: string;
2989
2996
  }
@@ -3772,6 +3779,10 @@ export interface DescribeDatabaseAuditDownloadRequest {
3772
3779
  * catalog名称 (多选)
3773
3780
  */
3774
3781
  Catalogs?: Array<string>;
3782
+ /**
3783
+ * 是否是查询
3784
+ */
3785
+ IsQuery?: Array<boolean>;
3775
3786
  }
3776
3787
  /**
3777
3788
  * 集群规格
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { CreateMigrationTaskRequest, ScaleUpFileSystemResponse, DescribeCfsPGroupsResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, DescribeCfsFileSystemsResponse, CreateCfsFileSystemResponse, BindAutoSnapshotPolicyRequest, ModifyFileSystemAutoScaleUpRuleRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse, SignUpCfsServiceRequest, SignUpCfsServiceResponse, DescribeCfsRulesRequest, UpdateCfsFileSystemNameRequest, DeleteCfsPGroupRequest, UpdateCfsPGroupResponse, DeleteAutoSnapshotPolicyRequest, DeleteCfsFileSystemResponse, UpdateCfsRuleRequest, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DeleteMountTargetResponse, CreateCfsSnapshotRequest, DescribeBucketListRequest, DeleteCfsRuleRequest, UpdateCfsRuleResponse, DeleteMigrationTaskResponse, UpdateFileSystemBandwidthLimitResponse, DescribeSnapshotOperationLogsResponse, DeleteCfsFileSystemRequest, UpdateFileSystemBandwidthLimitRequest, CreateCfsPGroupResponse, DescribeCfsServiceStatusRequest, DeleteUserQuotaResponse, DeleteMigrationTaskRequest, SetUserQuotaRequest, CreateAutoSnapshotPolicyResponse, ModifyFileSystemAutoScaleUpRuleResponse, CreateCfsSnapshotResponse, DeleteMountTargetRequest, CreateCfsRuleRequest, DescribeUserQuotaRequest, DescribeBucketListResponse, UpdateCfsFileSystemNameResponse, DescribeCfsSnapshotOverviewResponse, DeleteCfsSnapshotRequest, DescribeCfsFileSystemClientsRequest, DescribeCfsFileSystemsRequest, CreateCfsFileSystemRequest, DescribeMigrationTasksRequest, UnbindAutoSnapshotPolicyRequest, UnbindAutoSnapshotPolicyResponse, DescribeCfsServiceStatusResponse, DescribeCfsSnapshotsRequest, UpdateCfsFileSystemSizeLimitResponse, UpdateAutoSnapshotPolicyRequest, UpdateCfsFileSystemSizeLimitRequest, DescribeCfsRulesResponse, UpdateCfsFileSystemPGroupResponse, UpdateAutoSnapshotPolicyResponse, UpdateCfsFileSystemPGroupRequest, CreateMigrationTaskResponse, DeleteAutoSnapshotPolicyResponse, DeleteCfsRuleResponse, UpdateCfsSnapshotAttributeResponse, UpdateCfsPGroupRequest, SetUserQuotaResponse, DescribeCfsPGroupsRequest, DeleteCfsPGroupResponse, UpdateCfsSnapshotAttributeRequest, DescribeUserQuotaResponse, CreateCfsRuleResponse, StopMigrationTaskResponse, DescribeCfsSnapshotsResponse, StopMigrationTaskRequest, DescribeAutoSnapshotPoliciesResponse, DescribeCfsSnapshotOverviewRequest, CreateAutoSnapshotPolicyRequest } from "./cfs_models";
3
+ import { CreateMigrationTaskRequest, ScaleUpFileSystemResponse, DescribeCfsPGroupsResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, DescribeCfsFileSystemsResponse, CreateCfsFileSystemResponse, BindAutoSnapshotPolicyRequest, ModifyFileSystemAutoScaleUpRuleRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse, SignUpCfsServiceRequest, SignUpCfsServiceResponse, DescribeCfsRulesRequest, UpdateCfsFileSystemNameRequest, DeleteCfsPGroupRequest, UpdateCfsPGroupResponse, DeleteAutoSnapshotPolicyRequest, DeleteCfsFileSystemResponse, UpdateCfsRuleRequest, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DeleteMountTargetResponse, CreateCfsSnapshotRequest, DescribeBucketListRequest, DeleteCfsRuleRequest, UpdateCfsRuleResponse, DeleteMigrationTaskResponse, UpdateFileSystemBandwidthLimitResponse, DescribeSnapshotOperationLogsResponse, DeleteCfsFileSystemRequest, UpdateFileSystemBandwidthLimitRequest, CreateCfsPGroupResponse, DescribeCfsServiceStatusRequest, DeleteUserQuotaResponse, DeleteMigrationTaskRequest, SetUserQuotaRequest, CreateAutoSnapshotPolicyResponse, ModifyFileSystemAutoScaleUpRuleResponse, CreateCfsSnapshotResponse, DeleteMountTargetRequest, CreateCfsRuleRequest, CreateAccessCertRequest, DescribeUserQuotaRequest, DescribeBucketListResponse, UpdateCfsFileSystemNameResponse, DescribeCfsSnapshotOverviewResponse, DeleteCfsSnapshotRequest, DescribeCfsFileSystemClientsRequest, DescribeCfsFileSystemsRequest, CreateCfsFileSystemRequest, DescribeMigrationTasksRequest, UnbindAutoSnapshotPolicyRequest, UnbindAutoSnapshotPolicyResponse, DescribeCfsServiceStatusResponse, DescribeCfsSnapshotsRequest, UpdateCfsFileSystemSizeLimitResponse, UpdateAutoSnapshotPolicyRequest, UpdateCfsFileSystemSizeLimitRequest, DescribeCfsRulesResponse, UpdateCfsFileSystemPGroupResponse, UpdateAutoSnapshotPolicyResponse, UpdateCfsFileSystemPGroupRequest, CreateMigrationTaskResponse, DeleteAutoSnapshotPolicyResponse, DeleteCfsRuleResponse, UpdateCfsSnapshotAttributeResponse, UpdateCfsPGroupRequest, CreateAccessCertResponse, SetUserQuotaResponse, DescribeCfsPGroupsRequest, DeleteCfsPGroupResponse, UpdateCfsSnapshotAttributeRequest, DescribeUserQuotaResponse, CreateCfsRuleResponse, StopMigrationTaskResponse, DescribeCfsSnapshotsResponse, StopMigrationTaskRequest, DescribeAutoSnapshotPoliciesResponse, DescribeCfsSnapshotOverviewRequest, CreateAutoSnapshotPolicyRequest } from "./cfs_models";
4
4
  /**
5
5
  * cfs client
6
6
  * @class
@@ -119,6 +119,10 @@ export declare class Client extends AbstractClient {
119
119
  * 更新定期自动快照策略
120
120
  */
121
121
  UpdateAutoSnapshotPolicy(req: UpdateAutoSnapshotPolicyRequest, cb?: (error: string, rep: UpdateAutoSnapshotPolicyResponse) => void): Promise<UpdateAutoSnapshotPolicyResponse>;
122
+ /**
123
+ * 本接口(UpdateCfsRule)用于更新权限规则。
124
+ */
125
+ UpdateCfsRule(req: UpdateCfsRuleRequest, cb?: (error: string, rep: UpdateCfsRuleResponse) => void): Promise<UpdateCfsRuleResponse>;
122
126
  /**
123
127
  * 本接口(DescribeCfsFileSystems)用于查询文件系统
124
128
  */
@@ -179,9 +183,9 @@ export declare class Client extends AbstractClient {
179
183
  */
180
184
  CreateCfsRule(req: CreateCfsRuleRequest, cb?: (error: string, rep: CreateCfsRuleResponse) => void): Promise<CreateCfsRuleResponse>;
181
185
  /**
182
- * 本接口(UpdateCfsRule)用于更新权限规则。
186
+ * 创建用于访问文件系统的凭证
183
187
  */
184
- UpdateCfsRule(req: UpdateCfsRuleRequest, cb?: (error: string, rep: UpdateCfsRuleResponse) => void): Promise<UpdateCfsRuleResponse>;
188
+ CreateAccessCert(req: CreateAccessCertRequest, cb?: (error: string, rep: CreateAccessCertResponse) => void): Promise<CreateAccessCertResponse>;
185
189
  /**
186
190
  * 本接口(UpdateCfsPGroup)更新权限组信息。
187
191
  */
@@ -193,6 +193,12 @@ class Client extends abstract_client_1.AbstractClient {
193
193
  async UpdateAutoSnapshotPolicy(req, cb) {
194
194
  return this.request("UpdateAutoSnapshotPolicy", req, cb);
195
195
  }
196
+ /**
197
+ * 本接口(UpdateCfsRule)用于更新权限规则。
198
+ */
199
+ async UpdateCfsRule(req, cb) {
200
+ return this.request("UpdateCfsRule", req, cb);
201
+ }
196
202
  /**
197
203
  * 本接口(DescribeCfsFileSystems)用于查询文件系统
198
204
  */
@@ -281,10 +287,10 @@ class Client extends abstract_client_1.AbstractClient {
281
287
  return this.request("CreateCfsRule", req, cb);
282
288
  }
283
289
  /**
284
- * 本接口(UpdateCfsRule)用于更新权限规则。
290
+ * 创建用于访问文件系统的凭证
285
291
  */
286
- async UpdateCfsRule(req, cb) {
287
- return this.request("UpdateCfsRule", req, cb);
292
+ async CreateAccessCert(req, cb) {
293
+ return this.request("CreateAccessCert", req, cb);
288
294
  }
289
295
  /**
290
296
  * 本接口(UpdateCfsPGroup)更新权限组信息。
@@ -735,6 +735,39 @@ export interface UpdateCfsPGroupResponse {
735
735
  */
736
736
  RequestId?: string;
737
737
  }
738
+ /**
739
+ * 快照操作日志
740
+ */
741
+ export interface SnapshotOperateLog {
742
+ /**
743
+ * 操作类型
744
+ CreateCfsSnapshot:创建快照
745
+ DeleteCfsSnapshot:删除快照
746
+ CreateCfsFileSystem:创建文件系统
747
+ UpdateCfsSnapshotAttribute:更新快照
748
+ */
749
+ Action?: string;
750
+ /**
751
+ * 操作时间
752
+ */
753
+ ActionTime?: string;
754
+ /**
755
+ * 操作名称
756
+ CreateCfsSnapshot
757
+ DeleteCfsSnapshot
758
+ CreateCfsFileSystem
759
+ UpdateCfsSnapshotAttribute
760
+ */
761
+ ActionName?: string;
762
+ /**
763
+ * 操作者uin
764
+ */
765
+ Operator?: string;
766
+ /**
767
+ * 1-任务进行中;2-任务成功;3-任务失败
768
+ */
769
+ Result?: number;
770
+ }
738
771
  /**
739
772
  * DeleteAutoSnapshotPolicy请求参数结构体
740
773
  */
@@ -1259,37 +1292,13 @@ export interface BucketInfo {
1259
1292
  Region: string;
1260
1293
  }
1261
1294
  /**
1262
- * 快照操作日志
1295
+ * CreateAccessCert请求参数结构体
1263
1296
  */
1264
- export interface SnapshotOperateLog {
1297
+ export interface CreateAccessCertRequest {
1265
1298
  /**
1266
- * 操作类型
1267
- CreateCfsSnapshot:创建快照
1268
- DeleteCfsSnapshot:删除快照
1269
- CreateCfsFileSystem:创建文件系统
1270
- UpdateCfsSnapshotAttribute:更新快照
1271
- */
1272
- Action?: string;
1273
- /**
1274
- * 操作时间
1299
+ * 证书描述
1275
1300
  */
1276
- ActionTime?: string;
1277
- /**
1278
- * 操作名称
1279
- CreateCfsSnapshot
1280
- DeleteCfsSnapshot
1281
- CreateCfsFileSystem
1282
- UpdateCfsSnapshotAttribute
1283
- */
1284
- ActionName?: string;
1285
- /**
1286
- * 操作者uin
1287
- */
1288
- Operator?: string;
1289
- /**
1290
- * 1-任务进行中;2-任务成功;3-任务失败
1291
- */
1292
- Result?: number;
1301
+ CertDesc: string;
1293
1302
  }
1294
1303
  /**
1295
1304
  * DescribeUserQuota请求参数结构体
@@ -2071,6 +2080,19 @@ export interface UpdateCfsPGroupRequest {
2071
2080
  */
2072
2081
  DescInfo?: string;
2073
2082
  }
2083
+ /**
2084
+ * CreateAccessCert返回参数结构体
2085
+ */
2086
+ export interface CreateAccessCertResponse {
2087
+ /**
2088
+ * 凭证唯一标识
2089
+ */
2090
+ CertId?: string;
2091
+ /**
2092
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2093
+ */
2094
+ RequestId?: string;
2095
+ }
2074
2096
  /**
2075
2097
  * SetUserQuota返回参数结构体
2076
2098
  */