tencentcloud-sdk-nodejs-intl-en 3.0.415 → 3.0.418

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.
@@ -16,239 +16,12 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
- const DescribeCdnDomainLogsResponse = models.DescribeCdnDomainLogsResponse;
20
- const AdvancedAuthentication = models.AdvancedAuthentication;
21
- const AdvanceHttps = models.AdvanceHttps;
22
- const Revalidate = models.Revalidate;
23
- const ResourceData = models.ResourceData;
24
- const UrlRecord = models.UrlRecord;
25
- const DescribePushQuotaResponse = models.DescribePushQuotaResponse;
26
- const DescribePurgeQuotaResponse = models.DescribePurgeQuotaResponse;
27
- const ScdnSevenLayerRules = models.ScdnSevenLayerRules;
28
- const Authentication = models.Authentication;
29
- const ImageOptimization = models.ImageOptimization;
30
- const Https = models.Https;
31
- const RuleCache = models.RuleCache;
32
- const DescribeCdnDomainLogsRequest = models.DescribeCdnDomainLogsRequest;
33
- const CreateClsLogTopicResponse = models.CreateClsLogTopicResponse;
34
- const RemoteAuthenticationRule = models.RemoteAuthenticationRule;
35
- const Compression = models.Compression;
19
+ const PurgePathCacheRequest = models.PurgePathCacheRequest;
36
20
  const PurgePathCacheResponse = models.PurgePathCacheResponse;
