@volcengine/mcdn 1.0.1

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 (506) hide show
  1. package/.turbo/turbo-build.log +19 -0
  2. package/LICENSE.txt +202 -0
  3. package/dist/cjs/index.js +335 -0
  4. package/dist/esm/api.d.ts +331 -0
  5. package/dist/esm/api.d.ts.map +1 -0
  6. package/dist/esm/index.d.ts +13 -0
  7. package/dist/esm/index.d.ts.map +1 -0
  8. package/dist/esm/index.mjs +217 -0
  9. package/dist/esm/types/active-weight-for-describe-dns-schedule-active-weights-output.d.ts +62 -0
  10. package/dist/esm/types/active-weight-for-describe-dns-schedule-active-weights-output.d.ts.map +1 -0
  11. package/dist/esm/types/add-dns-schedule-static-weight-request.d.ts +46 -0
  12. package/dist/esm/types/add-dns-schedule-static-weight-request.d.ts.map +1 -0
  13. package/dist/esm/types/add-dns-schedule-static-weight-response.d.ts +26 -0
  14. package/dist/esm/types/add-dns-schedule-static-weight-response.d.ts.map +1 -0
  15. package/dist/esm/types/alert-rule-for-describe-alert-strategy-output.d.ts +51 -0
  16. package/dist/esm/types/alert-rule-for-describe-alert-strategy-output.d.ts.map +1 -0
  17. package/dist/esm/types/alert-rule-for-list-alert-strategies-output.d.ts +51 -0
  18. package/dist/esm/types/alert-rule-for-list-alert-strategies-output.d.ts.map +1 -0
  19. package/dist/esm/types/alert-strategy-for-describe-alert-strategy-output.d.ts +74 -0
  20. package/dist/esm/types/alert-strategy-for-describe-alert-strategy-output.d.ts.map +1 -0
  21. package/dist/esm/types/aws-for-list-cloud-accounts-output.d.ts +26 -0
  22. package/dist/esm/types/aws-for-list-cloud-accounts-output.d.ts.map +1 -0
  23. package/dist/esm/types/certificate-for-list-cdn-domains-output.d.ts +87 -0
  24. package/dist/esm/types/certificate-for-list-cdn-domains-output.d.ts.map +1 -0
  25. package/dist/esm/types/child-for-list-alert-meta-metrics-output.d.ts +50 -0
  26. package/dist/esm/types/child-for-list-alert-meta-metrics-output.d.ts.map +1 -0
  27. package/dist/esm/types/cloud-account-for-list-cloud-accounts-output.d.ts +116 -0
  28. package/dist/esm/types/cloud-account-for-list-cloud-accounts-output.d.ts.map +1 -0
  29. package/dist/esm/types/condition-for-describe-alert-strategy-output.d.ts +55 -0
  30. package/dist/esm/types/condition-for-describe-alert-strategy-output.d.ts.map +1 -0
  31. package/dist/esm/types/condition-for-list-alert-strategies-output.d.ts +55 -0
  32. package/dist/esm/types/condition-for-list-alert-strategies-output.d.ts.map +1 -0
  33. package/dist/esm/types/configs-for-list-cdn-domains-output.d.ts +26 -0
  34. package/dist/esm/types/configs-for-list-cdn-domains-output.d.ts.map +1 -0
  35. package/dist/esm/types/contact-group-for-describe-alert-strategy-output.d.ts +30 -0
  36. package/dist/esm/types/contact-group-for-describe-alert-strategy-output.d.ts.map +1 -0
  37. package/dist/esm/types/contact-group-for-list-alert-strategies-output.d.ts +30 -0
  38. package/dist/esm/types/contact-group-for-list-alert-strategies-output.d.ts.map +1 -0
  39. package/dist/esm/types/contact-robot-for-describe-alert-strategy-output.d.ts +35 -0
  40. package/dist/esm/types/contact-robot-for-describe-alert-strategy-output.d.ts.map +1 -0
  41. package/dist/esm/types/contact-robot-for-list-alert-strategies-output.d.ts +35 -0
  42. package/dist/esm/types/contact-robot-for-list-alert-strategies-output.d.ts.map +1 -0
  43. package/dist/esm/types/content-settings-for-list-cloud-accounts-output.d.ts +26 -0
  44. package/dist/esm/types/content-settings-for-list-cloud-accounts-output.d.ts.map +1 -0
  45. package/dist/esm/types/convert-aws-for-list-cloud-accounts-output.d.ts +35 -0
  46. package/dist/esm/types/convert-aws-for-list-cloud-accounts-output.d.ts.map +1 -0
  47. package/dist/esm/types/country-for-describe-cdn-region-and-isp-output.d.ts +32 -0
  48. package/dist/esm/types/country-for-describe-cdn-region-and-isp-output.d.ts.map +1 -0
  49. package/dist/esm/types/country-for-list-views-output.d.ts +47 -0
  50. package/dist/esm/types/country-for-list-views-output.d.ts.map +1 -0
  51. package/dist/esm/types/data-for-list-alert-meta-metrics-output.d.ts +31 -0
  52. package/dist/esm/types/data-for-list-alert-meta-metrics-output.d.ts.map +1 -0
  53. package/dist/esm/types/data-for-list-alert-strategies-output.d.ts +74 -0
  54. package/dist/esm/types/data-for-list-alert-strategies-output.d.ts.map +1 -0
  55. package/dist/esm/types/delete-dns-schedule-static-weight-request.d.ts +30 -0
  56. package/dist/esm/types/delete-dns-schedule-static-weight-request.d.ts.map +1 -0
  57. package/dist/esm/types/delete-dns-schedule-static-weight-response.d.ts +20 -0
  58. package/dist/esm/types/delete-dns-schedule-static-weight-response.d.ts.map +1 -0
  59. package/dist/esm/types/describe-alert-strategy-request.d.ts +25 -0
  60. package/dist/esm/types/describe-alert-strategy-request.d.ts.map +1 -0
  61. package/dist/esm/types/describe-alert-strategy-response.d.ts +26 -0
  62. package/dist/esm/types/describe-alert-strategy-response.d.ts.map +1 -0
  63. package/dist/esm/types/describe-cdn-access-log-request.d.ts +56 -0
  64. package/dist/esm/types/describe-cdn-access-log-request.d.ts.map +1 -0
  65. package/dist/esm/types/describe-cdn-access-log-response.d.ts +32 -0
  66. package/dist/esm/types/describe-cdn-access-log-response.d.ts.map +1 -0
  67. package/dist/esm/types/describe-cdn-data-offline-request.d.ts +80 -0
  68. package/dist/esm/types/describe-cdn-data-offline-request.d.ts.map +1 -0
  69. package/dist/esm/types/describe-cdn-data-offline-response.d.ts +26 -0
  70. package/dist/esm/types/describe-cdn-data-offline-response.d.ts.map +1 -0
  71. package/dist/esm/types/describe-cdn-origin-data-offline-request.d.ts +85 -0
  72. package/dist/esm/types/describe-cdn-origin-data-offline-request.d.ts.map +1 -0
  73. package/dist/esm/types/describe-cdn-origin-data-offline-response.d.ts +26 -0
  74. package/dist/esm/types/describe-cdn-origin-data-offline-response.d.ts.map +1 -0
  75. package/dist/esm/types/describe-cdn-region-and-isp-request.d.ts +20 -0
  76. package/dist/esm/types/describe-cdn-region-and-isp-request.d.ts.map +1 -0
  77. package/dist/esm/types/describe-cdn-region-and-isp-response.d.ts +32 -0
  78. package/dist/esm/types/describe-cdn-region-and-isp-response.d.ts.map +1 -0
  79. package/dist/esm/types/describe-cdn-top-ip-request.d.ts +55 -0
  80. package/dist/esm/types/describe-cdn-top-ip-request.d.ts.map +1 -0
  81. package/dist/esm/types/describe-cdn-top-ip-response.d.ts +32 -0
  82. package/dist/esm/types/describe-cdn-top-ip-response.d.ts.map +1 -0
  83. package/dist/esm/types/describe-cdn-top-url-request.d.ts +55 -0
  84. package/dist/esm/types/describe-cdn-top-url-request.d.ts.map +1 -0
  85. package/dist/esm/types/describe-cdn-top-url-response.d.ts +32 -0
  86. package/dist/esm/types/describe-cdn-top-url-response.d.ts.map +1 -0
  87. package/dist/esm/types/describe-content-quota-request.d.ts +25 -0
  88. package/dist/esm/types/describe-content-quota-request.d.ts.map +1 -0
  89. package/dist/esm/types/describe-content-quota-response.d.ts +32 -0
  90. package/dist/esm/types/describe-content-quota-response.d.ts.map +1 -0
  91. package/dist/esm/types/describe-content-task-by-task-id-request.d.ts +30 -0
  92. package/dist/esm/types/describe-content-task-by-task-id-request.d.ts.map +1 -0
  93. package/dist/esm/types/describe-content-task-by-task-id-response.d.ts +32 -0
  94. package/dist/esm/types/describe-content-task-by-task-id-response.d.ts.map +1 -0
  95. package/dist/esm/types/describe-dns-schedule-active-weights-request.d.ts +25 -0
  96. package/dist/esm/types/describe-dns-schedule-active-weights-request.d.ts.map +1 -0
  97. package/dist/esm/types/describe-dns-schedule-active-weights-response.d.ts +31 -0
  98. package/dist/esm/types/describe-dns-schedule-active-weights-response.d.ts.map +1 -0
  99. package/dist/esm/types/describe-dns-schedule-request.d.ts +25 -0
  100. package/dist/esm/types/describe-dns-schedule-request.d.ts.map +1 -0
  101. package/dist/esm/types/describe-dns-schedule-response.d.ts +32 -0
  102. package/dist/esm/types/describe-dns-schedule-response.d.ts.map +1 -0
  103. package/dist/esm/types/describe-dns-schedule-static-weights-request.d.ts +25 -0
  104. package/dist/esm/types/describe-dns-schedule-static-weights-request.d.ts.map +1 -0
  105. package/dist/esm/types/describe-dns-schedule-static-weights-response.d.ts +37 -0
  106. package/dist/esm/types/describe-dns-schedule-static-weights-response.d.ts.map +1 -0
  107. package/dist/esm/types/disable-dns-schedule-domain-request.d.ts +30 -0
  108. package/dist/esm/types/disable-dns-schedule-domain-request.d.ts.map +1 -0
  109. package/dist/esm/types/disable-dns-schedule-domain-response.d.ts +20 -0
  110. package/dist/esm/types/disable-dns-schedule-domain-response.d.ts.map +1 -0
  111. package/dist/esm/types/dns-schedule-for-list-dns-schedules-output.d.ts +80 -0
  112. package/dist/esm/types/dns-schedule-for-list-dns-schedules-output.d.ts.map +1 -0
  113. package/dist/esm/types/dns-schedule-info-for-describe-dns-schedule-output.d.ts +82 -0
  114. package/dist/esm/types/dns-schedule-info-for-describe-dns-schedule-output.d.ts.map +1 -0
  115. package/dist/esm/types/domain-for-describe-alert-strategy-output.d.ts +30 -0
  116. package/dist/esm/types/domain-for-describe-alert-strategy-output.d.ts.map +1 -0
  117. package/dist/esm/types/domain-for-list-alert-strategies-output.d.ts +30 -0
  118. package/dist/esm/types/domain-for-list-alert-strategies-output.d.ts.map +1 -0
  119. package/dist/esm/types/domain-for-list-cdn-domains-output.d.ts +149 -0
  120. package/dist/esm/types/domain-for-list-cdn-domains-output.d.ts.map +1 -0
  121. package/dist/esm/types/domain-settings-for-list-cloud-accounts-output.d.ts +26 -0
  122. package/dist/esm/types/domain-settings-for-list-cloud-accounts-output.d.ts.map +1 -0
  123. package/dist/esm/types/domain-sync-status-state-for-list-cloud-accounts-output.d.ts +30 -0
  124. package/dist/esm/types/domain-sync-status-state-for-list-cloud-accounts-output.d.ts.map +1 -0
  125. package/dist/esm/types/domestic-domain-for-describe-dns-schedule-output.d.ts +75 -0
  126. package/dist/esm/types/domestic-domain-for-describe-dns-schedule-output.d.ts.map +1 -0
  127. package/dist/esm/types/enable-dns-schedule-domain-request.d.ts +30 -0
  128. package/dist/esm/types/enable-dns-schedule-domain-request.d.ts.map +1 -0
  129. package/dist/esm/types/enable-dns-schedule-domain-response.d.ts +20 -0
  130. package/dist/esm/types/enable-dns-schedule-domain-response.d.ts.map +1 -0
  131. package/dist/esm/types/error-for-describe-cdn-top-ip-output.d.ts +30 -0
  132. package/dist/esm/types/error-for-describe-cdn-top-ip-output.d.ts.map +1 -0
  133. package/dist/esm/types/error-for-describe-cdn-top-url-output.d.ts +30 -0
  134. package/dist/esm/types/error-for-describe-cdn-top-url-output.d.ts.map +1 -0
  135. package/dist/esm/types/error-for-describe-content-quota-output.d.ts +30 -0
  136. package/dist/esm/types/error-for-describe-content-quota-output.d.ts.map +1 -0
  137. package/dist/esm/types/error-for-describe-content-task-by-task-id-output.d.ts +30 -0
  138. package/dist/esm/types/error-for-describe-content-task-by-task-id-output.d.ts.map +1 -0
  139. package/dist/esm/types/extra-for-list-cloud-accounts-output.d.ts +55 -0
  140. package/dist/esm/types/extra-for-list-cloud-accounts-output.d.ts.map +1 -0
  141. package/dist/esm/types/global-domain-for-describe-dns-schedule-output.d.ts +75 -0
  142. package/dist/esm/types/global-domain-for-describe-dns-schedule-output.d.ts.map +1 -0
  143. package/dist/esm/types/host-for-list-cdn-domains-output.d.ts +30 -0
  144. package/dist/esm/types/host-for-list-cdn-domains-output.d.ts.map +1 -0
  145. package/dist/esm/types/index.d.ts +164 -0
  146. package/dist/esm/types/index.d.ts.map +1 -0
  147. package/dist/esm/types/ip-for-describe-cdn-top-ip-output.d.ts +35 -0
  148. package/dist/esm/types/ip-for-describe-cdn-top-ip-output.d.ts.map +1 -0
  149. package/dist/esm/types/isp-for-describe-cdn-region-and-isp-output.d.ts +30 -0
  150. package/dist/esm/types/isp-for-describe-cdn-region-and-isp-output.d.ts.map +1 -0
  151. package/dist/esm/types/isp-for-list-views-output.d.ts +30 -0
  152. package/dist/esm/types/isp-for-list-views-output.d.ts.map +1 -0
  153. package/dist/esm/types/list-alert-meta-metrics-request.d.ts +26 -0
  154. package/dist/esm/types/list-alert-meta-metrics-request.d.ts.map +1 -0
  155. package/dist/esm/types/list-alert-meta-metrics-response.d.ts +32 -0
  156. package/dist/esm/types/list-alert-meta-metrics-response.d.ts.map +1 -0
  157. package/dist/esm/types/list-alert-strategies-request.d.ts +46 -0
  158. package/dist/esm/types/list-alert-strategies-request.d.ts.map +1 -0
  159. package/dist/esm/types/list-alert-strategies-response.d.ts +32 -0
  160. package/dist/esm/types/list-alert-strategies-response.d.ts.map +1 -0
  161. package/dist/esm/types/list-cdn-domains-request.d.ts +87 -0
  162. package/dist/esm/types/list-cdn-domains-request.d.ts.map +1 -0
  163. package/dist/esm/types/list-cdn-domains-response.d.ts +32 -0
  164. package/dist/esm/types/list-cdn-domains-response.d.ts.map +1 -0
  165. package/dist/esm/types/list-cloud-accounts-request.d.ts +56 -0
  166. package/dist/esm/types/list-cloud-accounts-request.d.ts.map +1 -0
  167. package/dist/esm/types/list-cloud-accounts-response.d.ts +32 -0
  168. package/dist/esm/types/list-cloud-accounts-response.d.ts.map +1 -0
  169. package/dist/esm/types/list-content-tasks-request.d.ts +61 -0
  170. package/dist/esm/types/list-content-tasks-request.d.ts.map +1 -0
  171. package/dist/esm/types/list-content-tasks-response.d.ts +32 -0
  172. package/dist/esm/types/list-content-tasks-response.d.ts.map +1 -0
  173. package/dist/esm/types/list-dns-schedules-request.d.ts +76 -0
  174. package/dist/esm/types/list-dns-schedules-request.d.ts.map +1 -0
  175. package/dist/esm/types/list-dns-schedules-response.d.ts +32 -0
  176. package/dist/esm/types/list-dns-schedules-response.d.ts.map +1 -0
  177. package/dist/esm/types/list-vendor-content-task-request.d.ts +66 -0
  178. package/dist/esm/types/list-vendor-content-task-request.d.ts.map +1 -0
  179. package/dist/esm/types/list-vendor-content-task-response.d.ts +32 -0
  180. package/dist/esm/types/list-vendor-content-task-response.d.ts.map +1 -0
  181. package/dist/esm/types/list-views-request.d.ts +20 -0
  182. package/dist/esm/types/list-views-request.d.ts.map +1 -0
  183. package/dist/esm/types/list-views-response.d.ts +31 -0
  184. package/dist/esm/types/list-views-response.d.ts.map +1 -0
  185. package/dist/esm/types/log-for-describe-cdn-access-log-output.d.ts +31 -0
  186. package/dist/esm/types/log-for-describe-cdn-access-log-output.d.ts.map +1 -0
  187. package/dist/esm/types/log-info-for-describe-cdn-access-log-output.d.ts +45 -0
  188. package/dist/esm/types/log-info-for-describe-cdn-access-log-output.d.ts.map +1 -0
  189. package/dist/esm/types/metric-for-describe-cdn-data-offline-output.d.ts +31 -0
  190. package/dist/esm/types/metric-for-describe-cdn-data-offline-output.d.ts.map +1 -0
  191. package/dist/esm/types/metric-for-describe-cdn-origin-data-offline-output.d.ts +31 -0
  192. package/dist/esm/types/metric-for-describe-cdn-origin-data-offline-output.d.ts.map +1 -0
  193. package/dist/esm/types/name-pair-for-describe-cdn-region-and-isp-output.d.ts +30 -0
  194. package/dist/esm/types/name-pair-for-describe-cdn-region-and-isp-output.d.ts.map +1 -0
  195. package/dist/esm/types/network-for-list-cdn-domains-output.d.ts +30 -0
  196. package/dist/esm/types/network-for-list-cdn-domains-output.d.ts.map +1 -0
  197. package/dist/esm/types/notify-config-for-describe-alert-strategy-output.d.ts +35 -0
  198. package/dist/esm/types/notify-config-for-describe-alert-strategy-output.d.ts.map +1 -0
  199. package/dist/esm/types/notify-config-for-list-alert-strategies-output.d.ts +35 -0
  200. package/dist/esm/types/notify-config-for-list-alert-strategies-output.d.ts.map +1 -0
  201. package/dist/esm/types/offline-data-setting-for-list-cloud-accounts-output.d.ts +30 -0
  202. package/dist/esm/types/offline-data-setting-for-list-cloud-accounts-output.d.ts.map +1 -0
  203. package/dist/esm/types/origin-for-list-cdn-domains-output.d.ts +56 -0
  204. package/dist/esm/types/origin-for-list-cdn-domains-output.d.ts.map +1 -0
  205. package/dist/esm/types/pagination-for-describe-cdn-access-log-input.d.ts +30 -0
  206. package/dist/esm/types/pagination-for-describe-cdn-access-log-input.d.ts.map +1 -0
  207. package/dist/esm/types/pagination-for-describe-cdn-access-log-output.d.ts +35 -0
  208. package/dist/esm/types/pagination-for-describe-cdn-access-log-output.d.ts.map +1 -0
  209. package/dist/esm/types/pagination-for-list-alert-meta-metrics-output.d.ts +35 -0
  210. package/dist/esm/types/pagination-for-list-alert-meta-metrics-output.d.ts.map +1 -0
  211. package/dist/esm/types/pagination-for-list-alert-strategies-input.d.ts +30 -0
  212. package/dist/esm/types/pagination-for-list-alert-strategies-input.d.ts.map +1 -0
  213. package/dist/esm/types/pagination-for-list-alert-strategies-output.d.ts +35 -0
  214. package/dist/esm/types/pagination-for-list-alert-strategies-output.d.ts.map +1 -0
  215. package/dist/esm/types/pagination-for-list-cdn-domains-input.d.ts +30 -0
  216. package/dist/esm/types/pagination-for-list-cdn-domains-input.d.ts.map +1 -0
  217. package/dist/esm/types/pagination-for-list-cdn-domains-output.d.ts +35 -0
  218. package/dist/esm/types/pagination-for-list-cdn-domains-output.d.ts.map +1 -0
  219. package/dist/esm/types/pagination-for-list-cloud-accounts-input.d.ts +30 -0
  220. package/dist/esm/types/pagination-for-list-cloud-accounts-input.d.ts.map +1 -0
  221. package/dist/esm/types/pagination-for-list-cloud-accounts-output.d.ts +35 -0
  222. package/dist/esm/types/pagination-for-list-cloud-accounts-output.d.ts.map +1 -0
  223. package/dist/esm/types/pagination-for-list-content-tasks-input.d.ts +30 -0
  224. package/dist/esm/types/pagination-for-list-content-tasks-input.d.ts.map +1 -0
  225. package/dist/esm/types/pagination-for-list-content-tasks-output.d.ts +35 -0
  226. package/dist/esm/types/pagination-for-list-content-tasks-output.d.ts.map +1 -0
  227. package/dist/esm/types/pagination-for-list-dns-schedules-input.d.ts +30 -0
  228. package/dist/esm/types/pagination-for-list-dns-schedules-input.d.ts.map +1 -0
  229. package/dist/esm/types/pagination-for-list-dns-schedules-output.d.ts +35 -0
  230. package/dist/esm/types/pagination-for-list-dns-schedules-output.d.ts.map +1 -0
  231. package/dist/esm/types/pagination-for-list-vendor-content-task-input.d.ts +30 -0
  232. package/dist/esm/types/pagination-for-list-vendor-content-task-input.d.ts.map +1 -0
  233. package/dist/esm/types/pagination-for-list-vendor-content-task-output.d.ts +35 -0
  234. package/dist/esm/types/pagination-for-list-vendor-content-task-output.d.ts.map +1 -0
  235. package/dist/esm/types/paging-option-for-list-alert-meta-metrics-input.d.ts +30 -0
  236. package/dist/esm/types/paging-option-for-list-alert-meta-metrics-input.d.ts.map +1 -0
  237. package/dist/esm/types/permission-state-for-list-cloud-accounts-output.d.ts +25 -0
  238. package/dist/esm/types/permission-state-for-list-cloud-accounts-output.d.ts.map +1 -0
  239. package/dist/esm/types/preload-for-list-cloud-accounts-output.d.ts +40 -0
  240. package/dist/esm/types/preload-for-list-cloud-accounts-output.d.ts.map +1 -0
  241. package/dist/esm/types/probe-task-for-describe-alert-strategy-output.d.ts +30 -0
  242. package/dist/esm/types/probe-task-for-describe-alert-strategy-output.d.ts.map +1 -0
  243. package/dist/esm/types/probe-task-for-list-alert-strategies-output.d.ts +30 -0
  244. package/dist/esm/types/probe-task-for-list-alert-strategies-output.d.ts.map +1 -0
  245. package/dist/esm/types/province-for-list-views-output.d.ts +35 -0
  246. package/dist/esm/types/province-for-list-views-output.d.ts.map +1 -0
  247. package/dist/esm/types/quota-for-describe-content-quota-output.d.ts +80 -0
  248. package/dist/esm/types/quota-for-describe-content-quota-output.d.ts.map +1 -0
  249. package/dist/esm/types/region-for-describe-cdn-region-and-isp-output.d.ts +30 -0
  250. package/dist/esm/types/region-for-describe-cdn-region-and-isp-output.d.ts.map +1 -0
  251. package/dist/esm/types/resource-for-describe-cdn-data-offline-output.d.ts +31 -0
  252. package/dist/esm/types/resource-for-describe-cdn-data-offline-output.d.ts.map +1 -0
  253. package/dist/esm/types/resource-for-describe-cdn-origin-data-offline-output.d.ts +31 -0
  254. package/dist/esm/types/resource-for-describe-cdn-origin-data-offline-output.d.ts.map +1 -0
  255. package/dist/esm/types/stat-settings-for-list-cloud-accounts-output.d.ts +32 -0
  256. package/dist/esm/types/stat-settings-for-list-cloud-accounts-output.d.ts.map +1 -0
  257. package/dist/esm/types/stat-sync-status-state-for-list-cloud-accounts-output.d.ts +30 -0
  258. package/dist/esm/types/stat-sync-status-state-for-list-cloud-accounts-output.d.ts.map +1 -0
  259. package/dist/esm/types/static-weight-for-add-dns-schedule-static-weight-output.d.ts +46 -0
  260. package/dist/esm/types/static-weight-for-add-dns-schedule-static-weight-output.d.ts.map +1 -0
  261. package/dist/esm/types/static-weight-for-describe-dns-schedule-static-weights-output.d.ts +46 -0
  262. package/dist/esm/types/static-weight-for-describe-dns-schedule-static-weights-output.d.ts.map +1 -0
  263. package/dist/esm/types/sub-task-for-describe-content-task-by-task-id-output.d.ts +80 -0
  264. package/dist/esm/types/sub-task-for-describe-content-task-by-task-id-output.d.ts.map +1 -0
  265. package/dist/esm/types/sub-task-for-list-content-tasks-output.d.ts +70 -0
  266. package/dist/esm/types/sub-task-for-list-content-tasks-output.d.ts.map +1 -0
  267. package/dist/esm/types/submit-oversea-preload-task-request.d.ts +35 -0
  268. package/dist/esm/types/submit-oversea-preload-task-request.d.ts.map +1 -0
  269. package/dist/esm/types/submit-oversea-preload-task-response.d.ts +30 -0
  270. package/dist/esm/types/submit-oversea-preload-task-response.d.ts.map +1 -0
  271. package/dist/esm/types/submit-preload-task-request.d.ts +35 -0
  272. package/dist/esm/types/submit-preload-task-request.d.ts.map +1 -0
  273. package/dist/esm/types/submit-preload-task-response.d.ts +30 -0
  274. package/dist/esm/types/submit-preload-task-response.d.ts.map +1 -0
  275. package/dist/esm/types/submit-refresh-task-request.d.ts +35 -0
  276. package/dist/esm/types/submit-refresh-task-request.d.ts.map +1 -0
  277. package/dist/esm/types/submit-refresh-task-response.d.ts +30 -0
  278. package/dist/esm/types/submit-refresh-task-response.d.ts.map +1 -0
  279. package/dist/esm/types/subscribe-rule-for-describe-alert-strategy-output.d.ts +38 -0
  280. package/dist/esm/types/subscribe-rule-for-describe-alert-strategy-output.d.ts.map +1 -0
  281. package/dist/esm/types/subscribe-rule-for-list-alert-strategies-output.d.ts +38 -0
  282. package/dist/esm/types/subscribe-rule-for-list-alert-strategies-output.d.ts.map +1 -0
  283. package/dist/esm/types/sync-detail-for-list-cdn-domains-output.d.ts +25 -0
  284. package/dist/esm/types/sync-detail-for-list-cdn-domains-output.d.ts.map +1 -0
  285. package/dist/esm/types/sync-status-state-for-list-cloud-accounts-output.d.ts +32 -0
  286. package/dist/esm/types/sync-status-state-for-list-cloud-accounts-output.d.ts.map +1 -0
  287. package/dist/esm/types/tag-filter-for-list-cdn-domains-input.d.ts +35 -0
  288. package/dist/esm/types/tag-filter-for-list-cdn-domains-input.d.ts.map +1 -0
  289. package/dist/esm/types/tag-for-list-cdn-domains-output.d.ts +30 -0
  290. package/dist/esm/types/tag-for-list-cdn-domains-output.d.ts.map +1 -0
  291. package/dist/esm/types/task-for-list-content-tasks-output.d.ts +56 -0
  292. package/dist/esm/types/task-for-list-content-tasks-output.d.ts.map +1 -0
  293. package/dist/esm/types/task-for-list-vendor-content-task-output.d.ts +45 -0
  294. package/dist/esm/types/task-for-list-vendor-content-task-output.d.ts.map +1 -0
  295. package/dist/esm/types/template-info-for-describe-dns-schedule-static-weights-output.d.ts +35 -0
  296. package/dist/esm/types/template-info-for-describe-dns-schedule-static-weights-output.d.ts.map +1 -0
  297. package/dist/esm/types/ucloud-for-list-cloud-accounts-output.d.ts +25 -0
  298. package/dist/esm/types/ucloud-for-list-cloud-accounts-output.d.ts.map +1 -0
  299. package/dist/esm/types/update-dns-schedule-static-weight-request.d.ts +36 -0
  300. package/dist/esm/types/update-dns-schedule-static-weight-request.d.ts.map +1 -0
  301. package/dist/esm/types/update-dns-schedule-static-weight-response.d.ts +20 -0
  302. package/dist/esm/types/update-dns-schedule-static-weight-response.d.ts.map +1 -0
  303. package/dist/esm/types/url-for-describe-cdn-top-url-output.d.ts +35 -0
  304. package/dist/esm/types/url-for-describe-cdn-top-url-output.d.ts.map +1 -0
  305. package/dist/esm/types/value-for-describe-cdn-data-offline-output.d.ts +30 -0
  306. package/dist/esm/types/value-for-describe-cdn-data-offline-output.d.ts.map +1 -0
  307. package/dist/esm/types/value-for-describe-cdn-origin-data-offline-output.d.ts +30 -0
  308. package/dist/esm/types/value-for-describe-cdn-origin-data-offline-output.d.ts.map +1 -0
  309. package/dist/esm/types/vendors-meta-data-for-describe-cdn-top-ip-output.d.ts +46 -0
  310. package/dist/esm/types/vendors-meta-data-for-describe-cdn-top-ip-output.d.ts.map +1 -0
  311. package/dist/esm/types/vendors-meta-data-for-describe-cdn-top-url-output.d.ts +46 -0
  312. package/dist/esm/types/vendors-meta-data-for-describe-cdn-top-url-output.d.ts.map +1 -0
  313. package/dist/esm/types/vendors-meta-data-for-describe-content-quota-output.d.ts +51 -0
  314. package/dist/esm/types/vendors-meta-data-for-describe-content-quota-output.d.ts.map +1 -0
  315. package/dist/esm/types/vendors-meta-data-for-describe-content-task-by-task-id-output.d.ts +51 -0
  316. package/dist/esm/types/vendors-meta-data-for-describe-content-task-by-task-id-output.d.ts.map +1 -0
  317. package/dist/esm/types/volc-ids-sync-detail-for-list-cdn-domains-output.d.ts +25 -0
  318. package/dist/esm/types/volc-ids-sync-detail-for-list-cdn-domains-output.d.ts.map +1 -0
  319. package/dist/esm/types/weight-failover-info-for-describe-dns-schedule-active-weights-output.d.ts +35 -0
  320. package/dist/esm/types/weight-failover-info-for-describe-dns-schedule-active-weights-output.d.ts.map +1 -0
  321. package/dist/esm/types/weight-failover-info-for-describe-dns-schedule-output.d.ts +35 -0
  322. package/dist/esm/types/weight-failover-info-for-describe-dns-schedule-output.d.ts.map +1 -0
  323. package/dist/esm/types/weight-info-for-describe-dns-schedule-output.d.ts +62 -0
  324. package/dist/esm/types/weight-info-for-describe-dns-schedule-output.d.ts.map +1 -0
  325. package/dist/esm/types/weight-info-item-for-describe-dns-schedule-active-weights-output.d.ts +35 -0
  326. package/dist/esm/types/weight-info-item-for-describe-dns-schedule-active-weights-output.d.ts.map +1 -0
  327. package/dist/esm/types/weight-info-item-for-describe-dns-schedule-output.d.ts +35 -0
  328. package/dist/esm/types/weight-info-item-for-describe-dns-schedule-output.d.ts.map +1 -0
  329. package/dist/esm/types/weight-item-for-add-dns-schedule-static-weight-input.d.ts +30 -0
  330. package/dist/esm/types/weight-item-for-add-dns-schedule-static-weight-input.d.ts.map +1 -0
  331. package/dist/esm/types/weight-item-for-add-dns-schedule-static-weight-output.d.ts +30 -0
  332. package/dist/esm/types/weight-item-for-add-dns-schedule-static-weight-output.d.ts.map +1 -0
  333. package/dist/esm/types/weight-item-for-describe-dns-schedule-static-weights-output.d.ts +30 -0
  334. package/dist/esm/types/weight-item-for-describe-dns-schedule-static-weights-output.d.ts.map +1 -0
  335. package/dist/esm/types/weight-item-for-update-dns-schedule-static-weight-input.d.ts +30 -0
  336. package/dist/esm/types/weight-item-for-update-dns-schedule-static-weight-input.d.ts.map +1 -0
  337. package/dist/tsconfig.tsbuildinfo +1 -0
  338. package/package.json +37 -0
  339. package/rslib.config.ts +26 -0
  340. package/src/api.ts +571 -0
  341. package/src/index.ts +14 -0
  342. package/src/types/active-weight-for-describe-dns-schedule-active-weights-output.ts +72 -0
  343. package/src/types/add-dns-schedule-static-weight-request.ts +53 -0
  344. package/src/types/add-dns-schedule-static-weight-response.ts +29 -0
  345. package/src/types/alert-rule-for-describe-alert-strategy-output.ts +59 -0
  346. package/src/types/alert-rule-for-list-alert-strategies-output.ts +59 -0
  347. package/src/types/alert-strategy-for-describe-alert-strategy-output.ts +86 -0
  348. package/src/types/aws-for-list-cloud-accounts-output.ts +29 -0
  349. package/src/types/certificate-for-list-cdn-domains-output.ts +102 -0
  350. package/src/types/child-for-list-alert-meta-metrics-output.ts +58 -0
  351. package/src/types/cloud-account-for-list-cloud-accounts-output.ts +136 -0
  352. package/src/types/condition-for-describe-alert-strategy-output.ts +64 -0
  353. package/src/types/condition-for-list-alert-strategies-output.ts +64 -0
  354. package/src/types/configs-for-list-cdn-domains-output.ts +29 -0
  355. package/src/types/contact-group-for-describe-alert-strategy-output.ts +34 -0
  356. package/src/types/contact-group-for-list-alert-strategies-output.ts +34 -0
  357. package/src/types/contact-robot-for-describe-alert-strategy-output.ts +40 -0
  358. package/src/types/contact-robot-for-list-alert-strategies-output.ts +40 -0
  359. package/src/types/content-settings-for-list-cloud-accounts-output.ts +29 -0
  360. package/src/types/convert-aws-for-list-cloud-accounts-output.ts +40 -0
  361. package/src/types/country-for-describe-cdn-region-and-isp-output.ts +36 -0
  362. package/src/types/country-for-list-views-output.ts +54 -0
  363. package/src/types/data-for-list-alert-meta-metrics-output.ts +35 -0
  364. package/src/types/data-for-list-alert-strategies-output.ts +86 -0
  365. package/src/types/delete-dns-schedule-static-weight-request.ts +34 -0
  366. package/src/types/delete-dns-schedule-static-weight-response.ts +22 -0
  367. package/src/types/describe-alert-strategy-request.ts +28 -0
  368. package/src/types/describe-alert-strategy-response.ts +29 -0
  369. package/src/types/describe-cdn-access-log-request.ts +65 -0
  370. package/src/types/describe-cdn-access-log-response.ts +36 -0
  371. package/src/types/describe-cdn-data-offline-request.ts +94 -0
  372. package/src/types/describe-cdn-data-offline-response.ts +29 -0
  373. package/src/types/describe-cdn-origin-data-offline-request.ts +100 -0
  374. package/src/types/describe-cdn-origin-data-offline-response.ts +29 -0
  375. package/src/types/describe-cdn-region-and-isp-request.ts +22 -0
  376. package/src/types/describe-cdn-region-and-isp-response.ts +36 -0
  377. package/src/types/describe-cdn-top-ip-request.ts +64 -0
  378. package/src/types/describe-cdn-top-ip-response.ts +36 -0
  379. package/src/types/describe-cdn-top-url-request.ts +64 -0
  380. package/src/types/describe-cdn-top-url-response.ts +36 -0
  381. package/src/types/describe-content-quota-request.ts +28 -0
  382. package/src/types/describe-content-quota-response.ts +36 -0
  383. package/src/types/describe-content-task-by-task-id-request.ts +34 -0
  384. package/src/types/describe-content-task-by-task-id-response.ts +36 -0
  385. package/src/types/describe-dns-schedule-active-weights-request.ts +28 -0
  386. package/src/types/describe-dns-schedule-active-weights-response.ts +35 -0
  387. package/src/types/describe-dns-schedule-request.ts +28 -0
  388. package/src/types/describe-dns-schedule-response.ts +36 -0
  389. package/src/types/describe-dns-schedule-static-weights-request.ts +28 -0
  390. package/src/types/describe-dns-schedule-static-weights-response.ts +42 -0
  391. package/src/types/disable-dns-schedule-domain-request.ts +34 -0
  392. package/src/types/disable-dns-schedule-domain-response.ts +22 -0
  393. package/src/types/dns-schedule-for-list-dns-schedules-output.ts +94 -0
  394. package/src/types/dns-schedule-info-for-describe-dns-schedule-output.ts +96 -0
  395. package/src/types/domain-for-describe-alert-strategy-output.ts +34 -0
  396. package/src/types/domain-for-list-alert-strategies-output.ts +34 -0
  397. package/src/types/domain-for-list-cdn-domains-output.ts +176 -0
  398. package/src/types/domain-settings-for-list-cloud-accounts-output.ts +29 -0
  399. package/src/types/domain-sync-status-state-for-list-cloud-accounts-output.ts +34 -0
  400. package/src/types/domestic-domain-for-describe-dns-schedule-output.ts +88 -0
  401. package/src/types/enable-dns-schedule-domain-request.ts +34 -0
  402. package/src/types/enable-dns-schedule-domain-response.ts +22 -0
  403. package/src/types/error-for-describe-cdn-top-ip-output.ts +34 -0
  404. package/src/types/error-for-describe-cdn-top-url-output.ts +34 -0
  405. package/src/types/error-for-describe-content-quota-output.ts +34 -0
  406. package/src/types/error-for-describe-content-task-by-task-id-output.ts +34 -0
  407. package/src/types/extra-for-list-cloud-accounts-output.ts +64 -0
  408. package/src/types/global-domain-for-describe-dns-schedule-output.ts +88 -0
  409. package/src/types/host-for-list-cdn-domains-output.ts +34 -0
  410. package/src/types/index.ts +163 -0
  411. package/src/types/ip-for-describe-cdn-top-ip-output.ts +40 -0
  412. package/src/types/isp-for-describe-cdn-region-and-isp-output.ts +34 -0
  413. package/src/types/isp-for-list-views-output.ts +34 -0
  414. package/src/types/list-alert-meta-metrics-request.ts +29 -0
  415. package/src/types/list-alert-meta-metrics-response.ts +36 -0
  416. package/src/types/list-alert-strategies-request.ts +53 -0
  417. package/src/types/list-alert-strategies-response.ts +36 -0
  418. package/src/types/list-cdn-domains-request.ts +102 -0
  419. package/src/types/list-cdn-domains-response.ts +36 -0
  420. package/src/types/list-cloud-accounts-request.ts +65 -0
  421. package/src/types/list-cloud-accounts-response.ts +36 -0
  422. package/src/types/list-content-tasks-request.ts +71 -0
  423. package/src/types/list-content-tasks-response.ts +36 -0
  424. package/src/types/list-dns-schedules-request.ts +89 -0
  425. package/src/types/list-dns-schedules-response.ts +36 -0
  426. package/src/types/list-vendor-content-task-request.ts +77 -0
  427. package/src/types/list-vendor-content-task-response.ts +36 -0
  428. package/src/types/list-views-request.ts +22 -0
  429. package/src/types/list-views-response.ts +35 -0
  430. package/src/types/log-for-describe-cdn-access-log-output.ts +35 -0
  431. package/src/types/log-info-for-describe-cdn-access-log-output.ts +52 -0
  432. package/src/types/metric-for-describe-cdn-data-offline-output.ts +35 -0
  433. package/src/types/metric-for-describe-cdn-origin-data-offline-output.ts +35 -0
  434. package/src/types/name-pair-for-describe-cdn-region-and-isp-output.ts +34 -0
  435. package/src/types/network-for-list-cdn-domains-output.ts +34 -0
  436. package/src/types/notify-config-for-describe-alert-strategy-output.ts +40 -0
  437. package/src/types/notify-config-for-list-alert-strategies-output.ts +40 -0
  438. package/src/types/offline-data-setting-for-list-cloud-accounts-output.ts +34 -0
  439. package/src/types/origin-for-list-cdn-domains-output.ts +65 -0
  440. package/src/types/pagination-for-describe-cdn-access-log-input.ts +34 -0
  441. package/src/types/pagination-for-describe-cdn-access-log-output.ts +40 -0
  442. package/src/types/pagination-for-list-alert-meta-metrics-output.ts +40 -0
  443. package/src/types/pagination-for-list-alert-strategies-input.ts +34 -0
  444. package/src/types/pagination-for-list-alert-strategies-output.ts +40 -0
  445. package/src/types/pagination-for-list-cdn-domains-input.ts +34 -0
  446. package/src/types/pagination-for-list-cdn-domains-output.ts +40 -0
  447. package/src/types/pagination-for-list-cloud-accounts-input.ts +34 -0
  448. package/src/types/pagination-for-list-cloud-accounts-output.ts +40 -0
  449. package/src/types/pagination-for-list-content-tasks-input.ts +34 -0
  450. package/src/types/pagination-for-list-content-tasks-output.ts +40 -0
  451. package/src/types/pagination-for-list-dns-schedules-input.ts +34 -0
  452. package/src/types/pagination-for-list-dns-schedules-output.ts +40 -0
  453. package/src/types/pagination-for-list-vendor-content-task-input.ts +34 -0
  454. package/src/types/pagination-for-list-vendor-content-task-output.ts +40 -0
  455. package/src/types/paging-option-for-list-alert-meta-metrics-input.ts +34 -0
  456. package/src/types/permission-state-for-list-cloud-accounts-output.ts +28 -0
  457. package/src/types/preload-for-list-cloud-accounts-output.ts +46 -0
  458. package/src/types/probe-task-for-describe-alert-strategy-output.ts +34 -0
  459. package/src/types/probe-task-for-list-alert-strategies-output.ts +34 -0
  460. package/src/types/province-for-list-views-output.ts +40 -0
  461. package/src/types/quota-for-describe-content-quota-output.ts +94 -0
  462. package/src/types/region-for-describe-cdn-region-and-isp-output.ts +34 -0
  463. package/src/types/resource-for-describe-cdn-data-offline-output.ts +35 -0
  464. package/src/types/resource-for-describe-cdn-origin-data-offline-output.ts +35 -0
  465. package/src/types/stat-settings-for-list-cloud-accounts-output.ts +36 -0
  466. package/src/types/stat-sync-status-state-for-list-cloud-accounts-output.ts +34 -0
  467. package/src/types/static-weight-for-add-dns-schedule-static-weight-output.ts +53 -0
  468. package/src/types/static-weight-for-describe-dns-schedule-static-weights-output.ts +53 -0
  469. package/src/types/sub-task-for-describe-content-task-by-task-id-output.ts +94 -0
  470. package/src/types/sub-task-for-list-content-tasks-output.ts +82 -0
  471. package/src/types/submit-oversea-preload-task-request.ts +40 -0
  472. package/src/types/submit-oversea-preload-task-response.ts +34 -0
  473. package/src/types/submit-preload-task-request.ts +40 -0
  474. package/src/types/submit-preload-task-response.ts +34 -0
  475. package/src/types/submit-refresh-task-request.ts +40 -0
  476. package/src/types/submit-refresh-task-response.ts +34 -0
  477. package/src/types/subscribe-rule-for-describe-alert-strategy-output.ts +43 -0
  478. package/src/types/subscribe-rule-for-list-alert-strategies-output.ts +43 -0
  479. package/src/types/sync-detail-for-list-cdn-domains-output.ts +28 -0
  480. package/src/types/sync-status-state-for-list-cloud-accounts-output.ts +36 -0
  481. package/src/types/tag-filter-for-list-cdn-domains-input.ts +40 -0
  482. package/src/types/tag-for-list-cdn-domains-output.ts +34 -0
  483. package/src/types/task-for-list-content-tasks-output.ts +65 -0
  484. package/src/types/task-for-list-vendor-content-task-output.ts +52 -0
  485. package/src/types/template-info-for-describe-dns-schedule-static-weights-output.ts +40 -0
  486. package/src/types/ucloud-for-list-cloud-accounts-output.ts +28 -0
  487. package/src/types/update-dns-schedule-static-weight-request.ts +41 -0
  488. package/src/types/update-dns-schedule-static-weight-response.ts +22 -0
  489. package/src/types/url-for-describe-cdn-top-url-output.ts +40 -0
  490. package/src/types/value-for-describe-cdn-data-offline-output.ts +34 -0
  491. package/src/types/value-for-describe-cdn-origin-data-offline-output.ts +34 -0
  492. package/src/types/vendors-meta-data-for-describe-cdn-top-ip-output.ts +53 -0
  493. package/src/types/vendors-meta-data-for-describe-cdn-top-url-output.ts +53 -0
  494. package/src/types/vendors-meta-data-for-describe-content-quota-output.ts +59 -0
  495. package/src/types/vendors-meta-data-for-describe-content-task-by-task-id-output.ts +59 -0
  496. package/src/types/volc-ids-sync-detail-for-list-cdn-domains-output.ts +28 -0
  497. package/src/types/weight-failover-info-for-describe-dns-schedule-active-weights-output.ts +40 -0
  498. package/src/types/weight-failover-info-for-describe-dns-schedule-output.ts +40 -0
  499. package/src/types/weight-info-for-describe-dns-schedule-output.ts +72 -0
  500. package/src/types/weight-info-item-for-describe-dns-schedule-active-weights-output.ts +40 -0
  501. package/src/types/weight-info-item-for-describe-dns-schedule-output.ts +40 -0
  502. package/src/types/weight-item-for-add-dns-schedule-static-weight-input.ts +34 -0
  503. package/src/types/weight-item-for-add-dns-schedule-static-weight-output.ts +34 -0
  504. package/src/types/weight-item-for-describe-dns-schedule-static-weights-output.ts +34 -0
  505. package/src/types/weight-item-for-update-dns-schedule-static-weight-input.ts +34 -0
  506. package/tsconfig.json +12 -0
