qovery-typescript-axios 1.1.852 → 1.1.853
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 +207 -0
- package/dist/api.d.ts +110 -0
- package/dist/api.js +164 -0
- package/dist/esm/api.d.ts +110 -0
- package/dist/esm/api.js +164 -0
- package/package.json +1 -1
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}
|
|
@@ -8974,6 +8980,32 @@ export const DockerfileFragmentInlineTypeEnum = {
|
|
|
8974
8980
|
|
|
8975
8981
|
export type DockerfileFragmentInlineTypeEnum = typeof DockerfileFragmentInlineTypeEnum[keyof typeof DockerfileFragmentInlineTypeEnum];
|
|
8976
8982
|
|
|
8983
|
+
/**
|
|
8984
|
+
*
|
|
8985
|
+
* @export
|
|
8986
|
+
* @interface EksAnywhereCommitRequest
|
|
8987
|
+
*/
|
|
8988
|
+
export interface EksAnywhereCommitRequest {
|
|
8989
|
+
/**
|
|
8990
|
+
*
|
|
8991
|
+
* @type {string}
|
|
8992
|
+
* @memberof EksAnywhereCommitRequest
|
|
8993
|
+
*/
|
|
8994
|
+
'commit_id': string;
|
|
8995
|
+
}
|
|
8996
|
+
/**
|
|
8997
|
+
*
|
|
8998
|
+
* @export
|
|
8999
|
+
* @interface EksAnywhereCommitResponse
|
|
9000
|
+
*/
|
|
9001
|
+
export interface EksAnywhereCommitResponse {
|
|
9002
|
+
/**
|
|
9003
|
+
*
|
|
9004
|
+
* @type {string}
|
|
9005
|
+
* @memberof EksAnywhereCommitResponse
|
|
9006
|
+
*/
|
|
9007
|
+
'commit_id': string;
|
|
9008
|
+
}
|
|
8977
9009
|
/**
|
|
8978
9010
|
*
|
|
8979
9011
|
* @export
|
|
@@ -33840,6 +33872,51 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33840
33872
|
|
|
33841
33873
|
|
|
33842
33874
|
|
|
33875
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33876
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33877
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33878
|
+
|
|
33879
|
+
return {
|
|
33880
|
+
url: toPathString(localVarUrlObj),
|
|
33881
|
+
options: localVarRequestOptions,
|
|
33882
|
+
};
|
|
33883
|
+
},
|
|
33884
|
+
/**
|
|
33885
|
+
* 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.
|
|
33886
|
+
* @summary List EKS Anywhere commits
|
|
33887
|
+
* @param {string} organizationId Organization ID
|
|
33888
|
+
* @param {string} clusterId Cluster ID
|
|
33889
|
+
* @param {*} [options] Override http request option.
|
|
33890
|
+
* @throws {RequiredError}
|
|
33891
|
+
*/
|
|
33892
|
+
listEksAnywhereCommits: async (organizationId: string, clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33893
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
33894
|
+
assertParamExists('listEksAnywhereCommits', 'organizationId', organizationId)
|
|
33895
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
33896
|
+
assertParamExists('listEksAnywhereCommits', 'clusterId', clusterId)
|
|
33897
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/commits`
|
|
33898
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33899
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
33900
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33901
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33902
|
+
let baseOptions;
|
|
33903
|
+
if (configuration) {
|
|
33904
|
+
baseOptions = configuration.baseOptions;
|
|
33905
|
+
}
|
|
33906
|
+
|
|
33907
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33908
|
+
const localVarHeaderParameter = {} as any;
|
|
33909
|
+
const localVarQueryParameter = {} as any;
|
|
33910
|
+
|
|
33911
|
+
// authentication ApiKeyAuth required
|
|
33912
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
33913
|
+
|
|
33914
|
+
// authentication bearerAuth required
|
|
33915
|
+
// http bearer authentication required
|
|
33916
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33917
|
+
|
|
33918
|
+
|
|
33919
|
+
|
|
33843
33920
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33844
33921
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33845
33922
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -34070,6 +34147,57 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34070
34147
|
options: localVarRequestOptions,
|
|
34071
34148
|
};
|
|
34072
34149
|
},
|
|
34150
|
+
/**
|
|
34151
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
34152
|
+
* @summary Update selected EKS Anywhere commit
|
|
34153
|
+
* @param {string} organizationId Organization ID
|
|
34154
|
+
* @param {string} clusterId Cluster ID
|
|
34155
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
34156
|
+
* @param {*} [options] Override http request option.
|
|
34157
|
+
* @throws {RequiredError}
|
|
34158
|
+
*/
|
|
34159
|
+
updateEksAnywhereCommit: async (organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34160
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
34161
|
+
assertParamExists('updateEksAnywhereCommit', 'organizationId', organizationId)
|
|
34162
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
34163
|
+
assertParamExists('updateEksAnywhereCommit', 'clusterId', clusterId)
|
|
34164
|
+
// verify required parameter 'eksAnywhereCommitRequest' is not null or undefined
|
|
34165
|
+
assertParamExists('updateEksAnywhereCommit', 'eksAnywhereCommitRequest', eksAnywhereCommitRequest)
|
|
34166
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/commit`
|
|
34167
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
34168
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
34169
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34170
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34171
|
+
let baseOptions;
|
|
34172
|
+
if (configuration) {
|
|
34173
|
+
baseOptions = configuration.baseOptions;
|
|
34174
|
+
}
|
|
34175
|
+
|
|
34176
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
34177
|
+
const localVarHeaderParameter = {} as any;
|
|
34178
|
+
const localVarQueryParameter = {} as any;
|
|
34179
|
+
|
|
34180
|
+
// authentication ApiKeyAuth required
|
|
34181
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
34182
|
+
|
|
34183
|
+
// authentication bearerAuth required
|
|
34184
|
+
// http bearer authentication required
|
|
34185
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34186
|
+
|
|
34187
|
+
|
|
34188
|
+
|
|
34189
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34190
|
+
|
|
34191
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34193
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34194
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eksAnywhereCommitRequest, localVarRequestOptions, configuration)
|
|
34195
|
+
|
|
34196
|
+
return {
|
|
34197
|
+
url: toPathString(localVarUrlObj),
|
|
34198
|
+
options: localVarRequestOptions,
|
|
34199
|
+
};
|
|
34200
|
+
},
|
|
34073
34201
|
/**
|
|
34074
34202
|
* Update karpenter private fargate subnet ids
|
|
34075
34203
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -34482,6 +34610,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
34482
34610
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.listClusterLogs']?.[localVarOperationServerIndex]?.url;
|
|
34483
34611
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34484
34612
|
},
|
|
34613
|
+
/**
|
|
34614
|
+
* 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.
|
|
34615
|
+
* @summary List EKS Anywhere commits
|
|
34616
|
+
* @param {string} organizationId Organization ID
|
|
34617
|
+
* @param {string} clusterId Cluster ID
|
|
34618
|
+
* @param {*} [options] Override http request option.
|
|
34619
|
+
* @throws {RequiredError}
|
|
34620
|
+
*/
|
|
34621
|
+
async listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>> {
|
|
34622
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEksAnywhereCommits(organizationId, clusterId, options);
|
|
34623
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34624
|
+
const localVarOperationServerBasePath = operationServerMap['ClustersApi.listEksAnywhereCommits']?.[localVarOperationServerIndex]?.url;
|
|
34625
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34626
|
+
},
|
|
34485
34627
|
/**
|
|
34486
34628
|
*
|
|
34487
34629
|
* @summary List organization clusters
|
|
@@ -34551,6 +34693,21 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
34551
34693
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.unlockCluster']?.[localVarOperationServerIndex]?.url;
|
|
34552
34694
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34553
34695
|
},
|
|
34696
|
+
/**
|
|
34697
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
34698
|
+
* @summary Update selected EKS Anywhere commit
|
|
34699
|
+
* @param {string} organizationId Organization ID
|
|
34700
|
+
* @param {string} clusterId Cluster ID
|
|
34701
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
34702
|
+
* @param {*} [options] Override http request option.
|
|
34703
|
+
* @throws {RequiredError}
|
|
34704
|
+
*/
|
|
34705
|
+
async updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EksAnywhereCommitResponse>> {
|
|
34706
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options);
|
|
34707
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34708
|
+
const localVarOperationServerBasePath = operationServerMap['ClustersApi.updateEksAnywhereCommit']?.[localVarOperationServerIndex]?.url;
|
|
34709
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34710
|
+
},
|
|
34554
34711
|
/**
|
|
34555
34712
|
* Update karpenter private fargate subnet ids
|
|
34556
34713
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -34841,6 +34998,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
34841
34998
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponseList> {
|
|
34842
34999
|
return localVarFp.listClusterLogs(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
34843
35000
|
},
|
|
35001
|
+
/**
|
|
35002
|
+
* 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.
|
|
35003
|
+
* @summary List EKS Anywhere commits
|
|
35004
|
+
* @param {string} organizationId Organization ID
|
|
35005
|
+
* @param {string} clusterId Cluster ID
|
|
35006
|
+
* @param {*} [options] Override http request option.
|
|
35007
|
+
* @throws {RequiredError}
|
|
35008
|
+
*/
|
|
35009
|
+
listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommitResponseList> {
|
|
35010
|
+
return localVarFp.listEksAnywhereCommits(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
35011
|
+
},
|
|
34844
35012
|
/**
|
|
34845
35013
|
*
|
|
34846
35014
|
* @summary List organization clusters
|
|
@@ -34895,6 +35063,18 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
34895
35063
|
unlockCluster(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
34896
35064
|
return localVarFp.unlockCluster(clusterId, options).then((request) => request(axios, basePath));
|
|
34897
35065
|
},
|
|
35066
|
+
/**
|
|
35067
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
35068
|
+
* @summary Update selected EKS Anywhere commit
|
|
35069
|
+
* @param {string} organizationId Organization ID
|
|
35070
|
+
* @param {string} clusterId Cluster ID
|
|
35071
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
35072
|
+
* @param {*} [options] Override http request option.
|
|
35073
|
+
* @throws {RequiredError}
|
|
35074
|
+
*/
|
|
35075
|
+
updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<EksAnywhereCommitResponse> {
|
|
35076
|
+
return localVarFp.updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options).then((request) => request(axios, basePath));
|
|
35077
|
+
},
|
|
34898
35078
|
/**
|
|
34899
35079
|
* Update karpenter private fargate subnet ids
|
|
34900
35080
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -35219,6 +35399,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
35219
35399
|
return ClustersApiFp(this.configuration).listClusterLogs(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
35220
35400
|
}
|
|
35221
35401
|
|
|
35402
|
+
/**
|
|
35403
|
+
* 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.
|
|
35404
|
+
* @summary List EKS Anywhere commits
|
|
35405
|
+
* @param {string} organizationId Organization ID
|
|
35406
|
+
* @param {string} clusterId Cluster ID
|
|
35407
|
+
* @param {*} [options] Override http request option.
|
|
35408
|
+
* @throws {RequiredError}
|
|
35409
|
+
* @memberof ClustersApi
|
|
35410
|
+
*/
|
|
35411
|
+
public listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) {
|
|
35412
|
+
return ClustersApiFp(this.configuration).listEksAnywhereCommits(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
35413
|
+
}
|
|
35414
|
+
|
|
35222
35415
|
/**
|
|
35223
35416
|
*
|
|
35224
35417
|
* @summary List organization clusters
|
|
@@ -35283,6 +35476,20 @@ export class ClustersApi extends BaseAPI {
|
|
|
35283
35476
|
return ClustersApiFp(this.configuration).unlockCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
35284
35477
|
}
|
|
35285
35478
|
|
|
35479
|
+
/**
|
|
35480
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
35481
|
+
* @summary Update selected EKS Anywhere commit
|
|
35482
|
+
* @param {string} organizationId Organization ID
|
|
35483
|
+
* @param {string} clusterId Cluster ID
|
|
35484
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
35485
|
+
* @param {*} [options] Override http request option.
|
|
35486
|
+
* @throws {RequiredError}
|
|
35487
|
+
* @memberof ClustersApi
|
|
35488
|
+
*/
|
|
35489
|
+
public updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig) {
|
|
35490
|
+
return ClustersApiFp(this.configuration).updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35491
|
+
}
|
|
35492
|
+
|
|
35286
35493
|
/**
|
|
35287
35494
|
* Update karpenter private fargate subnet ids
|
|
35288
35495
|
* @summary Update karpenter private fargate subnet ids
|
package/dist/api.d.ts
CHANGED
|
@@ -3562,6 +3562,12 @@ export interface ClusterEksAnywhereGitRepository {
|
|
|
3562
3562
|
* @memberof ClusterEksAnywhereGitRepository
|
|
3563
3563
|
*/
|
|
3564
3564
|
'branch'?: string;
|
|
3565
|
+
/**
|
|
3566
|
+
* Optional git commit SHA to pin EKS Anywhere configuration on a specific revision. If omitted, the latest commit from the selected branch is used.
|
|
3567
|
+
* @type {string}
|
|
3568
|
+
* @memberof ClusterEksAnywhereGitRepository
|
|
3569
|
+
*/
|
|
3570
|
+
'commit_id'?: string;
|
|
3565
3571
|
/**
|
|
3566
3572
|
* Qovery git token id used to access the repository
|
|
3567
3573
|
* @type {string}
|
|
@@ -8695,6 +8701,32 @@ export declare const DockerfileFragmentInlineTypeEnum: {
|
|
|
8695
8701
|
readonly INLINE: "inline";
|
|
8696
8702
|
};
|
|
8697
8703
|
export type DockerfileFragmentInlineTypeEnum = typeof DockerfileFragmentInlineTypeEnum[keyof typeof DockerfileFragmentInlineTypeEnum];
|
|
8704
|
+
/**
|
|
8705
|
+
*
|
|
8706
|
+
* @export
|
|
8707
|
+
* @interface EksAnywhereCommitRequest
|
|
8708
|
+
*/
|
|
8709
|
+
export interface EksAnywhereCommitRequest {
|
|
8710
|
+
/**
|
|
8711
|
+
*
|
|
8712
|
+
* @type {string}
|
|
8713
|
+
* @memberof EksAnywhereCommitRequest
|
|
8714
|
+
*/
|
|
8715
|
+
'commit_id': string;
|
|
8716
|
+
}
|
|
8717
|
+
/**
|
|
8718
|
+
*
|
|
8719
|
+
* @export
|
|
8720
|
+
* @interface EksAnywhereCommitResponse
|
|
8721
|
+
*/
|
|
8722
|
+
export interface EksAnywhereCommitResponse {
|
|
8723
|
+
/**
|
|
8724
|
+
*
|
|
8725
|
+
* @type {string}
|
|
8726
|
+
* @memberof EksAnywhereCommitResponse
|
|
8727
|
+
*/
|
|
8728
|
+
'commit_id': string;
|
|
8729
|
+
}
|
|
8698
8730
|
/**
|
|
8699
8731
|
*
|
|
8700
8732
|
* @export
|
|
@@ -26351,6 +26383,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26351
26383
|
* @throws {RequiredError}
|
|
26352
26384
|
*/
|
|
26353
26385
|
listClusterLogs: (organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26386
|
+
/**
|
|
26387
|
+
* 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.
|
|
26388
|
+
* @summary List EKS Anywhere commits
|
|
26389
|
+
* @param {string} organizationId Organization ID
|
|
26390
|
+
* @param {string} clusterId Cluster ID
|
|
26391
|
+
* @param {*} [options] Override http request option.
|
|
26392
|
+
* @throws {RequiredError}
|
|
26393
|
+
*/
|
|
26394
|
+
listEksAnywhereCommits: (organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26354
26395
|
/**
|
|
26355
26396
|
*
|
|
26356
26397
|
* @summary List organization clusters
|
|
@@ -26395,6 +26436,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26395
26436
|
* @throws {RequiredError}
|
|
26396
26437
|
*/
|
|
26397
26438
|
unlockCluster: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26439
|
+
/**
|
|
26440
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
26441
|
+
* @summary Update selected EKS Anywhere commit
|
|
26442
|
+
* @param {string} organizationId Organization ID
|
|
26443
|
+
* @param {string} clusterId Cluster ID
|
|
26444
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
26445
|
+
* @param {*} [options] Override http request option.
|
|
26446
|
+
* @throws {RequiredError}
|
|
26447
|
+
*/
|
|
26448
|
+
updateEksAnywhereCommit: (organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26398
26449
|
/**
|
|
26399
26450
|
* Update karpenter private fargate subnet ids
|
|
26400
26451
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -26631,6 +26682,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
26631
26682
|
* @throws {RequiredError}
|
|
26632
26683
|
*/
|
|
26633
26684
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponseList>>;
|
|
26685
|
+
/**
|
|
26686
|
+
* 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.
|
|
26687
|
+
* @summary List EKS Anywhere commits
|
|
26688
|
+
* @param {string} organizationId Organization ID
|
|
26689
|
+
* @param {string} clusterId Cluster ID
|
|
26690
|
+
* @param {*} [options] Override http request option.
|
|
26691
|
+
* @throws {RequiredError}
|
|
26692
|
+
*/
|
|
26693
|
+
listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>>;
|
|
26634
26694
|
/**
|
|
26635
26695
|
*
|
|
26636
26696
|
* @summary List organization clusters
|
|
@@ -26675,6 +26735,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
26675
26735
|
* @throws {RequiredError}
|
|
26676
26736
|
*/
|
|
26677
26737
|
unlockCluster(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
26738
|
+
/**
|
|
26739
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
26740
|
+
* @summary Update selected EKS Anywhere commit
|
|
26741
|
+
* @param {string} organizationId Organization ID
|
|
26742
|
+
* @param {string} clusterId Cluster ID
|
|
26743
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
26744
|
+
* @param {*} [options] Override http request option.
|
|
26745
|
+
* @throws {RequiredError}
|
|
26746
|
+
*/
|
|
26747
|
+
updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EksAnywhereCommitResponse>>;
|
|
26678
26748
|
/**
|
|
26679
26749
|
* Update karpenter private fargate subnet ids
|
|
26680
26750
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -26911,6 +26981,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
26911
26981
|
* @throws {RequiredError}
|
|
26912
26982
|
*/
|
|
26913
26983
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponseList>;
|
|
26984
|
+
/**
|
|
26985
|
+
* 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.
|
|
26986
|
+
* @summary List EKS Anywhere commits
|
|
26987
|
+
* @param {string} organizationId Organization ID
|
|
26988
|
+
* @param {string} clusterId Cluster ID
|
|
26989
|
+
* @param {*} [options] Override http request option.
|
|
26990
|
+
* @throws {RequiredError}
|
|
26991
|
+
*/
|
|
26992
|
+
listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommitResponseList>;
|
|
26914
26993
|
/**
|
|
26915
26994
|
*
|
|
26916
26995
|
* @summary List organization clusters
|
|
@@ -26955,6 +27034,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
26955
27034
|
* @throws {RequiredError}
|
|
26956
27035
|
*/
|
|
26957
27036
|
unlockCluster(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27037
|
+
/**
|
|
27038
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
27039
|
+
* @summary Update selected EKS Anywhere commit
|
|
27040
|
+
* @param {string} organizationId Organization ID
|
|
27041
|
+
* @param {string} clusterId Cluster ID
|
|
27042
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
27043
|
+
* @param {*} [options] Override http request option.
|
|
27044
|
+
* @throws {RequiredError}
|
|
27045
|
+
*/
|
|
27046
|
+
updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<EksAnywhereCommitResponse>;
|
|
26958
27047
|
/**
|
|
26959
27048
|
* Update karpenter private fargate subnet ids
|
|
26960
27049
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -27213,6 +27302,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27213
27302
|
* @memberof ClustersApi
|
|
27214
27303
|
*/
|
|
27215
27304
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponseList, any, {}>>;
|
|
27305
|
+
/**
|
|
27306
|
+
* 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.
|
|
27307
|
+
* @summary List EKS Anywhere commits
|
|
27308
|
+
* @param {string} organizationId Organization ID
|
|
27309
|
+
* @param {string} clusterId Cluster ID
|
|
27310
|
+
* @param {*} [options] Override http request option.
|
|
27311
|
+
* @throws {RequiredError}
|
|
27312
|
+
* @memberof ClustersApi
|
|
27313
|
+
*/
|
|
27314
|
+
listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommitResponseList, any, {}>>;
|
|
27216
27315
|
/**
|
|
27217
27316
|
*
|
|
27218
27317
|
* @summary List organization clusters
|
|
@@ -27262,6 +27361,17 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27262
27361
|
* @memberof ClustersApi
|
|
27263
27362
|
*/
|
|
27264
27363
|
unlockCluster(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
27364
|
+
/**
|
|
27365
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
27366
|
+
* @summary Update selected EKS Anywhere commit
|
|
27367
|
+
* @param {string} organizationId Organization ID
|
|
27368
|
+
* @param {string} clusterId Cluster ID
|
|
27369
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
27370
|
+
* @param {*} [options] Override http request option.
|
|
27371
|
+
* @throws {RequiredError}
|
|
27372
|
+
* @memberof ClustersApi
|
|
27373
|
+
*/
|
|
27374
|
+
updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EksAnywhereCommitResponse, any, {}>>;
|
|
27265
27375
|
/**
|
|
27266
27376
|
* Update karpenter private fargate subnet ids
|
|
27267
27377
|
* @summary Update karpenter private fargate subnet ids
|
package/dist/api.js
CHANGED
|
@@ -12412,6 +12412,44 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12412
12412
|
options: localVarRequestOptions,
|
|
12413
12413
|
};
|
|
12414
12414
|
}),
|
|
12415
|
+
/**
|
|
12416
|
+
* 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.
|
|
12417
|
+
* @summary List EKS Anywhere commits
|
|
12418
|
+
* @param {string} organizationId Organization ID
|
|
12419
|
+
* @param {string} clusterId Cluster ID
|
|
12420
|
+
* @param {*} [options] Override http request option.
|
|
12421
|
+
* @throws {RequiredError}
|
|
12422
|
+
*/
|
|
12423
|
+
listEksAnywhereCommits: (organizationId_1, clusterId_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, ...args_1], void 0, function* (organizationId, clusterId, options = {}) {
|
|
12424
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12425
|
+
(0, common_1.assertParamExists)('listEksAnywhereCommits', 'organizationId', organizationId);
|
|
12426
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
12427
|
+
(0, common_1.assertParamExists)('listEksAnywhereCommits', 'clusterId', clusterId);
|
|
12428
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/commits`
|
|
12429
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12430
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
12431
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12432
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12433
|
+
let baseOptions;
|
|
12434
|
+
if (configuration) {
|
|
12435
|
+
baseOptions = configuration.baseOptions;
|
|
12436
|
+
}
|
|
12437
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12438
|
+
const localVarHeaderParameter = {};
|
|
12439
|
+
const localVarQueryParameter = {};
|
|
12440
|
+
// authentication ApiKeyAuth required
|
|
12441
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12442
|
+
// authentication bearerAuth required
|
|
12443
|
+
// http bearer authentication required
|
|
12444
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12445
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12446
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12447
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12448
|
+
return {
|
|
12449
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12450
|
+
options: localVarRequestOptions,
|
|
12451
|
+
};
|
|
12452
|
+
}),
|
|
12415
12453
|
/**
|
|
12416
12454
|
*
|
|
12417
12455
|
* @summary List organization clusters
|
|
@@ -12596,6 +12634,49 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12596
12634
|
options: localVarRequestOptions,
|
|
12597
12635
|
};
|
|
12598
12636
|
}),
|
|
12637
|
+
/**
|
|
12638
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
12639
|
+
* @summary Update selected EKS Anywhere commit
|
|
12640
|
+
* @param {string} organizationId Organization ID
|
|
12641
|
+
* @param {string} clusterId Cluster ID
|
|
12642
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
12643
|
+
* @param {*} [options] Override http request option.
|
|
12644
|
+
* @throws {RequiredError}
|
|
12645
|
+
*/
|
|
12646
|
+
updateEksAnywhereCommit: (organizationId_1, clusterId_1, eksAnywhereCommitRequest_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, eksAnywhereCommitRequest_1, ...args_1], void 0, function* (organizationId, clusterId, eksAnywhereCommitRequest, options = {}) {
|
|
12647
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12648
|
+
(0, common_1.assertParamExists)('updateEksAnywhereCommit', 'organizationId', organizationId);
|
|
12649
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
12650
|
+
(0, common_1.assertParamExists)('updateEksAnywhereCommit', 'clusterId', clusterId);
|
|
12651
|
+
// verify required parameter 'eksAnywhereCommitRequest' is not null or undefined
|
|
12652
|
+
(0, common_1.assertParamExists)('updateEksAnywhereCommit', 'eksAnywhereCommitRequest', eksAnywhereCommitRequest);
|
|
12653
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/commit`
|
|
12654
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12655
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
12656
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12657
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12658
|
+
let baseOptions;
|
|
12659
|
+
if (configuration) {
|
|
12660
|
+
baseOptions = configuration.baseOptions;
|
|
12661
|
+
}
|
|
12662
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
12663
|
+
const localVarHeaderParameter = {};
|
|
12664
|
+
const localVarQueryParameter = {};
|
|
12665
|
+
// authentication ApiKeyAuth required
|
|
12666
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12667
|
+
// authentication bearerAuth required
|
|
12668
|
+
// http bearer authentication required
|
|
12669
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12670
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12671
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12672
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12673
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12674
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eksAnywhereCommitRequest, localVarRequestOptions, configuration);
|
|
12675
|
+
return {
|
|
12676
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12677
|
+
options: localVarRequestOptions,
|
|
12678
|
+
};
|
|
12679
|
+
}),
|
|
12599
12680
|
/**
|
|
12600
12681
|
* Update karpenter private fargate subnet ids
|
|
12601
12682
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -13053,6 +13134,23 @@ const ClustersApiFp = function (configuration) {
|
|
|
13053
13134
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13054
13135
|
});
|
|
13055
13136
|
},
|
|
13137
|
+
/**
|
|
13138
|
+
* 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.
|
|
13139
|
+
* @summary List EKS Anywhere commits
|
|
13140
|
+
* @param {string} organizationId Organization ID
|
|
13141
|
+
* @param {string} clusterId Cluster ID
|
|
13142
|
+
* @param {*} [options] Override http request option.
|
|
13143
|
+
* @throws {RequiredError}
|
|
13144
|
+
*/
|
|
13145
|
+
listEksAnywhereCommits(organizationId, clusterId, options) {
|
|
13146
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13147
|
+
var _a, _b, _c;
|
|
13148
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEksAnywhereCommits(organizationId, clusterId, options);
|
|
13149
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13150
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClustersApi.listEksAnywhereCommits']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13151
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13152
|
+
});
|
|
13153
|
+
},
|
|
13056
13154
|
/**
|
|
13057
13155
|
*
|
|
13058
13156
|
* @summary List organization clusters
|
|
@@ -13137,6 +13235,24 @@ const ClustersApiFp = function (configuration) {
|
|
|
13137
13235
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13138
13236
|
});
|
|
13139
13237
|
},
|
|
13238
|
+
/**
|
|
13239
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
13240
|
+
* @summary Update selected EKS Anywhere commit
|
|
13241
|
+
* @param {string} organizationId Organization ID
|
|
13242
|
+
* @param {string} clusterId Cluster ID
|
|
13243
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
13244
|
+
* @param {*} [options] Override http request option.
|
|
13245
|
+
* @throws {RequiredError}
|
|
13246
|
+
*/
|
|
13247
|
+
updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options) {
|
|
13248
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13249
|
+
var _a, _b, _c;
|
|
13250
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options);
|
|
13251
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13252
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClustersApi.updateEksAnywhereCommit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13253
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13254
|
+
});
|
|
13255
|
+
},
|
|
13140
13256
|
/**
|
|
13141
13257
|
* Update karpenter private fargate subnet ids
|
|
13142
13258
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -13433,6 +13549,17 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13433
13549
|
listClusterLogs(organizationId, clusterId, options) {
|
|
13434
13550
|
return localVarFp.listClusterLogs(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
13435
13551
|
},
|
|
13552
|
+
/**
|
|
13553
|
+
* 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.
|
|
13554
|
+
* @summary List EKS Anywhere commits
|
|
13555
|
+
* @param {string} organizationId Organization ID
|
|
13556
|
+
* @param {string} clusterId Cluster ID
|
|
13557
|
+
* @param {*} [options] Override http request option.
|
|
13558
|
+
* @throws {RequiredError}
|
|
13559
|
+
*/
|
|
13560
|
+
listEksAnywhereCommits(organizationId, clusterId, options) {
|
|
13561
|
+
return localVarFp.listEksAnywhereCommits(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
13562
|
+
},
|
|
13436
13563
|
/**
|
|
13437
13564
|
*
|
|
13438
13565
|
* @summary List organization clusters
|
|
@@ -13487,6 +13614,18 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13487
13614
|
unlockCluster(clusterId, options) {
|
|
13488
13615
|
return localVarFp.unlockCluster(clusterId, options).then((request) => request(axios, basePath));
|
|
13489
13616
|
},
|
|
13617
|
+
/**
|
|
13618
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
13619
|
+
* @summary Update selected EKS Anywhere commit
|
|
13620
|
+
* @param {string} organizationId Organization ID
|
|
13621
|
+
* @param {string} clusterId Cluster ID
|
|
13622
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
13623
|
+
* @param {*} [options] Override http request option.
|
|
13624
|
+
* @throws {RequiredError}
|
|
13625
|
+
*/
|
|
13626
|
+
updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options) {
|
|
13627
|
+
return localVarFp.updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options).then((request) => request(axios, basePath));
|
|
13628
|
+
},
|
|
13490
13629
|
/**
|
|
13491
13630
|
* Update karpenter private fargate subnet ids
|
|
13492
13631
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -13791,6 +13930,18 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
13791
13930
|
listClusterLogs(organizationId, clusterId, options) {
|
|
13792
13931
|
return (0, exports.ClustersApiFp)(this.configuration).listClusterLogs(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13793
13932
|
}
|
|
13933
|
+
/**
|
|
13934
|
+
* 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.
|
|
13935
|
+
* @summary List EKS Anywhere commits
|
|
13936
|
+
* @param {string} organizationId Organization ID
|
|
13937
|
+
* @param {string} clusterId Cluster ID
|
|
13938
|
+
* @param {*} [options] Override http request option.
|
|
13939
|
+
* @throws {RequiredError}
|
|
13940
|
+
* @memberof ClustersApi
|
|
13941
|
+
*/
|
|
13942
|
+
listEksAnywhereCommits(organizationId, clusterId, options) {
|
|
13943
|
+
return (0, exports.ClustersApiFp)(this.configuration).listEksAnywhereCommits(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13944
|
+
}
|
|
13794
13945
|
/**
|
|
13795
13946
|
*
|
|
13796
13947
|
* @summary List organization clusters
|
|
@@ -13850,6 +14001,19 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
13850
14001
|
unlockCluster(clusterId, options) {
|
|
13851
14002
|
return (0, exports.ClustersApiFp)(this.configuration).unlockCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13852
14003
|
}
|
|
14004
|
+
/**
|
|
14005
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
14006
|
+
* @summary Update selected EKS Anywhere commit
|
|
14007
|
+
* @param {string} organizationId Organization ID
|
|
14008
|
+
* @param {string} clusterId Cluster ID
|
|
14009
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
14010
|
+
* @param {*} [options] Override http request option.
|
|
14011
|
+
* @throws {RequiredError}
|
|
14012
|
+
* @memberof ClustersApi
|
|
14013
|
+
*/
|
|
14014
|
+
updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options) {
|
|
14015
|
+
return (0, exports.ClustersApiFp)(this.configuration).updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14016
|
+
}
|
|
13853
14017
|
/**
|
|
13854
14018
|
* Update karpenter private fargate subnet ids
|
|
13855
14019
|
* @summary Update karpenter private fargate subnet ids
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -3562,6 +3562,12 @@ export interface ClusterEksAnywhereGitRepository {
|
|
|
3562
3562
|
* @memberof ClusterEksAnywhereGitRepository
|
|
3563
3563
|
*/
|
|
3564
3564
|
'branch'?: string;
|
|
3565
|
+
/**
|
|
3566
|
+
* Optional git commit SHA to pin EKS Anywhere configuration on a specific revision. If omitted, the latest commit from the selected branch is used.
|
|
3567
|
+
* @type {string}
|
|
3568
|
+
* @memberof ClusterEksAnywhereGitRepository
|
|
3569
|
+
*/
|
|
3570
|
+
'commit_id'?: string;
|
|
3565
3571
|
/**
|
|
3566
3572
|
* Qovery git token id used to access the repository
|
|
3567
3573
|
* @type {string}
|
|
@@ -8695,6 +8701,32 @@ export declare const DockerfileFragmentInlineTypeEnum: {
|
|
|
8695
8701
|
readonly INLINE: "inline";
|
|
8696
8702
|
};
|
|
8697
8703
|
export type DockerfileFragmentInlineTypeEnum = typeof DockerfileFragmentInlineTypeEnum[keyof typeof DockerfileFragmentInlineTypeEnum];
|
|
8704
|
+
/**
|
|
8705
|
+
*
|
|
8706
|
+
* @export
|
|
8707
|
+
* @interface EksAnywhereCommitRequest
|
|
8708
|
+
*/
|
|
8709
|
+
export interface EksAnywhereCommitRequest {
|
|
8710
|
+
/**
|
|
8711
|
+
*
|
|
8712
|
+
* @type {string}
|
|
8713
|
+
* @memberof EksAnywhereCommitRequest
|
|
8714
|
+
*/
|
|
8715
|
+
'commit_id': string;
|
|
8716
|
+
}
|
|
8717
|
+
/**
|
|
8718
|
+
*
|
|
8719
|
+
* @export
|
|
8720
|
+
* @interface EksAnywhereCommitResponse
|
|
8721
|
+
*/
|
|
8722
|
+
export interface EksAnywhereCommitResponse {
|
|
8723
|
+
/**
|
|
8724
|
+
*
|
|
8725
|
+
* @type {string}
|
|
8726
|
+
* @memberof EksAnywhereCommitResponse
|
|
8727
|
+
*/
|
|
8728
|
+
'commit_id': string;
|
|
8729
|
+
}
|
|
8698
8730
|
/**
|
|
8699
8731
|
*
|
|
8700
8732
|
* @export
|
|
@@ -26351,6 +26383,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26351
26383
|
* @throws {RequiredError}
|
|
26352
26384
|
*/
|
|
26353
26385
|
listClusterLogs: (organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26386
|
+
/**
|
|
26387
|
+
* 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.
|
|
26388
|
+
* @summary List EKS Anywhere commits
|
|
26389
|
+
* @param {string} organizationId Organization ID
|
|
26390
|
+
* @param {string} clusterId Cluster ID
|
|
26391
|
+
* @param {*} [options] Override http request option.
|
|
26392
|
+
* @throws {RequiredError}
|
|
26393
|
+
*/
|
|
26394
|
+
listEksAnywhereCommits: (organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26354
26395
|
/**
|
|
26355
26396
|
*
|
|
26356
26397
|
* @summary List organization clusters
|
|
@@ -26395,6 +26436,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26395
26436
|
* @throws {RequiredError}
|
|
26396
26437
|
*/
|
|
26397
26438
|
unlockCluster: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26439
|
+
/**
|
|
26440
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
26441
|
+
* @summary Update selected EKS Anywhere commit
|
|
26442
|
+
* @param {string} organizationId Organization ID
|
|
26443
|
+
* @param {string} clusterId Cluster ID
|
|
26444
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
26445
|
+
* @param {*} [options] Override http request option.
|
|
26446
|
+
* @throws {RequiredError}
|
|
26447
|
+
*/
|
|
26448
|
+
updateEksAnywhereCommit: (organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26398
26449
|
/**
|
|
26399
26450
|
* Update karpenter private fargate subnet ids
|
|
26400
26451
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -26631,6 +26682,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
26631
26682
|
* @throws {RequiredError}
|
|
26632
26683
|
*/
|
|
26633
26684
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponseList>>;
|
|
26685
|
+
/**
|
|
26686
|
+
* 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.
|
|
26687
|
+
* @summary List EKS Anywhere commits
|
|
26688
|
+
* @param {string} organizationId Organization ID
|
|
26689
|
+
* @param {string} clusterId Cluster ID
|
|
26690
|
+
* @param {*} [options] Override http request option.
|
|
26691
|
+
* @throws {RequiredError}
|
|
26692
|
+
*/
|
|
26693
|
+
listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>>;
|
|
26634
26694
|
/**
|
|
26635
26695
|
*
|
|
26636
26696
|
* @summary List organization clusters
|
|
@@ -26675,6 +26735,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
26675
26735
|
* @throws {RequiredError}
|
|
26676
26736
|
*/
|
|
26677
26737
|
unlockCluster(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
26738
|
+
/**
|
|
26739
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
26740
|
+
* @summary Update selected EKS Anywhere commit
|
|
26741
|
+
* @param {string} organizationId Organization ID
|
|
26742
|
+
* @param {string} clusterId Cluster ID
|
|
26743
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
26744
|
+
* @param {*} [options] Override http request option.
|
|
26745
|
+
* @throws {RequiredError}
|
|
26746
|
+
*/
|
|
26747
|
+
updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EksAnywhereCommitResponse>>;
|
|
26678
26748
|
/**
|
|
26679
26749
|
* Update karpenter private fargate subnet ids
|
|
26680
26750
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -26911,6 +26981,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
26911
26981
|
* @throws {RequiredError}
|
|
26912
26982
|
*/
|
|
26913
26983
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponseList>;
|
|
26984
|
+
/**
|
|
26985
|
+
* 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.
|
|
26986
|
+
* @summary List EKS Anywhere commits
|
|
26987
|
+
* @param {string} organizationId Organization ID
|
|
26988
|
+
* @param {string} clusterId Cluster ID
|
|
26989
|
+
* @param {*} [options] Override http request option.
|
|
26990
|
+
* @throws {RequiredError}
|
|
26991
|
+
*/
|
|
26992
|
+
listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommitResponseList>;
|
|
26914
26993
|
/**
|
|
26915
26994
|
*
|
|
26916
26995
|
* @summary List organization clusters
|
|
@@ -26955,6 +27034,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
26955
27034
|
* @throws {RequiredError}
|
|
26956
27035
|
*/
|
|
26957
27036
|
unlockCluster(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27037
|
+
/**
|
|
27038
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
27039
|
+
* @summary Update selected EKS Anywhere commit
|
|
27040
|
+
* @param {string} organizationId Organization ID
|
|
27041
|
+
* @param {string} clusterId Cluster ID
|
|
27042
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
27043
|
+
* @param {*} [options] Override http request option.
|
|
27044
|
+
* @throws {RequiredError}
|
|
27045
|
+
*/
|
|
27046
|
+
updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<EksAnywhereCommitResponse>;
|
|
26958
27047
|
/**
|
|
26959
27048
|
* Update karpenter private fargate subnet ids
|
|
26960
27049
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -27213,6 +27302,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27213
27302
|
* @memberof ClustersApi
|
|
27214
27303
|
*/
|
|
27215
27304
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponseList, any, {}>>;
|
|
27305
|
+
/**
|
|
27306
|
+
* 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.
|
|
27307
|
+
* @summary List EKS Anywhere commits
|
|
27308
|
+
* @param {string} organizationId Organization ID
|
|
27309
|
+
* @param {string} clusterId Cluster ID
|
|
27310
|
+
* @param {*} [options] Override http request option.
|
|
27311
|
+
* @throws {RequiredError}
|
|
27312
|
+
* @memberof ClustersApi
|
|
27313
|
+
*/
|
|
27314
|
+
listEksAnywhereCommits(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommitResponseList, any, {}>>;
|
|
27216
27315
|
/**
|
|
27217
27316
|
*
|
|
27218
27317
|
* @summary List organization clusters
|
|
@@ -27262,6 +27361,17 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27262
27361
|
* @memberof ClustersApi
|
|
27263
27362
|
*/
|
|
27264
27363
|
unlockCluster(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
27364
|
+
/**
|
|
27365
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
27366
|
+
* @summary Update selected EKS Anywhere commit
|
|
27367
|
+
* @param {string} organizationId Organization ID
|
|
27368
|
+
* @param {string} clusterId Cluster ID
|
|
27369
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
27370
|
+
* @param {*} [options] Override http request option.
|
|
27371
|
+
* @throws {RequiredError}
|
|
27372
|
+
* @memberof ClustersApi
|
|
27373
|
+
*/
|
|
27374
|
+
updateEksAnywhereCommit(organizationId: string, clusterId: string, eksAnywhereCommitRequest: EksAnywhereCommitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EksAnywhereCommitResponse, any, {}>>;
|
|
27265
27375
|
/**
|
|
27266
27376
|
* Update karpenter private fargate subnet ids
|
|
27267
27377
|
* @summary Update karpenter private fargate subnet ids
|
package/dist/esm/api.js
CHANGED
|
@@ -12327,6 +12327,44 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12327
12327
|
options: localVarRequestOptions,
|
|
12328
12328
|
};
|
|
12329
12329
|
}),
|
|
12330
|
+
/**
|
|
12331
|
+
* 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.
|
|
12332
|
+
* @summary List EKS Anywhere commits
|
|
12333
|
+
* @param {string} organizationId Organization ID
|
|
12334
|
+
* @param {string} clusterId Cluster ID
|
|
12335
|
+
* @param {*} [options] Override http request option.
|
|
12336
|
+
* @throws {RequiredError}
|
|
12337
|
+
*/
|
|
12338
|
+
listEksAnywhereCommits: (organizationId_1, clusterId_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, ...args_1], void 0, function* (organizationId, clusterId, options = {}) {
|
|
12339
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12340
|
+
assertParamExists('listEksAnywhereCommits', 'organizationId', organizationId);
|
|
12341
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
12342
|
+
assertParamExists('listEksAnywhereCommits', 'clusterId', clusterId);
|
|
12343
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/commits`
|
|
12344
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12345
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
12346
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12347
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12348
|
+
let baseOptions;
|
|
12349
|
+
if (configuration) {
|
|
12350
|
+
baseOptions = configuration.baseOptions;
|
|
12351
|
+
}
|
|
12352
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12353
|
+
const localVarHeaderParameter = {};
|
|
12354
|
+
const localVarQueryParameter = {};
|
|
12355
|
+
// authentication ApiKeyAuth required
|
|
12356
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
12357
|
+
// authentication bearerAuth required
|
|
12358
|
+
// http bearer authentication required
|
|
12359
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
12360
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12361
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12362
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12363
|
+
return {
|
|
12364
|
+
url: toPathString(localVarUrlObj),
|
|
12365
|
+
options: localVarRequestOptions,
|
|
12366
|
+
};
|
|
12367
|
+
}),
|
|
12330
12368
|
/**
|
|
12331
12369
|
*
|
|
12332
12370
|
* @summary List organization clusters
|
|
@@ -12511,6 +12549,49 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12511
12549
|
options: localVarRequestOptions,
|
|
12512
12550
|
};
|
|
12513
12551
|
}),
|
|
12552
|
+
/**
|
|
12553
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
12554
|
+
* @summary Update selected EKS Anywhere commit
|
|
12555
|
+
* @param {string} organizationId Organization ID
|
|
12556
|
+
* @param {string} clusterId Cluster ID
|
|
12557
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
12558
|
+
* @param {*} [options] Override http request option.
|
|
12559
|
+
* @throws {RequiredError}
|
|
12560
|
+
*/
|
|
12561
|
+
updateEksAnywhereCommit: (organizationId_1, clusterId_1, eksAnywhereCommitRequest_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, eksAnywhereCommitRequest_1, ...args_1], void 0, function* (organizationId, clusterId, eksAnywhereCommitRequest, options = {}) {
|
|
12562
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12563
|
+
assertParamExists('updateEksAnywhereCommit', 'organizationId', organizationId);
|
|
12564
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
12565
|
+
assertParamExists('updateEksAnywhereCommit', 'clusterId', clusterId);
|
|
12566
|
+
// verify required parameter 'eksAnywhereCommitRequest' is not null or undefined
|
|
12567
|
+
assertParamExists('updateEksAnywhereCommit', 'eksAnywhereCommitRequest', eksAnywhereCommitRequest);
|
|
12568
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/commit`
|
|
12569
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12570
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
12571
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12572
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12573
|
+
let baseOptions;
|
|
12574
|
+
if (configuration) {
|
|
12575
|
+
baseOptions = configuration.baseOptions;
|
|
12576
|
+
}
|
|
12577
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
12578
|
+
const localVarHeaderParameter = {};
|
|
12579
|
+
const localVarQueryParameter = {};
|
|
12580
|
+
// authentication ApiKeyAuth required
|
|
12581
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
12582
|
+
// authentication bearerAuth required
|
|
12583
|
+
// http bearer authentication required
|
|
12584
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
12585
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12586
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12587
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12588
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12589
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eksAnywhereCommitRequest, localVarRequestOptions, configuration);
|
|
12590
|
+
return {
|
|
12591
|
+
url: toPathString(localVarUrlObj),
|
|
12592
|
+
options: localVarRequestOptions,
|
|
12593
|
+
};
|
|
12594
|
+
}),
|
|
12514
12595
|
/**
|
|
12515
12596
|
* Update karpenter private fargate subnet ids
|
|
12516
12597
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -12967,6 +13048,23 @@ export const ClustersApiFp = function (configuration) {
|
|
|
12967
13048
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12968
13049
|
});
|
|
12969
13050
|
},
|
|
13051
|
+
/**
|
|
13052
|
+
* 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.
|
|
13053
|
+
* @summary List EKS Anywhere commits
|
|
13054
|
+
* @param {string} organizationId Organization ID
|
|
13055
|
+
* @param {string} clusterId Cluster ID
|
|
13056
|
+
* @param {*} [options] Override http request option.
|
|
13057
|
+
* @throws {RequiredError}
|
|
13058
|
+
*/
|
|
13059
|
+
listEksAnywhereCommits(organizationId, clusterId, options) {
|
|
13060
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13061
|
+
var _a, _b, _c;
|
|
13062
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEksAnywhereCommits(organizationId, clusterId, options);
|
|
13063
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13064
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClustersApi.listEksAnywhereCommits']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13065
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13066
|
+
});
|
|
13067
|
+
},
|
|
12970
13068
|
/**
|
|
12971
13069
|
*
|
|
12972
13070
|
* @summary List organization clusters
|
|
@@ -13051,6 +13149,24 @@ export const ClustersApiFp = function (configuration) {
|
|
|
13051
13149
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13052
13150
|
});
|
|
13053
13151
|
},
|
|
13152
|
+
/**
|
|
13153
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
13154
|
+
* @summary Update selected EKS Anywhere commit
|
|
13155
|
+
* @param {string} organizationId Organization ID
|
|
13156
|
+
* @param {string} clusterId Cluster ID
|
|
13157
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
13158
|
+
* @param {*} [options] Override http request option.
|
|
13159
|
+
* @throws {RequiredError}
|
|
13160
|
+
*/
|
|
13161
|
+
updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options) {
|
|
13162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13163
|
+
var _a, _b, _c;
|
|
13164
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options);
|
|
13165
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13166
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClustersApi.updateEksAnywhereCommit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13167
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13168
|
+
});
|
|
13169
|
+
},
|
|
13054
13170
|
/**
|
|
13055
13171
|
* Update karpenter private fargate subnet ids
|
|
13056
13172
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -13346,6 +13462,17 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13346
13462
|
listClusterLogs(organizationId, clusterId, options) {
|
|
13347
13463
|
return localVarFp.listClusterLogs(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
13348
13464
|
},
|
|
13465
|
+
/**
|
|
13466
|
+
* 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.
|
|
13467
|
+
* @summary List EKS Anywhere commits
|
|
13468
|
+
* @param {string} organizationId Organization ID
|
|
13469
|
+
* @param {string} clusterId Cluster ID
|
|
13470
|
+
* @param {*} [options] Override http request option.
|
|
13471
|
+
* @throws {RequiredError}
|
|
13472
|
+
*/
|
|
13473
|
+
listEksAnywhereCommits(organizationId, clusterId, options) {
|
|
13474
|
+
return localVarFp.listEksAnywhereCommits(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
13475
|
+
},
|
|
13349
13476
|
/**
|
|
13350
13477
|
*
|
|
13351
13478
|
* @summary List organization clusters
|
|
@@ -13400,6 +13527,18 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13400
13527
|
unlockCluster(clusterId, options) {
|
|
13401
13528
|
return localVarFp.unlockCluster(clusterId, options).then((request) => request(axios, basePath));
|
|
13402
13529
|
},
|
|
13530
|
+
/**
|
|
13531
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
13532
|
+
* @summary Update selected EKS Anywhere commit
|
|
13533
|
+
* @param {string} organizationId Organization ID
|
|
13534
|
+
* @param {string} clusterId Cluster ID
|
|
13535
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
13536
|
+
* @param {*} [options] Override http request option.
|
|
13537
|
+
* @throws {RequiredError}
|
|
13538
|
+
*/
|
|
13539
|
+
updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options) {
|
|
13540
|
+
return localVarFp.updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options).then((request) => request(axios, basePath));
|
|
13541
|
+
},
|
|
13403
13542
|
/**
|
|
13404
13543
|
* Update karpenter private fargate subnet ids
|
|
13405
13544
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -13703,6 +13842,18 @@ export class ClustersApi extends BaseAPI {
|
|
|
13703
13842
|
listClusterLogs(organizationId, clusterId, options) {
|
|
13704
13843
|
return ClustersApiFp(this.configuration).listClusterLogs(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13705
13844
|
}
|
|
13845
|
+
/**
|
|
13846
|
+
* 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.
|
|
13847
|
+
* @summary List EKS Anywhere commits
|
|
13848
|
+
* @param {string} organizationId Organization ID
|
|
13849
|
+
* @param {string} clusterId Cluster ID
|
|
13850
|
+
* @param {*} [options] Override http request option.
|
|
13851
|
+
* @throws {RequiredError}
|
|
13852
|
+
* @memberof ClustersApi
|
|
13853
|
+
*/
|
|
13854
|
+
listEksAnywhereCommits(organizationId, clusterId, options) {
|
|
13855
|
+
return ClustersApiFp(this.configuration).listEksAnywhereCommits(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13856
|
+
}
|
|
13706
13857
|
/**
|
|
13707
13858
|
*
|
|
13708
13859
|
* @summary List organization clusters
|
|
@@ -13762,6 +13913,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
13762
13913
|
unlockCluster(clusterId, options) {
|
|
13763
13914
|
return ClustersApiFp(this.configuration).unlockCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13764
13915
|
}
|
|
13916
|
+
/**
|
|
13917
|
+
* Persist selected commit for an EKS Anywhere cluster.
|
|
13918
|
+
* @summary Update selected EKS Anywhere commit
|
|
13919
|
+
* @param {string} organizationId Organization ID
|
|
13920
|
+
* @param {string} clusterId Cluster ID
|
|
13921
|
+
* @param {EksAnywhereCommitRequest} eksAnywhereCommitRequest
|
|
13922
|
+
* @param {*} [options] Override http request option.
|
|
13923
|
+
* @throws {RequiredError}
|
|
13924
|
+
* @memberof ClustersApi
|
|
13925
|
+
*/
|
|
13926
|
+
updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options) {
|
|
13927
|
+
return ClustersApiFp(this.configuration).updateEksAnywhereCommit(organizationId, clusterId, eksAnywhereCommitRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13928
|
+
}
|
|
13765
13929
|
/**
|
|
13766
13930
|
* Update karpenter private fargate subnet ids
|
|
13767
13931
|
* @summary Update karpenter private fargate subnet ids
|