@volcengine/cdn 1.0.1 → 1.0.2

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 (210) hide show
  1. package/package.json +6 -2
  2. package/.turbo/turbo-build.log +0 -19
  3. package/dist/tsconfig.tsbuildinfo +0 -1
  4. package/rslib.config.ts +0 -26
  5. package/src/api.ts +0 -495
  6. package/src/index.ts +0 -14
  7. package/src/types/access-action-for-describe-cdn-config-output.ts +0 -46
  8. package/src/types/actions-for-describe-cdn-config-output.ts +0 -29
  9. package/src/types/add-resource-tags-request.ts +0 -35
  10. package/src/types/add-resource-tags-response.ts +0 -22
  11. package/src/types/area-access-rule-for-describe-cdn-config-output.ts +0 -40
  12. package/src/types/auth-mode-config-for-describe-cdn-config-output.ts +0 -52
  13. package/src/types/auth-response-config-for-describe-cdn-config-output.ts +0 -50
  14. package/src/types/bandwidth-limit-action-for-describe-cdn-config-output.ts +0 -46
  15. package/src/types/bandwidth-limit-for-describe-cdn-config-output.ts +0 -35
  16. package/src/types/bandwidth-limit-rule-for-describe-cdn-config-output.ts +0 -36
  17. package/src/types/block-action-for-describe-cdn-config-output.ts +0 -46
  18. package/src/types/block-rule-for-describe-cdn-config-output.ts +0 -42
  19. package/src/types/browser-cache-for-describe-cdn-config-output.ts +0 -36
  20. package/src/types/cache-action-for-describe-cdn-config-output.ts +0 -46
  21. package/src/types/cache-for-describe-cdn-config-output.ts +0 -36
  22. package/src/types/cache-host-action-for-describe-cdn-config-output.ts +0 -28
  23. package/src/types/cache-host-for-describe-cdn-config-output.ts +0 -35
  24. package/src/types/cache-host-rule-for-describe-cdn-config-output.ts +0 -36
  25. package/src/types/cache-key-action-for-describe-cdn-config-output.ts +0 -29
  26. package/src/types/cache-key-component-for-describe-cdn-config-output.ts +0 -46
  27. package/src/types/cache-key-for-describe-cdn-config-output.ts +0 -36
  28. package/src/types/cert-check-for-describe-cdn-config-output.ts +0 -35
  29. package/src/types/cert-info-for-describe-cdn-config-output.ts +0 -71
  30. package/src/types/cert-info-list-for-describe-cdn-config-output.ts +0 -71
  31. package/src/types/cert-not-config-for-describe-cert-config-output.ts +0 -47
  32. package/src/types/certificate-for-describe-cdn-config-output.ts +0 -46
  33. package/src/types/common-type-for-describe-cdn-config-output.ts +0 -40
  34. package/src/types/compression-action-for-describe-cdn-config-output.ts +0 -52
  35. package/src/types/compression-for-describe-cdn-config-output.ts +0 -35
  36. package/src/types/compression-rule-for-describe-cdn-config-output.ts +0 -36
  37. package/src/types/condition-for-describe-cdn-config-output.ts +0 -35
  38. package/src/types/condition-group-for-describe-cdn-config-output.ts +0 -35
  39. package/src/types/condition-rule-for-describe-cdn-config-output.ts +0 -52
  40. package/src/types/conditional-origin-for-describe-cdn-config-output.ts +0 -35
  41. package/src/types/convert-cache-action-for-describe-cdn-config-output.ts +0 -46
  42. package/src/types/convert-condition-for-describe-cdn-config-output.ts +0 -40
  43. package/src/types/convert-convert-condition-for-describe-cdn-config-output.ts +0 -41
  44. package/src/types/convert-origin-line-for-describe-cdn-config-output.ts +0 -89
  45. package/src/types/convert-timeout-action-for-describe-cdn-config-output.ts +0 -34
  46. package/src/types/custom-error-page-for-describe-cdn-config-output.ts +0 -35
  47. package/src/types/custom-variable-instance-for-describe-cdn-config-output.ts +0 -40
  48. package/src/types/custom-variable-rules-for-describe-cdn-config-output.ts +0 -29
  49. package/src/types/customize-access-rule-for-describe-cdn-config-output.ts +0 -35
  50. package/src/types/customize-instance-for-describe-cdn-config-output.ts +0 -29
  51. package/src/types/customize-rule-for-describe-cdn-config-output.ts +0 -36
  52. package/src/types/delete-cdn-certificate-request.ts +0 -28
  53. package/src/types/delete-cdn-certificate-response.ts +0 -22
  54. package/src/types/delete-cdn-domain-request.ts +0 -28
  55. package/src/types/delete-cdn-domain-response.ts +0 -22
  56. package/src/types/delete-resource-tags-request.ts +0 -35
  57. package/src/types/delete-resource-tags-response.ts +0 -22
  58. package/src/types/delete-usage-report-request.ts +0 -28
  59. package/src/types/delete-usage-report-response.ts +0 -28
  60. package/src/types/describe-cdn-access-log-request.ts +0 -58
  61. package/src/types/describe-cdn-access-log-response.ts +0 -53
  62. package/src/types/describe-cdn-config-request.ts +0 -34
  63. package/src/types/describe-cdn-config-response.ts +0 -43
  64. package/src/types/describe-cdn-iprequest.ts +0 -28
  65. package/src/types/describe-cdn-ipresponse.ts +0 -29
  66. package/src/types/describe-cdn-region-and-isp-request.ts +0 -34
  67. package/src/types/describe-cdn-region-and-isp-response.ts +0 -36
  68. package/src/types/describe-cdn-service-request.ts +0 -22
  69. package/src/types/describe-cdn-service-response.ts +0 -29
  70. package/src/types/describe-cert-config-request.ts +0 -58
  71. package/src/types/describe-cert-config-response.ts +0 -43
  72. package/src/types/describe-district-ranking-request.ts +0 -64
  73. package/src/types/describe-district-ranking-response.ts +0 -35
  74. package/src/types/describe-edge-ranking-request.ts +0 -70
  75. package/src/types/describe-edge-ranking-response.ts +0 -35
  76. package/src/types/describe-edge-status-code-ranking-request.ts +0 -64
  77. package/src/types/describe-edge-status-code-ranking-response.ts +0 -41
  78. package/src/types/describe-origin-data-request.ts +0 -58
  79. package/src/types/describe-origin-data-response.ts +0 -29
  80. package/src/types/describe-origin-ranking-request.ts +0 -64
  81. package/src/types/describe-origin-ranking-response.ts +0 -35
  82. package/src/types/describe-origin-status-code-ranking-request.ts +0 -64
  83. package/src/types/describe-origin-status-code-ranking-response.ts +0 -41
  84. package/src/types/describe-statistical-ranking-request.ts +0 -64
  85. package/src/types/describe-statistical-ranking-response.ts +0 -47
  86. package/src/types/describe-user-data-request.ts +0 -64
  87. package/src/types/describe-user-data-response.ts +0 -29
  88. package/src/types/domain-config-for-describe-cdn-config-output.ts +0 -406
  89. package/src/types/domain-lock-for-describe-cert-config-output.ts +0 -34
  90. package/src/types/domain-log-detail-for-describe-cdn-access-log-output.ts +0 -52
  91. package/src/types/download-speed-limit-action-for-describe-cdn-config-output.ts +0 -41
  92. package/src/types/download-speed-limit-for-describe-cdn-config-output.ts +0 -35
  93. package/src/types/download-speed-limit-rule-for-describe-cdn-config-output.ts +0 -36
  94. package/src/types/error-page-action-for-describe-cdn-config-output.ts +0 -46
  95. package/src/types/error-page-rule-for-describe-cdn-config-output.ts +0 -29
  96. package/src/types/exp-time-cap-rule-for-describe-cdn-config-output.ts +0 -40
  97. package/src/types/feature-config-for-describe-cdn-config-output.ts +0 -34
  98. package/src/types/forced-redirect-for-describe-cdn-config-output.ts +0 -34
  99. package/src/types/hsts-for-describe-cdn-config-output.ts +0 -40
  100. package/src/types/http-forced-redirect-for-describe-cdn-config-output.ts +0 -34
  101. package/src/types/httpsfor-describe-cdn-config-output.ts +0 -87
  102. package/src/types/index.ts +0 -202
  103. package/src/types/ip-access-rule-for-describe-cdn-config-output.ts +0 -47
  104. package/src/types/ip-freq-limit-action-for-describe-cdn-config-output.ts +0 -40
  105. package/src/types/ip-freq-limit-for-describe-cdn-config-output.ts +0 -35
  106. package/src/types/ip-freq-limit-rule-for-describe-cdn-config-output.ts +0 -36
  107. package/src/types/ip-speed-limit-action-for-describe-cdn-config-output.ts +0 -28
  108. package/src/types/ip-speed-limit-for-describe-cdn-config-output.ts +0 -35
  109. package/src/types/ip-speed-limit-rule-for-describe-cdn-config-output.ts +0 -36
  110. package/src/types/ipfor-describe-cdn-ipoutput.ts +0 -46
  111. package/src/types/ipv6-for-describe-cdn-config-output.ts +0 -28
  112. package/src/types/isp-for-describe-cdn-region-and-isp-output.ts +0 -34
  113. package/src/types/list-resource-tags-request.ts +0 -22
  114. package/src/types/list-resource-tags-response.ts +0 -36
  115. package/src/types/list-usage-reports-request.ts +0 -52
  116. package/src/types/list-usage-reports-response.ts +0 -47
  117. package/src/types/method-denied-rule-for-describe-cdn-config-output.ts +0 -34
  118. package/src/types/metric-data-list-for-describe-origin-data-output.ts +0 -35
  119. package/src/types/metric-data-list-for-describe-user-data-output.ts +0 -40
  120. package/src/types/module-lock-config-for-describe-cdn-config-output.ts +0 -172
  121. package/src/types/multi-range-for-describe-cdn-config-output.ts +0 -28
  122. package/src/types/negative-cache-for-describe-cdn-config-output.ts +0 -36
  123. package/src/types/negative-cache-rule-for-describe-cdn-config-output.ts +0 -46
  124. package/src/types/offline-cache-for-describe-cdn-config-output.ts +0 -40
  125. package/src/types/origin-access-rule-for-describe-cdn-config-output.ts +0 -52
  126. package/src/types/origin-action-for-describe-cdn-config-output.ts +0 -29
  127. package/src/types/origin-arg-action-for-describe-cdn-config-output.ts +0 -29
  128. package/src/types/origin-arg-component-for-describe-cdn-config-output.ts +0 -40
  129. package/src/types/origin-arg-for-describe-cdn-config-output.ts +0 -36
  130. package/src/types/origin-cert-check-for-describe-cdn-config-output.ts +0 -35
  131. package/src/types/origin-for-describe-cdn-config-output.ts +0 -36
  132. package/src/types/origin-line-for-describe-cdn-config-output.ts +0 -52
  133. package/src/types/origin-retry-for-describe-cdn-config-output.ts +0 -34
  134. package/src/types/origin-rewrite-action-for-describe-cdn-config-output.ts +0 -40
  135. package/src/types/origin-rewrite-for-describe-cdn-config-output.ts +0 -35
  136. package/src/types/origin-rewrite-rule-for-describe-cdn-config-output.ts +0 -36
  137. package/src/types/origin-rule-for-describe-cdn-config-output.ts +0 -36
  138. package/src/types/origin-sni-for-describe-cdn-config-output.ts +0 -34
  139. package/src/types/other-cert-config-for-describe-cert-config-output.ts +0 -53
  140. package/src/types/page-optimization-for-describe-cdn-config-output.ts +0 -34
  141. package/src/types/private-bucket-auth-for-describe-cdn-config-output.ts +0 -41
  142. package/src/types/query-string-components-for-describe-cdn-config-output.ts +0 -34
  143. package/src/types/query-string-instance-for-describe-cdn-config-output.ts +0 -46
  144. package/src/types/query-string-rules-for-describe-cdn-config-output.ts +0 -36
  145. package/src/types/quic-for-describe-cdn-config-output.ts +0 -28
  146. package/src/types/ranking-data-list-for-describe-statistical-ranking-output.ts +0 -40
  147. package/src/types/redirection-action-for-describe-cdn-config-output.ts +0 -59
  148. package/src/types/redirection-rewrite-for-describe-cdn-config-output.ts +0 -35
  149. package/src/types/redirection-rule-for-describe-cdn-config-output.ts +0 -29
  150. package/src/types/referer-access-rule-for-describe-cdn-config-output.ts +0 -60
  151. package/src/types/referers-type-for-describe-cdn-config-output.ts +0 -36
  152. package/src/types/region-for-describe-cdn-region-and-isp-output.ts +0 -34
  153. package/src/types/regular-type-for-describe-cdn-config-output.ts +0 -28
  154. package/src/types/remote-auth-for-describe-cdn-config-output.ts +0 -35
  155. package/src/types/remote-auth-rule-action-for-describe-cdn-config-output.ts +0 -56
  156. package/src/types/remote-auth-rule-for-describe-cdn-config-output.ts +0 -36
  157. package/src/types/request-block-rule-for-describe-cdn-config-output.ts +0 -35
  158. package/src/types/request-header-action-for-describe-cdn-config-output.ts +0 -29
  159. package/src/types/request-header-components-for-describe-cdn-config-output.ts +0 -34
  160. package/src/types/request-header-for-describe-cdn-config-output.ts +0 -36
  161. package/src/types/request-header-instance-for-describe-cdn-config-output.ts +0 -46
  162. package/src/types/request-header-rules-for-describe-cdn-config-output.ts +0 -42
  163. package/src/types/resource-tag-for-add-resource-tags-input.ts +0 -34
  164. package/src/types/resource-tag-for-delete-resource-tags-input.ts +0 -34
  165. package/src/types/resource-tag-for-list-resource-tags-output.ts +0 -34
  166. package/src/types/resource-tag-for-update-resource-tags-input.ts +0 -34
  167. package/src/types/response-action-for-describe-cdn-config-output.ts +0 -28
  168. package/src/types/response-header-action-for-describe-cdn-config-output.ts +0 -29
  169. package/src/types/response-header-for-describe-cdn-config-output.ts +0 -36
  170. package/src/types/response-header-instance-for-describe-cdn-config-output.ts +0 -52
  171. package/src/types/rewrite-hlsfor-describe-cdn-config-output.ts +0 -34
  172. package/src/types/rewrite-m3u8-rule-for-describe-cdn-config-output.ts +0 -40
  173. package/src/types/service-info-for-describe-cdn-service-output.ts +0 -100
  174. package/src/types/shared-config-for-describe-cdn-config-output.ts +0 -28
  175. package/src/types/sign-cap-rule-for-describe-cdn-config-output.ts +0 -40
  176. package/src/types/sign-param-for-describe-cdn-config-output.ts +0 -54
  177. package/src/types/signed-url-auth-action-for-describe-cdn-config-output.ts +0 -121
  178. package/src/types/signed-url-auth-for-describe-cdn-config-output.ts +0 -35
  179. package/src/types/signed-url-auth-rule-for-describe-cdn-config-output.ts +0 -36
  180. package/src/types/specified-cert-config-for-describe-cert-config-output.ts +0 -53
  181. package/src/types/speed-limit-time-for-describe-cdn-config-output.ts +0 -40
  182. package/src/types/start-cdn-domain-request.ts +0 -28
  183. package/src/types/start-cdn-domain-response.ts +0 -22
  184. package/src/types/status-code-action-for-describe-cdn-config-output.ts +0 -40
  185. package/src/types/stop-cdn-domain-request.ts +0 -28
  186. package/src/types/stop-cdn-domain-response.ts +0 -22
  187. package/src/types/system-tag-for-list-resource-tags-output.ts +0 -34
  188. package/src/types/target-query-components-for-describe-cdn-config-output.ts +0 -34
  189. package/src/types/time-out-action-for-describe-cdn-config-output.ts +0 -34
  190. package/src/types/timeout-for-describe-cdn-config-output.ts +0 -35
  191. package/src/types/timeout-rule-for-describe-cdn-config-output.ts +0 -36
  192. package/src/types/top-data-detail-for-describe-district-ranking-output.ts +0 -35
  193. package/src/types/top-data-detail-for-describe-edge-ranking-output.ts +0 -35
  194. package/src/types/top-data-detail-for-describe-edge-status-code-ranking-output.ts +0 -76
  195. package/src/types/top-data-detail-for-describe-origin-ranking-output.ts +0 -35
  196. package/src/types/top-data-detail-for-describe-origin-status-code-ranking-output.ts +0 -76
  197. package/src/types/tos-auth-information-for-describe-cdn-config-output.ts +0 -40
  198. package/src/types/ua-access-rule-for-describe-cdn-config-output.ts +0 -52
  199. package/src/types/update-resource-tags-request.ts +0 -35
  200. package/src/types/update-resource-tags-response.ts +0 -22
  201. package/src/types/uri-param-sup-for-describe-cdn-config-output.ts +0 -46
  202. package/src/types/url-auth-custom-action-for-describe-cdn-config-output.ts +0 -55
  203. package/src/types/url-normalize-for-describe-cdn-config-output.ts +0 -34
  204. package/src/types/usage-reports-detail-for-list-usage-reports-output.ts +0 -106
  205. package/src/types/value-detail-for-describe-district-ranking-output.ts +0 -46
  206. package/src/types/value-detail-for-describe-edge-ranking-output.ts +0 -46
  207. package/src/types/value-detail-for-describe-origin-ranking-output.ts +0 -46
  208. package/src/types/value-for-describe-origin-data-output.ts +0 -40
  209. package/src/types/video-drag-for-describe-cdn-config-output.ts +0 -28
  210. package/tsconfig.json +0 -12
