kb-cloud-client-typescript 2.2.96 → 2.2.98

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 (85) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +406 -0
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +427 -0
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/rdbms-api.d.ts +406 -0
  6. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/rdbms-api.js +427 -0
  8. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +406 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +427 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/dms-service-account-create-request.d.ts +55 -0
  14. package/dist/adminapi/models/dms-service-account-create-request.d.ts.map +1 -0
  15. package/dist/adminapi/models/dms-service-account-create-request.js +16 -0
  16. package/dist/adminapi/models/dms-service-account-create-request.js.map +1 -0
  17. package/dist/adminapi/models/dms-service-account-status.d.ts +22 -0
  18. package/dist/adminapi/models/dms-service-account-status.d.ts.map +1 -0
  19. package/dist/adminapi/models/dms-service-account-status.js +26 -0
  20. package/dist/adminapi/models/dms-service-account-status.js.map +1 -0
  21. package/dist/adminapi/models/dms-service-account-update-request.d.ts +32 -0
  22. package/dist/adminapi/models/dms-service-account-update-request.d.ts.map +1 -0
  23. package/dist/adminapi/models/dms-service-account-update-request.js +16 -0
  24. package/dist/adminapi/models/dms-service-account-update-request.js.map +1 -0
  25. package/dist/adminapi/models/dms-service-account.d.ts +73 -0
  26. package/dist/adminapi/models/dms-service-account.d.ts.map +1 -0
  27. package/dist/adminapi/models/dms-service-account.js +16 -0
  28. package/dist/adminapi/models/dms-service-account.js.map +1 -0
  29. package/dist/adminapi/models/index.d.ts +4 -0
  30. package/dist/adminapi/models/index.d.ts.map +1 -1
  31. package/dist/adminapi/models/index.js +4 -0
  32. package/dist/adminapi/models/index.js.map +1 -1
  33. package/dist/openapi/apis/account-api.d.ts +406 -0
  34. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  35. package/dist/openapi/apis/account-api.js +427 -0
  36. package/dist/openapi/apis/account-api.js.map +1 -1
  37. package/dist/openapi/apis/rdbms-api.d.ts +406 -0
  38. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  39. package/dist/openapi/apis/rdbms-api.js +427 -0
  40. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  41. package/dist/openapi/apis/shared-api.d.ts +406 -0
  42. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  43. package/dist/openapi/apis/shared-api.js +427 -0
  44. package/dist/openapi/apis/shared-api.js.map +1 -1
  45. package/dist/openapi/models/dms-service-account-create-request.d.ts +55 -0
  46. package/dist/openapi/models/dms-service-account-create-request.d.ts.map +1 -0
  47. package/dist/openapi/models/dms-service-account-create-request.js +16 -0
  48. package/dist/openapi/models/dms-service-account-create-request.js.map +1 -0
  49. package/dist/openapi/models/dms-service-account-status.d.ts +22 -0
  50. package/dist/openapi/models/dms-service-account-status.d.ts.map +1 -0
  51. package/dist/openapi/models/dms-service-account-status.js +26 -0
  52. package/dist/openapi/models/dms-service-account-status.js.map +1 -0
  53. package/dist/openapi/models/dms-service-account-update-request.d.ts +32 -0
  54. package/dist/openapi/models/dms-service-account-update-request.d.ts.map +1 -0
  55. package/dist/openapi/models/dms-service-account-update-request.js +16 -0
  56. package/dist/openapi/models/dms-service-account-update-request.js.map +1 -0
  57. package/dist/openapi/models/dms-service-account.d.ts +73 -0
  58. package/dist/openapi/models/dms-service-account.d.ts.map +1 -0
  59. package/dist/openapi/models/dms-service-account.js +16 -0
  60. package/dist/openapi/models/dms-service-account.js.map +1 -0
  61. package/dist/openapi/models/index.d.ts +4 -0
  62. package/dist/openapi/models/index.d.ts.map +1 -1
  63. package/dist/openapi/models/index.js +4 -0
  64. package/dist/openapi/models/index.js.map +1 -1
  65. package/package.json +1 -1
  66. package/src/adminapi/.openapi-generator/FILES +4 -0
  67. package/src/adminapi/apis/account-api.ts +703 -0
  68. package/src/adminapi/apis/rdbms-api.ts +703 -0
  69. package/src/adminapi/apis/shared-api.ts +703 -0
  70. package/src/adminapi/models/dms-service-account-create-request.ts +60 -0
  71. package/src/adminapi/models/dms-service-account-status.ts +31 -0
  72. package/src/adminapi/models/dms-service-account-update-request.ts +41 -0
  73. package/src/adminapi/models/dms-service-account.ts +78 -0
  74. package/src/adminapi/models/index.ts +4 -0
  75. package/src/adminapi.yaml +330 -0
  76. package/src/openapi/.openapi-generator/FILES +4 -0
  77. package/src/openapi/apis/account-api.ts +703 -0
  78. package/src/openapi/apis/rdbms-api.ts +703 -0
  79. package/src/openapi/apis/shared-api.ts +703 -0
  80. package/src/openapi/models/dms-service-account-create-request.ts +60 -0
  81. package/src/openapi/models/dms-service-account-status.ts +31 -0
  82. package/src/openapi/models/dms-service-account-update-request.ts +41 -0
  83. package/src/openapi/models/dms-service-account.ts +78 -0
  84. package/src/openapi/models/index.ts +4 -0
  85. package/src/openapi.yaml +330 -0
