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
@@ -154,6 +154,12 @@ import type { DmsQueryResponse } from '../models';
154
154
  // @ts-ignore
155
155
  import type { DmsResult } from '../models';
156
156
  // @ts-ignore
157
+ import type { DmsServiceAccount } from '../models';
158
+ // @ts-ignore
159
+ import type { DmsServiceAccountCreateRequest } from '../models';
160
+ // @ts-ignore
161
+ import type { DmsServiceAccountUpdateRequest } from '../models';
162
+ // @ts-ignore
157
163
  import type { DmsSession } from '../models';
158
164
  // @ts-ignore
159
165
  import type { DmsTaskInfo } from '../models';
@@ -1867,6 +1873,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
1867
1873
  options: localVarRequestOptions,
1868
1874
  };
1869
1875
  },
1876
+ /**
1877
+ * create a MinIO service account access key
1878
+ * @summary Create MinIO access key
1879
+ * @param {string} engineName name of the engine
1880
+ * @param {string} orgName name of the organization
1881
+ * @param {string} clusterName name of the cluster
1882
+ * @param {DmsServiceAccountCreateRequest} body
1883
+ * @param {*} [options] Override http request option.
1884
+ * @throws {RequiredError}
1885
+ */
1886
+ createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1887
+ // verify required parameter 'engineName' is not null or undefined
1888
+ assertParamExists('createServiceAccount', 'engineName', engineName)
1889
+ // verify required parameter 'orgName' is not null or undefined
1890
+ assertParamExists('createServiceAccount', 'orgName', orgName)
1891
+ // verify required parameter 'clusterName' is not null or undefined
1892
+ assertParamExists('createServiceAccount', 'clusterName', clusterName)
1893
+ // verify required parameter 'body' is not null or undefined
1894
+ assertParamExists('createServiceAccount', 'body', body)
1895
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
1896
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
1897
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1898
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1899
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1900
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1901
+ let baseOptions;
1902
+ if (configuration) {
1903
+ baseOptions = configuration.baseOptions;
1904
+ }
1905
+
1906
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1907
+ const localVarHeaderParameter = {} as any;
1908
+ const localVarQueryParameter = {} as any;
1909
+
1910
+ // authentication BearerToken required
1911
+ // http bearer authentication required
1912
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1913
+
1914
+ // authentication DigestAuth required
1915
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1916
+
1917
+
1918
+
1919
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1920
+
1921
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1922
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1923
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1924
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1925
+
1926
+ return {
1927
+ url: toPathString(localVarUrlObj),
1928
+ options: localVarRequestOptions,
1929
+ };
1930
+ },
1870
1931
  /**
1871
1932
  * create tag
1872
1933
  * @summary Create cluster tags
@@ -3560,6 +3621,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3560
3621
 
3561
3622
 
3562
3623
 
3624
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3625
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3626
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3627
+
3628
+ return {
3629
+ url: toPathString(localVarUrlObj),
3630
+ options: localVarRequestOptions,
3631
+ };
3632
+ },
3633
+ /**
3634
+ * delete a MinIO service account access key
3635
+ * @summary Delete MinIO access key
3636
+ * @param {string} engineName name of the engine
3637
+ * @param {string} orgName name of the organization
3638
+ * @param {string} clusterName name of the cluster
3639
+ * @param {string} accessKey MinIO access key
3640
+ * @param {*} [options] Override http request option.
3641
+ * @throws {RequiredError}
3642
+ */
3643
+ deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3644
+ // verify required parameter 'engineName' is not null or undefined
3645
+ assertParamExists('deleteServiceAccount', 'engineName', engineName)
3646
+ // verify required parameter 'orgName' is not null or undefined
3647
+ assertParamExists('deleteServiceAccount', 'orgName', orgName)
3648
+ // verify required parameter 'clusterName' is not null or undefined
3649
+ assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
3650
+ // verify required parameter 'accessKey' is not null or undefined
3651
+ assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
3652
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
3653
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3654
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3655
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3656
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
3657
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3658
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3659
+ let baseOptions;
3660
+ if (configuration) {
3661
+ baseOptions = configuration.baseOptions;
3662
+ }
3663
+
3664
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3665
+ const localVarHeaderParameter = {} as any;
3666
+ const localVarQueryParameter = {} as any;
3667
+
3668
+ // authentication BearerToken required
3669
+ // http bearer authentication required
3670
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3671
+
3672
+ // authentication DigestAuth required
3673
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3674
+
3675
+
3676
+
3563
3677
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3564
3678
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3565
3679
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -6523,6 +6637,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6523
6637
 
