kb-cloud-client-typescript 2.3.0-alpha.174 → 2.3.0-alpha.176

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 (180) hide show
  1. package/dist/adminapi/api.d.ts +2 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +2 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/account-api.d.ts +568 -0
  6. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/account-api.js +636 -0
  8. package/dist/adminapi/apis/account-api.js.map +1 -1
  9. package/dist/adminapi/apis/elasticsearch-api.d.ts +1221 -0
  10. package/dist/adminapi/apis/elasticsearch-api.d.ts.map +1 -0
  11. package/dist/adminapi/apis/elasticsearch-api.js +1332 -0
  12. package/dist/adminapi/apis/elasticsearch-api.js.map +1 -0
  13. package/dist/adminapi/apis/hive-api.d.ts +334 -0
  14. package/dist/adminapi/apis/hive-api.d.ts.map +1 -0
  15. package/dist/adminapi/apis/hive-api.js +382 -0
  16. package/dist/adminapi/apis/hive-api.js.map +1 -0
  17. package/dist/adminapi/apis/kafka-api.d.ts +286 -0
  18. package/dist/adminapi/apis/kafka-api.d.ts.map +1 -1
  19. package/dist/adminapi/apis/kafka-api.js +318 -0
  20. package/dist/adminapi/apis/kafka-api.js.map +1 -1
  21. package/dist/adminapi/apis/shared-api.d.ts +1787 -46
  22. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  23. package/dist/adminapi/apis/shared-api.js +2060 -156
  24. package/dist/adminapi/apis/shared-api.js.map +1 -1
  25. package/dist/adminapi/models/esput-security-user-request.d.ts +63 -0
  26. package/dist/adminapi/models/esput-security-user-request.d.ts.map +1 -0
  27. package/dist/adminapi/models/esput-security-user-request.js +16 -0
  28. package/dist/adminapi/models/esput-security-user-request.js.map +1 -0
  29. package/dist/adminapi/models/essecurity-application-privileges.d.ts +37 -0
  30. package/dist/adminapi/models/essecurity-application-privileges.d.ts.map +1 -0
  31. package/dist/adminapi/models/essecurity-application-privileges.js +16 -0
  32. package/dist/adminapi/models/essecurity-application-privileges.js.map +1 -0
  33. package/dist/adminapi/models/essecurity-field-security.d.ts +31 -0
  34. package/dist/adminapi/models/essecurity-field-security.d.ts.map +1 -0
  35. package/dist/adminapi/models/essecurity-field-security.js +16 -0
  36. package/dist/adminapi/models/essecurity-field-security.js.map +1 -0
  37. package/dist/adminapi/models/essecurity-index-privileges.d.ts +50 -0
  38. package/dist/adminapi/models/essecurity-index-privileges.d.ts.map +1 -0
  39. package/dist/adminapi/models/essecurity-index-privileges.js +16 -0
  40. package/dist/adminapi/models/essecurity-index-privileges.js.map +1 -0
  41. package/dist/adminapi/models/essecurity-password-request.d.ts +25 -0
  42. package/dist/adminapi/models/essecurity-password-request.d.ts.map +1 -0
  43. package/dist/adminapi/models/essecurity-password-request.js +16 -0
  44. package/dist/adminapi/models/essecurity-password-request.js.map +1 -0
  45. package/dist/adminapi/models/essecurity-remote-cluster-privileges.d.ts +31 -0
  46. package/dist/adminapi/models/essecurity-remote-cluster-privileges.d.ts.map +1 -0
  47. package/dist/adminapi/models/essecurity-remote-cluster-privileges.js +16 -0
  48. package/dist/adminapi/models/essecurity-remote-cluster-privileges.js.map +1 -0
  49. package/dist/adminapi/models/essecurity-remote-index-privileges.d.ts +56 -0
  50. package/dist/adminapi/models/essecurity-remote-index-privileges.d.ts.map +1 -0
  51. package/dist/adminapi/models/essecurity-remote-index-privileges.js +16 -0
  52. package/dist/adminapi/models/essecurity-remote-index-privileges.js.map +1 -0
  53. package/dist/adminapi/models/essecurity-role-descriptor.d.ts +97 -0
  54. package/dist/adminapi/models/essecurity-role-descriptor.d.ts.map +1 -0
  55. package/dist/adminapi/models/essecurity-role-descriptor.js +16 -0
  56. package/dist/adminapi/models/essecurity-role-descriptor.js.map +1 -0
  57. package/dist/adminapi/models/essecurity-role-mapping.d.ts +54 -0
  58. package/dist/adminapi/models/essecurity-role-mapping.d.ts.map +1 -0
  59. package/dist/adminapi/models/essecurity-role-mapping.js +16 -0
  60. package/dist/adminapi/models/essecurity-role-mapping.js.map +1 -0
  61. package/dist/adminapi/models/essecurity-role-template-format.d.ts +22 -0
  62. package/dist/adminapi/models/essecurity-role-template-format.d.ts.map +1 -0
  63. package/dist/adminapi/models/essecurity-role-template-format.js +26 -0
  64. package/dist/adminapi/models/essecurity-role-template-format.js.map +1 -0
  65. package/dist/adminapi/models/essecurity-role-template.d.ts +34 -0
  66. package/dist/adminapi/models/essecurity-role-template.d.ts.map +1 -0
  67. package/dist/adminapi/models/essecurity-role-template.js +16 -0
  68. package/dist/adminapi/models/essecurity-role-template.js.map +1 -0
  69. package/dist/adminapi/models/essecurity-user.d.ts +51 -0
  70. package/dist/adminapi/models/essecurity-user.d.ts.map +1 -0
  71. package/dist/adminapi/models/essecurity-user.js +16 -0
  72. package/dist/adminapi/models/essecurity-user.js.map +1 -0
  73. package/dist/adminapi/models/index.d.ts +12 -0
  74. package/dist/adminapi/models/index.d.ts.map +1 -1
  75. package/dist/adminapi/models/index.js +12 -0
  76. package/dist/adminapi/models/index.js.map +1 -1
  77. package/dist/openapi/api.d.ts +1 -0
  78. package/dist/openapi/api.d.ts.map +1 -1
  79. package/dist/openapi/api.js +1 -0
  80. package/dist/openapi/api.js.map +1 -1
  81. package/dist/openapi/apis/elasticsearch-api.d.ts +1221 -0
  82. package/dist/openapi/apis/elasticsearch-api.d.ts.map +1 -0
  83. package/dist/openapi/apis/elasticsearch-api.js +1332 -0
  84. package/dist/openapi/apis/elasticsearch-api.js.map +1 -0
  85. package/dist/openapi/apis/shared-api.d.ts +1187 -14
  86. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  87. package/dist/openapi/apis/shared-api.js +1407 -139
  88. package/dist/openapi/apis/shared-api.js.map +1 -1
  89. package/dist/openapi/models/esput-security-user-request.d.ts +63 -0
  90. package/dist/openapi/models/esput-security-user-request.d.ts.map +1 -0
  91. package/dist/openapi/models/esput-security-user-request.js +16 -0
  92. package/dist/openapi/models/esput-security-user-request.js.map +1 -0
  93. package/dist/openapi/models/essecurity-application-privileges.d.ts +37 -0
  94. package/dist/openapi/models/essecurity-application-privileges.d.ts.map +1 -0
  95. package/dist/openapi/models/essecurity-application-privileges.js +16 -0
  96. package/dist/openapi/models/essecurity-application-privileges.js.map +1 -0
  97. package/dist/openapi/models/essecurity-field-security.d.ts +31 -0
  98. package/dist/openapi/models/essecurity-field-security.d.ts.map +1 -0
  99. package/dist/openapi/models/essecurity-field-security.js +16 -0
  100. package/dist/openapi/models/essecurity-field-security.js.map +1 -0
  101. package/dist/openapi/models/essecurity-index-privileges.d.ts +50 -0
  102. package/dist/openapi/models/essecurity-index-privileges.d.ts.map +1 -0
  103. package/dist/openapi/models/essecurity-index-privileges.js +16 -0
  104. package/dist/openapi/models/essecurity-index-privileges.js.map +1 -0
  105. package/dist/openapi/models/essecurity-password-request.d.ts +25 -0
  106. package/dist/openapi/models/essecurity-password-request.d.ts.map +1 -0
  107. package/dist/openapi/models/essecurity-password-request.js +16 -0
  108. package/dist/openapi/models/essecurity-password-request.js.map +1 -0
  109. package/dist/openapi/models/essecurity-remote-cluster-privileges.d.ts +31 -0
  110. package/dist/openapi/models/essecurity-remote-cluster-privileges.d.ts.map +1 -0
  111. package/dist/openapi/models/essecurity-remote-cluster-privileges.js +16 -0
  112. package/dist/openapi/models/essecurity-remote-cluster-privileges.js.map +1 -0
  113. package/dist/openapi/models/essecurity-remote-index-privileges.d.ts +56 -0
  114. package/dist/openapi/models/essecurity-remote-index-privileges.d.ts.map +1 -0
  115. package/dist/openapi/models/essecurity-remote-index-privileges.js +16 -0
  116. package/dist/openapi/models/essecurity-remote-index-privileges.js.map +1 -0
  117. package/dist/openapi/models/essecurity-role-descriptor.d.ts +97 -0
  118. package/dist/openapi/models/essecurity-role-descriptor.d.ts.map +1 -0
  119. package/dist/openapi/models/essecurity-role-descriptor.js +16 -0
  120. package/dist/openapi/models/essecurity-role-descriptor.js.map +1 -0
  121. package/dist/openapi/models/essecurity-role-mapping.d.ts +54 -0
  122. package/dist/openapi/models/essecurity-role-mapping.d.ts.map +1 -0
  123. package/dist/openapi/models/essecurity-role-mapping.js +16 -0
  124. package/dist/openapi/models/essecurity-role-mapping.js.map +1 -0
  125. package/dist/openapi/models/essecurity-role-template-format.d.ts +22 -0
  126. package/dist/openapi/models/essecurity-role-template-format.d.ts.map +1 -0
  127. package/dist/openapi/models/essecurity-role-template-format.js +26 -0
  128. package/dist/openapi/models/essecurity-role-template-format.js.map +1 -0
  129. package/dist/openapi/models/essecurity-role-template.d.ts +34 -0
  130. package/dist/openapi/models/essecurity-role-template.d.ts.map +1 -0
  131. package/dist/openapi/models/essecurity-role-template.js +16 -0
  132. package/dist/openapi/models/essecurity-role-template.js.map +1 -0
  133. package/dist/openapi/models/essecurity-user.d.ts +51 -0
  134. package/dist/openapi/models/essecurity-user.d.ts.map +1 -0
  135. package/dist/openapi/models/essecurity-user.js +16 -0
  136. package/dist/openapi/models/essecurity-user.js.map +1 -0
  137. package/dist/openapi/models/index.d.ts +12 -0
  138. package/dist/openapi/models/index.d.ts.map +1 -1
  139. package/dist/openapi/models/index.js +12 -0
  140. package/dist/openapi/models/index.js.map +1 -1
  141. package/package.json +1 -1
  142. package/src/adminapi/.openapi-generator/FILES +14 -0
  143. package/src/adminapi/api.ts +2 -0
  144. package/src/adminapi/apis/account-api.ts +1046 -46
  145. package/src/adminapi/apis/elasticsearch-api.ts +2072 -0
  146. package/src/adminapi/apis/hive-api.ts +574 -0
  147. package/src/adminapi/apis/kafka-api.ts +504 -0
  148. package/src/adminapi/apis/shared-api.ts +3171 -169
  149. package/src/adminapi/models/esput-security-user-request.ts +66 -0
  150. package/src/adminapi/models/essecurity-application-privileges.ts +42 -0
  151. package/src/adminapi/models/essecurity-field-security.ts +36 -0
  152. package/src/adminapi/models/essecurity-index-privileges.ts +57 -0
  153. package/src/adminapi/models/essecurity-password-request.ts +30 -0
  154. package/src/adminapi/models/essecurity-remote-cluster-privileges.ts +36 -0
  155. package/src/adminapi/models/essecurity-remote-index-privileges.ts +63 -0
  156. package/src/adminapi/models/essecurity-role-descriptor.ts +102 -0
  157. package/src/adminapi/models/essecurity-role-mapping.ts +57 -0
  158. package/src/adminapi/models/essecurity-role-template-format.ts +31 -0
  159. package/src/adminapi/models/essecurity-role-template.ts +41 -0
  160. package/src/adminapi/models/essecurity-user.ts +54 -0
  161. package/src/adminapi/models/index.ts +12 -0
  162. package/src/adminapi.yaml +1419 -208
  163. package/src/openapi/.openapi-generator/FILES +13 -0
  164. package/src/openapi/api.ts +1 -0
  165. package/src/openapi/apis/elasticsearch-api.ts +2072 -0
  166. package/src/openapi/apis/shared-api.ts +2229 -227
  167. package/src/openapi/models/esput-security-user-request.ts +66 -0
  168. package/src/openapi/models/essecurity-application-privileges.ts +42 -0
  169. package/src/openapi/models/essecurity-field-security.ts +36 -0
  170. package/src/openapi/models/essecurity-index-privileges.ts +57 -0
  171. package/src/openapi/models/essecurity-password-request.ts +30 -0
  172. package/src/openapi/models/essecurity-remote-cluster-privileges.ts +36 -0
  173. package/src/openapi/models/essecurity-remote-index-privileges.ts +63 -0
  174. package/src/openapi/models/essecurity-role-descriptor.ts +102 -0
  175. package/src/openapi/models/essecurity-role-mapping.ts +57 -0
  176. package/src/openapi/models/essecurity-role-template-format.ts +31 -0
  177. package/src/openapi/models/essecurity-role-template.ts +41 -0
  178. package/src/openapi/models/essecurity-user.ts +54 -0
  179. package/src/openapi/models/index.ts +12 -0
  180. package/src/openapi.yaml +863 -0
@@ -528,6 +528,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
528
528
  options: localVarRequestOptions,
529
529
  };
530
530
  },