@@ -150,6 +150,12 @@ import type { DmsQueryResponse } from '../models';
150
150
  // @ts-ignore
151
151
  import type { DmsResult } from '../models';
152
152
  // @ts-ignore
153
+ import type { DmsServiceAccount } from '../models';
154
+ // @ts-ignore
155
+ import type { DmsServiceAccountCreateRequest } from '../models';
156
+ // @ts-ignore
157
+ import type { DmsServiceAccountUpdateRequest } from '../models';
158
+ // @ts-ignore
153
159
  import type { DmsSession } from '../models';
154
160
  // @ts-ignore
155
161
  import type { DmsTaskInfo } from '../models';
@@ -1762,6 +1768,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
1762
1768
  options: localVarRequestOptions,
1763
1769
  };
1764
1770
  },
1771
+ /**
1772
+ * create a MinIO service account access key
1773
+ * @summary Create MinIO access key
1774
+ * @param {string} engineName name of the engine
1775
+ * @param {string} orgName name of the organization
1776
+ * @param {string} clusterName name of the cluster
1777
+ * @param {DmsServiceAccountCreateRequest} body
1778
+ * @param {*} [options] Override http request option.
1779
+ * @throws {RequiredError}
1780
+ */
1781
+ createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1782
+ // verify required parameter 'engineName' is not null or undefined
1783
+ assertParamExists('createServiceAccount', 'engineName', engineName)
1784
+ // verify required parameter 'orgName' is not null or undefined
1785
+ assertParamExists('createServiceAccount', 'orgName', orgName)
1786
+ // verify required parameter 'clusterName' is not null or undefined
1787
+ assertParamExists('createServiceAccount', 'clusterName', clusterName)
1788
+ // verify required parameter 'body' is not null or undefined
1789
+ assertParamExists('createServiceAccount', 'body', body)
1790
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
1791
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
1792
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1793
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1794
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1795
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1796
+ let baseOptions;
1797
+ if (configuration) {
1798
+ baseOptions = configuration.baseOptions;
1799
+ }
1800
+
1801
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1802
+ const localVarHeaderParameter = {} as any;
1803
+ const localVarQueryParameter = {} as any;
1804
+
1805
+ // authentication BearerToken required
1806
+ // http bearer authentication required
1807
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1808
+
1809
+ // authentication DigestAuth required
1810
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1811
+
1812
+
1813
+
1814
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1815
+
1816
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1817
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1818
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1819
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1820
+
1821
+ return {
1822
+ url: toPathString(localVarUrlObj),
1823
+ options: localVarRequestOptions,
1824
+ };
1825
+ },
1765
1826
  /**
1766
1827
  * create tag
1767
1828
  * @summary Create cluster tags
@@ -3222,6 +3283,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3222
3283
 
3223
3284
 
3224
3285
 
3286
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3287
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3288
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3289
+
3290
+ return {
3291
+ url: toPathString(localVarUrlObj),
3292
+ options: localVarRequestOptions,
3293
+ };
3294
+ },
3295
+ /**
3296
+ * delete a MinIO service account access key
3297
+ * @summary Delete MinIO access key
3298
+ * @param {string} engineName name of the engine
3299
+ * @param {string} orgName name of the organization
3300
+ * @param {string} clusterName name of the cluster
3301
+ * @param {string} accessKey MinIO access key
3302
+ * @param {*} [options] Override http request option.
3303
+ * @throws {RequiredError}
3304
+ */
3305
+ deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3306
+ // verify required parameter 'engineName' is not null or undefined
3307
+ assertParamExists('deleteServiceAccount', 'engineName', engineName)
3308
+ // verify required parameter 'orgName' is not null or undefined
3309
+ assertParamExists('deleteServiceAccount', 'orgName', orgName)
3310
+ // verify required parameter 'clusterName' is not null or undefined
3311
+ assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
3312
+ // verify required parameter 'accessKey' is not null or undefined
3313
+ assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
3314
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
3315
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3316
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3317
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3318
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
3319
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3320
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3321
+ let baseOptions;
3322
+ if (configuration) {
3323
+ baseOptions = configuration.baseOptions;
3324
+ }
3325
+
3326
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3327
+ const localVarHeaderParameter = {} as any;
3328
+ const localVarQueryParameter = {} as any;
3329
+
3330
+ // authentication BearerToken required
3331
+ // http bearer authentication required
3332
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3333
+
3334
+ // authentication DigestAuth required
3335
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3336
+
3337
+
3338
+
3225
3339
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3226
3340
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3227
3341
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -6014,6 +6128,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6014
6128
 