37
- const DomainFilter = models.DomainFilter;
38
- const DescribeCdnOriginIpResponse = models.DescribeCdnOriginIpResponse;
39
- const SpecificConfig = models.SpecificConfig;
40
- const FollowRedirect = models.FollowRedirect;
41
- const RequestHeader = models.RequestHeader;
42
- const DescribePurgeQuotaRequest = models.DescribePurgeQuotaRequest;
43
- const Referer = models.Referer;
44
- const PostSize = models.PostSize;
45
- const DescribeCdnDataResponse = models.DescribeCdnDataResponse;
46
- const EnableClsLogTopicRequest = models.EnableClsLogTopicRequest;
47
- const CacheConfigNoCache = models.CacheConfigNoCache;
48
- const OriginCombine = models.OriginCombine;
49
- const DeleteCdnDomainRequest = models.DeleteCdnDomainRequest;
50
- const DescribePayTypeResponse = models.DescribePayTypeResponse;
51
- const PathRule = models.PathRule;
52
- const ListTopDataRequest = models.ListTopDataRequest;
53
- const ListClsTopicDomainsRequest = models.ListClsTopicDomainsRequest;
54
- const DescribeDomainsResponse = models.DescribeDomainsResponse;
55
- const DescribePayTypeRequest = models.DescribePayTypeRequest;
56
- const AdvancedAuthenticationTypeD = models.AdvancedAuthenticationTypeD;
57
- const CompressionRule = models.CompressionRule;
58
- const GuetzliAdapter = models.GuetzliAdapter;
59
- const UpdateScdnDomainResponse = models.UpdateScdnDomainResponse;
60
- const Origin = models.Origin;
61
- const DescribeDomainsConfigRequest = models.DescribeDomainsConfigRequest;
62
- const TopData = models.TopData;
63
- const EnableCachesRequest = models.EnableCachesRequest;
64
- const Quota = models.Quota;
65
- const HeaderKey = models.HeaderKey;
66
- const DescribeBillingDataRequest = models.DescribeBillingDataRequest;
67
- const SimpleCache = models.SimpleCache;
68
- const DeleteClsLogTopicRequest = models.DeleteClsLogTopicRequest;
69
- const UserAgentFilter = models.UserAgentFilter;
70
- const DescribeCdnOriginIpRequest = models.DescribeCdnOriginIpRequest;
71
- const UpdatePayTypeResponse = models.UpdatePayTypeResponse;
72
- const TopicInfo = models.TopicInfo;
73
- const AdvancedCCRules = models.AdvancedCCRules;
74
- const DescribeDomainsConfigResponse = models.DescribeDomainsConfigResponse;
75
- const BriefDomain = models.BriefDomain;
76
- const TimestampData = models.TimestampData;
77
- const TpgAdapter = models.TpgAdapter;
78
- const CacheConfigCache = models.CacheConfigCache;
79
- const DescribeReportDataResponse = models.DescribeReportDataResponse;
80
- const DisableClsLogTopicRequest = models.DisableClsLogTopicRequest;
81
- const RuleCacheConfig = models.RuleCacheConfig;
82
- const ListClsTopicDomainsResponse = models.ListClsTopicDomainsResponse;
83
- const BotCookie = models.BotCookie;
84
- const DescribeCdnIpRequest = models.DescribeCdnIpRequest;
85
- const Ipv6 = models.Ipv6;
86
- const WafSubRuleStatus = models.WafSubRuleStatus;
87
- const StatusCodeCache = models.StatusCodeCache;
88
- const DescribeIpVisitResponse = models.DescribeIpVisitResponse;
89
- const EnableClsLogTopicResponse = models.EnableClsLogTopicResponse;
90
- const ListClsLogTopicsResponse = models.ListClsLogTopicsResponse;
91
- const OverseaConfig = models.OverseaConfig;
92
- const AddCdnDomainRequest = models.AddCdnDomainRequest;
93
- const UserAgentFilterRule = models.UserAgentFilterRule;
94
- const UpdateDomainConfigRequest = models.UpdateDomainConfigRequest;
95
- const Tag = models.Tag;
96
- const CacheConfigFollowOrigin = models.CacheConfigFollowOrigin;
97
- const MaxAgeRule = models.MaxAgeRule;
98
- const AdvancedAuthenticationTypeE = models.AdvancedAuthenticationTypeE;
99
- const DescribeCertDomainsRequest = models.DescribeCertDomainsRequest;
100
- const AdvancedAuthenticationTypeF = models.AdvancedAuthenticationTypeF;
101
- const AdvancedAuthenticationTypeA = models.AdvancedAuthenticationTypeA;
102
- const AdvancedCache = models.AdvancedCache;
103
- const AdvancedAuthenticationTypeC = models.AdvancedAuthenticationTypeC;
104
- const AdvancedAuthenticationTypeB = models.AdvancedAuthenticationTypeB;
105
- const WebpAdapter = models.WebpAdapter;
106
- const StartCdnDomainRequest = models.StartCdnDomainRequest;
107
- const WebSocket = models.WebSocket;
108
- const MapInfo = models.MapInfo;
109
- const DescribeCertDomainsResponse = models.DescribeCertDomainsResponse;
110
- const ScdnBotConfig = models.ScdnBotConfig;
111
- const AuthenticationTypeD = models.AuthenticationTypeD;
112
- const AuthenticationTypeC = models.AuthenticationTypeC;
113
- const AuthenticationTypeB = models.AuthenticationTypeB;
114
- const AuthenticationTypeA = models.AuthenticationTypeA;
115
- const OriginAuthenticationTypeA = models.OriginAuthenticationTypeA;
116
- const DescribePushTasksResponse = models.DescribePushTasksResponse;
117
- const ResourceOriginData = models.ResourceOriginData;
118
- const IpStatus = models.IpStatus;
119
- const AddCdnDomainResponse = models.AddCdnDomainResponse;
120
- const DomainAreaConfig = models.DomainAreaConfig;
121
- const ServerCert = models.ServerCert;
122
- const AccessControlRule = models.AccessControlRule;
123
- const HttpHeaderPathRule = models.HttpHeaderPathRule;
124
- const DisableCachesRequest = models.DisableCachesRequest;
125
- const ScdnAclRule = models.ScdnAclRule;
126
- const SimpleCacheRule = models.SimpleCacheRule;
127
- const DisableClsLogTopicResponse = models.DisableClsLogTopicResponse;
128
- const Hsts = models.Hsts;
129
- const DescribeIpStatusRequest = models.DescribeIpStatusRequest;
130
- const DetailDomain = models.DetailDomain;
131
- const RuleEngine = models.RuleEngine;
132
- const GetDisableRecordsResponse = models.GetDisableRecordsResponse;
133
- const Ipv6Access = models.Ipv6Access;
134
- const ResponseHeader = models.ResponseHeader;
135
- const CdnIpHistory = models.CdnIpHistory;
136
- const SummarizedData = models.SummarizedData;
137
- const UpdateScdnDomainRequest = models.UpdateScdnDomainRequest;
138
- const UpdatePayTypeRequest = models.UpdatePayTypeRequest;
139
- const ManageClsTopicDomainsRequest = models.ManageClsTopicDomainsRequest;
140
- const ScdnWafConfig = models.ScdnWafConfig;
21
+ const PushUrlsCacheResponse = models.PushUrlsCacheResponse;
141
22
  const CreateScdnFailedLogTaskRequest = models.CreateScdnFailedLogTaskRequest;
