qovery-typescript-axios 1.1.860 → 1.1.861
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 +96 -0
- package/dist/api.d.ts +50 -0
- package/dist/api.js +78 -0
- package/dist/esm/api.d.ts +50 -0
- package/dist/esm/api.js +78 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -9199,6 +9199,19 @@ export const DockerfileFragmentInlineTypeEnum = {
|
|
|
9199
9199
|
|
|
9200
9200
|
export type DockerfileFragmentInlineTypeEnum = typeof DockerfileFragmentInlineTypeEnum[keyof typeof DockerfileFragmentInlineTypeEnum];
|
|
9201
9201
|
|
|
9202
|
+
/**
|
|
9203
|
+
*
|
|
9204
|
+
* @export
|
|
9205
|
+
* @interface EksAnywhereClusterJwtResponse
|
|
9206
|
+
*/
|
|
9207
|
+
export interface EksAnywhereClusterJwtResponse {
|
|
9208
|
+
/**
|
|
9209
|
+
*
|
|
9210
|
+
* @type {string}
|
|
9211
|
+
* @memberof EksAnywhereClusterJwtResponse
|
|
9212
|
+
*/
|
|
9213
|
+
'jwt': string;
|
|
9214
|
+
}
|
|
9202
9215
|
/**
|
|
9203
9216
|
*
|
|
9204
9217
|
* @export
|
|
@@ -34045,6 +34058,51 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34045
34058
|
|
|
34046
34059
|
|
|
34047
34060
|
|
|
34061
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34062
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34063
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34064
|
+
|
|
34065
|
+
return {
|
|
34066
|
+
url: toPathString(localVarUrlObj),
|
|
34067
|
+
options: localVarRequestOptions,
|
|
34068
|
+
};
|
|
34069
|
+
},
|
|
34070
|
+
/**
|
|
34071
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
34072
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
34073
|
+
* @param {string} organizationId Organization ID
|
|
34074
|
+
* @param {string} clusterId Cluster ID
|
|
34075
|
+
* @param {*} [options] Override http request option.
|
|
34076
|
+
* @throws {RequiredError}
|
|
34077
|
+
*/
|
|
34078
|
+
getEksAnywhereClusterJwt: async (organizationId: string, clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34079
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
34080
|
+
assertParamExists('getEksAnywhereClusterJwt', 'organizationId', organizationId)
|
|
34081
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
34082
|
+
assertParamExists('getEksAnywhereClusterJwt', 'clusterId', clusterId)
|
|
34083
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/jwt`
|
|
34084
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
34085
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
34086
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34087
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34088
|
+
let baseOptions;
|
|
34089
|
+
if (configuration) {
|
|
34090
|
+
baseOptions = configuration.baseOptions;
|
|
34091
|
+
}
|
|
34092
|
+
|
|
34093
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34094
|
+
const localVarHeaderParameter = {} as any;
|
|
34095
|
+
const localVarQueryParameter = {} as any;
|
|
34096
|
+
|
|
34097
|
+
// authentication ApiKeyAuth required
|
|
34098
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
34099
|
+
|
|
34100
|
+
// authentication bearerAuth required
|
|
34101
|
+
// http bearer authentication required
|
|
34102
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34103
|
+
|
|
34104
|
+
|
|
34105
|
+
|
|
34048
34106
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34049
34107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34050
34108
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -34976,6 +35034,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
34976
35034
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getDefaultClusterAdvancedSettings']?.[localVarOperationServerIndex]?.url;
|
|
34977
35035
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34978
35036
|
},
|
|
35037
|
+
/**
|
|
35038
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
35039
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
35040
|
+
* @param {string} organizationId Organization ID
|
|
35041
|
+
* @param {string} clusterId Cluster ID
|
|
35042
|
+
* @param {*} [options] Override http request option.
|
|
35043
|
+
* @throws {RequiredError}
|
|
35044
|
+
*/
|
|
35045
|
+
async getEksAnywhereClusterJwt(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EksAnywhereClusterJwtResponse>> {
|
|
35046
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEksAnywhereClusterJwt(organizationId, clusterId, options);
|
|
35047
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
35048
|
+
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getEksAnywhereClusterJwt']?.[localVarOperationServerIndex]?.url;
|
|
35049
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35050
|
+
},
|
|
34979
35051
|
/**
|
|
34980
35052
|
*
|
|
34981
35053
|
* @summary List environments services by cluster id
|
|
@@ -35392,6 +35464,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
35392
35464
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClusterAdvancedSettings> {
|
|
35393
35465
|
return localVarFp.getDefaultClusterAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
35394
35466
|
},
|
|
35467
|
+
/**
|
|
35468
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
35469
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
35470
|
+
* @param {string} organizationId Organization ID
|
|
35471
|
+
* @param {string} clusterId Cluster ID
|
|
35472
|
+
* @param {*} [options] Override http request option.
|
|
35473
|
+
* @throws {RequiredError}
|
|
35474
|
+
*/
|
|
35475
|
+
getEksAnywhereClusterJwt(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<EksAnywhereClusterJwtResponse> {
|
|
35476
|
+
return localVarFp.getEksAnywhereClusterJwt(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
35477
|
+
},
|
|
35395
35478
|
/**
|
|
35396
35479
|
*
|
|
35397
35480
|
* @summary List environments services by cluster id
|
|
@@ -35793,6 +35876,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
35793
35876
|
return ClustersApiFp(this.configuration).getDefaultClusterAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
35794
35877
|
}
|
|
35795
35878
|
|
|
35879
|
+
/**
|
|
35880
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
35881
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
35882
|
+
* @param {string} organizationId Organization ID
|
|
35883
|
+
* @param {string} clusterId Cluster ID
|
|
35884
|
+
* @param {*} [options] Override http request option.
|
|
35885
|
+
* @throws {RequiredError}
|
|
35886
|
+
* @memberof ClustersApi
|
|
35887
|
+
*/
|
|
35888
|
+
public getEksAnywhereClusterJwt(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) {
|
|
35889
|
+
return ClustersApiFp(this.configuration).getEksAnywhereClusterJwt(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
35890
|
+
}
|
|
35891
|
+
|
|
35796
35892
|
/**
|
|
35797
35893
|
*
|
|
35798
35894
|
* @summary List environments services by cluster id
|
package/dist/api.d.ts
CHANGED
|
@@ -8919,6 +8919,19 @@ export declare const DockerfileFragmentInlineTypeEnum: {
|
|
|
8919
8919
|
readonly INLINE: "inline";
|
|
8920
8920
|
};
|
|
8921
8921
|
export type DockerfileFragmentInlineTypeEnum = typeof DockerfileFragmentInlineTypeEnum[keyof typeof DockerfileFragmentInlineTypeEnum];
|
|
8922
|
+
/**
|
|
8923
|
+
*
|
|
8924
|
+
* @export
|
|
8925
|
+
* @interface EksAnywhereClusterJwtResponse
|
|
8926
|
+
*/
|
|
8927
|
+
export interface EksAnywhereClusterJwtResponse {
|
|
8928
|
+
/**
|
|
8929
|
+
*
|
|
8930
|
+
* @type {string}
|
|
8931
|
+
* @memberof EksAnywhereClusterJwtResponse
|
|
8932
|
+
*/
|
|
8933
|
+
'jwt': string;
|
|
8934
|
+
}
|
|
8922
8935
|
/**
|
|
8923
8936
|
*
|
|
8924
8937
|
* @export
|
|
@@ -26723,6 +26736,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26723
26736
|
* @throws {RequiredError}
|
|
26724
26737
|
*/
|
|
26725
26738
|
getDefaultClusterAdvancedSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26739
|
+
/**
|
|
26740
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
26741
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
26742
|
+
* @param {string} organizationId Organization ID
|
|
26743
|
+
* @param {string} clusterId Cluster ID
|
|
26744
|
+
* @param {*} [options] Override http request option.
|
|
26745
|
+
* @throws {RequiredError}
|
|
26746
|
+
*/
|
|
26747
|
+
getEksAnywhereClusterJwt: (organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26726
26748
|
/**
|
|
26727
26749
|
*
|
|
26728
26750
|
* @summary List environments services by cluster id
|
|
@@ -27030,6 +27052,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
27030
27052
|
* @throws {RequiredError}
|
|
27031
27053
|
*/
|
|
27032
27054
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
|
|
27055
|
+
/**
|
|
27056
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
27057
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
27058
|
+
* @param {string} organizationId Organization ID
|
|
27059
|
+
* @param {string} clusterId Cluster ID
|
|
27060
|
+
* @param {*} [options] Override http request option.
|
|
27061
|
+
* @throws {RequiredError}
|
|
27062
|
+
*/
|
|
27063
|
+
getEksAnywhereClusterJwt(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EksAnywhereClusterJwtResponse>>;
|
|
27033
27064
|
/**
|
|
27034
27065
|
*
|
|
27035
27066
|
* @summary List environments services by cluster id
|
|
@@ -27337,6 +27368,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
27337
27368
|
* @throws {RequiredError}
|
|
27338
27369
|
*/
|
|
27339
27370
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClusterAdvancedSettings>;
|
|
27371
|
+
/**
|
|
27372
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
27373
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
27374
|
+
* @param {string} organizationId Organization ID
|
|
27375
|
+
* @param {string} clusterId Cluster ID
|
|
27376
|
+
* @param {*} [options] Override http request option.
|
|
27377
|
+
* @throws {RequiredError}
|
|
27378
|
+
*/
|
|
27379
|
+
getEksAnywhereClusterJwt(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<EksAnywhereClusterJwtResponse>;
|
|
27340
27380
|
/**
|
|
27341
27381
|
*
|
|
27342
27382
|
* @summary List environments services by cluster id
|
|
@@ -27661,6 +27701,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27661
27701
|
* @memberof ClustersApi
|
|
27662
27702
|
*/
|
|
27663
27703
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any, {}>>;
|
|
27704
|
+
/**
|
|
27705
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
27706
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
27707
|
+
* @param {string} organizationId Organization ID
|
|
27708
|
+
* @param {string} clusterId Cluster ID
|
|
27709
|
+
* @param {*} [options] Override http request option.
|
|
27710
|
+
* @throws {RequiredError}
|
|
27711
|
+
* @memberof ClustersApi
|
|
27712
|
+
*/
|
|
27713
|
+
getEksAnywhereClusterJwt(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EksAnywhereClusterJwtResponse, any, {}>>;
|
|
27664
27714
|
/**
|
|
27665
27715
|
*
|
|
27666
27716
|
* @summary List environments services by cluster id
|
package/dist/api.js
CHANGED
|
@@ -12259,6 +12259,44 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12259
12259
|
options: localVarRequestOptions,
|
|
12260
12260
|
};
|
|
12261
12261
|
}),
|
|
12262
|
+
/**
|
|
12263
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
12264
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
12265
|
+
* @param {string} organizationId Organization ID
|
|
12266
|
+
* @param {string} clusterId Cluster ID
|
|
12267
|
+
* @param {*} [options] Override http request option.
|
|
12268
|
+
* @throws {RequiredError}
|
|
12269
|
+
*/
|
|
12270
|
+
getEksAnywhereClusterJwt: (organizationId_1, clusterId_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, ...args_1], void 0, function* (organizationId, clusterId, options = {}) {
|
|
12271
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12272
|
+
(0, common_1.assertParamExists)('getEksAnywhereClusterJwt', 'organizationId', organizationId);
|
|
12273
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
12274
|
+
(0, common_1.assertParamExists)('getEksAnywhereClusterJwt', 'clusterId', clusterId);
|
|
12275
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/jwt`
|
|
12276
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12277
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
12278
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12279
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12280
|
+
let baseOptions;
|
|
12281
|
+
if (configuration) {
|
|
12282
|
+
baseOptions = configuration.baseOptions;
|
|
12283
|
+
}
|
|
12284
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12285
|
+
const localVarHeaderParameter = {};
|
|
12286
|
+
const localVarQueryParameter = {};
|
|
12287
|
+
// authentication ApiKeyAuth required
|
|
12288
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12289
|
+
// authentication bearerAuth required
|
|
12290
|
+
// http bearer authentication required
|
|
12291
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12292
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12293
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12294
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12295
|
+
return {
|
|
12296
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12297
|
+
options: localVarRequestOptions,
|
|
12298
|
+
};
|
|
12299
|
+
}),
|
|
12262
12300
|
/**
|
|
12263
12301
|
*
|
|
12264
12302
|
* @summary List environments services by cluster id
|
|
@@ -13117,6 +13155,23 @@ const ClustersApiFp = function (configuration) {
|
|
|
13117
13155
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13118
13156
|
});
|
|
13119
13157
|
},
|
|
13158
|
+
/**
|
|
13159
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
13160
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
13161
|
+
* @param {string} organizationId Organization ID
|
|
13162
|
+
* @param {string} clusterId Cluster ID
|
|
13163
|
+
* @param {*} [options] Override http request option.
|
|
13164
|
+
* @throws {RequiredError}
|
|
13165
|
+
*/
|
|
13166
|
+
getEksAnywhereClusterJwt(organizationId, clusterId, options) {
|
|
13167
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13168
|
+
var _a, _b, _c;
|
|
13169
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEksAnywhereClusterJwt(organizationId, clusterId, options);
|
|
13170
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13171
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClustersApi.getEksAnywhereClusterJwt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13172
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13173
|
+
});
|
|
13174
|
+
},
|
|
13120
13175
|
/**
|
|
13121
13176
|
*
|
|
13122
13177
|
* @summary List environments services by cluster id
|
|
@@ -13578,6 +13633,17 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13578
13633
|
getDefaultClusterAdvancedSettings(options) {
|
|
13579
13634
|
return localVarFp.getDefaultClusterAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
13580
13635
|
},
|
|
13636
|
+
/**
|
|
13637
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
13638
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
13639
|
+
* @param {string} organizationId Organization ID
|
|
13640
|
+
* @param {string} clusterId Cluster ID
|
|
13641
|
+
* @param {*} [options] Override http request option.
|
|
13642
|
+
* @throws {RequiredError}
|
|
13643
|
+
*/
|
|
13644
|
+
getEksAnywhereClusterJwt(organizationId, clusterId, options) {
|
|
13645
|
+
return localVarFp.getEksAnywhereClusterJwt(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
13646
|
+
},
|
|
13581
13647
|
/**
|
|
13582
13648
|
*
|
|
13583
13649
|
* @summary List environments services by cluster id
|
|
@@ -13964,6 +14030,18 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
13964
14030
|
getDefaultClusterAdvancedSettings(options) {
|
|
13965
14031
|
return (0, exports.ClustersApiFp)(this.configuration).getDefaultClusterAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
13966
14032
|
}
|
|
14033
|
+
/**
|
|
14034
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
14035
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
14036
|
+
* @param {string} organizationId Organization ID
|
|
14037
|
+
* @param {string} clusterId Cluster ID
|
|
14038
|
+
* @param {*} [options] Override http request option.
|
|
14039
|
+
* @throws {RequiredError}
|
|
14040
|
+
* @memberof ClustersApi
|
|
14041
|
+
*/
|
|
14042
|
+
getEksAnywhereClusterJwt(organizationId, clusterId, options) {
|
|
14043
|
+
return (0, exports.ClustersApiFp)(this.configuration).getEksAnywhereClusterJwt(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
14044
|
+
}
|
|
13967
14045
|
/**
|
|
13968
14046
|
*
|
|
13969
14047
|
* @summary List environments services by cluster id
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -8919,6 +8919,19 @@ export declare const DockerfileFragmentInlineTypeEnum: {
|
|
|
8919
8919
|
readonly INLINE: "inline";
|
|
8920
8920
|
};
|
|
8921
8921
|
export type DockerfileFragmentInlineTypeEnum = typeof DockerfileFragmentInlineTypeEnum[keyof typeof DockerfileFragmentInlineTypeEnum];
|
|
8922
|
+
/**
|
|
8923
|
+
*
|
|
8924
|
+
* @export
|
|
8925
|
+
* @interface EksAnywhereClusterJwtResponse
|
|
8926
|
+
*/
|
|
8927
|
+
export interface EksAnywhereClusterJwtResponse {
|
|
8928
|
+
/**
|
|
8929
|
+
*
|
|
8930
|
+
* @type {string}
|
|
8931
|
+
* @memberof EksAnywhereClusterJwtResponse
|
|
8932
|
+
*/
|
|
8933
|
+
'jwt': string;
|
|
8934
|
+
}
|
|
8922
8935
|
/**
|
|
8923
8936
|
*
|
|
8924
8937
|
* @export
|
|
@@ -26723,6 +26736,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26723
26736
|
* @throws {RequiredError}
|
|
26724
26737
|
*/
|
|
26725
26738
|
getDefaultClusterAdvancedSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26739
|
+
/**
|
|
26740
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
26741
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
26742
|
+
* @param {string} organizationId Organization ID
|
|
26743
|
+
* @param {string} clusterId Cluster ID
|
|
26744
|
+
* @param {*} [options] Override http request option.
|
|
26745
|
+
* @throws {RequiredError}
|
|
26746
|
+
*/
|
|
26747
|
+
getEksAnywhereClusterJwt: (organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26726
26748
|
/**
|
|
26727
26749
|
*
|
|
26728
26750
|
* @summary List environments services by cluster id
|
|
@@ -27030,6 +27052,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
27030
27052
|
* @throws {RequiredError}
|
|
27031
27053
|
*/
|
|
27032
27054
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
|
|
27055
|
+
/**
|
|
27056
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
27057
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
27058
|
+
* @param {string} organizationId Organization ID
|
|
27059
|
+
* @param {string} clusterId Cluster ID
|
|
27060
|
+
* @param {*} [options] Override http request option.
|
|
27061
|
+
* @throws {RequiredError}
|
|
27062
|
+
*/
|
|
27063
|
+
getEksAnywhereClusterJwt(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EksAnywhereClusterJwtResponse>>;
|
|
27033
27064
|
/**
|
|
27034
27065
|
*
|
|
27035
27066
|
* @summary List environments services by cluster id
|
|
@@ -27337,6 +27368,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
27337
27368
|
* @throws {RequiredError}
|
|
27338
27369
|
*/
|
|
27339
27370
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClusterAdvancedSettings>;
|
|
27371
|
+
/**
|
|
27372
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
27373
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
27374
|
+
* @param {string} organizationId Organization ID
|
|
27375
|
+
* @param {string} clusterId Cluster ID
|
|
27376
|
+
* @param {*} [options] Override http request option.
|
|
27377
|
+
* @throws {RequiredError}
|
|
27378
|
+
*/
|
|
27379
|
+
getEksAnywhereClusterJwt(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<EksAnywhereClusterJwtResponse>;
|
|
27340
27380
|
/**
|
|
27341
27381
|
*
|
|
27342
27382
|
* @summary List environments services by cluster id
|
|
@@ -27661,6 +27701,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27661
27701
|
* @memberof ClustersApi
|
|
27662
27702
|
*/
|
|
27663
27703
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any, {}>>;
|
|
27704
|
+
/**
|
|
27705
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
27706
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
27707
|
+
* @param {string} organizationId Organization ID
|
|
27708
|
+
* @param {string} clusterId Cluster ID
|
|
27709
|
+
* @param {*} [options] Override http request option.
|
|
27710
|
+
* @throws {RequiredError}
|
|
27711
|
+
* @memberof ClustersApi
|
|
27712
|
+
*/
|
|
27713
|
+
getEksAnywhereClusterJwt(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EksAnywhereClusterJwtResponse, any, {}>>;
|
|
27664
27714
|
/**
|
|
27665
27715
|
*
|
|
27666
27716
|
* @summary List environments services by cluster id
|
package/dist/esm/api.js
CHANGED
|
@@ -12174,6 +12174,44 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12174
12174
|
options: localVarRequestOptions,
|
|
12175
12175
|
};
|
|
12176
12176
|
}),
|
|
12177
|
+
/**
|
|
12178
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
12179
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
12180
|
+
* @param {string} organizationId Organization ID
|
|
12181
|
+
* @param {string} clusterId Cluster ID
|
|
12182
|
+
* @param {*} [options] Override http request option.
|
|
12183
|
+
* @throws {RequiredError}
|
|
12184
|
+
*/
|
|
12185
|
+
getEksAnywhereClusterJwt: (organizationId_1, clusterId_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, ...args_1], void 0, function* (organizationId, clusterId, options = {}) {
|
|
12186
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12187
|
+
assertParamExists('getEksAnywhereClusterJwt', 'organizationId', organizationId);
|
|
12188
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
12189
|
+
assertParamExists('getEksAnywhereClusterJwt', 'clusterId', clusterId);
|
|
12190
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/eks-anywhere/jwt`
|
|
12191
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12192
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
12193
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12194
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12195
|
+
let baseOptions;
|
|
12196
|
+
if (configuration) {
|
|
12197
|
+
baseOptions = configuration.baseOptions;
|
|
12198
|
+
}
|
|
12199
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12200
|
+
const localVarHeaderParameter = {};
|
|
12201
|
+
const localVarQueryParameter = {};
|
|
12202
|
+
// authentication ApiKeyAuth required
|
|
12203
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
12204
|
+
// authentication bearerAuth required
|
|
12205
|
+
// http bearer authentication required
|
|
12206
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
12207
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12208
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12209
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12210
|
+
return {
|
|
12211
|
+
url: toPathString(localVarUrlObj),
|
|
12212
|
+
options: localVarRequestOptions,
|
|
12213
|
+
};
|
|
12214
|
+
}),
|
|
12177
12215
|
/**
|
|
12178
12216
|
*
|
|
12179
12217
|
* @summary List environments services by cluster id
|
|
@@ -13031,6 +13069,23 @@ export const ClustersApiFp = function (configuration) {
|
|
|
13031
13069
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13032
13070
|
});
|
|
13033
13071
|
},
|
|
13072
|
+
/**
|
|
13073
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
13074
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
13075
|
+
* @param {string} organizationId Organization ID
|
|
13076
|
+
* @param {string} clusterId Cluster ID
|
|
13077
|
+
* @param {*} [options] Override http request option.
|
|
13078
|
+
* @throws {RequiredError}
|
|
13079
|
+
*/
|
|
13080
|
+
getEksAnywhereClusterJwt(organizationId, clusterId, options) {
|
|
13081
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13082
|
+
var _a, _b, _c;
|
|
13083
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEksAnywhereClusterJwt(organizationId, clusterId, options);
|
|
13084
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13085
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClustersApi.getEksAnywhereClusterJwt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13086
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13087
|
+
});
|
|
13088
|
+
},
|
|
13034
13089
|
/**
|
|
13035
13090
|
*
|
|
13036
13091
|
* @summary List environments services by cluster id
|
|
@@ -13491,6 +13546,17 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13491
13546
|
getDefaultClusterAdvancedSettings(options) {
|
|
13492
13547
|
return localVarFp.getDefaultClusterAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
13493
13548
|
},
|
|
13549
|
+
/**
|
|
13550
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
13551
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
13552
|
+
* @param {string} organizationId Organization ID
|
|
13553
|
+
* @param {string} clusterId Cluster ID
|
|
13554
|
+
* @param {*} [options] Override http request option.
|
|
13555
|
+
* @throws {RequiredError}
|
|
13556
|
+
*/
|
|
13557
|
+
getEksAnywhereClusterJwt(organizationId, clusterId, options) {
|
|
13558
|
+
return localVarFp.getEksAnywhereClusterJwt(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
13559
|
+
},
|
|
13494
13560
|
/**
|
|
13495
13561
|
*
|
|
13496
13562
|
* @summary List environments services by cluster id
|
|
@@ -13876,6 +13942,18 @@ export class ClustersApi extends BaseAPI {
|
|
|
13876
13942
|
getDefaultClusterAdvancedSettings(options) {
|
|
13877
13943
|
return ClustersApiFp(this.configuration).getDefaultClusterAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
13878
13944
|
}
|
|
13945
|
+
/**
|
|
13946
|
+
* Returns the latest valid JWT currently used for engine deployments for the specified EKS Anywhere cluster.
|
|
13947
|
+
* @summary Get latest EKS Anywhere cluster JWT
|
|
13948
|
+
* @param {string} organizationId Organization ID
|
|
13949
|
+
* @param {string} clusterId Cluster ID
|
|
13950
|
+
* @param {*} [options] Override http request option.
|
|
13951
|
+
* @throws {RequiredError}
|
|
13952
|
+
* @memberof ClustersApi
|
|
13953
|
+
*/
|
|
13954
|
+
getEksAnywhereClusterJwt(organizationId, clusterId, options) {
|
|
13955
|
+
return ClustersApiFp(this.configuration).getEksAnywhereClusterJwt(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13956
|
+
}
|
|
13879
13957
|
/**
|
|
13880
13958
|
*
|
|
13881
13959
|
* @summary List environments services by cluster id
|