6015
6129
 
6016
6130
 
6131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6133
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6134
+
6135
+ return {
6136
+ url: toPathString(localVarUrlObj),
6137
+ options: localVarRequestOptions,
6138
+ };
6139
+ },
6140
+ /**
6141
+ * get a MinIO service account access key
6142
+ * @summary Get MinIO access key
6143
+ * @param {string} engineName name of the engine
6144
+ * @param {string} orgName name of the organization
6145
+ * @param {string} clusterName name of the cluster
6146
+ * @param {string} accessKey MinIO access key
6147
+ * @param {*} [options] Override http request option.
6148
+ * @throws {RequiredError}
6149
+ */
6150
+ getServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6151
+ // verify required parameter 'engineName' is not null or undefined
6152
+ assertParamExists('getServiceAccount', 'engineName', engineName)
6153
+ // verify required parameter 'orgName' is not null or undefined
6154
+ assertParamExists('getServiceAccount', 'orgName', orgName)
6155
+ // verify required parameter 'clusterName' is not null or undefined
6156
+ assertParamExists('getServiceAccount', 'clusterName', clusterName)
6157
+ // verify required parameter 'accessKey' is not null or undefined
6158
+ assertParamExists('getServiceAccount', 'accessKey', accessKey)
6159
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
6160
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6161
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6162
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
6163
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
6164
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6165
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6166
+ let baseOptions;
6167
+ if (configuration) {
6168
+ baseOptions = configuration.baseOptions;
6169
+ }
6170
+
6171
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6172
+ const localVarHeaderParameter = {} as any;
6173
+ const localVarQueryParameter = {} as any;
6174
+
6175
+ // authentication BearerToken required
6176
+ // http bearer authentication required
6177
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6178
+
6179
+ // authentication DigestAuth required
6180
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6181
+
6182
+
6183
+
6017
6184
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6018
6185
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6019
6186
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9193,6 +9360,60 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9193
9360
 
9194
9361
 
9195
9362
 
9363
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9364
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9365
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9366
+
9367
+ return {
9368
+ url: toPathString(localVarUrlObj),
9369
+ options: localVarRequestOptions,
9370
+ };
9371
+ },
9372
+ /**
9373
+ * list MinIO service account access keys
9374
+ * @summary List MinIO access keys
9375
+ * @param {string} engineName name of the engine
9376
+ * @param {string} orgName name of the organization
9377
+ * @param {string} clusterName name of the cluster
9378
+ * @param {string} [userName] MinIO user that owns the service accounts
9379
+ * @param {*} [options] Override http request option.
9380
+ * @throws {RequiredError}
9381
+ */
9382
+ listServiceAccounts: async (engineName: string, orgName: string, clusterName: string, userName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9383
+ // verify required parameter 'engineName' is not null or undefined
9384
+ assertParamExists('listServiceAccounts', 'engineName', engineName)
9385
+ // verify required parameter 'orgName' is not null or undefined
9386
+ assertParamExists('listServiceAccounts', 'orgName', orgName)
9387
+ // verify required parameter 'clusterName' is not null or undefined
9388
+ assertParamExists('listServiceAccounts', 'clusterName', clusterName)
9389
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
9390
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9391
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9392
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9393
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9394
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9395
+ let baseOptions;
9396
+ if (configuration) {
9397
+ baseOptions = configuration.baseOptions;
9398
+ }
9399
+
9400
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9401
+ const localVarHeaderParameter = {} as any;
9402
+ const localVarQueryParameter = {} as any;
9403
+
9404
+ // authentication BearerToken required
9405
+ // http bearer authentication required
9406
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9407
+
9408
+ // authentication DigestAuth required
9409
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9410
+
9411
+ if (userName !== undefined) {
9412
+ localVarQueryParameter['userName'] = userName;
9413
+ }
9414
+
9415
+
9416
+
9196
9417
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9197
9418
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9198
9419
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12978,6 +13199,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12978
13199
  options: localVarRequestOptions,
12979
13200
  };
