@huaweicloud/huaweicloud-sdk-smn 3.1.45 → 3.1.46

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 (382) hide show
  1. package/huaweicloud-sdk-smn.ts +4 -0
  2. package/package.json +4 -4
  3. package/v2/{SmnClient.js → SmnClient.ts} +1260 -788
  4. package/v2/SmnRegion.ts +62 -0
  5. package/v2/model/AccessPolicy.ts +43 -0
  6. package/v2/model/AddSubscriptionRequest.ts +24 -0
  7. package/v2/model/AddSubscriptionRequestBody.ts +29 -0
  8. package/v2/model/AddSubscriptionResponse.ts +30 -0
  9. package/v2/model/ApplicationEndpoint.ts +54 -0
  10. package/v2/model/ApplicationItem.ts +71 -0
  11. package/v2/model/BatchCreateOrDeleteResourceTagsRequest.ts +36 -0
  12. package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.ts +19 -0
  13. package/v2/model/BatchCreateOrDeleteResourceTagsResponse.ts +8 -0
  14. package/v2/model/CancelSubscriptionRequest.ts +18 -0
  15. package/v2/model/CancelSubscriptionResponse.ts +19 -0
  16. package/v2/model/CreateApplicationEndpointRequest.ts +24 -0
  17. package/v2/model/CreateApplicationEndpointRequestBody.ts +24 -0
  18. package/v2/model/CreateApplicationEndpointResponse.ts +30 -0
  19. package/v2/model/CreateApplicationRequest.ts +12 -0
  20. package/v2/model/CreateApplicationRequestBody.ts +42 -0
  21. package/v2/model/CreateApplicationResponse.ts +41 -0
  22. package/v2/model/CreateLogtankRequest.ts +24 -0
  23. package/v2/model/CreateLogtankRequestBody.ts +30 -0
  24. package/v2/model/CreateLogtankResponse.ts +24 -0
  25. package/v2/model/CreateMessageTemplateRequest.ts +12 -0
  26. package/v2/model/CreateMessageTemplateRequestBody.ts +30 -0
  27. package/v2/model/CreateMessageTemplateResponse.ts +30 -0
  28. package/v2/model/CreateResourceTagRequest.ts +36 -0
  29. package/v2/model/CreateResourceTagRequestBody.ts +13 -0
  30. package/v2/model/CreateResourceTagResponse.ts +8 -0
  31. package/v2/model/CreateTopicRequest.ts +12 -0
  32. package/v2/model/CreateTopicRequestBody.ts +35 -0
  33. package/v2/model/CreateTopicResponse.ts +30 -0
  34. package/v2/model/DeleteApplicationEndpointRequest.ts +18 -0
  35. package/v2/model/DeleteApplicationEndpointResponse.ts +19 -0
  36. package/v2/model/DeleteApplicationRequest.ts +18 -0
  37. package/v2/model/DeleteApplicationResponse.ts +19 -0
  38. package/v2/model/DeleteLogtankRequest.ts +30 -0
  39. package/v2/model/DeleteLogtankResponse.ts +19 -0
  40. package/v2/model/DeleteMessageTemplateRequest.ts +18 -0
  41. package/v2/model/DeleteMessageTemplateResponse.ts +19 -0
  42. package/v2/model/DeleteResourceTagRequest.ts +36 -0
  43. package/v2/model/DeleteResourceTagResponse.ts +8 -0
  44. package/v2/model/DeleteTopicAttributeByNameRequest.ts +24 -0
  45. package/v2/model/DeleteTopicAttributeByNameResponse.ts +19 -0
  46. package/v2/model/DeleteTopicAttributesRequest.ts +18 -0
  47. package/v2/model/DeleteTopicAttributesResponse.ts +19 -0
  48. package/v2/model/DeleteTopicRequest.ts +18 -0
  49. package/v2/model/DeleteTopicResponse.ts +19 -0
  50. package/v2/model/LinksItem.ts +18 -0
  51. package/v2/model/ListApplicationAttributesRequest.ts +18 -0
  52. package/v2/model/ListApplicationAttributesResponse.ts +36 -0
  53. package/v2/model/ListApplicationAttributesResponseBodyAttributes.ts +23 -0
  54. package/v2/model/ListApplicationEndpointAttributesRequest.ts +18 -0
  55. package/v2/model/ListApplicationEndpointAttributesResponse.ts +25 -0
  56. package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.ts +30 -0
  57. package/v2/model/ListApplicationEndpointsRequest.ts +49 -0
  58. package/v2/model/ListApplicationEndpointsResponse.ts +36 -0
  59. package/v2/model/ListApplicationsRequest.ts +26 -0
  60. package/v2/model/ListApplicationsResponse.ts +36 -0
  61. package/v2/model/ListInstanceRequestBody.ts +67 -0
  62. package/v2/model/ListLogtankRequest.ts +18 -0
  63. package/v2/model/ListLogtankResponse.ts +30 -0
  64. package/v2/model/ListMessageTemplateDetailsRequest.ts +18 -0
  65. package/v2/model/ListMessageTemplateDetailsResponse.ts +84 -0
  66. package/v2/model/ListMessageTemplatesRequest.ts +32 -0
  67. package/v2/model/ListMessageTemplatesResponse.ts +42 -0
  68. package/v2/model/ListProjectTagsRequest.ts +18 -0
  69. package/v2/model/ListProjectTagsResponse.ts +14 -0
  70. package/v2/model/ListResourceInstancesRequest.ts +24 -0
  71. package/v2/model/ListResourceInstancesResponse.ts +25 -0
  72. package/v2/model/ListResourceTagsRequest.ts +30 -0
  73. package/v2/model/ListResourceTagsResponse.ts +14 -0
  74. package/v2/model/ListSubscriptionsByTopicRequest.ts +28 -0
  75. package/v2/model/ListSubscriptionsByTopicResponse.ts +36 -0
  76. package/v2/model/ListSubscriptionsItem.ts +60 -0
  77. package/v2/model/ListSubscriptionsRequest.ts +31 -0
  78. package/v2/model/ListSubscriptionsResponse.ts +36 -0
  79. package/v2/model/ListTopicAttributesRequest.ts +24 -0
  80. package/v2/model/ListTopicAttributesResponse.ts +25 -0
  81. package/v2/model/ListTopicDetailsRequest.ts +18 -0
  82. package/v2/model/ListTopicDetailsResponse.ts +101 -0
  83. package/v2/model/ListTopicsItem.ts +72 -0
  84. package/v2/model/ListTopicsRequest.ts +54 -0
  85. package/v2/model/ListTopicsResponse.ts +36 -0
  86. package/v2/model/ListVersionRequest.ts +6 -0
  87. package/v2/model/ListVersionResponse.ts +14 -0
  88. package/v2/model/ListVersionsRequest.ts +6 -0
  89. package/v2/model/ListVersionsResponse.ts +14 -0
  90. package/v2/model/LogtankItem.ts +60 -0
  91. package/v2/model/MessageTemplate.ts +72 -0
  92. package/v2/model/PublishAppMessageRequest.ts +24 -0
  93. package/v2/model/PublishAppMessageRequestBody.ts +33 -0
  94. package/v2/model/PublishAppMessageResponse.ts +30 -0
  95. package/v2/model/PublishMessageRequest.ts +24 -0
  96. package/v2/model/PublishMessageRequestBody.ts +54 -0
  97. package/v2/model/PublishMessageResponse.ts +30 -0
  98. package/v2/model/ResourceDetail.ts +48 -0
  99. package/v2/model/ResourceTag.ts +18 -0
  100. package/v2/model/ResourceTags.ts +18 -0
  101. package/v2/model/Statement.ts +96 -0
  102. package/v2/model/SubscriptionExtension.ts +44 -0
  103. package/v2/model/TagMatch.ts +18 -0
  104. package/v2/model/TagResource.ts +50 -0
  105. package/v2/model/TopicAttribute.ts +23 -0
  106. package/v2/model/UpdateApplicationEndpointRequest.ts +24 -0
  107. package/v2/model/UpdateApplicationEndpointRequestBody.ts +22 -0
  108. package/v2/model/UpdateApplicationEndpointResponse.ts +19 -0
  109. package/v2/model/UpdateApplicationRequest.ts +24 -0
  110. package/v2/model/UpdateApplicationRequestBody.ts +30 -0
  111. package/v2/model/UpdateApplicationResponse.ts +19 -0
  112. package/v2/model/UpdateLogtankRequest.ts +36 -0
  113. package/v2/model/UpdateLogtankRequestBody.ts +30 -0
  114. package/v2/model/UpdateLogtankResponse.ts +25 -0
  115. package/v2/model/UpdateMessageTemplateRequest.ts +24 -0
  116. package/v2/model/UpdateMessageTemplateRequestBody.ts +12 -0
  117. package/v2/model/UpdateMessageTemplateResponse.ts +19 -0
  118. package/v2/model/UpdateSubscriptionRequest.ts +36 -0
  119. package/v2/model/UpdateSubscriptionRequestBody.ts +12 -0
  120. package/v2/model/UpdateSubscriptionResponse.ts +30 -0
  121. package/v2/model/UpdateTopicAttributeRequest.ts +30 -0
  122. package/v2/model/UpdateTopicAttributeRequestBody.ts +12 -0
  123. package/v2/model/UpdateTopicAttributeResponse.ts +19 -0
  124. package/v2/model/UpdateTopicRequest.ts +24 -0
  125. package/v2/model/UpdateTopicRequestBody.ts +18 -0
  126. package/v2/model/UpdateTopicResponse.ts +19 -0
  127. package/v2/model/VersionItem.ts +49 -0
  128. package/v2/{public-api.d.ts → public-api.ts} +1 -0
  129. package/LICENSE +0 -13
  130. package/README.md +0 -1
  131. package/huaweicloud-sdk-smn.d.ts +0 -2
  132. package/huaweicloud-sdk-smn.js +0 -31
  133. package/v2/SmnClient.d.ts +0 -1229
  134. package/v2/SmnRegion.d.ts +0 -23
  135. package/v2/SmnRegion.js +0 -59
  136. package/v2/model/AccessPolicy.d.ts +0 -16
  137. package/v2/model/AccessPolicy.js +0 -54
  138. package/v2/model/AddSubscriptionRequest.d.ts +0 -10
  139. package/v2/model/AddSubscriptionRequest.js +0 -28
  140. package/v2/model/AddSubscriptionRequestBody.d.ts +0 -12
  141. package/v2/model/AddSubscriptionRequestBody.js +0 -27
  142. package/v2/model/AddSubscriptionResponse.d.ts +0 -12
  143. package/v2/model/AddSubscriptionResponse.js +0 -55
  144. package/v2/model/ApplicationEndpoint.d.ts +0 -19
  145. package/v2/model/ApplicationEndpoint.js +0 -64
  146. package/v2/model/ApplicationItem.d.ts +0 -25
  147. package/v2/model/ApplicationItem.js +0 -83
  148. package/v2/model/BatchCreateOrDeleteResourceTagsRequest.d.ts +0 -14
  149. package/v2/model/BatchCreateOrDeleteResourceTagsRequest.js +0 -43
  150. package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.d.ts +0 -8
  151. package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.js +0 -19
  152. package/v2/model/BatchCreateOrDeleteResourceTagsResponse.d.ts +0 -4
  153. package/v2/model/BatchCreateOrDeleteResourceTagsResponse.js +0 -27
  154. package/v2/model/CancelSubscriptionRequest.d.ts +0 -7
  155. package/v2/model/CancelSubscriptionRequest.js +0 -24
  156. package/v2/model/CancelSubscriptionResponse.d.ts +0 -8
  157. package/v2/model/CancelSubscriptionResponse.js +0 -41
  158. package/v2/model/CreateApplicationEndpointRequest.d.ts +0 -10
  159. package/v2/model/CreateApplicationEndpointRequest.js +0 -28
  160. package/v2/model/CreateApplicationEndpointRequestBody.d.ts +0 -9
  161. package/v2/model/CreateApplicationEndpointRequestBody.js +0 -29
  162. package/v2/model/CreateApplicationEndpointResponse.d.ts +0 -12
  163. package/v2/model/CreateApplicationEndpointResponse.js +0 -55
  164. package/v2/model/CreateApplicationRequest.d.ts +0 -6
  165. package/v2/model/CreateApplicationRequest.js +0 -13
  166. package/v2/model/CreateApplicationRequestBody.d.ts +0 -15
  167. package/v2/model/CreateApplicationRequestBody.js +0 -49
  168. package/v2/model/CreateApplicationResponse.d.ts +0 -16
  169. package/v2/model/CreateApplicationResponse.js +0 -69
  170. package/v2/model/CreateLogtankRequest.d.ts +0 -10
  171. package/v2/model/CreateLogtankRequest.js +0 -28
  172. package/v2/model/CreateLogtankRequestBody.d.ts +0 -11
  173. package/v2/model/CreateLogtankRequestBody.js +0 -39
  174. package/v2/model/CreateLogtankResponse.d.ts +0 -10
  175. package/v2/model/CreateLogtankResponse.js +0 -45
  176. package/v2/model/CreateMessageTemplateRequest.d.ts +0 -6
  177. package/v2/model/CreateMessageTemplateRequest.js +0 -13
  178. package/v2/model/CreateMessageTemplateRequestBody.d.ts +0 -11
  179. package/v2/model/CreateMessageTemplateRequestBody.js +0 -34
  180. package/v2/model/CreateMessageTemplateResponse.d.ts +0 -12
  181. package/v2/model/CreateMessageTemplateResponse.js +0 -55
  182. package/v2/model/CreateResourceTagRequest.d.ts +0 -14
  183. package/v2/model/CreateResourceTagRequest.js +0 -43
  184. package/v2/model/CreateResourceTagRequestBody.d.ts +0 -6
  185. package/v2/model/CreateResourceTagRequestBody.js +0 -14
  186. package/v2/model/CreateResourceTagResponse.d.ts +0 -4
  187. package/v2/model/CreateResourceTagResponse.js +0 -27
  188. package/v2/model/CreateTopicRequest.d.ts +0 -6
  189. package/v2/model/CreateTopicRequest.js +0 -13
  190. package/v2/model/CreateTopicRequestBody.d.ts +0 -13
  191. package/v2/model/CreateTopicRequestBody.js +0 -43
  192. package/v2/model/CreateTopicResponse.d.ts +0 -12
  193. package/v2/model/CreateTopicResponse.js +0 -55
  194. package/v2/model/DeleteApplicationEndpointRequest.d.ts +0 -7
  195. package/v2/model/DeleteApplicationEndpointRequest.js +0 -24
  196. package/v2/model/DeleteApplicationEndpointResponse.d.ts +0 -8
  197. package/v2/model/DeleteApplicationEndpointResponse.js +0 -41
  198. package/v2/model/DeleteApplicationRequest.d.ts +0 -7
  199. package/v2/model/DeleteApplicationRequest.js +0 -24
  200. package/v2/model/DeleteApplicationResponse.d.ts +0 -8
  201. package/v2/model/DeleteApplicationResponse.js +0 -41
  202. package/v2/model/DeleteLogtankRequest.d.ts +0 -11
  203. package/v2/model/DeleteLogtankRequest.js +0 -39
  204. package/v2/model/DeleteLogtankResponse.d.ts +0 -8
  205. package/v2/model/DeleteLogtankResponse.js +0 -41
  206. package/v2/model/DeleteMessageTemplateRequest.d.ts +0 -7
  207. package/v2/model/DeleteMessageTemplateRequest.js +0 -24
  208. package/v2/model/DeleteMessageTemplateResponse.d.ts +0 -8
  209. package/v2/model/DeleteMessageTemplateResponse.js +0 -41
  210. package/v2/model/DeleteResourceTagRequest.d.ts +0 -13
  211. package/v2/model/DeleteResourceTagRequest.js +0 -44
  212. package/v2/model/DeleteResourceTagResponse.d.ts +0 -4
  213. package/v2/model/DeleteResourceTagResponse.js +0 -27
  214. package/v2/model/DeleteTopicAttributeByNameRequest.d.ts +0 -9
  215. package/v2/model/DeleteTopicAttributeByNameRequest.js +0 -29
  216. package/v2/model/DeleteTopicAttributeByNameResponse.d.ts +0 -8
  217. package/v2/model/DeleteTopicAttributeByNameResponse.js +0 -41
  218. package/v2/model/DeleteTopicAttributesRequest.d.ts +0 -7
  219. package/v2/model/DeleteTopicAttributesRequest.js +0 -24
  220. package/v2/model/DeleteTopicAttributesResponse.d.ts +0 -8
  221. package/v2/model/DeleteTopicAttributesResponse.js +0 -41
  222. package/v2/model/DeleteTopicRequest.d.ts +0 -7
  223. package/v2/model/DeleteTopicRequest.js +0 -24
  224. package/v2/model/DeleteTopicResponse.d.ts +0 -8
  225. package/v2/model/DeleteTopicResponse.js +0 -41
  226. package/v2/model/LinksItem.d.ts +0 -7
  227. package/v2/model/LinksItem.js +0 -19
  228. package/v2/model/ListApplicationAttributesRequest.d.ts +0 -7
  229. package/v2/model/ListApplicationAttributesRequest.js +0 -24
  230. package/v2/model/ListApplicationAttributesResponse.d.ts +0 -15
  231. package/v2/model/ListApplicationAttributesResponse.js +0 -59
  232. package/v2/model/ListApplicationAttributesResponseBodyAttributes.d.ts +0 -9
  233. package/v2/model/ListApplicationAttributesResponseBodyAttributes.js +0 -28
  234. package/v2/model/ListApplicationEndpointAttributesRequest.d.ts +0 -7
  235. package/v2/model/ListApplicationEndpointAttributesRequest.js +0 -24
  236. package/v2/model/ListApplicationEndpointAttributesResponse.d.ts +0 -11
  237. package/v2/model/ListApplicationEndpointAttributesResponse.js +0 -45
  238. package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.d.ts +0 -11
  239. package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.js +0 -34
  240. package/v2/model/ListApplicationEndpointsRequest.d.ts +0 -19
  241. package/v2/model/ListApplicationEndpointsRequest.js +0 -54
  242. package/v2/model/ListApplicationEndpointsResponse.d.ts +0 -15
  243. package/v2/model/ListApplicationEndpointsResponse.js +0 -59
  244. package/v2/model/ListApplicationsRequest.d.ts +0 -11
  245. package/v2/model/ListApplicationsRequest.js +0 -25
  246. package/v2/model/ListApplicationsResponse.d.ts +0 -15
  247. package/v2/model/ListApplicationsResponse.js +0 -59
  248. package/v2/model/ListInstanceRequestBody.d.ts +0 -27
  249. package/v2/model/ListInstanceRequestBody.js +0 -72
  250. package/v2/model/ListLogtankRequest.d.ts +0 -7
  251. package/v2/model/ListLogtankRequest.js +0 -24
  252. package/v2/model/ListLogtankResponse.d.ts +0 -13
  253. package/v2/model/ListLogtankResponse.js +0 -49
  254. package/v2/model/ListMessageTemplateDetailsRequest.d.ts +0 -7
  255. package/v2/model/ListMessageTemplateDetailsRequest.js +0 -24
  256. package/v2/model/ListMessageTemplateDetailsResponse.d.ts +0 -32
  257. package/v2/model/ListMessageTemplateDetailsResponse.js +0 -119
  258. package/v2/model/ListMessageTemplatesRequest.d.ts +0 -13
  259. package/v2/model/ListMessageTemplatesRequest.js +0 -35
  260. package/v2/model/ListMessageTemplatesResponse.d.ts +0 -17
  261. package/v2/model/ListMessageTemplatesResponse.js +0 -69
  262. package/v2/model/ListProjectTagsRequest.d.ts +0 -7
  263. package/v2/model/ListProjectTagsRequest.js +0 -24
  264. package/v2/model/ListProjectTagsResponse.d.ts +0 -7
  265. package/v2/model/ListProjectTagsResponse.js +0 -31
  266. package/v2/model/ListResourceInstancesRequest.d.ts +0 -10
  267. package/v2/model/ListResourceInstancesRequest.js +0 -28
  268. package/v2/model/ListResourceInstancesResponse.d.ts +0 -11
  269. package/v2/model/ListResourceInstancesResponse.js +0 -45
  270. package/v2/model/ListResourceTagsRequest.d.ts +0 -11
  271. package/v2/model/ListResourceTagsRequest.js +0 -39
  272. package/v2/model/ListResourceTagsResponse.d.ts +0 -7
  273. package/v2/model/ListResourceTagsResponse.js +0 -31
  274. package/v2/model/ListSubscriptionsByTopicRequest.d.ts +0 -11
  275. package/v2/model/ListSubscriptionsByTopicRequest.js +0 -32
  276. package/v2/model/ListSubscriptionsByTopicResponse.d.ts +0 -15
  277. package/v2/model/ListSubscriptionsByTopicResponse.js +0 -59
  278. package/v2/model/ListSubscriptionsItem.d.ts +0 -21
  279. package/v2/model/ListSubscriptionsItem.js +0 -64
  280. package/v2/model/ListSubscriptionsRequest.d.ts +0 -13
  281. package/v2/model/ListSubscriptionsRequest.js +0 -29
  282. package/v2/model/ListSubscriptionsResponse.d.ts +0 -15
  283. package/v2/model/ListSubscriptionsResponse.js +0 -59
  284. package/v2/model/ListTopicAttributesRequest.d.ts +0 -9
  285. package/v2/model/ListTopicAttributesRequest.js +0 -29
  286. package/v2/model/ListTopicAttributesResponse.d.ts +0 -11
  287. package/v2/model/ListTopicAttributesResponse.js +0 -45
  288. package/v2/model/ListTopicDetailsRequest.d.ts +0 -7
  289. package/v2/model/ListTopicDetailsRequest.js +0 -24
  290. package/v2/model/ListTopicDetailsResponse.d.ts +0 -38
  291. package/v2/model/ListTopicDetailsResponse.js +0 -143
  292. package/v2/model/ListTopicsItem.d.ts +0 -25
  293. package/v2/model/ListTopicsItem.js +0 -89
  294. package/v2/model/ListTopicsRequest.d.ts +0 -21
  295. package/v2/model/ListTopicsRequest.js +0 -63
  296. package/v2/model/ListTopicsResponse.d.ts +0 -15
  297. package/v2/model/ListTopicsResponse.js +0 -59
  298. package/v2/model/ListVersionRequest.d.ts +0 -3
  299. package/v2/model/ListVersionRequest.js +0 -9
  300. package/v2/model/ListVersionResponse.d.ts +0 -7
  301. package/v2/model/ListVersionResponse.js +0 -31
  302. package/v2/model/ListVersionsRequest.d.ts +0 -3
  303. package/v2/model/ListVersionsRequest.js +0 -9
  304. package/v2/model/ListVersionsResponse.d.ts +0 -7
  305. package/v2/model/ListVersionsResponse.js +0 -31
  306. package/v2/model/LogtankItem.d.ts +0 -21
  307. package/v2/model/LogtankItem.js +0 -74
  308. package/v2/model/MessageTemplate.d.ts +0 -25
  309. package/v2/model/MessageTemplate.js +0 -89
  310. package/v2/model/PublishAppMessageRequest.d.ts +0 -10
  311. package/v2/model/PublishAppMessageRequest.js +0 -28
  312. package/v2/model/PublishAppMessageRequestBody.d.ts +0 -13
  313. package/v2/model/PublishAppMessageRequestBody.js +0 -41
  314. package/v2/model/PublishAppMessageResponse.d.ts +0 -12
  315. package/v2/model/PublishAppMessageResponse.js +0 -55
  316. package/v2/model/PublishMessageRequest.d.ts +0 -10
  317. package/v2/model/PublishMessageRequest.js +0 -28
  318. package/v2/model/PublishMessageRequestBody.d.ts +0 -25
  319. package/v2/model/PublishMessageRequestBody.js +0 -63
  320. package/v2/model/PublishMessageResponse.d.ts +0 -12
  321. package/v2/model/PublishMessageResponse.js +0 -55
  322. package/v2/model/ResourceDetail.d.ts +0 -17
  323. package/v2/model/ResourceDetail.js +0 -59
  324. package/v2/model/ResourceTag.d.ts +0 -7
  325. package/v2/model/ResourceTag.js +0 -19
  326. package/v2/model/ResourceTags.d.ts +0 -7
  327. package/v2/model/ResourceTags.js +0 -19
  328. package/v2/model/Statement.d.ts +0 -35
  329. package/v2/model/Statement.js +0 -123
  330. package/v2/model/SubscriptionExtension.d.ts +0 -17
  331. package/v2/model/SubscriptionExtension.js +0 -55
  332. package/v2/model/TagMatch.d.ts +0 -7
  333. package/v2/model/TagMatch.js +0 -19
  334. package/v2/model/TagResource.d.ts +0 -19
  335. package/v2/model/TagResource.js +0 -59
  336. package/v2/model/TopicAttribute.d.ts +0 -10
  337. package/v2/model/TopicAttribute.js +0 -27
  338. package/v2/model/UpdateApplicationEndpointRequest.d.ts +0 -10
  339. package/v2/model/UpdateApplicationEndpointRequest.js +0 -28
  340. package/v2/model/UpdateApplicationEndpointRequestBody.d.ts +0 -9
  341. package/v2/model/UpdateApplicationEndpointRequestBody.js +0 -27
  342. package/v2/model/UpdateApplicationEndpointResponse.d.ts +0 -8
  343. package/v2/model/UpdateApplicationEndpointResponse.js +0 -41
  344. package/v2/model/UpdateApplicationRequest.d.ts +0 -10
  345. package/v2/model/UpdateApplicationRequest.js +0 -28
  346. package/v2/model/UpdateApplicationRequestBody.d.ts +0 -11
  347. package/v2/model/UpdateApplicationRequestBody.js +0 -39
  348. package/v2/model/UpdateApplicationResponse.d.ts +0 -8
  349. package/v2/model/UpdateApplicationResponse.js +0 -41
  350. package/v2/model/UpdateLogtankRequest.d.ts +0 -14
  351. package/v2/model/UpdateLogtankRequest.js +0 -43
  352. package/v2/model/UpdateLogtankRequestBody.d.ts +0 -11
  353. package/v2/model/UpdateLogtankRequestBody.js +0 -39
  354. package/v2/model/UpdateLogtankResponse.d.ts +0 -11
  355. package/v2/model/UpdateLogtankResponse.js +0 -45
  356. package/v2/model/UpdateMessageTemplateRequest.d.ts +0 -10
  357. package/v2/model/UpdateMessageTemplateRequest.js +0 -28
  358. package/v2/model/UpdateMessageTemplateRequestBody.d.ts +0 -5
  359. package/v2/model/UpdateMessageTemplateRequestBody.js +0 -14
  360. package/v2/model/UpdateMessageTemplateResponse.d.ts +0 -8
  361. package/v2/model/UpdateMessageTemplateResponse.js +0 -41
  362. package/v2/model/UpdateSubscriptionRequest.d.ts +0 -14
  363. package/v2/model/UpdateSubscriptionRequest.js +0 -43
  364. package/v2/model/UpdateSubscriptionRequestBody.d.ts +0 -5
  365. package/v2/model/UpdateSubscriptionRequestBody.js +0 -14
  366. package/v2/model/UpdateSubscriptionResponse.d.ts +0 -12
  367. package/v2/model/UpdateSubscriptionResponse.js +0 -55
  368. package/v2/model/UpdateTopicAttributeRequest.d.ts +0 -12
  369. package/v2/model/UpdateTopicAttributeRequest.js +0 -33
  370. package/v2/model/UpdateTopicAttributeRequestBody.d.ts +0 -5
  371. package/v2/model/UpdateTopicAttributeRequestBody.js +0 -14
  372. package/v2/model/UpdateTopicAttributeResponse.d.ts +0 -8
  373. package/v2/model/UpdateTopicAttributeResponse.js +0 -41
  374. package/v2/model/UpdateTopicRequest.d.ts +0 -10
  375. package/v2/model/UpdateTopicRequest.js +0 -28
  376. package/v2/model/UpdateTopicRequestBody.d.ts +0 -7
  377. package/v2/model/UpdateTopicRequestBody.js +0 -24
  378. package/v2/model/UpdateTopicResponse.d.ts +0 -8
  379. package/v2/model/UpdateTopicResponse.js +0 -41
  380. package/v2/model/VersionItem.d.ts +0 -18
  381. package/v2/model/VersionItem.js +0 -49
  382. package/v2/public-api.js +0 -141