531
+ /**
532
+ *
533
+ * @summary Change Elasticsearch account password
534
+ * @param {string} orgName
535
+ * @param {string} clusterName
536
+ * @param {string} username
537
+ * @param {ESSecurityPasswordRequest} body
538
+ * @param {*} [options] Override http request option.
539
+ * @throws {RequiredError}
540
+ */
541
+ changeElasticsearchSecurityUserPassword: async (orgName, clusterName, username, body, options = {}) => {
542
+ // verify required parameter 'orgName' is not null or undefined
543
+ (0, common_1.assertParamExists)('changeElasticsearchSecurityUserPassword', 'orgName', orgName);
544
+ // verify required parameter 'clusterName' is not null or undefined
545
+ (0, common_1.assertParamExists)('changeElasticsearchSecurityUserPassword', 'clusterName', clusterName);
546
+ // verify required parameter 'username' is not null or undefined
547
+ (0, common_1.assertParamExists)('changeElasticsearchSecurityUserPassword', 'username', username);
548
+ // verify required parameter 'body' is not null or undefined
549
+ (0, common_1.assertParamExists)('changeElasticsearchSecurityUserPassword', 'body', body);
550
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
551
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
552
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
553
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
554
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
555
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
556
+ let baseOptions;
557
+ if (configuration) {
558
+ baseOptions = configuration.baseOptions;
559
+ }
560
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
561
+ const localVarHeaderParameter = {};
562
+ const localVarQueryParameter = {};
563
+ // authentication BearerToken required
564
+ // http bearer authentication required
565
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
566
+ // authentication DigestAuth required
567
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
568
+ localVarHeaderParameter['Content-Type'] = 'application/json';
569
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
570
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
571
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
572
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
573
+ return {
574
+ url: (0, common_1.toPathString)(localVarUrlObj),
575
+ options: localVarRequestOptions,
576
+ };
577
+ },
531
578
  /**
532
579
  * check apikey available
533
580
  * @summary check apikey available
@@ -919,6 +966,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
919
966
  options: localVarRequestOptions,
920
967
  };
921
968
  },
969
+ /**
970
+ * create an hive account
971
+ * @summary Create Hive account
972
+ * @param {string} orgName name of the Org
973
+ * @param {string} clusterName name of the Cluster
974
+ * @param {Account} body
975
+ * @param {*} [options] Override http request option.
976
+ * @throws {RequiredError}
977
+ */
978
+ createHiveAccount: async (orgName, clusterName, body, options = {}) => {
979
+ // verify required parameter 'orgName' is not null or undefined
980
+ (0, common_1.assertParamExists)('createHiveAccount', 'orgName', orgName);
981
+ // verify required parameter 'clusterName' is not null or undefined
982
+ (0, common_1.assertParamExists)('createHiveAccount', 'clusterName', clusterName);
983
+ // verify required parameter 'body' is not null or undefined
984
+ (0, common_1.assertParamExists)('createHiveAccount', 'body', body);
985
+ const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts`
986
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
987
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
988
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
989
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
990
+ let baseOptions;
991
+ if (configuration) {
992
+ baseOptions = configuration.baseOptions;
993
+ }
994
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
995
+ const localVarHeaderParameter = {};
996
+ const localVarQueryParameter = {};
997
+ // authentication BearerToken required
998
+ // http bearer authentication required
999
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1000
+ // authentication DigestAuth required
1001
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1002
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1003
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1004
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1005
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1006
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1007
+ return {
1008
+ url: (0, common_1.toPathString)(localVarUrlObj),
1009
+ options: localVarRequestOptions,
1010
+ };
1011
+ },
922
1012
  /**
923
1013
  *
924
1014
  * @summary Create IP whitelist
@@ -1005,6 +1095,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
1005
1095
  options: localVarRequestOptions,
1006
1096
  };
1007
1097
  },
1098
+ /**
1099
+ * create an account in cluster
1100
+ * @summary Create cluster account
1101
+ * @param {string} orgName name of the Org
1102
+ * @param {string} clusterName name of the Cluster
1103
+ * @param {Account} body
1104
+ * @param {*} [options] Override http request option.
1105
+ * @throws {RequiredError}
1106
+ */
1107
+ createKafkaAccount: async (orgName, clusterName, body, options = {}) => {
1108
+ // verify required parameter 'orgName' is not null or undefined
1109
+ (0, common_1.assertParamExists)('createKafkaAccount', 'orgName', orgName);
1110
+ // verify required parameter 'clusterName' is not null or undefined
1111
+ (0, common_1.assertParamExists)('createKafkaAccount', 'clusterName', clusterName);
1112
+ // verify required parameter 'body' is not null or undefined
1113
+ (0, common_1.assertParamExists)('createKafkaAccount', 'body', body);
1114
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts`
1115
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1116
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1117
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1118
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1119
+ let baseOptions;
1120
+ if (configuration) {
1121
+ baseOptions = configuration.baseOptions;
1122
+ }
1123
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1124
+ const localVarHeaderParameter = {};
1125
+ const localVarQueryParameter = {};
1126
+ // authentication BearerToken required
1127
+ // http bearer authentication required
1128
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1129
+ // authentication DigestAuth required
1130
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1131
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1132
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1133
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1134
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1136
+ return {
1137
+ url: (0, common_1.toPathString)(localVarUrlObj),
1138
+ options: localVarRequestOptions,
1139
+ };
1140
+ },
1008
1141
  /**
1009
1142
  *
1010
1143
  * @summary Create new topic
@@ -1810,6 +1943,174 @@ const SharedApiAxiosParamCreator = function (configuration) {
1810
1943
  options: localVarRequestOptions,
1811
1944
  };
1812
1945
  },
1946
+ /**
1947
+ *
1948
+ * @summary Delete Elasticsearch security role
1949
+ * @param {string} orgName
1950
+ * @param {string} clusterName
1951
+ * @param {string} roleName
1952
+ * @param {*} [options] Override http request option.
1953
+ * @throws {RequiredError}
1954
+ */
1955
+ deleteElasticsearchSecurityRole: async (orgName, clusterName, roleName, options = {}) => {
1956
+ // verify required parameter 'orgName' is not null or undefined
1957
+ (0, common_1.assertParamExists)('deleteElasticsearchSecurityRole', 'orgName', orgName);
1958
+ // verify required parameter 'clusterName' is not null or undefined
1959
+ (0, common_1.assertParamExists)('deleteElasticsearchSecurityRole', 'clusterName', clusterName);
1960
+ // verify required parameter 'roleName' is not null or undefined
1961
+ (0, common_1.assertParamExists)('deleteElasticsearchSecurityRole', 'roleName', roleName);
1962
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
1963
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1964
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1965
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
1966
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1967
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1968
+ let baseOptions;
1969
+ if (configuration) {
1970
+ baseOptions = configuration.baseOptions;
1971
+ }
1972
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1973
+ const localVarHeaderParameter = {};
1974
+ const localVarQueryParameter = {};
1975
+ // authentication BearerToken required
1976
+ // http bearer authentication required
1977
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1978
+ // authentication DigestAuth required
1979
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1980
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1981
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1982
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1983
+ return {
1984
+ url: (0, common_1.toPathString)(localVarUrlObj),
1985
+ options: localVarRequestOptions,
1986
+ };
1987
+ },
1988
+ /**
1989
+ *
1990
+ * @summary Delete Elasticsearch security role mapping
1991
+ * @param {string} orgName
1992
+ * @param {string} clusterName
1993
+ * @param {string} mappingName
1994
+ * @param {*} [options] Override http request option.
1995
+ * @throws {RequiredError}
1996
+ */
1997
+ deleteElasticsearchSecurityRoleMapping: async (orgName, clusterName, mappingName, options = {}) => {
1998
+ // verify required parameter 'orgName' is not null or undefined
1999
+ (0, common_1.assertParamExists)('deleteElasticsearchSecurityRoleMapping', 'orgName', orgName);
2000
+ // verify required parameter 'clusterName' is not null or undefined
2001
+ (0, common_1.assertParamExists)('deleteElasticsearchSecurityRoleMapping', 'clusterName', clusterName);
2002
+ // verify required parameter 'mappingName' is not null or undefined
2003
+ (0, common_1.assertParamExists)('deleteElasticsearchSecurityRoleMapping', 'mappingName', mappingName);
2004
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
2005
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2006
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2007
+ .replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
2008
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2009
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2010
+ let baseOptions;
2011
+ if (configuration) {
2012
+ baseOptions = configuration.baseOptions;
2013
+ }
2014
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2015
+ const localVarHeaderParameter = {};
2016
+ const localVarQueryParameter = {};
2017
+ // authentication BearerToken required
2018
+ // http bearer authentication required
2019
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2020
+ // authentication DigestAuth required
2021
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2022
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2023
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2024
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2025
+ return {
2026
+ url: (0, common_1.toPathString)(localVarUrlObj),
2027
+ options: localVarRequestOptions,
2028
+ };
2029
+ },
2030
+ /**
2031
+ *
2032
+ * @summary Delete Elasticsearch security user
2033
+ * @param {string} orgName
2034
+ * @param {string} clusterName
2035
+ * @param {string} username
2036
+ * @param {*} [options] Override http request option.
2037
+ * @throws {RequiredError}
2038
+ */
2039
+ deleteElasticsearchSecurityUser: async (orgName, clusterName, username, options = {}) => {
2040
+ // verify required parameter 'orgName' is not null or undefined
2041
+ (0, common_1.assertParamExists)('deleteElasticsearchSecurityUser', 'orgName', orgName);
2042
+ // verify required parameter 'clusterName' is not null or undefined
2043
+ (0, common_1.assertParamExists)('deleteElasticsearchSecurityUser', 'clusterName', clusterName);
2044
+ // verify required parameter 'username' is not null or undefined
2045
+ (0, common_1.assertParamExists)('deleteElasticsearchSecurityUser', 'username', username);
2046
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
2047
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2048
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2049
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
2050
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2051
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2052
+ let baseOptions;
2053
+ if (configuration) {
2054
+ baseOptions = configuration.baseOptions;
2055
+ }
2056
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2057
+ const localVarHeaderParameter = {};
2058
+ const localVarQueryParameter = {};
2059
+ // authentication BearerToken required
2060
+ // http bearer authentication required
2061
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2062
+ // authentication DigestAuth required
2063
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2064
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2065
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2066
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2067
+ return {
2068
+ url: (0, common_1.toPathString)(localVarUrlObj),
2069
+ options: localVarRequestOptions,
2070
+ };
2071
+ },
2072
+ /**
2073
+ * delete an hive account in cluster
2074
+ * @summary Delete hive account
2075
+ * @param {string} orgName name of the organization
2076
+ * @param {string} clusterName name of the cluster
2077
+ * @param {string} accountName name of the account
2078
+ * @param {*} [options] Override http request option.
2079
+ * @throws {RequiredError}
2080
+ */
2081
+ deleteHiveAccount: async (orgName, clusterName, accountName, options = {}) => {
2082
+ // verify required parameter 'orgName' is not null or undefined
2083
+ (0, common_1.assertParamExists)('deleteHiveAccount', 'orgName', orgName);
2084
+ // verify required parameter 'clusterName' is not null or undefined
2085
+ (0, common_1.assertParamExists)('deleteHiveAccount', 'clusterName', clusterName);
2086
+ // verify required parameter 'accountName' is not null or undefined
2087
+ (0, common_1.assertParamExists)('deleteHiveAccount', 'accountName', accountName);
2088
+ const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
2089
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2090
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2091
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
2092
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2093
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2094
+ let baseOptions;
2095
+ if (configuration) {
2096
+ baseOptions = configuration.baseOptions;
2097
+ }
2098
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2099
+ const localVarHeaderParameter = {};
2100
+ const localVarQueryParameter = {};
2101
+ // authentication BearerToken required
2102
+ // http bearer authentication required
2103
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2104
+ // authentication DigestAuth required
2105
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2106
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2107
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2108
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2109
+ return {
2110
+ url: (0, common_1.toPathString)(localVarUrlObj),
2111
+ options: localVarRequestOptions,
2112
+ };
2113
+ },
1813
2114
  /**
1814
2115
  *
1815
2116
  * @summary Delete IP whitelist
@@ -1894,6 +2195,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
1894
2195
  options: localVarRequestOptions,
1895
2196
  };
1896
2197
  },
2198
+ /**
2199
+ * delete an account in cluster
2200
+ * @summary Delete cluster account
2201
+ * @param {string} orgName name of the Org
2202
+ * @param {string} clusterName name of the Cluster
2203
+ * @param {string} accountName name of the Cluster
2204
+ * @param {*} [options] Override http request option.
2205
+ * @throws {RequiredError}
2206
+ */
2207
+ deleteKafkaAccount: async (orgName, clusterName, accountName, options = {}) => {
2208
+ // verify required parameter 'orgName' is not null or undefined
2209
+ (0, common_1.assertParamExists)('deleteKafkaAccount', 'orgName', orgName);
2210
+ // verify required parameter 'clusterName' is not null or undefined
2211
+ (0, common_1.assertParamExists)('deleteKafkaAccount', 'clusterName', clusterName);
2212
+ // verify required parameter 'accountName' is not null or undefined
2213
+ (0, common_1.assertParamExists)('deleteKafkaAccount', 'accountName', accountName);
2214
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
2215
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2216
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2217
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
2218
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2219
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2220
+ let baseOptions;
2221
+ if (configuration) {
2222
+ baseOptions = configuration.baseOptions;
2223
+ }
2224
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2225
+ const localVarHeaderParameter = {};
2226
+ const localVarQueryParameter = {};
2227
+ // authentication BearerToken required
2228
+ // http bearer authentication required
2229
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2230
+ // authentication DigestAuth required
2231
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2232
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2233
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2234
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2235
+ return {
2236
+ url: (0, common_1.toPathString)(localVarUrlObj),
2237
+ options: localVarRequestOptions,
2238
+ };
2239
+ },
1897
2240
  /**
1898
2241
  *
1899
2242
  * @summary Delete consumer group
@@ -3617,12 +3960,194 @@ const SharedApiAxiosParamCreator = function (configuration) {
3617
3960
  * @param {*} [options] Override http request option.
3618
3961
  * @throws {RequiredError}
3619
3962
  */