12980
13201
  },
13202
+ /**
13203
+ * update a MinIO service account access key
13204
+ * @summary Update MinIO access key
13205
+ * @param {string} engineName name of the engine
13206
+ * @param {string} orgName name of the organization
13207
+ * @param {string} clusterName name of the cluster
13208
+ * @param {string} accessKey MinIO access key
13209
+ * @param {DmsServiceAccountUpdateRequest} body
13210
+ * @param {*} [options] Override http request option.
13211
+ * @throws {RequiredError}
13212
+ */
13213
+ updateServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13214
+ // verify required parameter 'engineName' is not null or undefined
13215
+ assertParamExists('updateServiceAccount', 'engineName', engineName)
13216
+ // verify required parameter 'orgName' is not null or undefined
13217
+ assertParamExists('updateServiceAccount', 'orgName', orgName)
13218
+ // verify required parameter 'clusterName' is not null or undefined
13219
+ assertParamExists('updateServiceAccount', 'clusterName', clusterName)
13220
+ // verify required parameter 'accessKey' is not null or undefined
13221
+ assertParamExists('updateServiceAccount', 'accessKey', accessKey)
13222
+ // verify required parameter 'body' is not null or undefined
13223
+ assertParamExists('updateServiceAccount', 'body', body)
13224
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
13225
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
13226
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13227
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13228
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
13229
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13230
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13231
+ let baseOptions;
13232
+ if (configuration) {
13233
+ baseOptions = configuration.baseOptions;
13234
+ }
13235
+
13236
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
13237
+ const localVarHeaderParameter = {} as any;
13238
+ const localVarQueryParameter = {} as any;
13239
+
13240
+ // authentication BearerToken required
13241
+ // http bearer authentication required
13242
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13243
+
13244
+ // authentication DigestAuth required
13245
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13246
+
13247
+
13248
+
13249
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13250
+
13251
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13252
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13253
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13254
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
13255
+
13256
+ return {
13257
+ url: toPathString(localVarUrlObj),
13258
+ options: localVarRequestOptions,
13259
+ };
13260
+ },
12981
13261
  /**
12982
13262
  * Enable or disable SQL audit log for a cluster component
12983
13263
  * @summary Update SQL audit log status
@@ -13690,6 +13970,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
13690
13970
  const localVarOperationServerBasePath = operationServerMap['SharedApi.createRole']?.[localVarOperationServerIndex]?.url;
13691
13971
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13692
13972
  },
13973
+ /**
13974
+ * create a MinIO service account access key
13975
+ * @summary Create MinIO access key
13976
+ * @param {string} engineName name of the engine
13977
+ * @param {string} orgName name of the organization
13978
+ * @param {string} clusterName name of the cluster
13979
+ * @param {DmsServiceAccountCreateRequest} body
13980
+ * @param {*} [options] Override http request option.
13981
+ * @throws {RequiredError}
13982
+ */
13983
+ async createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
13984
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(engineName, orgName, clusterName, body, options);
13985
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13986
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
13987
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13988
+ },
13693
13989
  /**
13694
13990
  * create tag
13695
13991
  * @summary Create cluster tags
@@ -14135,6 +14431,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
14135
14431
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteRoleByName']?.[localVarOperationServerIndex]?.url;
14136
14432
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14137
14433
  },
14434
+ /**
14435
+ * delete a MinIO service account access key
14436
+ * @summary Delete MinIO access key
14437
+ * @param {string} engineName name of the engine
14438
+ * @param {string} orgName name of the organization
14439
+ * @param {string} clusterName name of the cluster
14440
+ * @param {string} accessKey MinIO access key
14441
+ * @param {*} [options] Override http request option.
14442
+ * @throws {RequiredError}
14443
+ */
14444
+ async deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
14445
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
14446
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14447
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteServiceAccount']?.[localVarOperationServerIndex]?.url;
14448
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14449
+ },
14138
14450
  /**
14139
14451
  * delete cluster tag
14140
14452
  * @summary Delete tag
@@ -14971,6 +15283,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
14971
15283
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getSchemaList']?.[localVarOperationServerIndex]?.url;
14972
15284
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14973
15285
  },
15286
+ /**
15287
+ * get a MinIO service account access key
15288
+ * @summary Get MinIO access key
15289
+ * @param {string} engineName name of the engine
15290
+ * @param {string} orgName name of the organization
15291
+ * @param {string} clusterName name of the cluster
15292
+ * @param {string} accessKey MinIO access key
15293
+ * @param {*} [options] Override http request option.
15294
+ * @throws {RequiredError}
15295
+ */
15296
+ async getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
15297
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccount(engineName, orgName, clusterName, accessKey, options);
15298
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15299
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getServiceAccount']?.[localVarOperationServerIndex]?.url;
15300
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15301
+ },
14974
15302
  /**
14975
15303
  * Get statistics summary for slow logs of a cluster
14976
15304
  * @summary Get cluster slow log statistics
@@ -15919,6 +16247,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
15919
16247
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listRoles']?.[localVarOperationServerIndex]?.url;
15920
16248
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15921
16249
  },
16250
+ /**
16251
+ * list MinIO service account access keys
16252
+ * @summary List MinIO access keys
16253
+ * @param {string} engineName name of the engine
16254
+ * @param {string} orgName name of the organization
16255
+ * @param {string} clusterName name of the cluster
16256
+ * @param {string} [userName] MinIO user that owns the service accounts
16257
+ * @param {*} [options] Override http request option.
16258
+ * @throws {RequiredError}
16259
+ */
16260
+ async listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>> {
16261
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(engineName, orgName, clusterName, userName, options);
16262
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16263
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
16264
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16265
+ },
15922
16266
  /**
15923
16267
  * list the service version of the engine
15924
16268
  * @summary list the service version of the engine
@@ -17010,6 +17354,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
17010
17354
  const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRoleByName']?.[localVarOperationServerIndex]?.url;
17011
17355
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17012
17356
  },
17357
+ /**
17358
+ * update a MinIO service account access key
17359
+ * @summary Update MinIO access key
17360
+ * @param {string} engineName name of the engine
17361
+ * @param {string} orgName name of the organization
17362
+ * @param {string} clusterName name of the cluster
17363
+ * @param {string} accessKey MinIO access key
17364
+ * @param {DmsServiceAccountUpdateRequest} body
17365
+ * @param {*} [options] Override http request option.
17366
+ * @throws {RequiredError}
17367
+ */
17368
+ async updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
17369
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options);
17370
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17371
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.updateServiceAccount']?.[localVarOperationServerIndex]?.url;
17372
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17373
+ },
17013
17374
  /**
17014
17375
  * Enable or disable SQL audit log for a cluster component
17015
17376
  * @summary Update SQL audit log status
@@ -17378,6 +17739,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
17378
17739
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
17379
17740
  return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
17380
17741
  },
17742
+ /**
17743
+ * create a MinIO service account access key
17744
+ * @summary Create MinIO access key
17745
+ * @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
17746
+ * @param {*} [options] Override http request option.
17747
+ * @throws {RequiredError}
17748
+ */
17749
+ createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
17750
+ return localVarFp.createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
17751
+ },
17381
17752
  /**
17382
17753
  * create tag
17383
17754
  * @summary Create cluster tags
@@ -17678,6 +18049,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
17678
18049
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
17679
18050
  return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
17680
18051
  },
18052
+ /**
18053
+ * delete a MinIO service account access key
18054
+ * @summary Delete MinIO access key
18055
+ * @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
18056
+ * @param {*} [options] Override http request option.
18057
+ * @throws {RequiredError}
18058
+ */
18059
+ deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
18060
+ return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
18061
+ },
17681
18062
  /**
17682
18063
  * delete cluster tag
17683
18064
  * @summary Delete tag
@@ -18228,6 +18609,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18228
18609
  getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
18229
18610
  return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
18230
18611
  },
18612
+ /**
18613
+ * get a MinIO service account access key
18614
+ * @summary Get MinIO access key
18615
+ * @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
18616
+ * @param {*} [options] Override http request option.
18617
+ * @throws {RequiredError}
18618
+ */
18619
+ getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
18620
+ return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
18621
+ },
18231
18622
  /**
18232
18623
  * Get statistics summary for slow logs of a cluster
18233
18624
  * @summary Get cluster slow log statistics
@@ -18864,6 +19255,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18864
19255
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList> {
18865
19256
  return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
18866
19257
  },
19258
+ /**
19259
+ * list MinIO service account access keys
19260
+ * @summary List MinIO access keys
19261
+ * @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
19262
+ * @param {*} [options] Override http request option.
19263
+ * @throws {RequiredError}
19264
+ */
19265
+ listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>> {
19266
+ return localVarFp.listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(axios, basePath));
19267
+ },
18867
19268
  /**
18868
19269
  * list the service version of the engine
18869
19270
  * @summary list the service version of the engine
@@ -19553,6 +19954,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
19553
19954
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
19554
19955
  return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
19555
19956
  },
19957
+ /**
19958
+ * update a MinIO service account access key
19959
+ * @summary Update MinIO access key
19960
+ * @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
19961
+ * @param {*} [options] Override http request option.
19962
+ * @throws {RequiredError}
19963
+ */
19964
+ updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
19965
+ return localVarFp.updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(axios, basePath));
19966
+ },
19556
19967
  /**
19557
19968
  * Enable or disable SQL audit log for a cluster component
19558
19969
  * @summary Update SQL audit log status
@@ -19891,6 +20302,16 @@ export interface SharedApiInterface {
19891
20302
  */
