@alicloud/bdrc20230808 1.0.1 → 2.0.0

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 (381) hide show
  1. package/dist/client.d.ts +355 -1677
  2. package/dist/client.js +977 -1490
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CheckRulesRequest.d.ts +31 -0
  5. package/dist/models/CheckRulesRequest.js +60 -0
  6. package/dist/models/CheckRulesRequest.js.map +1 -0
  7. package/dist/models/CheckRulesResponse.d.ts +19 -0
  8. package/dist/models/CheckRulesResponse.js +69 -0
  9. package/dist/models/CheckRulesResponse.js.map +1 -0
  10. package/dist/models/CheckRulesResponseBody.d.ts +48 -0
  11. package/dist/models/CheckRulesResponseBody.js +84 -0
  12. package/dist/models/CheckRulesResponseBody.js.map +1 -0
  13. package/dist/models/CloseBdrcServiceResponse.d.ts +19 -0
  14. package/dist/models/CloseBdrcServiceResponse.js +69 -0
  15. package/dist/models/CloseBdrcServiceResponse.js.map +1 -0
  16. package/dist/models/CloseBdrcServiceResponseBody.d.ts +21 -0
  17. package/dist/models/CloseBdrcServiceResponseBody.js +58 -0
  18. package/dist/models/CloseBdrcServiceResponseBody.js.map +1 -0
  19. package/dist/models/CreateProtectionPolicyRequest.d.ts +87 -0
  20. package/dist/models/CreateProtectionPolicyRequest.js +93 -0
  21. package/dist/models/CreateProtectionPolicyRequest.js.map +1 -0
  22. package/dist/models/CreateProtectionPolicyResponse.d.ts +19 -0
  23. package/dist/models/CreateProtectionPolicyResponse.js +69 -0
  24. package/dist/models/CreateProtectionPolicyResponse.js.map +1 -0
  25. package/dist/models/CreateProtectionPolicyResponseBody.d.ts +46 -0
  26. package/dist/models/CreateProtectionPolicyResponseBody.js +82 -0
  27. package/dist/models/CreateProtectionPolicyResponseBody.js.map +1 -0
  28. package/dist/models/CreateProtectionPolicyShrinkRequest.d.ts +57 -0
  29. package/dist/models/CreateProtectionPolicyShrinkRequest.js +66 -0
  30. package/dist/models/CreateProtectionPolicyShrinkRequest.js.map +1 -0
  31. package/dist/models/CreateResourceCategoryRequest.d.ts +70 -0
  32. package/dist/models/CreateResourceCategoryRequest.js +62 -0
  33. package/dist/models/CreateResourceCategoryRequest.js.map +1 -0
  34. package/dist/models/CreateResourceCategoryResponse.d.ts +19 -0
  35. package/dist/models/CreateResourceCategoryResponse.js +69 -0
  36. package/dist/models/CreateResourceCategoryResponse.js.map +1 -0
  37. package/dist/models/CreateResourceCategoryResponseBody.d.ts +46 -0
  38. package/dist/models/CreateResourceCategoryResponseBody.js +82 -0
  39. package/dist/models/CreateResourceCategoryResponseBody.js.map +1 -0
  40. package/dist/models/DeleteProtectionPolicyRequest.d.ts +13 -0
  41. package/dist/models/DeleteProtectionPolicyRequest.js +54 -0
  42. package/dist/models/DeleteProtectionPolicyRequest.js.map +1 -0
  43. package/dist/models/DeleteProtectionPolicyResponse.d.ts +19 -0
  44. package/dist/models/DeleteProtectionPolicyResponse.js +69 -0
  45. package/dist/models/DeleteProtectionPolicyResponse.js.map +1 -0
  46. package/dist/models/DeleteProtectionPolicyResponseBody.d.ts +21 -0
  47. package/dist/models/DeleteProtectionPolicyResponseBody.js +58 -0
  48. package/dist/models/DeleteProtectionPolicyResponseBody.js.map +1 -0
  49. package/dist/models/DeleteResourceCategoryRequest.d.ts +23 -0
  50. package/dist/models/DeleteResourceCategoryRequest.js +58 -0
  51. package/dist/models/DeleteResourceCategoryRequest.js.map +1 -0
  52. package/dist/models/DeleteResourceCategoryResponse.d.ts +19 -0
  53. package/dist/models/DeleteResourceCategoryResponse.js +69 -0
  54. package/dist/models/DeleteResourceCategoryResponse.js.map +1 -0
  55. package/dist/models/DeleteResourceCategoryResponseBody.d.ts +21 -0
  56. package/dist/models/DeleteResourceCategoryResponseBody.js +58 -0
  57. package/dist/models/DeleteResourceCategoryResponseBody.js.map +1 -0
  58. package/dist/models/DescribeCheckDetailsRequest.d.ts +47 -0
  59. package/dist/models/DescribeCheckDetailsRequest.js +64 -0
  60. package/dist/models/DescribeCheckDetailsRequest.js.map +1 -0
  61. package/dist/models/DescribeCheckDetailsResponse.d.ts +19 -0
  62. package/dist/models/DescribeCheckDetailsResponse.js +69 -0
  63. package/dist/models/DescribeCheckDetailsResponse.js.map +1 -0
  64. package/dist/models/DescribeCheckDetailsResponseBody.d.ts +167 -0
  65. package/dist/models/DescribeCheckDetailsResponseBody.js +130 -0
  66. package/dist/models/DescribeCheckDetailsResponseBody.js.map +1 -0
  67. package/dist/models/DescribeProductDataRedundancyTypeStatRequest.d.ts +32 -0
  68. package/dist/models/DescribeProductDataRedundancyTypeStatRequest.js +65 -0
  69. package/dist/models/DescribeProductDataRedundancyTypeStatRequest.js.map +1 -0
  70. package/dist/models/DescribeProductDataRedundancyTypeStatResponse.d.ts +19 -0
  71. package/dist/models/DescribeProductDataRedundancyTypeStatResponse.js +69 -0
  72. package/dist/models/DescribeProductDataRedundancyTypeStatResponse.js.map +1 -0
  73. package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.d.ts +79 -0
  74. package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.js +108 -0
  75. package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.js.map +1 -0
  76. package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.d.ts +32 -0
  77. package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.js +62 -0
  78. package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.js.map +1 -0
  79. package/dist/models/DescribeProductsRequest.d.ts +45 -0
  80. package/dist/models/DescribeProductsRequest.js +67 -0
  81. package/dist/models/DescribeProductsRequest.js.map +1 -0
  82. package/dist/models/DescribeProductsResponse.d.ts +19 -0
  83. package/dist/models/DescribeProductsResponse.js +69 -0
  84. package/dist/models/DescribeProductsResponse.js.map +1 -0
  85. package/dist/models/DescribeProductsResponseBody.d.ts +225 -0
  86. package/dist/models/DescribeProductsResponseBody.js +180 -0
  87. package/dist/models/DescribeProductsResponseBody.js.map +1 -0
  88. package/dist/models/DescribeProductsShrinkRequest.d.ts +45 -0
  89. package/dist/models/DescribeProductsShrinkRequest.js +64 -0
  90. package/dist/models/DescribeProductsShrinkRequest.js.map +1 -0
  91. package/dist/models/DescribeResourcesRequest.d.ts +117 -0
  92. package/dist/models/DescribeResourcesRequest.js +85 -0
  93. package/dist/models/DescribeResourcesRequest.js.map +1 -0
  94. package/dist/models/DescribeResourcesResponse.d.ts +19 -0
  95. package/dist/models/DescribeResourcesResponse.js +69 -0
  96. package/dist/models/DescribeResourcesResponse.js.map +1 -0
  97. package/dist/models/DescribeResourcesResponseBody.d.ts +271 -0
  98. package/dist/models/DescribeResourcesResponseBody.js +156 -0
  99. package/dist/models/DescribeResourcesResponseBody.js.map +1 -0
  100. package/dist/models/DescribeResourcesShrinkRequest.d.ts +117 -0
  101. package/dist/models/DescribeResourcesShrinkRequest.js +82 -0
  102. package/dist/models/DescribeResourcesShrinkRequest.js.map +1 -0
  103. package/dist/models/DescribeRulesRequest.d.ts +54 -0
  104. package/dist/models/DescribeRulesRequest.js +71 -0
  105. package/dist/models/DescribeRulesRequest.js.map +1 -0
  106. package/dist/models/DescribeRulesResponse.d.ts +19 -0
  107. package/dist/models/DescribeRulesResponse.js +69 -0
  108. package/dist/models/DescribeRulesResponse.js.map +1 -0
  109. package/dist/models/DescribeRulesResponseBody.d.ts +151 -0
  110. package/dist/models/DescribeRulesResponseBody.js +126 -0
  111. package/dist/models/DescribeRulesResponseBody.js.map +1 -0
  112. package/dist/models/DescribeRulesShrinkRequest.d.ts +54 -0
  113. package/dist/models/DescribeRulesShrinkRequest.js +68 -0
  114. package/dist/models/DescribeRulesShrinkRequest.js.map +1 -0
  115. package/dist/models/DescribeTaskResponse.d.ts +19 -0
  116. package/dist/models/DescribeTaskResponse.js +69 -0
  117. package/dist/models/DescribeTaskResponse.js.map +1 -0
  118. package/dist/models/DescribeTaskResponseBody.d.ts +158 -0
  119. package/dist/models/DescribeTaskResponseBody.js +110 -0
  120. package/dist/models/DescribeTaskResponseBody.js.map +1 -0
  121. package/dist/models/DescribeTasksRequest.d.ts +42 -0
  122. package/dist/models/DescribeTasksRequest.js +64 -0
  123. package/dist/models/DescribeTasksRequest.js.map +1 -0
  124. package/dist/models/DescribeTasksResponse.d.ts +19 -0
  125. package/dist/models/DescribeTasksResponse.js +69 -0
  126. package/dist/models/DescribeTasksResponse.js.map +1 -0
  127. package/dist/models/DescribeTasksResponseBody.d.ts +199 -0
  128. package/dist/models/DescribeTasksResponseBody.js +138 -0
  129. package/dist/models/DescribeTasksResponseBody.js.map +1 -0
  130. package/dist/models/DescribeTopRiskyResourcesRequest.d.ts +30 -0
  131. package/dist/models/DescribeTopRiskyResourcesRequest.js +65 -0
  132. package/dist/models/DescribeTopRiskyResourcesRequest.js.map +1 -0
  133. package/dist/models/DescribeTopRiskyResourcesResponse.d.ts +19 -0
  134. package/dist/models/DescribeTopRiskyResourcesResponse.js +69 -0
  135. package/dist/models/DescribeTopRiskyResourcesResponse.js.map +1 -0
  136. package/dist/models/DescribeTopRiskyResourcesResponseBody.d.ts +271 -0
  137. package/dist/models/DescribeTopRiskyResourcesResponseBody.js +156 -0
  138. package/dist/models/DescribeTopRiskyResourcesResponseBody.js.map +1 -0
  139. package/dist/models/DescribeTopRiskyResourcesShrinkRequest.d.ts +30 -0
  140. package/dist/models/DescribeTopRiskyResourcesShrinkRequest.js +62 -0
  141. package/dist/models/DescribeTopRiskyResourcesShrinkRequest.js.map +1 -0
  142. package/dist/models/DisableCheckProductRequest.d.ts +23 -0
  143. package/dist/models/DisableCheckProductRequest.js +58 -0
  144. package/dist/models/DisableCheckProductRequest.js.map +1 -0
  145. package/dist/models/DisableCheckProductResponse.d.ts +19 -0
  146. package/dist/models/DisableCheckProductResponse.js +69 -0
  147. package/dist/models/DisableCheckProductResponse.js.map +1 -0
  148. package/dist/models/DisableCheckProductResponseBody.d.ts +21 -0
  149. package/dist/models/DisableCheckProductResponseBody.js +58 -0
  150. package/dist/models/DisableCheckProductResponseBody.js.map +1 -0
  151. package/dist/models/DisableCheckResourceRequest.d.ts +23 -0
  152. package/dist/models/DisableCheckResourceRequest.js +58 -0
  153. package/dist/models/DisableCheckResourceRequest.js.map +1 -0
  154. package/dist/models/DisableCheckResourceResponse.d.ts +19 -0
  155. package/dist/models/DisableCheckResourceResponse.js +69 -0
  156. package/dist/models/DisableCheckResourceResponse.js.map +1 -0
  157. package/dist/models/DisableCheckResourceResponseBody.d.ts +21 -0
  158. package/dist/models/DisableCheckResourceResponseBody.js +58 -0
  159. package/dist/models/DisableCheckResourceResponseBody.js.map +1 -0
  160. package/dist/models/EnableCheckProductRequest.d.ts +23 -0
  161. package/dist/models/EnableCheckProductRequest.js +58 -0
  162. package/dist/models/EnableCheckProductRequest.js.map +1 -0
  163. package/dist/models/EnableCheckProductResponse.d.ts +19 -0
  164. package/dist/models/EnableCheckProductResponse.js +69 -0
  165. package/dist/models/EnableCheckProductResponse.js.map +1 -0
  166. package/dist/models/EnableCheckProductResponseBody.d.ts +21 -0
  167. package/dist/models/EnableCheckProductResponseBody.js +58 -0
  168. package/dist/models/EnableCheckProductResponseBody.js.map +1 -0
  169. package/dist/models/EnableCheckResourceRequest.d.ts +23 -0
  170. package/dist/models/EnableCheckResourceRequest.js +58 -0
  171. package/dist/models/EnableCheckResourceRequest.js.map +1 -0
  172. package/dist/models/EnableCheckResourceResponse.d.ts +19 -0
  173. package/dist/models/EnableCheckResourceResponse.js +69 -0
  174. package/dist/models/EnableCheckResourceResponse.js.map +1 -0
  175. package/dist/models/EnableCheckResourceResponseBody.d.ts +21 -0
  176. package/dist/models/EnableCheckResourceResponseBody.js +58 -0
  177. package/dist/models/EnableCheckResourceResponseBody.js.map +1 -0
  178. package/dist/models/GetBdrcServiceResponse.d.ts +19 -0
  179. package/dist/models/GetBdrcServiceResponse.js +69 -0
  180. package/dist/models/GetBdrcServiceResponse.js.map +1 -0
  181. package/dist/models/GetBdrcServiceResponseBody.d.ts +70 -0
  182. package/dist/models/GetBdrcServiceResponseBody.js +88 -0
  183. package/dist/models/GetBdrcServiceResponseBody.js.map +1 -0
  184. package/dist/models/GetMessageRequest.d.ts +13 -0
  185. package/dist/models/GetMessageRequest.js +54 -0
  186. package/dist/models/GetMessageRequest.js.map +1 -0
  187. package/dist/models/GetMessageResponse.d.ts +19 -0
  188. package/dist/models/GetMessageResponse.js +69 -0
  189. package/dist/models/GetMessageResponse.js.map +1 -0
  190. package/dist/models/GetMessageResponseBody.d.ts +110 -0
  191. package/dist/models/GetMessageResponseBody.js +98 -0
  192. package/dist/models/GetMessageResponseBody.js.map +1 -0
  193. package/dist/models/GetProtectionPolicyRequest.d.ts +13 -0
  194. package/dist/models/GetProtectionPolicyRequest.js +54 -0
  195. package/dist/models/GetProtectionPolicyRequest.js.map +1 -0
  196. package/dist/models/GetProtectionPolicyResponse.d.ts +19 -0
  197. package/dist/models/GetProtectionPolicyResponse.js +69 -0
  198. package/dist/models/GetProtectionPolicyResponse.js.map +1 -0
  199. package/dist/models/GetProtectionPolicyResponseBody.d.ts +116 -0
  200. package/dist/models/GetProtectionPolicyResponseBody.js +121 -0
  201. package/dist/models/GetProtectionPolicyResponseBody.js.map +1 -0
  202. package/dist/models/GetResourceCategoryRequest.d.ts +23 -0
  203. package/dist/models/GetResourceCategoryRequest.js +58 -0
  204. package/dist/models/GetResourceCategoryRequest.js.map +1 -0
  205. package/dist/models/GetResourceCategoryResponse.d.ts +19 -0
  206. package/dist/models/GetResourceCategoryResponse.js +69 -0
  207. package/dist/models/GetResourceCategoryResponse.js.map +1 -0
  208. package/dist/models/GetResourceCategoryResponseBody.d.ts +123 -0
  209. package/dist/models/GetResourceCategoryResponseBody.js +118 -0
  210. package/dist/models/GetResourceCategoryResponseBody.js.map +1 -0
  211. package/dist/models/ListMessagesRequest.d.ts +63 -0
  212. package/dist/models/ListMessagesRequest.js +68 -0
  213. package/dist/models/ListMessagesRequest.js.map +1 -0
  214. package/dist/models/ListMessagesResponse.d.ts +19 -0
  215. package/dist/models/ListMessagesResponse.js +69 -0
  216. package/dist/models/ListMessagesResponse.js.map +1 -0
  217. package/dist/models/ListMessagesResponseBody.d.ts +143 -0
  218. package/dist/models/ListMessagesResponseBody.js +124 -0
  219. package/dist/models/ListMessagesResponseBody.js.map +1 -0
  220. package/dist/models/ListProtectionPoliciesRequest.d.ts +45 -0
  221. package/dist/models/ListProtectionPoliciesRequest.js +64 -0
  222. package/dist/models/ListProtectionPoliciesRequest.js.map +1 -0
  223. package/dist/models/ListProtectionPoliciesResponse.d.ts +19 -0
  224. package/dist/models/ListProtectionPoliciesResponse.js +69 -0
  225. package/dist/models/ListProtectionPoliciesResponse.js.map +1 -0
  226. package/dist/models/ListProtectionPoliciesResponseBody.d.ts +248 -0
  227. package/dist/models/ListProtectionPoliciesResponseBody.js +225 -0
  228. package/dist/models/ListProtectionPoliciesResponseBody.js.map +1 -0
  229. package/dist/models/ListProtectionPolicyApplicationsRequest.d.ts +63 -0
  230. package/dist/models/ListProtectionPolicyApplicationsRequest.js +68 -0
  231. package/dist/models/ListProtectionPolicyApplicationsRequest.js.map +1 -0
  232. package/dist/models/ListProtectionPolicyApplicationsResponse.d.ts +19 -0
  233. package/dist/models/ListProtectionPolicyApplicationsResponse.js +69 -0
  234. package/dist/models/ListProtectionPolicyApplicationsResponse.js.map +1 -0
  235. package/dist/models/ListProtectionPolicyApplicationsResponseBody.d.ts +164 -0
  236. package/dist/models/ListProtectionPolicyApplicationsResponseBody.js +130 -0
  237. package/dist/models/ListProtectionPolicyApplicationsResponseBody.js.map +1 -0
  238. package/dist/models/ListResourceCategoriesRequest.d.ts +34 -0
  239. package/dist/models/ListResourceCategoriesRequest.js +62 -0
  240. package/dist/models/ListResourceCategoriesRequest.js.map +1 -0
  241. package/dist/models/ListResourceCategoriesResponse.d.ts +19 -0
  242. package/dist/models/ListResourceCategoriesResponse.js +69 -0
  243. package/dist/models/ListResourceCategoriesResponse.js.map +1 -0
  244. package/dist/models/ListResourceCategoriesResponseBody.d.ts +164 -0
  245. package/dist/models/ListResourceCategoriesResponseBody.js +146 -0
  246. package/dist/models/ListResourceCategoriesResponseBody.js.map +1 -0
  247. package/dist/models/OpenBdrcServiceResponse.d.ts +19 -0
  248. package/dist/models/OpenBdrcServiceResponse.js +69 -0
  249. package/dist/models/OpenBdrcServiceResponse.js.map +1 -0
  250. package/dist/models/OpenBdrcServiceResponseBody.d.ts +21 -0
  251. package/dist/models/OpenBdrcServiceResponseBody.js +58 -0
  252. package/dist/models/OpenBdrcServiceResponseBody.js.map +1 -0
  253. package/dist/models/UpdateProtectionPolicyRequest.d.ts +67 -0
  254. package/dist/models/UpdateProtectionPolicyRequest.js +91 -0
  255. package/dist/models/UpdateProtectionPolicyRequest.js.map +1 -0
  256. package/dist/models/UpdateProtectionPolicyResponse.d.ts +19 -0
  257. package/dist/models/UpdateProtectionPolicyResponse.js +69 -0
  258. package/dist/models/UpdateProtectionPolicyResponse.js.map +1 -0
  259. package/dist/models/UpdateProtectionPolicyResponseBody.d.ts +21 -0
  260. package/dist/models/UpdateProtectionPolicyResponseBody.js +58 -0
  261. package/dist/models/UpdateProtectionPolicyResponseBody.js.map +1 -0
  262. package/dist/models/UpdateProtectionPolicyShrinkRequest.d.ts +39 -0
  263. package/dist/models/UpdateProtectionPolicyShrinkRequest.js +64 -0
  264. package/dist/models/UpdateProtectionPolicyShrinkRequest.js.map +1 -0
  265. package/dist/models/UpdateResourceCategoryRequest.d.ts +65 -0
  266. package/dist/models/UpdateResourceCategoryRequest.js +62 -0
  267. package/dist/models/UpdateResourceCategoryRequest.js.map +1 -0
  268. package/dist/models/UpdateResourceCategoryResponse.d.ts +19 -0
  269. package/dist/models/UpdateResourceCategoryResponse.js +69 -0
  270. package/dist/models/UpdateResourceCategoryResponse.js.map +1 -0
  271. package/dist/models/UpdateResourceCategoryResponseBody.d.ts +21 -0
  272. package/dist/models/UpdateResourceCategoryResponseBody.js +58 -0
  273. package/dist/models/UpdateResourceCategoryResponseBody.js.map +1 -0
  274. package/dist/models/UpdateResourcesRequest.d.ts +21 -0
  275. package/dist/models/UpdateResourcesRequest.js +58 -0
  276. package/dist/models/UpdateResourcesRequest.js.map +1 -0
  277. package/dist/models/UpdateResourcesResponse.d.ts +19 -0
  278. package/dist/models/UpdateResourcesResponse.js +69 -0
  279. package/dist/models/UpdateResourcesResponse.js.map +1 -0
  280. package/dist/models/UpdateResourcesResponseBody.d.ts +46 -0
  281. package/dist/models/UpdateResourcesResponseBody.js +82 -0
  282. package/dist/models/UpdateResourcesResponseBody.js.map +1 -0
  283. package/dist/models/model.d.ts +135 -0
  284. package/dist/models/model.js +276 -0
  285. package/dist/models/model.js.map +1 -0
  286. package/package.json +3 -6
  287. package/src/client.ts +1103 -2591
  288. package/src/models/CheckRulesRequest.ts +46 -0
  289. package/src/models/CheckRulesResponse.ts +40 -0
  290. package/src/models/CheckRulesResponseBody.ts +76 -0
  291. package/src/models/CloseBdrcServiceResponse.ts +40 -0
  292. package/src/models/CloseBdrcServiceResponseBody.ts +34 -0
  293. package/src/models/CreateProtectionPolicyRequest.ts +126 -0
  294. package/src/models/CreateProtectionPolicyResponse.ts +40 -0
  295. package/src/models/CreateProtectionPolicyResponseBody.ts +74 -0
  296. package/src/models/CreateProtectionPolicyShrinkRequest.ts +78 -0
  297. package/src/models/CreateResourceCategoryRequest.ts +87 -0
  298. package/src/models/CreateResourceCategoryResponse.ts +40 -0
  299. package/src/models/CreateResourceCategoryResponseBody.ts +74 -0
  300. package/src/models/DeleteProtectionPolicyRequest.ts +24 -0
  301. package/src/models/DeleteProtectionPolicyResponse.ts +40 -0
  302. package/src/models/DeleteProtectionPolicyResponseBody.ts +34 -0
  303. package/src/models/DeleteResourceCategoryRequest.ts +36 -0
  304. package/src/models/DeleteResourceCategoryResponse.ts +40 -0
  305. package/src/models/DeleteResourceCategoryResponseBody.ts +34 -0
  306. package/src/models/DescribeCheckDetailsRequest.ts +66 -0
  307. package/src/models/DescribeCheckDetailsResponse.ts +40 -0
  308. package/src/models/DescribeCheckDetailsResponseBody.ts +234 -0
  309. package/src/models/DescribeProductDataRedundancyTypeStatRequest.ts +52 -0
  310. package/src/models/DescribeProductDataRedundancyTypeStatResponse.ts +40 -0
  311. package/src/models/DescribeProductDataRedundancyTypeStatResponseBody.ts +124 -0
  312. package/src/models/DescribeProductDataRedundancyTypeStatShrinkRequest.ts +49 -0
  313. package/src/models/DescribeProductsRequest.ts +67 -0
  314. package/src/models/DescribeProductsResponse.ts +40 -0
  315. package/src/models/DescribeProductsResponseBody.ts +324 -0
  316. package/src/models/DescribeProductsShrinkRequest.ts +64 -0
  317. package/src/models/DescribeResourcesRequest.ts +157 -0
  318. package/src/models/DescribeResourcesResponse.ts +40 -0
  319. package/src/models/DescribeResourcesResponseBody.ts +364 -0
  320. package/src/models/DescribeResourcesShrinkRequest.ts +154 -0
  321. package/src/models/DescribeRulesRequest.ts +80 -0
  322. package/src/models/DescribeRulesResponse.ts +40 -0
  323. package/src/models/DescribeRulesResponseBody.ts +214 -0
  324. package/src/models/DescribeRulesShrinkRequest.ts +77 -0
  325. package/src/models/DescribeTaskResponse.ts +40 -0
  326. package/src/models/DescribeTaskResponseBody.ts +214 -0
  327. package/src/models/DescribeTasksRequest.ts +61 -0
  328. package/src/models/DescribeTasksResponse.ts +40 -0
  329. package/src/models/DescribeTasksResponseBody.ts +274 -0
  330. package/src/models/DescribeTopRiskyResourcesRequest.ts +50 -0
  331. package/src/models/DescribeTopRiskyResourcesResponse.ts +40 -0
  332. package/src/models/DescribeTopRiskyResourcesResponseBody.ts +364 -0
  333. package/src/models/DescribeTopRiskyResourcesShrinkRequest.ts +47 -0
  334. package/src/models/DisableCheckProductRequest.ts +36 -0
  335. package/src/models/DisableCheckProductResponse.ts +40 -0
  336. package/src/models/DisableCheckProductResponseBody.ts +34 -0
  337. package/src/models/DisableCheckResourceRequest.ts +36 -0
  338. package/src/models/DisableCheckResourceResponse.ts +40 -0
  339. package/src/models/DisableCheckResourceResponseBody.ts +34 -0
  340. package/src/models/EnableCheckProductRequest.ts +36 -0
  341. package/src/models/EnableCheckProductResponse.ts +40 -0
  342. package/src/models/EnableCheckProductResponseBody.ts +34 -0
  343. package/src/models/EnableCheckResourceRequest.ts +36 -0
  344. package/src/models/EnableCheckResourceResponse.ts +40 -0
  345. package/src/models/EnableCheckResourceResponseBody.ts +34 -0
  346. package/src/models/GetBdrcServiceResponse.ts +40 -0
  347. package/src/models/GetBdrcServiceResponseBody.ts +104 -0
  348. package/src/models/GetMessageRequest.ts +24 -0
  349. package/src/models/GetMessageResponse.ts +40 -0
  350. package/src/models/GetMessageResponseBody.ts +154 -0
  351. package/src/models/GetProtectionPolicyRequest.ts +24 -0
  352. package/src/models/GetProtectionPolicyResponse.ts +40 -0
  353. package/src/models/GetProtectionPolicyResponseBody.ts +174 -0
  354. package/src/models/GetResourceCategoryRequest.ts +36 -0
  355. package/src/models/GetResourceCategoryResponse.ts +40 -0
  356. package/src/models/GetResourceCategoryResponseBody.ts +178 -0
  357. package/src/models/ListMessagesRequest.ts +86 -0
  358. package/src/models/ListMessagesResponse.ts +40 -0
  359. package/src/models/ListMessagesResponseBody.ts +204 -0
  360. package/src/models/ListProtectionPoliciesRequest.ts +64 -0
  361. package/src/models/ListProtectionPoliciesResponse.ts +40 -0
  362. package/src/models/ListProtectionPoliciesResponseBody.ts +374 -0
  363. package/src/models/ListProtectionPolicyApplicationsRequest.ts +86 -0
  364. package/src/models/ListProtectionPolicyApplicationsResponse.ts +40 -0
  365. package/src/models/ListProtectionPolicyApplicationsResponseBody.ts +231 -0
  366. package/src/models/ListResourceCategoriesRequest.ts +51 -0
  367. package/src/models/ListResourceCategoriesResponse.ts +40 -0
  368. package/src/models/ListResourceCategoriesResponseBody.ts +238 -0
  369. package/src/models/OpenBdrcServiceResponse.ts +40 -0
  370. package/src/models/OpenBdrcServiceResponseBody.ts +34 -0
  371. package/src/models/UpdateProtectionPolicyRequest.ts +104 -0
  372. package/src/models/UpdateProtectionPolicyResponse.ts +40 -0
  373. package/src/models/UpdateProtectionPolicyResponseBody.ts +34 -0
  374. package/src/models/UpdateProtectionPolicyShrinkRequest.ts +58 -0
  375. package/src/models/UpdateResourceCategoryRequest.ts +82 -0
  376. package/src/models/UpdateResourceCategoryResponse.ts +40 -0
  377. package/src/models/UpdateResourceCategoryResponseBody.ts +34 -0
  378. package/src/models/UpdateResourcesRequest.ts +34 -0
  379. package/src/models/UpdateResourcesResponse.ts +40 -0
  380. package/src/models/UpdateResourcesResponseBody.ts +74 -0
  381. package/src/models/model.ts +135 -0
