tencentcloud-sdk-nodejs 4.0.514 → 4.0.515

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 (34) hide show
  1. package/CHANGELOG.md +203 -0
  2. package/SERVICE_CHANGELOG.md +267 -109
  3. package/package.json +1 -1
  4. package/products.md +7 -7
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cynosdb/v20190107/cynosdb_client.ts +138 -37
  7. package/src/services/cynosdb/v20190107/cynosdb_models.ts +524 -101
  8. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  9. package/src/services/mongodb/v20190725/mongodb_client.ts +18 -6
  10. package/src/services/mongodb/v20190725/mongodb_models.ts +50 -0
  11. package/src/services/monitor/v20180724/monitor_client.ts +1 -0
  12. package/src/services/monitor/v20180724/monitor_models.ts +80 -0
  13. package/src/services/tdid/v20210519/tdid_client.ts +8 -4
  14. package/src/services/tione/v20211111/tione_models.ts +15 -4
  15. package/src/services/vod/v20180717/vod_client.ts +26 -18
  16. package/src/services/vod/v20180717/vod_models.ts +95 -62
  17. package/tencentcloud/common/sdk_version.d.ts +1 -1
  18. package/tencentcloud/common/sdk_version.js +1 -1
  19. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +44 -12
  20. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +64 -16
  21. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +454 -92
  22. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  23. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +7 -3
  24. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +9 -3
  25. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +42 -0
  26. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +65 -0
  27. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +6 -2
  28. package/tencentcloud/services/tdid/v20210519/tdid_client.js +6 -2
  29. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +13 -4
  30. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +15 -7
  31. package/tencentcloud/services/vod/v20180717/vod_client.js +15 -7
  32. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +88 -61
  33. package/test/cynosdb.v20190107.test.js +90 -10
  34. package/test/mongodb.v20190725.test.js +12 -2
@@ -172,11 +172,17 @@ export interface ReviewAudioVideoTaskInput {
172
172
  /**
173
173
  * 媒体文件 ID。
174
174
  */
175
- FileId: string;
175
+ FileId?: string;
176
176
  /**
177
177
  * 音视频审核模板 ID。
178
178
  */
179
- Definition: number;
179
+ Definition?: number;
180
+ /**
181
+ * 审核的内容,可选值:
182
+ <li>Media:原始音视频;</li>
183
+ <li>Cover:封面。</li>
184
+ */
185
+ ReviewContents?: Array<string>;
180
186
  }
181
187
  /**
182
188
  * DescribeAllClass请求参数结构体
@@ -2597,20 +2603,24 @@ export interface FileUploadTask {
2597
2603
  /**
2598
2604
  * 文件唯一 ID。
2599
2605
  */
2600
- FileId: string;
2606
+ FileId?: string;
2601
2607
  /**
2602
2608
  * 上传完成后生成的媒体文件基础信息。
2603
2609
  */
2604
- MediaBasicInfo: MediaBasicInfo;
2610
+ MediaBasicInfo?: MediaBasicInfo;
2611
+ /**
2612
+ * 任务类型为 Procedure 的任务 ID。若视频[上传时指定要执行的任务(procedure)](https://cloud.tencent.com/document/product/266/33475#.E4.BB.BB.E5.8A.A1.E5.8F.91.E8.B5.B7),当该任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。
2613
+ */
2614
+ ProcedureTaskId?: string;
2605
2615
  /**
2606
- * 若视频上传时指定了视频处理流程,则该字段为流程任务 ID
2616
+ * 任务类型为 ReviewAudioVideo 的任务 ID。若视频[上传时指定要执行的任务(procedure)](https://cloud.tencent.com/document/product/266/33475#.E4.BB.BB.E5.8A.A1.E5.8F.91.E8.B5.B7),当该任务流模板指定了 ReviewAudioVideoTask 时,发起该任务。
2607
2617
  */
2608
- ProcedureTaskId: string;
2618
+ ReviewAudioVideoTaskId?: string;
2609
2619
  /**
2610
2620
  * 元信息。包括大小、时长、视频流信息、音频流信息等。
2611
2621
  注意:此字段可能返回 null,表示取不到有效值。
2612
2622
  */
2613
- MetaData: MediaMetaData;
2623
+ MetaData?: MediaMetaData;
2614
2624
  }
2615
2625
  /**
2616
2626
  * DescribeCDNStatDetails返回参数结构体
@@ -3874,7 +3884,7 @@ export interface ProcessMediaResponse {
3874
3884
  /**
3875
3885
  * 任务 ID
3876
3886
  */