3620
- getClusterParameterTemplate: async (orgName, clusterName, component, engineName, options = {}) => {
3963
+ getClusterParameterTemplate: async (orgName, clusterName, component, engineName, options = {}) => {
3964
+ // verify required parameter 'orgName' is not null or undefined
3965
+ (0, common_1.assertParamExists)('getClusterParameterTemplate', 'orgName', orgName);
3966
+ // verify required parameter 'clusterName' is not null or undefined
3967
+ (0, common_1.assertParamExists)('getClusterParameterTemplate', 'clusterName', clusterName);
3968
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/parameterTemplate`
3969
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3970
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
3971
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3972
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3973
+ let baseOptions;
3974
+ if (configuration) {
3975
+ baseOptions = configuration.baseOptions;
3976
+ }
3977
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3978
+ const localVarHeaderParameter = {};
3979
+ const localVarQueryParameter = {};
3980
+ // authentication BearerToken required
3981
+ // http bearer authentication required
3982
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3983
+ // authentication DigestAuth required
3984
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3985
+ if (component !== undefined) {
3986
+ localVarQueryParameter['component'] = component;
3987
+ }
3988
+ if (engineName !== undefined) {
3989
+ localVarQueryParameter['engineName'] = engineName;
3990
+ }
3991
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3992
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3993
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3994
+ return {
3995
+ url: (0, common_1.toPathString)(localVarUrlObj),
3996
+ options: localVarRequestOptions,
3997
+ };
3998
+ },
3999
+ /**
4000
+ * Get cluster storage usage history from backend-owned fixed metrics.
4001
+ * @summary Get cluster storage usage history
4002
+ * @param {string} orgName name of the Org
4003
+ * @param {string} clusterName name of the cluster
4004
+ * @param {string} [timeRange] Requested history range. Supported values are 24h and 7d. Defaults to 24h.
4005
+ * @param {*} [options] Override http request option.
4006
+ * @throws {RequiredError}
4007
+ */
4008
+ getClusterStorageUsageHistory: async (orgName, clusterName, timeRange, options = {}) => {
4009
+ // verify required parameter 'orgName' is not null or undefined
4010
+ (0, common_1.assertParamExists)('getClusterStorageUsageHistory', 'orgName', orgName);
4011
+ // verify required parameter 'clusterName' is not null or undefined
4012
+ (0, common_1.assertParamExists)('getClusterStorageUsageHistory', 'clusterName', clusterName);
4013
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/storageUsageHistory`
4014
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4015
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4016
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4017
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4018
+ let baseOptions;
4019
+ if (configuration) {
4020
+ baseOptions = configuration.baseOptions;
4021
+ }
4022
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4023
+ const localVarHeaderParameter = {};
4024
+ const localVarQueryParameter = {};
4025
+ // authentication BearerToken required
4026
+ // http bearer authentication required
4027
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4028
+ // authentication DigestAuth required
4029
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4030
+ if (timeRange !== undefined) {
4031
+ localVarQueryParameter['timeRange'] = timeRange;
4032
+ }
4033
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4034
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4035
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4036
+ return {
4037
+ url: (0, common_1.toPathString)(localVarUrlObj),
4038
+ options: localVarRequestOptions,
4039
+ };
4040
+ },
4041
+ /**
4042
+ *
4043
+ * @summary get the datasource
4044
+ * @param {string} orgName name of the Org
4045
+ * @param {string} clusterName name of the cluster
4046
+ * @param {string} id id of the datasource
4047
+ * @param {*} [options] Override http request option.
4048
+ * @throws {RequiredError}
4049
+ */
4050
+ getDataSourceV2: async (orgName, clusterName, id, options = {}) => {
4051
+ // verify required parameter 'orgName' is not null or undefined
4052
+ (0, common_1.assertParamExists)('getDataSourceV2', 'orgName', orgName);
4053
+ // verify required parameter 'clusterName' is not null or undefined
4054
+ (0, common_1.assertParamExists)('getDataSourceV2', 'clusterName', clusterName);
4055
+ // verify required parameter 'id' is not null or undefined
4056
+ (0, common_1.assertParamExists)('getDataSourceV2', 'id', id);
4057
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}`
4058
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4059
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4060
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4061
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4062
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4063
+ let baseOptions;
4064
+ if (configuration) {
4065
+ baseOptions = configuration.baseOptions;
4066
+ }
4067
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4068
+ const localVarHeaderParameter = {};
4069
+ const localVarQueryParameter = {};
4070
+ // authentication BearerToken required
4071
+ // http bearer authentication required
4072
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4073
+ // authentication DigestAuth required
4074
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4075
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4076
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4077
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4078
+ return {
4079
+ url: (0, common_1.toPathString)(localVarUrlObj),
4080
+ options: localVarRequestOptions,
4081
+ };
4082
+ },
4083
+ /**
4084
+ * get a database info in cluster
4085
+ * @param {string} engineName name of the engine
4086
+ * @param {string} orgName name of the Org
4087
+ * @param {string} clusterName name of the Cluster
4088
+ * @param {string} databaseName name of database
4089
+ * @param {*} [options] Override http request option.
4090
+ * @throws {RequiredError}
4091
+ */
4092
+ getDatabase: async (engineName, orgName, clusterName, databaseName, options = {}) => {
4093
+ // verify required parameter 'engineName' is not null or undefined
4094
+ (0, common_1.assertParamExists)('getDatabase', 'engineName', engineName);
4095
+ // verify required parameter 'orgName' is not null or undefined
4096
+ (0, common_1.assertParamExists)('getDatabase', 'orgName', orgName);
4097
+ // verify required parameter 'clusterName' is not null or undefined
4098
+ (0, common_1.assertParamExists)('getDatabase', 'clusterName', clusterName);
4099
+ // verify required parameter 'databaseName' is not null or undefined
4100
+ (0, common_1.assertParamExists)('getDatabase', 'databaseName', databaseName);
4101
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases/{databaseName}`
4102
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4103
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4104
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4105
+ .replace(`{${"databaseName"}}`, encodeURIComponent(String(databaseName)));
4106
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4107
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4108
+ let baseOptions;
4109
+ if (configuration) {
4110
+ baseOptions = configuration.baseOptions;
4111
+ }
4112
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4113
+ const localVarHeaderParameter = {};
4114
+ const localVarQueryParameter = {};
4115
+ // authentication BearerToken required
4116
+ // http bearer authentication required
4117
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4118
+ // authentication DigestAuth required
4119
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4120
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4121
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4122
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4123
+ return {
4124
+ url: (0, common_1.toPathString)(localVarUrlObj),
4125
+ options: localVarRequestOptions,
4126
+ };
4127
+ },
4128
+ /**
4129
+ * get available options for creating database
4130
+ * @summary get database options
4131
+ * @param {string} engineName name of the engine
4132
+ * @param {string} orgName name of the Org
4133
+ * @param {string} clusterName name of the Cluster
4134
+ * @param {string} type option type
4135
+ * @param {string} [charset] specified charset
4136
+ * @param {string} [filter] filter keyword
4137
+ * @param {*} [options] Override http request option.
4138
+ * @throws {RequiredError}
4139
+ */
4140
+ getDatabaseOptions: async (engineName, orgName, clusterName, type, charset, filter, options = {}) => {
4141
+ // verify required parameter 'engineName' is not null or undefined
4142
+ (0, common_1.assertParamExists)('getDatabaseOptions', 'engineName', engineName);
3621
4143
  // verify required parameter 'orgName' is not null or undefined
3622
- (0, common_1.assertParamExists)('getClusterParameterTemplate', 'orgName', orgName);
4144
+ (0, common_1.assertParamExists)('getDatabaseOptions', 'orgName', orgName);
3623
4145
  // verify required parameter 'clusterName' is not null or undefined
3624
- (0, common_1.assertParamExists)('getClusterParameterTemplate', 'clusterName', clusterName);
3625
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/parameterTemplate`
4146
+ (0, common_1.assertParamExists)('getDatabaseOptions', 'clusterName', clusterName);
4147
+ // verify required parameter 'type' is not null or undefined
4148
+ (0, common_1.assertParamExists)('getDatabaseOptions', 'type', type);
4149
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/dboptions`
4150
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3626
4151
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3627
4152
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
3628
4153
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -3639,11 +4164,14 @@ const SharedApiAxiosParamCreator = function (configuration) {
3639
4164
  await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3640
4165
  // authentication DigestAuth required
3641
4166
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3642
- if (component !== undefined) {
3643
- localVarQueryParameter['component'] = component;
4167
+ if (type !== undefined) {
4168
+ localVarQueryParameter['type'] = type;
3644
4169
  }
3645
- if (engineName !== undefined) {
3646
- localVarQueryParameter['engineName'] = engineName;
4170
+ if (charset !== undefined) {
4171
+ localVarQueryParameter['charset'] = charset;
4172
+ }
4173
+ if (filter !== undefined) {
4174
+ localVarQueryParameter['filter'] = filter;
3647
4175
  }
3648
4176
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3649
4177
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -3654,20 +4182,19 @@ const SharedApiAxiosParamCreator = function (configuration) {
3654
4182
  };
3655
4183
  },
3656
4184
  /**
3657
- * Get cluster storage usage history from backend-owned fixed metrics.
3658
- * @summary Get cluster storage usage history
3659
- * @param {string} orgName name of the Org
3660
- * @param {string} clusterName name of the cluster
3661
- * @param {string} [timeRange] Requested history range. Supported values are 24h and 7d. Defaults to 24h.
4185
+ *
4186
+ * @summary Get Elasticsearch builtin privileges
4187
+ * @param {string} orgName
4188
+ * @param {string} clusterName
3662
4189
  * @param {*} [options] Override http request option.
3663
4190
  * @throws {RequiredError}
3664
4191
  */
3665
- getClusterStorageUsageHistory: async (orgName, clusterName, timeRange, options = {}) => {
4192
+ getElasticsearchBuiltinPrivileges: async (orgName, clusterName, options = {}) => {
3666
4193
  // verify required parameter 'orgName' is not null or undefined
3667
- (0, common_1.assertParamExists)('getClusterStorageUsageHistory', 'orgName', orgName);
4194
+ (0, common_1.assertParamExists)('getElasticsearchBuiltinPrivileges', 'orgName', orgName);
3668
4195
  // verify required parameter 'clusterName' is not null or undefined
3669
- (0, common_1.assertParamExists)('getClusterStorageUsageHistory', 'clusterName', clusterName);
3670
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/storageUsageHistory`
4196
+ (0, common_1.assertParamExists)('getElasticsearchBuiltinPrivileges', 'clusterName', clusterName);
4197
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/privileges/builtin`
3671
4198
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3672
4199
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
3673
4200
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -3684,9 +4211,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
3684
4211
  await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3685
4212
  // authentication DigestAuth required
3686
4213
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3687
- if (timeRange !== undefined) {
3688
- localVarQueryParameter['timeRange'] = timeRange;
3689
- }
3690
4214
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3691
4215
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3692
4216
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3697,24 +4221,24 @@ const SharedApiAxiosParamCreator = function (configuration) {
3697
4221
  },
3698
4222
  /**
3699
4223
  *
3700
- * @summary get the datasource
3701
- * @param {string} orgName name of the Org
3702
- * @param {string} clusterName name of the cluster
3703
- * @param {string} id id of the datasource
4224
+ * @summary Get Elasticsearch security role
4225
+ * @param {string} orgName
4226
+ * @param {string} clusterName
4227
+ * @param {string} roleName
3704
4228
  * @param {*} [options] Override http request option.
3705
4229
  * @throws {RequiredError}
3706
4230
  */
3707
- getDataSourceV2: async (orgName, clusterName, id, options = {}) => {
4231
+ getElasticsearchSecurityRole: async (orgName, clusterName, roleName, options = {}) => {
3708
4232
  // verify required parameter 'orgName' is not null or undefined
3709
- (0, common_1.assertParamExists)('getDataSourceV2', 'orgName', orgName);
4233
+ (0, common_1.assertParamExists)('getElasticsearchSecurityRole', 'orgName', orgName);
3710
4234
  // verify required parameter 'clusterName' is not null or undefined
3711
- (0, common_1.assertParamExists)('getDataSourceV2', 'clusterName', clusterName);
3712
- // verify required parameter 'id' is not null or undefined
3713
- (0, common_1.assertParamExists)('getDataSourceV2', 'id', id);
3714
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}`
4235
+ (0, common_1.assertParamExists)('getElasticsearchSecurityRole', 'clusterName', clusterName);
4236
+ // verify required parameter 'roleName' is not null or undefined
4237
+ (0, common_1.assertParamExists)('getElasticsearchSecurityRole', 'roleName', roleName);
4238
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
3715
4239
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3716
4240
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3717
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4241
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
3718
4242
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3719
4243
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3720
4244
  let baseOptions;
@@ -3738,28 +4262,25 @@ const SharedApiAxiosParamCreator = function (configuration) {
3738
4262
  };
3739
4263
  },
3740
4264
  /**
3741
- * get a database info in cluster
3742
- * @param {string} engineName name of the engine
3743
- * @param {string} orgName name of the Org
3744
- * @param {string} clusterName name of the Cluster
3745
- * @param {string} databaseName name of database
4265
+ *
4266
+ * @summary Get Elasticsearch security role mapping
4267
+ * @param {string} orgName
4268
+ * @param {string} clusterName
4269
+ * @param {string} mappingName
3746
4270
  * @param {*} [options] Override http request option.
3747
4271
  * @throws {RequiredError}
3748
4272
  */
3749
- getDatabase: async (engineName, orgName, clusterName, databaseName, options = {}) => {
3750
- // verify required parameter 'engineName' is not null or undefined
3751
- (0, common_1.assertParamExists)('getDatabase', 'engineName', engineName);
4273
+ getElasticsearchSecurityRoleMapping: async (orgName, clusterName, mappingName, options = {}) => {
3752
4274
  // verify required parameter 'orgName' is not null or undefined
3753
- (0, common_1.assertParamExists)('getDatabase', 'orgName', orgName);
4275
+ (0, common_1.assertParamExists)('getElasticsearchSecurityRoleMapping', 'orgName', orgName);
3754
4276
  // verify required parameter 'clusterName' is not null or undefined
3755
- (0, common_1.assertParamExists)('getDatabase', 'clusterName', clusterName);
3756
- // verify required parameter 'databaseName' is not null or undefined
3757
- (0, common_1.assertParamExists)('getDatabase', 'databaseName', databaseName);
3758
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases/{databaseName}`
3759
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4277
+ (0, common_1.assertParamExists)('getElasticsearchSecurityRoleMapping', 'clusterName', clusterName);
4278
+ // verify required parameter 'mappingName' is not null or undefined
4279
+ (0, common_1.assertParamExists)('getElasticsearchSecurityRoleMapping', 'mappingName', mappingName);
4280
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
3760
4281
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3761
4282
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3762
- .replace(`{${"databaseName"}}`, encodeURIComponent(String(databaseName)));
4283
+ .replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
3763
4284
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3764
4285
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3765
4286
  let baseOptions;
@@ -3783,30 +4304,25 @@ const SharedApiAxiosParamCreator = function (configuration) {
3783
4304
  };
3784
4305
  },
3785
4306
  /**
3786
- * get available options for creating database
3787
- * @summary get database options
3788
- * @param {string} engineName name of the engine
3789
- * @param {string} orgName name of the Org
3790
- * @param {string} clusterName name of the Cluster
3791
- * @param {string} type option type
3792
- * @param {string} [charset] specified charset
3793
- * @param {string} [filter] filter keyword
4307
+ *
4308
+ * @summary Get Elasticsearch security user
4309
+ * @param {string} orgName
4310
+ * @param {string} clusterName
4311
+ * @param {string} username
3794
4312
  * @param {*} [options] Override http request option.
3795
4313
  * @throws {RequiredError}
3796
4314
  */
3797
- getDatabaseOptions: async (engineName, orgName, clusterName, type, charset, filter, options = {}) => {
3798
- // verify required parameter 'engineName' is not null or undefined
3799
- (0, common_1.assertParamExists)('getDatabaseOptions', 'engineName', engineName);
4315
+ getElasticsearchSecurityUser: async (orgName, clusterName, username, options = {}) => {
3800
4316
  // verify required parameter 'orgName' is not null or undefined
3801
- (0, common_1.assertParamExists)('getDatabaseOptions', 'orgName', orgName);
4317
+ (0, common_1.assertParamExists)('getElasticsearchSecurityUser', 'orgName', orgName);
3802
4318
  // verify required parameter 'clusterName' is not null or undefined
3803
- (0, common_1.assertParamExists)('getDatabaseOptions', 'clusterName', clusterName);
3804
- // verify required parameter 'type' is not null or undefined
3805
- (0, common_1.assertParamExists)('getDatabaseOptions', 'type', type);
3806
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/dboptions`
3807
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4319
+ (0, common_1.assertParamExists)('getElasticsearchSecurityUser', 'clusterName', clusterName);
4320
+ // verify required parameter 'username' is not null or undefined
4321
+ (0, common_1.assertParamExists)('getElasticsearchSecurityUser', 'username', username);
4322
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
3808
4323
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3809
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4324
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4325
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
3810
4326
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3811
4327
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3812
4328
  let baseOptions;
@@ -3821,15 +4337,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
3821
4337
  await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3822
4338
  // authentication DigestAuth required
3823
4339
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3824
- if (type !== undefined) {
3825
- localVarQueryParameter['type'] = type;
3826
- }
3827
- if (charset !== undefined) {
3828
- localVarQueryParameter['charset'] = charset;
3829
- }
3830
- if (filter !== undefined) {
3831
- localVarQueryParameter['filter'] = filter;
3832
- }
3833
4340
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3834
4341
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3835
4342
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3918,6 +4425,44 @@ const SharedApiAxiosParamCreator = function (configuration) {
3918
4425
  options: localVarRequestOptions,
3919
4426
  };
3920
4427
  },
4428
+ /**
4429
+ * Get Hive accounts
4430
+ * @summary Get Hive accounts
4431
+ * @param {string} orgName The name of organization
4432
+ * @param {string} clusterName The name of cluster
4433
+ * @param {*} [options] Override http request option.
4434
+ * @throws {RequiredError}
4435
+ */
4436
+ getHiveAccounts: async (orgName, clusterName, options = {}) => {
4437
+ // verify required parameter 'orgName' is not null or undefined
4438
+ (0, common_1.assertParamExists)('getHiveAccounts', 'orgName', orgName);
4439
+ // verify required parameter 'clusterName' is not null or undefined
4440
+ (0, common_1.assertParamExists)('getHiveAccounts', 'clusterName', clusterName);
4441
+ const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts`
4442
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4443
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4444
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4445
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4446
+ let baseOptions;
4447
+ if (configuration) {
4448
+ baseOptions = configuration.baseOptions;
4449
+ }
4450
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4451
+ const localVarHeaderParameter = {};
4452
+ const localVarQueryParameter = {};
4453
+ // authentication BearerToken required
4454
+ // http bearer authentication required
4455
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4456
+ // authentication DigestAuth required
4457
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4458
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4459
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4460
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4461
+ return {
4462
+ url: (0, common_1.toPathString)(localVarUrlObj),
4463
+ options: localVarRequestOptions,
4464
+ };
4465
+ },
3921
4466
  /**
3922
4467
  * Retrieves detailed information about a specific data import preflight task by its ID
3923
4468
  * @summary Get preflight task details
@@ -5926,8 +6471,130 @@ const SharedApiAxiosParamCreator = function (configuration) {
5926
6471
  // verify required parameter 'orgName' is not null or undefined
5927
6472
  (0, common_1.assertParamExists)('listDataSourceV2', 'orgName', orgName);
5928
6473
  // verify required parameter 'clusterName' is not null or undefined
5929
- (0, common_1.assertParamExists)('listDataSourceV2', 'clusterName', clusterName);
5930
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource`
6474
+ (0, common_1.assertParamExists)('listDataSourceV2', 'clusterName', clusterName);
6475
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource`
6476
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6477
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6478
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6479
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6480
+ let baseOptions;
6481
+ if (configuration) {
6482
+ baseOptions = configuration.baseOptions;
6483
+ }
6484
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6485
+ const localVarHeaderParameter = {};
6486
+ const localVarQueryParameter = {};
6487
+ // authentication BearerToken required
6488
+ // http bearer authentication required
6489
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6490
+ // authentication DigestAuth required
6491
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6492
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6493
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6494
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6495
+ return {
6496
+ url: (0, common_1.toPathString)(localVarUrlObj),
6497
+ options: localVarRequestOptions,
6498
+ };
6499
+ },
6500
+ /**
6501
+ * list databases for rdbms engine cluster
6502
+ * @summary List cluster databases
6503
+ * @param {string} engineName name of the engine
6504
+ * @param {string} orgName name of the Org
6505
+ * @param {string} clusterName name of the Cluster
6506
+ * @param {*} [options] Override http request option.
6507
+ * @throws {RequiredError}
6508
+ */
6509
+ listDatabases: async (engineName, orgName, clusterName, options = {}) => {
6510
+ // verify required parameter 'engineName' is not null or undefined
6511
+ (0, common_1.assertParamExists)('listDatabases', 'engineName', engineName);
6512
+ // verify required parameter 'orgName' is not null or undefined
6513
+ (0, common_1.assertParamExists)('listDatabases', 'orgName', orgName);
6514
+ // verify required parameter 'clusterName' is not null or undefined
6515
+ (0, common_1.assertParamExists)('listDatabases', 'clusterName', clusterName);
6516
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases`
6517
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6518
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6519
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6520
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6521
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6522
+ let baseOptions;
6523
+ if (configuration) {
6524
+ baseOptions = configuration.baseOptions;
6525
+ }
6526
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6527
+ const localVarHeaderParameter = {};
6528
+ const localVarQueryParameter = {};
6529
+ // authentication BearerToken required
6530
+ // http bearer authentication required
6531
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6532
+ // authentication DigestAuth required
6533
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6534
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6535
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6536
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6537
+ return {
6538
+ url: (0, common_1.toPathString)(localVarUrlObj),
6539
+ options: localVarRequestOptions,
6540
+ };
6541
+ },
6542
+ /**
6543
+ *
6544
+ * @summary list all databases of the datasource
6545
+ * @param {string} orgName name of the Org
6546
+ * @param {string} clusterName name of the cluster
6547
+ * @param {string} id id of the datasource
6548
+ * @param {*} [options] Override http request option.
6549
+ * @throws {RequiredError}
6550
+ */
6551
+ listDmsDatabases: async (orgName, clusterName, id, options = {}) => {
6552
+ // verify required parameter 'orgName' is not null or undefined
6553
+ (0, common_1.assertParamExists)('listDmsDatabases', 'orgName', orgName);
6554
+ // verify required parameter 'clusterName' is not null or undefined
6555
+ (0, common_1.assertParamExists)('listDmsDatabases', 'clusterName', clusterName);
6556
+ // verify required parameter 'id' is not null or undefined
6557
+ (0, common_1.assertParamExists)('listDmsDatabases', 'id', id);
6558
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/databases`
6559
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6560
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
6561
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6562
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6563
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6564
+ let baseOptions;
6565
+ if (configuration) {
6566
+ baseOptions = configuration.baseOptions;
6567
+ }
6568
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6569
+ const localVarHeaderParameter = {};
6570
+ const localVarQueryParameter = {};
6571
+ // authentication BearerToken required
6572
+ // http bearer authentication required
6573
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6574
+ // authentication DigestAuth required
6575
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6576
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6577
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6578
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6579
+ return {
6580
+ url: (0, common_1.toPathString)(localVarUrlObj),
6581
+ options: localVarRequestOptions,
6582
+ };
6583
+ },
6584
+ /**
6585
+ *
6586
+ * @summary List Elasticsearch security role mappings
6587
+ * @param {string} orgName
6588
+ * @param {string} clusterName
6589
+ * @param {*} [options] Override http request option.
6590
+ * @throws {RequiredError}
6591
+ */
6592
+ listElasticsearchSecurityRoleMappings: async (orgName, clusterName, options = {}) => {
6593
+ // verify required parameter 'orgName' is not null or undefined
6594
+ (0, common_1.assertParamExists)('listElasticsearchSecurityRoleMappings', 'orgName', orgName);
6595
+ // verify required parameter 'clusterName' is not null or undefined
6596
+ (0, common_1.assertParamExists)('listElasticsearchSecurityRoleMappings', 'clusterName', clusterName);
6597
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings`
5931
6598
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5932
6599
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
5933
6600
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -5953,23 +6620,19 @@ const SharedApiAxiosParamCreator = function (configuration) {
5953
6620
  };
5954
6621
  },
5955
6622
  /**
5956
- * list databases for rdbms engine cluster
5957
- * @summary List cluster databases
5958
- * @param {string} engineName name of the engine
5959
- * @param {string} orgName name of the Org
5960
- * @param {string} clusterName name of the Cluster
6623
+ *
6624
+ * @summary List Elasticsearch security roles
6625
+ * @param {string} orgName
6626
+ * @param {string} clusterName
5961
6627
  * @param {*} [options] Override http request option.
5962
6628
  * @throws {RequiredError}
5963
6629
  */
5964
- listDatabases: async (engineName, orgName, clusterName, options = {}) => {
5965
- // verify required parameter 'engineName' is not null or undefined
5966
- (0, common_1.assertParamExists)('listDatabases', 'engineName', engineName);
6630
+ listElasticsearchSecurityRoles: async (orgName, clusterName, options = {}) => {
5967
6631
  // verify required parameter 'orgName' is not null or undefined
5968
- (0, common_1.assertParamExists)('listDatabases', 'orgName', orgName);
6632
+ (0, common_1.assertParamExists)('listElasticsearchSecurityRoles', 'orgName', orgName);
5969
6633
  // verify required parameter 'clusterName' is not null or undefined
5970
- (0, common_1.assertParamExists)('listDatabases', 'clusterName', clusterName);
5971
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases`
5972
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6634
+ (0, common_1.assertParamExists)('listElasticsearchSecurityRoles', 'clusterName', clusterName);
6635
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
5973
6636
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5974
6637
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
5975
6638
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -5996,24 +6659,20 @@ const SharedApiAxiosParamCreator = function (configuration) {
5996
6659
  },
5997
6660
  /**
5998
6661
  *
5999
- * @summary list all databases of the datasource
6000
- * @param {string} orgName name of the Org
6001
- * @param {string} clusterName name of the cluster
6002
- * @param {string} id id of the datasource
6662
+ * @summary List Elasticsearch security users
6663
+ * @param {string} orgName
6664
+ * @param {string} clusterName
6003
6665
  * @param {*} [options] Override http request option.
6004
6666
  * @throws {RequiredError}
6005
6667
  */
6006
- listDmsDatabases: async (orgName, clusterName, id, options = {}) => {
6668
+ listElasticsearchSecurityUsers: async (orgName, clusterName, options = {}) => {
6007
6669
  // verify required parameter 'orgName' is not null or undefined
6008
- (0, common_1.assertParamExists)('listDmsDatabases', 'orgName', orgName);
6670
+ (0, common_1.assertParamExists)('listElasticsearchSecurityUsers', 'orgName', orgName);
6009
6671
  // verify required parameter 'clusterName' is not null or undefined
6010
- (0, common_1.assertParamExists)('listDmsDatabases', 'clusterName', clusterName);
6011
- // verify required parameter 'id' is not null or undefined
6012
- (0, common_1.assertParamExists)('listDmsDatabases', 'id', id);
6013
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/databases`
6672
+ (0, common_1.assertParamExists)('listElasticsearchSecurityUsers', 'clusterName', clusterName);
6673
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts`
6014
6674
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6015
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
6016
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6675
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6017
6676
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6018
6677
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6019
6678
  let baseOptions;
@@ -6470,6 +7129,44 @@ const SharedApiAxiosParamCreator = function (configuration) {
6470
7129
  options: localVarRequestOptions,
6471
7130
  };
6472
7131
  },
7132
+ /**
7133
+ * list accounts in cluster
7134
+ * @summary List cluster accounts
7135
+ * @param {string} orgName name of the Org
7136
+ * @param {string} clusterName name of the Cluster
7137
+ * @param {*} [options] Override http request option.
7138
+ * @throws {RequiredError}
7139
+ */
7140
+ listKafkaAccounts: async (orgName, clusterName, options = {}) => {
7141
+ // verify required parameter 'orgName' is not null or undefined
7142
+ (0, common_1.assertParamExists)('listKafkaAccounts', 'orgName', orgName);
7143
+ // verify required parameter 'clusterName' is not null or undefined
7144
+ (0, common_1.assertParamExists)('listKafkaAccounts', 'clusterName', clusterName);
7145
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts`
7146
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7147
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
7148
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7149
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7150
+ let baseOptions;
7151
+ if (configuration) {
7152
+ baseOptions = configuration.baseOptions;
7153
+ }
7154
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7155
+ const localVarHeaderParameter = {};
7156
+ const localVarQueryParameter = {};
7157
+ // authentication BearerToken required
7158
+ // http bearer authentication required
7159
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7160
+ // authentication DigestAuth required
7161
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
7162
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7163
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7164
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7165
+ return {
7166
+ url: (0, common_1.toPathString)(localVarUrlObj),
7167
+ options: localVarRequestOptions,
7168
+ };
7169
+ },
6473
7170
  /**
6474
7171
  *
6475
7172
  * @summary List all consumer groups
@@ -7997,6 +8694,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
7997
8694
  options: localVarRequestOptions,
7998
8695
  };
7999
8696
  },
8697
+ /**
8698
+ *
8699
+ * @summary Lock Elasticsearch account
8700
+ * @param {string} orgName
8701
+ * @param {string} clusterName
8702
+ * @param {string} username
8703
+ * @param {*} [options] Override http request option.
8704
+ * @throws {RequiredError}
8705
+ */
8706
+ lockElasticsearchSecurityUser: async (orgName, clusterName, username, options = {}) => {
8707
+ // verify required parameter 'orgName' is not null or undefined
8708
+ (0, common_1.assertParamExists)('lockElasticsearchSecurityUser', 'orgName', orgName);
8709
+ // verify required parameter 'clusterName' is not null or undefined
8710
+ (0, common_1.assertParamExists)('lockElasticsearchSecurityUser', 'clusterName', clusterName);
8711
+ // verify required parameter 'username' is not null or undefined
8712
+ (0, common_1.assertParamExists)('lockElasticsearchSecurityUser', 'username', username);
8713
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/lock`
8714
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8715
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8716
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
8717
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8718
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8719
+ let baseOptions;
8720
+ if (configuration) {
8721
+ baseOptions = configuration.baseOptions;
8722
+ }
8723
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
8724
+ const localVarHeaderParameter = {};
8725
+ const localVarQueryParameter = {};
8726
+ // authentication BearerToken required
8727
+ // http bearer authentication required
8728
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8729
+ // authentication DigestAuth required
8730
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8731
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8732
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8733
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8734
+ return {
8735
+ url: (0, common_1.toPathString)(localVarUrlObj),
8736
+ options: localVarRequestOptions,
8737
+ };
8738
+ },
8000
8739
  /**
8001
8740
  *
8002
8741
  * @summary batch modify database tde status
@@ -8373,6 +9112,147 @@ const SharedApiAxiosParamCreator = function (configuration) {
8373
9112
  options: localVarRequestOptions,
8374
9113
  };
8375
9114
  },
9115
+ /**
9116
+ *
9117
+ * @summary Create or update Elasticsearch security role
9118
+ * @param {string} orgName
9119
+ * @param {string} clusterName
9120
+ * @param {string} roleName
9121
+ * @param {ESSecurityRoleDescriptor} body
9122
+ * @param {*} [options] Override http request option.
9123
+ * @throws {RequiredError}
9124
+ */
9125
+ putElasticsearchSecurityRole: async (orgName, clusterName, roleName, body, options = {}) => {
9126
+ // verify required parameter 'orgName' is not null or undefined
9127
+ (0, common_1.assertParamExists)('putElasticsearchSecurityRole', 'orgName', orgName);
9128
+ // verify required parameter 'clusterName' is not null or undefined
9129
+ (0, common_1.assertParamExists)('putElasticsearchSecurityRole', 'clusterName', clusterName);
9130
+ // verify required parameter 'roleName' is not null or undefined
9131
+ (0, common_1.assertParamExists)('putElasticsearchSecurityRole', 'roleName', roleName);
9132
+ // verify required parameter 'body' is not null or undefined
9133
+ (0, common_1.assertParamExists)('putElasticsearchSecurityRole', 'body', body);
9134
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
9135
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9136
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
9137
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
9138
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9139
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9140
+ let baseOptions;
9141
+ if (configuration) {
9142
+ baseOptions = configuration.baseOptions;
9143
+ }
9144
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
9145
+ const localVarHeaderParameter = {};
9146
+ const localVarQueryParameter = {};
9147
+ // authentication BearerToken required
9148
+ // http bearer authentication required
9149
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9150
+ // authentication DigestAuth required
9151
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9152
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9153
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9154
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9155
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9156
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
9157
+ return {
9158
+ url: (0, common_1.toPathString)(localVarUrlObj),
9159
+ options: localVarRequestOptions,
9160
+ };
9161
+ },
9162
+ /**
9163
+ *
9164
+ * @summary Create or update Elasticsearch security role mapping
9165
+ * @param {string} orgName
9166
+ * @param {string} clusterName
9167
+ * @param {string} mappingName
9168
+ * @param {ESSecurityRoleMapping} body
9169
+ * @param {*} [options] Override http request option.
9170
+ * @throws {RequiredError}
9171
+ */
9172
+ putElasticsearchSecurityRoleMapping: async (orgName, clusterName, mappingName, body, options = {}) => {
9173
+ // verify required parameter 'orgName' is not null or undefined
9174
+ (0, common_1.assertParamExists)('putElasticsearchSecurityRoleMapping', 'orgName', orgName);
9175
+ // verify required parameter 'clusterName' is not null or undefined
9176
+ (0, common_1.assertParamExists)('putElasticsearchSecurityRoleMapping', 'clusterName', clusterName);
9177
+ // verify required parameter 'mappingName' is not null or undefined
9178
+ (0, common_1.assertParamExists)('putElasticsearchSecurityRoleMapping', 'mappingName', mappingName);
9179
+ // verify required parameter 'body' is not null or undefined
9180
+ (0, common_1.assertParamExists)('putElasticsearchSecurityRoleMapping', 'body', body);
9181
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
9182
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9183
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
9184
+ .replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
9185
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9186
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9187
+ let baseOptions;
9188
+ if (configuration) {
9189
+ baseOptions = configuration.baseOptions;
9190
+ }
9191
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
9192
+ const localVarHeaderParameter = {};
9193
+ const localVarQueryParameter = {};
9194
+ // authentication BearerToken required
9195
+ // http bearer authentication required
9196
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9197
+ // authentication DigestAuth required
9198
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9199
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9200
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9201
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9202
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9203
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
9204
+ return {
9205
+ url: (0, common_1.toPathString)(localVarUrlObj),
9206
+ options: localVarRequestOptions,
9207
+ };
9208
+ },
9209
+ /**
9210
+ *
9211
+ * @summary Create or update Elasticsearch security user
9212
+ * @param {string} orgName
9213
+ * @param {string} clusterName
9214
+ * @param {string} username
9215
+ * @param {ESPutSecurityUserRequest} body
9216
+ * @param {*} [options] Override http request option.
9217
+ * @throws {RequiredError}
9218
+ */
9219
+ putElasticsearchSecurityUser: async (orgName, clusterName, username, body, options = {}) => {
9220
+ // verify required parameter 'orgName' is not null or undefined
9221
+ (0, common_1.assertParamExists)('putElasticsearchSecurityUser', 'orgName', orgName);
9222
+ // verify required parameter 'clusterName' is not null or undefined
9223
+ (0, common_1.assertParamExists)('putElasticsearchSecurityUser', 'clusterName', clusterName);
9224
+ // verify required parameter 'username' is not null or undefined
9225
+ (0, common_1.assertParamExists)('putElasticsearchSecurityUser', 'username', username);
9226
+ // verify required parameter 'body' is not null or undefined
9227
+ (0, common_1.assertParamExists)('putElasticsearchSecurityUser', 'body', body);
9228
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
9229
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9230
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
9231
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
9232
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9233
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9234
+ let baseOptions;
9235
+ if (configuration) {
9236
+ baseOptions = configuration.baseOptions;
9237
+ }
9238
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
9239
+ const localVarHeaderParameter = {};
9240
+ const localVarQueryParameter = {};
9241
+ // authentication BearerToken required
9242
+ // http bearer authentication required
9243
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9244
+ // authentication DigestAuth required
9245
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9246
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9247
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9248
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9249
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9250
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
9251
+ return {
9252
+ url: (0, common_1.toPathString)(localVarUrlObj),
9253
+ options: localVarRequestOptions,
9254
+ };
9255
+ },
8376
9256
  /**
8377
9257
  *
8378
9258
  * @summary create a SQL query
@@ -10230,29 +11110,71 @@ const SharedApiAxiosParamCreator = function (configuration) {
10230
11110
  };
10231
11111
  },
10232
11112
  /**
10233
- * unlock an account in cluster
10234
- * @summary Unlock cluster account
10235
- * @param {string} engineName name of the engine
10236
- * @param {string} orgName name of the organization
10237
- * @param {string} clusterName name of the cluster
10238
- * @param {string} accountName name of the account
11113
+ * unlock an account in cluster
11114
+ * @summary Unlock cluster account
11115
+ * @param {string} engineName name of the engine
11116
+ * @param {string} orgName name of the organization
11117
+ * @param {string} clusterName name of the cluster
11118
+ * @param {string} accountName name of the account
11119
+ * @param {*} [options] Override http request option.
11120
+ * @throws {RequiredError}
11121
+ */
11122
+ unlockAccount: async (engineName, orgName, clusterName, accountName, options = {}) => {
11123
+ // verify required parameter 'engineName' is not null or undefined
11124
+ (0, common_1.assertParamExists)('unlockAccount', 'engineName', engineName);
11125
+ // verify required parameter 'orgName' is not null or undefined
11126
+ (0, common_1.assertParamExists)('unlockAccount', 'orgName', orgName);
11127
+ // verify required parameter 'clusterName' is not null or undefined
11128
+ (0, common_1.assertParamExists)('unlockAccount', 'clusterName', clusterName);
11129
+ // verify required parameter 'accountName' is not null or undefined
11130
+ (0, common_1.assertParamExists)('unlockAccount', 'accountName', accountName);
11131
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/unlock`
11132
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
11133
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11134
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
11135
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
11136
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11137
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11138
+ let baseOptions;
11139
+ if (configuration) {
11140
+ baseOptions = configuration.baseOptions;
11141
+ }
11142
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
11143
+ const localVarHeaderParameter = {};
11144
+ const localVarQueryParameter = {};
11145
+ // authentication BearerToken required
11146
+ // http bearer authentication required
11147
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
11148
+ // authentication DigestAuth required
11149
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
11150
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11151
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11152
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11153
+ return {
11154
+ url: (0, common_1.toPathString)(localVarUrlObj),
11155
+ options: localVarRequestOptions,
11156
+ };
11157
+ },
11158
+ /**
11159
+ *
11160
+ * @summary Unlock Elasticsearch account
11161
+ * @param {string} orgName
11162
+ * @param {string} clusterName
11163
+ * @param {string} username
10239
11164
  * @param {*} [options] Override http request option.
10240
11165
  * @throws {RequiredError}
10241
11166
  */
10242
- unlockAccount: async (engineName, orgName, clusterName, accountName, options = {}) => {
10243
- // verify required parameter 'engineName' is not null or undefined
10244
- (0, common_1.assertParamExists)('unlockAccount', 'engineName', engineName);
11167
+ unlockElasticsearchSecurityUser: async (orgName, clusterName, username, options = {}) => {
10245
11168
  // verify required parameter 'orgName' is not null or undefined
10246
- (0, common_1.assertParamExists)('unlockAccount', 'orgName', orgName);
11169
+ (0, common_1.assertParamExists)('unlockElasticsearchSecurityUser', 'orgName', orgName);
10247
11170
  // verify required parameter 'clusterName' is not null or undefined
10248
- (0, common_1.assertParamExists)('unlockAccount', 'clusterName', clusterName);
10249
- // verify required parameter 'accountName' is not null or undefined
10250
- (0, common_1.assertParamExists)('unlockAccount', 'accountName', accountName);
10251
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/unlock`
10252
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
11171
+ (0, common_1.assertParamExists)('unlockElasticsearchSecurityUser', 'clusterName', clusterName);
11172
+ // verify required parameter 'username' is not null or undefined
11173
+ (0, common_1.assertParamExists)('unlockElasticsearchSecurityUser', 'username', username);
11174
+ const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}/unlock`
10253
11175
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10254
11176
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10255
- .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
11177
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
10256
11178
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10257
11179
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10258
11180
  let baseOptions;
@@ -10649,6 +11571,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
10649
11571
  options: localVarRequestOptions,
10650
11572
  };
10651
11573
  },
11574
+ /**
11575
+ * update an hive account in cluster
11576
+ * @summary update hive account
11577
+ * @param {string} orgName name of the organization
11578
+ * @param {string} clusterName name of the cluster
11579
+ * @param {string} accountName name of the account
11580
+ * @param {Account} body
11581
+ * @param {*} [options] Override http request option.
11582
+ * @throws {RequiredError}
11583
+ */
11584
+ updateHiveAccount: async (orgName, clusterName, accountName, body, options = {}) => {
11585
+ // verify required parameter 'orgName' is not null or undefined
11586
+ (0, common_1.assertParamExists)('updateHiveAccount', 'orgName', orgName);
11587
+ // verify required parameter 'clusterName' is not null or undefined
11588
+ (0, common_1.assertParamExists)('updateHiveAccount', 'clusterName', clusterName);
11589
+ // verify required parameter 'accountName' is not null or undefined
11590
+ (0, common_1.assertParamExists)('updateHiveAccount', 'accountName', accountName);
11591
+ // verify required parameter 'body' is not null or undefined
11592
+ (0, common_1.assertParamExists)('updateHiveAccount', 'body', body);
11593
+ const localVarPath = `/admin/v1/data/hive/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
11594
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11595
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
11596
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
11597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11598
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11599
+ let baseOptions;
11600
+ if (configuration) {
11601
+ baseOptions = configuration.baseOptions;
11602
+ }
11603
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
11604
+ const localVarHeaderParameter = {};
11605
+ const localVarQueryParameter = {};
11606
+ // authentication BearerToken required
11607
+ // http bearer authentication required
11608
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
11609
+ // authentication DigestAuth required
11610
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
11611
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11612
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11613
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11614
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11615
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
11616
+ return {
11617
+ url: (0, common_1.toPathString)(localVarUrlObj),
11618
+ options: localVarRequestOptions,
11619
+ };
11620
+ },
10652
11621
  /**
10653
11622
  *
10654
11623
  * @summary Update IP whitelist
@@ -10742,6 +11711,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
10742
11711
  options: localVarRequestOptions,
10743
11712
  };
10744
11713
  },
11714
+ /**
11715
+ * update an account in cluster
11716
+ * @summary update cluster account
11717
+ * @param {string} orgName name of the Org
11718
+ * @param {string} clusterName name of the Cluster
11719
+ * @param {string} accountName name of the account
11720
+ * @param {Account} body
11721
+ * @param {*} [options] Override http request option.
11722
+ * @throws {RequiredError}
11723
+ */
11724
+ updateKafkaAccount: async (orgName, clusterName, accountName, body, options = {}) => {
11725
+ // verify required parameter 'orgName' is not null or undefined
11726
+ (0, common_1.assertParamExists)('updateKafkaAccount', 'orgName', orgName);
11727
+ // verify required parameter 'clusterName' is not null or undefined
11728
+ (0, common_1.assertParamExists)('updateKafkaAccount', 'clusterName', clusterName);
11729
+ // verify required parameter 'accountName' is not null or undefined
11730
+ (0, common_1.assertParamExists)('updateKafkaAccount', 'accountName', accountName);
11731
+ // verify required parameter 'body' is not null or undefined
11732
+ (0, common_1.assertParamExists)('updateKafkaAccount', 'body', body);
11733
+ const localVarPath = `/admin/v1/data/kafka/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
11734
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11735
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
11736
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
11737
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11738
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11739
+ let baseOptions;
11740
+ if (configuration) {
11741
+ baseOptions = configuration.baseOptions;
11742
+ }
11743
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
11744
+ const localVarHeaderParameter = {};
11745
+ const localVarQueryParameter = {};
11746
+ // authentication BearerToken required
11747
+ // http bearer authentication required
11748
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
11749
+ // authentication DigestAuth required
11750
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
11751
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11752
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11753
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11754
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11755
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
11756
+ return {
11757
+ url: (0, common_1.toPathString)(localVarUrlObj),
11758
+ options: localVarRequestOptions,
11759
+ };
11760
+ },
10745
11761
  /**
10746
11762
  *
10747
11763
  * @summary Update broker config
@@ -11550,6 +12566,23 @@ const SharedApiFp = function (configuration) {
11550
12566
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.buildBackupObj']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11551
12567
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11552
12568
  },
12569
+ /**
12570
+ *
12571
+ * @summary Change Elasticsearch account password
12572
+ * @param {string} orgName
12573
+ * @param {string} clusterName
12574
+ * @param {string} username
12575
+ * @param {ESSecurityPasswordRequest} body
12576
+ * @param {*} [options] Override http request option.
12577
+ * @throws {RequiredError}
12578
+ */
12579
+ async changeElasticsearchSecurityUserPassword(orgName, clusterName, username, body, options) {
12580
+ var _a, _b, _c;
12581
+ const localVarAxiosArgs = await localVarAxiosParamCreator.changeElasticsearchSecurityUserPassword(orgName, clusterName, username, body, options);
12582
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12583
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.changeElasticsearchSecurityUserPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12584
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12585
+ },
11553
12586
  /**
11554
12587
  * check apikey available
11555
12588
  * @summary check apikey available
@@ -11696,6 +12729,22 @@ const SharedApiFp = function (configuration) {
11696
12729
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11697
12730
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11698
12731
  },
12732
+ /**
12733
+ * create an hive account
12734
+ * @summary Create Hive account
12735
+ * @param {string} orgName name of the Org
12736
+ * @param {string} clusterName name of the Cluster
12737
+ * @param {Account} body
12738
+ * @param {*} [options] Override http request option.
12739
+ * @throws {RequiredError}
12740
+ */
12741
+ async createHiveAccount(orgName, clusterName, body, options) {
12742
+ var _a, _b, _c;
12743
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createHiveAccount(orgName, clusterName, body, options);
12744
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12745
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createHiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12746
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12747
+ },
11699
12748
  /**
11700
12749
  *
11701
12750
  * @summary Create IP whitelist
@@ -11728,6 +12777,22 @@ const SharedApiFp = function (configuration) {
11728
12777
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createImportTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11729
12778
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11730
12779
  },
12780
+ /**
12781
+ * create an account in cluster
12782
+ * @summary Create cluster account
12783
+ * @param {string} orgName name of the Org
12784
+ * @param {string} clusterName name of the Cluster
12785
+ * @param {Account} body
12786
+ * @param {*} [options] Override http request option.
12787
+ * @throws {RequiredError}
12788
+ */
12789
+ async createKafkaAccount(orgName, clusterName, body, options) {
12790
+ var _a, _b, _c;
12791
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createKafkaAccount(orgName, clusterName, body, options);
12792
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12793
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createKafkaAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12794
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12795
+ },
11731
12796
  /**
11732
12797
  *
11733
12798
  * @summary Create new topic
@@ -12031,6 +13096,70 @@ const SharedApiFp = function (configuration) {
12031
13096
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12032
13097
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12033
13098
  },
13099
+ /**
13100
+ *
13101
+ * @summary Delete Elasticsearch security role
13102
+ * @param {string} orgName
13103
+ * @param {string} clusterName
13104
+ * @param {string} roleName
13105
+ * @param {*} [options] Override http request option.
13106
+ * @throws {RequiredError}
13107
+ */
13108
+ async deleteElasticsearchSecurityRole(orgName, clusterName, roleName, options) {
13109
+ var _a, _b, _c;
13110
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRole(orgName, clusterName, roleName, options);
13111
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13112
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteElasticsearchSecurityRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13113
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13114
+ },
13115
+ /**
13116
+ *
13117
+ * @summary Delete Elasticsearch security role mapping
13118
+ * @param {string} orgName
13119
+ * @param {string} clusterName
13120
+ * @param {string} mappingName
13121
+ * @param {*} [options] Override http request option.
13122
+ * @throws {RequiredError}
13123
+ */
13124
+ async deleteElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options) {
13125
+ var _a, _b, _c;
13126
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
13127
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13128
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteElasticsearchSecurityRoleMapping']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13129
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13130
+ },
13131
+ /**
13132
+ *
13133
+ * @summary Delete Elasticsearch security user
13134
+ * @param {string} orgName
13135
+ * @param {string} clusterName
13136
+ * @param {string} username
13137
+ * @param {*} [options] Override http request option.
13138
+ * @throws {RequiredError}
13139
+ */
13140
+ async deleteElasticsearchSecurityUser(orgName, clusterName, username, options) {
13141
+ var _a, _b, _c;
13142
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteElasticsearchSecurityUser(orgName, clusterName, username, options);
13143
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13144
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13145
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13146
+ },
13147
+ /**
13148
+ * delete an hive account in cluster
13149
+ * @summary Delete hive account
13150
+ * @param {string} orgName name of the organization
13151
+ * @param {string} clusterName name of the cluster
13152
+ * @param {string} accountName name of the account
13153
+ * @param {*} [options] Override http request option.
13154
+ * @throws {RequiredError}
13155
+ */
13156
+ async deleteHiveAccount(orgName, clusterName, accountName, options) {
13157
+ var _a, _b, _c;
13158
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHiveAccount(orgName, clusterName, accountName, options);
13159
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13160
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteHiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13161
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13162
+ },
12034
13163
  /**
12035
13164
  *
12036
13165
  * @summary Delete IP whitelist
@@ -12063,6 +13192,22 @@ const SharedApiFp = function (configuration) {
12063
13192
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteImportTask']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12064
13193
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12065
13194
  },
13195
+ /**
13196
+ * delete an account in cluster
13197
+ * @summary Delete cluster account
13198
+ * @param {string} orgName name of the Org
13199
+ * @param {string} clusterName name of the Cluster
13200
+ * @param {string} accountName name of the Cluster
13201
+ * @param {*} [options] Override http request option.
13202
+ * @throws {RequiredError}
13203
+ */
13204
+ async deleteKafkaAccount(orgName, clusterName, accountName, options) {
13205
+ var _a, _b, _c;
13206
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteKafkaAccount(orgName, clusterName, accountName, options);
13207
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13208
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteKafkaAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13209
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13210
+ },
12066
13211
  /**
12067
13212
  *
12068
13213
  * @summary Delete consumer group
@@ -12724,60 +13869,123 @@ const SharedApiFp = function (configuration) {
12724
13869
  */
12725
13870
  async getClusterStorageUsageHistory(orgName, clusterName, timeRange, options) {
12726
13871
  var _a, _b, _c;
12727
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterStorageUsageHistory(orgName, clusterName, timeRange, options);
13872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterStorageUsageHistory(orgName, clusterName, timeRange, options);
13873
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13874
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClusterStorageUsageHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13875
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13876
+ },
13877
+ /**
13878
+ *
13879
+ * @summary get the datasource
13880
+ * @param {string} orgName name of the Org
13881
+ * @param {string} clusterName name of the cluster
13882
+ * @param {string} id id of the datasource
13883
+ * @param {*} [options] Override http request option.
13884
+ * @throws {RequiredError}
13885
+ */
13886
+ async getDataSourceV2(orgName, clusterName, id, options) {
13887
+ var _a, _b, _c;
13888
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDataSourceV2(orgName, clusterName, id, options);
13889
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13890
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13891
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13892
+ },
13893
+ /**
13894
+ * get a database info in cluster
13895
+ * @param {string} engineName name of the engine
13896
+ * @param {string} orgName name of the Org
13897
+ * @param {string} clusterName name of the Cluster
13898
+ * @param {string} databaseName name of database
13899
+ * @param {*} [options] Override http request option.
13900
+ * @throws {RequiredError}
13901
+ */
13902
+ async getDatabase(engineName, orgName, clusterName, databaseName, options) {
13903
+ var _a, _b, _c;
13904
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDatabase(engineName, orgName, clusterName, databaseName, options);
13905
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13906
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13907
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13908
+ },
13909
+ /**
13910
+ * get available options for creating database
13911
+ * @summary get database options
13912
+ * @param {string} engineName name of the engine
13913
+ * @param {string} orgName name of the Org
13914
+ * @param {string} clusterName name of the Cluster
13915
+ * @param {string} type option type
13916
+ * @param {string} [charset] specified charset
13917
+ * @param {string} [filter] filter keyword
13918
+ * @param {*} [options] Override http request option.
13919
+ * @throws {RequiredError}
13920
+ */
13921
+ async getDatabaseOptions(engineName, orgName, clusterName, type, charset, filter, options) {
13922
+ var _a, _b, _c;
13923
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDatabaseOptions(engineName, orgName, clusterName, type, charset, filter, options);
13924
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13925
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getDatabaseOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13926
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13927
+ },
13928
+ /**
13929
+ *
13930
+ * @summary Get Elasticsearch builtin privileges
13931
+ * @param {string} orgName
13932
+ * @param {string} clusterName
13933
+ * @param {*} [options] Override http request option.
13934
+ * @throws {RequiredError}
13935
+ */
13936
+ async getElasticsearchBuiltinPrivileges(orgName, clusterName, options) {
13937
+ var _a, _b, _c;
13938
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchBuiltinPrivileges(orgName, clusterName, options);
12728
13939
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12729
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClusterStorageUsageHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13940
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getElasticsearchBuiltinPrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12730
13941
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12731
13942
  },
12732
13943
  /**
12733
13944
  *
12734
- * @summary get the datasource
12735
- * @param {string} orgName name of the Org
12736
- * @param {string} clusterName name of the cluster
12737
- * @param {string} id id of the datasource
13945
+ * @summary Get Elasticsearch security role
13946
+ * @param {string} orgName
13947
+ * @param {string} clusterName
13948
+ * @param {string} roleName
12738
13949
  * @param {*} [options] Override http request option.
12739
13950
  * @throws {RequiredError}
12740
13951
  */
12741
- async getDataSourceV2(orgName, clusterName, id, options) {
13952
+ async getElasticsearchSecurityRole(orgName, clusterName, roleName, options) {
12742
13953
  var _a, _b, _c;
12743
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDataSourceV2(orgName, clusterName, id, options);
13954
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRole(orgName, clusterName, roleName, options);
12744
13955
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12745
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13956
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getElasticsearchSecurityRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12746
13957
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12747
13958
  },
12748
13959
  /**
12749
- * get a database info in cluster
12750
- * @param {string} engineName name of the engine
12751
- * @param {string} orgName name of the Org
12752
- * @param {string} clusterName name of the Cluster
12753
- * @param {string} databaseName name of database
13960
+ *
13961
+ * @summary Get Elasticsearch security role mapping
13962
+ * @param {string} orgName
13963
+ * @param {string} clusterName
13964
+ * @param {string} mappingName
12754
13965
  * @param {*} [options] Override http request option.
12755
13966
  * @throws {RequiredError}
12756
13967
  */
12757
- async getDatabase(engineName, orgName, clusterName, databaseName, options) {
13968
+ async getElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options) {
12758
13969
  var _a, _b, _c;
12759
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDatabase(engineName, orgName, clusterName, databaseName, options);
13970
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, options);
12760
13971
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12761
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13972
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getElasticsearchSecurityRoleMapping']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12762
13973
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12763
13974
  },
12764
13975
  /**
12765
- * get available options for creating database
12766
- * @summary get database options
12767
- * @param {string} engineName name of the engine
12768
- * @param {string} orgName name of the Org
12769
- * @param {string} clusterName name of the Cluster
12770
- * @param {string} type option type
12771
- * @param {string} [charset] specified charset
12772
- * @param {string} [filter] filter keyword
13976
+ *
13977
+ * @summary Get Elasticsearch security user
13978
+ * @param {string} orgName
13979
+ * @param {string} clusterName
13980
+ * @param {string} username
12773
13981
  * @param {*} [options] Override http request option.
12774
13982
  * @throws {RequiredError}
12775
13983
  */
12776
- async getDatabaseOptions(engineName, orgName, clusterName, type, charset, filter, options) {
13984
+ async getElasticsearchSecurityUser(orgName, clusterName, username, options) {
12777
13985
  var _a, _b, _c;
12778
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDatabaseOptions(engineName, orgName, clusterName, type, charset, filter, options);
13986
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getElasticsearchSecurityUser(orgName, clusterName, username, options);
12779
13987
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12780
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getDatabaseOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13988
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12781
13989
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12782
13990
  },
12783
13991
  /**
@@ -12811,6 +14019,21 @@ const SharedApiFp = function (configuration) {
12811
14019
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getEngineOption']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12812
14020
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12813
14021
  },
14022
+ /**
14023
+ * Get Hive accounts
14024
+ * @summary Get Hive accounts
14025
+ * @param {string} orgName The name of organization
14026
+ * @param {string} clusterName The name of cluster
14027
+ * @param {*} [options] Override http request option.
14028
+ * @throws {RequiredError}
14029
+ */
14030
+ async getHiveAccounts(orgName, clusterName, options) {
14031
+ var _a, _b, _c;
14032
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHiveAccounts(orgName, clusterName, options);
14033
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14034
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getHiveAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14035
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14036
+ },
12814
14037
  /**
12815
14038
  * Retrieves detailed information about a specific data import preflight task by its ID
12816
14039
  * @summary Get preflight task details
@@ -13587,6 +14810,51 @@ const SharedApiFp = function (configuration) {
13587
14810
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listDmsDatabases']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13588
14811
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13589
14812
  },
14813
+ /**
14814
+ *
14815
+ * @summary List Elasticsearch security role mappings
14816
+ * @param {string} orgName
14817
+ * @param {string} clusterName
14818
+ * @param {*} [options] Override http request option.
14819
+ * @throws {RequiredError}
14820
+ */
14821
+ async listElasticsearchSecurityRoleMappings(orgName, clusterName, options) {
14822
+ var _a, _b, _c;
14823
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoleMappings(orgName, clusterName, options);
14824
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14825
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listElasticsearchSecurityRoleMappings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14826
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14827
+ },
14828
+ /**
14829
+ *
14830
+ * @summary List Elasticsearch security roles
14831
+ * @param {string} orgName
14832
+ * @param {string} clusterName
14833
+ * @param {*} [options] Override http request option.
14834
+ * @throws {RequiredError}
14835
+ */
14836
+ async listElasticsearchSecurityRoles(orgName, clusterName, options) {
14837
+ var _a, _b, _c;
14838
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityRoles(orgName, clusterName, options);
14839
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14840
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listElasticsearchSecurityRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14841
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14842
+ },
14843
+ /**
14844
+ *
14845
+ * @summary List Elasticsearch security users
14846
+ * @param {string} orgName
14847
+ * @param {string} clusterName
14848
+ * @param {*} [options] Override http request option.
14849
+ * @throws {RequiredError}
14850
+ */
14851
+ async listElasticsearchSecurityUsers(orgName, clusterName, options) {
14852
+ var _a, _b, _c;
14853
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listElasticsearchSecurityUsers(orgName, clusterName, options);
14854
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14855
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listElasticsearchSecurityUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14856
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14857
+ },
13590
14858
  /**
13591
14859
  *
13592
14860
  * @summary List cluster endpoints
@@ -13756,6 +15024,21 @@ const SharedApiFp = function (configuration) {
13756
15024
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listInstanceEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13757
15025
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13758
15026
  },
15027
+ /**
15028
+ * list accounts in cluster
15029
+ * @summary List cluster accounts
15030
+ * @param {string} orgName name of the Org
15031
+ * @param {string} clusterName name of the Cluster
15032
+ * @param {*} [options] Override http request option.
15033
+ * @throws {RequiredError}
15034
+ */
15035
+ async listKafkaAccounts(orgName, clusterName, options) {
15036
+ var _a, _b, _c;
15037
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listKafkaAccounts(orgName, clusterName, options);
15038
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15039
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listKafkaAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15040
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15041
+ },
13759
15042
  /**
13760
15043
  *
13761
15044
  * @summary List all consumer groups
@@ -14332,6 +15615,22 @@ const SharedApiFp = function (configuration) {
14332
15615
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.lockAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14333
15616
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14334
15617
  },
15618
+ /**
15619
+ *
15620
+ * @summary Lock Elasticsearch account
15621
+ * @param {string} orgName
15622
+ * @param {string} clusterName
15623
+ * @param {string} username
15624
+ * @param {*} [options] Override http request option.
15625
+ * @throws {RequiredError}
15626
+ */
15627
+ async lockElasticsearchSecurityUser(orgName, clusterName, username, options) {
15628
+ var _a, _b, _c;
15629
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lockElasticsearchSecurityUser(orgName, clusterName, username, options);
15630
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15631
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.lockElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15632
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15633
+ },
14335
15634
  /**
14336
15635
  *
14337
15636
  * @summary batch modify database tde status
@@ -14474,6 +15773,57 @@ const SharedApiFp = function (configuration) {
14474
15773
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.promoteCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14475
15774
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14476
15775
  },
15776
+ /**
15777
+ *
15778
+ * @summary Create or update Elasticsearch security role
15779
+ * @param {string} orgName
15780
+ * @param {string} clusterName
15781
+ * @param {string} roleName
15782
+ * @param {ESSecurityRoleDescriptor} body
15783
+ * @param {*} [options] Override http request option.
15784
+ * @throws {RequiredError}
15785
+ */
15786
+ async putElasticsearchSecurityRole(orgName, clusterName, roleName, body, options) {
15787
+ var _a, _b, _c;
15788
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRole(orgName, clusterName, roleName, body, options);
15789
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15790
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15791
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15792
+ },
15793
+ /**
15794
+ *
15795
+ * @summary Create or update Elasticsearch security role mapping
15796
+ * @param {string} orgName
15797
+ * @param {string} clusterName
15798
+ * @param {string} mappingName
15799
+ * @param {ESSecurityRoleMapping} body
15800
+ * @param {*} [options] Override http request option.
15801
+ * @throws {RequiredError}
15802
+ */
15803
+ async putElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, body, options) {
15804
+ var _a, _b, _c;
15805
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityRoleMapping(orgName, clusterName, mappingName, body, options);
15806
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15807
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityRoleMapping']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15808
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15809
+ },
15810
+ /**
15811
+ *
15812
+ * @summary Create or update Elasticsearch security user
15813
+ * @param {string} orgName
15814
+ * @param {string} clusterName
15815
+ * @param {string} username
15816
+ * @param {ESPutSecurityUserRequest} body
15817
+ * @param {*} [options] Override http request option.
15818
+ * @throws {RequiredError}
15819
+ */
15820
+ async putElasticsearchSecurityUser(orgName, clusterName, username, body, options) {
15821
+ var _a, _b, _c;
15822
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityUser(orgName, clusterName, username, body, options);
15823
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15824
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15825
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15826
+ },
14477
15827
  /**
14478
15828
  *
14479
15829
  * @summary create a SQL query
@@ -15123,6 +16473,22 @@ const SharedApiFp = function (configuration) {
15123
16473
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.unlockAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15124
16474
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15125
16475
  },
16476
+ /**
16477
+ *
16478
+ * @summary Unlock Elasticsearch account
16479
+ * @param {string} orgName
16480
+ * @param {string} clusterName
16481
+ * @param {string} username
16482
+ * @param {*} [options] Override http request option.
16483
+ * @throws {RequiredError}
16484
+ */
16485
+ async unlockElasticsearchSecurityUser(orgName, clusterName, username, options) {
16486
+ var _a, _b, _c;
16487
+ const localVarAxiosArgs = await localVarAxiosParamCreator.unlockElasticsearchSecurityUser(orgName, clusterName, username, options);
16488
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16489
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.unlockElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16490
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16491
+ },
15126
16492
  /**
15127
16493
  * update an account in cluster
15128
16494
  * @summary update cluster account
@@ -15259,6 +16625,23 @@ const SharedApiFp = function (configuration) {
15259
16625
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateDatabaseConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15260
16626
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15261
16627
  },
16628
+ /**
16629
+ * update an hive account in cluster
16630
+ * @summary update hive account
16631
+ * @param {string} orgName name of the organization
16632
+ * @param {string} clusterName name of the cluster
16633
+ * @param {string} accountName name of the account
16634
+ * @param {Account} body
16635
+ * @param {*} [options] Override http request option.
16636
+ * @throws {RequiredError}
16637
+ */
16638
+ async updateHiveAccount(orgName, clusterName, accountName, body, options) {
16639
+ var _a, _b, _c;
16640
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateHiveAccount(orgName, clusterName, accountName, body, options);
16641
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16642
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateHiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16643
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16644
+ },
15262
16645
  /**
15263
16646
  *
15264
16647
  * @summary Update IP whitelist
@@ -15293,6 +16676,23 @@ const SharedApiFp = function (configuration) {
15293
16676
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateImportTaskOps']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15294
16677
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15295
16678
  },
16679
+ /**
16680
+ * update an account in cluster
16681
+ * @summary update cluster account
16682
+ * @param {string} orgName name of the Org
16683
+ * @param {string} clusterName name of the Cluster
16684
+ * @param {string} accountName name of the account
16685
+ * @param {Account} body
16686
+ * @param {*} [options] Override http request option.
16687
+ * @throws {RequiredError}
16688
+ */
16689
+ async updateKafkaAccount(orgName, clusterName, accountName, body, options) {
16690
+ var _a, _b, _c;
16691
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateKafkaAccount(orgName, clusterName, accountName, body, options);
16692
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16693
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateKafkaAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16694
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16695
+ },
15296
16696
  /**
15297
16697
  *
15298
16698
  * @summary Update broker config
@@ -15631,6 +17031,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
15631
17031
  buildBackupObj(requestParameters, options) {
15632
17032
  return localVarFp.buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(axios, basePath));
15633
17033
  },
17034
+ /**
17035
+ *
17036
+ * @summary Change Elasticsearch account password
17037
+ * @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
17038
+ * @param {*} [options] Override http request option.
17039
+ * @throws {RequiredError}
17040
+ */
17041
+ changeElasticsearchSecurityUserPassword(requestParameters, options) {
17042
+ return localVarFp.changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
17043
+ },
15634
17044
  /**
15635
17045
  * check apikey available
15636
17046
  * @summary check apikey available
@@ -15722,6 +17132,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
15722
17132
  createDatabase(requestParameters, options) {
15723
17133
  return localVarFp.createDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
15724
17134
  },
17135
+ /**
17136
+ * create an hive account
17137
+ * @summary Create Hive account
17138
+ * @param {SharedApiCreateHiveAccountRequest} requestParameters Request parameters.
17139
+ * @param {*} [options] Override http request option.
17140
+ * @throws {RequiredError}
17141
+ */
17142
+ createHiveAccount(requestParameters, options) {
17143
+ return localVarFp.createHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
17144
+ },
15725
17145
  /**
15726
17146
  *
15727
17147
  * @summary Create IP whitelist
@@ -15742,6 +17162,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
15742
17162
  createImportTask(requestParameters, options) {
15743
17163
  return localVarFp.createImportTask(requestParameters.orgName, requestParameters.clusterName, requestParameters.importTaskCreateRequest, options).then((request) => request(axios, basePath));
15744
17164
  },
17165
+ /**
17166
+ * create an account in cluster
17167
+ * @summary Create cluster account
17168
+ * @param {SharedApiCreateKafkaAccountRequest} requestParameters Request parameters.
17169
+ * @param {*} [options] Override http request option.
17170
+ * @throws {RequiredError}
17171
+ */
17172
+ createKafkaAccount(requestParameters, options) {
17173
+ return localVarFp.createKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
17174
+ },
15745
17175
  /**
15746
17176
  *
15747
17177
  * @summary Create new topic
@@ -15932,6 +17362,46 @@ const SharedApiFactory = function (configuration, basePath, axios) {
15932
17362
  deleteDatabase(requestParameters, options) {
15933
17363
  return localVarFp.deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
15934
17364
  },
17365
+ /**
17366
+ *
17367
+ * @summary Delete Elasticsearch security role
17368
+ * @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
17369
+ * @param {*} [options] Override http request option.
17370
+ * @throws {RequiredError}
17371
+ */
17372
+ deleteElasticsearchSecurityRole(requestParameters, options) {
17373
+ return localVarFp.deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
17374
+ },
17375
+ /**
17376
+ *
17377
+ * @summary Delete Elasticsearch security role mapping
17378
+ * @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
17379
+ * @param {*} [options] Override http request option.
17380
+ * @throws {RequiredError}
17381
+ */
17382
+ deleteElasticsearchSecurityRoleMapping(requestParameters, options) {
17383
+ return localVarFp.deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
17384
+ },
17385
+ /**
17386
+ *
17387
+ * @summary Delete Elasticsearch security user
17388
+ * @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
17389
+ * @param {*} [options] Override http request option.
17390
+ * @throws {RequiredError}
17391
+ */
17392
+ deleteElasticsearchSecurityUser(requestParameters, options) {
17393
+ return localVarFp.deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
17394
+ },
17395
+ /**
17396
+ * delete an hive account in cluster
17397
+ * @summary Delete hive account
17398
+ * @param {SharedApiDeleteHiveAccountRequest} requestParameters Request parameters.
17399
+ * @param {*} [options] Override http request option.
17400
+ * @throws {RequiredError}
17401
+ */
17402
+ deleteHiveAccount(requestParameters, options) {
17403
+ return localVarFp.deleteHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
17404
+ },
15935
17405
  /**
15936
17406
  *
15937
17407
  * @summary Delete IP whitelist
@@ -15952,6 +17422,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
15952
17422
  deleteImportTask(requestParameters, options) {
15953
17423
  return localVarFp.deleteImportTask(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
15954
17424
  },
17425
+ /**
17426
+ * delete an account in cluster
17427
+ * @summary Delete cluster account
17428
+ * @param {SharedApiDeleteKafkaAccountRequest} requestParameters Request parameters.
17429
+ * @param {*} [options] Override http request option.
17430
+ * @throws {RequiredError}
17431
+ */
17432
+ deleteKafkaAccount(requestParameters, options) {
17433
+ return localVarFp.deleteKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
17434
+ },
15955
17435
  /**
15956
17436
  *
15957
17437
  * @summary Delete consumer group
@@ -16355,32 +17835,72 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16355
17835
  },
16356
17836
  /**
16357
17837
  *
16358
- * @summary get the datasource
16359
- * @param {SharedApiGetDataSourceV2Request} requestParameters Request parameters.
17838
+ * @summary get the datasource
17839
+ * @param {SharedApiGetDataSourceV2Request} requestParameters Request parameters.
17840
+ * @param {*} [options] Override http request option.
17841
+ * @throws {RequiredError}
17842
+ */
17843
+ getDataSourceV2(requestParameters, options) {
17844
+ return localVarFp.getDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
17845
+ },
17846
+ /**
17847
+ * get a database info in cluster
17848
+ * @param {SharedApiGetDatabaseRequest} requestParameters Request parameters.
17849
+ * @param {*} [options] Override http request option.
17850
+ * @throws {RequiredError}
17851
+ */
17852
+ getDatabase(requestParameters, options) {
17853
+ return localVarFp.getDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
17854
+ },
17855
+ /**
17856
+ * get available options for creating database
17857
+ * @summary get database options
17858
+ * @param {SharedApiGetDatabaseOptionsRequest} requestParameters Request parameters.
17859
+ * @param {*} [options] Override http request option.
17860
+ * @throws {RequiredError}
17861
+ */
17862
+ getDatabaseOptions(requestParameters, options) {
17863
+ return localVarFp.getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(axios, basePath));
17864
+ },
17865
+ /**
17866
+ *
17867
+ * @summary Get Elasticsearch builtin privileges
17868
+ * @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
17869
+ * @param {*} [options] Override http request option.
17870
+ * @throws {RequiredError}
17871
+ */
17872
+ getElasticsearchBuiltinPrivileges(requestParameters, options) {
17873
+ return localVarFp.getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
17874
+ },
17875
+ /**
17876
+ *
17877
+ * @summary Get Elasticsearch security role
17878
+ * @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
16360
17879
  * @param {*} [options] Override http request option.
16361
17880
  * @throws {RequiredError}
16362
17881
  */
16363
- getDataSourceV2(requestParameters, options) {
16364
- return localVarFp.getDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
17882
+ getElasticsearchSecurityRole(requestParameters, options) {
17883
+ return localVarFp.getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
16365
17884
  },
16366
17885
  /**
16367
- * get a database info in cluster
16368
- * @param {SharedApiGetDatabaseRequest} requestParameters Request parameters.
17886
+ *
17887
+ * @summary Get Elasticsearch security role mapping
17888
+ * @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
16369
17889
  * @param {*} [options] Override http request option.
16370
17890
  * @throws {RequiredError}
16371
17891
  */
16372
- getDatabase(requestParameters, options) {
16373
- return localVarFp.getDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
17892
+ getElasticsearchSecurityRoleMapping(requestParameters, options) {
17893
+ return localVarFp.getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(axios, basePath));
16374
17894
  },
16375
17895
  /**
16376
- * get available options for creating database
16377
- * @summary get database options
16378
- * @param {SharedApiGetDatabaseOptionsRequest} requestParameters Request parameters.
17896
+ *
17897
+ * @summary Get Elasticsearch security user
17898
+ * @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
16379
17899
  * @param {*} [options] Override http request option.
16380
17900
  * @throws {RequiredError}
16381
17901
  */
16382
- getDatabaseOptions(requestParameters, options) {
16383
- return localVarFp.getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(axios, basePath));
17902
+ getElasticsearchSecurityUser(requestParameters, options) {
17903
+ return localVarFp.getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
16384
17904
  },
16385
17905
  /**
16386
17906
  * get engine available console
@@ -16402,6 +17922,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16402
17922
  getEngineOption(requestParameters, options) {
16403
17923
  return localVarFp.getEngineOption(requestParameters.engineName, requestParameters.version, options).then((request) => request(axios, basePath));
16404
17924
  },
17925
+ /**
17926
+ * Get Hive accounts
17927
+ * @summary Get Hive accounts
17928
+ * @param {SharedApiGetHiveAccountsRequest} requestParameters Request parameters.
17929
+ * @param {*} [options] Override http request option.
17930
+ * @throws {RequiredError}
17931
+ */
17932
+ getHiveAccounts(requestParameters, options) {
17933
+ return localVarFp.getHiveAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
17934
+ },
16405
17935
  /**
16406
17936
  * Retrieves detailed information about a specific data import preflight task by its ID
16407
17937
  * @summary Get preflight task details
@@ -16861,6 +18391,36 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16861
18391
  listDmsDatabases(requestParameters, options) {
16862
18392
  return localVarFp.listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
16863
18393
  },
18394
+ /**
18395
+ *
18396
+ * @summary List Elasticsearch security role mappings
18397
+ * @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
18398
+ * @param {*} [options] Override http request option.
18399
+ * @throws {RequiredError}
18400
+ */
18401
+ listElasticsearchSecurityRoleMappings(requestParameters, options) {
18402
+ return localVarFp.listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
18403
+ },
18404
+ /**
18405
+ *
18406
+ * @summary List Elasticsearch security roles
18407
+ * @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
18408
+ * @param {*} [options] Override http request option.
18409
+ * @throws {RequiredError}
18410
+ */
18411
+ listElasticsearchSecurityRoles(requestParameters, options) {
18412
+ return localVarFp.listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
18413
+ },
18414
+ /**
18415
+ *
18416
+ * @summary List Elasticsearch security users
18417
+ * @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
18418
+ * @param {*} [options] Override http request option.
18419
+ * @throws {RequiredError}
18420
+ */
18421
+ listElasticsearchSecurityUsers(requestParameters, options) {
18422
+ return localVarFp.listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
18423
+ },
16864
18424
  /**
16865
18425
  *
16866
18426
  * @summary List cluster endpoints
@@ -16970,6 +18530,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16970
18530
  listInstanceEvents(requestParameters, options) {
16971
18531
  return localVarFp.listInstanceEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.instanceName, requestParameters.returnNumber, options).then((request) => request(axios, basePath));
16972
18532
  },
18533
+ /**
18534
+ * list accounts in cluster
18535
+ * @summary List cluster accounts
18536
+ * @param {SharedApiListKafkaAccountsRequest} requestParameters Request parameters.
18537
+ * @param {*} [options] Override http request option.
18538
+ * @throws {RequiredError}
18539
+ */
18540
+ listKafkaAccounts(requestParameters, options) {
18541
+ return localVarFp.listKafkaAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
18542
+ },
16973
18543
  /**
16974
18544
  *
16975
18545
  * @summary List all consumer groups
@@ -17328,6 +18898,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17328
18898
  lockAccount(requestParameters, options) {
17329
18899
  return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
17330
18900
  },
18901
+ /**
18902
+ *
18903
+ * @summary Lock Elasticsearch account
18904
+ * @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
18905
+ * @param {*} [options] Override http request option.
18906
+ * @throws {RequiredError}
18907
+ */
18908
+ lockElasticsearchSecurityUser(requestParameters, options) {
18909
+ return localVarFp.lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
18910
+ },
17331
18911
  /**
17332
18912
  *
17333
18913
  * @summary batch modify database tde status
@@ -17418,6 +18998,36 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17418
18998
  promoteCluster(requestParameters, options) {
17419
18999
  return localVarFp.promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
17420
19000
  },
19001
+ /**
19002
+ *
19003
+ * @summary Create or update Elasticsearch security role
19004
+ * @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
19005
+ * @param {*} [options] Override http request option.
19006
+ * @throws {RequiredError}
19007
+ */
19008
+ putElasticsearchSecurityRole(requestParameters, options) {
19009
+ return localVarFp.putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
19010
+ },
19011
+ /**
19012
+ *
19013
+ * @summary Create or update Elasticsearch security role mapping
19014
+ * @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
19015
+ * @param {*} [options] Override http request option.
19016
+ * @throws {RequiredError}
19017
+ */
19018
+ putElasticsearchSecurityRoleMapping(requestParameters, options) {
19019
+ return localVarFp.putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(axios, basePath));
19020
+ },
19021
+ /**
19022
+ *
19023
+ * @summary Create or update Elasticsearch security user
19024
+ * @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
19025
+ * @param {*} [options] Override http request option.
19026
+ * @throws {RequiredError}
19027
+ */
19028
+ putElasticsearchSecurityUser(requestParameters, options) {
19029
+ return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
19030
+ },
17421
19031
  /**
17422
19032
  *
17423
19033
  * @summary create a SQL query
@@ -17757,6 +19367,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17757
19367
  unlockAccount(requestParameters, options) {
17758
19368
  return localVarFp.unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
17759
19369
  },
19370
+ /**
19371
+ *
19372
+ * @summary Unlock Elasticsearch account
19373
+ * @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
19374
+ * @param {*} [options] Override http request option.
19375
+ * @throws {RequiredError}
19376
+ */
19377
+ unlockElasticsearchSecurityUser(requestParameters, options) {
19378
+ return localVarFp.unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(axios, basePath));
19379
+ },
17760
19380
  /**
17761
19381
  * update an account in cluster
17762
19382
  * @summary update cluster account
@@ -17837,6 +19457,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17837
19457
  updateDatabaseConfig(requestParameters, options) {
17838
19458
  return localVarFp.updateDatabaseConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
17839
19459
  },
19460
+ /**
19461
+ * update an hive account in cluster
19462
+ * @summary update hive account
19463
+ * @param {SharedApiUpdateHiveAccountRequest} requestParameters Request parameters.
19464
+ * @param {*} [options] Override http request option.
19465
+ * @throws {RequiredError}
19466
+ */
19467
+ updateHiveAccount(requestParameters, options) {
19468
+ return localVarFp.updateHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
19469
+ },
17840
19470
  /**
17841
19471
  *
17842
19472
  * @summary Update IP whitelist
@@ -17857,6 +19487,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17857
19487
  updateImportTaskOps(requestParameters, options) {
17858
19488
  return localVarFp.updateImportTaskOps(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.opsType, options).then((request) => request(axios, basePath));
17859
19489
  },
19490
+ /**
19491
+ * update an account in cluster
19492
+ * @summary update cluster account
19493
+ * @param {SharedApiUpdateKafkaAccountRequest} requestParameters Request parameters.
19494
+ * @param {*} [options] Override http request option.
19495
+ * @throws {RequiredError}
19496
+ */
19497
+ updateKafkaAccount(requestParameters, options) {
19498
+ return localVarFp.updateKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
19499
+ },
17860
19500
  /**
17861
19501
  *
17862
19502
  * @summary Update broker config
@@ -18115,6 +19755,17 @@ class SharedApi extends base_1.BaseAPI {
18115
19755
  buildBackupObj(requestParameters, options) {
18116
19756
  return (0, exports.SharedApiFp)(this.configuration).buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
18117
19757
  }
19758
+ /**
19759
+ *
19760
+ * @summary Change Elasticsearch account password
19761
+ * @param {SharedApiChangeElasticsearchSecurityUserPasswordRequest} requestParameters Request parameters.
19762
+ * @param {*} [options] Override http request option.
19763
+ * @throws {RequiredError}
19764
+ * @memberof SharedApi
19765
+ */
19766
+ changeElasticsearchSecurityUserPassword(requestParameters, options) {
19767
+ return (0, exports.SharedApiFp)(this.configuration).changeElasticsearchSecurityUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
19768
+ }
18118
19769
  /**
18119
19770
  * check apikey available
18120
19771
  * @summary check apikey available
@@ -18215,6 +19866,17 @@ class SharedApi extends base_1.BaseAPI {
18215
19866
  createDatabase(requestParameters, options) {
18216
19867
  return (0, exports.SharedApiFp)(this.configuration).createDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
18217
19868
  }
19869
+ /**
19870
+ * create an hive account
19871
+ * @summary Create Hive account
19872
+ * @param {SharedApiCreateHiveAccountRequest} requestParameters Request parameters.
19873
+ * @param {*} [options] Override http request option.
19874
+ * @throws {RequiredError}
19875
+ * @memberof SharedApi
19876
+ */
19877
+ createHiveAccount(requestParameters, options) {
19878
+ return (0, exports.SharedApiFp)(this.configuration).createHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
19879
+ }
18218
19880
  /**
18219
19881
  *
18220
19882
  * @summary Create IP whitelist
@@ -18237,6 +19899,17 @@ class SharedApi extends base_1.BaseAPI {
18237
19899
  createImportTask(requestParameters, options) {
18238
19900
  return (0, exports.SharedApiFp)(this.configuration).createImportTask(requestParameters.orgName, requestParameters.clusterName, requestParameters.importTaskCreateRequest, options).then((request) => request(this.axios, this.basePath));
18239
19901
  }
19902
+ /**
19903
+ * create an account in cluster
19904
+ * @summary Create cluster account
19905
+ * @param {SharedApiCreateKafkaAccountRequest} requestParameters Request parameters.
19906
+ * @param {*} [options] Override http request option.
19907
+ * @throws {RequiredError}
19908
+ * @memberof SharedApi
19909
+ */
19910
+ createKafkaAccount(requestParameters, options) {
19911
+ return (0, exports.SharedApiFp)(this.configuration).createKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
19912
+ }
18240
19913
  /**
18241
19914
  *
18242
19915
  * @summary Create new topic
@@ -18446,6 +20119,50 @@ class SharedApi extends base_1.BaseAPI {
18446
20119
  deleteDatabase(requestParameters, options) {
18447
20120
  return (0, exports.SharedApiFp)(this.configuration).deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
18448
20121
  }
20122
+ /**
20123
+ *
20124
+ * @summary Delete Elasticsearch security role
20125
+ * @param {SharedApiDeleteElasticsearchSecurityRoleRequest} requestParameters Request parameters.
20126
+ * @param {*} [options] Override http request option.
20127
+ * @throws {RequiredError}
20128
+ * @memberof SharedApi
20129
+ */
20130
+ deleteElasticsearchSecurityRole(requestParameters, options) {
20131
+ return (0, exports.SharedApiFp)(this.configuration).deleteElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
20132
+ }
20133
+ /**
20134
+ *
20135
+ * @summary Delete Elasticsearch security role mapping
20136
+ * @param {SharedApiDeleteElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
20137
+ * @param {*} [options] Override http request option.
20138
+ * @throws {RequiredError}
20139
+ * @memberof SharedApi
20140
+ */
20141
+ deleteElasticsearchSecurityRoleMapping(requestParameters, options) {
20142
+ return (0, exports.SharedApiFp)(this.configuration).deleteElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
20143
+ }
20144
+ /**
20145
+ *
20146
+ * @summary Delete Elasticsearch security user
20147
+ * @param {SharedApiDeleteElasticsearchSecurityUserRequest} requestParameters Request parameters.
20148
+ * @param {*} [options] Override http request option.
20149
+ * @throws {RequiredError}
20150
+ * @memberof SharedApi
20151
+ */
20152
+ deleteElasticsearchSecurityUser(requestParameters, options) {
20153
+ return (0, exports.SharedApiFp)(this.configuration).deleteElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
20154
+ }
20155
+ /**
20156
+ * delete an hive account in cluster
20157
+ * @summary Delete hive account
20158
+ * @param {SharedApiDeleteHiveAccountRequest} requestParameters Request parameters.
20159
+ * @param {*} [options] Override http request option.
20160
+ * @throws {RequiredError}
20161
+ * @memberof SharedApi
20162
+ */
20163
+ deleteHiveAccount(requestParameters, options) {
20164
+ return (0, exports.SharedApiFp)(this.configuration).deleteHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
20165
+ }
18449
20166
  /**
18450
20167
  *
18451
20168
  * @summary Delete IP whitelist
@@ -18468,6 +20185,17 @@ class SharedApi extends base_1.BaseAPI {
18468
20185
  deleteImportTask(requestParameters, options) {
18469
20186
  return (0, exports.SharedApiFp)(this.configuration).deleteImportTask(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
18470
20187
  }
20188
+ /**
20189
+ * delete an account in cluster
20190
+ * @summary Delete cluster account
20191
+ * @param {SharedApiDeleteKafkaAccountRequest} requestParameters Request parameters.
20192
+ * @param {*} [options] Override http request option.
20193
+ * @throws {RequiredError}
20194
+ * @memberof SharedApi
20195
+ */
20196
+ deleteKafkaAccount(requestParameters, options) {
20197
+ return (0, exports.SharedApiFp)(this.configuration).deleteKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
20198
+ }
18471
20199
  /**
18472
20200
  *
18473
20201
  * @summary Delete consumer group
@@ -18941,6 +20669,50 @@ class SharedApi extends base_1.BaseAPI {
18941
20669
  getDatabaseOptions(requestParameters, options) {
18942
20670
  return (0, exports.SharedApiFp)(this.configuration).getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(this.axios, this.basePath));
18943
20671
  }
20672
+ /**
20673
+ *
20674
+ * @summary Get Elasticsearch builtin privileges
20675
+ * @param {SharedApiGetElasticsearchBuiltinPrivilegesRequest} requestParameters Request parameters.
20676
+ * @param {*} [options] Override http request option.
20677
+ * @throws {RequiredError}
20678
+ * @memberof SharedApi
20679
+ */
20680
+ getElasticsearchBuiltinPrivileges(requestParameters, options) {
20681
+ return (0, exports.SharedApiFp)(this.configuration).getElasticsearchBuiltinPrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
20682
+ }
20683
+ /**
20684
+ *
20685
+ * @summary Get Elasticsearch security role
20686
+ * @param {SharedApiGetElasticsearchSecurityRoleRequest} requestParameters Request parameters.
20687
+ * @param {*} [options] Override http request option.
20688
+ * @throws {RequiredError}
20689
+ * @memberof SharedApi
20690
+ */
20691
+ getElasticsearchSecurityRole(requestParameters, options) {
20692
+ return (0, exports.SharedApiFp)(this.configuration).getElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
20693
+ }
20694
+ /**
20695
+ *
20696
+ * @summary Get Elasticsearch security role mapping
20697
+ * @param {SharedApiGetElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
20698
+ * @param {*} [options] Override http request option.
20699
+ * @throws {RequiredError}
20700
+ * @memberof SharedApi
20701
+ */
20702
+ getElasticsearchSecurityRoleMapping(requestParameters, options) {
20703
+ return (0, exports.SharedApiFp)(this.configuration).getElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, options).then((request) => request(this.axios, this.basePath));
20704
+ }
20705
+ /**
20706
+ *
20707
+ * @summary Get Elasticsearch security user
20708
+ * @param {SharedApiGetElasticsearchSecurityUserRequest} requestParameters Request parameters.
20709
+ * @param {*} [options] Override http request option.
20710
+ * @throws {RequiredError}
20711
+ * @memberof SharedApi
20712
+ */
20713
+ getElasticsearchSecurityUser(requestParameters, options) {
20714
+ return (0, exports.SharedApiFp)(this.configuration).getElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
20715
+ }
18944
20716
  /**
18945
20717
  * get engine available console
18946
20718
  * @summary get engine available console
@@ -18963,6 +20735,17 @@ class SharedApi extends base_1.BaseAPI {
18963
20735
  getEngineOption(requestParameters, options) {
18964
20736
  return (0, exports.SharedApiFp)(this.configuration).getEngineOption(requestParameters.engineName, requestParameters.version, options).then((request) => request(this.axios, this.basePath));
18965
20737
  }
20738
+ /**
20739
+ * Get Hive accounts
20740
+ * @summary Get Hive accounts
20741
+ * @param {SharedApiGetHiveAccountsRequest} requestParameters Request parameters.
20742
+ * @param {*} [options] Override http request option.
20743
+ * @throws {RequiredError}
20744
+ * @memberof SharedApi
20745
+ */
20746
+ getHiveAccounts(requestParameters, options) {
20747
+ return (0, exports.SharedApiFp)(this.configuration).getHiveAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
20748
+ }
18966
20749
  /**
18967
20750
  * Retrieves detailed information about a specific data import preflight task by its ID
18968
20751
  * @summary Get preflight task details
@@ -19468,6 +21251,39 @@ class SharedApi extends base_1.BaseAPI {
19468
21251
  listDmsDatabases(requestParameters, options) {
19469
21252
  return (0, exports.SharedApiFp)(this.configuration).listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
19470
21253
  }
21254
+ /**
21255
+ *
21256
+ * @summary List Elasticsearch security role mappings
21257
+ * @param {SharedApiListElasticsearchSecurityRoleMappingsRequest} requestParameters Request parameters.
21258
+ * @param {*} [options] Override http request option.
21259
+ * @throws {RequiredError}
21260
+ * @memberof SharedApi
21261
+ */
21262
+ listElasticsearchSecurityRoleMappings(requestParameters, options) {
21263
+ return (0, exports.SharedApiFp)(this.configuration).listElasticsearchSecurityRoleMappings(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
21264
+ }
21265
+ /**
21266
+ *
21267
+ * @summary List Elasticsearch security roles
21268
+ * @param {SharedApiListElasticsearchSecurityRolesRequest} requestParameters Request parameters.
21269
+ * @param {*} [options] Override http request option.
21270
+ * @throws {RequiredError}
21271
+ * @memberof SharedApi
21272
+ */
21273
+ listElasticsearchSecurityRoles(requestParameters, options) {
21274
+ return (0, exports.SharedApiFp)(this.configuration).listElasticsearchSecurityRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
21275
+ }
21276
+ /**
21277
+ *
21278
+ * @summary List Elasticsearch security users
21279
+ * @param {SharedApiListElasticsearchSecurityUsersRequest} requestParameters Request parameters.
21280
+ * @param {*} [options] Override http request option.
21281
+ * @throws {RequiredError}
21282
+ * @memberof SharedApi
21283
+ */
21284
+ listElasticsearchSecurityUsers(requestParameters, options) {
21285
+ return (0, exports.SharedApiFp)(this.configuration).listElasticsearchSecurityUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
21286
+ }
19471
21287
  /**
19472
21288
  *
19473
21289
  * @summary List cluster endpoints
@@ -19588,6 +21404,17 @@ class SharedApi extends base_1.BaseAPI {
19588
21404
  listInstanceEvents(requestParameters, options) {
19589
21405
  return (0, exports.SharedApiFp)(this.configuration).listInstanceEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.instanceName, requestParameters.returnNumber, options).then((request) => request(this.axios, this.basePath));
19590
21406
  }
21407
+ /**
21408
+ * list accounts in cluster
21409
+ * @summary List cluster accounts
21410
+ * @param {SharedApiListKafkaAccountsRequest} requestParameters Request parameters.
21411
+ * @param {*} [options] Override http request option.
21412
+ * @throws {RequiredError}
21413
+ * @memberof SharedApi
21414
+ */
21415
+ listKafkaAccounts(requestParameters, options) {
21416
+ return (0, exports.SharedApiFp)(this.configuration).listKafkaAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
21417
+ }
19591
21418
  /**
19592
21419
  *
19593
21420
  * @summary List all consumer groups
@@ -19982,6 +21809,17 @@ class SharedApi extends base_1.BaseAPI {
19982
21809
  lockAccount(requestParameters, options) {
19983
21810
  return (0, exports.SharedApiFp)(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
19984
21811
  }
21812
+ /**
21813
+ *
21814
+ * @summary Lock Elasticsearch account
21815
+ * @param {SharedApiLockElasticsearchSecurityUserRequest} requestParameters Request parameters.
21816
+ * @param {*} [options] Override http request option.
21817
+ * @throws {RequiredError}
21818
+ * @memberof SharedApi
21819
+ */
21820
+ lockElasticsearchSecurityUser(requestParameters, options) {
21821
+ return (0, exports.SharedApiFp)(this.configuration).lockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
21822
+ }
19985
21823
  /**
19986
21824
  *
19987
21825
  * @summary batch modify database tde status
@@ -20081,6 +21919,39 @@ class SharedApi extends base_1.BaseAPI {
20081
21919
  promoteCluster(requestParameters, options) {
20082
21920
  return (0, exports.SharedApiFp)(this.configuration).promoteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
20083
21921
  }
21922
+ /**
21923
+ *
21924
+ * @summary Create or update Elasticsearch security role
21925
+ * @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
21926
+ * @param {*} [options] Override http request option.
21927
+ * @throws {RequiredError}
21928
+ * @memberof SharedApi
21929
+ */
21930
+ putElasticsearchSecurityRole(requestParameters, options) {
21931
+ return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
21932
+ }
21933
+ /**
21934
+ *
21935
+ * @summary Create or update Elasticsearch security role mapping
21936
+ * @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
21937
+ * @param {*} [options] Override http request option.
21938
+ * @throws {RequiredError}
21939
+ * @memberof SharedApi
21940
+ */
21941
+ putElasticsearchSecurityRoleMapping(requestParameters, options) {
21942
+ return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityRoleMapping(requestParameters.orgName, requestParameters.clusterName, requestParameters.mappingName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
21943
+ }
21944
+ /**
21945
+ *
21946
+ * @summary Create or update Elasticsearch security user
21947
+ * @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
21948
+ * @param {*} [options] Override http request option.
21949
+ * @throws {RequiredError}
21950
+ * @memberof SharedApi
21951
+ */
21952
+ putElasticsearchSecurityUser(requestParameters, options) {
21953
+ return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
21954
+ }
20084
21955
  /**
20085
21956
  *
20086
21957
  * @summary create a SQL query
@@ -20454,6 +22325,17 @@ class SharedApi extends base_1.BaseAPI {
20454
22325
  unlockAccount(requestParameters, options) {
20455
22326
  return (0, exports.SharedApiFp)(this.configuration).unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
20456
22327
  }
22328
+ /**
22329
+ *
22330
+ * @summary Unlock Elasticsearch account
22331
+ * @param {SharedApiUnlockElasticsearchSecurityUserRequest} requestParameters Request parameters.
22332
+ * @param {*} [options] Override http request option.
22333
+ * @throws {RequiredError}
22334
+ * @memberof SharedApi
22335
+ */
22336
+ unlockElasticsearchSecurityUser(requestParameters, options) {
22337
+ return (0, exports.SharedApiFp)(this.configuration).unlockElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
22338
+ }
20457
22339
  /**
20458
22340
  * update an account in cluster
20459
22341
  * @summary update cluster account
@@ -20542,6 +22424,17 @@ class SharedApi extends base_1.BaseAPI {
20542
22424
  updateDatabaseConfig(requestParameters, options) {
20543
22425
  return (0, exports.SharedApiFp)(this.configuration).updateDatabaseConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
20544
22426
  }
22427
+ /**
22428
+ * update an hive account in cluster
22429
+ * @summary update hive account
22430
+ * @param {SharedApiUpdateHiveAccountRequest} requestParameters Request parameters.
22431
+ * @param {*} [options] Override http request option.
22432
+ * @throws {RequiredError}
22433
+ * @memberof SharedApi
22434
+ */
22435
+ updateHiveAccount(requestParameters, options) {
22436
+ return (0, exports.SharedApiFp)(this.configuration).updateHiveAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
22437
+ }
20545
22438
  /**
20546
22439
  *
20547
22440
  * @summary Update IP whitelist
@@ -20564,6 +22457,17 @@ class SharedApi extends base_1.BaseAPI {
20564
22457
  updateImportTaskOps(requestParameters, options) {
20565
22458
  return (0, exports.SharedApiFp)(this.configuration).updateImportTaskOps(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.opsType, options).then((request) => request(this.axios, this.basePath));
20566
22459
  }
22460
+ /**
22461
+ * update an account in cluster
22462
+ * @summary update cluster account
22463
+ * @param {SharedApiUpdateKafkaAccountRequest} requestParameters Request parameters.
22464
+ * @param {*} [options] Override http request option.
22465
+ * @throws {RequiredError}
22466
+ * @memberof SharedApi
22467
+ */
22468
+ updateKafkaAccount(requestParameters, options) {
22469
+ return (0, exports.SharedApiFp)(this.configuration).updateKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
22470
+ }
20567
22471
  /**
20568
22472
  *
20569
22473
  * @summary Update broker config