tencentcloud-sdk-nodejs 4.0.340 → 4.0.343

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 (117) hide show
  1. package/CHANGELOG.md +430 -0
  2. package/SERVICE_CHANGELOG.md +423 -54
  3. package/package.json +1 -1
  4. package/products.md +29 -28
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +5 -0
  7. package/src/services/apm/v20210622/apm_client.ts +47 -32
  8. package/src/services/apm/v20210622/apm_models.ts +310 -195
  9. package/src/services/cam/v20190116/cam_client.ts +2 -1
  10. package/src/services/cam/v20190116/cam_models.ts +119 -83
  11. package/src/services/ccc/v20200210/ccc_client.ts +1 -1
  12. package/src/services/ccc/v20200210/ccc_models.ts +31 -30
  13. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  14. package/src/services/cdc/index.ts +5 -0
  15. package/src/services/cdc/v20201214/cdc_client.ts +286 -0
  16. package/src/services/cdc/v20201214/cdc_models.ts +1651 -0
  17. package/src/services/cdc/v20201214/index.ts +6 -0
  18. package/src/services/cdn/v20180606/cdn_models.ts +2 -2
  19. package/src/services/cls/v20201016/cls_models.ts +9 -4
  20. package/src/services/cpdp/v20190820/cpdp_client.ts +1 -1
  21. package/src/services/cpdp/v20190820/cpdp_models.ts +17 -9
  22. package/src/services/cvm/v20170312/cvm_models.ts +2 -0
  23. package/src/services/cwp/v20180228/cwp_models.ts +5 -0
  24. package/src/services/dnspod/v20210323/dnspod_models.ts +5 -0
  25. package/src/services/es/v20180416/es_models.ts +10 -5
  26. package/src/services/gaap/v20180529/gaap_models.ts +1 -1
  27. package/src/services/index.ts +1 -0
  28. package/src/services/lighthouse/v20200324/lighthouse_client.ts +12 -2
  29. package/src/services/ocr/v20181119/ocr_client.ts +0 -14
  30. package/src/services/redis/v20180412/redis_client.ts +13 -1
  31. package/src/services/redis/v20180412/redis_models.ts +46 -11
  32. package/src/services/sqlserver/v20180328/sqlserver_models.ts +6 -1
  33. package/src/services/sts/v20180813/sts_client.ts +1 -0
  34. package/src/services/sts/v20180813/sts_models.ts +23 -3
  35. package/src/services/teo/v20220106/teo_client.ts +23 -10
  36. package/src/services/teo/v20220106/teo_models.ts +130 -9
  37. package/src/services/tiw/v20190919/tiw_client.ts +3 -2
  38. package/src/services/tiw/v20190919/tiw_models.ts +79 -38
  39. package/src/services/tke/v20180525/tke_client.ts +510 -270
  40. package/src/services/tke/v20180525/tke_models.ts +4336 -3981
  41. package/src/services/tmt/v20180321/tmt_client.ts +61 -33
  42. package/src/services/tmt/v20180321/tmt_models.ts +285 -131
  43. package/src/services/trtc/v20190722/trtc_client.ts +215 -142
  44. package/src/services/trtc/v20190722/trtc_models.ts +772 -140
  45. package/src/services/vod/v20180717/vod_client.ts +32 -15
  46. package/src/services/vod/v20180717/vod_models.ts +69 -6
  47. package/src/services/vpc/v20170312/vpc_client.ts +36 -12
  48. package/src/services/vpc/v20170312/vpc_models.ts +40 -0
  49. package/tencentcloud/common/sdk_version.d.ts +1 -1
  50. package/tencentcloud/common/sdk_version.js +1 -1
  51. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +4 -0
  52. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +14 -9
  53. package/tencentcloud/services/apm/v20210622/apm_client.js +19 -12
  54. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +267 -169
  55. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +100 -70
  56. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +1 -1
  57. package/tencentcloud/services/ccc/v20200210/ccc_client.js +1 -1
  58. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +29 -28
  59. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  60. package/tencentcloud/services/cdc/index.d.ts +6 -0
  61. package/tencentcloud/services/cdc/index.js +7 -0
  62. package/tencentcloud/services/cdc/v20201214/cdc_client.d.ts +90 -0
  63. package/tencentcloud/services/cdc/v20201214/cdc_client.js +151 -0
  64. package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +1370 -0
  65. package/tencentcloud/services/cdc/v20201214/cdc_models.js +18 -0
  66. package/tencentcloud/services/cdc/v20201214/index.d.ts +6 -0
  67. package/tencentcloud/services/cdc/v20201214/index.js +9 -0
  68. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +2 -2
  69. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +7 -2
  70. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +1 -1
  71. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +1 -1
  72. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +14 -6
  73. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -0
  74. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +4 -0
  75. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
  76. package/tencentcloud/services/es/v20180416/es_models.d.ts +9 -4
  77. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +1 -1
  78. package/tencentcloud/services/index.d.ts +1 -0
  79. package/tencentcloud/services/index.js +2 -0
  80. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +12 -2
  81. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +12 -2
  82. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -14
  83. package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -14
  84. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +5 -1
  85. package/tencentcloud/services/redis/v20180412/redis_client.js +6 -0
  86. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +40 -10
  87. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +5 -1
  88. package/tencentcloud/services/sts/v20180813/sts_models.d.ts +20 -3
  89. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +9 -5
  90. package/tencentcloud/services/teo/v20220106/teo_client.js +12 -6
  91. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +108 -4
  92. package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +1 -1
  93. package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +69 -33
  94. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +91 -11
  95. package/tencentcloud/services/tke/v20180525/tke_client.js +135 -15
  96. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +3934 -3624
  97. package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +23 -13
  98. package/tencentcloud/services/tmt/v20180321/tmt_client.js +31 -17
  99. package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +259 -123
  100. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +95 -68
  101. package/tencentcloud/services/trtc/v20190722/trtc_client.js +121 -86
  102. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +671 -134
  103. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +14 -6
  104. package/tencentcloud/services/vod/v20180717/vod_client.js +17 -7
  105. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +61 -6
  106. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +13 -5
  107. package/tencentcloud/services/vpc/v20170312/vpc_client.js +18 -6
  108. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +36 -0
  109. package/test/apm.v20210622.test.js +18 -8
  110. package/test/cdc.v20201214.test.js +221 -0
  111. package/test/redis.v20180412.test.js +10 -0
  112. package/test/teo.v20220106.test.js +14 -4
  113. package/test/tke.v20180525.test.js +210 -10
  114. package/test/tmt.v20180321.test.js +28 -8
  115. package/test/trtc.v20190722.test.js +74 -34
  116. package/test/vod.v20180717.test.js +14 -4
  117. package/test/vpc.v20170312.test.js +24 -4