142
- const Cache = models.Cache;
143
- const ForceRedirect = models.ForceRedirect;
144
- const DescribeOriginDataRequest = models.DescribeOriginDataRequest;
145
- const RangeOriginPull = models.RangeOriginPull;
146
- const ViolationUrl = models.ViolationUrl;
147
- const SearchClsLogResponse = models.SearchClsLogResponse;
148
- const PathBasedOriginRule = models.PathBasedOriginRule;
149
- const PushUrlsCacheRequest = models.PushUrlsCacheRequest;
150
- const MainlandConfig = models.MainlandConfig;
151
- const DescribeReportDataRequest = models.DescribeReportDataRequest;
152
- const DescribePushTasksRequest = models.DescribePushTasksRequest;
153
- const DescribeUrlViolationsRequest = models.DescribeUrlViolationsRequest;
154
- const RefererRule = models.RefererRule;
155
- const ScdnCCRules = models.ScdnCCRules;
156
- const IpFreqLimit = models.IpFreqLimit;
157
- const CreateClsLogTopicRequest = models.CreateClsLogTopicRequest;
158
- const CacheOptResult = models.CacheOptResult;
159
- const StopCdnDomainRequest = models.StopCdnDomainRequest;
160
- const DescribeMapInfoResponse = models.DescribeMapInfoResponse;
161
- const DescribeMapInfoRequest = models.DescribeMapInfoRequest;
162
- const EnableCachesResponse = models.EnableCachesResponse;
163
- const RuleQueryString = models.RuleQueryString;
164
- const AdvancedScdnAclRule = models.AdvancedScdnAclRule;
165
- const DescribeIpVisitRequest = models.DescribeIpVisitRequest;
166
- const HttpHeaderRule = models.HttpHeaderRule;
167
- const StatusCodeCacheRule = models.StatusCodeCacheRule;
168
- const ClientCert = models.ClientCert;
169
- const ScdnConfig = models.ScdnConfig;
170
- const DomainLog = models.DomainLog;
171
- const GetDisableRecordsRequest = models.GetDisableRecordsRequest;
172
- const PurgeUrlsCacheResponse = models.PurgeUrlsCacheResponse;
173
- const BotJavaScript = models.BotJavaScript;
174
- const DeleteClsLogTopicResponse = models.DeleteClsLogTopicResponse;
175
- const DescribeBillingDataResponse = models.DescribeBillingDataResponse;
176
- const DisableCachesResponse = models.DisableCachesResponse;
177
- const SchemeKey = models.SchemeKey;
178
- const RangeOriginPullRule = models.RangeOriginPullRule;
179
- const DescribeCdnIpResponse = models.DescribeCdnIpResponse;
180
- const AdvanceCacheRule = models.AdvanceCacheRule;
181
- const DescribeIpStatusResponse = models.DescribeIpStatusResponse;
182
- const AccessControl = models.AccessControl;
183
- const ScdnErrorPage = models.ScdnErrorPage;
184
- const CacheKey = models.CacheKey;
185
- const UrlRedirect = models.UrlRedirect;
186
- const DownstreamCapping = models.DownstreamCapping;
187
- const CookieKey = models.CookieKey;
188
- const RemoteAuthentication = models.RemoteAuthentication;
189
- const KeyRule = models.KeyRule;
190
- const CappingRule = models.CappingRule;
191
- const ShareCname = models.ShareCname;
192
- const ListClsLogTopicsRequest = models.ListClsLogTopicsRequest;
193
- const Seo = models.Seo;
194
- const BandwidthAlert = models.BandwidthAlert;
195
- const ClsLogObject = models.ClsLogObject;
196
- const RegionMapRelation = models.RegionMapRelation;
197
- const PurgePathCacheRequest = models.PurgePathCacheRequest;
198
23
  const CreateScdnFailedLogTaskResponse = models.CreateScdnFailedLogTaskResponse;
199
- const CdnData = models.CdnData;
200
- const PurgeUrlsCacheRequest = models.PurgeUrlsCacheRequest;
201
- const OriginPullOptimization = models.OriginPullOptimization;
202
- const ErrorPage = models.ErrorPage;
203
- const PushTask = models.PushTask;
204
- const ReportData = models.ReportData;
205
- const StartCdnDomainResponse = models.StartCdnDomainResponse;
206
- const DescribePushQuotaRequest = models.DescribePushQuotaRequest;
207
- const TopDetailData = models.TopDetailData;
208
- const ResponseHeaderCache = models.ResponseHeaderCache;
209
- const ResourceBillingData = models.ResourceBillingData;
210
- const Sort = models.Sort;
211
- const DescribePurgeTasksRequest = models.DescribePurgeTasksRequest;
212
- const PushUrlsCacheResponse = models.PushUrlsCacheResponse;
213
- const StopCdnDomainResponse = models.StopCdnDomainResponse;
214
- const QueryStringKey = models.QueryStringKey;
215
- const ListTopDataResponse = models.ListTopDataResponse;
216
- const MaxAge = models.MaxAge;
217
- const UpdateDomainConfigResponse = models.UpdateDomainConfigResponse;
218
- const OssPrivateAccess = models.OssPrivateAccess;
219
- const LogSetInfo = models.LogSetInfo;
220
- const SecurityConfig = models.SecurityConfig;
221
- const SearchClsLogRequest = models.SearchClsLogRequest;
222
- const AdvanceConfig = models.AdvanceConfig;
223
- const AwsPrivateAccess = models.AwsPrivateAccess;
224
- const AdvancedScdnAclGroup = models.AdvancedScdnAclGroup;
225
- const VideoSeek = models.VideoSeek;
226
- const Compatibility = models.Compatibility;
227
- const ManageClsTopicDomainsResponse = models.ManageClsTopicDomainsResponse;
228
- const ScdnAclGroup = models.ScdnAclGroup;
229
- const ScdnWafRule = models.ScdnWafRule;
230
- const ClsSearchLogs = models.ClsSearchLogs;
231
- const DescribeUrlViolationsResponse = models.DescribeUrlViolationsResponse;
232
- const IpFilter = models.IpFilter;
233
- const ScdnAclConfig = models.ScdnAclConfig;
234
- const ScdnDdosConfig = models.ScdnDdosConfig;
235
- const DescribePurgeTasksResponse = models.DescribePurgeTasksResponse;
236
- const OriginAuthentication = models.OriginAuthentication;
237
- const ErrorPageRule = models.ErrorPageRule;
238
- const DescribeOriginDataResponse = models.DescribeOriginDataResponse;
239
- const PurgeTask = models.PurgeTask;
240
- const OriginPullTimeout = models.OriginPullTimeout;
241
- const DeleteCdnDomainResponse = models.DeleteCdnDomainResponse;
242
- const OriginIp = models.OriginIp;
243
- const CdnIp = models.CdnIp;
244
- const DescribeCdnDataRequest = models.DescribeCdnDataRequest;
245
- const ExtraLogset = models.ExtraLogset;
246
- const CacheTagKey = models.CacheTagKey;
247
- const Quic = models.Quic;
248
- const DescribeDomainsRequest = models.DescribeDomainsRequest;
249
- const OfflineCache = models.OfflineCache;
250
- const UrlRedirectRule = models.UrlRedirectRule;
251
- const IpFilterPathRule = models.IpFilterPathRule;
24
+ const PushUrlsCacheRequest = models.PushUrlsCacheRequest;
252
25
 