package/src/api.ts DELETED
@@ -1,495 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * cdn
5
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
- *
7
- * OpenAPI spec version: common-version
8
- *
9
- *
10
- * NOTE: This class is auto generated by the swagger code generator program.
11
- * https://github.com/swagger-api/swagger-codegen.git
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { Client, ClientConfig, Command, buildRequestConfigFromMetaPath, CommandOutput } from '@volcengine/sdk-core';
16
-
17
- import { AddResourceTagsRequest } from './types/index';
18
- import { AddResourceTagsResponse } from './types/index';
19
- import { DeleteCdnCertificateRequest } from './types/index';
20
- import { DeleteCdnCertificateResponse } from './types/index';
21
- import { DeleteCdnDomainRequest } from './types/index';
22
- import { DeleteCdnDomainResponse } from './types/index';
23
- import { DeleteResourceTagsRequest } from './types/index';
24
- import { DeleteResourceTagsResponse } from './types/index';
25
- import { DeleteUsageReportRequest } from './types/index';
26
- import { DeleteUsageReportResponse } from './types/index';
27
- import { DescribeCdnAccessLogRequest } from './types/index';
28
- import { DescribeCdnAccessLogResponse } from './types/index';
29
- import { DescribeCdnConfigRequest } from './types/index';
30
- import { DescribeCdnConfigResponse } from './types/index';
31
- import { DescribeCdnIPRequest } from './types/index';
32
- import { DescribeCdnIPResponse } from './types/index';
33
- import { DescribeCdnRegionAndIspRequest } from './types/index';
34
- import { DescribeCdnRegionAndIspResponse } from './types/index';
35
- import { DescribeCdnServiceRequest } from './types/index';
36
- import { DescribeCdnServiceResponse } from './types/index';
37
- import { DescribeCertConfigRequest } from './types/index';
38
- import { DescribeCertConfigResponse } from './types/index';
39
- import { DescribeDistrictRankingRequest } from './types/index';
40
- import { DescribeDistrictRankingResponse } from './types/index';
41
- import { DescribeEdgeRankingRequest } from './types/index';
42
- import { DescribeEdgeRankingResponse } from './types/index';
43
- import { DescribeEdgeStatusCodeRankingRequest } from './types/index';
44
- import { DescribeEdgeStatusCodeRankingResponse } from './types/index';
45
- import { DescribeOriginDataRequest } from './types/index';
46
- import { DescribeOriginDataResponse } from './types/index';
47
- import { DescribeOriginRankingRequest } from './types/index';
48
- import { DescribeOriginRankingResponse } from './types/index';
49
- import { DescribeOriginStatusCodeRankingRequest } from './types/index';
50
- import { DescribeOriginStatusCodeRankingResponse } from './types/index';
51
- import { DescribeStatisticalRankingRequest } from './types/index';
52
- import { DescribeStatisticalRankingResponse } from './types/index';
53
- import { DescribeUserDataRequest } from './types/index';
54
- import { DescribeUserDataResponse } from './types/index';
55
- import { ListResourceTagsRequest } from './types/index';
56
- import { ListResourceTagsResponse } from './types/index';
57
- import { ListUsageReportsRequest } from './types/index';
58
- import { ListUsageReportsResponse } from './types/index';
59
- import { StartCdnDomainRequest } from './types/index';
60
- import { StartCdnDomainResponse } from './types/index';
61
- import { StopCdnDomainRequest } from './types/index';
62
- import { StopCdnDomainResponse } from './types/index';
63
- import { UpdateResourceTagsRequest } from './types/index';
64
- import { UpdateResourceTagsResponse } from './types/index';
65
-
66
- // ============================================================================
67
- // Output Type Definitions
68
- // ============================================================================
69
- export type AddResourceTagsCommandOutput = CommandOutput<AddResourceTagsResponse>;
70
- export type DeleteCdnCertificateCommandOutput = CommandOutput<DeleteCdnCertificateResponse>;
71
- export type DeleteCdnDomainCommandOutput = CommandOutput<DeleteCdnDomainResponse>;
72
- export type DeleteResourceTagsCommandOutput = CommandOutput<DeleteResourceTagsResponse>;
73
- export type DeleteUsageReportCommandOutput = CommandOutput<DeleteUsageReportResponse>;
74
- export type DescribeCdnAccessLogCommandOutput = CommandOutput<DescribeCdnAccessLogResponse>;
75
- export type DescribeCdnConfigCommandOutput = CommandOutput<DescribeCdnConfigResponse>;
76
- export type DescribeCdnIPCommandOutput = CommandOutput<DescribeCdnIPResponse>;
77
- export type DescribeCdnRegionAndIspCommandOutput = CommandOutput<DescribeCdnRegionAndIspResponse>;
78
- export type DescribeCdnServiceCommandOutput = CommandOutput<DescribeCdnServiceResponse>;
79
- export type DescribeCertConfigCommandOutput = CommandOutput<DescribeCertConfigResponse>;
80
- export type DescribeDistrictRankingCommandOutput = CommandOutput<DescribeDistrictRankingResponse>;
81
- export type DescribeEdgeRankingCommandOutput = CommandOutput<DescribeEdgeRankingResponse>;
82
- export type DescribeEdgeStatusCodeRankingCommandOutput = CommandOutput<DescribeEdgeStatusCodeRankingResponse>;
83
- export type DescribeOriginDataCommandOutput = CommandOutput<DescribeOriginDataResponse>;
84
- export type DescribeOriginRankingCommandOutput = CommandOutput<DescribeOriginRankingResponse>;
85
- export type DescribeOriginStatusCodeRankingCommandOutput = CommandOutput<DescribeOriginStatusCodeRankingResponse>;
86
- export type DescribeStatisticalRankingCommandOutput = CommandOutput<DescribeStatisticalRankingResponse>;
87
- export type DescribeUserDataCommandOutput = CommandOutput<DescribeUserDataResponse>;
88
- export type ListResourceTagsCommandOutput = CommandOutput<ListResourceTagsResponse>;
89
- export type ListUsageReportsCommandOutput = CommandOutput<ListUsageReportsResponse>;
90
- export type StartCdnDomainCommandOutput = CommandOutput<StartCdnDomainResponse>;
91
- export type StopCdnDomainCommandOutput = CommandOutput<StopCdnDomainResponse>;
92
- export type UpdateResourceTagsCommandOutput = CommandOutput<UpdateResourceTagsResponse>;
93
-
94
-
95
- /**
96
- * CDNClient Service Client
97
- */
98
- export class CDNClient extends Client {
99
- constructor(config: ClientConfig = {}) {
100
- super({
101
- protocol: 'https',
102
- region: 'cn-beijing',
103
- ...config,
104
- });
105
- }
106
- }
107
-
108
- /**
109
- * Command to AddResourceTags
110
- */
111
- export class AddResourceTagsCommand extends Command<
112
- AddResourceTagsRequest,
113
- AddResourceTagsCommandOutput,
114
- 'AddResourceTagsCommand'
115
- > {
116
- static readonly metaPath = '/AddResourceTags/2021-03-01/cdn/post/application_json/';
117
-
118
- constructor(input: AddResourceTagsRequest) {
119
- super(input);
120
- this.requestConfig = buildRequestConfigFromMetaPath(AddResourceTagsCommand.metaPath);
121
- }
122
- }
123
- /**
124
- * Command to DeleteCdnCertificate
125
- */
126
- export class DeleteCdnCertificateCommand extends Command<
127
- DeleteCdnCertificateRequest,
128
- DeleteCdnCertificateCommandOutput,
129
- 'DeleteCdnCertificateCommand'
130
- > {
131
- static readonly metaPath = '/DeleteCdnCertificate/2021-03-01/cdn/post/application_json/';
132
-
133
- constructor(input: DeleteCdnCertificateRequest) {
134
- super(input);
135
- this.requestConfig = buildRequestConfigFromMetaPath(DeleteCdnCertificateCommand.metaPath);
136
- }
137
- }
138
- /**
139
- * Command to DeleteCdnDomain
140
- */
141
- export class DeleteCdnDomainCommand extends Command<
142
- DeleteCdnDomainRequest,
143
- DeleteCdnDomainCommandOutput,
144
- 'DeleteCdnDomainCommand'
145
- > {
146
- static readonly metaPath = '/DeleteCdnDomain/2021-03-01/cdn/post/application_json/';
147
-
148
- constructor(input: DeleteCdnDomainRequest) {
149
- super(input);
150
- this.requestConfig = buildRequestConfigFromMetaPath(DeleteCdnDomainCommand.metaPath);
151
- }
152
- }
153
- /**
154
- * Command to DeleteResourceTags
155
- */
156
- export class DeleteResourceTagsCommand extends Command<
157
- DeleteResourceTagsRequest,
158
- DeleteResourceTagsCommandOutput,
159
- 'DeleteResourceTagsCommand'
160
- > {
161
- static readonly metaPath = '/DeleteResourceTags/2021-03-01/cdn/post/application_json/';
162
-
163
- constructor(input: DeleteResourceTagsRequest) {
164
- super(input);
165
- this.requestConfig = buildRequestConfigFromMetaPath(DeleteResourceTagsCommand.metaPath);
166
- }
167
- }
168
- /**
169
- * Command to DeleteUsageReport
170
- */
171
- export class DeleteUsageReportCommand extends Command<
172
- DeleteUsageReportRequest,
173
- DeleteUsageReportCommandOutput,
174
- 'DeleteUsageReportCommand'
175
- > {
176
- static readonly metaPath = '/DeleteUsageReport/2021-03-01/cdn/post/application_json/';
177
-
178
- constructor(input: DeleteUsageReportRequest) {
179
- super(input);
180
- this.requestConfig = buildRequestConfigFromMetaPath(DeleteUsageReportCommand.metaPath);
181
- }
182
- }
183
- /**
184
- * Command to DescribeCdnAccessLog
185
- */
186
- export class DescribeCdnAccessLogCommand extends Command<
187
- DescribeCdnAccessLogRequest,
188
- DescribeCdnAccessLogCommandOutput,
189
- 'DescribeCdnAccessLogCommand'
190
- > {
191
- static readonly metaPath = '/DescribeCdnAccessLog/2021-03-01/cdn/post/application_json/';
192
-
193
- constructor(input: DescribeCdnAccessLogRequest) {
194
- super(input);
195
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnAccessLogCommand.metaPath);
196
- }
197
- }
198
- /**
199
- * Command to DescribeCdnConfig
200
- */
201
- export class DescribeCdnConfigCommand extends Command<
202
- DescribeCdnConfigRequest,
203
- DescribeCdnConfigCommandOutput,
204
- 'DescribeCdnConfigCommand'
205
- > {
206
- static readonly metaPath = '/DescribeCdnConfig/2021-03-01/cdn/post/application_json/';
207
-
208
- constructor(input: DescribeCdnConfigRequest) {
209
- super(input);
210
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnConfigCommand.metaPath);
211
- }
212
- }
213
- /**
214
- * Command to DescribeCdnIP
215
- */
216
- export class DescribeCdnIPCommand extends Command<
217
- DescribeCdnIPRequest,
218
- DescribeCdnIPCommandOutput,
219
- 'DescribeCdnIPCommand'
220
- > {
221
- static readonly metaPath = '/DescribeCdnIP/2021-03-01/cdn/post/application_json/';
222
-
223
- constructor(input: DescribeCdnIPRequest) {
224
- super(input);
225
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnIPCommand.metaPath);
226
- }
227
- }
228
- /**
229
- * Command to DescribeCdnRegionAndIsp
230
- */
231
- export class DescribeCdnRegionAndIspCommand extends Command<
232
- DescribeCdnRegionAndIspRequest,
233
- DescribeCdnRegionAndIspCommandOutput,
234
- 'DescribeCdnRegionAndIspCommand'
235
- > {
236
- static readonly metaPath = '/DescribeCdnRegionAndIsp/2021-03-01/cdn/post/application_json/';
237
-
238
- constructor(input: DescribeCdnRegionAndIspRequest) {
239
- super(input);
240
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnRegionAndIspCommand.metaPath);
241
- }
242
- }
243
- /**
244
- * Command to DescribeCdnService
245
- */
246
- export class DescribeCdnServiceCommand extends Command<
247
- DescribeCdnServiceRequest,
248
- DescribeCdnServiceCommandOutput,
249
- 'DescribeCdnServiceCommand'
250
- > {
251
- static readonly metaPath = '/DescribeCdnService/2021-03-01/cdn/post/application_json/';
252
-
253
- constructor(input: DescribeCdnServiceRequest) {
254
- super(input);
255
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnServiceCommand.metaPath);
256
- }
257
- }
258
- /**
259
- * Command to DescribeCertConfig
260
- */
261
- export class DescribeCertConfigCommand extends Command<
262
- DescribeCertConfigRequest,
263
- DescribeCertConfigCommandOutput,
264
- 'DescribeCertConfigCommand'
265
- > {
266
- static readonly metaPath = '/DescribeCertConfig/2021-03-01/cdn/post/application_json/';
267
-
268
- constructor(input: DescribeCertConfigRequest) {
269
- super(input);
270
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeCertConfigCommand.metaPath);
271
- }
272
- }
273
- /**
274
- * Command to DescribeDistrictRanking
275
- */
276
- export class DescribeDistrictRankingCommand extends Command<
277
- DescribeDistrictRankingRequest,
278
- DescribeDistrictRankingCommandOutput,
279
- 'DescribeDistrictRankingCommand'
280
- > {
281
- static readonly metaPath = '/DescribeDistrictRanking/2021-03-01/cdn/post/application_json/';
282
-
283
- constructor(input: DescribeDistrictRankingRequest) {
284
- super(input);
285
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeDistrictRankingCommand.metaPath);
286
- }
287
- }
288
- /**
289
- * Command to DescribeEdgeRanking
290
- */
291
- export class DescribeEdgeRankingCommand extends Command<
292
- DescribeEdgeRankingRequest,
293
- DescribeEdgeRankingCommandOutput,
294
- 'DescribeEdgeRankingCommand'
295
- > {
296
- static readonly metaPath = '/DescribeEdgeRanking/2021-03-01/cdn/post/application_json/';
297
-
298
- constructor(input: DescribeEdgeRankingRequest) {
299
- super(input);
300
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeEdgeRankingCommand.metaPath);
301
- }
302
- }
303
- /**
304
- * Command to DescribeEdgeStatusCodeRanking
305
- */
306
- export class DescribeEdgeStatusCodeRankingCommand extends Command<
307
- DescribeEdgeStatusCodeRankingRequest,
308
- DescribeEdgeStatusCodeRankingCommandOutput,
309
- 'DescribeEdgeStatusCodeRankingCommand'
310
- > {
311
- static readonly metaPath = '/DescribeEdgeStatusCodeRanking/2021-03-01/cdn/post/application_json/';
312
-
313
- constructor(input: DescribeEdgeStatusCodeRankingRequest) {
314
- super(input);
315
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeEdgeStatusCodeRankingCommand.metaPath);
316
- }
317
- }
318
- /**
319
- * Command to DescribeOriginData
320
- */
321
- export class DescribeOriginDataCommand extends Command<
322
- DescribeOriginDataRequest,
323
- DescribeOriginDataCommandOutput,
324
- 'DescribeOriginDataCommand'
325
- > {
326
- static readonly metaPath = '/DescribeOriginData/2021-03-01/cdn/post/application_json/';
327
-
328
- constructor(input: DescribeOriginDataRequest) {
329
- super(input);
330
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeOriginDataCommand.metaPath);
331
- }
332
- }
333
- /**
334
- * Command to DescribeOriginRanking
335
- */
336
- export class DescribeOriginRankingCommand extends Command<
337
- DescribeOriginRankingRequest,
338
- DescribeOriginRankingCommandOutput,
339
- 'DescribeOriginRankingCommand'
340
- > {
341
- static readonly metaPath = '/DescribeOriginRanking/2021-03-01/cdn/post/application_json/';
342
-
343
- constructor(input: DescribeOriginRankingRequest) {
344
- super(input);
345
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeOriginRankingCommand.metaPath);
346
- }
347
- }
348
- /**
349
- * Command to DescribeOriginStatusCodeRanking
350
- */
351
- export class DescribeOriginStatusCodeRankingCommand extends Command<
352
- DescribeOriginStatusCodeRankingRequest,
353
- DescribeOriginStatusCodeRankingCommandOutput,
354
- 'DescribeOriginStatusCodeRankingCommand'
355
- > {
356
- static readonly metaPath = '/DescribeOriginStatusCodeRanking/2021-03-01/cdn/post/application_json/';
357
-
358
- constructor(input: DescribeOriginStatusCodeRankingRequest) {
359
- super(input);
360
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeOriginStatusCodeRankingCommand.metaPath);
361
- }
362
- }
363
- /**
364
- * Command to DescribeStatisticalRanking
365
- */
366
- export class DescribeStatisticalRankingCommand extends Command<
367
- DescribeStatisticalRankingRequest,
368
- DescribeStatisticalRankingCommandOutput,
369
- 'DescribeStatisticalRankingCommand'
370
- > {
371
- static readonly metaPath = '/DescribeStatisticalRanking/2021-03-01/cdn/post/application_json/';
372
-
373
- constructor(input: DescribeStatisticalRankingRequest) {
374
- super(input);
375
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeStatisticalRankingCommand.metaPath);
376
- }
377
- }
378
- /**
379
- * Command to DescribeUserData
380
- */
381
- export class DescribeUserDataCommand extends Command<
382
- DescribeUserDataRequest,
383
- DescribeUserDataCommandOutput,
384
- 'DescribeUserDataCommand'
385
- > {
386
- static readonly metaPath = '/DescribeUserData/2021-03-01/cdn/post/application_json/';
387
-
388
- constructor(input: DescribeUserDataRequest) {
389
- super(input);
390
- this.requestConfig = buildRequestConfigFromMetaPath(DescribeUserDataCommand.metaPath);
391
- }
392
- }
393
- /**
394
- * Command to ListResourceTags
395
- */
396
- export class ListResourceTagsCommand extends Command<
397
- ListResourceTagsRequest,
398
- ListResourceTagsCommandOutput,
399
- 'ListResourceTagsCommand'
400
- > {
401
- static readonly metaPath = '/ListResourceTags/2021-03-01/cdn/post/application_json/';
402
-
403
- constructor(input: ListResourceTagsRequest) {
404
- super(input);
405
- this.requestConfig = buildRequestConfigFromMetaPath(ListResourceTagsCommand.metaPath);
406
- }
407
- }
408
- /**
409
- * Command to ListUsageReports
410
- */
411
- export class ListUsageReportsCommand extends Command<
412
- ListUsageReportsRequest,
413
- ListUsageReportsCommandOutput,
414
- 'ListUsageReportsCommand'
415
- > {
416
- static readonly metaPath = '/ListUsageReports/2021-03-01/cdn/post/application_json/';
417
-
418
- constructor(input: ListUsageReportsRequest) {
419
- super(input);
420
- this.requestConfig = buildRequestConfigFromMetaPath(ListUsageReportsCommand.metaPath);
421
- }
422
- }
423
- /**
424
- * Command to StartCdnDomain
425
- */
426
- export class StartCdnDomainCommand extends Command<
427
- StartCdnDomainRequest,
428
- StartCdnDomainCommandOutput,
429
- 'StartCdnDomainCommand'
430
- > {
431
- static readonly metaPath = '/StartCdnDomain/2021-03-01/cdn/post/application_json/';
432
-
433
- constructor(input: StartCdnDomainRequest) {
434
- super(input);
435
- this.requestConfig = buildRequestConfigFromMetaPath(StartCdnDomainCommand.metaPath);
436
- }
437
- }
438
- /**
439
- * Command to StopCdnDomain
440
- */
441
- export class StopCdnDomainCommand extends Command<
442
- StopCdnDomainRequest,
443
- StopCdnDomainCommandOutput,
444
- 'StopCdnDomainCommand'
445
- > {
446
- static readonly metaPath = '/StopCdnDomain/2021-03-01/cdn/post/application_json/';
447
-
448
- constructor(input: StopCdnDomainRequest) {
449
- super(input);
450
- this.requestConfig = buildRequestConfigFromMetaPath(StopCdnDomainCommand.metaPath);
451
- }
452
- }
453
- /**
454
- * Command to UpdateResourceTags
455
- */
456
- export class UpdateResourceTagsCommand extends Command<
457
- UpdateResourceTagsRequest,
458
- UpdateResourceTagsCommandOutput,
459
- 'UpdateResourceTagsCommand'
460
- > {
461
- static readonly metaPath = '/UpdateResourceTags/2021-03-01/cdn/post/application_json/';
462
-
463
- constructor(input: UpdateResourceTagsRequest) {
464
- super(input);
465
- this.requestConfig = buildRequestConfigFromMetaPath(UpdateResourceTagsCommand.metaPath);
466
- }
467
- }
468
-
469
- export default {
470
- CDNClient,
471
- AddResourceTagsCommand,
472
- DeleteCdnCertificateCommand,
473
- DeleteCdnDomainCommand,
474
- DeleteResourceTagsCommand,
475
- DeleteUsageReportCommand,
476
- DescribeCdnAccessLogCommand,
477
- DescribeCdnConfigCommand,
478
- DescribeCdnIPCommand,
479
- DescribeCdnRegionAndIspCommand,
480
- DescribeCdnServiceCommand,
481
- DescribeCertConfigCommand,
482
- DescribeDistrictRankingCommand,
483
- DescribeEdgeRankingCommand,
484
- DescribeEdgeStatusCodeRankingCommand,
485
- DescribeOriginDataCommand,
486
- DescribeOriginRankingCommand,
487
- DescribeOriginStatusCodeRankingCommand,
488
- DescribeStatisticalRankingCommand,
489
- DescribeUserDataCommand,
490
- ListResourceTagsCommand,
491
- ListUsageReportsCommand,
492
- StartCdnDomainCommand,
493
- StopCdnDomainCommand,
494
- UpdateResourceTagsCommand,
495
- };
package/src/index.ts DELETED
@@ -1,14 +0,0 @@
1
- // tslint:disable
2
- /**
3
- * cdn
4
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
- *
6
- * OpenAPI spec version: common-version
7
- *
8
- *
9
- * NOTE: This class is auto generated by the swagger code generator program.
10
- * https://github.com/swagger-api/swagger-codegen.git
11
- * Do not edit the class manually.
12
- */
13
-
14
- export * from "./api";
@@ -1,46 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * cdn
5
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
- *
7
- * OpenAPI spec version: common-version
8
- *
9
- *
10
- * NOTE: This class is auto generated by the swagger code generator program.
11
- * https://github.com/swagger-api/swagger-codegen.git
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- *
18
- * @export
19
- * @interface AccessActionForDescribeCdnConfigOutput
20
- */
21
- export interface AccessActionForDescribeCdnConfigOutput {
22
-
23
- /**
24
- * @type {boolean}
25
- * @memberof AccessActionForDescribeCdnConfigOutput
26
- */
27
- AllowEmpty?: boolean;
28
-
29
- /**
30
- * @type {Array<string>}
31
- * @memberof AccessActionForDescribeCdnConfigOutput
32
- */
33
- ListRules?: Array<string>;
34
-
35
- /**
36
- * @type {string}
37
- * @memberof AccessActionForDescribeCdnConfigOutput
38
- */
39
- RequestHeader?: string;
40
-
41
- /**
42
- * @type {string}
43
- * @memberof AccessActionForDescribeCdnConfigOutput
44
- */
45
- RuleType?: string;
46
- }
@@ -1,29 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * cdn
5
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
- *
7
- * OpenAPI spec version: common-version
8
- *
9
- *
10
- * NOTE: This class is auto generated by the swagger code generator program.
11
- * https://github.com/swagger-api/swagger-codegen.git
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { OriginLineForDescribeCdnConfigOutput } from './origin-line-for-describe-cdn-config-output';
16
- /**
17
- *
18
- *
19
- * @export
20
- * @interface ActionsForDescribeCdnConfigOutput
21
- */
22
- export interface ActionsForDescribeCdnConfigOutput {
23
-
24
- /**
25
- * @type {Array<OriginLineForDescribeCdnConfigOutput>}
26
- * @memberof ActionsForDescribeCdnConfigOutput
27
- */
28
- OriginLines?: Array<OriginLineForDescribeCdnConfigOutput>;
29
- }
@@ -1,35 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * cdn
5
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
- *
7
- * OpenAPI spec version: common-version
8
- *
9
- *
10
- * NOTE: This class is auto generated by the swagger code generator program.
11
- * https://github.com/swagger-api/swagger-codegen.git
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { ResourceTagForAddResourceTagsInput } from './resource-tag-for-add-resource-tags-input';
16
- /**
17
- *
18
- *
19
- * @export
20
- * @interface AddResourceTagsRequest
21
- */
22
- export interface AddResourceTagsRequest {
23
-
24
- /**
25
- * @type {Array<ResourceTagForAddResourceTagsInput>}
26
- * @memberof AddResourceTagsRequest
27
- */
28
- ResourceTags?: Array<ResourceTagForAddResourceTagsInput>;
29
-
30
- /**
31
- * @type {Array<string>}
32
- * @memberof AddResourceTagsRequest
33
- */
34
- Resources?: Array<string>;
35
- }
@@ -1,22 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * cdn
5
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
- *
7
- * OpenAPI spec version: common-version
8
- *
9
- *
10
- * NOTE: This class is auto generated by the swagger code generator program.
11
- * https://github.com/swagger-api/swagger-codegen.git
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- *
18
- * @export
19
- * @interface AddResourceTagsResponse
20
- */
21
- export interface AddResourceTagsResponse {
22
- }
@@ -1,40 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * cdn
5
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
- *
7
- * OpenAPI spec version: common-version
8
- *
9
- *
10
- * NOTE: This class is auto generated by the swagger code generator program.
11
- * https://github.com/swagger-api/swagger-codegen.git
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- *
18
- * @export
19
- * @interface AreaAccessRuleForDescribeCdnConfigOutput
20
- */
21
- export interface AreaAccessRuleForDescribeCdnConfigOutput {
22
-
23
- /**
24
- * @type {Array<string>}
25
- * @memberof AreaAccessRuleForDescribeCdnConfigOutput
26
- */
27
- Area?: Array<string>;
28
-
29
- /**
30
- * @type {string}
31
- * @memberof AreaAccessRuleForDescribeCdnConfigOutput
32
- */
33
- RuleType?: string;
34
-
35
- /**
36
- * @type {boolean}
37
- * @memberof AreaAccessRuleForDescribeCdnConfigOutput
38
- */
39
- _Switch?: boolean;
40
- }