qovery-typescript-axios 1.1.573 → 1.1.575
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 +0 -77
- package/dist/api.d.ts +0 -34
- package/dist/api.js +0 -72
- package/dist/esm/api.d.ts +0 -34
- package/dist/esm/api.js +0 -72
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -11519,7 +11519,6 @@ export interface Key {
|
|
|
11519
11519
|
*/
|
|
11520
11520
|
|
|
11521
11521
|
export const KubernetesEnum = {
|
|
11522
|
-
K3_S: 'K3S',
|
|
11523
11522
|
MANAGED: 'MANAGED',
|
|
11524
11523
|
SELF_MANAGED: 'SELF_MANAGED'
|
|
11525
11524
|
} as const;
|
|
@@ -23389,47 +23388,6 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
23389
23388
|
|
|
23390
23389
|
|
|
23391
23390
|
|
|
23392
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23393
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23394
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23395
|
-
|
|
23396
|
-
return {
|
|
23397
|
-
url: toPathString(localVarUrlObj),
|
|
23398
|
-
options: localVarRequestOptions,
|
|
23399
|
-
};
|
|
23400
|
-
},
|
|
23401
|
-
/**
|
|
23402
|
-
*
|
|
23403
|
-
* @summary List AWS EC2 available instance types
|
|
23404
|
-
* @param {string} region region name
|
|
23405
|
-
* @param {*} [options] Override http request option.
|
|
23406
|
-
* @throws {RequiredError}
|
|
23407
|
-
*/
|
|
23408
|
-
listAWSEc2InstanceType: async (region: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23409
|
-
// verify required parameter 'region' is not null or undefined
|
|
23410
|
-
assertParamExists('listAWSEc2InstanceType', 'region', region)
|
|
23411
|
-
const localVarPath = `/aws/ec2/instanceType/{region}`
|
|
23412
|
-
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
23413
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23414
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23415
|
-
let baseOptions;
|
|
23416
|
-
if (configuration) {
|
|
23417
|
-
baseOptions = configuration.baseOptions;
|
|
23418
|
-
}
|
|
23419
|
-
|
|
23420
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23421
|
-
const localVarHeaderParameter = {} as any;
|
|
23422
|
-
const localVarQueryParameter = {} as any;
|
|
23423
|
-
|
|
23424
|
-
// authentication ApiKeyAuth required
|
|
23425
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
23426
|
-
|
|
23427
|
-
// authentication bearerAuth required
|
|
23428
|
-
// http bearer authentication required
|
|
23429
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23430
|
-
|
|
23431
|
-
|
|
23432
|
-
|
|
23433
23391
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23434
23392
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23435
23393
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24039,19 +23997,6 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
24039
23997
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAWSEKSInstanceType']?.[localVarOperationServerIndex]?.url;
|
|
24040
23998
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24041
23999
|
},
|
|
24042
|
-
/**
|
|
24043
|
-
*
|
|
24044
|
-
* @summary List AWS EC2 available instance types
|
|
24045
|
-
* @param {string} region region name
|
|
24046
|
-
* @param {*} [options] Override http request option.
|
|
24047
|
-
* @throws {RequiredError}
|
|
24048
|
-
*/
|
|
24049
|
-
async listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
24050
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEc2InstanceType(region, options);
|
|
24051
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24052
|
-
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAWSEc2InstanceType']?.[localVarOperationServerIndex]?.url;
|
|
24053
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24054
|
-
},
|
|
24055
24000
|
/**
|
|
24056
24001
|
*
|
|
24057
24002
|
* @summary List AWS features available
|
|
@@ -24259,16 +24204,6 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
24259
24204
|
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
24260
24205
|
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
|
|
24261
24206
|
},
|
|
24262
|
-
/**
|
|
24263
|
-
*
|
|
24264
|
-
* @summary List AWS EC2 available instance types
|
|
24265
|
-
* @param {string} region region name
|
|
24266
|
-
* @param {*} [options] Override http request option.
|
|
24267
|
-
* @throws {RequiredError}
|
|
24268
|
-
*/
|
|
24269
|
-
listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
24270
|
-
return localVarFp.listAWSEc2InstanceType(region, options).then((request) => request(axios, basePath));
|
|
24271
|
-
},
|
|
24272
24207
|
/**
|
|
24273
24208
|
*
|
|
24274
24209
|
* @summary List AWS features available
|
|
@@ -24433,18 +24368,6 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
24433
24368
|
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
|
|
24434
24369
|
}
|
|
24435
24370
|
|
|
24436
|
-
/**
|
|
24437
|
-
*
|
|
24438
|
-
* @summary List AWS EC2 available instance types
|
|
24439
|
-
* @param {string} region region name
|
|
24440
|
-
* @param {*} [options] Override http request option.
|
|
24441
|
-
* @throws {RequiredError}
|
|
24442
|
-
* @memberof CloudProviderApi
|
|
24443
|
-
*/
|
|
24444
|
-
public listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig) {
|
|
24445
|
-
return CloudProviderApiFp(this.configuration).listAWSEc2InstanceType(region, options).then((request) => request(this.axios, this.basePath));
|
|
24446
|
-
}
|
|
24447
|
-
|
|
24448
24371
|
/**
|
|
24449
24372
|
*
|
|
24450
24373
|
* @summary List AWS features available
|
package/dist/api.d.ts
CHANGED
|
@@ -11170,7 +11170,6 @@ export interface Key {
|
|
|
11170
11170
|
* @enum {string}
|
|
11171
11171
|
*/
|
|
11172
11172
|
export declare const KubernetesEnum: {
|
|
11173
|
-
readonly K3_S: "K3S";
|
|
11174
11173
|
readonly MANAGED: "MANAGED";
|
|
11175
11174
|
readonly SELF_MANAGED: "SELF_MANAGED";
|
|
11176
11175
|
};
|
|
@@ -19571,14 +19570,6 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
19571
19570
|
* @throws {RequiredError}
|
|
19572
19571
|
*/
|
|
19573
19572
|
listAWSEKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19574
|
-
/**
|
|
19575
|
-
*
|
|
19576
|
-
* @summary List AWS EC2 available instance types
|
|
19577
|
-
* @param {string} region region name
|
|
19578
|
-
* @param {*} [options] Override http request option.
|
|
19579
|
-
* @throws {RequiredError}
|
|
19580
|
-
*/
|
|
19581
|
-
listAWSEc2InstanceType: (region: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19582
19573
|
/**
|
|
19583
19574
|
*
|
|
19584
19575
|
* @summary List AWS features available
|
|
@@ -19705,14 +19696,6 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
19705
19696
|
* @throws {RequiredError}
|
|
19706
19697
|
*/
|
|
19707
19698
|
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
19708
|
-
/**
|
|
19709
|
-
*
|
|
19710
|
-
* @summary List AWS EC2 available instance types
|
|
19711
|
-
* @param {string} region region name
|
|
19712
|
-
* @param {*} [options] Override http request option.
|
|
19713
|
-
* @throws {RequiredError}
|
|
19714
|
-
*/
|
|
19715
|
-
listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
19716
19699
|
/**
|
|
19717
19700
|
*
|
|
19718
19701
|
* @summary List AWS features available
|
|
@@ -19839,14 +19822,6 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
19839
19822
|
* @throws {RequiredError}
|
|
19840
19823
|
*/
|
|
19841
19824
|
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
19842
|
-
/**
|
|
19843
|
-
*
|
|
19844
|
-
* @summary List AWS EC2 available instance types
|
|
19845
|
-
* @param {string} region region name
|
|
19846
|
-
* @param {*} [options] Override http request option.
|
|
19847
|
-
* @throws {RequiredError}
|
|
19848
|
-
*/
|
|
19849
|
-
listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
19850
19825
|
/**
|
|
19851
19826
|
*
|
|
19852
19827
|
* @summary List AWS features available
|
|
@@ -19976,15 +19951,6 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
19976
19951
|
* @memberof CloudProviderApi
|
|
19977
19952
|
*/
|
|
19978
19953
|
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
19979
|
-
/**
|
|
19980
|
-
*
|
|
19981
|
-
* @summary List AWS EC2 available instance types
|
|
19982
|
-
* @param {string} region region name
|
|
19983
|
-
* @param {*} [options] Override http request option.
|
|
19984
|
-
* @throws {RequiredError}
|
|
19985
|
-
* @memberof CloudProviderApi
|
|
19986
|
-
*/
|
|
19987
|
-
listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
19988
19954
|
/**
|
|
19989
19955
|
*
|
|
19990
19956
|
* @summary List AWS features available
|
package/dist/api.js
CHANGED
|
@@ -586,7 +586,6 @@ exports.KarpenterNodePoolRequirementOperator = {
|
|
|
586
586
|
* @enum {string}
|
|
587
587
|
*/
|
|
588
588
|
exports.KubernetesEnum = {
|
|
589
|
-
K3_S: 'K3S',
|
|
590
589
|
MANAGED: 'MANAGED',
|
|
591
590
|
SELF_MANAGED: 'SELF_MANAGED'
|
|
592
591
|
};
|
|
@@ -6619,40 +6618,6 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6619
6618
|
options: localVarRequestOptions,
|
|
6620
6619
|
};
|
|
6621
6620
|
}),
|
|
6622
|
-
/**
|
|
6623
|
-
*
|
|
6624
|
-
* @summary List AWS EC2 available instance types
|
|
6625
|
-
* @param {string} region region name
|
|
6626
|
-
* @param {*} [options] Override http request option.
|
|
6627
|
-
* @throws {RequiredError}
|
|
6628
|
-
*/
|
|
6629
|
-
listAWSEc2InstanceType: (region_1, ...args_1) => __awaiter(this, [region_1, ...args_1], void 0, function* (region, options = {}) {
|
|
6630
|
-
// verify required parameter 'region' is not null or undefined
|
|
6631
|
-
(0, common_1.assertParamExists)('listAWSEc2InstanceType', 'region', region);
|
|
6632
|
-
const localVarPath = `/aws/ec2/instanceType/{region}`
|
|
6633
|
-
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
6634
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6635
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6636
|
-
let baseOptions;
|
|
6637
|
-
if (configuration) {
|
|
6638
|
-
baseOptions = configuration.baseOptions;
|
|
6639
|
-
}
|
|
6640
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6641
|
-
const localVarHeaderParameter = {};
|
|
6642
|
-
const localVarQueryParameter = {};
|
|
6643
|
-
// authentication ApiKeyAuth required
|
|
6644
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6645
|
-
// authentication bearerAuth required
|
|
6646
|
-
// http bearer authentication required
|
|
6647
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6648
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6649
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6650
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6651
|
-
return {
|
|
6652
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6653
|
-
options: localVarRequestOptions,
|
|
6654
|
-
};
|
|
6655
|
-
}),
|
|
6656
6621
|
/**
|
|
6657
6622
|
*
|
|
6658
6623
|
* @summary List AWS features available
|
|
@@ -7151,22 +7116,6 @@ const CloudProviderApiFp = function (configuration) {
|
|
|
7151
7116
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7152
7117
|
});
|
|
7153
7118
|
},
|
|
7154
|
-
/**
|
|
7155
|
-
*
|
|
7156
|
-
* @summary List AWS EC2 available instance types
|
|
7157
|
-
* @param {string} region region name
|
|
7158
|
-
* @param {*} [options] Override http request option.
|
|
7159
|
-
* @throws {RequiredError}
|
|
7160
|
-
*/
|
|
7161
|
-
listAWSEc2InstanceType(region, options) {
|
|
7162
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7163
|
-
var _a, _b, _c;
|
|
7164
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEc2InstanceType(region, options);
|
|
7165
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7166
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CloudProviderApi.listAWSEc2InstanceType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7167
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7168
|
-
});
|
|
7169
|
-
},
|
|
7170
7119
|
/**
|
|
7171
7120
|
*
|
|
7172
7121
|
* @summary List AWS features available
|
|
@@ -7419,16 +7368,6 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
|
7419
7368
|
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7420
7369
|
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
|
|
7421
7370
|
},
|
|
7422
|
-
/**
|
|
7423
|
-
*
|
|
7424
|
-
* @summary List AWS EC2 available instance types
|
|
7425
|
-
* @param {string} region region name
|
|
7426
|
-
* @param {*} [options] Override http request option.
|
|
7427
|
-
* @throws {RequiredError}
|
|
7428
|
-
*/
|
|
7429
|
-
listAWSEc2InstanceType(region, options) {
|
|
7430
|
-
return localVarFp.listAWSEc2InstanceType(region, options).then((request) => request(axios, basePath));
|
|
7431
|
-
},
|
|
7432
7371
|
/**
|
|
7433
7372
|
*
|
|
7434
7373
|
* @summary List AWS features available
|
|
@@ -7592,17 +7531,6 @@ class CloudProviderApi extends base_1.BaseAPI {
|
|
|
7592
7531
|
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7593
7532
|
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
|
|
7594
7533
|
}
|
|
7595
|
-
/**
|
|
7596
|
-
*
|
|
7597
|
-
* @summary List AWS EC2 available instance types
|
|
7598
|
-
* @param {string} region region name
|
|
7599
|
-
* @param {*} [options] Override http request option.
|
|
7600
|
-
* @throws {RequiredError}
|
|
7601
|
-
* @memberof CloudProviderApi
|
|
7602
|
-
*/
|
|
7603
|
-
listAWSEc2InstanceType(region, options) {
|
|
7604
|
-
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSEc2InstanceType(region, options).then((request) => request(this.axios, this.basePath));
|
|
7605
|
-
}
|
|
7606
7534
|
/**
|
|
7607
7535
|
*
|
|
7608
7536
|
* @summary List AWS features available
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -11170,7 +11170,6 @@ export interface Key {
|
|
|
11170
11170
|
* @enum {string}
|
|
11171
11171
|
*/
|
|
11172
11172
|
export declare const KubernetesEnum: {
|
|
11173
|
-
readonly K3_S: "K3S";
|
|
11174
11173
|
readonly MANAGED: "MANAGED";
|
|
11175
11174
|
readonly SELF_MANAGED: "SELF_MANAGED";
|
|
11176
11175
|
};
|
|
@@ -19571,14 +19570,6 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
19571
19570
|
* @throws {RequiredError}
|
|
19572
19571
|
*/
|
|
19573
19572
|
listAWSEKSInstanceType: (region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19574
|
-
/**
|
|
19575
|
-
*
|
|
19576
|
-
* @summary List AWS EC2 available instance types
|
|
19577
|
-
* @param {string} region region name
|
|
19578
|
-
* @param {*} [options] Override http request option.
|
|
19579
|
-
* @throws {RequiredError}
|
|
19580
|
-
*/
|
|
19581
|
-
listAWSEc2InstanceType: (region: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19582
19573
|
/**
|
|
19583
19574
|
*
|
|
19584
19575
|
* @summary List AWS features available
|
|
@@ -19705,14 +19696,6 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
19705
19696
|
* @throws {RequiredError}
|
|
19706
19697
|
*/
|
|
19707
19698
|
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
19708
|
-
/**
|
|
19709
|
-
*
|
|
19710
|
-
* @summary List AWS EC2 available instance types
|
|
19711
|
-
* @param {string} region region name
|
|
19712
|
-
* @param {*} [options] Override http request option.
|
|
19713
|
-
* @throws {RequiredError}
|
|
19714
|
-
*/
|
|
19715
|
-
listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
19716
19699
|
/**
|
|
19717
19700
|
*
|
|
19718
19701
|
* @summary List AWS features available
|
|
@@ -19839,14 +19822,6 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
19839
19822
|
* @throws {RequiredError}
|
|
19840
19823
|
*/
|
|
19841
19824
|
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
19842
|
-
/**
|
|
19843
|
-
*
|
|
19844
|
-
* @summary List AWS EC2 available instance types
|
|
19845
|
-
* @param {string} region region name
|
|
19846
|
-
* @param {*} [options] Override http request option.
|
|
19847
|
-
* @throws {RequiredError}
|
|
19848
|
-
*/
|
|
19849
|
-
listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
19850
19825
|
/**
|
|
19851
19826
|
*
|
|
19852
19827
|
* @summary List AWS features available
|
|
@@ -19976,15 +19951,6 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
19976
19951
|
* @memberof CloudProviderApi
|
|
19977
19952
|
*/
|
|
19978
19953
|
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
19979
|
-
/**
|
|
19980
|
-
*
|
|
19981
|
-
* @summary List AWS EC2 available instance types
|
|
19982
|
-
* @param {string} region region name
|
|
19983
|
-
* @param {*} [options] Override http request option.
|
|
19984
|
-
* @throws {RequiredError}
|
|
19985
|
-
* @memberof CloudProviderApi
|
|
19986
|
-
*/
|
|
19987
|
-
listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList, any>>;
|
|
19988
19954
|
/**
|
|
19989
19955
|
*
|
|
19990
19956
|
* @summary List AWS features available
|
package/dist/esm/api.js
CHANGED
|
@@ -575,7 +575,6 @@ export const KarpenterNodePoolRequirementOperator = {
|
|
|
575
575
|
* @enum {string}
|
|
576
576
|
*/
|
|
577
577
|
export const KubernetesEnum = {
|
|
578
|
-
K3_S: 'K3S',
|
|
579
578
|
MANAGED: 'MANAGED',
|
|
580
579
|
SELF_MANAGED: 'SELF_MANAGED'
|
|
581
580
|
};
|
|
@@ -6556,40 +6555,6 @@ export const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6556
6555
|
options: localVarRequestOptions,
|
|
6557
6556
|
};
|
|
6558
6557
|
}),
|
|
6559
|
-
/**
|
|
6560
|
-
*
|
|
6561
|
-
* @summary List AWS EC2 available instance types
|
|
6562
|
-
* @param {string} region region name
|
|
6563
|
-
* @param {*} [options] Override http request option.
|
|
6564
|
-
* @throws {RequiredError}
|
|
6565
|
-
*/
|
|
6566
|
-
listAWSEc2InstanceType: (region_1, ...args_1) => __awaiter(this, [region_1, ...args_1], void 0, function* (region, options = {}) {
|
|
6567
|
-
// verify required parameter 'region' is not null or undefined
|
|
6568
|
-
assertParamExists('listAWSEc2InstanceType', 'region', region);
|
|
6569
|
-
const localVarPath = `/aws/ec2/instanceType/{region}`
|
|
6570
|
-
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
6571
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6572
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6573
|
-
let baseOptions;
|
|
6574
|
-
if (configuration) {
|
|
6575
|
-
baseOptions = configuration.baseOptions;
|
|
6576
|
-
}
|
|
6577
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6578
|
-
const localVarHeaderParameter = {};
|
|
6579
|
-
const localVarQueryParameter = {};
|
|
6580
|
-
// authentication ApiKeyAuth required
|
|
6581
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
6582
|
-
// authentication bearerAuth required
|
|
6583
|
-
// http bearer authentication required
|
|
6584
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6585
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6586
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6587
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6588
|
-
return {
|
|
6589
|
-
url: toPathString(localVarUrlObj),
|
|
6590
|
-
options: localVarRequestOptions,
|
|
6591
|
-
};
|
|
6592
|
-
}),
|
|
6593
6558
|
/**
|
|
6594
6559
|
*
|
|
6595
6560
|
* @summary List AWS features available
|
|
@@ -7087,22 +7052,6 @@ export const CloudProviderApiFp = function (configuration) {
|
|
|
7087
7052
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7088
7053
|
});
|
|
7089
7054
|
},
|
|
7090
|
-
/**
|
|
7091
|
-
*
|
|
7092
|
-
* @summary List AWS EC2 available instance types
|
|
7093
|
-
* @param {string} region region name
|
|
7094
|
-
* @param {*} [options] Override http request option.
|
|
7095
|
-
* @throws {RequiredError}
|
|
7096
|
-
*/
|
|
7097
|
-
listAWSEc2InstanceType(region, options) {
|
|
7098
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7099
|
-
var _a, _b, _c;
|
|
7100
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEc2InstanceType(region, options);
|
|
7101
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7102
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CloudProviderApi.listAWSEc2InstanceType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7103
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7104
|
-
});
|
|
7105
|
-
},
|
|
7106
7055
|
/**
|
|
7107
7056
|
*
|
|
7108
7057
|
* @summary List AWS features available
|
|
@@ -7354,16 +7303,6 @@ export const CloudProviderApiFactory = function (configuration, basePath, axios)
|
|
|
7354
7303
|
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7355
7304
|
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
|
|
7356
7305
|
},
|
|
7357
|
-
/**
|
|
7358
|
-
*
|
|
7359
|
-
* @summary List AWS EC2 available instance types
|
|
7360
|
-
* @param {string} region region name
|
|
7361
|
-
* @param {*} [options] Override http request option.
|
|
7362
|
-
* @throws {RequiredError}
|
|
7363
|
-
*/
|
|
7364
|
-
listAWSEc2InstanceType(region, options) {
|
|
7365
|
-
return localVarFp.listAWSEc2InstanceType(region, options).then((request) => request(axios, basePath));
|
|
7366
|
-
},
|
|
7367
7306
|
/**
|
|
7368
7307
|
*
|
|
7369
7308
|
* @summary List AWS features available
|
|
@@ -7526,17 +7465,6 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
7526
7465
|
listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options) {
|
|
7527
7466
|
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
|
|
7528
7467
|
}
|
|
7529
|
-
/**
|
|
7530
|
-
*
|
|
7531
|
-
* @summary List AWS EC2 available instance types
|
|
7532
|
-
* @param {string} region region name
|
|
7533
|
-
* @param {*} [options] Override http request option.
|
|
7534
|
-
* @throws {RequiredError}
|
|
7535
|
-
* @memberof CloudProviderApi
|
|
7536
|
-
*/
|
|
7537
|
-
listAWSEc2InstanceType(region, options) {
|
|
7538
|
-
return CloudProviderApiFp(this.configuration).listAWSEc2InstanceType(region, options).then((request) => request(this.axios, this.basePath));
|
|
7539
|
-
}
|
|
7540
7468
|
/**
|
|
7541
7469
|
*
|
|
7542
7470
|
* @summary List AWS features available
|