@@ -0,0 +1,62 @@
1
+ import { Region } from "@huaweicloud/huaweicloud-sdk-core/region/region";
2
+
3
+
4
+ interface RegionMap {
5
+ [key: string]: Region;
6
+ }
7
+
8
+ export class SmnRegion {
9
+ public static AF_SOUTH_1 = new Region("af-south-1", ["https://smn.af-south-1.myhuaweicloud.com"]);
10
+ public static CN_NORTH_4 = new Region("cn-north-4", ["https://smn.cn-north-4.myhuaweicloud.com"]);
11
+ public static CN_NORTH_1 = new Region("cn-north-1", ["https://smn.cn-north-1.myhuaweicloud.com"]);
12
+ public static CN_EAST_2 = new Region("cn-east-2", ["https://smn.cn-east-2.myhuaweicloud.com"]);
13
+ public static CN_EAST_3 = new Region("cn-east-3", ["https://smn.cn-east-3.myhuaweicloud.com"]);
14
+ public static CN_SOUTH_1 = new Region("cn-south-1", ["https://smn.cn-south-1.myhuaweicloud.com"]);
15
+ public static CN_SOUTHWEST_2 = new Region("cn-southwest-2", ["https://smn.cn-southwest-2.myhuaweicloud.com"]);
16
+ public static AP_SOUTHEAST_2 = new Region("ap-southeast-2", ["https://smn.ap-southeast-2.myhuaweicloud.com"]);
17
+ public static AP_SOUTHEAST_1 = new Region("ap-southeast-1", ["https://smn.ap-southeast-1.myhuaweicloud.com"]);
18
+ public static AP_SOUTHEAST_3 = new Region("ap-southeast-3", ["https://smn.ap-southeast-3.myhuaweicloud.com"]);
19
+ public static CN_NORTH_2 = new Region("cn-north-2", ["https://smn.cn-north-2.myhuaweicloud.cn"]);
20
+ public static CN_SOUTH_2 = new Region("cn-south-2", ["https://smn.cn-south-2.myhuaweicloud.com"]);
21
+ public static NA_MEXICO_1 = new Region("na-mexico-1", ["https://smn.na-mexico-1.myhuaweicloud.com"]);
22
+ public static LA_NORTH_2 = new Region("la-north-2", ["https://smn.la-north-2.myhuaweicloud.com"]);
23
+ public static SA_BRAZIL_1 = new Region("sa-brazil-1", ["https://smn.sa-brazil-1.myhuaweicloud.com"]);
24
+ public static LA_SOUTH_2 = new Region("la-south-2", ["https://smn.la-south-2.myhuaweicloud.com"]);
25
+ public static CN_NORTH_9 = new Region("cn-north-9", ["https://smn.cn-north-9.myhuaweicloud.com"]);
26
+ public static AP_SOUTHEAST_4 = new Region("ap-southeast-4", ["https://smn.ap-southeast-4.myhuaweicloud.com"]);
27
+ public static TR_WEST_1 = new Region("tr-west-1", ["https://smn.tr-west-1.myhuaweicloud.com"]);
28
+
29
+
30
+ private static REGION_MAP: RegionMap = {
31
+ "af-south-1":SmnRegion.AF_SOUTH_1,
32
+ "cn-north-4":SmnRegion.CN_NORTH_4,
33
+ "cn-north-1":SmnRegion.CN_NORTH_1,
34
+ "cn-east-2":SmnRegion.CN_EAST_2,
35
+ "cn-east-3":SmnRegion.CN_EAST_3,
36
+ "cn-south-1":SmnRegion.CN_SOUTH_1,
37
+ "cn-southwest-2":SmnRegion.CN_SOUTHWEST_2,
38
+ "ap-southeast-2":SmnRegion.AP_SOUTHEAST_2,
39
+ "ap-southeast-1":SmnRegion.AP_SOUTHEAST_1,
40
+ "ap-southeast-3":SmnRegion.AP_SOUTHEAST_3,
41
+ "cn-north-2":SmnRegion.CN_NORTH_2,
42
+ "cn-south-2":SmnRegion.CN_SOUTH_2,
43
+ "na-mexico-1":SmnRegion.NA_MEXICO_1,
44
+ "la-north-2":SmnRegion.LA_NORTH_2,
45
+ "sa-brazil-1":SmnRegion.SA_BRAZIL_1,
46
+ "la-south-2":SmnRegion.LA_SOUTH_2,
47
+ "cn-north-9":SmnRegion.CN_NORTH_9,
48
+ "ap-southeast-4":SmnRegion.AP_SOUTHEAST_4,
49
+ "tr-west-1":SmnRegion.TR_WEST_1
50
+ };
51
+
52
+ public static valueOf(regionId: string) {
53
+ if (!regionId) {
54
+ throw new Error("Unexpected empty parameter: regionId.");
55
+ }
56
+ const result = this.REGION_MAP[regionId];
57
+ if (result) {
58
+ return result;
59
+ }
60
+ throw new Error(`Unexpected regionId: ${regionId}.`)
61
+ }
62
+ }
@@ -0,0 +1,43 @@
1
+ import { Statement } from './Statement';
2
+
3
+
4
+ export class AccessPolicy {
5
+ private 'Version': string | undefined;
6
+ private 'Id': string | undefined;
7
+ private 'Statement': Array<Statement> | undefined;
8
+ public constructor(version?: any, id?: any, statement?: any) {
9
+ this['Version'] = version;
10
+ this['Id'] = id;
11
+ this['Statement'] = statement;
12
+ }
13
+ public withVersion(version: string): AccessPolicy {
14
+ this['Version'] = version;
15
+ return this;
16
+ }
17
+ public set version(version: string | undefined) {
18
+ this['Version'] = version;
19
+ }
20
+ public get version() {
21
+ return this['Version'];
22
+ }
23
+ public withId(id: string): AccessPolicy {
24
+ this['Id'] = id;
25
+ return this;
26
+ }
27
+ public set id(id: string | undefined) {
28
+ this['Id'] = id;
29
+ }
30
+ public get id() {
31
+ return this['Id'];
32
+ }
33
+ public withStatement(statement: Array<Statement>): AccessPolicy {
34
+ this['Statement'] = statement;
35
+ return this;
36
+ }
37
+ public set statement(statement: Array<Statement> | undefined) {
38
+ this['Statement'] = statement;
39
+ }
40
+ public get statement() {
41
+ return this['Statement'];
42
+ }
43
+ }
@@ -0,0 +1,24 @@
1
+ import { AddSubscriptionRequestBody } from './AddSubscriptionRequestBody';
2
+
3
+
4
+ export class AddSubscriptionRequest {
5
+ private 'topic_urn': string | undefined;
6
+ public body?: AddSubscriptionRequestBody;
7
+ public constructor(topicUrn?: any) {
8
+ this['topic_urn'] = topicUrn;
9
+ }
10
+ public withTopicUrn(topicUrn: string): AddSubscriptionRequest {
11
+ this['topic_urn'] = topicUrn;
12
+ return this;
13
+ }
14
+ public set topicUrn(topicUrn: string | undefined) {
15
+ this['topic_urn'] = topicUrn;
16
+ }
17
+ public get topicUrn() {
18
+ return this['topic_urn'];
19
+ }
20
+ public withBody(body: AddSubscriptionRequestBody): AddSubscriptionRequest {
21
+ this['body'] = body;
22
+ return this;
23
+ }
24
+ }
@@ -0,0 +1,29 @@
1
+ import { SubscriptionExtension } from './SubscriptionExtension';
2
+
3
+
4
+ export class AddSubscriptionRequestBody {
5
+ public protocol: string;
6
+ public endpoint: string;
7
+ public remark?: string;
8
+ public extension?: SubscriptionExtension;
9
+ public constructor(protocol?: any, endpoint?: any) {
10
+ this['protocol'] = protocol;
11
+ this['endpoint'] = endpoint;
12
+ }
13
+ public withProtocol(protocol: string): AddSubscriptionRequestBody {
14
+ this['protocol'] = protocol;
15
+ return this;
16
+ }
17
+ public withEndpoint(endpoint: string): AddSubscriptionRequestBody {
18
+ this['endpoint'] = endpoint;
19
+ return this;
20
+ }
21
+ public withRemark(remark: string): AddSubscriptionRequestBody {
22
+ this['remark'] = remark;
23
+ return this;
24
+ }
25
+ public withExtension(extension: SubscriptionExtension): AddSubscriptionRequestBody {
26
+ this['extension'] = extension;
27
+ return this;
28
+ }
29
+ }
@@ -0,0 +1,30 @@
1
+
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+
4
+ export class AddSubscriptionResponse extends SdkResponse {
5
+ private 'request_id'?: string | undefined;
6
+ private 'subscription_urn'?: string | undefined;
7
+ public constructor() {
8
+ super();
9
+ }
10
+ public withRequestId(requestId: string): AddSubscriptionResponse {
11
+ this['request_id'] = requestId;
12
+ return this;
13
+ }
14
+ public set requestId(requestId: string | undefined) {
15
+ this['request_id'] = requestId;
16
+ }
17
+ public get requestId() {
18
+ return this['request_id'];
19
+ }
20
+ public withSubscriptionUrn(subscriptionUrn: string): AddSubscriptionResponse {
21
+ this['subscription_urn'] = subscriptionUrn;
22
+ return this;
23
+ }
24
+ public set subscriptionUrn(subscriptionUrn: string | undefined) {
25
+ this['subscription_urn'] = subscriptionUrn;
26
+ }
27
+ public get subscriptionUrn() {
28
+ return this['subscription_urn'];
29
+ }
30
+ }
@@ -0,0 +1,54 @@
1
+
2
+
3
+ export class ApplicationEndpoint {
4
+ private 'create_time': string | undefined;
5
+ private 'endpoint_urn': string | undefined;
6
+ private 'user_data': string | undefined;
7
+ public enabled: string;
8
+ public token: string;
9
+ public constructor(createTime?: any, endpointUrn?: any, userData?: any, enabled?: any, token?: any) {
10
+ this['create_time'] = createTime;
11
+ this['endpoint_urn'] = endpointUrn;
12
+ this['user_data'] = userData;
13
+ this['enabled'] = enabled;
14
+ this['token'] = token;
15
+ }
16
+ public withCreateTime(createTime: string): ApplicationEndpoint {
17
+ this['create_time'] = createTime;
18
+ return this;
19
+ }
20
+ public set createTime(createTime: string | undefined) {
21
+ this['create_time'] = createTime;
22
+ }
23
+ public get createTime() {
24
+ return this['create_time'];
25
+ }
26
+ public withEndpointUrn(endpointUrn: string): ApplicationEndpoint {
27
+ this['endpoint_urn'] = endpointUrn;
28
+ return this;
29
+ }
30
+ public set endpointUrn(endpointUrn: string | undefined) {
31
+ this['endpoint_urn'] = endpointUrn;
32
+ }
33
+ public get endpointUrn() {
34
+ return this['endpoint_urn'];
35
+ }
36
+ public withUserData(userData: string): ApplicationEndpoint {
37
+ this['user_data'] = userData;
38
+ return this;
39
+ }
40
+ public set userData(userData: string | undefined) {
41
+ this['user_data'] = userData;
42
+ }
43
+ public get userData() {
44
+ return this['user_data'];
45
+ }
46
+ public withEnabled(enabled: string): ApplicationEndpoint {
47
+ this['enabled'] = enabled;
48
+ return this;
49
+ }
50
+ public withToken(token: string): ApplicationEndpoint {
51
+ this['token'] = token;
52
+ return this;
53
+ }
54
+ }
@@ -0,0 +1,71 @@
1
+
2
+
3
+ export class ApplicationItem {
4
+ public name: string;
5
+ public platform: string;
6
+ private 'create_time': string | undefined;
7
+ private 'application_urn': string | undefined;
8
+ private 'application_id': string | undefined;
9
+ public enabled: string;
10
+ private 'apple_certificate_expiration_date'?: string | undefined;
11
+ public constructor(name?: any, platform?: any, createTime?: any, applicationUrn?: any, applicationId?: any, enabled?: any) {
12
+ this['name'] = name;
13
+ this['platform'] = platform;
14
+ this['create_time'] = createTime;
15
+ this['application_urn'] = applicationUrn;
16
+ this['application_id'] = applicationId;
17
+ this['enabled'] = enabled;
18
+ }
19
+ public withName(name: string): ApplicationItem {
20
+ this['name'] = name;
21
+ return this;
22
+ }
23
+ public withPlatform(platform: string): ApplicationItem {
24
+ this['platform'] = platform;
25
+ return this;
26
+ }
27
+ public withCreateTime(createTime: string): ApplicationItem {
28
+ this['create_time'] = createTime;
29
+ return this;
30
+ }
31
+ public set createTime(createTime: string | undefined) {
32
+ this['create_time'] = createTime;
33
+ }
34
+ public get createTime() {
35
+ return this['create_time'];
36
+ }
37
+ public withApplicationUrn(applicationUrn: string): ApplicationItem {
38
+ this['application_urn'] = applicationUrn;
39
+ return this;
40
+ }
41
+ public set applicationUrn(applicationUrn: string | undefined) {
42
+ this['application_urn'] = applicationUrn;
43
+ }
44
+ public get applicationUrn() {
45
+ return this['application_urn'];
46
+ }
47
+ public withApplicationId(applicationId: string): ApplicationItem {
48
+ this['application_id'] = applicationId;
49
+ return this;
50
+ }
51
+ public set applicationId(applicationId: string | undefined) {
52
+ this['application_id'] = applicationId;
53
+ }
54
+ public get applicationId() {
55
+ return this['application_id'];
56
+ }
57
+ public withEnabled(enabled: string): ApplicationItem {
58
+ this['enabled'] = enabled;
59
+ return this;
60
+ }
61
+ public withAppleCertificateExpirationDate(appleCertificateExpirationDate: string): ApplicationItem {
62
+ this['apple_certificate_expiration_date'] = appleCertificateExpirationDate;
63
+ return this;
64
+ }
65
+ public set appleCertificateExpirationDate(appleCertificateExpirationDate: string | undefined) {
66
+ this['apple_certificate_expiration_date'] = appleCertificateExpirationDate;
67
+ }
68
+ public get appleCertificateExpirationDate() {
69
+ return this['apple_certificate_expiration_date'];
70
+ }
71
+ }
@@ -0,0 +1,36 @@
1
+ import { BatchCreateOrDeleteResourceTagsRequestBody } from './BatchCreateOrDeleteResourceTagsRequestBody';
2
+
3
+
4
+ export class BatchCreateOrDeleteResourceTagsRequest {
5
+ private 'resource_type': string | undefined;
6
+ private 'resource_id': string | undefined;
7
+ public body?: BatchCreateOrDeleteResourceTagsRequestBody;
8
+ public constructor(resourceType?: any, resourceId?: any) {
9
+ this['resource_type'] = resourceType;
10
+ this['resource_id'] = resourceId;
11
+ }
12
+ public withResourceType(resourceType: string): BatchCreateOrDeleteResourceTagsRequest {
13
+ this['resource_type'] = resourceType;
14
+ return this;
15
+ }
16
+ public set resourceType(resourceType: string | undefined) {
17
+ this['resource_type'] = resourceType;
18
+ }
19
+ public get resourceType() {
20
+ return this['resource_type'];
21
+ }
22
+ public withResourceId(resourceId: string): BatchCreateOrDeleteResourceTagsRequest {
23
+ this['resource_id'] = resourceId;
24
+ return this;
25
+ }
26
+ public set resourceId(resourceId: string | undefined) {
27
+ this['resource_id'] = resourceId;
28
+ }
29
+ public get resourceId() {
30
+ return this['resource_id'];
31
+ }
32
+ public withBody(body: BatchCreateOrDeleteResourceTagsRequestBody): BatchCreateOrDeleteResourceTagsRequest {
33
+ this['body'] = body;
34
+ return this;
35
+ }
36
+ }
@@ -0,0 +1,19 @@
1
+ import { ResourceTag } from './ResourceTag';
2
+
3
+
4
+ export class BatchCreateOrDeleteResourceTagsRequestBody {
5
+ public tags: Array<ResourceTag>;
6
+ public action: string;
7
+ public constructor(tags?: any, action?: any) {
8
+ this['tags'] = tags;
9
+ this['action'] = action;
10
+ }
11
+ public withTags(tags: Array<ResourceTag>): BatchCreateOrDeleteResourceTagsRequestBody {
12
+ this['tags'] = tags;
13
+ return this;
14
+ }
15
+ public withAction(action: string): BatchCreateOrDeleteResourceTagsRequestBody {
16
+ this['action'] = action;
17
+ return this;
18
+ }
19
+ }
@@ -0,0 +1,8 @@
1
+
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+
4
+ export class BatchCreateOrDeleteResourceTagsResponse extends SdkResponse {
5
+ public constructor() {
6
+ super();
7
+ }
8
+ }
@@ -0,0 +1,18 @@
1
+
2
+
3
+ export class CancelSubscriptionRequest {
4
+ private 'subscription_urn': string | undefined;
5
+ public constructor(subscriptionUrn?: any) {
6
+ this['subscription_urn'] = subscriptionUrn;
7
+ }
8
+ public withSubscriptionUrn(subscriptionUrn: string): CancelSubscriptionRequest {
9
+ this['subscription_urn'] = subscriptionUrn;
10
+ return this;
11
+ }
12
+ public set subscriptionUrn(subscriptionUrn: string | undefined) {
13
+ this['subscription_urn'] = subscriptionUrn;
14
+ }
15
+ public get subscriptionUrn() {
16
+ return this['subscription_urn'];
17
+ }
18
+ }
@@ -0,0 +1,19 @@
1
+
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+
4
+ export class CancelSubscriptionResponse extends SdkResponse {
5
+ private 'request_id'?: string | undefined;
6
+ public constructor() {
7
+ super();
8
+ }
9
+ public withRequestId(requestId: string): CancelSubscriptionResponse {
10
+ this['request_id'] = requestId;
11
+ return this;
12
+ }
13
+ public set requestId(requestId: string | undefined) {
14
+ this['request_id'] = requestId;
15
+ }
16
+ public get requestId() {
17
+ return this['request_id'];
18
+ }
19
+ }
@@ -0,0 +1,24 @@
1
+ import { CreateApplicationEndpointRequestBody } from './CreateApplicationEndpointRequestBody';
2
+
3
+
4
+ export class CreateApplicationEndpointRequest {
5
+ private 'application_urn': string | undefined;
6
+ public body?: CreateApplicationEndpointRequestBody;
7
+ public constructor(applicationUrn?: any) {
8
+ this['application_urn'] = applicationUrn;
9
+ }
10
+ public withApplicationUrn(applicationUrn: string): CreateApplicationEndpointRequest {
11
+ this['application_urn'] = applicationUrn;
12
+ return this;
13
+ }
14
+ public set applicationUrn(applicationUrn: string | undefined) {
15
+ this['application_urn'] = applicationUrn;
16
+ }
17
+ public get applicationUrn() {
18
+ return this['application_urn'];
19
+ }
20
+ public withBody(body: CreateApplicationEndpointRequestBody): CreateApplicationEndpointRequest {
21
+ this['body'] = body;
22
+ return this;
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+
2
+
3
+ export class CreateApplicationEndpointRequestBody {
4
+ public token: string;
5
+ private 'user_data': string | undefined;
6
+ public constructor(token?: any, userData?: any) {
7
+ this['token'] = token;
8
+ this['user_data'] = userData;
9
+ }
10
+ public withToken(token: string): CreateApplicationEndpointRequestBody {
11
+ this['token'] = token;
12
+ return this;
13
+ }
14
+ public withUserData(userData: string): CreateApplicationEndpointRequestBody {
15
+ this['user_data'] = userData;
16
+ return this;
17
+ }
18
+ public set userData(userData: string | undefined) {
19
+ this['user_data'] = userData;
20
+ }
21
+ public get userData() {
22
+ return this['user_data'];
23
+ }
24
+ }
@@ -0,0 +1,30 @@
1
+
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+
4
+ export class CreateApplicationEndpointResponse extends SdkResponse {
5
+ private 'request_id'?: string | undefined;
6
+ private 'endpoint_urn'?: string | undefined;
7
+ public constructor() {
8
+ super();
9
+ }
10
+ public withRequestId(requestId: string): CreateApplicationEndpointResponse {
11
+ this['request_id'] = requestId;
12
+ return this;
13
+ }
14
+ public set requestId(requestId: string | undefined) {
15
+ this['request_id'] = requestId;
16
+ }
17
+ public get requestId() {
18
+ return this['request_id'];
19
+ }
20
+ public withEndpointUrn(endpointUrn: string): CreateApplicationEndpointResponse {
21
+ this['endpoint_urn'] = endpointUrn;
22
+ return this;
23
+ }
24
+ public set endpointUrn(endpointUrn: string | undefined) {
25
+ this['endpoint_urn'] = endpointUrn;
26
+ }
27
+ public get endpointUrn() {
28
+ return this['endpoint_urn'];
29
+ }
30
+ }
@@ -0,0 +1,12 @@
1
+ import { CreateApplicationRequestBody } from './CreateApplicationRequestBody';
2
+
3
+
4
+ export class CreateApplicationRequest {
5
+ public body?: CreateApplicationRequestBody;
6
+ public constructor() {
7
+ }
8
+ public withBody(body: CreateApplicationRequestBody): CreateApplicationRequest {
9
+ this['body'] = body;
10
+ return this;
11
+ }
12
+ }
@@ -0,0 +1,42 @@
1
+
2
+
3
+ export class CreateApplicationRequestBody {
4
+ public name: string;
5
+ public platform: string;
6
+ private 'platform_principal': string | undefined;
7
+ private 'platform_credential': string | undefined;
8
+ public constructor(name?: any, platform?: any, platformPrincipal?: any, platformCredential?: any) {
9
+ this['name'] = name;
10
+ this['platform'] = platform;
11
+ this['platform_principal'] = platformPrincipal;
12
+ this['platform_credential'] = platformCredential;
13
+ }
14
+ public withName(name: string): CreateApplicationRequestBody {
15
+ this['name'] = name;
16
+ return this;
17
+ }
18
+ public withPlatform(platform: string): CreateApplicationRequestBody {
19
+ this['platform'] = platform;
20
+ return this;
21
+ }
22
+ public withPlatformPrincipal(platformPrincipal: string): CreateApplicationRequestBody {
23
+ this['platform_principal'] = platformPrincipal;
24
+ return this;
25
+ }
26
+ public set platformPrincipal(platformPrincipal: string | undefined) {
27
+ this['platform_principal'] = platformPrincipal;
28
+ }
29
+ public get platformPrincipal() {
30
+ return this['platform_principal'];
31
+ }
32
+ public withPlatformCredential(platformCredential: string): CreateApplicationRequestBody {
33
+ this['platform_credential'] = platformCredential;
34
+ return this;
35
+ }
36
+ public set platformCredential(platformCredential: string | undefined) {
37
+ this['platform_credential'] = platformCredential;
38
+ }
39
+ public get platformCredential() {
40
+ return this['platform_credential'];
41
+ }
42
+ }
@@ -0,0 +1,41 @@
1
+
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+
4
+ export class CreateApplicationResponse extends SdkResponse {
5
+ private 'request_id'?: string | undefined;
6
+ private 'application_urn'?: string | undefined;
7
+ private 'application_id'?: string | undefined;
8
+ public constructor() {
9
+ super();
10
+ }
11
+ public withRequestId(requestId: string): CreateApplicationResponse {
12
+ this['request_id'] = requestId;
13
+ return this;
14
+ }
15
+ public set requestId(requestId: string | undefined) {
16
+ this['request_id'] = requestId;
17
+ }
18
+ public get requestId() {
19
+ return this['request_id'];
20
+ }
21
+ public withApplicationUrn(applicationUrn: string): CreateApplicationResponse {
22
+ this['application_urn'] = applicationUrn;
23
+ return this;
24
+ }
25
+ public set applicationUrn(applicationUrn: string | undefined) {
26
+ this['application_urn'] = applicationUrn;
27
+ }
28
+ public get applicationUrn() {
29
+ return this['application_urn'];
30
+ }
31
+ public withApplicationId(applicationId: string): CreateApplicationResponse {
32
+ this['application_id'] = applicationId;
33
+ return this;
34
+ }
35
+ public set applicationId(applicationId: string | undefined) {
36
+ this['application_id'] = applicationId;
37
+ }
38
+ public get applicationId() {
39
+ return this['application_id'];
40
+ }
41
+ }
@@ -0,0 +1,24 @@
1
+ import { CreateLogtankRequestBody } from './CreateLogtankRequestBody';
2
+
3
+
4
+ export class CreateLogtankRequest {
5
+ private 'topic_urn': string | undefined;
6
+ public body?: CreateLogtankRequestBody;
7
+ public constructor(topicUrn?: any) {
8
+ this['topic_urn'] = topicUrn;
9
+ }
10
+ public withTopicUrn(topicUrn: string): CreateLogtankRequest {
11
+ this['topic_urn'] = topicUrn;
12
+ return this;
13
+ }
14
+ public set topicUrn(topicUrn: string | undefined) {
15
+ this['topic_urn'] = topicUrn;
16
+ }
17
+ public get topicUrn() {
18
+ return this['topic_urn'];
19
+ }
20
+ public withBody(body: CreateLogtankRequestBody): CreateLogtankRequest {
21
+ this['body'] = body;
22
+ return this;
23
+ }
24
+ }
@@ -0,0 +1,30 @@
1
+
2
+
3
+ export class CreateLogtankRequestBody {
4
+ private 'log_group_id': string | undefined;
5
+ private 'log_stream_id': string | undefined;
6
+ public constructor(logGroupId?: any, logStreamId?: any) {
7
+ this['log_group_id'] = logGroupId;
8
+ this['log_stream_id'] = logStreamId;
9
+ }
10
+ public withLogGroupId(logGroupId: string): CreateLogtankRequestBody {
11
+ this['log_group_id'] = logGroupId;
12
+ return this;
13
+ }
14
+ public set logGroupId(logGroupId: string | undefined) {
15
+ this['log_group_id'] = logGroupId;
16
+ }
17
+ public get logGroupId() {
18
+ return this['log_group_id'];
19
+ }
20
+ public withLogStreamId(logStreamId: string): CreateLogtankRequestBody {
21
+ this['log_stream_id'] = logStreamId;
22
+ return this;
23
+ }
24
+ public set logStreamId(logStreamId: string | undefined) {
25
+ this['log_stream_id'] = logStreamId;
26
+ }
27
+ public get logStreamId() {
28
+ return this['log_stream_id'];
29
+ }
30
+ }