3877
- TaskId: string;
3887
+ TaskId?: string;
3878
3888
  /**
3879
3889
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3880
3890
  */
@@ -4341,16 +4351,20 @@ export interface SplitMediaTaskSegmentInfo {
4341
4351
  /**
4342
4352
  * 视频拆条任务输入信息。
4343
4353
  */
4344
- Input: SplitMediaTaskInput;
4354
+ Input?: SplitMediaTaskInput;
4345
4355
  /**
4346
4356
  * 视频拆条任务输出信息。
4347
4357
  注意:此字段可能返回 null,表示取不到有效值。
4348
4358
  */
4349
- Output: TaskOutputMediaInfo;
4359
+ Output?: TaskOutputMediaInfo;
4360
+ /**
4361
+ * 任务类型为 Procedure 的任务 ID。若发起[视频拆条](https://cloud.tencent.com/document/api/266/51098)任务时,视频拆条任务信息列表指定了任务流模板(ProcedureName),当该任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。
4362
+ */
4363
+ ProcedureTaskId?: string;
4350
4364
  /**
4351
- * 若发起视频拆条任务时指定了视频处理流程,则该字段为流程任务 ID
4365
+ * 任务类型为 ReviewAudioVideo 的任务 ID。若发起[视频拆条](https://cloud.tencent.com/document/api/266/51098)任务时,视频拆条任务信息列表指定了任务流模板(ProcedureName),当该任务流模板指定了 ReviewAudioVideoTask 时,发起该任务。
4352
4366
  */
4353
- ProcedureTaskId: string;
4367
+ ReviewAudioVideoTaskId?: string;
4354
4368
  }
4355
4369
  /**
4356
4370
  * Asr 文字涉及令人反感的信息
@@ -4781,11 +4795,11 @@ export interface DescribeReviewTemplatesResponse {
4781
4795
  /**
4782
4796
  * 符合过滤条件的记录总数。
4783
4797
  */
4784
- TotalCount: number;
4798
+ TotalCount?: number;
4785
4799
  /**
4786
4800
  * 审核模板详情列表。
4787
4801
  */
4788
- ReviewTemplateSet: Array<ReviewTemplate>;
4802
+ ReviewTemplateSet?: Array<ReviewTemplate>;
4789
4803
  /**
4790
4804
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4791
4805
  */