19892
20303
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
19893
20304
 
20305
+ /**
20306
+ * create a MinIO service account access key
20307
+ * @summary Create MinIO access key
20308
+ * @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
20309
+ * @param {*} [options] Override http request option.
20310
+ * @throws {RequiredError}
20311
+ * @memberof SharedApiInterface
20312
+ */
20313
+ createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
20314
+
19894
20315
  /**
19895
20316
  * create tag
19896
20317
  * @summary Create cluster tags
@@ -20191,6 +20612,16 @@ export interface SharedApiInterface {
20191
20612
  */
20192
20613
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
20193
20614
 
20615
+ /**
20616
+ * delete a MinIO service account access key
20617
+ * @summary Delete MinIO access key
20618
+ * @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
20619
+ * @param {*} [options] Override http request option.
20620
+ * @throws {RequiredError}
20621
+ * @memberof SharedApiInterface
20622
+ */
20623
+ deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
20624
+
20194
20625
  /**
20195
20626
  * delete cluster tag
20196
20627
  * @summary Delete tag
@@ -20741,6 +21172,16 @@ export interface SharedApiInterface {
20741
21172
  */
20742
21173
  getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
20743
21174
 
21175
+ /**
21176
+ * get a MinIO service account access key
21177
+ * @summary Get MinIO access key
21178
+ * @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
21179
+ * @param {*} [options] Override http request option.
21180
+ * @throws {RequiredError}
21181
+ * @memberof SharedApiInterface
21182
+ */
21183
+ getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
21184
+
20744
21185
  /**
20745
21186
  * Get statistics summary for slow logs of a cluster
20746
21187
  * @summary Get cluster slow log statistics
@@ -21377,6 +21818,16 @@ export interface SharedApiInterface {
21377
21818
  */