6524
6638
 
6525
6639
 
6640
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6641
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6642
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6643
+
6644
+ return {
6645
+ url: toPathString(localVarUrlObj),
6646
+ options: localVarRequestOptions,
6647
+ };
6648
+ },
6649
+ /**
6650
+ * get a MinIO service account access key
6651
+ * @summary Get MinIO access key
6652
+ * @param {string} engineName name of the engine
6653
+ * @param {string} orgName name of the organization
6654
+ * @param {string} clusterName name of the cluster
6655
+ * @param {string} accessKey MinIO access key
6656
+ * @param {*} [options] Override http request option.
6657
+ * @throws {RequiredError}
6658
+ */
6659
+ getServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6660
+ // verify required parameter 'engineName' is not null or undefined
6661
+ assertParamExists('getServiceAccount', 'engineName', engineName)
6662
+ // verify required parameter 'orgName' is not null or undefined
6663
+ assertParamExists('getServiceAccount', 'orgName', orgName)
6664
+ // verify required parameter 'clusterName' is not null or undefined
6665
+ assertParamExists('getServiceAccount', 'clusterName', clusterName)
6666
+ // verify required parameter 'accessKey' is not null or undefined
6667
+ assertParamExists('getServiceAccount', 'accessKey', accessKey)
6668
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
6669
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6670
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6671
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
6672
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
6673
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6674
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6675
+ let baseOptions;
6676
+ if (configuration) {
6677
+ baseOptions = configuration.baseOptions;
6678
+ }
6679
+
6680
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6681
+ const localVarHeaderParameter = {} as any;
6682
+ const localVarQueryParameter = {} as any;
6683
+
6684
+ // authentication BearerToken required
6685
+ // http bearer authentication required
6686
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6687
+
6688
+ // authentication DigestAuth required
6689
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6690
+
6691
+
6692
+
6526
6693
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6527
6694
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6528
6695
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9438,6 +9605,60 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9438
9605
 
9439
9606
 
9440
9607
 
9608
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9609
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9610
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9611
+
9612
+ return {
9613
+ url: toPathString(localVarUrlObj),
9614
+ options: localVarRequestOptions,
9615
+ };
9616
+ },
9617
+ /**
9618
+ * list MinIO service account access keys
9619
+ * @summary List MinIO access keys
9620
+ * @param {string} engineName name of the engine
9621
+ * @param {string} orgName name of the organization
9622
+ * @param {string} clusterName name of the cluster
9623
+ * @param {string} [userName] MinIO user that owns the service accounts
9624
+ * @param {*} [options] Override http request option.
9625
+ * @throws {RequiredError}
9626
+ */
9627
+ listServiceAccounts: async (engineName: string, orgName: string, clusterName: string, userName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9628
+ // verify required parameter 'engineName' is not null or undefined
9629
+ assertParamExists('listServiceAccounts', 'engineName', engineName)
9630
+ // verify required parameter 'orgName' is not null or undefined
9631
+ assertParamExists('listServiceAccounts', 'orgName', orgName)
9632
+ // verify required parameter 'clusterName' is not null or undefined
9633
+ assertParamExists('listServiceAccounts', 'clusterName', clusterName)
9634
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
9635
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9636
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9637
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9638
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9639
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9640
+ let baseOptions;
9641
+ if (configuration) {
9642
+ baseOptions = configuration.baseOptions;
9643
+ }
9644
+
9645
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9646
+ const localVarHeaderParameter = {} as any;
9647
+ const localVarQueryParameter = {} as any;
9648
+
9649
+ // authentication BearerToken required
9650
+ // http bearer authentication required
9651
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9652
+
9653
+ // authentication DigestAuth required
9654
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9655
+
9656
+ if (userName !== undefined) {
9657
+ localVarQueryParameter['userName'] = userName;
9658
+ }
9659
+
9660
+
9661
+
9441
9662
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9442
9663
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9443
9664
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -13532,6 +13753,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
13532
13753
  options: localVarRequestOptions,
13533
13754
  };