package/src/api.ts ADDED
@@ -0,0 +1,571 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * mcdn
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 { AddDnsScheduleStaticWeightRequest } from './types/index';
18
+ import { AddDnsScheduleStaticWeightResponse } from './types/index';
19
+ import { DeleteDnsScheduleStaticWeightRequest } from './types/index';
20
+ import { DeleteDnsScheduleStaticWeightResponse } from './types/index';
21
+ import { DescribeAlertStrategyRequest } from './types/index';
22
+ import { DescribeAlertStrategyResponse } from './types/index';
23
+ import { DescribeCdnAccessLogRequest } from './types/index';
24
+ import { DescribeCdnAccessLogResponse } from './types/index';
25
+ import { DescribeCdnDataOfflineRequest } from './types/index';
26
+ import { DescribeCdnDataOfflineResponse } from './types/index';
27
+ import { DescribeCdnOriginDataOfflineRequest } from './types/index';
28
+ import { DescribeCdnOriginDataOfflineResponse } from './types/index';
29
+ import { DescribeCdnRegionAndIspRequest } from './types/index';
30
+ import { DescribeCdnRegionAndIspResponse } from './types/index';
31
+ import { DescribeCdnTopIpRequest } from './types/index';
32
+ import { DescribeCdnTopIpResponse } from './types/index';
33
+ import { DescribeCdnTopUrlRequest } from './types/index';
34
+ import { DescribeCdnTopUrlResponse } from './types/index';
35
+ import { DescribeContentQuotaRequest } from './types/index';
36
+ import { DescribeContentQuotaResponse } from './types/index';
37
+ import { DescribeContentTaskByTaskIdRequest } from './types/index';
38
+ import { DescribeContentTaskByTaskIdResponse } from './types/index';
39
+ import { DescribeDnsScheduleActiveWeightsRequest } from './types/index';
40
+ import { DescribeDnsScheduleActiveWeightsResponse } from './types/index';
41
+ import { DescribeDnsScheduleRequest } from './types/index';
42
+ import { DescribeDnsScheduleResponse } from './types/index';
43
+ import { DescribeDnsScheduleStaticWeightsRequest } from './types/index';
44
+ import { DescribeDnsScheduleStaticWeightsResponse } from './types/index';
45
+ import { DisableDnsScheduleDomainRequest } from './types/index';
46
+ import { DisableDnsScheduleDomainResponse } from './types/index';
47
+ import { EnableDnsScheduleDomainRequest } from './types/index';
48
+ import { EnableDnsScheduleDomainResponse } from './types/index';
49
+ import { ListAlertMetaMetricsRequest } from './types/index';
50
+ import { ListAlertMetaMetricsResponse } from './types/index';
51
+ import { ListAlertStrategiesRequest } from './types/index';
52
+ import { ListAlertStrategiesResponse } from './types/index';
53
+ import { ListCdnDomainsRequest } from './types/index';
54
+ import { ListCdnDomainsResponse } from './types/index';
55
+ import { ListCloudAccountsRequest } from './types/index';
56
+ import { ListCloudAccountsResponse } from './types/index';
57
+ import { ListContentTasksRequest } from './types/index';
58
+ import { ListContentTasksResponse } from './types/index';
59
+ import { ListDnsSchedulesRequest } from './types/index';
60
+ import { ListDnsSchedulesResponse } from './types/index';
61
+ import { ListVendorContentTaskRequest } from './types/index';
62
+ import { ListVendorContentTaskResponse } from './types/index';
63
+ import { ListViewsRequest } from './types/index';
64
+ import { ListViewsResponse } from './types/index';
65
+ import { SubmitOverseaPreloadTaskRequest } from './types/index';
66
+ import { SubmitOverseaPreloadTaskResponse } from './types/index';
67
+ import { SubmitPreloadTaskRequest } from './types/index';
68
+ import { SubmitPreloadTaskResponse } from './types/index';
69
+ import { SubmitRefreshTaskRequest } from './types/index';
70
+ import { SubmitRefreshTaskResponse } from './types/index';
71
+ import { UpdateDnsScheduleStaticWeightRequest } from './types/index';
72
+ import { UpdateDnsScheduleStaticWeightResponse } from './types/index';
73
+
74
+ // ============================================================================
75
+ // Output Type Definitions
76
+ // ============================================================================
77
+ export type AddDnsScheduleStaticWeightCommandOutput = CommandOutput<AddDnsScheduleStaticWeightResponse>;
78
+ export type DeleteDnsScheduleStaticWeightCommandOutput = CommandOutput<DeleteDnsScheduleStaticWeightResponse>;
79
+ export type DescribeAlertStrategyCommandOutput = CommandOutput<DescribeAlertStrategyResponse>;
80
+ export type DescribeCdnAccessLogCommandOutput = CommandOutput<DescribeCdnAccessLogResponse>;
81
+ export type DescribeCdnDataOfflineCommandOutput = CommandOutput<DescribeCdnDataOfflineResponse>;
82
+ export type DescribeCdnOriginDataOfflineCommandOutput = CommandOutput<DescribeCdnOriginDataOfflineResponse>;
83
+ export type DescribeCdnRegionAndIspCommandOutput = CommandOutput<DescribeCdnRegionAndIspResponse>;
84
+ export type DescribeCdnTopIpCommandOutput = CommandOutput<DescribeCdnTopIpResponse>;
85
+ export type DescribeCdnTopUrlCommandOutput = CommandOutput<DescribeCdnTopUrlResponse>;
86
+ export type DescribeContentQuotaCommandOutput = CommandOutput<DescribeContentQuotaResponse>;
87
+ export type DescribeContentTaskByTaskIdCommandOutput = CommandOutput<DescribeContentTaskByTaskIdResponse>;
88
+ export type DescribeDnsScheduleCommandOutput = CommandOutput<DescribeDnsScheduleResponse>;
89
+ export type DescribeDnsScheduleActiveWeightsCommandOutput = CommandOutput<DescribeDnsScheduleActiveWeightsResponse>;
90
+ export type DescribeDnsScheduleStaticWeightsCommandOutput = CommandOutput<DescribeDnsScheduleStaticWeightsResponse>;
91
+ export type DisableDnsScheduleDomainCommandOutput = CommandOutput<DisableDnsScheduleDomainResponse>;
92
+ export type EnableDnsScheduleDomainCommandOutput = CommandOutput<EnableDnsScheduleDomainResponse>;
93
+ export type ListAlertMetaMetricsCommandOutput = CommandOutput<ListAlertMetaMetricsResponse>;
94
+ export type ListAlertStrategiesCommandOutput = CommandOutput<ListAlertStrategiesResponse>;
95
+ export type ListCdnDomainsCommandOutput = CommandOutput<ListCdnDomainsResponse>;
96
+ export type ListCloudAccountsCommandOutput = CommandOutput<ListCloudAccountsResponse>;
97
+ export type ListContentTasksCommandOutput = CommandOutput<ListContentTasksResponse>;
98
+ export type ListDnsSchedulesCommandOutput = CommandOutput<ListDnsSchedulesResponse>;
99
+ export type ListVendorContentTaskCommandOutput = CommandOutput<ListVendorContentTaskResponse>;
100
+ export type ListViewsCommandOutput = CommandOutput<ListViewsResponse>;
101
+ export type SubmitOverseaPreloadTaskCommandOutput = CommandOutput<SubmitOverseaPreloadTaskResponse>;
102
+ export type SubmitPreloadTaskCommandOutput = CommandOutput<SubmitPreloadTaskResponse>;
103
+ export type SubmitRefreshTaskCommandOutput = CommandOutput<SubmitRefreshTaskResponse>;
104
+ export type UpdateDnsScheduleStaticWeightCommandOutput = CommandOutput<UpdateDnsScheduleStaticWeightResponse>;
105
+
106
+
107
+ /**
108
+ * MCDNClient Service Client
109
+ */
110
+ export class MCDNClient extends Client {
111
+ constructor(config: ClientConfig = {}) {
112
+ super({
113
+ protocol: 'https',
114
+ region: 'cn-beijing',
115
+ ...config,
116
+ });
117
+ }
118
+ }
119
+
120
+ /**
121
+ * Command to AddDnsScheduleStaticWeight
122
+ */
123
+ export class AddDnsScheduleStaticWeightCommand extends Command<
124
+ AddDnsScheduleStaticWeightRequest,
125
+ AddDnsScheduleStaticWeightCommandOutput,
126
+ 'AddDnsScheduleStaticWeightCommand'
127
+ > {
128
+ static readonly metaPath = '/AddDnsScheduleStaticWeight/2022-03-01/mcdn/post/application_json/';
129
+
130
+ constructor(input: AddDnsScheduleStaticWeightRequest) {
131
+ super(input);
132
+ this.requestConfig = buildRequestConfigFromMetaPath(AddDnsScheduleStaticWeightCommand.metaPath);
133
+ }
134
+ }
135
+ /**
136
+ * Command to DeleteDnsScheduleStaticWeight
137
+ */
138
+ export class DeleteDnsScheduleStaticWeightCommand extends Command<
139
+ DeleteDnsScheduleStaticWeightRequest,
140
+ DeleteDnsScheduleStaticWeightCommandOutput,
141
+ 'DeleteDnsScheduleStaticWeightCommand'
142
+ > {
143
+ static readonly metaPath = '/DeleteDnsScheduleStaticWeight/2022-03-01/mcdn/post/application_json/';
144
+
145
+ constructor(input: DeleteDnsScheduleStaticWeightRequest) {
146
+ super(input);
147
+ this.requestConfig = buildRequestConfigFromMetaPath(DeleteDnsScheduleStaticWeightCommand.metaPath);
148
+ }
149
+ }
150
+ /**
151
+ * Command to DescribeAlertStrategy
152
+ */
153
+ export class DescribeAlertStrategyCommand extends Command<
154
+ DescribeAlertStrategyRequest,
155
+ DescribeAlertStrategyCommandOutput,
156
+ 'DescribeAlertStrategyCommand'
157
+ > {
158
+ static readonly metaPath = '/DescribeAlertStrategy/2022-03-01/mcdn/post/application_json/';
159
+
160
+ constructor(input: DescribeAlertStrategyRequest) {
161
+ super(input);
162
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeAlertStrategyCommand.metaPath);
163
+ }
164
+ }
165
+ /**
166
+ * Command to DescribeCdnAccessLog
167
+ */
168
+ export class DescribeCdnAccessLogCommand extends Command<
169
+ DescribeCdnAccessLogRequest,
170
+ DescribeCdnAccessLogCommandOutput,
171
+ 'DescribeCdnAccessLogCommand'
172
+ > {
173
+ static readonly metaPath = '/DescribeCdnAccessLog/2022-03-01/mcdn/post/application_json/';
174
+
175
+ constructor(input: DescribeCdnAccessLogRequest) {
176
+ super(input);
177
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnAccessLogCommand.metaPath);
178
+ }
179
+ }
180
+ /**
181
+ * Command to DescribeCdnDataOffline
182
+ */
183
+ export class DescribeCdnDataOfflineCommand extends Command<
184
+ DescribeCdnDataOfflineRequest,
185
+ DescribeCdnDataOfflineCommandOutput,
186
+ 'DescribeCdnDataOfflineCommand'
187
+ > {
188
+ static readonly metaPath = '/DescribeCdnDataOffline/2022-03-01/mcdn/post/application_json/';
189
+
190
+ constructor(input: DescribeCdnDataOfflineRequest) {
191
+ super(input);
192
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnDataOfflineCommand.metaPath);
193
+ }
194
+ }
195
+ /**
196
+ * Command to DescribeCdnOriginDataOffline
197
+ */
198
+ export class DescribeCdnOriginDataOfflineCommand extends Command<
199
+ DescribeCdnOriginDataOfflineRequest,
200
+ DescribeCdnOriginDataOfflineCommandOutput,
201
+ 'DescribeCdnOriginDataOfflineCommand'
202
+ > {
203
+ static readonly metaPath = '/DescribeCdnOriginDataOffline/2022-03-01/mcdn/post/application_json/';
204
+
205
+ constructor(input: DescribeCdnOriginDataOfflineRequest) {
206
+ super(input);
207
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnOriginDataOfflineCommand.metaPath);
208
+ }
209
+ }
210
+ /**
211
+ * Command to DescribeCdnRegionAndIsp
212
+ */
213
+ export class DescribeCdnRegionAndIspCommand extends Command<
214
+ DescribeCdnRegionAndIspRequest,
215
+ DescribeCdnRegionAndIspCommandOutput,
216
+ 'DescribeCdnRegionAndIspCommand'
217
+ > {
218
+ static readonly metaPath = '/DescribeCdnRegionAndIsp/2022-03-01/mcdn/post/application_json/';
219
+
220
+ constructor(input: DescribeCdnRegionAndIspRequest) {
221
+ super(input);
222
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnRegionAndIspCommand.metaPath);
223
+ }
224
+ }
225
+ /**
226
+ * Command to DescribeCdnTopIp
227
+ */
228
+ export class DescribeCdnTopIpCommand extends Command<
229
+ DescribeCdnTopIpRequest,
230
+ DescribeCdnTopIpCommandOutput,
231
+ 'DescribeCdnTopIpCommand'
232
+ > {
233
+ static readonly metaPath = '/DescribeCdnTopIp/2022-03-01/mcdn/post/application_json/';
234
+
235
+ constructor(input: DescribeCdnTopIpRequest) {
236
+ super(input);
237
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnTopIpCommand.metaPath);
238
+ }
239
+ }
240
+ /**
241
+ * Command to DescribeCdnTopUrl
242
+ */
243
+ export class DescribeCdnTopUrlCommand extends Command<
244
+ DescribeCdnTopUrlRequest,
245
+ DescribeCdnTopUrlCommandOutput,
246
+ 'DescribeCdnTopUrlCommand'
247
+ > {
248
+ static readonly metaPath = '/DescribeCdnTopUrl/2022-03-01/mcdn/post/application_json/';
249
+
250
+ constructor(input: DescribeCdnTopUrlRequest) {
251
+ super(input);
252
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeCdnTopUrlCommand.metaPath);
253
+ }
254
+ }
255
+ /**
256
+ * Command to DescribeContentQuota
257
+ */
258
+ export class DescribeContentQuotaCommand extends Command<
259
+ DescribeContentQuotaRequest,
260
+ DescribeContentQuotaCommandOutput,
261
+ 'DescribeContentQuotaCommand'
262
+ > {
263
+ static readonly metaPath = '/DescribeContentQuota/2022-03-01/mcdn/post/application_json/';
264
+
265
+ constructor(input: DescribeContentQuotaRequest) {
266
+ super(input);
267
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeContentQuotaCommand.metaPath);
268
+ }
269
+ }
270
+ /**
271
+ * Command to DescribeContentTaskByTaskId
272
+ */
273
+ export class DescribeContentTaskByTaskIdCommand extends Command<
274
+ DescribeContentTaskByTaskIdRequest,
275
+ DescribeContentTaskByTaskIdCommandOutput,
276
+ 'DescribeContentTaskByTaskIdCommand'
277
+ > {
278
+ static readonly metaPath = '/DescribeContentTaskByTaskId/2022-03-01/mcdn/post/application_json/';
279
+
280
+ constructor(input: DescribeContentTaskByTaskIdRequest) {
281
+ super(input);
282
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeContentTaskByTaskIdCommand.metaPath);
283
+ }
284
+ }
285
+ /**
286
+ * Command to DescribeDnsSchedule
287
+ */
288
+ export class DescribeDnsScheduleCommand extends Command<
289
+ DescribeDnsScheduleRequest,
290
+ DescribeDnsScheduleCommandOutput,
291
+ 'DescribeDnsScheduleCommand'
292
+ > {
293
+ static readonly metaPath = '/DescribeDnsSchedule/2022-03-01/mcdn/post/application_json/';
294
+
295
+ constructor(input: DescribeDnsScheduleRequest) {
296
+ super(input);
297
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeDnsScheduleCommand.metaPath);
298
+ }
299
+ }
300
+ /**
301
+ * Command to DescribeDnsScheduleActiveWeights
302
+ */
303
+ export class DescribeDnsScheduleActiveWeightsCommand extends Command<
304
+ DescribeDnsScheduleActiveWeightsRequest,
305
+ DescribeDnsScheduleActiveWeightsCommandOutput,
306
+ 'DescribeDnsScheduleActiveWeightsCommand'
307
+ > {
308
+ static readonly metaPath = '/DescribeDnsScheduleActiveWeights/2022-03-01/mcdn/post/application_json/';
309
+
310
+ constructor(input: DescribeDnsScheduleActiveWeightsRequest) {
311
+ super(input);
312
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeDnsScheduleActiveWeightsCommand.metaPath);
313
+ }
314
+ }
315
+ /**
316
+ * Command to DescribeDnsScheduleStaticWeights
317
+ */
318
+ export class DescribeDnsScheduleStaticWeightsCommand extends Command<
319
+ DescribeDnsScheduleStaticWeightsRequest,
320
+ DescribeDnsScheduleStaticWeightsCommandOutput,
321
+ 'DescribeDnsScheduleStaticWeightsCommand'
322
+ > {
323
+ static readonly metaPath = '/DescribeDnsScheduleStaticWeights/2022-03-01/mcdn/post/application_json/';
324
+
325
+ constructor(input: DescribeDnsScheduleStaticWeightsRequest) {
326
+ super(input);
327
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeDnsScheduleStaticWeightsCommand.metaPath);
328
+ }
329
+ }
330
+ /**
331
+ * Command to DisableDnsScheduleDomain
332
+ */
333
+ export class DisableDnsScheduleDomainCommand extends Command<
334
+ DisableDnsScheduleDomainRequest,
335
+ DisableDnsScheduleDomainCommandOutput,
336
+ 'DisableDnsScheduleDomainCommand'
337
+ > {
338
+ static readonly metaPath = '/DisableDnsScheduleDomain/2022-03-01/mcdn/post/application_json/';
339
+
340
+ constructor(input: DisableDnsScheduleDomainRequest) {
341
+ super(input);
342
+ this.requestConfig = buildRequestConfigFromMetaPath(DisableDnsScheduleDomainCommand.metaPath);
343
+ }
344
+ }
345
+ /**
346
+ * Command to EnableDnsScheduleDomain
347
+ */
348
+ export class EnableDnsScheduleDomainCommand extends Command<
349
+ EnableDnsScheduleDomainRequest,
350
+ EnableDnsScheduleDomainCommandOutput,
351
+ 'EnableDnsScheduleDomainCommand'
352
+ > {
353
+ static readonly metaPath = '/EnableDnsScheduleDomain/2022-03-01/mcdn/post/application_json/';
354
+
355
+ constructor(input: EnableDnsScheduleDomainRequest) {
356
+ super(input);
357
+ this.requestConfig = buildRequestConfigFromMetaPath(EnableDnsScheduleDomainCommand.metaPath);
358
+ }
359
+ }
360
+ /**
361
+ * Command to ListAlertMetaMetrics
362
+ */
363
+ export class ListAlertMetaMetricsCommand extends Command<
364
+ ListAlertMetaMetricsRequest,
365
+ ListAlertMetaMetricsCommandOutput,
366
+ 'ListAlertMetaMetricsCommand'
367
+ > {
368
+ static readonly metaPath = '/ListAlertMetaMetrics/2022-03-01/mcdn/post/application_json/';
369
+
370
+ constructor(input: ListAlertMetaMetricsRequest) {
371
+ super(input);
372
+ this.requestConfig = buildRequestConfigFromMetaPath(ListAlertMetaMetricsCommand.metaPath);
373
+ }
374
+ }
375
+ /**
376
+ * Command to ListAlertStrategies
377
+ */
378
+ export class ListAlertStrategiesCommand extends Command<
379
+ ListAlertStrategiesRequest,
380
+ ListAlertStrategiesCommandOutput,
381
+ 'ListAlertStrategiesCommand'
382
+ > {
383
+ static readonly metaPath = '/ListAlertStrategies/2022-03-01/mcdn/post/application_json/';
384
+
385
+ constructor(input: ListAlertStrategiesRequest) {
386
+ super(input);
387
+ this.requestConfig = buildRequestConfigFromMetaPath(ListAlertStrategiesCommand.metaPath);
388
+ }
389
+ }
390
+ /**
391
+ * Command to ListCdnDomains
392
+ */
393
+ export class ListCdnDomainsCommand extends Command<
394
+ ListCdnDomainsRequest,
395
+ ListCdnDomainsCommandOutput,
396
+ 'ListCdnDomainsCommand'
397
+ > {
398
+ static readonly metaPath = '/ListCdnDomains/2022-03-01/mcdn/post/application_json/';
399
+
400
+ constructor(input: ListCdnDomainsRequest) {
401
+ super(input);
402
+ this.requestConfig = buildRequestConfigFromMetaPath(ListCdnDomainsCommand.metaPath);
403
+ }
404
+ }
405
+ /**
406
+ * Command to ListCloudAccounts
407
+ */
408
+ export class ListCloudAccountsCommand extends Command<
409
+ ListCloudAccountsRequest,
410
+ ListCloudAccountsCommandOutput,
411
+ 'ListCloudAccountsCommand'
412
+ > {
413
+ static readonly metaPath = '/ListCloudAccounts/2022-03-01/mcdn/post/application_json/';
414
+
415
+ constructor(input: ListCloudAccountsRequest) {
416
+ super(input);
417
+ this.requestConfig = buildRequestConfigFromMetaPath(ListCloudAccountsCommand.metaPath);
418
+ }
419
+ }
420
+ /**
421
+ * Command to ListContentTasks
422
+ */
423
+ export class ListContentTasksCommand extends Command<
424
+ ListContentTasksRequest,
425
+ ListContentTasksCommandOutput,
426
+ 'ListContentTasksCommand'
427
+ > {
428
+ static readonly metaPath = '/ListContentTasks/2022-03-01/mcdn/post/application_json/';
429
+
430
+ constructor(input: ListContentTasksRequest) {
431
+ super(input);
432
+ this.requestConfig = buildRequestConfigFromMetaPath(ListContentTasksCommand.metaPath);
433
+ }
434
+ }
435
+ /**
436
+ * Command to ListDnsSchedules
437
+ */
438
+ export class ListDnsSchedulesCommand extends Command<
439
+ ListDnsSchedulesRequest,
440
+ ListDnsSchedulesCommandOutput,
441
+ 'ListDnsSchedulesCommand'
442
+ > {
443
+ static readonly metaPath = '/ListDnsSchedules/2022-03-01/mcdn/post/application_json/';
444
+
445
+ constructor(input: ListDnsSchedulesRequest) {
446
+ super(input);
447
+ this.requestConfig = buildRequestConfigFromMetaPath(ListDnsSchedulesCommand.metaPath);
448
+ }
449
+ }
450
+ /**
451
+ * Command to ListVendorContentTask
452
+ */
453
+ export class ListVendorContentTaskCommand extends Command<
454
+ ListVendorContentTaskRequest,
455
+ ListVendorContentTaskCommandOutput,
456
+ 'ListVendorContentTaskCommand'
457
+ > {
458
+ static readonly metaPath = '/ListVendorContentTask/2022-03-01/mcdn/post/application_json/';
459
+
460
+ constructor(input: ListVendorContentTaskRequest) {
461
+ super(input);
462
+ this.requestConfig = buildRequestConfigFromMetaPath(ListVendorContentTaskCommand.metaPath);
463
+ }
464
+ }
465
+ /**
466
+ * Command to ListViews
467
+ */
468
+ export class ListViewsCommand extends Command<
469
+ ListViewsRequest,
470
+ ListViewsCommandOutput,
471
+ 'ListViewsCommand'
472
+ > {
473
+ static readonly metaPath = '/ListViews/2022-03-01/mcdn/post/application_json/';
474
+
475
+ constructor(input: ListViewsRequest) {
476
+ super(input);
477
+ this.requestConfig = buildRequestConfigFromMetaPath(ListViewsCommand.metaPath);
478
+ }
479
+ }
480
+ /**
481
+ * Command to SubmitOverseaPreloadTask
482
+ */
483
+ export class SubmitOverseaPreloadTaskCommand extends Command<
484
+ SubmitOverseaPreloadTaskRequest,
485
+ SubmitOverseaPreloadTaskCommandOutput,
486
+ 'SubmitOverseaPreloadTaskCommand'
487
+ > {
488
+ static readonly metaPath = '/SubmitOverseaPreloadTask/2022-03-01/mcdn/post/application_json/';
489
+
490
+ constructor(input: SubmitOverseaPreloadTaskRequest) {
491
+ super(input);
492
+ this.requestConfig = buildRequestConfigFromMetaPath(SubmitOverseaPreloadTaskCommand.metaPath);
493
+ }
494
+ }
495
+ /**
496
+ * Command to SubmitPreloadTask
497
+ */
498
+ export class SubmitPreloadTaskCommand extends Command<
499
+ SubmitPreloadTaskRequest,
500
+ SubmitPreloadTaskCommandOutput,
501
+ 'SubmitPreloadTaskCommand'
502
+ > {
503
+ static readonly metaPath = '/SubmitPreloadTask/2022-03-01/mcdn/post/application_json/';
504
+
505
+ constructor(input: SubmitPreloadTaskRequest) {
506
+ super(input);
507
+ this.requestConfig = buildRequestConfigFromMetaPath(SubmitPreloadTaskCommand.metaPath);
508
+ }
509
+ }
510
+ /**
511
+ * Command to SubmitRefreshTask
512
+ */
513
+ export class SubmitRefreshTaskCommand extends Command<
514
+ SubmitRefreshTaskRequest,
515
+ SubmitRefreshTaskCommandOutput,
516
+ 'SubmitRefreshTaskCommand'
517
+ > {
518
+ static readonly metaPath = '/SubmitRefreshTask/2022-03-01/mcdn/post/application_json/';
519
+
520
+ constructor(input: SubmitRefreshTaskRequest) {
521
+ super(input);
522
+ this.requestConfig = buildRequestConfigFromMetaPath(SubmitRefreshTaskCommand.metaPath);
523
+ }
524
+ }
525
+ /**
526
+ * Command to UpdateDnsScheduleStaticWeight
527
+ */
528
+ export class UpdateDnsScheduleStaticWeightCommand extends Command<
529
+ UpdateDnsScheduleStaticWeightRequest,
530
+ UpdateDnsScheduleStaticWeightCommandOutput,
531
+ 'UpdateDnsScheduleStaticWeightCommand'
532
+ > {
533
+ static readonly metaPath = '/UpdateDnsScheduleStaticWeight/2022-03-01/mcdn/post/application_json/';
534
+
535
+ constructor(input: UpdateDnsScheduleStaticWeightRequest) {
536
+ super(input);
537
+ this.requestConfig = buildRequestConfigFromMetaPath(UpdateDnsScheduleStaticWeightCommand.metaPath);
538
+ }
539
+ }
540
+
541
+ export default {
542
+ MCDNClient,
543
+ AddDnsScheduleStaticWeightCommand,
544
+ DeleteDnsScheduleStaticWeightCommand,
545
+ DescribeAlertStrategyCommand,
546
+ DescribeCdnAccessLogCommand,
547
+ DescribeCdnDataOfflineCommand,
548
+ DescribeCdnOriginDataOfflineCommand,
549
+ DescribeCdnRegionAndIspCommand,
550
+ DescribeCdnTopIpCommand,
551
+ DescribeCdnTopUrlCommand,
552
+ DescribeContentQuotaCommand,
553
+ DescribeContentTaskByTaskIdCommand,
554
+ DescribeDnsScheduleCommand,
555
+ DescribeDnsScheduleActiveWeightsCommand,
556
+ DescribeDnsScheduleStaticWeightsCommand,
557
+ DisableDnsScheduleDomainCommand,
558
+ EnableDnsScheduleDomainCommand,
559
+ ListAlertMetaMetricsCommand,
560
+ ListAlertStrategiesCommand,
561
+ ListCdnDomainsCommand,
562
+ ListCloudAccountsCommand,
563
+ ListContentTasksCommand,
564
+ ListDnsSchedulesCommand,
565
+ ListVendorContentTaskCommand,
566
+ ListViewsCommand,
567
+ SubmitOverseaPreloadTaskCommand,
568
+ SubmitPreloadTaskCommand,
569
+ SubmitRefreshTaskCommand,
570
+ UpdateDnsScheduleStaticWeightCommand,
571
+ };
package/src/index.ts ADDED
@@ -0,0 +1,14 @@
1
+ // tslint:disable
2
+ /**
3
+ * mcdn
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";
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * mcdn
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 { WeightFailoverInfoForDescribeDnsScheduleActiveWeightsOutput } from './weight-failover-info-for-describe-dns-schedule-active-weights-output';
16
+ import { WeightInfoItemForDescribeDnsScheduleActiveWeightsOutput } from './weight-info-item-for-describe-dns-schedule-active-weights-output';
17
+ /**
18
+ *
19
+ *
20
+ * @export
21
+ * @interface ActiveWeightForDescribeDnsScheduleActiveWeightsOutput
22
+ */
23
+ export interface ActiveWeightForDescribeDnsScheduleActiveWeightsOutput {
24
+
25
+ /**
26
+ * @type {string}
27
+ * @memberof ActiveWeightForDescribeDnsScheduleActiveWeightsOutput
28
+ */
29
+ Country?: string;
30
+
31
+ /**
32
+ * @type {boolean}
33
+ * @memberof ActiveWeightForDescribeDnsScheduleActiveWeightsOutput
34
+ */
35
+ IsFailover?: boolean;
36
+
37
+ /**
38
+ * @type {string}
39
+ * @memberof ActiveWeightForDescribeDnsScheduleActiveWeightsOutput
40
+ */
41
+ Isp?: string;
42
+
43
+ /**
44
+ * @type {string}
45
+ * @memberof ActiveWeightForDescribeDnsScheduleActiveWeightsOutput
46
+ */
47
+ Province?: string;
48
+
49
+ /**
50
+ * @type {string}
51
+ * @memberof ActiveWeightForDescribeDnsScheduleActiveWeightsOutput
52
+ */
53
+ RelatedStrategyId?: string;
54
+
55
+ /**
56
+ * @type {string}
57
+ * @memberof ActiveWeightForDescribeDnsScheduleActiveWeightsOutput
58
+ */
59
+ Strategy?: string;
60
+
61
+ /**
62
+ * @type {Array<WeightFailoverInfoForDescribeDnsScheduleActiveWeightsOutput>}
63
+ * @memberof ActiveWeightForDescribeDnsScheduleActiveWeightsOutput
64
+ */
65
+ WeightFailoverInfos?: Array<WeightFailoverInfoForDescribeDnsScheduleActiveWeightsOutput>;
66
+
67
+ /**
68
+ * @type {Array<WeightInfoItemForDescribeDnsScheduleActiveWeightsOutput>}
69
+ * @memberof ActiveWeightForDescribeDnsScheduleActiveWeightsOutput
70
+ */
71
+ WeightInfoItems?: Array<WeightInfoItemForDescribeDnsScheduleActiveWeightsOutput>;
72
+ }