qovery-typescript-axios 1.1.852 → 1.1.854

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.
package/api.ts CHANGED
@@ -3681,6 +3681,12 @@ export interface ClusterEksAnywhereGitRepository {
3681
3681
  * @memberof ClusterEksAnywhereGitRepository
3682
3682
  */
3683
3683
  'branch'?: string;
3684
+ /**
3685
+ * Optional git commit SHA to pin EKS Anywhere configuration on a specific revision. If omitted, the latest commit from the selected branch is used.
3686
+ * @type {string}
3687
+ * @memberof ClusterEksAnywhereGitRepository
3688
+ */
3689
+ 'commit_id'?: string;
3684
3690
  /**
3685
3691
  * Qovery git token id used to access the repository
3686
3692
  * @type {string}
@@ -3696,6 +3702,83 @@ export interface ClusterEksAnywhereGitRepository {
3696
3702
  }
3697
3703
 
3698
3704
 
3705
+ /**
3706
+ *
3707
+ * @export
3708
+ * @interface ClusterEnvironmentResponse
3709
+ */
3710
+ export interface ClusterEnvironmentResponse {
3711
+ /**
3712
+ *
3713
+ * @type {string}
3714
+ * @memberof ClusterEnvironmentResponse
3715
+ */
3716
+ 'environment_id': string;
3717
+ /**
3718
+ *
3719
+ * @type {string}
3720
+ * @memberof ClusterEnvironmentResponse
3721
+ */
3722
+ 'environment_name': string;
3723
+ /**
3724
+ *
3725
+ * @type {string}
3726
+ * @memberof ClusterEnvironmentResponse
3727
+ */
3728
+ 'project_id': string;
3729
+ /**
3730
+ *
3731
+ * @type {string}
3732
+ * @memberof ClusterEnvironmentResponse
3733
+ */
3734
+ 'project_name': string;
3735
+ /**
3736
+ *
3737
+ * @type {Array<ClusterEnvironmentServiceResponse>}
3738
+ * @memberof ClusterEnvironmentResponse
3739
+ */
3740
+ 'services': Array<ClusterEnvironmentServiceResponse>;
3741
+ }
3742
+ /**
3743
+ *
3744
+ * @export
3745
+ * @interface ClusterEnvironmentResponseList
3746
+ */
3747
+ export interface ClusterEnvironmentResponseList {
3748
+ /**
3749
+ *
3750
+ * @type {Array<ClusterEnvironmentResponse>}
3751
+ * @memberof ClusterEnvironmentResponseList
3752
+ */
3753
+ 'results'?: Array<ClusterEnvironmentResponse>;
3754
+ }
3755
+ /**
3756
+ *
3757
+ * @export
3758
+ * @interface ClusterEnvironmentServiceResponse
3759
+ */
3760
+ export interface ClusterEnvironmentServiceResponse {
3761
+ /**
3762
+ *
3763
+ * @type {string}
3764
+ * @memberof ClusterEnvironmentServiceResponse
3765
+ */
3766
+ 'id': string;
3767
+ /**
3768
+ *
3769
+ * @type {string}
3770
+ * @memberof ClusterEnvironmentServiceResponse
3771
+ */
3772
+ 'name': string;
3773
+ /**
3774
+ *
3775
+ * @type {LinkedServiceTypeEnum}
3776
+ * @memberof ClusterEnvironmentServiceResponse
3777
+ */
3778
+ 'type': LinkedServiceTypeEnum;
3779
+ }
3780
+
3781
+
3699
3782
  /**
3700
3783
  *
3701
3784
  * @export
@@ -8974,6 +9057,32 @@ export const DockerfileFragmentInlineTypeEnum = {
8974
9057
 
8975
9058
  export type DockerfileFragmentInlineTypeEnum = typeof DockerfileFragmentInlineTypeEnum[keyof typeof DockerfileFragmentInlineTypeEnum];
8976
9059
 
9060
+ /**
9061
+ *
9062
+ * @export
9063
+ * @interface EksAnywhereCommitRequest
9064
+ */
9065
+ export interface EksAnywhereCommitRequest {
9066
+ /**
9067
+ *
9068
+ * @type {string}
9069
+ * @memberof EksAnywhereCommitRequest
9070
+ */
9071
+ 'commit_id': string;
9072
+ }
9073
+ /**
9074
+ *
9075
+ * @export
9076
+ * @interface EksAnywhereCommitResponse
9077
+ */
9078
+ export interface EksAnywhereCommitResponse {
9079
+ /**
9080
+ *
9081
+ * @type {string}
9082
+ * @memberof EksAnywhereCommitResponse
9083
+ */
9084
+ 'commit_id': string;
9085
+ }
8977
9086
  /**
8978
9087
  *
8979
9088
  * @export
@@ -33619,6 +33728,47 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
33619
33728
 
33620
33729
 
33621
33730
 
33731
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33732
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33733
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33734
+
33735
+ return {
33736
+ url: toPathString(localVarUrlObj),
33737
+ options: localVarRequestOptions,
33738
+ };
33739
+ },
33740
+ /**
33741
+ *
33742
+ * @summary List environments services by cluster id
33743
+ * @param {string} clusterId
33744
+ * @param {*} [options] Override http request option.
33745
+ * @throws {RequiredError}
33746
+ */
33747
+ getEnvironmentsByClusterId: async (clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33748
+ // verify required parameter 'clusterId' is not null or undefined
33749
+ assertParamExists('getEnvironmentsByClusterId', 'clusterId', clusterId)
33750
+ const localVarPath = `/cluster/{clusterId}/environments`
33751
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
33752
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33753
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33754
+ let baseOptions;
33755
+ if (configuration) {
33756
+ baseOptions = configuration.baseOptions;
33757
+ }
33758
+
33759
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33760
+ const localVarHeaderParameter = {} as any;
33761
+ const localVarQueryParameter = {} as any;
33762
+
33763
+ // authentication ApiKeyAuth required
33764
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33765
+
33766
+ // authentication bearerAuth required
33767
+ // http bearer authentication required
33768
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33769
+
33770
+
33771
+
33622
33772
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33623
33773
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33624
33774
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33840,6 +33990,51 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
33840
33990
 
33841
33991
 
33842
33992
 
33993
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33994
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33995
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33996
+
33997
+ return {
33998
+ url: toPathString(localVarUrlObj),
33999
+ options: localVarRequestOptions,
34000
+ };
34001
+ },
34002
+ /**
34003
+ * Returns list of the last commits made on the repository linked to the EKS Anywhere cluster, filtered by the targeted YAML file when supported by provider.
34004
+ * @summary List EKS Anywhere commits
34005
+ * @param {string} organizationId Organization ID
34006
+ * @param {string} clusterId Cluster ID
34007
+ * @param {*} [options] Override http request option.
34008
+ * @throws {RequiredError}
34009
+ */
34010
+ listEksAnywhereCommits: async (organizationId: string, clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
34011
+ // verify required parameter 'organizationId' is not null or undefined
34012
+ assertParamExists('listEksAnywhereCommits', 'organizationId', organizationId)
34013
+ // verify required parameter 'clusterId' is not null or undefined
34014
+ assertParamExists('listEksAnywhereCommits', 'clusterId', clusterId)
34015
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/commits`
34016
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
34017
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
34018
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34019
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34020
+ let baseOptions;
34021
+ if (configuration) {
34022
+ baseOptions = configuration.baseOptions;
34023
+ }
34024
+
34025
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
34026
+ const localVarHeaderParameter = {} as any;
34027
+ const localVarQueryParameter = {} as any;
34028
+
34029
+ // authentication ApiKeyAuth required
34030
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
34031
+
34032
+ // authentication bearerAuth required
34033
+ // http bearer authentication required
34034
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
34035
+
34036
+
34037
+
33843
34038
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33844
34039
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33845
34040
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -34070,6 +34265,57 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
34070
34265
  options: localVarRequestOptions,
34071
34266
  };
34072
34267
  },
34268
+ /**
34269
+ * Persist selected commit for an EKS Anywhere cluster.
34270
+ * @summary Update selected EKS Anywhere commit
34271
+ * @param {string} organizationId Organization ID
34272
+ * @param {string} clusterId Cluster ID
34273
+ * @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
34274
+ * @param {*} [options] Override http request option.
34275
+ * @throws {RequiredError}
34276
+ */
34277
+ updateEksAnywhereCommit: async (organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
34278
+ // verify required parameter 'organizationId' is not null or undefined
34279
+ assertParamExists('updateEksAnywhereCommit', 'organizationId', organizationId)
34280
+ // verify required parameter 'clusterId' is not null or undefined
34281
+ assertParamExists('updateEksAnywhereCommit', 'clusterId', clusterId)
34282
+ // verify required parameter 'eksAnywhereCommitRequest' is not null or undefined
34283
+ assertParamExists('updateEksAnywhereCommit', 'eksAnywhereCommitRequest', eksAnywhereCommitRequest)
34284
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/commit`
34285
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
34286
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
34287
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34288
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34289
+ let baseOptions;
34290
+ if (configuration) {
34291
+ baseOptions = configuration.baseOptions;
34292
+ }
34293
+
34294
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
34295
+ const localVarHeaderParameter = {} as any;
34296
+ const localVarQueryParameter = {} as any;
34297
+
34298
+ // authentication ApiKeyAuth required
34299
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
34300
+
34301
+ // authentication bearerAuth required
34302
+ // http bearer authentication required
34303
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
34304
+
34305
+
34306
+
34307
+ localVarHeaderParameter['Content-Type'] = 'application/json';
34308
+
34309
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34310
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34311
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34312
+ localVarRequestOptions.data = serializeDataIfNeeded(eksAnywhereCommitRequest, localVarRequestOptions, configuration)
34313
+
34314
+ return {
34315
+ url: toPathString(localVarUrlObj),
34316
+ options: localVarRequestOptions,
34317
+ };
34318
+ },
34073
34319
  /**
34074
34320
  * Update karpenter private fargate subnet ids
34075
34321
  * @summary Update karpenter private fargate subnet ids
@@ -34413,6 +34659,19 @@ export const ClustersApiFp = function(configuration?: Configuration) {
34413
34659
  const localVarOperationServerBasePath = operationServerMap['ClustersApi.getDefaultClusterAdvancedSettings']?.[localVarOperationServerIndex]?.url;
34414
34660
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34415
34661
  },
34662
+ /**
34663
+ *
34664
+ * @summary List environments services by cluster id
34665
+ * @param {string} clusterId
34666
+ * @param {*} [options] Override http request option.
34667
+ * @throws {RequiredError}
34668
+ */
34669
+ async getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEnvironmentResponseList>> {
34670
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentsByClusterId(clusterId, options);
34671
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
34672
+ const localVarOperationServerBasePath = operationServerMap['ClustersApi.getEnvironmentsByClusterId']?.[localVarOperationServerIndex]?.url;
34673
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34674
+ },
34416
34675
  /**
34417
34676
  *
34418
34677
  * @summary Get cluster helm values for self managed installation
@@ -34482,6 +34741,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
34482
34741
  const localVarOperationServerBasePath = operationServerMap['ClustersApi.listClusterLogs']?.[localVarOperationServerIndex]?.url;
34483
34742
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34484
34743
  },
34744
+ /**
34745
+ * Returns list of the last commits made on the repository linked to the EKS Anywhere cluster, filtered by the targeted YAML file when supported by provider.
34746
+ * @summary List EKS Anywhere commits
34747
+ * @param {string} organizationId Organization ID
34748
+ * @param {string} clusterId Cluster ID
34749
+ * @param {*} [options] Override http request option.
34750
+ * @throws {RequiredError}
34751
+ */
34752
+ async listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>> {
34753
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listEksAnywhereCommits(organizationId, clusterId, options);
34754
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
34755
+ const localVarOperationServerBasePath = operationServerMap['ClustersApi.listEksAnywhereCommits']?.[localVarOperationServerIndex]?.url;
34756
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34757
+ },
34485
34758
  /**
34486
34759
  *
34487
34760
  * @summary List organization clusters
@@ -34551,6 +34824,21 @@ export const ClustersApiFp = function(configuration?: Configuration) {
34551
34824
  const localVarOperationServerBasePath = operationServerMap['ClustersApi.unlockCluster']?.[localVarOperationServerIndex]?.url;
34552
34825
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34553
34826
  },
34827
+ /**
34828
+ * Persist selected commit for an EKS Anywhere cluster.
34829
+ * @summary Update selected EKS Anywhere commit
34830
+ * @param {string} organizationId Organization ID
34831
+ * @param {string} clusterId Cluster ID
34832
+ * @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
34833
+ * @param {*} [options] Override http request option.
34834
+ * @throws {RequiredError}
34835
+ */
34836
+ async updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EksAnywhereCommitResponse>> {
34837
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options);
34838
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
34839
+ const localVarOperationServerBasePath = operationServerMap['ClustersApi.updateEksAnywhereCommit']?.[localVarOperationServerIndex]?.url;
34840
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34841
+ },
34554
34842
  /**
34555
34843
  * Update karpenter private fargate subnet ids
34556
34844
  * @summary Update karpenter private fargate subnet ids
@@ -34787,6 +35075,16 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
34787
35075
  getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClusterAdvancedSettings> {
34788
35076
  return localVarFp.getDefaultClusterAdvancedSettings(options).then((request) => request(axios, basePath));
34789
35077
  },
35078
+ /**
35079
+ *
35080
+ * @summary List environments services by cluster id
35081
+ * @param {string} clusterId
35082
+ * @param {*} [options] Override http request option.
35083
+ * @throws {RequiredError}
35084
+ */
35085
+ getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEnvironmentResponseList> {
35086
+ return localVarFp.getEnvironmentsByClusterId(clusterId, options).then((request) => request(axios, basePath));
35087
+ },
34790
35088
  /**
34791
35089
  *
34792
35090
  * @summary Get cluster helm values for self managed installation
@@ -34841,6 +35139,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
34841
35139
  listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponseList> {
34842
35140
  return localVarFp.listClusterLogs(organizationId, clusterId, options).then((request) => request(axios, basePath));
34843
35141
  },
35142
+ /**
35143
+ * Returns list of the last commits made on the repository linked to the EKS Anywhere cluster, filtered by the targeted YAML file when supported by provider.
35144
+ * @summary List EKS Anywhere commits
35145
+ * @param {string} organizationId Organization ID
35146
+ * @param {string} clusterId Cluster ID
35147
+ * @param {*} [options] Override http request option.
35148
+ * @throws {RequiredError}
35149
+ */
35150
+ listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommitResponseList> {
35151
+ return localVarFp.listEksAnywhereCommits(organizationId, clusterId, options).then((request) => request(axios, basePath));
35152
+ },
34844
35153
  /**
34845
35154
  *
34846
35155
  * @summary List organization clusters
@@ -34895,6 +35204,18 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
34895
35204
  unlockCluster(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
34896
35205
  return localVarFp.unlockCluster(clusterId, options).then((request) => request(axios, basePath));
34897
35206
  },
35207
+ /**
35208
+ * Persist selected commit for an EKS Anywhere cluster.
35209
+ * @summary Update selected EKS Anywhere commit
35210
+ * @param {string} organizationId Organization ID
35211
+ * @param {string} clusterId Cluster ID
35212
+ * @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
35213
+ * @param {*} [options] Override http request option.
35214
+ * @throws {RequiredError}
35215
+ */
35216
+ updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<EksAnywhereCommitResponse> {
35217
+ return localVarFp.updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options).then((request) => request(axios, basePath));
35218
+ },
34898
35219
  /**
34899
35220
  * Update karpenter private fargate subnet ids
34900
35221
  * @summary Update karpenter private fargate subnet ids
@@ -35155,6 +35476,18 @@ export class ClustersApi extends BaseAPI {
35155
35476
  return ClustersApiFp(this.configuration).getDefaultClusterAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
35156
35477
  }
35157
35478
 
35479
+ /**
35480
+ *
35481
+ * @summary List environments services by cluster id
35482
+ * @param {string} clusterId
35483
+ * @param {*} [options] Override http request option.
35484
+ * @throws {RequiredError}
35485
+ * @memberof ClustersApi
35486
+ */
35487
+ public getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig) {
35488
+ return ClustersApiFp(this.configuration).getEnvironmentsByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
35489
+ }
35490
+
35158
35491
  /**
35159
35492
  *
35160
35493
  * @summary Get cluster helm values for self managed installation
@@ -35219,6 +35552,19 @@ export class ClustersApi extends BaseAPI {
35219
35552
  return ClustersApiFp(this.configuration).listClusterLogs(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
35220
35553
  }
35221
35554
 
35555
+ /**
35556
+ * Returns list of the last commits made on the repository linked to the EKS Anywhere cluster, filtered by the targeted YAML file when supported by provider.
35557
+ * @summary List EKS Anywhere commits
35558
+ * @param {string} organizationId Organization ID
35559
+ * @param {string} clusterId Cluster ID
35560
+ * @param {*} [options] Override http request option.
35561
+ * @throws {RequiredError}
35562
+ * @memberof ClustersApi
35563
+ */
35564
+ public listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) {
35565
+ return ClustersApiFp(this.configuration).listEksAnywhereCommits(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
35566
+ }
35567
+
35222
35568
  /**
35223
35569
  *
35224
35570
  * @summary List organization clusters
@@ -35283,6 +35629,20 @@ export class ClustersApi extends BaseAPI {
35283
35629
  return ClustersApiFp(this.configuration).unlockCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
35284
35630
  }
35285
35631
 
35632
+ /**
35633
+ * Persist selected commit for an EKS Anywhere cluster.
35634
+ * @summary Update selected EKS Anywhere commit
35635
+ * @param {string} organizationId Organization ID
35636
+ * @param {string} clusterId Cluster ID
35637
+ * @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
35638
+ * @param {*} [options] Override http request option.
35639
+ * @throws {RequiredError}
35640
+ * @memberof ClustersApi
35641
+ */
35642
+ public updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig) {
35643
+ return ClustersApiFp(this.configuration).updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options).then((request) => request(this.axios, this.basePath));
35644
+ }
35645
+
35286
35646
  /**
35287
35647
  * Update karpenter private fargate subnet ids
35288
35648
  * @summary Update karpenter private fargate subnet ids