13534
13755
  },
13756
+ /**
13757
+ * update a MinIO service account access key
13758
+ * @summary Update MinIO access key
13759
+ * @param {string} engineName name of the engine
13760
+ * @param {string} orgName name of the organization
13761
+ * @param {string} clusterName name of the cluster
13762
+ * @param {string} accessKey MinIO access key
13763
+ * @param {DmsServiceAccountUpdateRequest} body
13764
+ * @param {*} [options] Override http request option.
13765
+ * @throws {RequiredError}
13766
+ */
13767
+ updateServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13768
+ // verify required parameter 'engineName' is not null or undefined
13769
+ assertParamExists('updateServiceAccount', 'engineName', engineName)
13770
+ // verify required parameter 'orgName' is not null or undefined
13771
+ assertParamExists('updateServiceAccount', 'orgName', orgName)
13772
+ // verify required parameter 'clusterName' is not null or undefined
13773
+ assertParamExists('updateServiceAccount', 'clusterName', clusterName)
13774
+ // verify required parameter 'accessKey' is not null or undefined
13775
+ assertParamExists('updateServiceAccount', 'accessKey', accessKey)
13776
+ // verify required parameter 'body' is not null or undefined
13777
+ assertParamExists('updateServiceAccount', 'body', body)
13778
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
13779
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
13780
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13781
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13782
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
13783
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13784
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13785
+ let baseOptions;
13786
+ if (configuration) {
13787
+ baseOptions = configuration.baseOptions;
13788
+ }
13789
+
13790
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
13791
+ const localVarHeaderParameter = {} as any;
13792
+ const localVarQueryParameter = {} as any;
13793
+
13794
+ // authentication BearerToken required
13795
+ // http bearer authentication required
13796
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13797
+
13798
+ // authentication DigestAuth required
13799
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13800
+
13801
+
13802
+
13803
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13804
+
13805
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13806
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13807
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13808
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
13809
+
13810
+ return {
13811
+ url: toPathString(localVarUrlObj),
13812
+ options: localVarRequestOptions,
13813
+ };
13814
+ },
13535
13815
  /**
13536
13816
  * Enable or disable SQL audit log for a cluster component
13537
13817
  * @summary Update SQL audit log status
@@ -14267,6 +14547,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
14267
14547
  const localVarOperationServerBasePath = operationServerMap['SharedApi.createRole']?.[localVarOperationServerIndex]?.url;
14268
14548
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14269
14549
  },
14550
+ /**
14551
+ * create a MinIO service account access key
14552
+ * @summary Create MinIO access key
14553
+ * @param {string} engineName name of the engine
14554
+ * @param {string} orgName name of the organization
14555
+ * @param {string} clusterName name of the cluster
14556
+ * @param {DmsServiceAccountCreateRequest} body
14557
+ * @param {*} [options] Override http request option.
14558
+ * @throws {RequiredError}
14559
+ */
14560
+ async createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
14561
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(engineName, orgName, clusterName, body, options);
14562
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14563
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
14564
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14565
+ },
14270
14566
  /**
14271
14567
  * create tag
14272
14568
  * @summary Create cluster tags
@@ -14784,6 +15080,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
14784
15080
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteRoleByName']?.[localVarOperationServerIndex]?.url;
14785
15081
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14786
15082
  },
15083
+ /**
15084
+ * delete a MinIO service account access key
15085
+ * @summary Delete MinIO access key
15086
+ * @param {string} engineName name of the engine
15087
+ * @param {string} orgName name of the organization
15088
+ * @param {string} clusterName name of the cluster
15089
+ * @param {string} accessKey MinIO access key
15090
+ * @param {*} [options] Override http request option.
15091
+ * @throws {RequiredError}
15092
+ */
15093
+ async deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15094
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
15095
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15096
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteServiceAccount']?.[localVarOperationServerIndex]?.url;
15097
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15098
+ },
14787
15099
  /**
14788
15100
  * delete cluster tag
14789
15101
  * @summary Delete tag
@@ -15668,6 +15980,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
15668
15980
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getSchemaList']?.[localVarOperationServerIndex]?.url;
15669
15981
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15670
15982
  },
15983
+ /**
15984
+ * get a MinIO service account access key
15985
+ * @summary Get MinIO access key
15986
+ * @param {string} engineName name of the engine
15987
+ * @param {string} orgName name of the organization
15988
+ * @param {string} clusterName name of the cluster
15989
+ * @param {string} accessKey MinIO access key
15990
+ * @param {*} [options] Override http request option.
15991
+ * @throws {RequiredError}
15992
+ */
15993
+ async getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
15994
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccount(engineName, orgName, clusterName, accessKey, options);
15995
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15996
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getServiceAccount']?.[localVarOperationServerIndex]?.url;
15997
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15998
+ },
15671
15999
  /**
15672
16000
  * Get statistics summary for slow logs of a cluster
15673
16001
  * @summary Get cluster slow log statistics
@@ -16536,6 +16864,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
16536
16864
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listRoles']?.[localVarOperationServerIndex]?.url;
16537
16865
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16538
16866
  },
16867
+ /**
16868
+ * list MinIO service account access keys
16869
+ * @summary List MinIO access keys
16870
+ * @param {string} engineName name of the engine
16871
+ * @param {string} orgName name of the organization
16872
+ * @param {string} clusterName name of the cluster
16873
+ * @param {string} [userName] MinIO user that owns the service accounts
16874
+ * @param {*} [options] Override http request option.
16875
+ * @throws {RequiredError}
16876
+ */
16877
+ async listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>> {
16878
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(engineName, orgName, clusterName, userName, options);
16879
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16880
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
16881
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16882
+ },
16539
16883
  /**
16540
16884
  * list the service version of the engine
16541
16885
  * @summary list the service version of the engine
@@ -17718,6 +18062,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
17718
18062
  const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRoleByName']?.[localVarOperationServerIndex]?.url;
17719
18063
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17720
18064
  },
18065
+ /**
18066
+ * update a MinIO service account access key
18067
+ * @summary Update MinIO access key
18068
+ * @param {string} engineName name of the engine
18069
+ * @param {string} orgName name of the organization
18070
+ * @param {string} clusterName name of the cluster
18071
+ * @param {string} accessKey MinIO access key
18072
+ * @param {DmsServiceAccountUpdateRequest} body
18073
+ * @param {*} [options] Override http request option.
18074
+ * @throws {RequiredError}
18075
+ */
18076
+ async updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
18077
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options);
18078
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18079
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.updateServiceAccount']?.[localVarOperationServerIndex]?.url;
18080
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18081
+ },
17721
18082
  /**
17722
18083
  * Enable or disable SQL audit log for a cluster component
17723
18084
  * @summary Update SQL audit log status
@@ -18087,6 +18448,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18087
18448
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
18088
18449
  return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
18089
18450
  },
18451
+ /**
18452
+ * create a MinIO service account access key
18453
+ * @summary Create MinIO access key
18454
+ * @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
18455
+ * @param {*} [options] Override http request option.
18456
+ * @throws {RequiredError}
18457
+ */
18458
+ createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
18459
+ return localVarFp.createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
18460
+ },
18090
18461
  /**
18091
18462
  * create tag
18092
18463
  * @summary Create cluster tags
@@ -18437,6 +18808,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
18437
18808
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
18438
18809
  return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
18439
18810
  },
18811
+ /**
18812
+ * delete a MinIO service account access key
18813
+ * @summary Delete MinIO access key
18814
+ * @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
18815
+ * @param {*} [options] Override http request option.
18816
+ * @throws {RequiredError}
18817
+ */
18818
+ deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
18819
+ return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
18820
+ },
18440
18821
  /**
18441
18822
  * delete cluster tag
18442
18823
  * @summary Delete tag
@@ -19016,6 +19397,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
19016
19397
  getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
19017
19398
  return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
19018
19399
  },
19400
+ /**
19401
+ * get a MinIO service account access key
19402
+ * @summary Get MinIO access key
19403
+ * @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
19404
+ * @param {*} [options] Override http request option.
19405
+ * @throws {RequiredError}
19406
+ */
19407
+ getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
19408
+ return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
19409
+ },
19019
19410
  /**
19020
19411
  * Get statistics summary for slow logs of a cluster
19021
19412
  * @summary Get cluster slow log statistics
@@ -19594,6 +19985,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
19594
19985
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList> {
19595
19986
  return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
19596
19987
  },
19988
+ /**
19989
+ * list MinIO service account access keys
19990
+ * @summary List MinIO access keys
19991
+ * @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
19992
+ * @param {*} [options] Override http request option.
19993
+ * @throws {RequiredError}
19994
+ */
19995
+ listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>> {
19996
+ return localVarFp.listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(axios, basePath));
19997
+ },
19597
19998
  /**
19598
19999
  * list the service version of the engine
19599
20000
  * @summary list the service version of the engine
@@ -20343,6 +20744,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
20343
20744
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
20344
20745
  return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
20345
20746
  },
20747
+ /**
20748
+ * update a MinIO service account access key
20749
+ * @summary Update MinIO access key
20750
+ * @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
20751
+ * @param {*} [options] Override http request option.
20752
+ * @throws {RequiredError}
20753
+ */
20754
+ updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
20755
+ return localVarFp.updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(axios, basePath));
20756
+ },
20346
20757
  /**
20347
20758
  * Enable or disable SQL audit log for a cluster component
20348
20759
  * @summary Update SQL audit log status
@@ -20682,6 +21093,16 @@ export interface SharedApiInterface {
20682
21093
  */