@@ -5035,7 +5049,7 @@ export interface CreateContentReviewTemplateResponse {
5035
5049
  /**
5036
5050
  * 音视频内容审核模板唯一标识。
5037
5051
  */
5038
- Definition: number;
5052
+ Definition?: number;
5039
5053
  /**
5040
5054
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5041
5055
  */
@@ -6112,7 +6126,8 @@ export interface ProcessMediaRequest {
6112
6126
  */
6113
6127
  MediaProcessTask?: MediaProcessTaskInput;
6114
6128
  /**
6115
- * 音视频内容审核类型任务参数。
6129
+ * 音视频内容审核类型任务参数 \*。
6130
+ <font color=red>\* 不建议使用</font>,推荐使用 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 或 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217)。
6116
6131
  */
6117
6132
  AiContentReviewTask?: AiContentReviewTaskInput;
6118
6133
  /**
@@ -7083,11 +7098,11 @@ export interface DescribeContentReviewTemplatesResponse {
7083
7098
  /**
7084
7099
  * 符合过滤条件的记录总数。
7085
7100
  */
7086
- TotalCount: number;
7101
+ TotalCount?: number;
7087
7102
  /**
7088
7103
  * 内容审核模板详情列表。
7089
7104
  */
7090
- ContentReviewTemplateSet: Array<ContentReviewTemplateItem>;
7105
+ ContentReviewTemplateSet?: Array<ContentReviewTemplateItem>;
7091
7106
  /**
7092
7107
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7093
7108
  */
@@ -8490,7 +8505,7 @@ export interface PullEventsResponse {
8490
8505
  * 事件列表。
8491
8506
  注意:此字段可能返回 null,表示取不到有效值。
8492
8507
  */
8493
- EventSet: Array<EventContent>;
8508
+ EventSet?: Array<EventContent>;
8494
8509
  /**
8495
8510
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8496
8511
  */
@@ -12831,27 +12846,27 @@ export interface MediaVideoStreamItem {
12831
12846
  /**
12832
12847
  * 视频流的码率,单位:bps。
12833
12848
  */
12834
- Bitrate: number;
12849
+ Bitrate?: number;
12835
12850
  /**
12836
12851
  * 视频流的高度,单位:px。
12837
12852
  */
12838
- Height: number;
12853
+ Height?: number;
12839
12854
  /**
12840
12855
  * 视频流的宽度,单位:px。
12841
12856
  */
12842
- Width: number;
12857
+ Width?: number;
12843
12858
  /**
12844
12859
  * 视频流的编码格式,例如 h264。
12845
12860
  */
12846
- Codec: string;
12861
+ Codec?: string;
12847
12862
  /**
12848
12863
  * 帧率,单位:hz。
12849
12864
  */
12850
- Fps: number;
12865
+ Fps?: number;
12851
12866
  /**
12852
12867
  * 编码标签,仅当 Codec 为 hevc 时有效。
12853
12868
  */
12854
- CodecTag: string;
12869
+ CodecTag?: string;
12855
12870
  }
12856
12871
  /**
12857
12872
  * SetDrmKeyProviderInfo请求参数结构体
@@ -14777,9 +14792,13 @@ export interface EditMediaFileInfo {
14777
14792
  */
14778
14793
  export interface ProcessMediaByProcedureResponse {
14779
14794
  /**
14780
- * 任务 ID
14795
+ * 任务类型为 Procedure 的任务 ID,当入参 ProcedureName 对应的任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。
14781
14796
  */
14782
- TaskId: string;
14797
+ TaskId?: string;
14798
+ /**
14799
+ * 任务类型为 ReviewAudioVideo 的任务 ID,当入参 ProcedureName 对应的任务流模板指定了 ReviewAudioVideoTask 时,发起该任务。
14800
+ */
14801
+ ReviewAudioVideoTaskId?: string;
14783
14802
  /**
14784
14803
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14785
14804
  */
@@ -14903,58 +14922,62 @@ export interface EditMediaTask {
14903
14922
  /**
14904
14923
  * 任务 ID。
14905
14924
  */
14906
- TaskId: string;
14925
+ TaskId?: string;
14907
14926
  /**
14908
14927
  * 任务流状态,取值:
14909
14928
  <li>PROCESSING:处理中;</li>
14910
14929
  <li>FINISH:已完成。</li>
14911
14930
  */
14912
- Status: string;
14931
+ Status?: string;
14913
14932
  /**
14914
14933
  * 错误码,0 表示成功,其他值表示失败:
14915
14934
  <li>40000:输入参数不合法,请检查输入参数;</li>
14916
14935
  <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
14917
14936
  <li>70000:内部服务错误,建议重试。</li>
14918
14937
  */
14919
- ErrCode: number;
14938
+ ErrCode?: number;
14920
14939
  /**
14921
14940
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
14922
14941
  */
14923
- ErrCodeExt: string;
14942
+ ErrCodeExt?: string;
14924
14943
  /**
14925
14944
  * 错误信息。
14926
14945
  */
14927
- Message: string;
14946
+ Message?: string;
14928
14947
  /**
14929
14948
  * 编辑视频任务进度,取值范围 [0-100] 。
14930
14949
  */
14931
- Progress: number;
14950
+ Progress?: number;
14932
14951
  /**
14933
14952
  * 视频编辑任务的输入。
14934
14953
  注意:此字段可能返回 null,表示取不到有效值。
14935
14954
  */
14936
- Input: EditMediaTaskInput;
14955
+ Input?: EditMediaTaskInput;
14937
14956
  /**
14938
14957
  * 视频编辑任务的输出。
14939
14958
  注意:此字段可能返回 null,表示取不到有效值。
14940
14959
  */
14941
- Output: EditMediaTaskOutput;
14960
+ Output?: EditMediaTaskOutput;
14942
14961
  /**
14943
14962
  * 输出视频的元信息。
14944
14963
  */
14945
- MetaData: MediaMetaData;
14964
+ MetaData?: MediaMetaData;
14946
14965
  /**
14947
- * 若发起视频编辑任务时指定了视频处理流程,则该字段为流程任务 ID
14966
+ * 任务类型为 Procedure 的任务 ID。若发起[编辑视频](https://cloud.tencent.com/document/api/266/34783)任务时指定了任务流模板(ProcedureName),当该任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。
14948
14967
  */
14949
- ProcedureTaskId: string;
14968
+ ProcedureTaskId?: string;
14969
+ /**
14970
+ * 任务类型为 ReviewAudioVideo 的任务 ID。若发起[编辑视频](https://cloud.tencent.com/document/api/266/34783)任务时指定了任务流模板(ProcedureName),当该任务流模板指定了 ReviewAudioVideoTask 时,发起该任务。
14971
+ */
14972
+ ReviewAudioVideoTaskId?: string;
14950
14973
  /**
14951
14974
  * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
14952
14975
  */
14953
- SessionId: string;
14976
+ SessionId?: string;
14954
14977
  /**
14955
14978
  * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
14956
14979
  */
14957
- SessionContext: string;
14980
+ SessionContext?: string;
14958
14981
  }
14959
14982
  /**
14960
14983
  * 画面鉴别涉及令人反感的信息的任务控制参数
@@ -15722,7 +15745,7 @@ export interface CreateReviewTemplateResponse {
15722
15745
  /**
15723
15746
  * 审核模板唯一标识。
15724
15747
  */
15725
- Definition: number;
15748
+ Definition?: number;
15726
15749
  /**
15727
15750
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15728
15751
  */
@@ -15801,63 +15824,67 @@ export interface ModifyWatermarkTemplateResponse {
15801
15824
  RequestId?: string;
15802
15825
  }
15803
15826
  /**
15804
- * 视频转拉任务信息
15827
+ * 拉取上传任务信息
15805
15828
  */
15806
15829
  export interface PullUploadTask {
15807
15830
  /**
15808
- * 转拉上传任务 ID。
15831
+ * 拉取上传任务 ID。
15809
15832
  */
15810
- TaskId: string;
15833
+ TaskId?: string;
15811
15834
  /**
15812
15835
  * 任务流状态,取值:
15813
15836
  <li>PROCESSING:处理中;</li>
15814
15837
  <li>FINISH:已完成。</li>
15815
15838
  */
15816
- Status: string;
15839
+ Status?: string;
15817
15840
  /**
15818
15841
  * 错误码,0 表示成功,其他值表示失败:
15819
15842
  <li>40000:输入参数不合法,请检查输入参数;</li>
15820
15843
  <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
15821
15844
  <li>70000:内部服务错误,建议重试。</li>
15822
15845
  */
15823
- ErrCode: number;
15846
+ ErrCode?: number;
15824
15847
  /**
15825
15848
  * 错误信息。
15826
15849
  */
15827
- Message: string;
15850
+ Message?: string;
15828
15851
  /**
15829
- * 转拉上传完成后生成的视频 ID。
15852
+ * 拉取上传完成后生成的视频 ID。
15830
15853
  */
15831
- FileId: string;
15854
+ FileId?: string;
15832
15855
  /**
15833
- * 转拉完成后生成的媒体文件基础信息。
15856
+ * 拉取上传完成后生成的媒体文件基础信息。
15834
15857
  注意:此字段可能返回 null,表示取不到有效值。
15835
15858
  */
15836
- MediaBasicInfo: MediaBasicInfo;
15859
+ MediaBasicInfo?: MediaBasicInfo;
15837
15860
  /**
15838
15861
  * 输出视频的元信息。
15839
15862
  */
15840
- MetaData: MediaMetaData;
15863
+ MetaData?: MediaMetaData;
15841
15864
  /**
15842
- * 转拉上传完成后生成的播放地址。
15865
+ * 拉取上传完成后生成的播放地址。
15843
15866
  */
15844
- FileUrl: string;
15867
+ FileUrl?: string;
15845
15868
  /**
15846
- * 若转拉上传时指定了视频处理流程,则该参数为流程任务 ID
15869
+ * 任务类型为 Procedure 的任务 ID。若[拉取上传](https://cloud.tencent.com/document/api/266/35575)时指定了媒体后续任务操作(Procedure),当该任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。
15847
15870
  */
15848
- ProcedureTaskId: string;
15871
+ ProcedureTaskId?: string;
15849
15872
  /**
15850
- * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
15873
+ * 任务类型为 ReviewAudioVideo 的任务 ID。若[拉取上传](https://cloud.tencent.com/document/api/266/35575)时指定了媒体后续任务操作(Procedure),当该任务流模板指定了 ReviewAudioVideoTask 时,发起该任务。
15851
15874
  */
15852
- SessionContext: string;
15875
+ ReviewAudioVideoTaskId?: string;
15876
+ /**
15877
+ * 来源上下文,用于透传用户请求信息,[URL 拉取视频上传完成](https://cloud.tencent.com/document/product/266/7831)将返回该字段值,最长 1000 个字符。
15878
+ */
15879
+ SessionContext?: string;
15853
15880
  /**
15854
15881
  * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
15855
15882
  */
15856
- SessionId: string;
15883
+ SessionId?: string;
15857
15884
  /**
15858
- * 转拉任务进度,取值范围 [0-100] 。
15885
+ * 拉取上传进度,取值范围 [0-100] 。
15859
15886
  */
15860
- Progress: number;
15887
+ Progress?: number;
15861
15888
  }
15862
15889
  /**
15863
15890
  * 违禁任务控制参数
@@ -18,9 +18,19 @@ const client = new tencentcloud.cynosdb.v20190107.Client({
18
18
  })
19
19
  describe("cynosdb.v20190107.test.js", function () {
20
20
 
21
- it("cynosdb.v20190107.ResumeServerless", async function () {
21
+ it("cynosdb.v20190107.ModifyAuditService", async function () {
22
22
  try {
23
- const data = await client.ResumeServerless({})
23
+ const data = await client.ModifyAuditService({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
31
+ it("cynosdb.v20190107.OfflineInstance", async function () {
32
+ try {
33
+ const data = await client.OfflineInstance({})
24
34
  expect(data).to.be.ok
25
35
  } catch(error) {
26
36
  expect(error.requestId).to.be.ok
@@ -138,9 +148,19 @@ it("cynosdb.v20190107.OfflineCluster", async function () {
138
148
  }
139
149
  })
140
150
 
141
- it("cynosdb.v20190107.SearchClusterDatabases", async function () {
151
+ it("cynosdb.v20190107.OpenAuditService", async function () {
142
152
  try {
143
- const data = await client.SearchClusterDatabases({})
153
+ const data = await client.OpenAuditService({})
154
+ expect(data).to.be.ok
155
+ } catch(error) {
156
+ expect(error.requestId).to.be.ok
157
+ expect(error.code).to.be.ok
158
+ }
159
+ })
160
+
161
+ it("cynosdb.v20190107.CreateAuditRuleTemplate", async function () {
162
+ try {
163
+ const data = await client.CreateAuditRuleTemplate({})
144
164
  expect(data).to.be.ok
145
165
  } catch(error) {
146
166
  expect(error.requestId).to.be.ok
@@ -188,6 +208,16 @@ it("cynosdb.v20190107.DescribeInstanceDetail", async function () {
188
208
  }
189
209
  })
190
210
 
211
+ it("cynosdb.v20190107.DescribeAuditRuleTemplates", async function () {
212
+ try {
213
+ const data = await client.DescribeAuditRuleTemplates({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
191
221
  it("cynosdb.v20190107.DescribeRollbackTimeRange", async function () {
192
222
  try {
193
223
  const data = await client.DescribeRollbackTimeRange({})
@@ -218,9 +248,9 @@ it("cynosdb.v20190107.DescribeInstances", async function () {
218
248
  }
219
249
  })
220
250
 
221
- it("cynosdb.v20190107.GrantAccountPrivileges", async function () {
251
+ it("cynosdb.v20190107.DeleteAuditRuleTemplates", async function () {
222
252
  try {
223
- const data = await client.GrantAccountPrivileges({})
253
+ const data = await client.DeleteAuditRuleTemplates({})
224
254
  expect(data).to.be.ok
225
255
  } catch(error) {
226
256
  expect(error.requestId).to.be.ok
@@ -298,9 +328,9 @@ it("cynosdb.v20190107.CreateBackup", async function () {
298
328
  }
299
329
  })
300
330
 
301
- it("cynosdb.v20190107.OfflineInstance", async function () {
331
+ it("cynosdb.v20190107.CloseAuditService", async function () {
302
332
  try {
303
- const data = await client.OfflineInstance({})
333
+ const data = await client.CloseAuditService({})
304
334
  expect(data).to.be.ok
305
335
  } catch(error) {
306
336
  expect(error.requestId).to.be.ok
@@ -328,6 +358,16 @@ it("cynosdb.v20190107.DescribeMaintainPeriod", async function () {
328
358
  }
329
359
  })
330
360
 
361
+ it("cynosdb.v20190107.ResumeServerless", async function () {
362
+ try {
363
+ const data = await client.ResumeServerless({})
364
+ expect(data).to.be.ok
365
+ } catch(error) {
366
+ expect(error.requestId).to.be.ok
367
+ expect(error.code).to.be.ok
368
+ }
369
+ })
370
+
331
371
  it("cynosdb.v20190107.SwitchProxyVpc", async function () {
332
372
  try {
333
373
  const data = await client.SwitchProxyVpc({})
@@ -428,9 +468,9 @@ it("cynosdb.v20190107.DescribeClusterDetail", async function () {
428
468
  }
429
469
  })
430
470
 
431
- it("cynosdb.v20190107.ModifyDBInstanceSecurityGroups", async function () {
471
+ it("cynosdb.v20190107.DescribeAuditRuleWithInstanceIds", async function () {
432
472
  try {
433
- const data = await client.ModifyDBInstanceSecurityGroups({})
473
+ const data = await client.DescribeAuditRuleWithInstanceIds({})
434
474
  expect(data).to.be.ok
435
475
  } catch(error) {
436
476
  expect(error.requestId).to.be.ok
@@ -508,6 +548,16 @@ it("cynosdb.v20190107.DescribeResourcesByDealName", async function () {
508
548
  }
509
549
  })
510
550
 
551
+ it("cynosdb.v20190107.GrantAccountPrivileges", async function () {
552
+ try {
553
+ const data = await client.GrantAccountPrivileges({})
554
+ expect(data).to.be.ok
555
+ } catch(error) {
556
+ expect(error.requestId).to.be.ok
557
+ expect(error.code).to.be.ok
558
+ }
559
+ })
560
+
511
561
  it("cynosdb.v20190107.PauseServerless", async function () {
512
562
  try {
513
563
  const data = await client.PauseServerless({})
@@ -628,6 +678,26 @@ it("cynosdb.v20190107.SetRenewFlag", async function () {
628
678
  }
629
679
  })
630
680
 
681
+ it("cynosdb.v20190107.SearchClusterDatabases", async function () {
682
+ try {
683
+ const data = await client.SearchClusterDatabases({})
684
+ expect(data).to.be.ok
685
+ } catch(error) {
686
+ expect(error.requestId).to.be.ok
687
+ expect(error.code).to.be.ok
688
+ }
689
+ })
690
+
691
+ it("cynosdb.v20190107.ModifyAuditRuleTemplates", async function () {
692
+ try {
693
+ const data = await client.ModifyAuditRuleTemplates({})
694
+ expect(data).to.be.ok
695
+ } catch(error) {
696
+ expect(error.requestId).to.be.ok
697
+ expect(error.code).to.be.ok
698
+ }
699
+ })
700
+
631
701
  it("cynosdb.v20190107.SearchClusterTables", async function () {
632
702
  try {
633
703
  const data = await client.SearchClusterTables({})
@@ -678,6 +748,16 @@ it("cynosdb.v20190107.DescribeRollbackTimeValidity", async function () {
678
748
  }
679
749
  })
680
750
 
751
+ it("cynosdb.v20190107.ModifyDBInstanceSecurityGroups", async function () {
752
+ try {
753
+ const data = await client.ModifyDBInstanceSecurityGroups({})
754
+ expect(data).to.be.ok
755
+ } catch(error) {
756
+ expect(error.requestId).to.be.ok
757
+ expect(error.code).to.be.ok
758
+ }
759
+ })
760
+
681
761
  it("cynosdb.v20190107.AddInstances", async function () {
682
762
  try {
683
763
  const data = await client.AddInstances({})
@@ -148,9 +148,9 @@ it("mongodb.v20190725.DescribeAsyncRequestInfo", async function () {
148
148
  }
149
149
  })
150
150
 
151
- it("mongodb.v20190725.ModifyDBInstanceNetworkAddress", async function () {
151
+ it("mongodb.v20190725.CreateAccountUser", async function () {
152
152
  try {
153
- const data = await client.ModifyDBInstanceNetworkAddress({})
153
+ const data = await client.CreateAccountUser({})
154
154
  expect(data).to.be.ok
155
155
  } catch(error) {
156
156
  expect(error.requestId).to.be.ok
@@ -228,6 +228,16 @@ it("mongodb.v20190725.DescribeSlowLogs", async function () {
228
228
  }
229
229
  })
230
230
 
231
+ it("mongodb.v20190725.ModifyDBInstanceNetworkAddress", async function () {
232
+ try {
233
+ const data = await client.ModifyDBInstanceNetworkAddress({})
234
+ expect(data).to.be.ok
235
+ } catch(error) {
236
+ expect(error.requestId).to.be.ok
237
+ expect(error.code).to.be.ok
238
+ }
239
+ })
240
+
231
241
  it("mongodb.v20190725.CreateDBInstance", async function () {
232
242
  try {
233
243
  const data = await client.CreateDBInstance({})