21378
21819
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
21379
21820
 
21821
+ /**
21822
+ * list MinIO service account access keys
21823
+ * @summary List MinIO access keys
21824
+ * @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
21825
+ * @param {*} [options] Override http request option.
21826
+ * @throws {RequiredError}
21827
+ * @memberof SharedApiInterface
21828
+ */
21829
+ listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
21830
+
21380
21831
  /**
21381
21832
  * list the service version of the engine
21382
21833
  * @summary list the service version of the engine
@@ -22066,6 +22517,16 @@ export interface SharedApiInterface {
22066
22517
  */
22067
22518
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
22068
22519
 
22520
+ /**
22521
+ * update a MinIO service account access key
22522
+ * @summary Update MinIO access key
22523
+ * @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
22524
+ * @param {*} [options] Override http request option.
22525
+ * @throws {RequiredError}
22526
+ * @memberof SharedApiInterface
22527
+ */
22528
+ updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
22529
+
22069
22530
  /**
22070
22531
  * Enable or disable SQL audit log for a cluster component
22071
22532
  * @summary Update SQL audit log status
@@ -22855,6 +23316,41 @@ export interface SharedApiCreateRoleRequest {
22855
23316
  readonly roleCreate: RoleCreate
22856
23317
  }
22857
23318
 
23319
+ /**
23320
+ * Request parameters for createServiceAccount operation in SharedApi.
23321
+ * @export
23322
+ * @interface SharedApiCreateServiceAccountRequest
23323
+ */
23324
+ export interface SharedApiCreateServiceAccountRequest {
23325
+ /**
23326
+ * name of the engine
23327
+ * @type {string}
23328
+ * @memberof SharedApiCreateServiceAccount
23329
+ */
23330
+ readonly engineName: string
23331
+
23332
+ /**
23333
+ * name of the organization
23334
+ * @type {string}
23335
+ * @memberof SharedApiCreateServiceAccount
23336
+ */
23337
+ readonly orgName: string
23338
+
23339
+ /**
23340
+ * name of the cluster
23341
+ * @type {string}
23342
+ * @memberof SharedApiCreateServiceAccount
23343
+ */
23344
+ readonly clusterName: string
23345
+
23346
+ /**
23347
+ *
23348
+ * @type {DmsServiceAccountCreateRequest}
23349
+ * @memberof SharedApiCreateServiceAccount
23350
+ */
23351
+ readonly body: DmsServiceAccountCreateRequest
23352
+ }
23353
+
22858
23354
  /**
22859
23355
  * Request parameters for createTag operation in SharedApi.
22860
23356
  * @export
@@ -23660,6 +24156,41 @@ export interface SharedApiDeleteRoleByNameRequest {
23660
24156
  readonly roleName: string
23661
24157
  }
23662
24158
 
24159
+ /**
24160
+ * Request parameters for deleteServiceAccount operation in SharedApi.
24161
+ * @export
24162
+ * @interface SharedApiDeleteServiceAccountRequest
24163
+ */
24164
+ export interface SharedApiDeleteServiceAccountRequest {
24165
+ /**
24166
+ * name of the engine
24167
+ * @type {string}
24168
+ * @memberof SharedApiDeleteServiceAccount
24169
+ */
24170
+ readonly engineName: string
24171
+
24172
+ /**
24173
+ * name of the organization
24174
+ * @type {string}
24175
+ * @memberof SharedApiDeleteServiceAccount
24176
+ */
24177
+ readonly orgName: string
24178
+
24179
+ /**
24180
+ * name of the cluster
24181
+ * @type {string}
24182
+ * @memberof SharedApiDeleteServiceAccount
24183
+ */
24184
+ readonly clusterName: string
24185
+
24186
+ /**
24187
+ * MinIO access key
24188
+ * @type {string}
24189
+ * @memberof SharedApiDeleteServiceAccount
24190
+ */
24191
+ readonly accessKey: string
24192
+ }
24193
+
23663
24194
  /**
23664
24195
  * Request parameters for deleteTag operation in SharedApi.
23665
24196
  * @export
@@ -25277,6 +25808,41 @@ export interface SharedApiGetSchemaListRequest {
25277
25808
  readonly id: string
25278
25809
  }
25279
25810
 
25811
+ /**
25812
+ * Request parameters for getServiceAccount operation in SharedApi.
25813
+ * @export
25814
+ * @interface SharedApiGetServiceAccountRequest
25815
+ */
25816
+ export interface SharedApiGetServiceAccountRequest {
25817
+ /**
25818
+ * name of the engine
25819
+ * @type {string}
25820
+ * @memberof SharedApiGetServiceAccount
25821
+ */
25822
+ readonly engineName: string
25823
+
25824
+ /**
25825
+ * name of the organization
25826
+ * @type {string}
25827
+ * @memberof SharedApiGetServiceAccount
25828
+ */
25829
+ readonly orgName: string
25830
+
25831
+ /**
25832
+ * name of the cluster
25833
+ * @type {string}
25834
+ * @memberof SharedApiGetServiceAccount
25835
+ */
25836
+ readonly clusterName: string
25837
+
25838
+ /**
25839
+ * MinIO access key
25840
+ * @type {string}
25841
+ * @memberof SharedApiGetServiceAccount
25842
+ */
25843
+ readonly accessKey: string
25844
+ }
25845
+
25280
25846
  /**
25281
25847
  * Request parameters for getSlowLogStats operation in SharedApi.
25282
25848
  * @export
@@ -26957,6 +27523,41 @@ export interface SharedApiListRolesRequest {
26957
27523
  readonly orgName: string
26958
27524
  }
26959
27525
 
27526
+ /**
27527
+ * Request parameters for listServiceAccounts operation in SharedApi.
27528
+ * @export
27529
+ * @interface SharedApiListServiceAccountsRequest
27530
+ */
27531
+ export interface SharedApiListServiceAccountsRequest {
27532
+ /**
27533
+ * name of the engine
27534
+ * @type {string}
27535
+ * @memberof SharedApiListServiceAccounts
27536
+ */
27537
+ readonly engineName: string
27538
+
27539
+ /**
27540
+ * name of the organization
27541
+ * @type {string}
27542
+ * @memberof SharedApiListServiceAccounts
27543
+ */
27544
+ readonly orgName: string
27545
+
27546
+ /**
27547
+ * name of the cluster
27548
+ * @type {string}
27549
+ * @memberof SharedApiListServiceAccounts
27550
+ */
27551
+ readonly clusterName: string
27552
+
27553
+ /**
27554
+ * MinIO user that owns the service accounts
27555
+ * @type {string}
27556
+ * @memberof SharedApiListServiceAccounts
27557
+ */
27558
+ readonly userName?: string
27559
+ }
27560
+
26960
27561
  /**
26961
27562
  * Request parameters for listServiceVersion operation in SharedApi.
26962
27563
  * @export
@@ -29260,6 +29861,48 @@ export interface SharedApiUpdateRoleByNameRequest {
29260
29861
  readonly roleUpdate: RoleUpdate
29261
29862
  }
29262
29863
 
29864
+ /**
29865
+ * Request parameters for updateServiceAccount operation in SharedApi.
29866
+ * @export
29867
+ * @interface SharedApiUpdateServiceAccountRequest
29868
+ */
29869
+ export interface SharedApiUpdateServiceAccountRequest {
29870
+ /**
29871
+ * name of the engine
29872
+ * @type {string}
29873
+ * @memberof SharedApiUpdateServiceAccount
29874
+ */
29875
+ readonly engineName: string
29876
+
29877
+ /**
29878
+ * name of the organization
29879
+ * @type {string}
29880
+ * @memberof SharedApiUpdateServiceAccount
29881
+ */
29882
+ readonly orgName: string
29883
+
29884
+ /**
29885
+ * name of the cluster
29886
+ * @type {string}
29887
+ * @memberof SharedApiUpdateServiceAccount
29888
+ */
29889
+ readonly clusterName: string
29890
+
29891
+ /**
29892
+ * MinIO access key
29893
+ * @type {string}
29894
+ * @memberof SharedApiUpdateServiceAccount
29895
+ */
29896
+ readonly accessKey: string
29897
+
29898
+ /**
29899
+ *
29900
+ * @type {DmsServiceAccountUpdateRequest}
29901
+ * @memberof SharedApiUpdateServiceAccount
29902
+ */
29903
+ readonly body: DmsServiceAccountUpdateRequest
29904
+ }
29905
+
29263
29906
  /**
29264
29907
  * Request parameters for updateSqlAudit operation in SharedApi.
29265
29908
  * @export
@@ -29752,6 +30395,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
29752
30395
  return SharedApiFp(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
29753
30396
  }
29754
30397
 
30398
+ /**
30399
+ * create a MinIO service account access key
30400
+ * @summary Create MinIO access key
30401
+ * @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
30402
+ * @param {*} [options] Override http request option.
30403
+ * @throws {RequiredError}
30404
+ * @memberof SharedApi
30405
+ */
30406
+ public createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig) {
30407
+ return SharedApiFp(this.configuration).createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
30408
+ }
30409
+
29755
30410
  /**
29756
30411
  * create tag
29757
30412
  * @summary Create cluster tags
@@ -30112,6 +30767,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
30112
30767
  return SharedApiFp(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
30113
30768
  }
30114
30769
 
30770
+ /**
30771
+ * delete a MinIO service account access key
30772
+ * @summary Delete MinIO access key
30773
+ * @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
30774
+ * @param {*} [options] Override http request option.
30775
+ * @throws {RequiredError}
30776
+ * @memberof SharedApi
30777
+ */
30778
+ public deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig) {
30779
+ return SharedApiFp(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
30780
+ }
30781
+
30115
30782
  /**
30116
30783
  * delete cluster tag
30117
30784
  * @summary Delete tag
@@ -30772,6 +31439,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
30772
31439
  return SharedApiFp(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
30773
31440
  }
30774
31441
 
31442
+ /**
31443
+ * get a MinIO service account access key
31444
+ * @summary Get MinIO access key
31445
+ * @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
31446
+ * @param {*} [options] Override http request option.
31447
+ * @throws {RequiredError}
31448
+ * @memberof SharedApi
31449
+ */
31450
+ public getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig) {
31451
+ return SharedApiFp(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
31452
+ }
31453
+
30775
31454
  /**
30776
31455
  * Get statistics summary for slow logs of a cluster
30777
31456
  * @summary Get cluster slow log statistics
@@ -31536,6 +32215,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31536
32215
  return SharedApiFp(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
31537
32216
  }
31538
32217
 
32218
+ /**
32219
+ * list MinIO service account access keys
32220
+ * @summary List MinIO access keys
32221
+ * @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
32222
+ * @param {*} [options] Override http request option.
32223
+ * @throws {RequiredError}
32224
+ * @memberof SharedApi
32225
+ */
32226
+ public listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig) {
32227
+ return SharedApiFp(this.configuration).listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(this.axios, this.basePath));
32228
+ }
32229
+
31539
32230
  /**
31540
32231
  * list the service version of the engine
31541
32232
  * @summary list the service version of the engine
@@ -32363,6 +33054,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
32363
33054
  return SharedApiFp(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
32364
33055
  }
32365
33056
 
33057
+ /**
33058
+ * update a MinIO service account access key
33059
+ * @summary Update MinIO access key
33060
+ * @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
33061
+ * @param {*} [options] Override http request option.
33062
+ * @throws {RequiredError}
33063
+ * @memberof SharedApi
33064
+ */
33065
+ public updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig) {
33066
+ return SharedApiFp(this.configuration).updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
33067
+ }
33068
+
32366
33069
  /**
32367
33070
  * Enable or disable SQL audit log for a cluster component
32368
33071
  * @summary Update SQL audit log status