20683
21094
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
20684
21095
 
21096
+ /**
21097
+ * create a MinIO service account access key
21098
+ * @summary Create MinIO access key
21099
+ * @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
21100
+ * @param {*} [options] Override http request option.
21101
+ * @throws {RequiredError}
21102
+ * @memberof SharedApiInterface
21103
+ */
21104
+ createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
21105
+
20685
21106
  /**
20686
21107
  * create tag
20687
21108
  * @summary Create cluster tags
@@ -21032,6 +21453,16 @@ export interface SharedApiInterface {
21032
21453
  */
21033
21454
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
21034
21455
 
21456
+ /**
21457
+ * delete a MinIO service account access key
21458
+ * @summary Delete MinIO access key
21459
+ * @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
21460
+ * @param {*} [options] Override http request option.
21461
+ * @throws {RequiredError}
21462
+ * @memberof SharedApiInterface
21463
+ */
21464
+ deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
21465
+
21035
21466
  /**
21036
21467
  * delete cluster tag
21037
21468
  * @summary Delete tag
@@ -21611,6 +22042,16 @@ export interface SharedApiInterface {
21611
22042
  */
21612
22043
  getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
21613
22044
 
22045
+ /**
22046
+ * get a MinIO service account access key
22047
+ * @summary Get MinIO access key
22048
+ * @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
22049
+ * @param {*} [options] Override http request option.
22050
+ * @throws {RequiredError}
22051
+ * @memberof SharedApiInterface
22052
+ */
22053
+ getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
22054
+
21614
22055
  /**
21615
22056
  * Get statistics summary for slow logs of a cluster
21616
22057
  * @summary Get cluster slow log statistics
@@ -22189,6 +22630,16 @@ export interface SharedApiInterface {
22189
22630
  */
