tencentcloud-sdk-nodejs 4.0.671 → 4.0.672
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.
- package/CHANGELOG.md +151 -0
- package/SERVICE_CHANGELOG.md +223 -197
- package/package.json +1 -1
- package/products.md +13 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +23 -23
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +33 -9
- package/src/services/gme/v20180711/gme_models.ts +18 -0
- package/src/services/live/v20180801/live_models.ts +24 -24
- package/src/services/postgres/v20170312/postgres_models.ts +8 -12
- package/src/services/tat/v20201028/tat_client.ts +175 -88
- package/src/services/tat/v20201028/tat_models.ts +580 -208
- package/src/services/tdmq/v20200217/tdmq_models.ts +4 -4
- package/src/services/waf/v20180125/waf_client.ts +326 -33
- package/src/services/waf/v20180125/waf_models.ts +1256 -262
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +23 -23
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +33 -9
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +18 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +24 -24
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +8 -12
- package/tencentcloud/services/tat/v20201028/tat_client.d.ts +65 -37
- package/tencentcloud/services/tat/v20201028/tat_client.js +90 -48
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +551 -196
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +4 -4
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +104 -7
- package/tencentcloud/services/waf/v20180125/waf_client.js +152 -9
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1169 -233
- package/test/tat.v20201028.test.js +94 -24
- package/test/waf.v20180125.test.js +236 -6
|
@@ -18,6 +18,56 @@ const client = new tencentcloud.tat.v20201028.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tat.v20201028.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("tat.v20201028.CancelInvocation", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CancelInvocation({})
|
|
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("tat.v20201028.ModifyRegisterInstance", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.ModifyRegisterInstance({})
|
|
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("tat.v20201028.CreateInvoker", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreateInvoker({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("tat.v20201028.DeleteCommand", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DeleteCommand({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("tat.v20201028.CreateRegisterCode", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.CreateRegisterCode({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
21
71
|
it("tat.v20201028.EnableInvoker", async function () {
|
|
22
72
|
try {
|
|
23
73
|
const data = await client.EnableInvoker({})
|
|
@@ -58,9 +108,9 @@ it("tat.v20201028.DescribeInvocations", async function () {
|
|
|
58
108
|
}
|
|
59
109
|
})
|
|
60
110
|
|
|
61
|
-
it("tat.v20201028.
|
|
111
|
+
it("tat.v20201028.DescribeInvocationTasks", async function () {
|
|
62
112
|
try {
|
|
63
|
-
const data = await client.
|
|
113
|
+
const data = await client.DescribeInvocationTasks({})
|
|
64
114
|
expect(data).to.be.ok
|
|
65
115
|
} catch(error) {
|
|
66
116
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +118,9 @@ it("tat.v20201028.CancelInvocation", async function () {
|
|
|
68
118
|
}
|
|
69
119
|
})
|
|
70
120
|
|
|
71
|
-
it("tat.v20201028.
|
|
121
|
+
it("tat.v20201028.PreviewReplacedCommandContent", async function () {
|
|
72
122
|
try {
|
|
73
|
-
const data = await client.
|
|
123
|
+
const data = await client.PreviewReplacedCommandContent({})
|
|
74
124
|
expect(data).to.be.ok
|
|
75
125
|
} catch(error) {
|
|
76
126
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +128,9 @@ it("tat.v20201028.DescribeInvocationTasks", async function () {
|
|
|
78
128
|
}
|
|
79
129
|
})
|
|
80
130
|
|
|
81
|
-
it("tat.v20201028.
|
|
131
|
+
it("tat.v20201028.DisableInvoker", async function () {
|
|
82
132
|
try {
|
|
83
|
-
const data = await client.
|
|
133
|
+
const data = await client.DisableInvoker({})
|
|
84
134
|
expect(data).to.be.ok
|
|
85
135
|
} catch(error) {
|
|
86
136
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +138,9 @@ it("tat.v20201028.CreateInvoker", async function () {
|
|
|
88
138
|
}
|
|
89
139
|
})
|
|
90
140
|
|
|
91
|
-
it("tat.v20201028.
|
|
141
|
+
it("tat.v20201028.DeleteRegisterInstance", async function () {
|
|
92
142
|
try {
|
|
93
|
-
const data = await client.
|
|
143
|
+
const data = await client.DeleteRegisterInstance({})
|
|
94
144
|
expect(data).to.be.ok
|
|
95
145
|
} catch(error) {
|
|
96
146
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +148,9 @@ it("tat.v20201028.DescribeInvokerRecords", async function () {
|
|
|
98
148
|
}
|
|
99
149
|
})
|
|
100
150
|
|
|
101
|
-
it("tat.v20201028.
|
|
151
|
+
it("tat.v20201028.ModifyCommand", async function () {
|
|
102
152
|
try {
|
|
103
|
-
const data = await client.
|
|
153
|
+
const data = await client.ModifyCommand({})
|
|
104
154
|
expect(data).to.be.ok
|
|
105
155
|
} catch(error) {
|
|
106
156
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +158,9 @@ it("tat.v20201028.DescribeRegions", async function () {
|
|
|
108
158
|
}
|
|
109
159
|
})
|
|
110
160
|
|
|
111
|
-
it("tat.v20201028.
|
|
161
|
+
it("tat.v20201028.InvokeCommand", async function () {
|
|
112
162
|
try {
|
|
113
|
-
const data = await client.
|
|
163
|
+
const data = await client.InvokeCommand({})
|
|
114
164
|
expect(data).to.be.ok
|
|
115
165
|
} catch(error) {
|
|
116
166
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +168,19 @@ it("tat.v20201028.DisableInvoker", async function () {
|
|
|
118
168
|
}
|
|
119
169
|
})
|
|
120
170
|
|
|
121
|
-
it("tat.v20201028.
|
|
171
|
+
it("tat.v20201028.DescribeRegisterInstances", async function () {
|
|
122
172
|
try {
|
|
123
|
-
const data = await client.
|
|
173
|
+
const data = await client.DescribeRegisterInstances({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
it("tat.v20201028.DescribeRegions", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeRegions({})
|
|
124
184
|
expect(data).to.be.ok
|
|
125
185
|
} catch(error) {
|
|
126
186
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +198,9 @@ it("tat.v20201028.CreateCommand", async function () {
|
|
|
138
198
|
}
|
|
139
199
|
})
|
|
140
200
|
|
|
141
|
-
it("tat.v20201028.
|
|
201
|
+
it("tat.v20201028.DeleteRegisterCodes", async function () {
|
|
142
202
|
try {
|
|
143
|
-
const data = await client.
|
|
203
|
+
const data = await client.DeleteRegisterCodes({})
|
|
144
204
|
expect(data).to.be.ok
|
|
145
205
|
} catch(error) {
|
|
146
206
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +208,9 @@ it("tat.v20201028.DeleteCommand", async function () {
|
|
|
148
208
|
}
|
|
149
209
|
})
|
|
150
210
|
|
|
151
|
-
it("tat.v20201028.
|
|
211
|
+
it("tat.v20201028.DescribeRegisterCodes", async function () {
|
|
152
212
|
try {
|
|
153
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeRegisterCodes({})
|
|
154
214
|
expect(data).to.be.ok
|
|
155
215
|
} catch(error) {
|
|
156
216
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +228,9 @@ it("tat.v20201028.DescribeAutomationAgentStatus", async function () {
|
|
|
168
228
|
}
|
|
169
229
|
})
|
|
170
230
|
|
|
171
|
-
it("tat.v20201028.
|
|
231
|
+
it("tat.v20201028.DisableRegisterCodes", async function () {
|
|
172
232
|
try {
|
|
173
|
-
const data = await client.
|
|
233
|
+
const data = await client.DisableRegisterCodes({})
|
|
174
234
|
expect(data).to.be.ok
|
|
175
235
|
} catch(error) {
|
|
176
236
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +238,19 @@ it("tat.v20201028.PreviewReplacedCommandContent", async function () {
|
|
|
178
238
|
}
|
|
179
239
|
})
|
|
180
240
|
|
|
181
|
-
it("tat.v20201028.
|
|
241
|
+
it("tat.v20201028.DescribeInvokerRecords", async function () {
|
|
182
242
|
try {
|
|
183
|
-
const data = await client.
|
|
243
|
+
const data = await client.DescribeInvokerRecords({})
|
|
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("tat.v20201028.ModifyInvoker", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.ModifyInvoker({})
|
|
184
254
|
expect(data).to.be.ok
|
|
185
255
|
} catch(error) {
|
|
186
256
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +268,9 @@ it("tat.v20201028.DescribeInvokers", async function () {
|
|
|
198
268
|
}
|
|
199
269
|
})
|
|
200
270
|
|
|
201
|
-
it("tat.v20201028.
|
|
271
|
+
it("tat.v20201028.RunCommand", async function () {
|
|
202
272
|
try {
|
|
203
|
-
const data = await client.
|
|
273
|
+
const data = await client.RunCommand({})
|
|
204
274
|
expect(data).to.be.ok
|
|
205
275
|
} catch(error) {
|
|
206
276
|
expect(error.requestId).to.be.ok
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.waf.v20180125.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("waf.v20180125.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("waf.v20180125.ModifyHost", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyHost({})
|
|
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
|
+
|
|
21
31
|
it("waf.v20180125.DescribeAccessExports", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeAccessExports({})
|
|
@@ -28,6 +38,16 @@ it("waf.v20180125.DescribeAccessExports", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
41
|
+
it("waf.v20180125.DescribeFindDomainList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeFindDomainList({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
31
51
|
it("waf.v20180125.DescribePeakPoints", async function () {
|
|
32
52
|
try {
|
|
33
53
|
const data = await client.DescribePeakPoints({})
|
|
@@ -38,6 +58,26 @@ it("waf.v20180125.DescribePeakPoints", async function () {
|
|
|
38
58
|
}
|
|
39
59
|
})
|
|
40
60
|
|
|
61
|
+
it("waf.v20180125.ModifyProtectionStatus", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ModifyProtectionStatus({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("waf.v20180125.DescribeHostLimit", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeHostLimit({})
|
|
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
|
+
|
|
41
81
|
it("waf.v20180125.DeleteAccessExport", async function () {
|
|
42
82
|
try {
|
|
43
83
|
const data = await client.DeleteAccessExport({})
|
|
@@ -48,6 +88,16 @@ it("waf.v20180125.DeleteAccessExport", async function () {
|
|
|
48
88
|
}
|
|
49
89
|
})
|
|
50
90
|
|
|
91
|
+
it("waf.v20180125.DescribeDomainDetailsClb", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeDomainDetailsClb({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
51
101
|
it("waf.v20180125.DeleteDomainWhiteRules", async function () {
|
|
52
102
|
try {
|
|
53
103
|
const data = await client.DeleteDomainWhiteRules({})
|
|
@@ -68,6 +118,16 @@ it("waf.v20180125.ModifyAreaBanStatus", async function () {
|
|
|
68
118
|
}
|
|
69
119
|
})
|
|
70
120
|
|
|
121
|
+
it("waf.v20180125.SwitchDomainRules", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.SwitchDomainRules({})
|
|
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
|
+
|
|
71
131
|
it("waf.v20180125.DescribeDomains", async function () {
|
|
72
132
|
try {
|
|
73
133
|
const data = await client.DescribeDomains({})
|
|
@@ -98,6 +158,16 @@ it("waf.v20180125.DescribeAccessIndex", async function () {
|
|
|
98
158
|
}
|
|
99
159
|
})
|
|
100
160
|
|
|
161
|
+
it("waf.v20180125.ModifyHostFlowMode", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.ModifyHostFlowMode({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
101
171
|
it("waf.v20180125.CreateAccessExport", async function () {
|
|
102
172
|
try {
|
|
103
173
|
const data = await client.CreateAccessExport({})
|
|
@@ -148,6 +218,16 @@ it("waf.v20180125.DescribeInstances", async function () {
|
|
|
148
218
|
}
|
|
149
219
|
})
|
|
150
220
|
|
|
221
|
+
it("waf.v20180125.ModifySpartaProtectionMode", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.ModifySpartaProtectionMode({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
151
231
|
it("waf.v20180125.DeleteIpAccessControl", async function () {
|
|
152
232
|
try {
|
|
153
233
|
const data = await client.DeleteIpAccessControl({})
|
|
@@ -158,6 +238,16 @@ it("waf.v20180125.DeleteIpAccessControl", async function () {
|
|
|
158
238
|
}
|
|
159
239
|
})
|
|
160
240
|
|
|
241
|
+
it("waf.v20180125.ModifyAccessPeriod", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.ModifyAccessPeriod({})
|
|
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
|
+
|
|
161
251
|
it("waf.v20180125.GetAttackHistogram", async function () {
|
|
162
252
|
try {
|
|
163
253
|
const data = await client.GetAttackHistogram({})
|
|
@@ -178,9 +268,49 @@ it("waf.v20180125.ModifyWafAutoDenyStatus", async function () {
|
|
|
178
268
|
}
|
|
179
269
|
})
|
|
180
270
|
|
|
181
|
-
it("waf.v20180125.
|
|
271
|
+
it("waf.v20180125.DescribeTlsVersion", async function () {
|
|
182
272
|
try {
|
|
183
|
-
const data = await client.
|
|
273
|
+
const data = await client.DescribeTlsVersion({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
281
|
+
it("waf.v20180125.ModifyHostStatus", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.ModifyHostStatus({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("waf.v20180125.DescribeCiphersDetail", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeCiphersDetail({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
301
|
+
it("waf.v20180125.AddSpartaProtectionsAuto", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.AddSpartaProtectionsAuto({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
it("waf.v20180125.ModifyDomainsCLSStatus", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.ModifyDomainsCLSStatus({})
|
|
184
314
|
expect(data).to.be.ok
|
|
185
315
|
} catch(error) {
|
|
186
316
|
expect(error.requestId).to.be.ok
|
|
@@ -208,6 +338,16 @@ it("waf.v20180125.DescribeVipInfo", async function () {
|
|
|
208
338
|
}
|
|
209
339
|
})
|
|
210
340
|
|
|
341
|
+
it("waf.v20180125.DescribeUserDomainInfo", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DescribeUserDomainInfo({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
211
351
|
it("waf.v20180125.DescribeUserCdcClbWafRegions", async function () {
|
|
212
352
|
try {
|
|
213
353
|
const data = await client.DescribeUserCdcClbWafRegions({})
|
|
@@ -218,6 +358,16 @@ it("waf.v20180125.DescribeUserCdcClbWafRegions", async function () {
|
|
|
218
358
|
}
|
|
219
359
|
})
|
|
220
360
|
|
|
361
|
+
it("waf.v20180125.DeleteHost", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DeleteHost({})
|
|
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
|
+
|
|
221
371
|
it("waf.v20180125.ModifyDomainWhiteRule", async function () {
|
|
222
372
|
try {
|
|
223
373
|
const data = await client.ModifyDomainWhiteRule({})
|
|
@@ -338,6 +488,26 @@ it("waf.v20180125.ModifyCustomRuleStatus", async function () {
|
|
|
338
488
|
}
|
|
339
489
|
})
|
|
340
490
|
|
|
491
|
+
it("waf.v20180125.DescribeDomainCountInfo", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.DescribeDomainCountInfo({})
|
|
494
|
+
expect(data).to.be.ok
|
|
495
|
+
} catch(error) {
|
|
496
|
+
expect(error.requestId).to.be.ok
|
|
497
|
+
expect(error.code).to.be.ok
|
|
498
|
+
}
|
|
499
|
+
})
|
|
500
|
+
|
|
501
|
+
it("waf.v20180125.DeleteSpartaProtection", async function () {
|
|
502
|
+
try {
|
|
503
|
+
const data = await client.DeleteSpartaProtection({})
|
|
504
|
+
expect(data).to.be.ok
|
|
505
|
+
} catch(error) {
|
|
506
|
+
expect(error.requestId).to.be.ok
|
|
507
|
+
expect(error.code).to.be.ok
|
|
508
|
+
}
|
|
509
|
+
})
|
|
510
|
+
|
|
341
511
|
it("waf.v20180125.DescribePeakValue", async function () {
|
|
342
512
|
try {
|
|
343
513
|
const data = await client.DescribePeakValue({})
|
|
@@ -358,6 +528,16 @@ it("waf.v20180125.ModifyWafThreatenIntelligence", async function () {
|
|
|
358
528
|
}
|
|
359
529
|
})
|
|
360
530
|
|
|
531
|
+
it("waf.v20180125.ModifyHostMode", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.ModifyHostMode({})
|
|
534
|
+
expect(data).to.be.ok
|
|
535
|
+
} catch(error) {
|
|
536
|
+
expect(error.requestId).to.be.ok
|
|
537
|
+
expect(error.code).to.be.ok
|
|
538
|
+
}
|
|
539
|
+
})
|
|
540
|
+
|
|
361
541
|
it("waf.v20180125.ModifySpartaProtection", async function () {
|
|
362
542
|
try {
|
|
363
543
|
const data = await client.ModifySpartaProtection({})
|
|
@@ -458,9 +638,9 @@ it("waf.v20180125.DeleteSession", async function () {
|
|
|
458
638
|
}
|
|
459
639
|
})
|
|
460
640
|
|
|
461
|
-
it("waf.v20180125.
|
|
641
|
+
it("waf.v20180125.AddSpartaProtectionAuto", async function () {
|
|
462
642
|
try {
|
|
463
|
-
const data = await client.
|
|
643
|
+
const data = await client.AddSpartaProtectionAuto({})
|
|
464
644
|
expect(data).to.be.ok
|
|
465
645
|
} catch(error) {
|
|
466
646
|
expect(error.requestId).to.be.ok
|
|
@@ -478,6 +658,16 @@ it("waf.v20180125.DescribeRuleLimit", async function () {
|
|
|
478
658
|
}
|
|
479
659
|
})
|
|
480
660
|
|
|
661
|
+
it("waf.v20180125.DescribeHosts", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.DescribeHosts({})
|
|
664
|
+
expect(data).to.be.ok
|
|
665
|
+
} catch(error) {
|
|
666
|
+
expect(error.requestId).to.be.ok
|
|
667
|
+
expect(error.code).to.be.ok
|
|
668
|
+
}
|
|
669
|
+
})
|
|
670
|
+
|
|
481
671
|
it("waf.v20180125.AddSpartaProtection", async function () {
|
|
482
672
|
try {
|
|
483
673
|
const data = await client.AddSpartaProtection({})
|
|
@@ -498,6 +688,16 @@ it("waf.v20180125.DescribeWafThreatenIntelligence", async function () {
|
|
|
498
688
|
}
|
|
499
689
|
})
|
|
500
690
|
|
|
691
|
+
it("waf.v20180125.DescribeWafInfo", async function () {
|
|
692
|
+
try {
|
|
693
|
+
const data = await client.DescribeWafInfo({})
|
|
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
|
+
|
|
501
701
|
it("waf.v20180125.DescribePolicyStatus", async function () {
|
|
502
702
|
try {
|
|
503
703
|
const data = await client.DescribePolicyStatus({})
|
|
@@ -508,6 +708,16 @@ it("waf.v20180125.DescribePolicyStatus", async function () {
|
|
|
508
708
|
}
|
|
509
709
|
})
|
|
510
710
|
|
|
711
|
+
it("waf.v20180125.RefreshAccessCheckResult", async function () {
|
|
712
|
+
try {
|
|
713
|
+
const data = await client.RefreshAccessCheckResult({})
|
|
714
|
+
expect(data).to.be.ok
|
|
715
|
+
} catch(error) {
|
|
716
|
+
expect(error.requestId).to.be.ok
|
|
717
|
+
expect(error.code).to.be.ok
|
|
718
|
+
}
|
|
719
|
+
})
|
|
720
|
+
|
|
511
721
|
it("waf.v20180125.DescribeIpHitItems", async function () {
|
|
512
722
|
try {
|
|
513
723
|
const data = await client.DescribeIpHitItems({})
|
|
@@ -528,9 +738,19 @@ it("waf.v20180125.AddDomainWhiteRule", async function () {
|
|
|
528
738
|
}
|
|
529
739
|
})
|
|
530
740
|
|
|
531
|
-
it("waf.v20180125.
|
|
741
|
+
it("waf.v20180125.ModifyDomainIpv6Status", async function () {
|
|
532
742
|
try {
|
|
533
|
-
const data = await client.
|
|
743
|
+
const data = await client.ModifyDomainIpv6Status({})
|
|
744
|
+
expect(data).to.be.ok
|
|
745
|
+
} catch(error) {
|
|
746
|
+
expect(error.requestId).to.be.ok
|
|
747
|
+
expect(error.code).to.be.ok
|
|
748
|
+
}
|
|
749
|
+
})
|
|
750
|
+
|
|
751
|
+
it("waf.v20180125.DescribeDomainWhiteRules", async function () {
|
|
752
|
+
try {
|
|
753
|
+
const data = await client.DescribeDomainWhiteRules({})
|
|
534
754
|
expect(data).to.be.ok
|
|
535
755
|
} catch(error) {
|
|
536
756
|
expect(error.requestId).to.be.ok
|
|
@@ -548,6 +768,16 @@ it("waf.v20180125.DescribeCustomWhiteRule", async function () {
|
|
|
548
768
|
}
|
|
549
769
|
})
|
|
550
770
|
|
|
771
|
+
it("waf.v20180125.DescribeHost", async function () {
|
|
772
|
+
try {
|
|
773
|
+
const data = await client.DescribeHost({})
|
|
774
|
+
expect(data).to.be.ok
|
|
775
|
+
} catch(error) {
|
|
776
|
+
expect(error.requestId).to.be.ok
|
|
777
|
+
expect(error.code).to.be.ok
|
|
778
|
+
}
|
|
779
|
+
})
|
|
780
|
+
|
|
551
781
|
it("waf.v20180125.UpsertIpAccessControl", async function () {
|
|
552
782
|
try {
|
|
553
783
|
const data = await client.UpsertIpAccessControl({})
|