253
26
 
254
27
  /**
@@ -261,266 +34,9 @@ class CdnClient extends AbstractClient {
261
34
  super("cdn.tencentcloudapi.com", "2018-06-06", credential, region, profile);
262
35
  }
263
36
 
264
- /**
265
- * This API is used to query the status of the edge nodes and intermediate nodes. Note: Edge nodes are only available for beta users now.
266
-
267
- >? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41954?from_cn_redirect=1">corresponding CDN API</a>.
268
- * @param {DescribeIpStatusRequest} req
269
- * @param {function(string, DescribeIpStatusResponse):void} cb
270
- * @public
271
- */
272
- DescribeIpStatus(req, cb) {
273
- let resp = new DescribeIpStatusResponse();
274
- this.request("DescribeIpStatus", req, resp, cb);
275
- }
276
-
277
- /**
278
- * This API (DescribeMapInfo) is used to query the IDs of districts or ISPs.
279
- * @param {DescribeMapInfoRequest} req
280
- * @param {function(string, DescribeMapInfoResponse):void} cb
281
- * @public
282
- */
283
- DescribeMapInfo(req, cb) {
284
- let resp = new DescribeMapInfoResponse();
285
- this.request("DescribeMapInfo", req, resp, cb);
286
- }
287
-
288
- /**
289
- * This API is used to delete a specified acceleration domain name.
290
- * @param {DeleteCdnDomainRequest} req
291
- * @param {function(string, DeleteCdnDomainResponse):void} cb
292
- * @public
293
- */
294
- DeleteCdnDomain(req, cb) {
295
- let resp = new DeleteCdnDomainResponse();
296
- this.request("DeleteCdnDomain", req, resp, cb);
297
- }
298
-
299
- /**
300
- * This API is used to query the record and progress of URL or directory purge tasks submitted via the `PurgePathCache` or `PurgeUrlsCache` APIs.
301
- * @param {DescribePurgeTasksRequest} req
302
- * @param {function(string, DescribePurgeTasksResponse):void} cb
303
- * @public
304
- */
305
- DescribePurgeTasks(req, cb) {
306
- let resp = new DescribePurgeTasksResponse();
307
- this.request("DescribePurgeTasks", req, resp, cb);
308
- }
309
-
310
- /**
311
- * This API (DescribePayType) is used to query billing information of the current account, such as billing mode and billing cycle.
312
- * @param {DescribePayTypeRequest} req
313
- * @param {function(string, DescribePayTypeResponse):void} cb
314
- * @public
315
- */
316
- DescribePayType(req, cb) {
317
- let resp = new DescribePayTypeResponse();
318
- this.request("DescribePayType", req, resp, cb);
319
- }
320
-
321
- /**
322
- * This API is used to query the complete configuration information of CDN acceleration domain names (inside and outside mainland China).
323
- * @param {DescribeDomainsConfigRequest} req
324
- * @param {function(string, DescribeDomainsConfigResponse):void} cb
325
- * @public
326
- */
327
- DescribeDomainsConfig(req, cb) {
328
- let resp = new DescribeDomainsConfigResponse();
329
- this.request("DescribeDomainsConfig", req, resp, cb);
330
- }
331
-
332
- /**
333
- * This API is used to add a CDN acceleration domain name.
334
- * @param {AddCdnDomainRequest} req
335
- * @param {function(string, AddCdnDomainResponse):void} cb
336
- * @public
337
- */
338
- AddCdnDomain(req, cb) {
339
- let resp = new AddCdnDomainResponse();
340
- this.request("AddCdnDomain", req, resp, cb);
341
- }
342
-
343
- /**
344
- * This API (DescribeIpVisit) is used to query the number of users who remain active for 5 minutes and the detailed number of daily active users.
345
-
346
- + Number of users who remain active for 5 minutes: Collects deduplicated statistics based on client IP addresses in the log with the 5-minute granularity.
347
- + Number of daily active users: Collects deduplicated statistics based on client IP addresses in the log with the 1-day granularity.
348
- * @param {DescribeIpVisitRequest} req
349
- * @param {function(string, DescribeIpVisitResponse):void} cb
350
- * @public
351
- */
352
- DescribeIpVisit(req, cb) {
353
- let resp = new DescribeIpVisitResponse();
354
- this.request("DescribeIpVisit", req, resp, cb);
355
- }
356
-
357
- /**
358
- * This API (DescribeCdnData) is used to query CDN real-time access monitoring data and supports the following metrics:
359
-
360
- + Traffic (in bytes)
361
- + Bandwidth (in bps)
362
- + Number of requests
363
- + Number of hit requests
364
- + Request hit rate (in %)
365
- + Hit traffic (in bytes)
366
- + Traffic hit rate (in %)
367
- + Aggregate list of 2xx status codes and the details of status codes starting with 2 (in entries)
368
- + Aggregate list of 3xx status codes and the details of status codes starting with 3 (in entries)
369
- + Aggregate list of 4xx status codes and the details of status codes starting with 4 (in entries)
370
- + Aggregate list of 5xx status codes and the details of status codes starting with 5 (in entries)
371
- * @param {DescribeCdnDataRequest} req
372
- * @param {function(string, DescribeCdnDataResponse):void} cb
373
- * @public
374
- */
375
- DescribeCdnData(req, cb) {
376
- let resp = new DescribeCdnDataResponse();
377
- this.request("DescribeCdnData", req, resp, cb);
378
- }
379
-
380
- /**
381
- * This API is used to block access to a specific URL on CDN. When a URL is blocked, error 403 will be returned for requests from the Chinese mainland. URL blocking is not permanent. Note that this API is only available to beta users now.
382
- * @param {DisableCachesRequest} req
383
- * @param {function(string, DisableCachesResponse):void} cb
384
- * @public
385
- */
386
- DisableCaches(req, cb) {
387
- let resp = new DisableCachesResponse();
388
- this.request("DisableCaches", req, resp, cb);
389
- }
390
-
391
- /**
392
- * This API is used to query the basic configuration information of CDN acceleration domain names (inside and outside mainland China), including the project ID, service status, service type, creation time, and update time, etc.
393
- * @param {DescribeDomainsRequest} req
394
- * @param {function(string, DescribeDomainsResponse):void} cb
395
- * @public
396
- */
397
- DescribeDomains(req, cb) {
398
- let resp = new DescribeDomainsResponse();
399
- this.request("DescribeDomains", req, resp, cb);
400
- }
401
-
402
- /**
403
- * This API is used to manage the list of domain names bound to a log topic.
404
- * @param {ManageClsTopicDomainsRequest} req
405
- * @param {function(string, ManageClsTopicDomainsResponse):void} cb
406
- * @public
407
- */
408
- ManageClsTopicDomains(req, cb) {
409
- let resp = new ManageClsTopicDomainsResponse();
410
- this.request("ManageClsTopicDomains", req, resp, cb);
411
- }
412
-
413
- /**
414
- * This API is used to enable the acceleration service for a disabled domain name.
415
- * @param {StartCdnDomainRequest} req
416
- * @param {function(string, StartCdnDomainResponse):void} cb
417
- * @public
418
- */
419
- StartCdnDomain(req, cb) {
420
- let resp = new StartCdnDomainResponse();
421
- this.request("StartCdnDomain", req, resp, cb);
422
- }
423
-
424
- /**
425
- * This API is used to suspend the acceleration service for a domain name.
426
- Note: after the acceleration service has been suspended, requests to the cache node will return a 404 error. In order to avoid impact to your business, please move the domain name to another service before suspending the acceleration service.
427
- * @param {StopCdnDomainRequest} req
428
- * @param {function(string, StopCdnDomainResponse):void} cb
429
- * @public
430
- */
431
- StopCdnDomain(req, cb) {
432
- let resp = new StopCdnDomainResponse();
433
- this.request("StopCdnDomain", req, resp, cb);
434
- }
435
-
436
- /**
437
- * This API is used to query the purge usage quota and daily available usage for an account.
438
- * @param {DescribePurgeQuotaRequest} req
439
- * @param {function(string, DescribePurgeQuotaResponse):void} cb
440
- * @public
441
- */
442
- DescribePurgeQuota(req, cb) {
443
- let resp = new DescribePurgeQuotaResponse();
444
- this.request("DescribePurgeQuota", req, resp, cb);
445
- }
446
-
447
- /**
448
- * This API is used to modify security configurations of SCDN acceleration domain names.
449
- * @param {UpdateScdnDomainRequest} req
450
- * @param {function(string, UpdateScdnDomainResponse):void} cb
451
- * @public
452
- */
453
- UpdateScdnDomain(req, cb) {
454
- let resp = new UpdateScdnDomainResponse();
455
- this.request("UpdateScdnDomain", req, resp, cb);
456
- }
457
-
458
- /**
459
- * This API is used to search for CLS logs. Search filters can be set to today, 24 hours (one of the last 7 days), and the last 7 days.
460
- * @param {SearchClsLogRequest} req
461
- * @param {function(string, SearchClsLogResponse):void} cb
462
- * @public
463
- */
464
- SearchClsLog(req, cb) {
465
- let resp = new SearchClsLogResponse();
466
- this.request("SearchClsLog", req, resp, cb);
467
- }
468
-
469
- /**
470
- * This API is used to list data sorted the following ways by using different combinations of the Metric and Filter input parameters:
471
-
472
- + It sorts access URLs by total traffic and total requests, and returns the top 1,000 URLs in descending order.
473
- + It sorts client districts by total traffic and total requests, and returns the list of districts in descending order.
474
- + It sorts client ISPs by total traffic and total requests, and returns the list of ISPs in descending order.
475
- + It sorts domain names by total traffic, peak bandwidth, total requests, average hit rate, and 2XX/3XX/4XX/5XX status codes, and returns the list of domain names in descending order.
476
- + It sorts domain names by total origin-pull traffic, peak origin-pull bandwidth, total origin-pull requests, average origin-pull failure rate, and 2XX/3XX/4XX/5XX origin-pull status codes, and returns the list of domain names in descending order.
477
-
478
- Note: only data from the last 90 days will be queried.
479
- * @param {ListTopDataRequest} req
480
- * @param {function(string, ListTopDataResponse):void} cb
481
- * @public
482
- */
483
- ListTopData(req, cb) {
484
- let resp = new ListTopDataResponse();
485
- this.request("ListTopData", req, resp, cb);
486
- }
487
-
488
- /**
489
- * This API (DescribeOriginData) is used to query CDN real-time origin-pull monitoring data and supports the following metrics:
490
-
491
- + Origin-pull traffic (in bytes)
492
- + Origin-pull bandwidth (in bps)
493
- + Number of origin-pull requests
494
- + Number of failed origin-pull requests
495
- + Origin-pull failure rate (in % with two decimal digits)
496
- + Aggregate list of 2xx origin-pull status codes and the details of origin-pull status codes starting with 2 (in entries)
497
- + Aggregate list of 3xx origin-pull status codes and the details of origin-pull status codes starting with 3 (in entries)
498
- + Aggregate list of 4xx origin-pull status codes and the details of origin-pull status codes starting with 4 (in entries)
499
- + Aggregate list of 5xx origin-pull status codes and the details of origin-pull status codes starting with 5 (in entries)
500
- * @param {DescribeOriginDataRequest} req
501
- * @param {function(string, DescribeOriginDataResponse):void} cb
502
- * @public
503
- */
504
- DescribeOriginData(req, cb) {
505
- let resp = new DescribeOriginDataResponse();
506
- this.request("DescribeOriginData", req, resp, cb);
507
- }
508
-
509
- /**
510
- * This API is used to query CDN IP ownership.
511
- (Note: the request rate limit of this API is subject to the limit in CDN, which is 200 calls/10 minutes).
512
- * @param {DescribeCdnIpRequest} req
513
- * @param {function(string, DescribeCdnIpResponse):void} cb
514
- * @public
515
- */
516
- DescribeCdnIp(req, cb) {
517
- let resp = new DescribeCdnIpResponse();
518
- this.request("DescribeCdnIp", req, resp, cb);
519
- }
520
-
521
37
  /**
522
38
  * This API is used to submit multiple directory purge tasks, which are carried out according to the acceleration region of the domain names.
523
- By default, a maximum of 100 directories can be purged per day for acceleration regions either within or outside Mainland China, and up to 20 tasks can be submitted at a time.
39
+ By default, a maximum of 100 directories can be purged per day for acceleration regions either within or outside the Chinese mainland, and up to 500 tasks can be submitted at a time.
524
40
  * @param {PurgePathCacheRequest} req
525
41
  * @param {function(string, PurgePathCacheResponse):void} cb
526
42
  * @public
@@ -530,99 +46,6 @@ By default, a maximum of 100 directories can be purged per day for acceleration
530
46
  this.request("PurgePathCache", req, resp, cb);
531
47
  }
532
48
 
533
- /**
534
- * This API is used to query the list of domain name URLs containing regulation-violating content scanned and detected by the CDN system, and the current status of the URLs.
535
- It corresponds to the **Pornography Detection** page on the CDN Console.
536
- * @param {DescribeUrlViolationsRequest} req
537
- * @param {function(string, DescribeUrlViolationsResponse):void} cb
538
- * @public
539
- */
540
- DescribeUrlViolations(req, cb) {
541
- let resp = new DescribeUrlViolationsResponse();
542
- this.request("DescribeUrlViolations", req, resp, cb);
543
- }
544
-
545
- /**
546
- * This API is used to submit multiple URL purge tasks, which are carried out according to the current acceleration region of the domain names in the URLs.
547
- By default, a maximum of 10,000 URLs can be purged per day for acceleration regions either within or outside Mainland China, and up to 1,000 tasks can be submitted at a time.
548
- * @param {PurgeUrlsCacheRequest} req
549
- * @param {function(string, PurgeUrlsCacheResponse):void} cb
550
- * @public
551
- */
552
- PurgeUrlsCache(req, cb) {
553
- let resp = new PurgeUrlsCacheResponse();
554
- this.request("PurgeUrlsCache", req, resp, cb);
555
- }
556
-
557
- /**
558
- * This API is used to modify the configuration of CDN acceleration domain names.
559
- Note: if you need to update complex configuration items, you must pass all the attributes of the entire object. The default value will be used for attributes that are not passed. We recommend calling the querying API to obtain the configuration attributes first. You can then modify and pass the attributes to the API. The certificate and key fields do not need to be passed for HTTPS configuration.
560
- * @param {UpdateDomainConfigRequest} req
561
- * @param {function(string, UpdateDomainConfigResponse):void} cb
562
- * @public
563
- */
564
- UpdateDomainConfig(req, cb) {
565
- let resp = new UpdateDomainConfigResponse();
566
- this.request("UpdateDomainConfig", req, resp, cb);
567
- }
568
-
569
- /**
570
- * This API is used to query the download link of an access log. You can use this API for access logs in the last 30 days either within or outside Mainland China.
571
- * @param {DescribeCdnDomainLogsRequest} req
572
- * @param {function(string, DescribeCdnDomainLogsResponse):void} cb
573
- * @public
574
- */
575
- DescribeCdnDomainLogs(req, cb) {
576
- let resp = new DescribeCdnDomainLogsResponse();
577
- this.request("DescribeCdnDomainLogs", req, resp, cb);
578
- }
579
-
580
- /**
581
- * This API is used to query the submission record and progress of prefetch tasks.
582
- This API is in beta test and not fully available yet. Please stay tuned.
583
- * @param {DescribePushTasksRequest} req
584
- * @param {function(string, DescribePushTasksResponse):void} cb
585
- * @public
586
- */
587
- DescribePushTasks(req, cb) {
588
- let resp = new DescribePushTasksResponse();
589
- this.request("DescribePushTasks", req, resp, cb);
590
- }
591
-
592
- /**
593
- * This API is used to verify an SSL certificate and extract the domain names. It will then return the list of domain names connected to CDN and the list of domain names with the certificate configured.
594
- * @param {DescribeCertDomainsRequest} req
595
- * @param {function(string, DescribeCertDomainsResponse):void} cb
596
- * @public
597
- */
598
- DescribeCertDomains(req, cb) {
599
- let resp = new DescribeCertDomainsResponse();
600
- this.request("DescribeCertDomains", req, resp, cb);
601
- }
602
-
603
- /**
604
- * This API is used to create a log topic. Up to 10 log topics can be created under one logset.
605
- * @param {CreateClsLogTopicRequest} req
606
- * @param {function(string, CreateClsLogTopicResponse):void} cb
607
- * @public
608
- */
609
- CreateClsLogTopic(req, cb) {
610
- let resp = new CreateClsLogTopicResponse();
611
- this.request("CreateClsLogTopic", req, resp, cb);
612
- }
613
-
614
- /**
615
- * This API is used to cache specified URL resources to CDN nodes. You can specify acceleration regions for the prefetch.
616
- By default, a maximum of 1000 URLs can be prefetched per day either within or outside the Chinese mainland, and up to 20 tasks can be submitted at a time. Note that resources prefetched outside the Chinese mainland will be cached to CDN nodes outside the Chinese mainland and the traffic generated will incur costs.
617
- * @param {PushUrlsCacheRequest} req
618
- * @param {function(string, PushUrlsCacheResponse):void} cb
619
- * @public
620
- */
621
- PushUrlsCache(req, cb) {
622
- let resp = new PushUrlsCacheResponse();
623
- this.request("PushUrlsCache", req, resp, cb);
624
- }
625
-
626
49
  /**
627
50
  * This API is used to recreate a failed event log task.
628
51
  * @param {CreateScdnFailedLogTaskRequest} req
@@ -635,136 +58,15 @@ By default, a maximum of 1000 URLs can be prefetched per day either within or ou
635
58
  }
636
59
 
637
60
  /**
638
- * This API is used to stop publishing to a log topic. Note: after a log topic is disabled, all logs of the domain names bound to it will no longer be published to the topic, and the logs that have already been published will be retained. This action will take effect within 5-15 minutes.
639
-
640
- * @param {DisableClsLogTopicRequest} req
641
- * @param {function(string, DisableClsLogTopicResponse):void} cb
642
- * @public
643
- */
644
- DisableClsLogTopic(req, cb) {
645
- let resp = new DisableClsLogTopicResponse();
646
- this.request("DisableClsLogTopic", req, resp, cb);
647
- }
648
-
649
- /**
650
- * This API is used to get the list of domain names bound to a log topic.
651
- * @param {ListClsTopicDomainsRequest} req
652
- * @param {function(string, ListClsTopicDomainsResponse):void} cb
653
- * @public
654
- */
655
- ListClsTopicDomains(req, cb) {
656
- let resp = new ListClsTopicDomainsResponse();
657
- this.request("ListClsTopicDomains", req, resp, cb);
658
- }
659
-
660
- /**
661
- * This API is used to display the list of log topics. Note: a logset can contain up to 10 log topics.
662
- * @param {ListClsLogTopicsRequest} req
663
- * @param {function(string, ListClsLogTopicsResponse):void} cb
664
- * @public
665
- */
666
- ListClsLogTopics(req, cb) {
667
- let resp = new ListClsLogTopicsResponse();
668
- this.request("ListClsLogTopics", req, resp, cb);
669
- }
670
-
671
- /**
672
- * This API is used to query the resource blocking history and the current URL status. (This API is in beta test and not generally available yet.)
673
- * @param {GetDisableRecordsRequest} req
674
- * @param {function(string, GetDisableRecordsResponse):void} cb
675
- * @public
676
- */
677
- GetDisableRecords(req, cb) {
678
- let resp = new GetDisableRecordsResponse();
679
- this.request("GetDisableRecords", req, resp, cb);
680
- }
681
-
682
- /**
683
- * This API is used to delete a log topic. Note: when a log topic is deleted, all logs of the domain names bound to it will no longer be published to the topic, and the logs previously published to the topic will be deleted. This action will take effect within 5-15 minutes.
684
- * @param {DeleteClsLogTopicRequest} req
685
- * @param {function(string, DeleteClsLogTopicResponse):void} cb
686
- * @public
687
- */
688
- DeleteClsLogTopic(req, cb) {
689
- let resp = new DeleteClsLogTopicResponse();
690
- this.request("DeleteClsLogTopic", req, resp, cb);
691
- }
692
-
693
- /**
694
- * This API is used to query the IP information of CDN intermediate nodes. Note: this API will be deactivated soon. Please call `DescribeIpStatus` instead.
695
- * @param {DescribeCdnOriginIpRequest} req
696
- * @param {function(string, DescribeCdnOriginIpResponse):void} cb
697
- * @public
698
- */
699
- DescribeCdnOriginIp(req, cb) {
700
- let resp = new DescribeCdnOriginIpResponse();
701
- this.request("DescribeCdnOriginIp", req, resp, cb);
702
- }
703
-
704
- /**
705
- * This API is used to query billing data details.
706
- * @param {DescribeBillingDataRequest} req
707
- * @param {function(string, DescribeBillingDataResponse):void} cb
708
- * @public
709
- */
710
- DescribeBillingData(req, cb) {
711
- let resp = new DescribeBillingDataResponse();
712
- this.request("DescribeBillingData", req, resp, cb);
713
- }
714
-
715
- /**
716
- * This API is used to query the prefetch quota and daily available usage.
717
- * @param {DescribePushQuotaRequest} req
718
- * @param {function(string, DescribePushQuotaResponse):void} cb
719
- * @public
720
- */
721
- DescribePushQuota(req, cb) {
722
- let resp = new DescribePushQuotaResponse();
723
- this.request("DescribePushQuota", req, resp, cb);
724
- }
725
-
726
- /**
727
- * This API is used to start publishing to a log topic. Note: after a log topic is enabled, all logs of the domain names bound to the topic will be published to it. This action will take effect within 5-15 minutes.
728
- * @param {EnableClsLogTopicRequest} req
729
- * @param {function(string, EnableClsLogTopicResponse):void} cb
730
- * @public
731
- */
732
- EnableClsLogTopic(req, cb) {
733
- let resp = new EnableClsLogTopicResponse();
734
- this.request("EnableClsLogTopic", req, resp, cb);
735
- }
736
-
737
- /**
738
- * This API is used to query the daily/weekly/monthly report data at domain name/project levels.
739
- * @param {DescribeReportDataRequest} req
740
- * @param {function(string, DescribeReportDataResponse):void} cb
741
- * @public
742
- */
743
- DescribeReportData(req, cb) {
744
- let resp = new DescribeReportDataResponse();
745
- this.request("DescribeReportData", req, resp, cb);
746
- }
747
-
748
- /**
749
- * This API is used to modify the billing mode of an account. At present, the billing mode of accounts on a monthly billing cycle and sub-accounts cannot be modified.
750
- * @param {UpdatePayTypeRequest} req
751
- * @param {function(string, UpdatePayTypeResponse):void} cb
752
- * @public
753
- */
754
- UpdatePayType(req, cb) {
755
- let resp = new UpdatePayTypeResponse();
756
- this.request("UpdatePayType", req, resp, cb);
757
- }
758
-
759
- /**
760
- * This API (EnableCaches) is used to unblock manually blocked URLs. After a URL is successfully unblocked, it takes about 5 to 10 minutes to take effect across the entire network. (This API is during beta test and not fully available now.)
761
- * @param {EnableCachesRequest} req
762
- * @param {function(string, EnableCachesResponse):void} cb
61
+ * This API is used to cache specified URL resources to CDN nodes. You can specify acceleration regions for the prefetch.
62
+ By default, a maximum of 1000 URLs can be prefetched per day for regions either within or outside the Chinese mainland, and up to 500 tasks can be submitted at a time. Note that resources prefetched outside the Chinese mainland will be cached to CDN nodes outside the Chinese mainland and the traffic generated will incur costs.
63
+ * @param {PushUrlsCacheRequest} req
64
+ * @param {function(string, PushUrlsCacheResponse):void} cb
763
65
  * @public
764
66
  */
765
- EnableCaches(req, cb) {
766
- let resp = new EnableCachesResponse();
767
- this.request("EnableCaches", req, resp, cb);
67
+ PushUrlsCache(req, cb) {
68
+ let resp = new PushUrlsCacheResponse();
69
+ this.request("PushUrlsCache", req, resp, cb);
768
70
  }
769
71
 
770
72