@@ -18,9 +18,19 @@ const client = new tencentcloud.tmt.v20180321.Client({
18
18
  })
19
19
  describe("tmt.v20180321.test.js", function () {
20
20
 
21
- it("tmt.v20180321.TextTranslate", async function () {
21
+ it("tmt.v20180321.LanguageDetect", async function () {
22
22
  try {
23
- const data = await client.TextTranslate({})
23
+ const data = await client.LanguageDetect({})
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("tmt.v20180321.TextTranslateBatch", async function () {
32
+ try {
33
+ const data = await client.TextTranslateBatch({})
24
34
  expect(data).to.be.ok
25
35
  } catch(error) {
26
36
  expect(error.requestId).to.be.ok
@@ -38,9 +48,9 @@ it("tmt.v20180321.ImageTranslate", async function () {
38
48
  }
39
49
  })
40
50
 
41
- it("tmt.v20180321.SpeechTranslate", async function () {
51
+ it("tmt.v20180321.GetFileTranslate", async function () {
42
52
  try {
43
- const data = await client.SpeechTranslate({})
53
+ const data = await client.GetFileTranslate({})
44
54
  expect(data).to.be.ok
45
55
  } catch(error) {
46
56
  expect(error.requestId).to.be.ok
@@ -48,9 +58,9 @@ it("tmt.v20180321.SpeechTranslate", async function () {
48
58
  }
49
59
  })
50
60
 
51
- it("tmt.v20180321.TextTranslateBatch", async function () {
61
+ it("tmt.v20180321.TextTranslate", async function () {
52
62
  try {
53
- const data = await client.TextTranslateBatch({})
63
+ const data = await client.TextTranslate({})
54
64
  expect(data).to.be.ok
55
65
  } catch(error) {
56
66
  expect(error.requestId).to.be.ok
@@ -58,9 +68,19 @@ it("tmt.v20180321.TextTranslateBatch", async function () {
58
68
  }
59
69
  })
60
70
 
61
- it("tmt.v20180321.LanguageDetect", async function () {
71
+ it("tmt.v20180321.FileTranslate", async function () {
62
72
  try {
63
- const data = await client.LanguageDetect({})
73
+ const data = await client.FileTranslate({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ it("tmt.v20180321.SpeechTranslate", async function () {
82
+ try {
83
+ const data = await client.SpeechTranslate({})
64
84
  expect(data).to.be.ok
65
85
  } catch(error) {
66
86
  expect(error.requestId).to.be.ok
@@ -18,9 +18,9 @@ const client = new tencentcloud.trtc.v20190722.Client({
18
18
  })
19
19
  describe("trtc.v20190722.test.js", function () {
20
20
 
21
- it("trtc.v20190722.DescribeRecordStatistic", async function () {
21
+ it("trtc.v20190722.StartMCUMixTranscode", async function () {
22
22
  try {
23
- const data = await client.DescribeRecordStatistic({})
23
+ const data = await client.StartMCUMixTranscode({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,19 @@ it("trtc.v20190722.DescribeRecordStatistic", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("trtc.v20190722.DescribeTrtcMcuTranscodeTime", async function () {
31
+ it("trtc.v20190722.DescribeRoomInformation", async function () {
32
32
  try {
33
- const data = await client.DescribeTrtcMcuTranscodeTime({})
33
+ const data = await client.DescribeRoomInformation({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
41
+ it("trtc.v20190722.StopMCUMixTranscode", async function () {
42
+ try {
43
+ const data = await client.StopMCUMixTranscode({})
34
44
  expect(data).to.be.ok
35
45
  } catch(error) {
36
46
  expect(error.requestId).to.be.ok
@@ -58,9 +68,9 @@ it("trtc.v20190722.DescribeHistoryScale", async function () {
58
68
  }
59
69
  })
60
70
 
61
- it("trtc.v20190722.StartMCUMixTranscodeByStrRoomId", async function () {
71
+ it("trtc.v20190722.DeletePicture", async function () {
62
72
  try {
63
- const data = await client.StartMCUMixTranscodeByStrRoomId({})
73
+ const data = await client.DeletePicture({})
64
74
  expect(data).to.be.ok
65
75
  } catch(error) {
66
76
  expect(error.requestId).to.be.ok
@@ -68,9 +78,9 @@ it("trtc.v20190722.StartMCUMixTranscodeByStrRoomId", async function () {
68
78
  }
69
79
  })
70
80
 
71
- it("trtc.v20190722.StartMCUMixTranscode", async function () {
81
+ it("trtc.v20190722.CreatePicture", async function () {
72
82
  try {
73
- const data = await client.StartMCUMixTranscode({})
83
+ const data = await client.CreatePicture({})
74
84
  expect(data).to.be.ok
75
85
  } catch(error) {
76
86
  expect(error.requestId).to.be.ok
@@ -78,9 +88,9 @@ it("trtc.v20190722.StartMCUMixTranscode", async function () {
78
88
  }
79
89
  })
80
90
 
81
- it("trtc.v20190722.DeletePicture", async function () {
91
+ it("trtc.v20190722.RemoveUser", async function () {
82
92
  try {
83
- const data = await client.DeletePicture({})
93
+ const data = await client.RemoveUser({})
84
94
  expect(data).to.be.ok
85
95
  } catch(error) {
86
96
  expect(error.requestId).to.be.ok
@@ -88,9 +98,9 @@ it("trtc.v20190722.DeletePicture", async function () {
88
98
  }
89
99
  })
90
100
 
91
- it("trtc.v20190722.StopMCUMixTranscodeByStrRoomId", async function () {
101
+ it("trtc.v20190722.ModifyCloudRecording", async function () {
92
102
  try {
93
- const data = await client.StopMCUMixTranscodeByStrRoomId({})
103
+ const data = await client.ModifyCloudRecording({})
94
104
  expect(data).to.be.ok
95
105
  } catch(error) {
96
106
  expect(error.requestId).to.be.ok
@@ -98,9 +108,9 @@ it("trtc.v20190722.StopMCUMixTranscodeByStrRoomId", async function () {
98
108
  }
99
109
  })
100
110
 
101
- it("trtc.v20190722.CreatePicture", async function () {
111
+ it("trtc.v20190722.DescribeCallDetail", async function () {
102
112
  try {
103
- const data = await client.CreatePicture({})
113
+ const data = await client.DescribeCallDetail({})
104
114
  expect(data).to.be.ok
105
115
  } catch(error) {
106
116
  expect(error.requestId).to.be.ok
@@ -108,9 +118,19 @@ it("trtc.v20190722.CreatePicture", async function () {
108
118
  }
109
119
  })
110
120
 
111
- it("trtc.v20190722.DescribePicture", async function () {
121
+ it("trtc.v20190722.CreateCloudRecording", async function () {
112
122
  try {
113
- const data = await client.DescribePicture({})
123
+ const data = await client.CreateCloudRecording({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
131
+ it("trtc.v20190722.StopMCUMixTranscodeByStrRoomId", async function () {
132
+ try {
133
+ const data = await client.StopMCUMixTranscodeByStrRoomId({})
114
134
  expect(data).to.be.ok
115
135
  } catch(error) {
116
136
  expect(error.requestId).to.be.ok
@@ -128,9 +148,9 @@ it("trtc.v20190722.ModifyPicture", async function () {
128
148
  }
129
149
  })
130
150
 
131
- it("trtc.v20190722.RemoveUser", async function () {
151
+ it("trtc.v20190722.DismissRoomByStrRoomId", async function () {
132
152
  try {
133
- const data = await client.RemoveUser({})
153
+ const data = await client.DismissRoomByStrRoomId({})
134
154
  expect(data).to.be.ok
135
155
  } catch(error) {
136
156
  expect(error.requestId).to.be.ok
@@ -138,9 +158,9 @@ it("trtc.v20190722.RemoveUser", async function () {
138
158
  }
139
159
  })
140
160
 
141
- it("trtc.v20190722.DescribeDetailEvent", async function () {
161
+ it("trtc.v20190722.DescribeAbnormalEvent", async function () {
142
162
  try {
143
- const data = await client.DescribeDetailEvent({})
163
+ const data = await client.DescribeAbnormalEvent({})
144
164
  expect(data).to.be.ok
145
165
  } catch(error) {
146
166
  expect(error.requestId).to.be.ok
@@ -148,9 +168,9 @@ it("trtc.v20190722.DescribeDetailEvent", async function () {
148
168
  }
149
169
  })
150
170
 
151
- it("trtc.v20190722.DescribeCallDetail", async function () {
171
+ it("trtc.v20190722.StartMCUMixTranscodeByStrRoomId", async function () {
152
172
  try {
153
- const data = await client.DescribeCallDetail({})
173
+ const data = await client.StartMCUMixTranscodeByStrRoomId({})
154
174
  expect(data).to.be.ok
155
175
  } catch(error) {
156
176
  expect(error.requestId).to.be.ok
@@ -158,9 +178,9 @@ it("trtc.v20190722.DescribeCallDetail", async function () {
158
178
  }
159
179
  })
160
180
 
161
- it("trtc.v20190722.DismissRoomByStrRoomId", async function () {
181
+ it("trtc.v20190722.RemoveUserByStrRoomId", async function () {
162
182
  try {
163
- const data = await client.DismissRoomByStrRoomId({})
183
+ const data = await client.RemoveUserByStrRoomId({})
164
184
  expect(data).to.be.ok
165
185
  } catch(error) {
166
186
  expect(error.requestId).to.be.ok
@@ -168,9 +188,9 @@ it("trtc.v20190722.DismissRoomByStrRoomId", async function () {
168
188
  }
169
189
  })
170
190
 
171
- it("trtc.v20190722.DescribeAbnormalEvent", async function () {
191
+ it("trtc.v20190722.DismissRoom", async function () {
172
192
  try {
173
- const data = await client.DescribeAbnormalEvent({})
193
+ const data = await client.DismissRoom({})
174
194
  expect(data).to.be.ok
175
195
  } catch(error) {
176
196
  expect(error.requestId).to.be.ok
@@ -178,9 +198,9 @@ it("trtc.v20190722.DescribeAbnormalEvent", async function () {
178
198
  }
179
199
  })
180
200
 
181
- it("trtc.v20190722.StopMCUMixTranscode", async function () {
201
+ it("trtc.v20190722.DescribeRecordStatistic", async function () {
182
202
  try {
183
- const data = await client.StopMCUMixTranscode({})
203
+ const data = await client.DescribeRecordStatistic({})
184
204
  expect(data).to.be.ok
185
205
  } catch(error) {
186
206
  expect(error.requestId).to.be.ok
@@ -188,9 +208,9 @@ it("trtc.v20190722.StopMCUMixTranscode", async function () {
188
208
  }
189
209
  })
190
210
 
191
- it("trtc.v20190722.DescribeRoomInformation", async function () {
211
+ it("trtc.v20190722.DescribeTrtcMcuTranscodeTime", async function () {
192
212
  try {
193
- const data = await client.DescribeRoomInformation({})
213
+ const data = await client.DescribeTrtcMcuTranscodeTime({})
194
214
  expect(data).to.be.ok
195
215
  } catch(error) {
196
216
  expect(error.requestId).to.be.ok
@@ -198,9 +218,9 @@ it("trtc.v20190722.DescribeRoomInformation", async function () {
198
218
  }
199
219
  })
200
220
 
201
- it("trtc.v20190722.RemoveUserByStrRoomId", async function () {
221
+ it("trtc.v20190722.DescribeCloudRecording", async function () {
202
222
  try {
203
- const data = await client.RemoveUserByStrRoomId({})
223
+ const data = await client.DescribeCloudRecording({})
204
224
  expect(data).to.be.ok
205
225
  } catch(error) {
206
226
  expect(error.requestId).to.be.ok
@@ -208,9 +228,29 @@ it("trtc.v20190722.RemoveUserByStrRoomId", async function () {
208
228
  }
209
229
  })
210
230
 
211
- it("trtc.v20190722.DismissRoom", async function () {
231
+ it("trtc.v20190722.DeleteCloudRecording", async function () {
212
232
  try {
213
- const data = await client.DismissRoom({})
233
+ const data = await client.DeleteCloudRecording({})
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
+
241
+ it("trtc.v20190722.DescribePicture", async function () {
242
+ try {
243
+ const data = await client.DescribePicture({})
244
+ expect(data).to.be.ok
245
+ } catch(error) {
246
+ expect(error.requestId).to.be.ok
247
+ expect(error.code).to.be.ok
248
+ }
249
+ })
250
+
251
+ it("trtc.v20190722.DescribeDetailEvent", async function () {
252
+ try {
253
+ const data = await client.DescribeDetailEvent({})
214
254
  expect(data).to.be.ok
215
255
  } catch(error) {
216
256
  expect(error.requestId).to.be.ok
@@ -328,6 +328,16 @@ it("vod.v20180717.DescribeMediaPlayStatDetails", async function () {
328
328
  }
329
329
  })
330
330
 
331
+ it("vod.v20180717.DescribeLicenseUsageData", async function () {
332
+ try {
333
+ const data = await client.DescribeLicenseUsageData({})
334
+ expect(data).to.be.ok
335
+ } catch(error) {
336
+ expect(error.requestId).to.be.ok
337
+ expect(error.code).to.be.ok
338
+ }
339
+ })
340
+
331
341
  it("vod.v20180717.ModifyImageSpriteTemplate", async function () {
332
342
  try {
333
343
  const data = await client.ModifyImageSpriteTemplate({})
@@ -768,9 +778,9 @@ it("vod.v20180717.DescribeStorageDetails", async function () {
768
778
  }
769
779
  })
770
780
 
771
- it("vod.v20180717.ForbidMediaDistribution", async function () {
781
+ it("vod.v20180717.DeleteWordSamples", async function () {
772
782
  try {
773
- const data = await client.ForbidMediaDistribution({})
783
+ const data = await client.DeleteWordSamples({})
774
784
  expect(data).to.be.ok
775
785
  } catch(error) {
776
786
  expect(error.requestId).to.be.ok
@@ -838,9 +848,9 @@ it("vod.v20180717.DescribeAnimatedGraphicsTemplates", async function () {
838
848
  }
839
849
  })
840
850
 
841
- it("vod.v20180717.DeleteWordSamples", async function () {
851
+ it("vod.v20180717.ForbidMediaDistribution", async function () {
842
852
  try {
843
- const data = await client.DeleteWordSamples({})
853
+ const data = await client.ForbidMediaDistribution({})
844
854
  expect(data).to.be.ok
845
855
  } catch(error) {
846
856
  expect(error.requestId).to.be.ok
@@ -1528,6 +1528,16 @@ it("vpc.v20170312.DeleteNetDetect", async function () {
1528
1528
  }
1529
1529
  })
1530
1530
 
1531
+ it("vpc.v20170312.InquirePriceCreateDirectConnectGateway", async function () {
1532
+ try {
1533
+ const data = await client.InquirePriceCreateDirectConnectGateway({})
1534
+ expect(data).to.be.ok
1535
+ } catch(error) {
1536
+ expect(error.requestId).to.be.ok
1537
+ expect(error.code).to.be.ok
1538
+ }
1539
+ })
1540
+
1531
1541
  it("vpc.v20170312.ModifySecurityGroupAttribute", async function () {
1532
1542
  try {
1533
1543
  const data = await client.ModifySecurityGroupAttribute({})
@@ -1638,9 +1648,9 @@ it("vpc.v20170312.ModifyNetworkInterfaceAttribute", async function () {
1638
1648
  }
1639
1649
  })
1640
1650
 
1641
- it("vpc.v20170312.ModifySubnetAttribute", async function () {
1651
+ it("vpc.v20170312.DisableFlowLogs", async function () {
1642
1652
  try {
1643
- const data = await client.ModifySubnetAttribute({})
1653
+ const data = await client.DisableFlowLogs({})
1644
1654
  expect(data).to.be.ok
1645
1655
  } catch(error) {
1646
1656
  expect(error.requestId).to.be.ok
@@ -1788,6 +1798,16 @@ it("vpc.v20170312.DescribeVpnGateways", async function () {
1788
1798
  }
1789
1799
  })
1790
1800
 
1801
+ it("vpc.v20170312.ModifySubnetAttribute", async function () {
1802
+ try {
1803
+ const data = await client.ModifySubnetAttribute({})
1804
+ expect(data).to.be.ok
1805
+ } catch(error) {
1806
+ expect(error.requestId).to.be.ok
1807
+ expect(error.code).to.be.ok
1808
+ }
1809
+ })
1810
+
1791
1811
  it("vpc.v20170312.DownloadCustomerGatewayConfiguration", async function () {
1792
1812
  try {
1793
1813
  const data = await client.DownloadCustomerGatewayConfiguration({})
@@ -1928,9 +1948,9 @@ it("vpc.v20170312.AssignIpv6Addresses", async function () {
1928
1948
  }
1929
1949
  })
1930
1950
 
1931
- it("vpc.v20170312.InquirePriceCreateDirectConnectGateway", async function () {
1951
+ it("vpc.v20170312.EnableFlowLogs", async function () {
1932
1952
  try {
1933
- const data = await client.InquirePriceCreateDirectConnectGateway({})
1953
+ const data = await client.EnableFlowLogs({})
1934
1954
  expect(data).to.be.ok
1935
1955
  } catch(error) {
1936
1956
  expect(error.requestId).to.be.ok