qovery-typescript-axios 1.1.851 → 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 +208 -0
- package/dist/api.d.ts +111 -0
- package/dist/api.js +165 -0
- package/dist/esm/api.d.ts +111 -0
- package/dist/esm/api.js +165 -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
|
|
@@ -15868,6 +15900,7 @@ export const OrganizationAnnotationsGroupScopeEnum = {
|
|
|
15868
15900
|
STATEFUL_SETS: 'STATEFUL_SETS',
|
|
15869
15901
|
SERVICES: 'SERVICES',
|
|
15870
15902
|
INGRESS: 'INGRESS',
|
|
15903
|
+
GATEWAY_API_ROUTES: 'GATEWAY_API_ROUTES',
|
|
15871
15904
|
HPA: 'HPA',
|
|
15872
15905
|
PODS: 'PODS',
|
|
15873
15906
|
SECRETS: 'SECRETS',
|
|
@@ -33839,6 +33872,51 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33839
33872
|
|
|
33840
33873
|
|
|
33841
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
|
+
|
|
33842
33920
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33843
33921
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33844
33922
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -34069,6 +34147,57 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34069
34147
|
options: localVarRequestOptions,
|
|
34070
34148
|
};
|
|
34071
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
|
+
},
|
|
34072
34201
|
/**
|
|
34073
34202
|
* Update karpenter private fargate subnet ids
|
|
34074
34203
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -34481,6 +34610,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
34481
34610
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.listClusterLogs']?.[localVarOperationServerIndex]?.url;
|
|
34482
34611
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34483
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
|
+
},
|
|
34484
34627
|
/**
|
|
34485
34628
|
*
|
|
34486
34629
|
* @summary List organization clusters
|
|
@@ -34550,6 +34693,21 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
34550
34693
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.unlockCluster']?.[localVarOperationServerIndex]?.url;
|
|
34551
34694
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34552
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
|
+
},
|
|
34553
34711
|
/**
|
|
34554
34712
|
* Update karpenter private fargate subnet ids
|
|
34555
34713
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -34840,6 +34998,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
34840
34998
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponseList> {
|
|
34841
34999
|
return localVarFp.listClusterLogs(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
34842
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
|
+
},
|
|
34843
35012
|
/**
|
|
34844
35013
|
*
|
|
34845
35014
|
* @summary List organization clusters
|
|
@@ -34894,6 +35063,18 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
34894
35063
|
unlockCluster(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
34895
35064
|
return localVarFp.unlockCluster(clusterId, options).then((request) => request(axios, basePath));
|
|
34896
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
|
+
},
|
|
34897
35078
|
/**
|
|
34898
35079
|
* Update karpenter private fargate subnet ids
|
|
34899
35080
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -35218,6 +35399,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
35218
35399
|
return ClustersApiFp(this.configuration).listClusterLogs(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
35219
35400
|
}
|
|
35220
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
|
+
|
|
35221
35415
|
/**
|
|
35222
35416
|
*
|
|
35223
35417
|
* @summary List organization clusters
|
|
@@ -35282,6 +35476,20 @@ export class ClustersApi extends BaseAPI {
|
|
|
35282
35476
|
return ClustersApiFp(this.configuration).unlockCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
35283
35477
|
}
|
|
35284
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
|
+
|
|
35285
35493
|
/**
|
|
35286
35494
|
* Update karpenter private fargate subnet ids
|
|
35287
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
|
|
@@ -15398,6 +15430,7 @@ export declare const OrganizationAnnotationsGroupScopeEnum: {
|
|
|
15398
15430
|
readonly STATEFUL_SETS: "STATEFUL_SETS";
|
|
15399
15431
|
readonly SERVICES: "SERVICES";
|
|
15400
15432
|
readonly INGRESS: "INGRESS";
|
|
15433
|
+
readonly GATEWAY_API_ROUTES: "GATEWAY_API_ROUTES";
|
|
15401
15434
|
readonly HPA: "HPA";
|
|
15402
15435
|
readonly PODS: "PODS";
|
|
15403
15436
|
readonly SECRETS: "SECRETS";
|
|
@@ -26350,6 +26383,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26350
26383
|
* @throws {RequiredError}
|
|
26351
26384
|
*/
|
|
26352
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>;
|
|
26353
26395
|
/**
|
|
26354
26396
|
*
|
|
26355
26397
|
* @summary List organization clusters
|
|
@@ -26394,6 +26436,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26394
26436
|
* @throws {RequiredError}
|
|
26395
26437
|
*/
|
|
26396
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>;
|
|
26397
26449
|
/**
|
|
26398
26450
|
* Update karpenter private fargate subnet ids
|
|
26399
26451
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -26630,6 +26682,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
26630
26682
|
* @throws {RequiredError}
|
|
26631
26683
|
*/
|
|
26632
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>>;
|
|
26633
26694
|
/**
|
|
26634
26695
|
*
|
|
26635
26696
|
* @summary List organization clusters
|
|
@@ -26674,6 +26735,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
26674
26735
|
* @throws {RequiredError}
|
|
26675
26736
|
*/
|
|
26676
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>>;
|
|
26677
26748
|
/**
|
|
26678
26749
|
* Update karpenter private fargate subnet ids
|
|
26679
26750
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -26910,6 +26981,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
26910
26981
|
* @throws {RequiredError}
|
|
26911
26982
|
*/
|
|
26912
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>;
|
|
26913
26993
|
/**
|
|
26914
26994
|
*
|
|
26915
26995
|
* @summary List organization clusters
|
|
@@ -26954,6 +27034,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
26954
27034
|
* @throws {RequiredError}
|
|
26955
27035
|
*/
|
|
26956
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>;
|
|
26957
27047
|
/**
|
|
26958
27048
|
* Update karpenter private fargate subnet ids
|
|
26959
27049
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -27212,6 +27302,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27212
27302
|
* @memberof ClustersApi
|
|
27213
27303
|
*/
|
|
27214
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, {}>>;
|
|
27215
27315
|
/**
|
|
27216
27316
|
*
|
|
27217
27317
|
* @summary List organization clusters
|
|
@@ -27261,6 +27361,17 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27261
27361
|
* @memberof ClustersApi
|
|
27262
27362
|
*/
|
|
27263
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, {}>>;
|
|
27264
27375
|
/**
|
|
27265
27376
|
* Update karpenter private fargate subnet ids
|
|
27266
27377
|
* @summary Update karpenter private fargate subnet ids
|
package/dist/api.js
CHANGED
|
@@ -840,6 +840,7 @@ exports.OrganizationAnnotationsGroupScopeEnum = {
|
|
|
840
840
|
STATEFUL_SETS: 'STATEFUL_SETS',
|
|
841
841
|
SERVICES: 'SERVICES',
|
|
842
842
|
INGRESS: 'INGRESS',
|
|
843
|
+
GATEWAY_API_ROUTES: 'GATEWAY_API_ROUTES',
|
|
843
844
|
HPA: 'HPA',
|
|
844
845
|
PODS: 'PODS',
|
|
845
846
|
SECRETS: 'SECRETS',
|
|
@@ -12411,6 +12412,44 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12411
12412
|
options: localVarRequestOptions,
|
|
12412
12413
|
};
|
|
12413
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
|
+
}),
|
|
12414
12453
|
/**
|
|
12415
12454
|
*
|
|
12416
12455
|
* @summary List organization clusters
|
|
@@ -12595,6 +12634,49 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12595
12634
|
options: localVarRequestOptions,
|
|
12596
12635
|
};
|
|
12597
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
|
+
}),
|
|
12598
12680
|
/**
|
|
12599
12681
|
* Update karpenter private fargate subnet ids
|
|
12600
12682
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -13052,6 +13134,23 @@ const ClustersApiFp = function (configuration) {
|
|
|
13052
13134
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13053
13135
|
});
|
|
13054
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
|
+
},
|
|
13055
13154
|
/**
|
|
13056
13155
|
*
|
|
13057
13156
|
* @summary List organization clusters
|
|
@@ -13136,6 +13235,24 @@ const ClustersApiFp = function (configuration) {
|
|
|
13136
13235
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13137
13236
|
});
|
|
13138
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
|
+
},
|
|
13139
13256
|
/**
|
|
13140
13257
|
* Update karpenter private fargate subnet ids
|
|
13141
13258
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -13432,6 +13549,17 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13432
13549
|
listClusterLogs(organizationId, clusterId, options) {
|
|
13433
13550
|
return localVarFp.listClusterLogs(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
13434
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
|
+
},
|
|
13435
13563
|
/**
|
|
13436
13564
|
*
|
|
13437
13565
|
* @summary List organization clusters
|
|
@@ -13486,6 +13614,18 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13486
13614
|
unlockCluster(clusterId, options) {
|
|
13487
13615
|
return localVarFp.unlockCluster(clusterId, options).then((request) => request(axios, basePath));
|
|
13488
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
|
+
},
|
|
13489
13629
|
/**
|
|
13490
13630
|
* Update karpenter private fargate subnet ids
|
|
13491
13631
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -13790,6 +13930,18 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
13790
13930
|
listClusterLogs(organizationId, clusterId, options) {
|
|
13791
13931
|
return (0, exports.ClustersApiFp)(this.configuration).listClusterLogs(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13792
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
|
+
}
|
|
13793
13945
|
/**
|
|
13794
13946
|
*
|
|
13795
13947
|
* @summary List organization clusters
|
|
@@ -13849,6 +14001,19 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
13849
14001
|
unlockCluster(clusterId, options) {
|
|
13850
14002
|
return (0, exports.ClustersApiFp)(this.configuration).unlockCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13851
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
|
+
}
|
|
13852
14017
|
/**
|
|
13853
14018
|
* Update karpenter private fargate subnet ids
|
|
13854
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
|
|
@@ -15398,6 +15430,7 @@ export declare const OrganizationAnnotationsGroupScopeEnum: {
|
|
|
15398
15430
|
readonly STATEFUL_SETS: "STATEFUL_SETS";
|
|
15399
15431
|
readonly SERVICES: "SERVICES";
|
|
15400
15432
|
readonly INGRESS: "INGRESS";
|
|
15433
|
+
readonly GATEWAY_API_ROUTES: "GATEWAY_API_ROUTES";
|
|
15401
15434
|
readonly HPA: "HPA";
|
|
15402
15435
|
readonly PODS: "PODS";
|
|
15403
15436
|
readonly SECRETS: "SECRETS";
|
|
@@ -26350,6 +26383,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26350
26383
|
* @throws {RequiredError}
|
|
26351
26384
|
*/
|
|
26352
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>;
|
|
26353
26395
|
/**
|
|
26354
26396
|
*
|
|
26355
26397
|
* @summary List organization clusters
|
|
@@ -26394,6 +26436,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26394
26436
|
* @throws {RequiredError}
|
|
26395
26437
|
*/
|
|
26396
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>;
|
|
26397
26449
|
/**
|
|
26398
26450
|
* Update karpenter private fargate subnet ids
|
|
26399
26451
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -26630,6 +26682,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
26630
26682
|
* @throws {RequiredError}
|
|
26631
26683
|
*/
|
|
26632
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>>;
|
|
26633
26694
|
/**
|
|
26634
26695
|
*
|
|
26635
26696
|
* @summary List organization clusters
|
|
@@ -26674,6 +26735,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
26674
26735
|
* @throws {RequiredError}
|
|
26675
26736
|
*/
|
|
26676
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>>;
|
|
26677
26748
|
/**
|
|
26678
26749
|
* Update karpenter private fargate subnet ids
|
|
26679
26750
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -26910,6 +26981,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
26910
26981
|
* @throws {RequiredError}
|
|
26911
26982
|
*/
|
|
26912
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>;
|
|
26913
26993
|
/**
|
|
26914
26994
|
*
|
|
26915
26995
|
* @summary List organization clusters
|
|
@@ -26954,6 +27034,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
26954
27034
|
* @throws {RequiredError}
|
|
26955
27035
|
*/
|
|
26956
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>;
|
|
26957
27047
|
/**
|
|
26958
27048
|
* Update karpenter private fargate subnet ids
|
|
26959
27049
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -27212,6 +27302,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27212
27302
|
* @memberof ClustersApi
|
|
27213
27303
|
*/
|
|
27214
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, {}>>;
|
|
27215
27315
|
/**
|
|
27216
27316
|
*
|
|
27217
27317
|
* @summary List organization clusters
|
|
@@ -27261,6 +27361,17 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27261
27361
|
* @memberof ClustersApi
|
|
27262
27362
|
*/
|
|
27263
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, {}>>;
|
|
27264
27375
|
/**
|
|
27265
27376
|
* Update karpenter private fargate subnet ids
|
|
27266
27377
|
* @summary Update karpenter private fargate subnet ids
|
package/dist/esm/api.js
CHANGED
|
@@ -827,6 +827,7 @@ export const OrganizationAnnotationsGroupScopeEnum = {
|
|
|
827
827
|
STATEFUL_SETS: 'STATEFUL_SETS',
|
|
828
828
|
SERVICES: 'SERVICES',
|
|
829
829
|
INGRESS: 'INGRESS',
|
|
830
|
+
GATEWAY_API_ROUTES: 'GATEWAY_API_ROUTES',
|
|
830
831
|
HPA: 'HPA',
|
|
831
832
|
PODS: 'PODS',
|
|
832
833
|
SECRETS: 'SECRETS',
|
|
@@ -12326,6 +12327,44 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12326
12327
|
options: localVarRequestOptions,
|
|
12327
12328
|
};
|
|
12328
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
|
+
}),
|
|
12329
12368
|
/**
|
|
12330
12369
|
*
|
|
12331
12370
|
* @summary List organization clusters
|
|
@@ -12510,6 +12549,49 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12510
12549
|
options: localVarRequestOptions,
|
|
12511
12550
|
};
|
|
12512
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
|
+
}),
|
|
12513
12595
|
/**
|
|
12514
12596
|
* Update karpenter private fargate subnet ids
|
|
12515
12597
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -12966,6 +13048,23 @@ export const ClustersApiFp = function (configuration) {
|
|
|
12966
13048
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12967
13049
|
});
|
|
12968
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
|
+
},
|
|
12969
13068
|
/**
|
|
12970
13069
|
*
|
|
12971
13070
|
* @summary List organization clusters
|
|
@@ -13050,6 +13149,24 @@ export const ClustersApiFp = function (configuration) {
|
|
|
13050
13149
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13051
13150
|
});
|
|
13052
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
|
+
},
|
|
13053
13170
|
/**
|
|
13054
13171
|
* Update karpenter private fargate subnet ids
|
|
13055
13172
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -13345,6 +13462,17 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13345
13462
|
listClusterLogs(organizationId, clusterId, options) {
|
|
13346
13463
|
return localVarFp.listClusterLogs(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
13347
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
|
+
},
|
|
13348
13476
|
/**
|
|
13349
13477
|
*
|
|
13350
13478
|
* @summary List organization clusters
|
|
@@ -13399,6 +13527,18 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13399
13527
|
unlockCluster(clusterId, options) {
|
|
13400
13528
|
return localVarFp.unlockCluster(clusterId, options).then((request) => request(axios, basePath));
|
|
13401
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
|
+
},
|
|
13402
13542
|
/**
|
|
13403
13543
|
* Update karpenter private fargate subnet ids
|
|
13404
13544
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -13702,6 +13842,18 @@ export class ClustersApi extends BaseAPI {
|
|
|
13702
13842
|
listClusterLogs(organizationId, clusterId, options) {
|
|
13703
13843
|
return ClustersApiFp(this.configuration).listClusterLogs(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13704
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
|
+
}
|
|
13705
13857
|
/**
|
|
13706
13858
|
*
|
|
13707
13859
|
* @summary List organization clusters
|
|
@@ -13761,6 +13913,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
13761
13913
|
unlockCluster(clusterId, options) {
|
|
13762
13914
|
return ClustersApiFp(this.configuration).unlockCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13763
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
|
+
}
|
|
13764
13929
|
/**
|
|
13765
13930
|
* Update karpenter private fargate subnet ids
|
|
13766
13931
|
* @summary Update karpenter private fargate subnet ids
|