@@ -0,0 +1,86 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListProtectionPolicyApplicationsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The application status.
9
+ *
10
+ * @example
11
+ * FAILED
12
+ */
13
+ applyStatus?: string;
14
+ /**
15
+ * @remarks
16
+ * The maximum number of results to return in a single page.
17
+ *
18
+ * @example
19
+ * 100
20
+ */
21
+ maxResults?: number;
22
+ /**
23
+ * @remarks
24
+ * The pagination token. The response returns a `NextToken` value only when more results are available. To retrieve the next page, include the `NextToken` from the previous response in your request. If the response does not include a `NextToken` value, all results have been retrieved.
25
+ *
26
+ * @example
27
+ * cae**********699
28
+ */
29
+ nextToken?: string;
30
+ /**
31
+ * @remarks
32
+ * The resource type.
33
+ *
34
+ * @example
35
+ * ACS::ECS::Instance
36
+ */
37
+ resourceType?: string;
38
+ /**
39
+ * @remarks
40
+ * The sub-protection policy type.
41
+ *
42
+ * @example
43
+ * ECS_AUTO_SNAPSHOT_POLICY
44
+ */
45
+ subProtectionPolicyType?: string;
46
+ /**
47
+ * @remarks
48
+ * The task ID. You can call the DescribeTasks operation to query task IDs.
49
+ *
50
+ * This parameter is required.
51
+ *
52
+ * @example
53
+ * t-0004d9ctt1ii********
54
+ */
55
+ taskId?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ applyStatus: 'ApplyStatus',
59
+ maxResults: 'MaxResults',
60
+ nextToken: 'NextToken',
61
+ resourceType: 'ResourceType',
62
+ subProtectionPolicyType: 'SubProtectionPolicyType',
63
+ taskId: 'TaskId',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ applyStatus: 'string',
70
+ maxResults: 'number',
71
+ nextToken: 'string',
72
+ resourceType: 'string',
73
+ subProtectionPolicyType: 'string',
74
+ taskId: 'string',
75
+ };
76
+ }
77
+
78
+ validate() {
79
+ super.validate();
80
+ }
81
+
82
+ constructor(map?: { [key: string]: any }) {
83
+ super(map);
84
+ }
85
+ }
86
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListProtectionPolicyApplicationsResponseBody } from "./ListProtectionPolicyApplicationsResponseBody";
4
+
5
+
6
+ export class ListProtectionPolicyApplicationsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListProtectionPolicyApplicationsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListProtectionPolicyApplicationsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,231 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListProtectionPolicyApplicationsResponseBodyDataContent extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The error details, returned when the application fails.
9
+ *
10
+ * @example
11
+ * {"errorCode":"HbrPolicyNotFound","errorMessage":"po-123***7890"}
12
+ */
13
+ applyDetail?: string;
14
+ /**
15
+ * @remarks
16
+ * The policy application status.
17
+ *
18
+ * @example
19
+ * FAILED
20
+ */
21
+ applyStatus?: string;
22
+ /**
23
+ * @remarks
24
+ * The time the policy was applied.
25
+ *
26
+ * @example
27
+ * 2024-11-19T02:19:06Z
28
+ */
29
+ applyTime?: number;
30
+ /**
31
+ * @remarks
32
+ * The product type.
33
+ *
34
+ * @example
35
+ * ecs
36
+ */
37
+ productType?: string;
38
+ /**
39
+ * @remarks
40
+ * The protection policy ID.
41
+ *
42
+ * @example
43
+ * p-123***7890
44
+ */
45
+ protectionPolicyId?: string;
46
+ /**
47
+ * @remarks
48
+ * The resource ARN.
49
+ *
50
+ * @example
51
+ * acs:ecs:123***890:cn-shanghai:instance/i-001***90
52
+ */
53
+ resourceArn?: string;
54
+ /**
55
+ * @remarks
56
+ * The resource ID.
57
+ *
58
+ * @example
59
+ * i-xxxxxxxx
60
+ */
61
+ resourceId?: string;
62
+ /**
63
+ * @example
64
+ * 123***7890
65
+ */
66
+ resourceOwnerId?: number;
67
+ /**
68
+ * @remarks
69
+ * The resource type.
70
+ *
71
+ * @example
72
+ * ACS::ECS::Instance
73
+ */
74
+ resourceType?: string;
75
+ /**
76
+ * @remarks
77
+ * The sub-protection policy type.
78
+ *
79
+ * @example
80
+ * ECS_AUTO_SNAPSHOT_POLICY
81
+ */
82
+ subProtectionPolicyType?: string;
83
+ /**
84
+ * @remarks
85
+ * The task ID.
86
+ *
87
+ * @example
88
+ * t-0000e4w0u1v592zdf6s7
89
+ */
90
+ taskId?: string;
91
+ static names(): { [key: string]: string } {
92
+ return {
93
+ applyDetail: 'ApplyDetail',
94
+ applyStatus: 'ApplyStatus',
95
+ applyTime: 'ApplyTime',
96
+ productType: 'ProductType',
97
+ protectionPolicyId: 'ProtectionPolicyId',
98
+ resourceArn: 'ResourceArn',
99
+ resourceId: 'ResourceId',
100
+ resourceOwnerId: 'ResourceOwnerId',
101
+ resourceType: 'ResourceType',
102
+ subProtectionPolicyType: 'SubProtectionPolicyType',
103
+ taskId: 'TaskId',
104
+ };
105
+ }
106
+
107
+ static types(): { [key: string]: any } {
108
+ return {
109
+ applyDetail: 'string',
110
+ applyStatus: 'string',
111
+ applyTime: 'number',
112
+ productType: 'string',
113
+ protectionPolicyId: 'string',
114
+ resourceArn: 'string',
115
+ resourceId: 'string',
116
+ resourceOwnerId: 'number',
117
+ resourceType: 'string',
118
+ subProtectionPolicyType: 'string',
119
+ taskId: 'string',
120
+ };
121
+ }
122
+
123
+ validate() {
124
+ super.validate();
125
+ }
126
+
127
+ constructor(map?: { [key: string]: any }) {
128
+ super(map);
129
+ }
130
+ }
131
+
132
+ export class ListProtectionPolicyApplicationsResponseBodyData extends $dara.Model {
133
+ /**
134
+ * @remarks
135
+ * The response content.
136
+ */
137
+ content?: ListProtectionPolicyApplicationsResponseBodyDataContent[];
138
+ /**
139
+ * @remarks
140
+ * The maximum number of results to return.
141
+ *
142
+ * @example
143
+ * 10
144
+ */
145
+ maxResults?: number;
146
+ /**
147
+ * @remarks
148
+ * The pagination token for retrieving the next page of results. If this parameter is empty, all results have been returned.
149
+ *
150
+ * @example
151
+ * fb836242f4225fa0f0e0257362dfc6dd
152
+ */
153
+ nextToken?: string;
154
+ /**
155
+ * @remarks
156
+ * The total number of entries.
157
+ *
158
+ * @example
159
+ * 5
160
+ */
161
+ totalCount?: number;
162
+ static names(): { [key: string]: string } {
163
+ return {
164
+ content: 'Content',
165
+ maxResults: 'MaxResults',
166
+ nextToken: 'NextToken',
167
+ totalCount: 'TotalCount',
168
+ };
169
+ }
170
+
171
+ static types(): { [key: string]: any } {
172
+ return {
173
+ content: { 'type': 'array', 'itemType': ListProtectionPolicyApplicationsResponseBodyDataContent },
174
+ maxResults: 'number',
175
+ nextToken: 'string',
176
+ totalCount: 'number',
177
+ };
178
+ }
179
+
180
+ validate() {
181
+ if(Array.isArray(this.content)) {
182
+ $dara.Model.validateArray(this.content);
183
+ }
184
+ super.validate();
185
+ }
186
+
187
+ constructor(map?: { [key: string]: any }) {
188
+ super(map);
189
+ }
190
+ }
191
+
192
+ export class ListProtectionPolicyApplicationsResponseBody extends $dara.Model {
193
+ /**
194
+ * @remarks
195
+ * The response data.
196
+ */
197
+ data?: ListProtectionPolicyApplicationsResponseBodyData;
198
+ /**
199
+ * @remarks
200
+ * The request ID.
201
+ *
202
+ * @example
203
+ * 34081B20-C4C0-514F-93F6-8EEC3D1A587E
204
+ */
205
+ requestId?: string;
206
+ static names(): { [key: string]: string } {
207
+ return {
208
+ data: 'Data',
209
+ requestId: 'RequestId',
210
+ };
211
+ }
212
+
213
+ static types(): { [key: string]: any } {
214
+ return {
215
+ data: ListProtectionPolicyApplicationsResponseBodyData,
216
+ requestId: 'string',
217
+ };
218
+ }
219
+
220
+ validate() {
221
+ if(this.data && typeof (this.data as any).validate === 'function') {
222
+ (this.data as any).validate();
223
+ }
224
+ super.validate();
225
+ }
226
+
227
+ constructor(map?: { [key: string]: any }) {
228
+ super(map);
229
+ }
230
+ }
231
+
@@ -0,0 +1,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListResourceCategoriesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The maximum number of records to return in this request.
9
+ *
10
+ * @example
11
+ * 10
12
+ */
13
+ maxResults?: number;
14
+ /**
15
+ * @remarks
16
+ * The pagination token. If more entries are to be returned on the next page, a pagination token is returned. Note: If this parameter returns data, it indicates there is a next page. You can use the returned NextToken as a request parameter to obtain the next page of data until it returns Null, indicating all data has been retrieved.
17
+ *
18
+ * @example
19
+ * cae**********699
20
+ */
21
+ nextToken?: string;
22
+ /**
23
+ * @example
24
+ * rc-123****7890
25
+ */
26
+ resourceCategoryId?: string;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ maxResults: 'MaxResults',
30
+ nextToken: 'NextToken',
31
+ resourceCategoryId: 'ResourceCategoryId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ maxResults: 'number',
38
+ nextToken: 'string',
39
+ resourceCategoryId: 'string',
40
+ };
41
+ }
42
+
43
+ validate() {
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListResourceCategoriesResponseBody } from "./ListResourceCategoriesResponseBody";
4
+
5
+
6
+ export class ListResourceCategoriesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListResourceCategoriesResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListResourceCategoriesResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,238 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListResourceCategoriesResponseBodyDataContentResourceCount extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The number of resources of each type.
9
+ *
10
+ * @example
11
+ * 1
12
+ */
13
+ count?: number;
14
+ /**
15
+ * @remarks
16
+ * The resource type.
17
+ *
18
+ * @example
19
+ * ACS::ECS::Instance
20
+ */
21
+ resourceType?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ count: 'Count',
25
+ resourceType: 'ResourceType',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ count: 'number',
32
+ resourceType: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class ListResourceCategoriesResponseBodyDataContent extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The applicable product type. If this parameter is empty, all products are matched.
49
+ *
50
+ * @example
51
+ * ecs
52
+ */
53
+ productType?: string;
54
+ /**
55
+ * @remarks
56
+ * The resource category ID, which is globally unique.
57
+ *
58
+ * @example
59
+ * rc-123***7890
60
+ */
61
+ resourceCategoryId?: string;
62
+ /**
63
+ * @remarks
64
+ * The resource name, which is unique within the namespace.
65
+ *
66
+ * @example
67
+ * My***ResourceCategory
68
+ */
69
+ resourceCategoryName?: string;
70
+ /**
71
+ * @remarks
72
+ * The resource category type. Valid values:
73
+ *
74
+ * - DEFAULT: default group created by the system, cannot be deleted.
75
+ *
76
+ * - CUSTOM: custom group, can be deleted.
77
+ *
78
+ * @example
79
+ * CUSTOM
80
+ */
81
+ resourceCategoryType?: string;
82
+ /**
83
+ * @remarks
84
+ * The number of resources of each type.
85
+ */
86
+ resourceCount?: ListResourceCategoriesResponseBodyDataContentResourceCount[];
87
+ /**
88
+ * @remarks
89
+ * The resource matcher. If this parameter is empty, no resources are matched.
90
+ *
91
+ * @example
92
+ * {\\"type\\":\\"BOOL\\",\\"operator\\":\\"AND\\",\\"values\\":[{\\"type\\":\\"TAG\\",\\"key\\":\\"createdBy\\",\\"operator\\":\\"EQUAL\\",\\"values\\":[\\"me\\"]}]}
93
+ */
94
+ resourceMatcher?: string;
95
+ /**
96
+ * @remarks
97
+ * The applicable resource type. If this parameter is empty, all resources are matched.
98
+ *
99
+ * @example
100
+ * ACS::ECS::Instance
101
+ */
102
+ resourceType?: string;
103
+ static names(): { [key: string]: string } {
104
+ return {
105
+ productType: 'ProductType',
106
+ resourceCategoryId: 'ResourceCategoryId',
107
+ resourceCategoryName: 'ResourceCategoryName',
108
+ resourceCategoryType: 'ResourceCategoryType',
109
+ resourceCount: 'ResourceCount',
110
+ resourceMatcher: 'ResourceMatcher',
111
+ resourceType: 'ResourceType',
112
+ };
113
+ }
114
+
115
+ static types(): { [key: string]: any } {
116
+ return {
117
+ productType: 'string',
118
+ resourceCategoryId: 'string',
119
+ resourceCategoryName: 'string',
120
+ resourceCategoryType: 'string',
121
+ resourceCount: { 'type': 'array', 'itemType': ListResourceCategoriesResponseBodyDataContentResourceCount },
122
+ resourceMatcher: 'string',
123
+ resourceType: 'string',
124
+ };
125
+ }
126
+
127
+ validate() {
128
+ if(Array.isArray(this.resourceCount)) {
129
+ $dara.Model.validateArray(this.resourceCount);
130
+ }
131
+ super.validate();
132
+ }
133
+
134
+ constructor(map?: { [key: string]: any }) {
135
+ super(map);
136
+ }
137
+ }
138
+
139
+ export class ListResourceCategoriesResponseBodyData extends $dara.Model {
140
+ /**
141
+ * @remarks
142
+ * The collection of records returned in this request.
143
+ */
144
+ content?: ListResourceCategoriesResponseBodyDataContent[];
145
+ /**
146
+ * @remarks
147
+ * The maximum number of records returned in this request.
148
+ *
149
+ * @example
150
+ * 10
151
+ */
152
+ maxResults?: number;
153
+ /**
154
+ * @remarks
155
+ * Indicates the position where the current call returns data from. An empty value indicates that all data has been read.
156
+ *
157
+ * @example
158
+ * eKDyCM0zFQ5op7jVMWmNNA==
159
+ */
160
+ nextToken?: string;
161
+ /**
162
+ * @remarks
163
+ * The total number of data entries under the current request conditions. This parameter is optional and can be left unspecified by default.
164
+ *
165
+ * @example
166
+ * 5
167
+ */
168
+ totalCount?: number;
169
+ static names(): { [key: string]: string } {
170
+ return {
171
+ content: 'Content',
172
+ maxResults: 'MaxResults',
173
+ nextToken: 'NextToken',
174
+ totalCount: 'TotalCount',
175
+ };
176
+ }
177
+
178
+ static types(): { [key: string]: any } {
179
+ return {
180
+ content: { 'type': 'array', 'itemType': ListResourceCategoriesResponseBodyDataContent },
181
+ maxResults: 'number',
182
+ nextToken: 'string',
183
+ totalCount: 'number',
184
+ };
185
+ }
186
+
187
+ validate() {
188
+ if(Array.isArray(this.content)) {
189
+ $dara.Model.validateArray(this.content);
190
+ }
191
+ super.validate();
192
+ }
193
+
194
+ constructor(map?: { [key: string]: any }) {
195
+ super(map);
196
+ }
197
+ }
198
+
199
+ export class ListResourceCategoriesResponseBody extends $dara.Model {
200
+ /**
201
+ * @remarks
202
+ * The returned data.
203
+ */
204
+ data?: ListResourceCategoriesResponseBodyData;
205
+ /**
206
+ * @remarks
207
+ * The unique ID of the request.
208
+ *
209
+ * @example
210
+ * AE43C4CB-8074-5EBD-9806-8CA6D12800B1
211
+ */
212
+ requestId?: string;
213
+ static names(): { [key: string]: string } {
214
+ return {
215
+ data: 'Data',
216
+ requestId: 'RequestId',
217
+ };
218
+ }
219
+
220
+ static types(): { [key: string]: any } {
221
+ return {
222
+ data: ListResourceCategoriesResponseBodyData,
223
+ requestId: 'string',
224
+ };
225
+ }
226
+
227
+ validate() {
228
+ if(this.data && typeof (this.data as any).validate === 'function') {
229
+ (this.data as any).validate();
230
+ }
231
+ super.validate();
232
+ }
233
+
234
+ constructor(map?: { [key: string]: any }) {
235
+ super(map);
236
+ }
237
+ }
238
+