22190
22631
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
22191
22632
 
22633
+ /**
22634
+ * list MinIO service account access keys
22635
+ * @summary List MinIO access keys
22636
+ * @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
22637
+ * @param {*} [options] Override http request option.
22638
+ * @throws {RequiredError}
22639
+ * @memberof SharedApiInterface
22640
+ */
22641
+ listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
22642
+
22192
22643
  /**
22193
22644
  * list the service version of the engine
22194
22645
  * @summary list the service version of the engine
@@ -22938,6 +23389,16 @@ export interface SharedApiInterface {
22938
23389
  */
22939
23390
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
22940
23391
 
23392
+ /**
23393
+ * update a MinIO service account access key
23394
+ * @summary Update MinIO access key
23395
+ * @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
23396
+ * @param {*} [options] Override http request option.
23397
+ * @throws {RequiredError}
23398
+ * @memberof SharedApiInterface
23399
+ */
23400
+ updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
23401
+
22941
23402
  /**
22942
23403
  * Enable or disable SQL audit log for a cluster component
22943
23404
  * @summary Update SQL audit log status
@@ -23895,6 +24356,41 @@ export interface SharedApiCreateRoleRequest {
23895
24356
  readonly roleCreate: RoleCreate
23896
24357
  }
23897
24358
 
24359
+ /**
24360
+ * Request parameters for createServiceAccount operation in SharedApi.
24361
+ * @export
24362
+ * @interface SharedApiCreateServiceAccountRequest
24363
+ */
24364
+ export interface SharedApiCreateServiceAccountRequest {
24365
+ /**
24366
+ * name of the engine
24367
+ * @type {string}
24368
+ * @memberof SharedApiCreateServiceAccount
24369
+ */
24370
+ readonly engineName: string
24371
+
24372
+ /**
24373
+ * name of the organization
24374
+ * @type {string}
24375
+ * @memberof SharedApiCreateServiceAccount
24376
+ */
24377
+ readonly orgName: string
24378
+
24379
+ /**
24380
+ * name of the cluster
24381
+ * @type {string}
24382
+ * @memberof SharedApiCreateServiceAccount
24383
+ */
24384
+ readonly clusterName: string
24385
+
24386
+ /**
24387
+ *
24388
+ * @type {DmsServiceAccountCreateRequest}
24389
+ * @memberof SharedApiCreateServiceAccount
24390
+ */
24391
+ readonly body: DmsServiceAccountCreateRequest
24392
+ }
24393
+
23898
24394
  /**
23899
24395
  * Request parameters for createTag operation in SharedApi.
23900
24396
  * @export
@@ -24819,6 +25315,41 @@ export interface SharedApiDeleteRoleByNameRequest {
24819
25315
  readonly roleName: string
24820
25316
  }
24821
25317
 
25318
+ /**
25319
+ * Request parameters for deleteServiceAccount operation in SharedApi.
25320
+ * @export
25321
+ * @interface SharedApiDeleteServiceAccountRequest
25322
+ */
25323
+ export interface SharedApiDeleteServiceAccountRequest {
25324
+ /**
25325
+ * name of the engine
25326
+ * @type {string}
25327
+ * @memberof SharedApiDeleteServiceAccount
25328
+ */
25329
+ readonly engineName: string
25330
+
25331
+ /**
25332
+ * name of the organization
25333
+ * @type {string}
25334
+ * @memberof SharedApiDeleteServiceAccount
25335
+ */
25336
+ readonly orgName: string
25337
+
25338
+ /**
25339
+ * name of the cluster
25340
+ * @type {string}
25341
+ * @memberof SharedApiDeleteServiceAccount
25342
+ */
25343
+ readonly clusterName: string
25344
+
25345
+ /**
25346
+ * MinIO access key
25347
+ * @type {string}
25348
+ * @memberof SharedApiDeleteServiceAccount
25349
+ */
25350
+ readonly accessKey: string
25351
+ }
25352
+
24822
25353
  /**
24823
25354
  * Request parameters for deleteTag operation in SharedApi.
24824
25355
  * @export
@@ -26548,6 +27079,41 @@ export interface SharedApiGetSchemaListRequest {
26548
27079
  readonly id: string
26549
27080
  }
26550
27081
 
27082
+ /**
27083
+ * Request parameters for getServiceAccount operation in SharedApi.
27084
+ * @export
27085
+ * @interface SharedApiGetServiceAccountRequest
27086
+ */
27087
+ export interface SharedApiGetServiceAccountRequest {
27088
+ /**
27089
+ * name of the engine
27090
+ * @type {string}
27091
+ * @memberof SharedApiGetServiceAccount
27092
+ */
27093
+ readonly engineName: string
27094
+
27095
+ /**
27096
+ * name of the organization
27097
+ * @type {string}
27098
+ * @memberof SharedApiGetServiceAccount
27099
+ */
27100
+ readonly orgName: string
27101
+
27102
+ /**
27103
+ * name of the cluster
27104
+ * @type {string}
27105
+ * @memberof SharedApiGetServiceAccount
27106
+ */
27107
+ readonly clusterName: string
27108
+
27109
+ /**
27110
+ * MinIO access key
27111
+ * @type {string}
27112
+ * @memberof SharedApiGetServiceAccount
27113
+ */
27114
+ readonly accessKey: string
27115
+ }
27116
+
26551
27117
  /**
26552
27118
  * Request parameters for getSlowLogStats operation in SharedApi.
26553
27119
  * @export
@@ -28144,6 +28710,41 @@ export interface SharedApiListRolesRequest {
28144
28710
  readonly orgName: string
28145
28711
  }
28146
28712
 
28713
+ /**
28714
+ * Request parameters for listServiceAccounts operation in SharedApi.
28715
+ * @export
28716
+ * @interface SharedApiListServiceAccountsRequest
28717
+ */
28718
+ export interface SharedApiListServiceAccountsRequest {
28719
+ /**
28720
+ * name of the engine
28721
+ * @type {string}
28722
+ * @memberof SharedApiListServiceAccounts
28723
+ */
28724
+ readonly engineName: string
28725
+
28726
+ /**
28727
+ * name of the organization
28728
+ * @type {string}
28729
+ * @memberof SharedApiListServiceAccounts
28730
+ */
28731
+ readonly orgName: string
28732
+
28733
+ /**
28734
+ * name of the cluster
28735
+ * @type {string}
28736
+ * @memberof SharedApiListServiceAccounts
28737
+ */
28738
+ readonly clusterName: string
28739
+
28740
+ /**
28741
+ * MinIO user that owns the service accounts
28742
+ * @type {string}
28743
+ * @memberof SharedApiListServiceAccounts
28744
+ */
28745
+ readonly userName?: string
28746
+ }
28747
+
28147
28748
  /**
28148
28749
  * Request parameters for listServiceVersion operation in SharedApi.
28149
28750
  * @export
@@ -30622,6 +31223,48 @@ export interface SharedApiUpdateRoleByNameRequest {
30622
31223
  readonly roleUpdate: RoleUpdate
30623
31224
  }
30624
31225
 
31226
+ /**
31227
+ * Request parameters for updateServiceAccount operation in SharedApi.
31228
+ * @export
31229
+ * @interface SharedApiUpdateServiceAccountRequest
31230
+ */
31231
+ export interface SharedApiUpdateServiceAccountRequest {
31232
+ /**
31233
+ * name of the engine
31234
+ * @type {string}
31235
+ * @memberof SharedApiUpdateServiceAccount
31236
+ */
31237
+ readonly engineName: string
31238
+
31239
+ /**
31240
+ * name of the organization
31241
+ * @type {string}
31242
+ * @memberof SharedApiUpdateServiceAccount
31243
+ */
31244
+ readonly orgName: string
31245
+
31246
+ /**
31247
+ * name of the cluster
31248
+ * @type {string}
31249
+ * @memberof SharedApiUpdateServiceAccount
31250
+ */
31251
+ readonly clusterName: string
31252
+
31253
+ /**
31254
+ * MinIO access key
31255
+ * @type {string}
31256
+ * @memberof SharedApiUpdateServiceAccount
31257
+ */
31258
+ readonly accessKey: string
31259
+
31260
+ /**
31261
+ *
31262
+ * @type {DmsServiceAccountUpdateRequest}
31263
+ * @memberof SharedApiUpdateServiceAccount
31264
+ */
31265
+ readonly body: DmsServiceAccountUpdateRequest
31266
+ }
31267
+
30625
31268
  /**
30626
31269
  * Request parameters for updateSqlAudit operation in SharedApi.
30627
31270
  * @export
@@ -31115,6 +31758,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31115
31758
  return SharedApiFp(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
31116
31759
  }
31117
31760
 
31761
+ /**
31762
+ * create a MinIO service account access key
31763
+ * @summary Create MinIO access key
31764
+ * @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
31765
+ * @param {*} [options] Override http request option.
31766
+ * @throws {RequiredError}
31767
+ * @memberof SharedApi
31768
+ */
31769
+ public createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig) {
31770
+ return SharedApiFp(this.configuration).createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
31771
+ }
31772
+
31118
31773
  /**
31119
31774
  * create tag
31120
31775
  * @summary Create cluster tags
@@ -31535,6 +32190,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
31535
32190
  return SharedApiFp(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
31536
32191
  }
31537
32192
 
32193
+ /**
32194
+ * delete a MinIO service account access key
32195
+ * @summary Delete MinIO access key
32196
+ * @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
32197
+ * @param {*} [options] Override http request option.
32198
+ * @throws {RequiredError}
32199
+ * @memberof SharedApi
32200
+ */
32201
+ public deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig) {
32202
+ return SharedApiFp(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
32203
+ }
32204
+
31538
32205
  /**
31539
32206
  * delete cluster tag
31540
32207
  * @summary Delete tag
@@ -32230,6 +32897,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
32230
32897
  return SharedApiFp(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
32231
32898
  }
32232
32899
 
32900
+ /**
32901
+ * get a MinIO service account access key
32902
+ * @summary Get MinIO access key
32903
+ * @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
32904
+ * @param {*} [options] Override http request option.
32905
+ * @throws {RequiredError}
32906
+ * @memberof SharedApi
32907
+ */
32908
+ public getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig) {
32909
+ return SharedApiFp(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
32910
+ }
32911
+
32233
32912
  /**
32234
32913
  * Get statistics summary for slow logs of a cluster
32235
32914
  * @summary Get cluster slow log statistics
@@ -32924,6 +33603,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
32924
33603
  return SharedApiFp(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
32925
33604
  }
32926
33605
 
33606
+ /**
33607
+ * list MinIO service account access keys
33608
+ * @summary List MinIO access keys
33609
+ * @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
33610
+ * @param {*} [options] Override http request option.
33611
+ * @throws {RequiredError}
33612
+ * @memberof SharedApi
33613
+ */
33614
+ public listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig) {
33615
+ return SharedApiFp(this.configuration).listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(this.axios, this.basePath));
33616
+ }
33617
+
32927
33618
  /**
32928
33619
  * list the service version of the engine
32929
33620
  * @summary list the service version of the engine
@@ -33823,6 +34514,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
33823
34514
  return SharedApiFp(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
33824
34515
  }
33825
34516
 
34517
+ /**
34518
+ * update a MinIO service account access key
34519
+ * @summary Update MinIO access key
34520
+ * @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
34521
+ * @param {*} [options] Override http request option.
34522
+ * @throws {RequiredError}
34523
+ * @memberof SharedApi
34524
+ */
34525
+ public updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig) {
34526
+ return SharedApiFp(this.configuration).updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
34527
+ }
34528
+
33826
34529
  /**
33827
34530
  * Enable or disable SQL audit log for a cluster component
33828
34531
  * @summary Update SQL audit log status