@scaleway/sdk 1.35.0 → 1.36.0
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/dist/api/block/v1alpha1/api.gen.js +7 -1
- package/dist/api/block/v1alpha1/marshalling.gen.js +8 -1
- package/dist/api/block/v1alpha1/validation-rules.gen.js +6 -1
- package/dist/api/cockpit/v1beta1/api.gen.js +43 -1
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +22 -1
- package/dist/api/instance/v1/marshalling.gen.js +6 -4
- package/dist/api/mnq/index.js +2 -0
- package/dist/api/mnq/v1beta1/api.gen.js +516 -0
- package/dist/api/mnq/v1beta1/index.gen.js +6 -0
- package/dist/api/mnq/v1beta1/marshalling.gen.js +212 -0
- package/dist/api/mnq/v1beta1/validation-rules.gen.js +47 -0
- package/dist/api/rdb/v1/marshalling.gen.js +2 -0
- package/dist/index.cjs +1056 -320
- package/dist/index.d.ts +1676 -762
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
|
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
const version = 'v1.
|
|
500
|
+
const version = 'v1.35.0';
|
|
501
501
|
const userAgent = `scaleway-sdk-js/${version}`;
|
|
502
502
|
|
|
503
503
|
const isBrowser = () =>
|
|
@@ -2071,7 +2071,7 @@ const marshalUpdateProjectRequest = (request, defaults) => ({
|
|
|
2071
2071
|
|
|
2072
2072
|
// This file was automatically generated. DO NOT EDIT.
|
|
2073
2073
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2074
|
-
const jsonContentHeaders$
|
|
2074
|
+
const jsonContentHeaders$s = {
|
|
2075
2075
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2076
2076
|
};
|
|
2077
2077
|
|
|
@@ -2092,7 +2092,7 @@ let API$t = class API extends API$u {
|
|
|
2092
2092
|
*/
|
|
2093
2093
|
createProject = (request = {}) => this.client.fetch({
|
|
2094
2094
|
body: JSON.stringify(marshalCreateProjectRequest(request, this.client.settings)),
|
|
2095
|
-
headers: jsonContentHeaders$
|
|
2095
|
+
headers: jsonContentHeaders$s,
|
|
2096
2096
|
method: 'POST',
|
|
2097
2097
|
path: `/account/v2/projects`
|
|
2098
2098
|
}, unmarshalProject$1);
|
|
@@ -2156,7 +2156,7 @@ let API$t = class API extends API$u {
|
|
|
2156
2156
|
*/
|
|
2157
2157
|
updateProject = (request = {}) => this.client.fetch({
|
|
2158
2158
|
body: JSON.stringify(marshalUpdateProjectRequest(request, this.client.settings)),
|
|
2159
|
-
headers: jsonContentHeaders$
|
|
2159
|
+
headers: jsonContentHeaders$s,
|
|
2160
2160
|
method: 'PATCH',
|
|
2161
2161
|
path: `/account/v2/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
|
|
2162
2162
|
}, unmarshalProject$1);
|
|
@@ -2165,7 +2165,7 @@ let API$t = class API extends API$u {
|
|
|
2165
2165
|
// This file was automatically generated. DO NOT EDIT.
|
|
2166
2166
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2167
2167
|
|
|
2168
|
-
var index_gen$
|
|
2168
|
+
var index_gen$r = /*#__PURE__*/Object.freeze({
|
|
2169
2169
|
__proto__: null,
|
|
2170
2170
|
API: API$t
|
|
2171
2171
|
});
|
|
@@ -2206,7 +2206,7 @@ const marshalProjectApiUpdateProjectRequest = (request, defaults) => ({
|
|
|
2206
2206
|
|
|
2207
2207
|
// This file was automatically generated. DO NOT EDIT.
|
|
2208
2208
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2209
|
-
const jsonContentHeaders$
|
|
2209
|
+
const jsonContentHeaders$r = {
|
|
2210
2210
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2211
2211
|
};
|
|
2212
2212
|
|
|
@@ -2225,7 +2225,7 @@ class ProjectAPI extends API$u {
|
|
|
2225
2225
|
*/
|
|
2226
2226
|
createProject = request => this.client.fetch({
|
|
2227
2227
|
body: JSON.stringify(marshalProjectApiCreateProjectRequest(request, this.client.settings)),
|
|
2228
|
-
headers: jsonContentHeaders$
|
|
2228
|
+
headers: jsonContentHeaders$r,
|
|
2229
2229
|
method: 'POST',
|
|
2230
2230
|
path: `/account/v3/projects`
|
|
2231
2231
|
}, unmarshalProject);
|
|
@@ -2281,7 +2281,7 @@ class ProjectAPI extends API$u {
|
|
|
2281
2281
|
*/
|
|
2282
2282
|
updateProject = (request = {}) => this.client.fetch({
|
|
2283
2283
|
body: JSON.stringify(marshalProjectApiUpdateProjectRequest(request, this.client.settings)),
|
|
2284
|
-
headers: jsonContentHeaders$
|
|
2284
|
+
headers: jsonContentHeaders$r,
|
|
2285
2285
|
method: 'PATCH',
|
|
2286
2286
|
path: `/account/v3/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
|
|
2287
2287
|
}, unmarshalProject);
|
|
@@ -2325,7 +2325,7 @@ const ProjectApiUpdateProjectRequest = {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
};
|
|
2327
2327
|
|
|
2328
|
-
var validationRules_gen$
|
|
2328
|
+
var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
|
|
2329
2329
|
__proto__: null,
|
|
2330
2330
|
ProjectApiCreateProjectRequest: ProjectApiCreateProjectRequest,
|
|
2331
2331
|
ProjectApiListProjectsRequest: ProjectApiListProjectsRequest,
|
|
@@ -2335,16 +2335,16 @@ var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
|
|
|
2335
2335
|
// This file was automatically generated. DO NOT EDIT.
|
|
2336
2336
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2337
2337
|
|
|
2338
|
-
var index_gen$
|
|
2338
|
+
var index_gen$q = /*#__PURE__*/Object.freeze({
|
|
2339
2339
|
__proto__: null,
|
|
2340
2340
|
ProjectAPI: ProjectAPI,
|
|
2341
|
-
ValidationRules: validationRules_gen$
|
|
2341
|
+
ValidationRules: validationRules_gen$9
|
|
2342
2342
|
});
|
|
2343
2343
|
|
|
2344
2344
|
var index$v = /*#__PURE__*/Object.freeze({
|
|
2345
2345
|
__proto__: null,
|
|
2346
|
-
v2: index_gen$
|
|
2347
|
-
v3: index_gen$
|
|
2346
|
+
v2: index_gen$r,
|
|
2347
|
+
v3: index_gen$q
|
|
2348
2348
|
});
|
|
2349
2349
|
|
|
2350
2350
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -2463,7 +2463,7 @@ const marshalUpdateServerRequest$2 = (request, defaults) => ({
|
|
|
2463
2463
|
|
|
2464
2464
|
// This file was automatically generated. DO NOT EDIT.
|
|
2465
2465
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2466
|
-
const jsonContentHeaders$
|
|
2466
|
+
const jsonContentHeaders$q = {
|
|
2467
2467
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2468
2468
|
};
|
|
2469
2469
|
|
|
@@ -2506,7 +2506,7 @@ let API$s = class API extends API$u {
|
|
|
2506
2506
|
*/
|
|
2507
2507
|
createServer = request => this.client.fetch({
|
|
2508
2508
|
body: JSON.stringify(marshalCreateServerRequest$2(request, this.client.settings)),
|
|
2509
|
-
headers: jsonContentHeaders$
|
|
2509
|
+
headers: jsonContentHeaders$q,
|
|
2510
2510
|
method: 'POST',
|
|
2511
2511
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
2512
2512
|
}, unmarshalServer$2);
|
|
@@ -2584,7 +2584,7 @@ let API$s = class API extends API$u {
|
|
|
2584
2584
|
*/
|
|
2585
2585
|
updateServer = request => this.client.fetch({
|
|
2586
2586
|
body: JSON.stringify(marshalUpdateServerRequest$2(request, this.client.settings)),
|
|
2587
|
-
headers: jsonContentHeaders$
|
|
2587
|
+
headers: jsonContentHeaders$q,
|
|
2588
2588
|
method: 'PATCH',
|
|
2589
2589
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
2590
2590
|
}, unmarshalServer$2);
|
|
@@ -2611,7 +2611,7 @@ let API$s = class API extends API$u {
|
|
|
2611
2611
|
*/
|
|
2612
2612
|
rebootServer = request => this.client.fetch({
|
|
2613
2613
|
body: '{}',
|
|
2614
|
-
headers: jsonContentHeaders$
|
|
2614
|
+
headers: jsonContentHeaders$q,
|
|
2615
2615
|
method: 'POST',
|
|
2616
2616
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
|
|
2617
2617
|
}, unmarshalServer$2);
|
|
@@ -2627,7 +2627,7 @@ let API$s = class API extends API$u {
|
|
|
2627
2627
|
*/
|
|
2628
2628
|
reinstallServer = request => this.client.fetch({
|
|
2629
2629
|
body: '{}',
|
|
2630
|
-
headers: jsonContentHeaders$
|
|
2630
|
+
headers: jsonContentHeaders$q,
|
|
2631
2631
|
method: 'POST',
|
|
2632
2632
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
|
|
2633
2633
|
}, unmarshalServer$2);
|
|
@@ -2636,7 +2636,7 @@ let API$s = class API extends API$u {
|
|
|
2636
2636
|
// This file was automatically generated. DO NOT EDIT.
|
|
2637
2637
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2638
2638
|
|
|
2639
|
-
var index_gen$
|
|
2639
|
+
var index_gen$p = /*#__PURE__*/Object.freeze({
|
|
2640
2640
|
__proto__: null,
|
|
2641
2641
|
API: API$s,
|
|
2642
2642
|
SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
|
|
@@ -2644,7 +2644,7 @@ var index_gen$o = /*#__PURE__*/Object.freeze({
|
|
|
2644
2644
|
|
|
2645
2645
|
var index$u = /*#__PURE__*/Object.freeze({
|
|
2646
2646
|
__proto__: null,
|
|
2647
|
-
v1alpha1: index_gen$
|
|
2647
|
+
v1alpha1: index_gen$p
|
|
2648
2648
|
});
|
|
2649
2649
|
|
|
2650
2650
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -3062,7 +3062,7 @@ const marshalUpdateSettingRequest = (request, defaults) => ({
|
|
|
3062
3062
|
|
|
3063
3063
|
// This file was automatically generated. DO NOT EDIT.
|
|
3064
3064
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3065
|
-
const jsonContentHeaders$
|
|
3065
|
+
const jsonContentHeaders$p = {
|
|
3066
3066
|
'Content-Type': 'application/json; charset=utf-8'
|
|
3067
3067
|
};
|
|
3068
3068
|
|
|
@@ -3119,7 +3119,7 @@ let API$r = class API extends API$u {
|
|
|
3119
3119
|
*/
|
|
3120
3120
|
createServer = request => this.client.fetch({
|
|
3121
3121
|
body: JSON.stringify(marshalCreateServerRequest$1(request, this.client.settings)),
|
|
3122
|
-
headers: jsonContentHeaders$
|
|
3122
|
+
headers: jsonContentHeaders$p,
|
|
3123
3123
|
method: 'POST',
|
|
3124
3124
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
3125
3125
|
}, unmarshalServer$1);
|
|
@@ -3134,7 +3134,7 @@ let API$r = class API extends API$u {
|
|
|
3134
3134
|
*/
|
|
3135
3135
|
updateServer = request => this.client.fetch({
|
|
3136
3136
|
body: JSON.stringify(marshalUpdateServerRequest$1(request, this.client.settings)),
|
|
3137
|
-
headers: jsonContentHeaders$
|
|
3137
|
+
headers: jsonContentHeaders$p,
|
|
3138
3138
|
method: 'PATCH',
|
|
3139
3139
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
3140
3140
|
}, unmarshalServer$1);
|
|
@@ -3148,7 +3148,7 @@ let API$r = class API extends API$u {
|
|
|
3148
3148
|
*/
|
|
3149
3149
|
installServer = request => this.client.fetch({
|
|
3150
3150
|
body: JSON.stringify(marshalInstallServerRequest(request, this.client.settings)),
|
|
3151
|
-
headers: jsonContentHeaders$
|
|
3151
|
+
headers: jsonContentHeaders$p,
|
|
3152
3152
|
method: 'POST',
|
|
3153
3153
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/install`
|
|
3154
3154
|
}, unmarshalServer$1);
|
|
@@ -3186,7 +3186,7 @@ let API$r = class API extends API$u {
|
|
|
3186
3186
|
*/
|
|
3187
3187
|
rebootServer = request => this.client.fetch({
|
|
3188
3188
|
body: JSON.stringify(marshalRebootServerRequest(request, this.client.settings)),
|
|
3189
|
-
headers: jsonContentHeaders$
|
|
3189
|
+
headers: jsonContentHeaders$p,
|
|
3190
3190
|
method: 'POST',
|
|
3191
3191
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
|
|
3192
3192
|
}, unmarshalServer$1);
|
|
@@ -3199,7 +3199,7 @@ let API$r = class API extends API$u {
|
|
|
3199
3199
|
*/
|
|
3200
3200
|
startServer = request => this.client.fetch({
|
|
3201
3201
|
body: JSON.stringify(marshalStartServerRequest(request, this.client.settings)),
|
|
3202
|
-
headers: jsonContentHeaders$
|
|
3202
|
+
headers: jsonContentHeaders$p,
|
|
3203
3203
|
method: 'POST',
|
|
3204
3204
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/start`
|
|
3205
3205
|
}, unmarshalServer$1);
|
|
@@ -3214,7 +3214,7 @@ let API$r = class API extends API$u {
|
|
|
3214
3214
|
*/
|
|
3215
3215
|
stopServer = request => this.client.fetch({
|
|
3216
3216
|
body: '{}',
|
|
3217
|
-
headers: jsonContentHeaders$
|
|
3217
|
+
headers: jsonContentHeaders$p,
|
|
3218
3218
|
method: 'POST',
|
|
3219
3219
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/stop`
|
|
3220
3220
|
}, unmarshalServer$1);
|
|
@@ -3252,7 +3252,7 @@ let API$r = class API extends API$u {
|
|
|
3252
3252
|
*/
|
|
3253
3253
|
startBMCAccess = request => this.client.fetch({
|
|
3254
3254
|
body: JSON.stringify(marshalStartBMCAccessRequest(request, this.client.settings)),
|
|
3255
|
-
headers: jsonContentHeaders$
|
|
3255
|
+
headers: jsonContentHeaders$p,
|
|
3256
3256
|
method: 'POST',
|
|
3257
3257
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/bmc-access`
|
|
3258
3258
|
}, unmarshalBMCAccess);
|
|
@@ -3290,7 +3290,7 @@ let API$r = class API extends API$u {
|
|
|
3290
3290
|
*/
|
|
3291
3291
|
updateIP = request => this.client.fetch({
|
|
3292
3292
|
body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
|
|
3293
|
-
headers: jsonContentHeaders$
|
|
3293
|
+
headers: jsonContentHeaders$p,
|
|
3294
3294
|
method: 'PATCH',
|
|
3295
3295
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
3296
3296
|
}, unmarshalIP$1);
|
|
@@ -3304,7 +3304,7 @@ let API$r = class API extends API$u {
|
|
|
3304
3304
|
*/
|
|
3305
3305
|
addOptionServer = request => this.client.fetch({
|
|
3306
3306
|
body: JSON.stringify(marshalAddOptionServerRequest(request, this.client.settings)),
|
|
3307
|
-
headers: jsonContentHeaders$
|
|
3307
|
+
headers: jsonContentHeaders$p,
|
|
3308
3308
|
method: 'POST',
|
|
3309
3309
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/options/${validatePathParam('optionId', request.optionId)}`
|
|
3310
3310
|
}, unmarshalServer$1);
|
|
@@ -3389,7 +3389,7 @@ let API$r = class API extends API$u {
|
|
|
3389
3389
|
*/
|
|
3390
3390
|
updateSetting = request => this.client.fetch({
|
|
3391
3391
|
body: JSON.stringify(marshalUpdateSettingRequest(request, this.client.settings)),
|
|
3392
|
-
headers: jsonContentHeaders$
|
|
3392
|
+
headers: jsonContentHeaders$p,
|
|
3393
3393
|
method: 'PATCH',
|
|
3394
3394
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/settings/${validatePathParam('settingId', request.settingId)}`
|
|
3395
3395
|
}, unmarshalSetting);
|
|
@@ -3434,7 +3434,7 @@ class PrivateNetworkAPI extends API$u {
|
|
|
3434
3434
|
*/
|
|
3435
3435
|
addServerPrivateNetwork = request => this.client.fetch({
|
|
3436
3436
|
body: JSON.stringify(marshalPrivateNetworkApiAddServerPrivateNetworkRequest(request, this.client.settings)),
|
|
3437
|
-
headers: jsonContentHeaders$
|
|
3437
|
+
headers: jsonContentHeaders$p,
|
|
3438
3438
|
method: 'POST',
|
|
3439
3439
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
|
|
3440
3440
|
}, unmarshalServerPrivateNetwork);
|
|
@@ -3448,7 +3448,7 @@ class PrivateNetworkAPI extends API$u {
|
|
|
3448
3448
|
*/
|
|
3449
3449
|
setServerPrivateNetworks = request => this.client.fetch({
|
|
3450
3450
|
body: JSON.stringify(marshalPrivateNetworkApiSetServerPrivateNetworksRequest(request, this.client.settings)),
|
|
3451
|
-
headers: jsonContentHeaders$
|
|
3451
|
+
headers: jsonContentHeaders$p,
|
|
3452
3452
|
method: 'PUT',
|
|
3453
3453
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
|
|
3454
3454
|
}, unmarshalSetServerPrivateNetworksResponse);
|
|
@@ -3609,7 +3609,7 @@ const UpdateServerRequest = {
|
|
|
3609
3609
|
}
|
|
3610
3610
|
};
|
|
3611
3611
|
|
|
3612
|
-
var validationRules_gen$
|
|
3612
|
+
var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
|
|
3613
3613
|
__proto__: null,
|
|
3614
3614
|
CreateServerRequest: CreateServerRequest,
|
|
3615
3615
|
CreateServerRequestInstall: CreateServerRequestInstall,
|
|
@@ -3630,7 +3630,7 @@ var index$t = /*#__PURE__*/Object.freeze({
|
|
|
3630
3630
|
SERVER_INSTALL_TRANSIENT_STATUSES: SERVER_INSTALL_TRANSIENT_STATUSES,
|
|
3631
3631
|
SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES,
|
|
3632
3632
|
SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$1,
|
|
3633
|
-
ValidationRules: validationRules_gen$
|
|
3633
|
+
ValidationRules: validationRules_gen$8
|
|
3634
3634
|
});
|
|
3635
3635
|
|
|
3636
3636
|
var index$s = /*#__PURE__*/Object.freeze({
|
|
@@ -3739,14 +3739,14 @@ let API$q = class API extends API$u {
|
|
|
3739
3739
|
// This file was automatically generated. DO NOT EDIT.
|
|
3740
3740
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3741
3741
|
|
|
3742
|
-
var index_gen$
|
|
3742
|
+
var index_gen$o = /*#__PURE__*/Object.freeze({
|
|
3743
3743
|
__proto__: null,
|
|
3744
3744
|
API: API$q
|
|
3745
3745
|
});
|
|
3746
3746
|
|
|
3747
3747
|
var index$r = /*#__PURE__*/Object.freeze({
|
|
3748
3748
|
__proto__: null,
|
|
3749
|
-
v2alpha1: index_gen$
|
|
3749
|
+
v2alpha1: index_gen$o
|
|
3750
3750
|
});
|
|
3751
3751
|
|
|
3752
3752
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -3920,6 +3920,13 @@ const marshalCreateVolumeRequest$2 = (request, defaults) => ({
|
|
|
3920
3920
|
value: request.perfIops
|
|
3921
3921
|
}], true)
|
|
3922
3922
|
});
|
|
3923
|
+
const marshalImportSnapshotFromS3Request = (request, defaults) => ({
|
|
3924
|
+
bucket: request.bucket,
|
|
3925
|
+
key: request.key,
|
|
3926
|
+
name: request.name,
|
|
3927
|
+
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
3928
|
+
tags: request.tags
|
|
3929
|
+
});
|
|
3923
3930
|
const marshalUpdateSnapshotRequest$2 = (request, defaults) => ({
|
|
3924
3931
|
name: request.name,
|
|
3925
3932
|
tags: request.tags
|
|
@@ -3933,7 +3940,7 @@ const marshalUpdateVolumeRequest$2 = (request, defaults) => ({
|
|
|
3933
3940
|
|
|
3934
3941
|
// This file was automatically generated. DO NOT EDIT.
|
|
3935
3942
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3936
|
-
const jsonContentHeaders$
|
|
3943
|
+
const jsonContentHeaders$o = {
|
|
3937
3944
|
'Content-Type': 'application/json; charset=utf-8'
|
|
3938
3945
|
};
|
|
3939
3946
|
|
|
@@ -3989,7 +3996,7 @@ let API$p = class API extends API$u {
|
|
|
3989
3996
|
*/
|
|
3990
3997
|
createVolume = request => this.client.fetch({
|
|
3991
3998
|
body: JSON.stringify(marshalCreateVolumeRequest$2(request, this.client.settings)),
|
|
3992
|
-
headers: jsonContentHeaders$
|
|
3999
|
+
headers: jsonContentHeaders$o,
|
|
3993
4000
|
method: 'POST',
|
|
3994
4001
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
3995
4002
|
}, unmarshalVolume$4);
|
|
@@ -4037,7 +4044,7 @@ let API$p = class API extends API$u {
|
|
|
4037
4044
|
*/
|
|
4038
4045
|
updateVolume = request => this.client.fetch({
|
|
4039
4046
|
body: JSON.stringify(marshalUpdateVolumeRequest$2(request, this.client.settings)),
|
|
4040
|
-
headers: jsonContentHeaders$
|
|
4047
|
+
headers: jsonContentHeaders$o,
|
|
4041
4048
|
method: 'PATCH',
|
|
4042
4049
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
4043
4050
|
}, unmarshalVolume$4);
|
|
@@ -4089,10 +4096,16 @@ let API$p = class API extends API$u {
|
|
|
4089
4096
|
*/
|
|
4090
4097
|
createSnapshot = request => this.client.fetch({
|
|
4091
4098
|
body: JSON.stringify(marshalCreateSnapshotRequest$3(request, this.client.settings)),
|
|
4092
|
-
headers: jsonContentHeaders$
|
|
4099
|
+
headers: jsonContentHeaders$o,
|
|
4093
4100
|
method: 'POST',
|
|
4094
4101
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
4095
4102
|
}, unmarshalSnapshot$3);
|
|
4103
|
+
importSnapshotFromS3 = request => this.client.fetch({
|
|
4104
|
+
body: JSON.stringify(marshalImportSnapshotFromS3Request(request, this.client.settings)),
|
|
4105
|
+
headers: jsonContentHeaders$o,
|
|
4106
|
+
method: 'POST',
|
|
4107
|
+
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/import-from-s3`
|
|
4108
|
+
}, unmarshalSnapshot$3);
|
|
4096
4109
|
|
|
4097
4110
|
/**
|
|
4098
4111
|
* Delete a snapshot. You must specify the `snapshot_id` of the snapshot you
|
|
@@ -4113,7 +4126,7 @@ let API$p = class API extends API$u {
|
|
|
4113
4126
|
*/
|
|
4114
4127
|
updateSnapshot = request => this.client.fetch({
|
|
4115
4128
|
body: JSON.stringify(marshalUpdateSnapshotRequest$2(request, this.client.settings)),
|
|
4116
|
-
headers: jsonContentHeaders$
|
|
4129
|
+
headers: jsonContentHeaders$o,
|
|
4117
4130
|
method: 'PATCH',
|
|
4118
4131
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
4119
4132
|
}, unmarshalSnapshot$3);
|
|
@@ -4132,6 +4145,11 @@ const CreateVolumeRequest = {
|
|
|
4132
4145
|
minLength: 1
|
|
4133
4146
|
}
|
|
4134
4147
|
};
|
|
4148
|
+
const ImportSnapshotFromS3Request = {
|
|
4149
|
+
name: {
|
|
4150
|
+
minLength: 1
|
|
4151
|
+
}
|
|
4152
|
+
};
|
|
4135
4153
|
const ListSnapshotsRequest = {
|
|
4136
4154
|
page: {
|
|
4137
4155
|
greaterThan: 0
|
|
@@ -4160,10 +4178,11 @@ const ListVolumesRequest = {
|
|
|
4160
4178
|
}
|
|
4161
4179
|
};
|
|
4162
4180
|
|
|
4163
|
-
var validationRules_gen$
|
|
4181
|
+
var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
|
|
4164
4182
|
__proto__: null,
|
|
4165
4183
|
CreateSnapshotRequest: CreateSnapshotRequest,
|
|
4166
4184
|
CreateVolumeRequest: CreateVolumeRequest,
|
|
4185
|
+
ImportSnapshotFromS3Request: ImportSnapshotFromS3Request,
|
|
4167
4186
|
ListSnapshotsRequest: ListSnapshotsRequest,
|
|
4168
4187
|
ListVolumeTypesRequest: ListVolumeTypesRequest,
|
|
4169
4188
|
ListVolumesRequest: ListVolumesRequest
|
|
@@ -4172,18 +4191,18 @@ var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
|
|
|
4172
4191
|
// This file was automatically generated. DO NOT EDIT.
|
|
4173
4192
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4174
4193
|
|
|
4175
|
-
var index_gen$
|
|
4194
|
+
var index_gen$n = /*#__PURE__*/Object.freeze({
|
|
4176
4195
|
__proto__: null,
|
|
4177
4196
|
API: API$p,
|
|
4178
4197
|
REFERENCE_TRANSIENT_STATUSES: REFERENCE_TRANSIENT_STATUSES,
|
|
4179
4198
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$3,
|
|
4180
4199
|
VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES$1,
|
|
4181
|
-
ValidationRules: validationRules_gen$
|
|
4200
|
+
ValidationRules: validationRules_gen$7
|
|
4182
4201
|
});
|
|
4183
4202
|
|
|
4184
4203
|
var index$q = /*#__PURE__*/Object.freeze({
|
|
4185
4204
|
__proto__: null,
|
|
4186
|
-
v1alpha1: index_gen$
|
|
4205
|
+
v1alpha1: index_gen$n
|
|
4187
4206
|
});
|
|
4188
4207
|
|
|
4189
4208
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -4249,6 +4268,18 @@ const unmarshalDatasource = data => {
|
|
|
4249
4268
|
url: data.url
|
|
4250
4269
|
};
|
|
4251
4270
|
};
|
|
4271
|
+
const unmarshalGrafanaProductDashboard = data => {
|
|
4272
|
+
if (!isJSONObject(data)) {
|
|
4273
|
+
throw new TypeError(`Unmarshalling the type 'GrafanaProductDashboard' failed as data isn't a dictionary.`);
|
|
4274
|
+
}
|
|
4275
|
+
return {
|
|
4276
|
+
dashboardName: data.dashboard_name,
|
|
4277
|
+
tags: data.tags,
|
|
4278
|
+
title: data.title,
|
|
4279
|
+
url: data.url,
|
|
4280
|
+
variables: data.variables
|
|
4281
|
+
};
|
|
4282
|
+
};
|
|
4252
4283
|
const unmarshalGrafanaUser = data => {
|
|
4253
4284
|
if (!isJSONObject(data)) {
|
|
4254
4285
|
throw new TypeError(`Unmarshalling the type 'GrafanaUser' failed as data isn't a dictionary.`);
|
|
@@ -4330,6 +4361,15 @@ const unmarshalListDatasourcesResponse = data => {
|
|
|
4330
4361
|
totalCount: data.total_count
|
|
4331
4362
|
};
|
|
4332
4363
|
};
|
|
4364
|
+
const unmarshalListGrafanaProductDashboardsResponse = data => {
|
|
4365
|
+
if (!isJSONObject(data)) {
|
|
4366
|
+
throw new TypeError(`Unmarshalling the type 'ListGrafanaProductDashboardsResponse' failed as data isn't a dictionary.`);
|
|
4367
|
+
}
|
|
4368
|
+
return {
|
|
4369
|
+
dashboards: unmarshalArrayOfObject(data.dashboards, unmarshalGrafanaProductDashboard),
|
|
4370
|
+
totalCount: data.total_count
|
|
4371
|
+
};
|
|
4372
|
+
};
|
|
4333
4373
|
const unmarshalListGrafanaUsersResponse = data => {
|
|
4334
4374
|
if (!isJSONObject(data)) {
|
|
4335
4375
|
throw new TypeError(`Unmarshalling the type 'ListGrafanaUsersResponse' failed as data isn't a dictionary.`);
|
|
@@ -4437,7 +4477,7 @@ const marshalTriggerTestAlertRequest = (request, defaults) => ({
|
|
|
4437
4477
|
|
|
4438
4478
|
// This file was automatically generated. DO NOT EDIT.
|
|
4439
4479
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4440
|
-
const jsonContentHeaders$
|
|
4480
|
+
const jsonContentHeaders$n = {
|
|
4441
4481
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4442
4482
|
};
|
|
4443
4483
|
|
|
@@ -4457,7 +4497,7 @@ let API$o = class API extends API$u {
|
|
|
4457
4497
|
*/
|
|
4458
4498
|
activateCockpit = (request = {}) => this.client.fetch({
|
|
4459
4499
|
body: JSON.stringify(marshalActivateCockpitRequest(request, this.client.settings)),
|
|
4460
|
-
headers: jsonContentHeaders$
|
|
4500
|
+
headers: jsonContentHeaders$n,
|
|
4461
4501
|
method: 'POST',
|
|
4462
4502
|
path: `/cockpit/v1beta1/activate`
|
|
4463
4503
|
}, unmarshalCockpit);
|
|
@@ -4503,7 +4543,7 @@ let API$o = class API extends API$u {
|
|
|
4503
4543
|
*/
|
|
4504
4544
|
deactivateCockpit = (request = {}) => this.client.fetch({
|
|
4505
4545
|
body: JSON.stringify(marshalDeactivateCockpitRequest(request, this.client.settings)),
|
|
4506
|
-
headers: jsonContentHeaders$
|
|
4546
|
+
headers: jsonContentHeaders$n,
|
|
4507
4547
|
method: 'POST',
|
|
4508
4548
|
path: `/cockpit/v1beta1/deactivate`
|
|
4509
4549
|
}, unmarshalCockpit);
|
|
@@ -4516,7 +4556,7 @@ let API$o = class API extends API$u {
|
|
|
4516
4556
|
*/
|
|
4517
4557
|
resetCockpitGrafana = (request = {}) => this.client.fetch({
|
|
4518
4558
|
body: JSON.stringify(marshalResetCockpitGrafanaRequest(request, this.client.settings)),
|
|
4519
|
-
headers: jsonContentHeaders$
|
|
4559
|
+
headers: jsonContentHeaders$n,
|
|
4520
4560
|
method: 'POST',
|
|
4521
4561
|
path: `/cockpit/v1beta1/reset-grafana`
|
|
4522
4562
|
}, unmarshalCockpit);
|
|
@@ -4529,7 +4569,7 @@ let API$o = class API extends API$u {
|
|
|
4529
4569
|
*/
|
|
4530
4570
|
createDatasource = request => this.client.fetch({
|
|
4531
4571
|
body: JSON.stringify(marshalCreateDatasourceRequest(request, this.client.settings)),
|
|
4532
|
-
headers: jsonContentHeaders$
|
|
4572
|
+
headers: jsonContentHeaders$n,
|
|
4533
4573
|
method: 'POST',
|
|
4534
4574
|
path: `/cockpit/v1beta1/datasources`
|
|
4535
4575
|
}, unmarshalDatasource);
|
|
@@ -4555,7 +4595,7 @@ let API$o = class API extends API$u {
|
|
|
4555
4595
|
*/
|
|
4556
4596
|
createToken = (request = {}) => this.client.fetch({
|
|
4557
4597
|
body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
|
|
4558
|
-
headers: jsonContentHeaders$
|
|
4598
|
+
headers: jsonContentHeaders$n,
|
|
4559
4599
|
method: 'POST',
|
|
4560
4600
|
path: `/cockpit/v1beta1/tokens`
|
|
4561
4601
|
}, unmarshalToken$2);
|
|
@@ -4602,7 +4642,7 @@ let API$o = class API extends API$u {
|
|
|
4602
4642
|
*/
|
|
4603
4643
|
createContactPoint = (request = {}) => this.client.fetch({
|
|
4604
4644
|
body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
|
|
4605
|
-
headers: jsonContentHeaders$
|
|
4645
|
+
headers: jsonContentHeaders$n,
|
|
4606
4646
|
method: 'POST',
|
|
4607
4647
|
path: `/cockpit/v1beta1/contact-points`
|
|
4608
4648
|
}, unmarshalContactPoint);
|
|
@@ -4628,7 +4668,7 @@ let API$o = class API extends API$u {
|
|
|
4628
4668
|
*/
|
|
4629
4669
|
deleteContactPoint = (request = {}) => this.client.fetch({
|
|
4630
4670
|
body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
|
|
4631
|
-
headers: jsonContentHeaders$
|
|
4671
|
+
headers: jsonContentHeaders$n,
|
|
4632
4672
|
method: 'POST',
|
|
4633
4673
|
path: `/cockpit/v1beta1/delete-contact-point`
|
|
4634
4674
|
});
|
|
@@ -4640,7 +4680,7 @@ let API$o = class API extends API$u {
|
|
|
4640
4680
|
*/
|
|
4641
4681
|
enableManagedAlerts = (request = {}) => this.client.fetch({
|
|
4642
4682
|
body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
|
|
4643
|
-
headers: jsonContentHeaders$
|
|
4683
|
+
headers: jsonContentHeaders$n,
|
|
4644
4684
|
method: 'POST',
|
|
4645
4685
|
path: `/cockpit/v1beta1/enable-managed-alerts`
|
|
4646
4686
|
});
|
|
@@ -4652,7 +4692,7 @@ let API$o = class API extends API$u {
|
|
|
4652
4692
|
*/
|
|
4653
4693
|
disableManagedAlerts = (request = {}) => this.client.fetch({
|
|
4654
4694
|
body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
|
|
4655
|
-
headers: jsonContentHeaders$
|
|
4695
|
+
headers: jsonContentHeaders$n,
|
|
4656
4696
|
method: 'POST',
|
|
4657
4697
|
path: `/cockpit/v1beta1/disable-managed-alerts`
|
|
4658
4698
|
});
|
|
@@ -4664,7 +4704,7 @@ let API$o = class API extends API$u {
|
|
|
4664
4704
|
*/
|
|
4665
4705
|
triggerTestAlert = (request = {}) => this.client.fetch({
|
|
4666
4706
|
body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
|
|
4667
|
-
headers: jsonContentHeaders$
|
|
4707
|
+
headers: jsonContentHeaders$n,
|
|
4668
4708
|
method: 'POST',
|
|
4669
4709
|
path: `/cockpit/v1beta1/trigger-test-alert`
|
|
4670
4710
|
});
|
|
@@ -4678,7 +4718,7 @@ let API$o = class API extends API$u {
|
|
|
4678
4718
|
*/
|
|
4679
4719
|
createGrafanaUser = request => this.client.fetch({
|
|
4680
4720
|
body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
|
|
4681
|
-
headers: jsonContentHeaders$
|
|
4721
|
+
headers: jsonContentHeaders$n,
|
|
4682
4722
|
method: 'POST',
|
|
4683
4723
|
path: `/cockpit/v1beta1/grafana-users`
|
|
4684
4724
|
}, unmarshalGrafanaUser);
|
|
@@ -4705,7 +4745,7 @@ let API$o = class API extends API$u {
|
|
|
4705
4745
|
*/
|
|
4706
4746
|
deleteGrafanaUser = request => this.client.fetch({
|
|
4707
4747
|
body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
|
|
4708
|
-
headers: jsonContentHeaders$
|
|
4748
|
+
headers: jsonContentHeaders$n,
|
|
4709
4749
|
method: 'POST',
|
|
4710
4750
|
path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
|
|
4711
4751
|
});
|
|
@@ -4719,7 +4759,7 @@ let API$o = class API extends API$u {
|
|
|
4719
4759
|
*/
|
|
4720
4760
|
resetGrafanaUserPassword = request => this.client.fetch({
|
|
4721
4761
|
body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
|
|
4722
|
-
headers: jsonContentHeaders$
|
|
4762
|
+
headers: jsonContentHeaders$n,
|
|
4723
4763
|
method: 'POST',
|
|
4724
4764
|
path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
|
|
4725
4765
|
}, unmarshalGrafanaUser);
|
|
@@ -4746,16 +4786,42 @@ let API$o = class API extends API$u {
|
|
|
4746
4786
|
*/
|
|
4747
4787
|
selectPlan = request => this.client.fetch({
|
|
4748
4788
|
body: JSON.stringify(marshalSelectPlanRequest(request, this.client.settings)),
|
|
4749
|
-
headers: jsonContentHeaders$
|
|
4789
|
+
headers: jsonContentHeaders$n,
|
|
4750
4790
|
method: 'POST',
|
|
4751
4791
|
path: `/cockpit/v1beta1/select-plan`
|
|
4752
4792
|
}, unmarshalSelectPlanResponse);
|
|
4793
|
+
pageOfListGrafanaProductDashboards = (request = {}) => this.client.fetch({
|
|
4794
|
+
method: 'GET',
|
|
4795
|
+
path: `/cockpit/v1beta1/grafana-product-dashboards`,
|
|
4796
|
+
urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['tags', request.tags])
|
|
4797
|
+
}, unmarshalListGrafanaProductDashboardsResponse);
|
|
4798
|
+
|
|
4799
|
+
/**
|
|
4800
|
+
* List product dashboards. Get a list of available product dashboards.
|
|
4801
|
+
*
|
|
4802
|
+
* @param request - The request {@link ListGrafanaProductDashboardsRequest}
|
|
4803
|
+
* @returns A Promise of ListGrafanaProductDashboardsResponse
|
|
4804
|
+
*/
|
|
4805
|
+
listGrafanaProductDashboards = (request = {}) => enrichForPagination('dashboards', this.pageOfListGrafanaProductDashboards, request);
|
|
4806
|
+
|
|
4807
|
+
/**
|
|
4808
|
+
* Get a product dashboard. Get a product dashboard specified by the dashboard
|
|
4809
|
+
* ID.
|
|
4810
|
+
*
|
|
4811
|
+
* @param request - The request {@link GetGrafanaProductDashboardRequest}
|
|
4812
|
+
* @returns A Promise of GrafanaProductDashboard
|
|
4813
|
+
*/
|
|
4814
|
+
getGrafanaProductDashboard = request => this.client.fetch({
|
|
4815
|
+
method: 'GET',
|
|
4816
|
+
path: `/cockpit/v1beta1/grafana-product-dashboards/${validatePathParam('dashboardName', request.dashboardName)}`,
|
|
4817
|
+
urlParams: urlParams(['project_id', request.projectId ?? this.client.settings.defaultProjectId])
|
|
4818
|
+
}, unmarshalGrafanaProductDashboard);
|
|
4753
4819
|
};
|
|
4754
4820
|
|
|
4755
4821
|
// This file was automatically generated. DO NOT EDIT.
|
|
4756
4822
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4757
4823
|
|
|
4758
|
-
var index_gen$
|
|
4824
|
+
var index_gen$m = /*#__PURE__*/Object.freeze({
|
|
4759
4825
|
__proto__: null,
|
|
4760
4826
|
API: API$o,
|
|
4761
4827
|
COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
|
|
@@ -4763,7 +4829,7 @@ var index_gen$l = /*#__PURE__*/Object.freeze({
|
|
|
4763
4829
|
|
|
4764
4830
|
var index$p = /*#__PURE__*/Object.freeze({
|
|
4765
4831
|
__proto__: null,
|
|
4766
|
-
v1beta1: index_gen$
|
|
4832
|
+
v1beta1: index_gen$m
|
|
4767
4833
|
});
|
|
4768
4834
|
|
|
4769
4835
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -5141,7 +5207,7 @@ const marshalUpdateTriggerRequest$1 = (request, defaults) => ({
|
|
|
5141
5207
|
|
|
5142
5208
|
// This file was automatically generated. DO NOT EDIT.
|
|
5143
5209
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5144
|
-
const jsonContentHeaders$
|
|
5210
|
+
const jsonContentHeaders$m = {
|
|
5145
5211
|
'Content-Type': 'application/json; charset=utf-8'
|
|
5146
5212
|
};
|
|
5147
5213
|
|
|
@@ -5191,7 +5257,7 @@ let API$n = class API extends API$u {
|
|
|
5191
5257
|
*/
|
|
5192
5258
|
createNamespace = (request = {}) => this.client.fetch({
|
|
5193
5259
|
body: JSON.stringify(marshalCreateNamespaceRequest$3(request, this.client.settings)),
|
|
5194
|
-
headers: jsonContentHeaders$
|
|
5260
|
+
headers: jsonContentHeaders$m,
|
|
5195
5261
|
method: 'POST',
|
|
5196
5262
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
5197
5263
|
}, unmarshalNamespace$3);
|
|
@@ -5205,7 +5271,7 @@ let API$n = class API extends API$u {
|
|
|
5205
5271
|
*/
|
|
5206
5272
|
updateNamespace = request => this.client.fetch({
|
|
5207
5273
|
body: JSON.stringify(marshalUpdateNamespaceRequest$3(request, this.client.settings)),
|
|
5208
|
-
headers: jsonContentHeaders$
|
|
5274
|
+
headers: jsonContentHeaders$m,
|
|
5209
5275
|
method: 'PATCH',
|
|
5210
5276
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
5211
5277
|
}, unmarshalNamespace$3);
|
|
@@ -5263,7 +5329,7 @@ let API$n = class API extends API$u {
|
|
|
5263
5329
|
*/
|
|
5264
5330
|
createContainer = request => this.client.fetch({
|
|
5265
5331
|
body: JSON.stringify(marshalCreateContainerRequest(request, this.client.settings)),
|
|
5266
|
-
headers: jsonContentHeaders$
|
|
5332
|
+
headers: jsonContentHeaders$m,
|
|
5267
5333
|
method: 'POST',
|
|
5268
5334
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`
|
|
5269
5335
|
}, unmarshalContainer);
|
|
@@ -5277,7 +5343,7 @@ let API$n = class API extends API$u {
|
|
|
5277
5343
|
*/
|
|
5278
5344
|
updateContainer = request => this.client.fetch({
|
|
5279
5345
|
body: JSON.stringify(marshalUpdateContainerRequest(request, this.client.settings)),
|
|
5280
|
-
headers: jsonContentHeaders$
|
|
5346
|
+
headers: jsonContentHeaders$m,
|
|
5281
5347
|
method: 'PATCH',
|
|
5282
5348
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}`
|
|
5283
5349
|
}, unmarshalContainer);
|
|
@@ -5301,7 +5367,7 @@ let API$n = class API extends API$u {
|
|
|
5301
5367
|
*/
|
|
5302
5368
|
deployContainer = request => this.client.fetch({
|
|
5303
5369
|
body: '{}',
|
|
5304
|
-
headers: jsonContentHeaders$
|
|
5370
|
+
headers: jsonContentHeaders$m,
|
|
5305
5371
|
method: 'POST',
|
|
5306
5372
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}/deploy`
|
|
5307
5373
|
}, unmarshalContainer);
|
|
@@ -5347,7 +5413,7 @@ let API$n = class API extends API$u {
|
|
|
5347
5413
|
*/
|
|
5348
5414
|
createCron = request => this.client.fetch({
|
|
5349
5415
|
body: JSON.stringify(marshalCreateCronRequest$1(request, this.client.settings)),
|
|
5350
|
-
headers: jsonContentHeaders$
|
|
5416
|
+
headers: jsonContentHeaders$m,
|
|
5351
5417
|
method: 'POST',
|
|
5352
5418
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
|
|
5353
5419
|
}, unmarshalCron$1);
|
|
@@ -5360,7 +5426,7 @@ let API$n = class API extends API$u {
|
|
|
5360
5426
|
*/
|
|
5361
5427
|
updateCron = request => this.client.fetch({
|
|
5362
5428
|
body: JSON.stringify(marshalUpdateCronRequest$1(request, this.client.settings)),
|
|
5363
|
-
headers: jsonContentHeaders$
|
|
5429
|
+
headers: jsonContentHeaders$m,
|
|
5364
5430
|
method: 'PATCH',
|
|
5365
5431
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
|
|
5366
5432
|
}, unmarshalCron$1);
|
|
@@ -5434,7 +5500,7 @@ let API$n = class API extends API$u {
|
|
|
5434
5500
|
*/
|
|
5435
5501
|
createDomain = request => this.client.fetch({
|
|
5436
5502
|
body: JSON.stringify(marshalCreateDomainRequest$2(request, this.client.settings)),
|
|
5437
|
-
headers: jsonContentHeaders$
|
|
5503
|
+
headers: jsonContentHeaders$m,
|
|
5438
5504
|
method: 'POST',
|
|
5439
5505
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
|
|
5440
5506
|
}, unmarshalDomain$3);
|
|
@@ -5476,7 +5542,7 @@ let API$n = class API extends API$u {
|
|
|
5476
5542
|
*/
|
|
5477
5543
|
createToken = (request = {}) => this.client.fetch({
|
|
5478
5544
|
body: JSON.stringify(marshalCreateTokenRequest$1(request, this.client.settings)),
|
|
5479
|
-
headers: jsonContentHeaders$
|
|
5545
|
+
headers: jsonContentHeaders$m,
|
|
5480
5546
|
method: 'POST',
|
|
5481
5547
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
|
|
5482
5548
|
}, unmarshalToken$1);
|
|
@@ -5534,7 +5600,7 @@ let API$n = class API extends API$u {
|
|
|
5534
5600
|
*/
|
|
5535
5601
|
createTrigger = request => this.client.fetch({
|
|
5536
5602
|
body: JSON.stringify(marshalCreateTriggerRequest$1(request, this.client.settings)),
|
|
5537
|
-
headers: jsonContentHeaders$
|
|
5603
|
+
headers: jsonContentHeaders$m,
|
|
5538
5604
|
method: 'POST',
|
|
5539
5605
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
|
|
5540
5606
|
}, unmarshalTrigger$1);
|
|
@@ -5591,7 +5657,7 @@ let API$n = class API extends API$u {
|
|
|
5591
5657
|
*/
|
|
5592
5658
|
updateTrigger = request => this.client.fetch({
|
|
5593
5659
|
body: JSON.stringify(marshalUpdateTriggerRequest$1(request, this.client.settings)),
|
|
5594
|
-
headers: jsonContentHeaders$
|
|
5660
|
+
headers: jsonContentHeaders$m,
|
|
5595
5661
|
method: 'PATCH',
|
|
5596
5662
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
|
|
5597
5663
|
}, unmarshalTrigger$1);
|
|
@@ -5611,7 +5677,7 @@ let API$n = class API extends API$u {
|
|
|
5611
5677
|
// This file was automatically generated. DO NOT EDIT.
|
|
5612
5678
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5613
5679
|
|
|
5614
|
-
var index_gen$
|
|
5680
|
+
var index_gen$l = /*#__PURE__*/Object.freeze({
|
|
5615
5681
|
__proto__: null,
|
|
5616
5682
|
API: API$n,
|
|
5617
5683
|
CONTAINER_TRANSIENT_STATUSES: CONTAINER_TRANSIENT_STATUSES,
|
|
@@ -5624,7 +5690,7 @@ var index_gen$k = /*#__PURE__*/Object.freeze({
|
|
|
5624
5690
|
|
|
5625
5691
|
var index$o = /*#__PURE__*/Object.freeze({
|
|
5626
5692
|
__proto__: null,
|
|
5627
|
-
v1beta1: index_gen$
|
|
5693
|
+
v1beta1: index_gen$l
|
|
5628
5694
|
});
|
|
5629
5695
|
|
|
5630
5696
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -6277,7 +6343,7 @@ const marshalUpgradeInstanceRequest$1 = (request, defaults) => ({
|
|
|
6277
6343
|
|
|
6278
6344
|
// This file was automatically generated. DO NOT EDIT.
|
|
6279
6345
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
6280
|
-
const jsonContentHeaders$
|
|
6346
|
+
const jsonContentHeaders$l = {
|
|
6281
6347
|
'Content-Type': 'application/json; charset=utf-8'
|
|
6282
6348
|
};
|
|
6283
6349
|
|
|
@@ -6326,7 +6392,7 @@ let API$m = class API extends API$u {
|
|
|
6326
6392
|
*/
|
|
6327
6393
|
upgradeInstance = request => this.client.fetch({
|
|
6328
6394
|
body: JSON.stringify(marshalUpgradeInstanceRequest$1(request, this.client.settings)),
|
|
6329
|
-
headers: jsonContentHeaders$
|
|
6395
|
+
headers: jsonContentHeaders$l,
|
|
6330
6396
|
method: 'POST',
|
|
6331
6397
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
|
|
6332
6398
|
}, unmarshalInstance$2);
|
|
@@ -6384,7 +6450,7 @@ let API$m = class API extends API$u {
|
|
|
6384
6450
|
*/
|
|
6385
6451
|
createInstance = request => this.client.fetch({
|
|
6386
6452
|
body: JSON.stringify(marshalCreateInstanceRequest$1(request, this.client.settings)),
|
|
6387
|
-
headers: jsonContentHeaders$
|
|
6453
|
+
headers: jsonContentHeaders$l,
|
|
6388
6454
|
method: 'POST',
|
|
6389
6455
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
|
|
6390
6456
|
}, unmarshalInstance$2);
|
|
@@ -6398,7 +6464,7 @@ let API$m = class API extends API$u {
|
|
|
6398
6464
|
*/
|
|
6399
6465
|
updateInstance = request => this.client.fetch({
|
|
6400
6466
|
body: JSON.stringify(marshalUpdateInstanceRequest$1(request, this.client.settings)),
|
|
6401
|
-
headers: jsonContentHeaders$
|
|
6467
|
+
headers: jsonContentHeaders$l,
|
|
6402
6468
|
method: 'PATCH',
|
|
6403
6469
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
|
|
6404
6470
|
}, unmarshalInstance$2);
|
|
@@ -6429,7 +6495,7 @@ let API$m = class API extends API$u {
|
|
|
6429
6495
|
*/
|
|
6430
6496
|
cloneInstance = request => this.client.fetch({
|
|
6431
6497
|
body: JSON.stringify(marshalCloneInstanceRequest$1(request, this.client.settings)),
|
|
6432
|
-
headers: jsonContentHeaders$
|
|
6498
|
+
headers: jsonContentHeaders$l,
|
|
6433
6499
|
method: 'POST',
|
|
6434
6500
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
|
|
6435
6501
|
}, unmarshalInstance$2);
|
|
@@ -6444,7 +6510,7 @@ let API$m = class API extends API$u {
|
|
|
6444
6510
|
*/
|
|
6445
6511
|
restartInstance = request => this.client.fetch({
|
|
6446
6512
|
body: '{}',
|
|
6447
|
-
headers: jsonContentHeaders$
|
|
6513
|
+
headers: jsonContentHeaders$l,
|
|
6448
6514
|
method: 'POST',
|
|
6449
6515
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
|
|
6450
6516
|
}, unmarshalInstance$2);
|
|
@@ -6475,7 +6541,7 @@ let API$m = class API extends API$u {
|
|
|
6475
6541
|
*/
|
|
6476
6542
|
renewInstanceCertificate = request => this.client.fetch({
|
|
6477
6543
|
body: '{}',
|
|
6478
|
-
headers: jsonContentHeaders$
|
|
6544
|
+
headers: jsonContentHeaders$l,
|
|
6479
6545
|
method: 'POST',
|
|
6480
6546
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
|
|
6481
6547
|
});
|
|
@@ -6504,7 +6570,7 @@ let API$m = class API extends API$u {
|
|
|
6504
6570
|
*/
|
|
6505
6571
|
createReadReplica = request => this.client.fetch({
|
|
6506
6572
|
body: JSON.stringify(marshalCreateReadReplicaRequest$1(request, this.client.settings)),
|
|
6507
|
-
headers: jsonContentHeaders$
|
|
6573
|
+
headers: jsonContentHeaders$l,
|
|
6508
6574
|
method: 'POST',
|
|
6509
6575
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
|
|
6510
6576
|
}, unmarshalReadReplica$1);
|
|
@@ -6556,7 +6622,7 @@ let API$m = class API extends API$u {
|
|
|
6556
6622
|
*/
|
|
6557
6623
|
resetReadReplica = request => this.client.fetch({
|
|
6558
6624
|
body: '{}',
|
|
6559
|
-
headers: jsonContentHeaders$
|
|
6625
|
+
headers: jsonContentHeaders$l,
|
|
6560
6626
|
method: 'POST',
|
|
6561
6627
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
|
|
6562
6628
|
}, unmarshalReadReplica$1);
|
|
@@ -6570,7 +6636,7 @@ let API$m = class API extends API$u {
|
|
|
6570
6636
|
*/
|
|
6571
6637
|
promoteReadReplica = request => this.client.fetch({
|
|
6572
6638
|
body: '{}',
|
|
6573
|
-
headers: jsonContentHeaders$
|
|
6639
|
+
headers: jsonContentHeaders$l,
|
|
6574
6640
|
method: 'POST',
|
|
6575
6641
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
|
|
6576
6642
|
}, unmarshalInstance$2);
|
|
@@ -6585,7 +6651,7 @@ let API$m = class API extends API$u {
|
|
|
6585
6651
|
*/
|
|
6586
6652
|
createReadReplicaEndpoint = request => this.client.fetch({
|
|
6587
6653
|
body: JSON.stringify(marshalCreateReadReplicaEndpointRequest$1(request, this.client.settings)),
|
|
6588
|
-
headers: jsonContentHeaders$
|
|
6654
|
+
headers: jsonContentHeaders$l,
|
|
6589
6655
|
method: 'POST',
|
|
6590
6656
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
|
|
6591
6657
|
}, unmarshalReadReplica$1);
|
|
@@ -6637,7 +6703,7 @@ let API$m = class API extends API$u {
|
|
|
6637
6703
|
*/
|
|
6638
6704
|
purgeInstanceLogs = request => this.client.fetch({
|
|
6639
6705
|
body: JSON.stringify(marshalPurgeInstanceLogsRequest$1(request, this.client.settings)),
|
|
6640
|
-
headers: jsonContentHeaders$
|
|
6706
|
+
headers: jsonContentHeaders$l,
|
|
6641
6707
|
method: 'POST',
|
|
6642
6708
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
|
|
6643
6709
|
});
|
|
@@ -6665,7 +6731,7 @@ let API$m = class API extends API$u {
|
|
|
6665
6731
|
*/
|
|
6666
6732
|
addInstanceSettings = request => this.client.fetch({
|
|
6667
6733
|
body: JSON.stringify(marshalAddInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6668
|
-
headers: jsonContentHeaders$
|
|
6734
|
+
headers: jsonContentHeaders$l,
|
|
6669
6735
|
method: 'POST',
|
|
6670
6736
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6671
6737
|
}, unmarshalAddInstanceSettingsResponse$1);
|
|
@@ -6680,7 +6746,7 @@ let API$m = class API extends API$u {
|
|
|
6680
6746
|
*/
|
|
6681
6747
|
deleteInstanceSettings = request => this.client.fetch({
|
|
6682
6748
|
body: JSON.stringify(marshalDeleteInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6683
|
-
headers: jsonContentHeaders$
|
|
6749
|
+
headers: jsonContentHeaders$l,
|
|
6684
6750
|
method: 'DELETE',
|
|
6685
6751
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6686
6752
|
}, unmarshalDeleteInstanceSettingsResponse$1);
|
|
@@ -6695,7 +6761,7 @@ let API$m = class API extends API$u {
|
|
|
6695
6761
|
*/
|
|
6696
6762
|
setInstanceSettings = request => this.client.fetch({
|
|
6697
6763
|
body: JSON.stringify(marshalSetInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6698
|
-
headers: jsonContentHeaders$
|
|
6764
|
+
headers: jsonContentHeaders$l,
|
|
6699
6765
|
method: 'PUT',
|
|
6700
6766
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6701
6767
|
}, unmarshalSetInstanceSettingsResponse$1);
|
|
@@ -6725,7 +6791,7 @@ let API$m = class API extends API$u {
|
|
|
6725
6791
|
*/
|
|
6726
6792
|
addInstanceACLRules = request => this.client.fetch({
|
|
6727
6793
|
body: JSON.stringify(marshalAddInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6728
|
-
headers: jsonContentHeaders$
|
|
6794
|
+
headers: jsonContentHeaders$l,
|
|
6729
6795
|
method: 'POST',
|
|
6730
6796
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6731
6797
|
}, unmarshalAddInstanceACLRulesResponse$1);
|
|
@@ -6739,7 +6805,7 @@ let API$m = class API extends API$u {
|
|
|
6739
6805
|
*/
|
|
6740
6806
|
setInstanceACLRules = request => this.client.fetch({
|
|
6741
6807
|
body: JSON.stringify(marshalSetInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6742
|
-
headers: jsonContentHeaders$
|
|
6808
|
+
headers: jsonContentHeaders$l,
|
|
6743
6809
|
method: 'PUT',
|
|
6744
6810
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6745
6811
|
}, unmarshalSetInstanceACLRulesResponse$1);
|
|
@@ -6753,7 +6819,7 @@ let API$m = class API extends API$u {
|
|
|
6753
6819
|
*/
|
|
6754
6820
|
deleteInstanceACLRules = request => this.client.fetch({
|
|
6755
6821
|
body: JSON.stringify(marshalDeleteInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6756
|
-
headers: jsonContentHeaders$
|
|
6822
|
+
headers: jsonContentHeaders$l,
|
|
6757
6823
|
method: 'DELETE',
|
|
6758
6824
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6759
6825
|
}, unmarshalDeleteInstanceACLRulesResponse$1);
|
|
@@ -6784,7 +6850,7 @@ let API$m = class API extends API$u {
|
|
|
6784
6850
|
*/
|
|
6785
6851
|
createUser = request => this.client.fetch({
|
|
6786
6852
|
body: JSON.stringify(marshalCreateUserRequest$2(request, this.client.settings)),
|
|
6787
|
-
headers: jsonContentHeaders$
|
|
6853
|
+
headers: jsonContentHeaders$l,
|
|
6788
6854
|
method: 'POST',
|
|
6789
6855
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
|
|
6790
6856
|
}, unmarshalUser$2);
|
|
@@ -6799,7 +6865,7 @@ let API$m = class API extends API$u {
|
|
|
6799
6865
|
*/
|
|
6800
6866
|
updateUser = request => this.client.fetch({
|
|
6801
6867
|
body: JSON.stringify(marshalUpdateUserRequest$1(request, this.client.settings)),
|
|
6802
|
-
headers: jsonContentHeaders$
|
|
6868
|
+
headers: jsonContentHeaders$l,
|
|
6803
6869
|
method: 'PATCH',
|
|
6804
6870
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
|
|
6805
6871
|
}, unmarshalUser$2);
|
|
@@ -6842,7 +6908,7 @@ let API$m = class API extends API$u {
|
|
|
6842
6908
|
*/
|
|
6843
6909
|
createDatabase = request => this.client.fetch({
|
|
6844
6910
|
body: JSON.stringify(marshalCreateDatabaseRequest$1(request, this.client.settings)),
|
|
6845
|
-
headers: jsonContentHeaders$
|
|
6911
|
+
headers: jsonContentHeaders$l,
|
|
6846
6912
|
method: 'POST',
|
|
6847
6913
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
|
|
6848
6914
|
}, unmarshalDatabase$1);
|
|
@@ -6886,7 +6952,7 @@ let API$m = class API extends API$u {
|
|
|
6886
6952
|
*/
|
|
6887
6953
|
setPrivilege = request => this.client.fetch({
|
|
6888
6954
|
body: JSON.stringify(marshalSetPrivilegeRequest$1(request, this.client.settings)),
|
|
6889
|
-
headers: jsonContentHeaders$
|
|
6955
|
+
headers: jsonContentHeaders$l,
|
|
6890
6956
|
method: 'PUT',
|
|
6891
6957
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
|
|
6892
6958
|
}, unmarshalPrivilege$1);
|
|
@@ -6939,7 +7005,7 @@ let API$m = class API extends API$u {
|
|
|
6939
7005
|
*/
|
|
6940
7006
|
createSnapshot = request => this.client.fetch({
|
|
6941
7007
|
body: JSON.stringify(marshalCreateSnapshotRequest$2(request, this.client.settings)),
|
|
6942
|
-
headers: jsonContentHeaders$
|
|
7008
|
+
headers: jsonContentHeaders$l,
|
|
6943
7009
|
method: 'POST',
|
|
6944
7010
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
|
|
6945
7011
|
}, unmarshalSnapshot$2);
|
|
@@ -6954,7 +7020,7 @@ let API$m = class API extends API$u {
|
|
|
6954
7020
|
*/
|
|
6955
7021
|
updateSnapshot = request => this.client.fetch({
|
|
6956
7022
|
body: JSON.stringify(marshalUpdateSnapshotRequest$1(request, this.client.settings)),
|
|
6957
|
-
headers: jsonContentHeaders$
|
|
7023
|
+
headers: jsonContentHeaders$l,
|
|
6958
7024
|
method: 'PATCH',
|
|
6959
7025
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
6960
7026
|
}, unmarshalSnapshot$2);
|
|
@@ -6987,7 +7053,7 @@ let API$m = class API extends API$u {
|
|
|
6987
7053
|
*/
|
|
6988
7054
|
createInstanceFromSnapshot = request => this.client.fetch({
|
|
6989
7055
|
body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest$1(request, this.client.settings)),
|
|
6990
|
-
headers: jsonContentHeaders$
|
|
7056
|
+
headers: jsonContentHeaders$l,
|
|
6991
7057
|
method: 'POST',
|
|
6992
7058
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
|
|
6993
7059
|
}, unmarshalInstance$2);
|
|
@@ -7002,7 +7068,7 @@ let API$m = class API extends API$u {
|
|
|
7002
7068
|
*/
|
|
7003
7069
|
createEndpoint = request => this.client.fetch({
|
|
7004
7070
|
body: JSON.stringify(marshalCreateEndpointRequest$1(request, this.client.settings)),
|
|
7005
|
-
headers: jsonContentHeaders$
|
|
7071
|
+
headers: jsonContentHeaders$l,
|
|
7006
7072
|
method: 'POST',
|
|
7007
7073
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
|
|
7008
7074
|
}, unmarshalEndpoint$2);
|
|
@@ -7043,7 +7109,7 @@ let API$m = class API extends API$u {
|
|
|
7043
7109
|
*/
|
|
7044
7110
|
migrateEndpoint = request => this.client.fetch({
|
|
7045
7111
|
body: JSON.stringify(marshalMigrateEndpointRequest$1(request, this.client.settings)),
|
|
7046
|
-
headers: jsonContentHeaders$
|
|
7112
|
+
headers: jsonContentHeaders$l,
|
|
7047
7113
|
method: 'POST',
|
|
7048
7114
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
|
|
7049
7115
|
}, unmarshalEndpoint$2);
|
|
@@ -7058,7 +7124,7 @@ const UpdateInstanceRequest$1 = {
|
|
|
7058
7124
|
}
|
|
7059
7125
|
};
|
|
7060
7126
|
|
|
7061
|
-
var validationRules_gen$
|
|
7127
|
+
var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
|
|
7062
7128
|
__proto__: null,
|
|
7063
7129
|
UpdateInstanceRequest: UpdateInstanceRequest$1
|
|
7064
7130
|
});
|
|
@@ -7066,7 +7132,7 @@ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
|
7066
7132
|
// This file was automatically generated. DO NOT EDIT.
|
|
7067
7133
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
7068
7134
|
|
|
7069
|
-
var index_gen$
|
|
7135
|
+
var index_gen$k = /*#__PURE__*/Object.freeze({
|
|
7070
7136
|
__proto__: null,
|
|
7071
7137
|
API: API$m,
|
|
7072
7138
|
INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES$1,
|
|
@@ -7074,12 +7140,12 @@ var index_gen$j = /*#__PURE__*/Object.freeze({
|
|
|
7074
7140
|
MAINTENANCE_TRANSIENT_STATUSES: MAINTENANCE_TRANSIENT_STATUSES$1,
|
|
7075
7141
|
READ_REPLICA_TRANSIENT_STATUSES: READ_REPLICA_TRANSIENT_STATUSES$1,
|
|
7076
7142
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$2,
|
|
7077
|
-
ValidationRules: validationRules_gen$
|
|
7143
|
+
ValidationRules: validationRules_gen$6
|
|
7078
7144
|
});
|
|
7079
7145
|
|
|
7080
7146
|
var index$n = /*#__PURE__*/Object.freeze({
|
|
7081
7147
|
__proto__: null,
|
|
7082
|
-
v1beta1: index_gen$
|
|
7148
|
+
v1beta1: index_gen$k
|
|
7083
7149
|
});
|
|
7084
7150
|
|
|
7085
7151
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -8278,7 +8344,7 @@ const marshalUpdateDNSZoneRequest = (request, defaults) => ({
|
|
|
8278
8344
|
|
|
8279
8345
|
// This file was automatically generated. DO NOT EDIT.
|
|
8280
8346
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
8281
|
-
const jsonContentHeaders$
|
|
8347
|
+
const jsonContentHeaders$k = {
|
|
8282
8348
|
'Content-Type': 'application/json; charset=utf-8'
|
|
8283
8349
|
};
|
|
8284
8350
|
|
|
@@ -8313,7 +8379,7 @@ let API$l = class API extends API$u {
|
|
|
8313
8379
|
*/
|
|
8314
8380
|
createDNSZone = request => this.client.fetch({
|
|
8315
8381
|
body: JSON.stringify(marshalCreateDNSZoneRequest(request, this.client.settings)),
|
|
8316
|
-
headers: jsonContentHeaders$
|
|
8382
|
+
headers: jsonContentHeaders$k,
|
|
8317
8383
|
method: 'POST',
|
|
8318
8384
|
path: `/domain/v2beta1/dns-zones`
|
|
8319
8385
|
}, unmarshalDNSZone);
|
|
@@ -8326,7 +8392,7 @@ let API$l = class API extends API$u {
|
|
|
8326
8392
|
*/
|
|
8327
8393
|
updateDNSZone = request => this.client.fetch({
|
|
8328
8394
|
body: JSON.stringify(marshalUpdateDNSZoneRequest(request, this.client.settings)),
|
|
8329
|
-
headers: jsonContentHeaders$
|
|
8395
|
+
headers: jsonContentHeaders$k,
|
|
8330
8396
|
method: 'PATCH',
|
|
8331
8397
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}`
|
|
8332
8398
|
}, unmarshalDNSZone);
|
|
@@ -8340,7 +8406,7 @@ let API$l = class API extends API$u {
|
|
|
8340
8406
|
*/
|
|
8341
8407
|
cloneDNSZone = request => this.client.fetch({
|
|
8342
8408
|
body: JSON.stringify(marshalCloneDNSZoneRequest(request, this.client.settings)),
|
|
8343
|
-
headers: jsonContentHeaders$
|
|
8409
|
+
headers: jsonContentHeaders$k,
|
|
8344
8410
|
method: 'POST',
|
|
8345
8411
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/clone`
|
|
8346
8412
|
}, unmarshalDNSZone);
|
|
@@ -8393,7 +8459,7 @@ let API$l = class API extends API$u {
|
|
|
8393
8459
|
*/
|
|
8394
8460
|
updateDNSZoneRecords = request => this.client.fetch({
|
|
8395
8461
|
body: JSON.stringify(marshalUpdateDNSZoneRecordsRequest(request, this.client.settings)),
|
|
8396
|
-
headers: jsonContentHeaders$
|
|
8462
|
+
headers: jsonContentHeaders$k,
|
|
8397
8463
|
method: 'PATCH',
|
|
8398
8464
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/records`
|
|
8399
8465
|
}, unmarshalUpdateDNSZoneRecordsResponse);
|
|
@@ -8420,7 +8486,7 @@ let API$l = class API extends API$u {
|
|
|
8420
8486
|
*/
|
|
8421
8487
|
updateDNSZoneNameservers = request => this.client.fetch({
|
|
8422
8488
|
body: JSON.stringify(marshalUpdateDNSZoneNameserversRequest(request, this.client.settings)),
|
|
8423
|
-
headers: jsonContentHeaders$
|
|
8489
|
+
headers: jsonContentHeaders$k,
|
|
8424
8490
|
method: 'PUT',
|
|
8425
8491
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/nameservers`
|
|
8426
8492
|
}, unmarshalUpdateDNSZoneNameserversResponse);
|
|
@@ -8460,7 +8526,7 @@ let API$l = class API extends API$u {
|
|
|
8460
8526
|
*/
|
|
8461
8527
|
importRawDNSZone = request => this.client.fetch({
|
|
8462
8528
|
body: JSON.stringify(marshalImportRawDNSZoneRequest(request, this.client.settings)),
|
|
8463
|
-
headers: jsonContentHeaders$
|
|
8529
|
+
headers: jsonContentHeaders$k,
|
|
8464
8530
|
method: 'POST',
|
|
8465
8531
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/raw`
|
|
8466
8532
|
}, unmarshalImportRawDNSZoneResponse);
|
|
@@ -8474,7 +8540,7 @@ let API$l = class API extends API$u {
|
|
|
8474
8540
|
*/
|
|
8475
8541
|
importProviderDNSZone = request => this.client.fetch({
|
|
8476
8542
|
body: JSON.stringify(marshalImportProviderDNSZoneRequest(request, this.client.settings)),
|
|
8477
|
-
headers: jsonContentHeaders$
|
|
8543
|
+
headers: jsonContentHeaders$k,
|
|
8478
8544
|
method: 'POST',
|
|
8479
8545
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/import-provider`
|
|
8480
8546
|
}, unmarshalImportProviderDNSZoneResponse);
|
|
@@ -8489,7 +8555,7 @@ let API$l = class API extends API$u {
|
|
|
8489
8555
|
*/
|
|
8490
8556
|
refreshDNSZone = request => this.client.fetch({
|
|
8491
8557
|
body: JSON.stringify(marshalRefreshDNSZoneRequest(request, this.client.settings)),
|
|
8492
|
-
headers: jsonContentHeaders$
|
|
8558
|
+
headers: jsonContentHeaders$k,
|
|
8493
8559
|
method: 'POST',
|
|
8494
8560
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/refresh`
|
|
8495
8561
|
}, unmarshalRefreshDNSZoneResponse);
|
|
@@ -8544,7 +8610,7 @@ let API$l = class API extends API$u {
|
|
|
8544
8610
|
*/
|
|
8545
8611
|
restoreDNSZoneVersion = request => this.client.fetch({
|
|
8546
8612
|
body: '{}',
|
|
8547
|
-
headers: jsonContentHeaders$
|
|
8613
|
+
headers: jsonContentHeaders$k,
|
|
8548
8614
|
method: 'POST',
|
|
8549
8615
|
path: `/domain/v2beta1/dns-zones/version/${validatePathParam('dnsZoneVersionId', request.dnsZoneVersionId)}/restore`
|
|
8550
8616
|
}, unmarshalRestoreDNSZoneVersionResponse);
|
|
@@ -8579,7 +8645,7 @@ let API$l = class API extends API$u {
|
|
|
8579
8645
|
*/
|
|
8580
8646
|
createSSLCertificate = request => this.client.fetch({
|
|
8581
8647
|
body: JSON.stringify(marshalCreateSSLCertificateRequest(request, this.client.settings)),
|
|
8582
|
-
headers: jsonContentHeaders$
|
|
8648
|
+
headers: jsonContentHeaders$k,
|
|
8583
8649
|
method: 'POST',
|
|
8584
8650
|
path: `/domain/v2beta1/ssl-certificates`
|
|
8585
8651
|
}, unmarshalSSLCertificate);
|
|
@@ -8665,7 +8731,7 @@ class RegistrarAPI extends API$u {
|
|
|
8665
8731
|
*/
|
|
8666
8732
|
buyDomains = request => this.client.fetch({
|
|
8667
8733
|
body: JSON.stringify(marshalRegistrarApiBuyDomainsRequest(request, this.client.settings)),
|
|
8668
|
-
headers: jsonContentHeaders$
|
|
8734
|
+
headers: jsonContentHeaders$k,
|
|
8669
8735
|
method: 'POST',
|
|
8670
8736
|
path: `/domain/v2beta1/buy-domains`
|
|
8671
8737
|
}, unmarshalOrderResponse);
|
|
@@ -8678,7 +8744,7 @@ class RegistrarAPI extends API$u {
|
|
|
8678
8744
|
*/
|
|
8679
8745
|
renewDomains = request => this.client.fetch({
|
|
8680
8746
|
body: JSON.stringify(marshalRegistrarApiRenewDomainsRequest(request, this.client.settings)),
|
|
8681
|
-
headers: jsonContentHeaders$
|
|
8747
|
+
headers: jsonContentHeaders$k,
|
|
8682
8748
|
method: 'POST',
|
|
8683
8749
|
path: `/domain/v2beta1/renew-domains`
|
|
8684
8750
|
}, unmarshalOrderResponse);
|
|
@@ -8692,7 +8758,7 @@ class RegistrarAPI extends API$u {
|
|
|
8692
8758
|
*/
|
|
8693
8759
|
transferInDomain = request => this.client.fetch({
|
|
8694
8760
|
body: JSON.stringify(marshalRegistrarApiTransferInDomainRequest(request, this.client.settings)),
|
|
8695
|
-
headers: jsonContentHeaders$
|
|
8761
|
+
headers: jsonContentHeaders$k,
|
|
8696
8762
|
method: 'POST',
|
|
8697
8763
|
path: `/domain/v2beta1/domains/transfer-domains`
|
|
8698
8764
|
}, unmarshalOrderResponse);
|
|
@@ -8712,7 +8778,7 @@ class RegistrarAPI extends API$u {
|
|
|
8712
8778
|
*/
|
|
8713
8779
|
tradeDomain = request => this.client.fetch({
|
|
8714
8780
|
body: JSON.stringify(marshalRegistrarApiTradeDomainRequest(request, this.client.settings)),
|
|
8715
|
-
headers: jsonContentHeaders$
|
|
8781
|
+
headers: jsonContentHeaders$k,
|
|
8716
8782
|
method: 'POST',
|
|
8717
8783
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/trade`
|
|
8718
8784
|
}, unmarshalOrderResponse);
|
|
@@ -8727,7 +8793,7 @@ class RegistrarAPI extends API$u {
|
|
|
8727
8793
|
*/
|
|
8728
8794
|
registerExternalDomain = request => this.client.fetch({
|
|
8729
8795
|
body: JSON.stringify(marshalRegistrarApiRegisterExternalDomainRequest(request, this.client.settings)),
|
|
8730
|
-
headers: jsonContentHeaders$
|
|
8796
|
+
headers: jsonContentHeaders$k,
|
|
8731
8797
|
method: 'POST',
|
|
8732
8798
|
path: `/domain/v2beta1/external-domains`
|
|
8733
8799
|
}, unmarshalRegisterExternalDomainResponse);
|
|
@@ -8755,7 +8821,7 @@ class RegistrarAPI extends API$u {
|
|
|
8755
8821
|
*/
|
|
8756
8822
|
checkContactsCompatibility = (request = {}) => this.client.fetch({
|
|
8757
8823
|
body: JSON.stringify(marshalRegistrarApiCheckContactsCompatibilityRequest(request, this.client.settings)),
|
|
8758
|
-
headers: jsonContentHeaders$
|
|
8824
|
+
headers: jsonContentHeaders$k,
|
|
8759
8825
|
method: 'POST',
|
|
8760
8826
|
path: `/domain/v2beta1/check-contacts-compatibility`
|
|
8761
8827
|
}, unmarshalCheckContactsCompatibilityResponse);
|
|
@@ -8794,7 +8860,7 @@ class RegistrarAPI extends API$u {
|
|
|
8794
8860
|
*/
|
|
8795
8861
|
updateContact = request => this.client.fetch({
|
|
8796
8862
|
body: JSON.stringify(marshalRegistrarApiUpdateContactRequest(request, this.client.settings)),
|
|
8797
|
-
headers: jsonContentHeaders$
|
|
8863
|
+
headers: jsonContentHeaders$k,
|
|
8798
8864
|
method: 'PATCH',
|
|
8799
8865
|
path: `/domain/v2beta1/contacts/${validatePathParam('contactId', request.contactId)}`
|
|
8800
8866
|
}, unmarshalContact);
|
|
@@ -8859,7 +8925,7 @@ class RegistrarAPI extends API$u {
|
|
|
8859
8925
|
*/
|
|
8860
8926
|
updateDomain = request => this.client.fetch({
|
|
8861
8927
|
body: JSON.stringify(marshalRegistrarApiUpdateDomainRequest(request, this.client.settings)),
|
|
8862
|
-
headers: jsonContentHeaders$
|
|
8928
|
+
headers: jsonContentHeaders$k,
|
|
8863
8929
|
method: 'PATCH',
|
|
8864
8930
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}`
|
|
8865
8931
|
}, unmarshalDomain$2);
|
|
@@ -8874,7 +8940,7 @@ class RegistrarAPI extends API$u {
|
|
|
8874
8940
|
*/
|
|
8875
8941
|
lockDomainTransfer = request => this.client.fetch({
|
|
8876
8942
|
body: '{}',
|
|
8877
|
-
headers: jsonContentHeaders$
|
|
8943
|
+
headers: jsonContentHeaders$k,
|
|
8878
8944
|
method: 'POST',
|
|
8879
8945
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/lock-transfer`
|
|
8880
8946
|
}, unmarshalDomain$2);
|
|
@@ -8889,7 +8955,7 @@ class RegistrarAPI extends API$u {
|
|
|
8889
8955
|
*/
|
|
8890
8956
|
unlockDomainTransfer = request => this.client.fetch({
|
|
8891
8957
|
body: '{}',
|
|
8892
|
-
headers: jsonContentHeaders$
|
|
8958
|
+
headers: jsonContentHeaders$k,
|
|
8893
8959
|
method: 'POST',
|
|
8894
8960
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/unlock-transfer`
|
|
8895
8961
|
}, unmarshalDomain$2);
|
|
@@ -8904,7 +8970,7 @@ class RegistrarAPI extends API$u {
|
|
|
8904
8970
|
*/
|
|
8905
8971
|
enableDomainAutoRenew = request => this.client.fetch({
|
|
8906
8972
|
body: '{}',
|
|
8907
|
-
headers: jsonContentHeaders$
|
|
8973
|
+
headers: jsonContentHeaders$k,
|
|
8908
8974
|
method: 'POST',
|
|
8909
8975
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-auto-renew`
|
|
8910
8976
|
}, unmarshalDomain$2);
|
|
@@ -8919,7 +8985,7 @@ class RegistrarAPI extends API$u {
|
|
|
8919
8985
|
*/
|
|
8920
8986
|
disableDomainAutoRenew = request => this.client.fetch({
|
|
8921
8987
|
body: '{}',
|
|
8922
|
-
headers: jsonContentHeaders$
|
|
8988
|
+
headers: jsonContentHeaders$k,
|
|
8923
8989
|
method: 'POST',
|
|
8924
8990
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-auto-renew`
|
|
8925
8991
|
}, unmarshalDomain$2);
|
|
@@ -8948,7 +9014,7 @@ class RegistrarAPI extends API$u {
|
|
|
8948
9014
|
*/
|
|
8949
9015
|
enableDomainDNSSEC = request => this.client.fetch({
|
|
8950
9016
|
body: JSON.stringify(marshalRegistrarApiEnableDomainDNSSECRequest(request, this.client.settings)),
|
|
8951
|
-
headers: jsonContentHeaders$
|
|
9017
|
+
headers: jsonContentHeaders$k,
|
|
8952
9018
|
method: 'POST',
|
|
8953
9019
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-dnssec`
|
|
8954
9020
|
}, unmarshalDomain$2);
|
|
@@ -8961,7 +9027,7 @@ class RegistrarAPI extends API$u {
|
|
|
8961
9027
|
*/
|
|
8962
9028
|
disableDomainDNSSEC = request => this.client.fetch({
|
|
8963
9029
|
body: '{}',
|
|
8964
|
-
headers: jsonContentHeaders$
|
|
9030
|
+
headers: jsonContentHeaders$k,
|
|
8965
9031
|
method: 'POST',
|
|
8966
9032
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-dnssec`
|
|
8967
9033
|
}, unmarshalDomain$2);
|
|
@@ -9005,7 +9071,7 @@ class RegistrarAPI extends API$u {
|
|
|
9005
9071
|
*/
|
|
9006
9072
|
createDomainHost = request => this.client.fetch({
|
|
9007
9073
|
body: JSON.stringify(marshalRegistrarApiCreateDomainHostRequest(request, this.client.settings)),
|
|
9008
|
-
headers: jsonContentHeaders$
|
|
9074
|
+
headers: jsonContentHeaders$k,
|
|
9009
9075
|
method: 'POST',
|
|
9010
9076
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts`
|
|
9011
9077
|
}, unmarshalHost);
|
|
@@ -9031,7 +9097,7 @@ class RegistrarAPI extends API$u {
|
|
|
9031
9097
|
*/
|
|
9032
9098
|
updateDomainHost = request => this.client.fetch({
|
|
9033
9099
|
body: JSON.stringify(marshalRegistrarApiUpdateDomainHostRequest(request, this.client.settings)),
|
|
9034
|
-
headers: jsonContentHeaders$
|
|
9100
|
+
headers: jsonContentHeaders$k,
|
|
9035
9101
|
method: 'PATCH',
|
|
9036
9102
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts/${validatePathParam('name', request.name)}`
|
|
9037
9103
|
}, unmarshalHost);
|
|
@@ -9051,7 +9117,7 @@ class RegistrarAPI extends API$u {
|
|
|
9051
9117
|
// This file was automatically generated. DO NOT EDIT.
|
|
9052
9118
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9053
9119
|
|
|
9054
|
-
var index_gen$
|
|
9120
|
+
var index_gen$j = /*#__PURE__*/Object.freeze({
|
|
9055
9121
|
__proto__: null,
|
|
9056
9122
|
API: API$l,
|
|
9057
9123
|
DNS_ZONE_TRANSIENT_STATUSES: DNS_ZONE_TRANSIENT_STATUSES,
|
|
@@ -9066,7 +9132,7 @@ var index_gen$i = /*#__PURE__*/Object.freeze({
|
|
|
9066
9132
|
|
|
9067
9133
|
var index$m = /*#__PURE__*/Object.freeze({
|
|
9068
9134
|
__proto__: null,
|
|
9069
|
-
v2beta1: index_gen$
|
|
9135
|
+
v2beta1: index_gen$j
|
|
9070
9136
|
});
|
|
9071
9137
|
|
|
9072
9138
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -9173,7 +9239,7 @@ const marshalUpdateFlexibleIPRequest = (request, defaults) => ({
|
|
|
9173
9239
|
|
|
9174
9240
|
// This file was automatically generated. DO NOT EDIT.
|
|
9175
9241
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9176
|
-
const jsonContentHeaders$
|
|
9242
|
+
const jsonContentHeaders$j = {
|
|
9177
9243
|
'Content-Type': 'application/json; charset=utf-8'
|
|
9178
9244
|
};
|
|
9179
9245
|
|
|
@@ -9191,7 +9257,7 @@ let API$k = class API extends API$u {
|
|
|
9191
9257
|
*/
|
|
9192
9258
|
createFlexibleIP = request => this.client.fetch({
|
|
9193
9259
|
body: JSON.stringify(marshalCreateFlexibleIPRequest(request, this.client.settings)),
|
|
9194
|
-
headers: jsonContentHeaders$
|
|
9260
|
+
headers: jsonContentHeaders$j,
|
|
9195
9261
|
method: 'POST',
|
|
9196
9262
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips`
|
|
9197
9263
|
}, unmarshalFlexibleIP);
|
|
@@ -9241,7 +9307,7 @@ let API$k = class API extends API$u {
|
|
|
9241
9307
|
*/
|
|
9242
9308
|
updateFlexibleIP = request => this.client.fetch({
|
|
9243
9309
|
body: JSON.stringify(marshalUpdateFlexibleIPRequest(request, this.client.settings)),
|
|
9244
|
-
headers: jsonContentHeaders$
|
|
9310
|
+
headers: jsonContentHeaders$j,
|
|
9245
9311
|
method: 'PATCH',
|
|
9246
9312
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}`
|
|
9247
9313
|
}, unmarshalFlexibleIP);
|
|
@@ -9267,7 +9333,7 @@ let API$k = class API extends API$u {
|
|
|
9267
9333
|
*/
|
|
9268
9334
|
attachFlexibleIP = request => this.client.fetch({
|
|
9269
9335
|
body: JSON.stringify(marshalAttachFlexibleIPRequest(request, this.client.settings)),
|
|
9270
|
-
headers: jsonContentHeaders$
|
|
9336
|
+
headers: jsonContentHeaders$j,
|
|
9271
9337
|
method: 'POST',
|
|
9272
9338
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/attach`
|
|
9273
9339
|
}, unmarshalAttachFlexibleIPsResponse);
|
|
@@ -9281,7 +9347,7 @@ let API$k = class API extends API$u {
|
|
|
9281
9347
|
*/
|
|
9282
9348
|
detachFlexibleIP = request => this.client.fetch({
|
|
9283
9349
|
body: JSON.stringify(marshalDetachFlexibleIPRequest(request, this.client.settings)),
|
|
9284
|
-
headers: jsonContentHeaders$
|
|
9350
|
+
headers: jsonContentHeaders$j,
|
|
9285
9351
|
method: 'POST',
|
|
9286
9352
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/detach`
|
|
9287
9353
|
}, unmarshalDetachFlexibleIPsResponse);
|
|
@@ -9295,7 +9361,7 @@ let API$k = class API extends API$u {
|
|
|
9295
9361
|
*/
|
|
9296
9362
|
generateMACAddr = request => this.client.fetch({
|
|
9297
9363
|
body: JSON.stringify(marshalGenerateMACAddrRequest(request, this.client.settings)),
|
|
9298
|
-
headers: jsonContentHeaders$
|
|
9364
|
+
headers: jsonContentHeaders$j,
|
|
9299
9365
|
method: 'POST',
|
|
9300
9366
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac`
|
|
9301
9367
|
}, unmarshalFlexibleIP);
|
|
@@ -9310,7 +9376,7 @@ let API$k = class API extends API$u {
|
|
|
9310
9376
|
*/
|
|
9311
9377
|
duplicateMACAddr = request => this.client.fetch({
|
|
9312
9378
|
body: JSON.stringify(marshalDuplicateMACAddrRequest(request, this.client.settings)),
|
|
9313
|
-
headers: jsonContentHeaders$
|
|
9379
|
+
headers: jsonContentHeaders$j,
|
|
9314
9380
|
method: 'POST',
|
|
9315
9381
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/duplicate`
|
|
9316
9382
|
}, unmarshalFlexibleIP);
|
|
@@ -9325,7 +9391,7 @@ let API$k = class API extends API$u {
|
|
|
9325
9391
|
*/
|
|
9326
9392
|
moveMACAddr = request => this.client.fetch({
|
|
9327
9393
|
body: JSON.stringify(marshalMoveMACAddrRequest(request, this.client.settings)),
|
|
9328
|
-
headers: jsonContentHeaders$
|
|
9394
|
+
headers: jsonContentHeaders$j,
|
|
9329
9395
|
method: 'POST',
|
|
9330
9396
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/move`
|
|
9331
9397
|
}, unmarshalFlexibleIP);
|
|
@@ -9355,7 +9421,7 @@ const ListFlexibleIPsRequest = {
|
|
|
9355
9421
|
}
|
|
9356
9422
|
};
|
|
9357
9423
|
|
|
9358
|
-
var validationRules_gen$
|
|
9424
|
+
var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
9359
9425
|
__proto__: null,
|
|
9360
9426
|
ListFlexibleIPsRequest: ListFlexibleIPsRequest
|
|
9361
9427
|
});
|
|
@@ -9363,17 +9429,17 @@ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
|
9363
9429
|
// This file was automatically generated. DO NOT EDIT.
|
|
9364
9430
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9365
9431
|
|
|
9366
|
-
var index_gen$
|
|
9432
|
+
var index_gen$i = /*#__PURE__*/Object.freeze({
|
|
9367
9433
|
__proto__: null,
|
|
9368
9434
|
API: API$k,
|
|
9369
9435
|
FLEXIBLE_IP_TRANSIENT_STATUSES: FLEXIBLE_IP_TRANSIENT_STATUSES,
|
|
9370
9436
|
MAC_ADDRESS_TRANSIENT_STATUSES: MAC_ADDRESS_TRANSIENT_STATUSES,
|
|
9371
|
-
ValidationRules: validationRules_gen$
|
|
9437
|
+
ValidationRules: validationRules_gen$5
|
|
9372
9438
|
});
|
|
9373
9439
|
|
|
9374
9440
|
var index$l = /*#__PURE__*/Object.freeze({
|
|
9375
9441
|
__proto__: null,
|
|
9376
|
-
v1alpha1: index_gen$
|
|
9442
|
+
v1alpha1: index_gen$i
|
|
9377
9443
|
});
|
|
9378
9444
|
|
|
9379
9445
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -9789,7 +9855,7 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
|
|
|
9789
9855
|
|
|
9790
9856
|
// This file was automatically generated. DO NOT EDIT.
|
|
9791
9857
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9792
|
-
const jsonContentHeaders$
|
|
9858
|
+
const jsonContentHeaders$i = {
|
|
9793
9859
|
'Content-Type': 'application/json; charset=utf-8'
|
|
9794
9860
|
};
|
|
9795
9861
|
|
|
@@ -9841,7 +9907,7 @@ let API$j = class API extends API$u {
|
|
|
9841
9907
|
*/
|
|
9842
9908
|
createNamespace = (request = {}) => this.client.fetch({
|
|
9843
9909
|
body: JSON.stringify(marshalCreateNamespaceRequest$2(request, this.client.settings)),
|
|
9844
|
-
headers: jsonContentHeaders$
|
|
9910
|
+
headers: jsonContentHeaders$i,
|
|
9845
9911
|
method: 'POST',
|
|
9846
9912
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
9847
9913
|
}, unmarshalNamespace$2);
|
|
@@ -9855,7 +9921,7 @@ let API$j = class API extends API$u {
|
|
|
9855
9921
|
*/
|
|
9856
9922
|
updateNamespace = request => this.client.fetch({
|
|
9857
9923
|
body: JSON.stringify(marshalUpdateNamespaceRequest$2(request, this.client.settings)),
|
|
9858
|
-
headers: jsonContentHeaders$
|
|
9924
|
+
headers: jsonContentHeaders$i,
|
|
9859
9925
|
method: 'PATCH',
|
|
9860
9926
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
9861
9927
|
}, unmarshalNamespace$2);
|
|
@@ -9914,7 +9980,7 @@ let API$j = class API extends API$u {
|
|
|
9914
9980
|
*/
|
|
9915
9981
|
createFunction = request => this.client.fetch({
|
|
9916
9982
|
body: JSON.stringify(marshalCreateFunctionRequest(request, this.client.settings)),
|
|
9917
|
-
headers: jsonContentHeaders$
|
|
9983
|
+
headers: jsonContentHeaders$i,
|
|
9918
9984
|
method: 'POST',
|
|
9919
9985
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`
|
|
9920
9986
|
}, unmarshalFunction);
|
|
@@ -9928,7 +9994,7 @@ let API$j = class API extends API$u {
|
|
|
9928
9994
|
*/
|
|
9929
9995
|
updateFunction = request => this.client.fetch({
|
|
9930
9996
|
body: JSON.stringify(marshalUpdateFunctionRequest(request, this.client.settings)),
|
|
9931
|
-
headers: jsonContentHeaders$
|
|
9997
|
+
headers: jsonContentHeaders$i,
|
|
9932
9998
|
method: 'PATCH',
|
|
9933
9999
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
|
|
9934
10000
|
}, unmarshalFunction);
|
|
@@ -9952,7 +10018,7 @@ let API$j = class API extends API$u {
|
|
|
9952
10018
|
*/
|
|
9953
10019
|
deployFunction = request => this.client.fetch({
|
|
9954
10020
|
body: '{}',
|
|
9955
|
-
headers: jsonContentHeaders$
|
|
10021
|
+
headers: jsonContentHeaders$i,
|
|
9956
10022
|
method: 'POST',
|
|
9957
10023
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}/deploy`
|
|
9958
10024
|
}, unmarshalFunction);
|
|
@@ -10035,7 +10101,7 @@ let API$j = class API extends API$u {
|
|
|
10035
10101
|
*/
|
|
10036
10102
|
createCron = request => this.client.fetch({
|
|
10037
10103
|
body: JSON.stringify(marshalCreateCronRequest(request, this.client.settings)),
|
|
10038
|
-
headers: jsonContentHeaders$
|
|
10104
|
+
headers: jsonContentHeaders$i,
|
|
10039
10105
|
method: 'POST',
|
|
10040
10106
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
|
|
10041
10107
|
}, unmarshalCron);
|
|
@@ -10048,7 +10114,7 @@ let API$j = class API extends API$u {
|
|
|
10048
10114
|
*/
|
|
10049
10115
|
updateCron = request => this.client.fetch({
|
|
10050
10116
|
body: JSON.stringify(marshalUpdateCronRequest(request, this.client.settings)),
|
|
10051
|
-
headers: jsonContentHeaders$
|
|
10117
|
+
headers: jsonContentHeaders$i,
|
|
10052
10118
|
method: 'PATCH',
|
|
10053
10119
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
|
|
10054
10120
|
}, unmarshalCron);
|
|
@@ -10122,7 +10188,7 @@ let API$j = class API extends API$u {
|
|
|
10122
10188
|
*/
|
|
10123
10189
|
createDomain = request => this.client.fetch({
|
|
10124
10190
|
body: JSON.stringify(marshalCreateDomainRequest$1(request, this.client.settings)),
|
|
10125
|
-
headers: jsonContentHeaders$
|
|
10191
|
+
headers: jsonContentHeaders$i,
|
|
10126
10192
|
method: 'POST',
|
|
10127
10193
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
|
|
10128
10194
|
}, unmarshalDomain$1);
|
|
@@ -10164,7 +10230,7 @@ let API$j = class API extends API$u {
|
|
|
10164
10230
|
*/
|
|
10165
10231
|
createToken = (request = {}) => this.client.fetch({
|
|
10166
10232
|
body: JSON.stringify(marshalCreateTokenRequest(request, this.client.settings)),
|
|
10167
|
-
headers: jsonContentHeaders$
|
|
10233
|
+
headers: jsonContentHeaders$i,
|
|
10168
10234
|
method: 'POST',
|
|
10169
10235
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
|
|
10170
10236
|
}, unmarshalToken);
|
|
@@ -10214,7 +10280,7 @@ let API$j = class API extends API$u {
|
|
|
10214
10280
|
}, unmarshalToken);
|
|
10215
10281
|
createTrigger = request => this.client.fetch({
|
|
10216
10282
|
body: JSON.stringify(marshalCreateTriggerRequest(request, this.client.settings)),
|
|
10217
|
-
headers: jsonContentHeaders$
|
|
10283
|
+
headers: jsonContentHeaders$i,
|
|
10218
10284
|
method: 'POST',
|
|
10219
10285
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
|
|
10220
10286
|
}, unmarshalTrigger);
|
|
@@ -10249,7 +10315,7 @@ let API$j = class API extends API$u {
|
|
|
10249
10315
|
listTriggers = (request = {}) => enrichForPagination('triggers', this.pageOfListTriggers, request);
|
|
10250
10316
|
updateTrigger = request => this.client.fetch({
|
|
10251
10317
|
body: JSON.stringify(marshalUpdateTriggerRequest(request, this.client.settings)),
|
|
10252
|
-
headers: jsonContentHeaders$
|
|
10318
|
+
headers: jsonContentHeaders$i,
|
|
10253
10319
|
method: 'PATCH',
|
|
10254
10320
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
|
|
10255
10321
|
}, unmarshalTrigger);
|
|
@@ -10262,7 +10328,7 @@ let API$j = class API extends API$u {
|
|
|
10262
10328
|
// This file was automatically generated. DO NOT EDIT.
|
|
10263
10329
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10264
10330
|
|
|
10265
|
-
var index_gen$
|
|
10331
|
+
var index_gen$h = /*#__PURE__*/Object.freeze({
|
|
10266
10332
|
__proto__: null,
|
|
10267
10333
|
API: API$j,
|
|
10268
10334
|
CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES,
|
|
@@ -10275,7 +10341,7 @@ var index_gen$g = /*#__PURE__*/Object.freeze({
|
|
|
10275
10341
|
|
|
10276
10342
|
var index$k = /*#__PURE__*/Object.freeze({
|
|
10277
10343
|
__proto__: null,
|
|
10278
|
-
v1beta1: index_gen$
|
|
10344
|
+
v1beta1: index_gen$h
|
|
10279
10345
|
});
|
|
10280
10346
|
|
|
10281
10347
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -10658,7 +10724,7 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
|
|
|
10658
10724
|
|
|
10659
10725
|
// This file was automatically generated. DO NOT EDIT.
|
|
10660
10726
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10661
|
-
const jsonContentHeaders$
|
|
10727
|
+
const jsonContentHeaders$h = {
|
|
10662
10728
|
'Content-Type': 'application/json; charset=utf-8'
|
|
10663
10729
|
};
|
|
10664
10730
|
|
|
@@ -10690,7 +10756,7 @@ let API$i = class API extends API$u {
|
|
|
10690
10756
|
*/
|
|
10691
10757
|
createSSHKey = request => this.client.fetch({
|
|
10692
10758
|
body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
|
|
10693
|
-
headers: jsonContentHeaders$
|
|
10759
|
+
headers: jsonContentHeaders$h,
|
|
10694
10760
|
method: 'POST',
|
|
10695
10761
|
path: `/iam/v1alpha1/ssh-keys`
|
|
10696
10762
|
}, unmarshalSSHKey);
|
|
@@ -10717,7 +10783,7 @@ let API$i = class API extends API$u {
|
|
|
10717
10783
|
*/
|
|
10718
10784
|
updateSSHKey = request => this.client.fetch({
|
|
10719
10785
|
body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
|
|
10720
|
-
headers: jsonContentHeaders$
|
|
10786
|
+
headers: jsonContentHeaders$h,
|
|
10721
10787
|
method: 'PATCH',
|
|
10722
10788
|
path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
|
|
10723
10789
|
}, unmarshalSSHKey);
|
|
@@ -10787,7 +10853,7 @@ let API$i = class API extends API$u {
|
|
|
10787
10853
|
*/
|
|
10788
10854
|
createUser = request => this.client.fetch({
|
|
10789
10855
|
body: JSON.stringify(marshalCreateUserRequest$1(request, this.client.settings)),
|
|
10790
|
-
headers: jsonContentHeaders$
|
|
10856
|
+
headers: jsonContentHeaders$h,
|
|
10791
10857
|
method: 'POST',
|
|
10792
10858
|
path: `/iam/v1alpha1/users`
|
|
10793
10859
|
}, unmarshalUser$1);
|
|
@@ -10819,7 +10885,7 @@ let API$i = class API extends API$u {
|
|
|
10819
10885
|
*/
|
|
10820
10886
|
createApplication = request => this.client.fetch({
|
|
10821
10887
|
body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
|
|
10822
|
-
headers: jsonContentHeaders$
|
|
10888
|
+
headers: jsonContentHeaders$h,
|
|
10823
10889
|
method: 'POST',
|
|
10824
10890
|
path: `/iam/v1alpha1/applications`
|
|
10825
10891
|
}, unmarshalApplication);
|
|
@@ -10847,7 +10913,7 @@ let API$i = class API extends API$u {
|
|
|
10847
10913
|
*/
|
|
10848
10914
|
updateApplication = request => this.client.fetch({
|
|
10849
10915
|
body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
|
|
10850
|
-
headers: jsonContentHeaders$
|
|
10916
|
+
headers: jsonContentHeaders$h,
|
|
10851
10917
|
method: 'PATCH',
|
|
10852
10918
|
path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
|
|
10853
10919
|
}, unmarshalApplication);
|
|
@@ -10891,7 +10957,7 @@ let API$i = class API extends API$u {
|
|
|
10891
10957
|
*/
|
|
10892
10958
|
createGroup = request => this.client.fetch({
|
|
10893
10959
|
body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
|
|
10894
|
-
headers: jsonContentHeaders$
|
|
10960
|
+
headers: jsonContentHeaders$h,
|
|
10895
10961
|
method: 'POST',
|
|
10896
10962
|
path: `/iam/v1alpha1/groups`
|
|
10897
10963
|
}, unmarshalGroup);
|
|
@@ -10918,7 +10984,7 @@ let API$i = class API extends API$u {
|
|
|
10918
10984
|
*/
|
|
10919
10985
|
updateGroup = request => this.client.fetch({
|
|
10920
10986
|
body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
|
|
10921
|
-
headers: jsonContentHeaders$
|
|
10987
|
+
headers: jsonContentHeaders$h,
|
|
10922
10988
|
method: 'PATCH',
|
|
10923
10989
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
|
|
10924
10990
|
}, unmarshalGroup);
|
|
@@ -10933,7 +10999,7 @@ let API$i = class API extends API$u {
|
|
|
10933
10999
|
*/
|
|
10934
11000
|
setGroupMembers = request => this.client.fetch({
|
|
10935
11001
|
body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
|
|
10936
|
-
headers: jsonContentHeaders$
|
|
11002
|
+
headers: jsonContentHeaders$h,
|
|
10937
11003
|
method: 'PUT',
|
|
10938
11004
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
|
|
10939
11005
|
}, unmarshalGroup);
|
|
@@ -10948,7 +11014,7 @@ let API$i = class API extends API$u {
|
|
|
10948
11014
|
*/
|
|
10949
11015
|
addGroupMember = request => this.client.fetch({
|
|
10950
11016
|
body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
|
|
10951
|
-
headers: jsonContentHeaders$
|
|
11017
|
+
headers: jsonContentHeaders$h,
|
|
10952
11018
|
method: 'POST',
|
|
10953
11019
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
|
|
10954
11020
|
}, unmarshalGroup);
|
|
@@ -10966,7 +11032,7 @@ let API$i = class API extends API$u {
|
|
|
10966
11032
|
*/
|
|
10967
11033
|
addGroupMembers = request => this.client.fetch({
|
|
10968
11034
|
body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
|
|
10969
|
-
headers: jsonContentHeaders$
|
|
11035
|
+
headers: jsonContentHeaders$h,
|
|
10970
11036
|
method: 'POST',
|
|
10971
11037
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
|
|
10972
11038
|
}, unmarshalGroup);
|
|
@@ -10985,7 +11051,7 @@ let API$i = class API extends API$u {
|
|
|
10985
11051
|
*/
|
|
10986
11052
|
removeGroupMember = request => this.client.fetch({
|
|
10987
11053
|
body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
|
|
10988
|
-
headers: jsonContentHeaders$
|
|
11054
|
+
headers: jsonContentHeaders$h,
|
|
10989
11055
|
method: 'POST',
|
|
10990
11056
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
|
|
10991
11057
|
}, unmarshalGroup);
|
|
@@ -11031,7 +11097,7 @@ let API$i = class API extends API$u {
|
|
|
11031
11097
|
*/
|
|
11032
11098
|
createPolicy = request => this.client.fetch({
|
|
11033
11099
|
body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
|
|
11034
|
-
headers: jsonContentHeaders$
|
|
11100
|
+
headers: jsonContentHeaders$h,
|
|
11035
11101
|
method: 'POST',
|
|
11036
11102
|
path: `/iam/v1alpha1/policies`
|
|
11037
11103
|
}, unmarshalPolicy);
|
|
@@ -11060,7 +11126,7 @@ let API$i = class API extends API$u {
|
|
|
11060
11126
|
*/
|
|
11061
11127
|
updatePolicy = request => this.client.fetch({
|
|
11062
11128
|
body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
|
|
11063
|
-
headers: jsonContentHeaders$
|
|
11129
|
+
headers: jsonContentHeaders$h,
|
|
11064
11130
|
method: 'PATCH',
|
|
11065
11131
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
|
|
11066
11132
|
}, unmarshalPolicy);
|
|
@@ -11087,7 +11153,7 @@ let API$i = class API extends API$u {
|
|
|
11087
11153
|
*/
|
|
11088
11154
|
clonePolicy = request => this.client.fetch({
|
|
11089
11155
|
body: '{}',
|
|
11090
|
-
headers: jsonContentHeaders$
|
|
11156
|
+
headers: jsonContentHeaders$h,
|
|
11091
11157
|
method: 'POST',
|
|
11092
11158
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
|
|
11093
11159
|
}, unmarshalPolicy);
|
|
@@ -11105,7 +11171,7 @@ let API$i = class API extends API$u {
|
|
|
11105
11171
|
*/
|
|
11106
11172
|
setRules = request => this.client.fetch({
|
|
11107
11173
|
body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
|
|
11108
|
-
headers: jsonContentHeaders$
|
|
11174
|
+
headers: jsonContentHeaders$h,
|
|
11109
11175
|
method: 'PUT',
|
|
11110
11176
|
path: `/iam/v1alpha1/rules`
|
|
11111
11177
|
}, unmarshalSetRulesResponse);
|
|
@@ -11176,7 +11242,7 @@ let API$i = class API extends API$u {
|
|
|
11176
11242
|
*/
|
|
11177
11243
|
createAPIKey = request => this.client.fetch({
|
|
11178
11244
|
body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
|
|
11179
|
-
headers: jsonContentHeaders$
|
|
11245
|
+
headers: jsonContentHeaders$h,
|
|
11180
11246
|
method: 'POST',
|
|
11181
11247
|
path: `/iam/v1alpha1/api-keys`
|
|
11182
11248
|
}, unmarshalAPIKey);
|
|
@@ -11206,7 +11272,7 @@ let API$i = class API extends API$u {
|
|
|
11206
11272
|
*/
|
|
11207
11273
|
updateAPIKey = request => this.client.fetch({
|
|
11208
11274
|
body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
|
|
11209
|
-
headers: jsonContentHeaders$
|
|
11275
|
+
headers: jsonContentHeaders$h,
|
|
11210
11276
|
method: 'PATCH',
|
|
11211
11277
|
path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
|
|
11212
11278
|
}, unmarshalAPIKey);
|
|
@@ -11495,7 +11561,7 @@ const UpdateSSHKeyRequest = {
|
|
|
11495
11561
|
}
|
|
11496
11562
|
};
|
|
11497
11563
|
|
|
11498
|
-
var validationRules_gen$
|
|
11564
|
+
var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
11499
11565
|
__proto__: null,
|
|
11500
11566
|
CreateAPIKeyRequest: CreateAPIKeyRequest,
|
|
11501
11567
|
CreateApplicationRequest: CreateApplicationRequest,
|
|
@@ -11523,15 +11589,15 @@ var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
|
|
|
11523
11589
|
// This file was automatically generated. DO NOT EDIT.
|
|
11524
11590
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
11525
11591
|
|
|
11526
|
-
var index_gen$
|
|
11592
|
+
var index_gen$g = /*#__PURE__*/Object.freeze({
|
|
11527
11593
|
__proto__: null,
|
|
11528
11594
|
API: API$i,
|
|
11529
|
-
ValidationRules: validationRules_gen$
|
|
11595
|
+
ValidationRules: validationRules_gen$4
|
|
11530
11596
|
});
|
|
11531
11597
|
|
|
11532
11598
|
var index$j = /*#__PURE__*/Object.freeze({
|
|
11533
11599
|
__proto__: null,
|
|
11534
|
-
v1alpha1: index_gen$
|
|
11600
|
+
v1alpha1: index_gen$g
|
|
11535
11601
|
});
|
|
11536
11602
|
|
|
11537
11603
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -11684,7 +11750,8 @@ const unmarshalServerIp = data => {
|
|
|
11684
11750
|
gateway: data.gateway,
|
|
11685
11751
|
id: data.id,
|
|
11686
11752
|
netmask: data.netmask,
|
|
11687
|
-
provisioningMode: data.provisioning_mode
|
|
11753
|
+
provisioningMode: data.provisioning_mode,
|
|
11754
|
+
tags: data.tags
|
|
11688
11755
|
};
|
|
11689
11756
|
};
|
|
11690
11757
|
const unmarshalServerIpv6 = data => {
|
|
@@ -12523,7 +12590,8 @@ const marshalServerIp = (request, defaults) => ({
|
|
|
12523
12590
|
gateway: request.gateway,
|
|
12524
12591
|
id: request.id,
|
|
12525
12592
|
netmask: request.netmask,
|
|
12526
|
-
provisioning_mode: request.provisioningMode
|
|
12593
|
+
provisioning_mode: request.provisioningMode,
|
|
12594
|
+
tags: request.tags
|
|
12527
12595
|
});
|
|
12528
12596
|
const marshalServerIpv6 = (request, defaults) => ({
|
|
12529
12597
|
address: request.address,
|
|
@@ -12902,9 +12970,9 @@ const marshalUpdateServerRequest = (request, defaults) => ({
|
|
|
12902
12970
|
enable_ipv6: request.enableIpv6,
|
|
12903
12971
|
name: request.name,
|
|
12904
12972
|
placement_group: request.placementGroup,
|
|
12905
|
-
private_nics: request.privateNics
|
|
12973
|
+
private_nics: request.privateNics,
|
|
12906
12974
|
protected: request.protected,
|
|
12907
|
-
public_ips: request.publicIps
|
|
12975
|
+
public_ips: request.publicIps,
|
|
12908
12976
|
routed_ip_enabled: request.routedIpEnabled,
|
|
12909
12977
|
security_group: request.securityGroup ? marshalSecurityGroupTemplate(request.securityGroup) : undefined,
|
|
12910
12978
|
tags: request.tags,
|
|
@@ -12921,7 +12989,7 @@ const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
|
|
|
12921
12989
|
|
|
12922
12990
|
// This file was automatically generated. DO NOT EDIT.
|
|
12923
12991
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
12924
|
-
const jsonContentHeaders$
|
|
12992
|
+
const jsonContentHeaders$g = {
|
|
12925
12993
|
'Content-Type': 'application/json; charset=utf-8'
|
|
12926
12994
|
};
|
|
12927
12995
|
|
|
@@ -12982,7 +13050,7 @@ let API$h = class API extends API$u {
|
|
|
12982
13050
|
listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
|
|
12983
13051
|
_createServer = request => this.client.fetch({
|
|
12984
13052
|
body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
|
|
12985
|
-
headers: jsonContentHeaders$
|
|
13053
|
+
headers: jsonContentHeaders$g,
|
|
12986
13054
|
method: 'POST',
|
|
12987
13055
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
12988
13056
|
}, unmarshalCreateServerResponse);
|
|
@@ -13009,13 +13077,13 @@ let API$h = class API extends API$u {
|
|
|
13009
13077
|
}, unmarshalGetServerResponse);
|
|
13010
13078
|
_setServer = request => this.client.fetch({
|
|
13011
13079
|
body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
|
|
13012
|
-
headers: jsonContentHeaders$
|
|
13080
|
+
headers: jsonContentHeaders$g,
|
|
13013
13081
|
method: 'PUT',
|
|
13014
13082
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
|
|
13015
13083
|
}, unmarshalSetServerResponse);
|
|
13016
13084
|
_updateServer = request => this.client.fetch({
|
|
13017
13085
|
body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
|
|
13018
|
-
headers: jsonContentHeaders$
|
|
13086
|
+
headers: jsonContentHeaders$g,
|
|
13019
13087
|
method: 'PATCH',
|
|
13020
13088
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
13021
13089
|
}, unmarshalUpdateServerResponse);
|
|
@@ -13053,7 +13121,7 @@ let API$h = class API extends API$u {
|
|
|
13053
13121
|
*/
|
|
13054
13122
|
serverAction = request => this.client.fetch({
|
|
13055
13123
|
body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
|
|
13056
|
-
headers: jsonContentHeaders$
|
|
13124
|
+
headers: jsonContentHeaders$g,
|
|
13057
13125
|
method: 'POST',
|
|
13058
13126
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
|
|
13059
13127
|
}, unmarshalServerActionResponse);
|
|
@@ -13112,13 +13180,13 @@ let API$h = class API extends API$u {
|
|
|
13112
13180
|
*/
|
|
13113
13181
|
createImage = request => this.client.fetch({
|
|
13114
13182
|
body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
|
|
13115
|
-
headers: jsonContentHeaders$
|
|
13183
|
+
headers: jsonContentHeaders$g,
|
|
13116
13184
|
method: 'POST',
|
|
13117
13185
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
|
|
13118
13186
|
}, unmarshalCreateImageResponse);
|
|
13119
13187
|
_setImage = request => this.client.fetch({
|
|
13120
13188
|
body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
|
|
13121
|
-
headers: jsonContentHeaders$
|
|
13189
|
+
headers: jsonContentHeaders$g,
|
|
13122
13190
|
method: 'PUT',
|
|
13123
13191
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
|
|
13124
13192
|
}, unmarshalSetImageResponse);
|
|
@@ -13157,7 +13225,7 @@ let API$h = class API extends API$u {
|
|
|
13157
13225
|
*/
|
|
13158
13226
|
createSnapshot = (request = {}) => this.client.fetch({
|
|
13159
13227
|
body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
|
|
13160
|
-
headers: jsonContentHeaders$
|
|
13228
|
+
headers: jsonContentHeaders$g,
|
|
13161
13229
|
method: 'POST',
|
|
13162
13230
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
13163
13231
|
}, unmarshalCreateSnapshotResponse);
|
|
@@ -13174,7 +13242,7 @@ let API$h = class API extends API$u {
|
|
|
13174
13242
|
}, unmarshalGetSnapshotResponse);
|
|
13175
13243
|
_setSnapshot = request => this.client.fetch({
|
|
13176
13244
|
body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
|
|
13177
|
-
headers: jsonContentHeaders$
|
|
13245
|
+
headers: jsonContentHeaders$g,
|
|
13178
13246
|
method: 'PUT',
|
|
13179
13247
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
13180
13248
|
}, unmarshalSetSnapshotResponse);
|
|
@@ -13198,7 +13266,7 @@ let API$h = class API extends API$u {
|
|
|
13198
13266
|
*/
|
|
13199
13267
|
exportSnapshot = request => this.client.fetch({
|
|
13200
13268
|
body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
|
|
13201
|
-
headers: jsonContentHeaders$
|
|
13269
|
+
headers: jsonContentHeaders$g,
|
|
13202
13270
|
method: 'POST',
|
|
13203
13271
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
|
|
13204
13272
|
}, unmarshalExportSnapshotResponse);
|
|
@@ -13226,7 +13294,7 @@ let API$h = class API extends API$u {
|
|
|
13226
13294
|
*/
|
|
13227
13295
|
createVolume = (request = {}) => this.client.fetch({
|
|
13228
13296
|
body: JSON.stringify(marshalCreateVolumeRequest$1(request, this.client.settings)),
|
|
13229
|
-
headers: jsonContentHeaders$
|
|
13297
|
+
headers: jsonContentHeaders$g,
|
|
13230
13298
|
method: 'POST',
|
|
13231
13299
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
13232
13300
|
}, unmarshalCreateVolumeResponse);
|
|
@@ -13252,7 +13320,7 @@ let API$h = class API extends API$u {
|
|
|
13252
13320
|
*/
|
|
13253
13321
|
updateVolume = request => this.client.fetch({
|
|
13254
13322
|
body: JSON.stringify(marshalUpdateVolumeRequest$1(request, this.client.settings)),
|
|
13255
|
-
headers: jsonContentHeaders$
|
|
13323
|
+
headers: jsonContentHeaders$g,
|
|
13256
13324
|
method: 'PATCH',
|
|
13257
13325
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
13258
13326
|
}, unmarshalUpdateVolumeResponse);
|
|
@@ -13289,7 +13357,7 @@ let API$h = class API extends API$u {
|
|
|
13289
13357
|
*/
|
|
13290
13358
|
createSecurityGroup = request => this.client.fetch({
|
|
13291
13359
|
body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
|
|
13292
|
-
headers: jsonContentHeaders$
|
|
13360
|
+
headers: jsonContentHeaders$g,
|
|
13293
13361
|
method: 'POST',
|
|
13294
13362
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
|
|
13295
13363
|
}, unmarshalCreateSecurityGroupResponse);
|
|
@@ -13317,7 +13385,7 @@ let API$h = class API extends API$u {
|
|
|
13317
13385
|
});
|
|
13318
13386
|
_setSecurityGroup = request => this.client.fetch({
|
|
13319
13387
|
body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
|
|
13320
|
-
headers: jsonContentHeaders$
|
|
13388
|
+
headers: jsonContentHeaders$g,
|
|
13321
13389
|
method: 'PUT',
|
|
13322
13390
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
|
|
13323
13391
|
}, unmarshalSetSecurityGroupResponse);
|
|
@@ -13355,7 +13423,7 @@ let API$h = class API extends API$u {
|
|
|
13355
13423
|
*/
|
|
13356
13424
|
createSecurityGroupRule = request => this.client.fetch({
|
|
13357
13425
|
body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13358
|
-
headers: jsonContentHeaders$
|
|
13426
|
+
headers: jsonContentHeaders$g,
|
|
13359
13427
|
method: 'POST',
|
|
13360
13428
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13361
13429
|
}, unmarshalCreateSecurityGroupRuleResponse);
|
|
@@ -13371,7 +13439,7 @@ let API$h = class API extends API$u {
|
|
|
13371
13439
|
*/
|
|
13372
13440
|
setSecurityGroupRules = request => this.client.fetch({
|
|
13373
13441
|
body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
|
|
13374
|
-
headers: jsonContentHeaders$
|
|
13442
|
+
headers: jsonContentHeaders$g,
|
|
13375
13443
|
method: 'PUT',
|
|
13376
13444
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13377
13445
|
}, unmarshalSetSecurityGroupRulesResponse);
|
|
@@ -13398,7 +13466,7 @@ let API$h = class API extends API$u {
|
|
|
13398
13466
|
}, unmarshalGetSecurityGroupRuleResponse);
|
|
13399
13467
|
_setSecurityGroupRule = request => this.client.fetch({
|
|
13400
13468
|
body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13401
|
-
headers: jsonContentHeaders$
|
|
13469
|
+
headers: jsonContentHeaders$g,
|
|
13402
13470
|
method: 'PUT',
|
|
13403
13471
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
|
|
13404
13472
|
}, unmarshalSetSecurityGroupRuleResponse);
|
|
@@ -13426,7 +13494,7 @@ let API$h = class API extends API$u {
|
|
|
13426
13494
|
*/
|
|
13427
13495
|
createPlacementGroup = (request = {}) => this.client.fetch({
|
|
13428
13496
|
body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
|
|
13429
|
-
headers: jsonContentHeaders$
|
|
13497
|
+
headers: jsonContentHeaders$g,
|
|
13430
13498
|
method: 'POST',
|
|
13431
13499
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
|
|
13432
13500
|
}, unmarshalCreatePlacementGroupResponse);
|
|
@@ -13450,7 +13518,7 @@ let API$h = class API extends API$u {
|
|
|
13450
13518
|
*/
|
|
13451
13519
|
setPlacementGroup = request => this.client.fetch({
|
|
13452
13520
|
body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
|
|
13453
|
-
headers: jsonContentHeaders$
|
|
13521
|
+
headers: jsonContentHeaders$g,
|
|
13454
13522
|
method: 'PUT',
|
|
13455
13523
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13456
13524
|
}, unmarshalSetPlacementGroupResponse);
|
|
@@ -13464,7 +13532,7 @@ let API$h = class API extends API$u {
|
|
|
13464
13532
|
*/
|
|
13465
13533
|
updatePlacementGroup = request => this.client.fetch({
|
|
13466
13534
|
body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
|
|
13467
|
-
headers: jsonContentHeaders$
|
|
13535
|
+
headers: jsonContentHeaders$g,
|
|
13468
13536
|
method: 'PATCH',
|
|
13469
13537
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13470
13538
|
}, unmarshalUpdatePlacementGroupResponse);
|
|
@@ -13500,7 +13568,7 @@ let API$h = class API extends API$u {
|
|
|
13500
13568
|
*/
|
|
13501
13569
|
setPlacementGroupServers = request => this.client.fetch({
|
|
13502
13570
|
body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
|
|
13503
|
-
headers: jsonContentHeaders$
|
|
13571
|
+
headers: jsonContentHeaders$g,
|
|
13504
13572
|
method: 'PUT',
|
|
13505
13573
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
13506
13574
|
}, unmarshalSetPlacementGroupServersResponse);
|
|
@@ -13514,7 +13582,7 @@ let API$h = class API extends API$u {
|
|
|
13514
13582
|
*/
|
|
13515
13583
|
updatePlacementGroupServers = request => this.client.fetch({
|
|
13516
13584
|
body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
|
|
13517
|
-
headers: jsonContentHeaders$
|
|
13585
|
+
headers: jsonContentHeaders$g,
|
|
13518
13586
|
method: 'PATCH',
|
|
13519
13587
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
13520
13588
|
}, unmarshalUpdatePlacementGroupServersResponse);
|
|
@@ -13541,7 +13609,7 @@ let API$h = class API extends API$u {
|
|
|
13541
13609
|
*/
|
|
13542
13610
|
createIp = (request = {}) => this.client.fetch({
|
|
13543
13611
|
body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
|
|
13544
|
-
headers: jsonContentHeaders$
|
|
13612
|
+
headers: jsonContentHeaders$g,
|
|
13545
13613
|
method: 'POST',
|
|
13546
13614
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
|
|
13547
13615
|
}, unmarshalCreateIpResponse);
|
|
@@ -13566,7 +13634,7 @@ let API$h = class API extends API$u {
|
|
|
13566
13634
|
*/
|
|
13567
13635
|
updateIp = request => this.client.fetch({
|
|
13568
13636
|
body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
|
|
13569
|
-
headers: jsonContentHeaders$
|
|
13637
|
+
headers: jsonContentHeaders$g,
|
|
13570
13638
|
method: 'PATCH',
|
|
13571
13639
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
|
|
13572
13640
|
}, unmarshalUpdateIpResponse);
|
|
@@ -13602,7 +13670,7 @@ let API$h = class API extends API$u {
|
|
|
13602
13670
|
*/
|
|
13603
13671
|
createPrivateNIC = request => this.client.fetch({
|
|
13604
13672
|
body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
|
|
13605
|
-
headers: jsonContentHeaders$
|
|
13673
|
+
headers: jsonContentHeaders$g,
|
|
13606
13674
|
method: 'POST',
|
|
13607
13675
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
|
|
13608
13676
|
}, unmarshalCreatePrivateNICResponse);
|
|
@@ -13627,7 +13695,7 @@ let API$h = class API extends API$u {
|
|
|
13627
13695
|
*/
|
|
13628
13696
|
updatePrivateNIC = request => this.client.fetch({
|
|
13629
13697
|
body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
|
|
13630
|
-
headers: jsonContentHeaders$
|
|
13698
|
+
headers: jsonContentHeaders$g,
|
|
13631
13699
|
method: 'PATCH',
|
|
13632
13700
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
|
|
13633
13701
|
}, unmarshalPrivateNIC);
|
|
@@ -13687,7 +13755,7 @@ let API$h = class API extends API$u {
|
|
|
13687
13755
|
*/
|
|
13688
13756
|
planBlockMigration = (request = {}) => this.client.fetch({
|
|
13689
13757
|
body: JSON.stringify(marshalPlanBlockMigrationRequest(request, this.client.settings)),
|
|
13690
|
-
headers: jsonContentHeaders$
|
|
13758
|
+
headers: jsonContentHeaders$g,
|
|
13691
13759
|
method: 'POST',
|
|
13692
13760
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/plan`
|
|
13693
13761
|
}, unmarshalMigrationPlan);
|
|
@@ -13702,7 +13770,7 @@ let API$h = class API extends API$u {
|
|
|
13702
13770
|
*/
|
|
13703
13771
|
applyBlockMigration = request => this.client.fetch({
|
|
13704
13772
|
body: JSON.stringify(marshalApplyBlockMigrationRequest(request, this.client.settings)),
|
|
13705
|
-
headers: jsonContentHeaders$
|
|
13773
|
+
headers: jsonContentHeaders$g,
|
|
13706
13774
|
method: 'POST',
|
|
13707
13775
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/apply`
|
|
13708
13776
|
});
|
|
@@ -14618,7 +14686,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
|
|
|
14618
14686
|
|
|
14619
14687
|
// This file was automatically generated. DO NOT EDIT.
|
|
14620
14688
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
14621
|
-
const jsonContentHeaders$
|
|
14689
|
+
const jsonContentHeaders$f = {
|
|
14622
14690
|
'Content-Type': 'application/json; charset=utf-8'
|
|
14623
14691
|
};
|
|
14624
14692
|
|
|
@@ -14655,7 +14723,7 @@ let API$g = class API extends API$u {
|
|
|
14655
14723
|
*/
|
|
14656
14724
|
createHub = request => this.client.fetch({
|
|
14657
14725
|
body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
|
|
14658
|
-
headers: jsonContentHeaders$
|
|
14726
|
+
headers: jsonContentHeaders$f,
|
|
14659
14727
|
method: 'POST',
|
|
14660
14728
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
|
|
14661
14729
|
}, unmarshalHub);
|
|
@@ -14691,7 +14759,7 @@ let API$g = class API extends API$u {
|
|
|
14691
14759
|
*/
|
|
14692
14760
|
updateHub = request => this.client.fetch({
|
|
14693
14761
|
body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
|
|
14694
|
-
headers: jsonContentHeaders$
|
|
14762
|
+
headers: jsonContentHeaders$f,
|
|
14695
14763
|
method: 'PATCH',
|
|
14696
14764
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
|
|
14697
14765
|
}, unmarshalHub);
|
|
@@ -14704,7 +14772,7 @@ let API$g = class API extends API$u {
|
|
|
14704
14772
|
*/
|
|
14705
14773
|
enableHub = request => this.client.fetch({
|
|
14706
14774
|
body: '{}',
|
|
14707
|
-
headers: jsonContentHeaders$
|
|
14775
|
+
headers: jsonContentHeaders$f,
|
|
14708
14776
|
method: 'POST',
|
|
14709
14777
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
|
|
14710
14778
|
}, unmarshalHub);
|
|
@@ -14717,7 +14785,7 @@ let API$g = class API extends API$u {
|
|
|
14717
14785
|
*/
|
|
14718
14786
|
disableHub = request => this.client.fetch({
|
|
14719
14787
|
body: '{}',
|
|
14720
|
-
headers: jsonContentHeaders$
|
|
14788
|
+
headers: jsonContentHeaders$f,
|
|
14721
14789
|
method: 'POST',
|
|
14722
14790
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
|
|
14723
14791
|
}, unmarshalHub);
|
|
@@ -14757,7 +14825,7 @@ let API$g = class API extends API$u {
|
|
|
14757
14825
|
*/
|
|
14758
14826
|
setHubCA = request => this.client.fetch({
|
|
14759
14827
|
body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
|
|
14760
|
-
headers: jsonContentHeaders$
|
|
14828
|
+
headers: jsonContentHeaders$f,
|
|
14761
14829
|
method: 'POST',
|
|
14762
14830
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
|
|
14763
14831
|
}, unmarshalHub);
|
|
@@ -14797,7 +14865,7 @@ let API$g = class API extends API$u {
|
|
|
14797
14865
|
*/
|
|
14798
14866
|
createDevice = request => this.client.fetch({
|
|
14799
14867
|
body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
|
|
14800
|
-
headers: jsonContentHeaders$
|
|
14868
|
+
headers: jsonContentHeaders$f,
|
|
14801
14869
|
method: 'POST',
|
|
14802
14870
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
|
|
14803
14871
|
}, unmarshalCreateDeviceResponse);
|
|
@@ -14824,7 +14892,7 @@ let API$g = class API extends API$u {
|
|
|
14824
14892
|
*/
|
|
14825
14893
|
updateDevice = request => this.client.fetch({
|
|
14826
14894
|
body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
|
|
14827
|
-
headers: jsonContentHeaders$
|
|
14895
|
+
headers: jsonContentHeaders$f,
|
|
14828
14896
|
method: 'PATCH',
|
|
14829
14897
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
|
|
14830
14898
|
}, unmarshalDevice);
|
|
@@ -14837,7 +14905,7 @@ let API$g = class API extends API$u {
|
|
|
14837
14905
|
*/
|
|
14838
14906
|
enableDevice = request => this.client.fetch({
|
|
14839
14907
|
body: '{}',
|
|
14840
|
-
headers: jsonContentHeaders$
|
|
14908
|
+
headers: jsonContentHeaders$f,
|
|
14841
14909
|
method: 'POST',
|
|
14842
14910
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
|
|
14843
14911
|
}, unmarshalDevice);
|
|
@@ -14850,7 +14918,7 @@ let API$g = class API extends API$u {
|
|
|
14850
14918
|
*/
|
|
14851
14919
|
disableDevice = request => this.client.fetch({
|
|
14852
14920
|
body: '{}',
|
|
14853
|
-
headers: jsonContentHeaders$
|
|
14921
|
+
headers: jsonContentHeaders$f,
|
|
14854
14922
|
method: 'POST',
|
|
14855
14923
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
|
|
14856
14924
|
}, unmarshalDevice);
|
|
@@ -14864,7 +14932,7 @@ let API$g = class API extends API$u {
|
|
|
14864
14932
|
*/
|
|
14865
14933
|
renewDeviceCertificate = request => this.client.fetch({
|
|
14866
14934
|
body: '{}',
|
|
14867
|
-
headers: jsonContentHeaders$
|
|
14935
|
+
headers: jsonContentHeaders$f,
|
|
14868
14936
|
method: 'POST',
|
|
14869
14937
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
|
|
14870
14938
|
}, unmarshalRenewDeviceCertificateResponse);
|
|
@@ -14878,7 +14946,7 @@ let API$g = class API extends API$u {
|
|
|
14878
14946
|
*/
|
|
14879
14947
|
setDeviceCertificate = request => this.client.fetch({
|
|
14880
14948
|
body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
|
|
14881
|
-
headers: jsonContentHeaders$
|
|
14949
|
+
headers: jsonContentHeaders$f,
|
|
14882
14950
|
method: 'PUT',
|
|
14883
14951
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
|
|
14884
14952
|
}, unmarshalSetDeviceCertificateResponse);
|
|
@@ -14953,7 +15021,7 @@ let API$g = class API extends API$u {
|
|
|
14953
15021
|
*/
|
|
14954
15022
|
createRoute = request => this.client.fetch({
|
|
14955
15023
|
body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
|
|
14956
|
-
headers: jsonContentHeaders$
|
|
15024
|
+
headers: jsonContentHeaders$f,
|
|
14957
15025
|
method: 'POST',
|
|
14958
15026
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
|
|
14959
15027
|
}, unmarshalRoute$1);
|
|
@@ -14967,7 +15035,7 @@ let API$g = class API extends API$u {
|
|
|
14967
15035
|
*/
|
|
14968
15036
|
updateRoute = request => this.client.fetch({
|
|
14969
15037
|
body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
|
|
14970
|
-
headers: jsonContentHeaders$
|
|
15038
|
+
headers: jsonContentHeaders$f,
|
|
14971
15039
|
method: 'PATCH',
|
|
14972
15040
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
14973
15041
|
}, unmarshalRoute$1);
|
|
@@ -15019,7 +15087,7 @@ let API$g = class API extends API$u {
|
|
|
15019
15087
|
*/
|
|
15020
15088
|
createNetwork = request => this.client.fetch({
|
|
15021
15089
|
body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
|
|
15022
|
-
headers: jsonContentHeaders$
|
|
15090
|
+
headers: jsonContentHeaders$f,
|
|
15023
15091
|
method: 'POST',
|
|
15024
15092
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
|
|
15025
15093
|
}, unmarshalCreateNetworkResponse);
|
|
@@ -15067,7 +15135,7 @@ let API$g = class API extends API$u {
|
|
|
15067
15135
|
*/
|
|
15068
15136
|
putTwinDocument = request => this.client.fetch({
|
|
15069
15137
|
body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
|
|
15070
|
-
headers: jsonContentHeaders$
|
|
15138
|
+
headers: jsonContentHeaders$f,
|
|
15071
15139
|
method: 'PUT',
|
|
15072
15140
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15073
15141
|
}, unmarshalTwinDocument);
|
|
@@ -15080,7 +15148,7 @@ let API$g = class API extends API$u {
|
|
|
15080
15148
|
*/
|
|
15081
15149
|
patchTwinDocument = request => this.client.fetch({
|
|
15082
15150
|
body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
|
|
15083
|
-
headers: jsonContentHeaders$
|
|
15151
|
+
headers: jsonContentHeaders$f,
|
|
15084
15152
|
method: 'PATCH',
|
|
15085
15153
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15086
15154
|
}, unmarshalTwinDocument);
|
|
@@ -15120,7 +15188,7 @@ let API$g = class API extends API$u {
|
|
|
15120
15188
|
// This file was automatically generated. DO NOT EDIT.
|
|
15121
15189
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15122
15190
|
|
|
15123
|
-
var index_gen$
|
|
15191
|
+
var index_gen$f = /*#__PURE__*/Object.freeze({
|
|
15124
15192
|
__proto__: null,
|
|
15125
15193
|
API: API$g,
|
|
15126
15194
|
HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
|
|
@@ -15128,7 +15196,7 @@ var index_gen$e = /*#__PURE__*/Object.freeze({
|
|
|
15128
15196
|
|
|
15129
15197
|
var index$g = /*#__PURE__*/Object.freeze({
|
|
15130
15198
|
__proto__: null,
|
|
15131
|
-
v1: index_gen$
|
|
15199
|
+
v1: index_gen$f
|
|
15132
15200
|
});
|
|
15133
15201
|
|
|
15134
15202
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15260,7 +15328,7 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
|
|
|
15260
15328
|
|
|
15261
15329
|
// This file was automatically generated. DO NOT EDIT.
|
|
15262
15330
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15263
|
-
const jsonContentHeaders$
|
|
15331
|
+
const jsonContentHeaders$e = {
|
|
15264
15332
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15265
15333
|
};
|
|
15266
15334
|
|
|
@@ -15281,7 +15349,7 @@ let API$f = class API extends API$u {
|
|
|
15281
15349
|
*/
|
|
15282
15350
|
createVolume = request => this.client.fetch({
|
|
15283
15351
|
body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
|
|
15284
|
-
headers: jsonContentHeaders$
|
|
15352
|
+
headers: jsonContentHeaders$e,
|
|
15285
15353
|
method: 'POST',
|
|
15286
15354
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`
|
|
15287
15355
|
}, unmarshalVolume$1);
|
|
@@ -15320,7 +15388,7 @@ let API$f = class API extends API$u {
|
|
|
15320
15388
|
*/
|
|
15321
15389
|
updateVolume = request => this.client.fetch({
|
|
15322
15390
|
body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
|
|
15323
|
-
headers: jsonContentHeaders$
|
|
15391
|
+
headers: jsonContentHeaders$e,
|
|
15324
15392
|
method: 'PATCH',
|
|
15325
15393
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
15326
15394
|
}, unmarshalVolume$1);
|
|
@@ -15351,7 +15419,7 @@ let API$f = class API extends API$u {
|
|
|
15351
15419
|
*/
|
|
15352
15420
|
createPinByURL = request => this.client.fetch({
|
|
15353
15421
|
body: JSON.stringify(marshalCreatePinByURLRequest(request, this.client.settings)),
|
|
15354
|
-
headers: jsonContentHeaders$
|
|
15422
|
+
headers: jsonContentHeaders$e,
|
|
15355
15423
|
method: 'POST',
|
|
15356
15424
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-url`
|
|
15357
15425
|
}, unmarshalPin);
|
|
@@ -15370,13 +15438,13 @@ let API$f = class API extends API$u {
|
|
|
15370
15438
|
*/
|
|
15371
15439
|
createPinByCID = request => this.client.fetch({
|
|
15372
15440
|
body: JSON.stringify(marshalCreatePinByCIDRequest(request, this.client.settings)),
|
|
15373
|
-
headers: jsonContentHeaders$
|
|
15441
|
+
headers: jsonContentHeaders$e,
|
|
15374
15442
|
method: 'POST',
|
|
15375
15443
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-cid`
|
|
15376
15444
|
}, unmarshalPin);
|
|
15377
15445
|
replacePin = request => this.client.fetch({
|
|
15378
15446
|
body: JSON.stringify(marshalReplacePinRequest(request, this.client.settings)),
|
|
15379
|
-
headers: jsonContentHeaders$
|
|
15447
|
+
headers: jsonContentHeaders$e,
|
|
15380
15448
|
method: 'POST',
|
|
15381
15449
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}/replace`
|
|
15382
15450
|
}, unmarshalReplacePinResponse);
|
|
@@ -15434,7 +15502,7 @@ let API$f = class API extends API$u {
|
|
|
15434
15502
|
// This file was automatically generated. DO NOT EDIT.
|
|
15435
15503
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15436
15504
|
|
|
15437
|
-
var index_gen$
|
|
15505
|
+
var index_gen$e = /*#__PURE__*/Object.freeze({
|
|
15438
15506
|
__proto__: null,
|
|
15439
15507
|
API: API$f,
|
|
15440
15508
|
PIN_TRANSIENT_STATUSES: PIN_TRANSIENT_STATUSES
|
|
@@ -15442,7 +15510,7 @@ var index_gen$d = /*#__PURE__*/Object.freeze({
|
|
|
15442
15510
|
|
|
15443
15511
|
var index$f = /*#__PURE__*/Object.freeze({
|
|
15444
15512
|
__proto__: null,
|
|
15445
|
-
v1alpha1: index_gen$
|
|
15513
|
+
v1alpha1: index_gen$e
|
|
15446
15514
|
});
|
|
15447
15515
|
|
|
15448
15516
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15875,7 +15943,7 @@ const marshalUpgradePoolRequest = (request, defaults) => ({
|
|
|
15875
15943
|
|
|
15876
15944
|
// This file was automatically generated. DO NOT EDIT.
|
|
15877
15945
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15878
|
-
const jsonContentHeaders$
|
|
15946
|
+
const jsonContentHeaders$d = {
|
|
15879
15947
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15880
15948
|
};
|
|
15881
15949
|
|
|
@@ -15905,7 +15973,7 @@ let API$e = class API extends API$u {
|
|
|
15905
15973
|
*/
|
|
15906
15974
|
createCluster = request => this.client.fetch({
|
|
15907
15975
|
body: JSON.stringify(marshalCreateClusterRequest$1(request, this.client.settings)),
|
|
15908
|
-
headers: jsonContentHeaders$
|
|
15976
|
+
headers: jsonContentHeaders$d,
|
|
15909
15977
|
method: 'POST',
|
|
15910
15978
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters`
|
|
15911
15979
|
}, unmarshalCluster$1);
|
|
@@ -15940,7 +16008,7 @@ let API$e = class API extends API$u {
|
|
|
15940
16008
|
*/
|
|
15941
16009
|
updateCluster = request => this.client.fetch({
|
|
15942
16010
|
body: JSON.stringify(marshalUpdateClusterRequest$1(request, this.client.settings)),
|
|
15943
|
-
headers: jsonContentHeaders$
|
|
16011
|
+
headers: jsonContentHeaders$d,
|
|
15944
16012
|
method: 'PATCH',
|
|
15945
16013
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
|
|
15946
16014
|
}, unmarshalCluster$1);
|
|
@@ -15968,7 +16036,7 @@ let API$e = class API extends API$u {
|
|
|
15968
16036
|
*/
|
|
15969
16037
|
upgradeCluster = request => this.client.fetch({
|
|
15970
16038
|
body: JSON.stringify(marshalUpgradeClusterRequest(request, this.client.settings)),
|
|
15971
|
-
headers: jsonContentHeaders$
|
|
16039
|
+
headers: jsonContentHeaders$d,
|
|
15972
16040
|
method: 'POST',
|
|
15973
16041
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/upgrade`
|
|
15974
16042
|
}, unmarshalCluster$1);
|
|
@@ -15984,7 +16052,7 @@ let API$e = class API extends API$u {
|
|
|
15984
16052
|
*/
|
|
15985
16053
|
setClusterType = request => this.client.fetch({
|
|
15986
16054
|
body: JSON.stringify(marshalSetClusterTypeRequest(request, this.client.settings)),
|
|
15987
|
-
headers: jsonContentHeaders$
|
|
16055
|
+
headers: jsonContentHeaders$d,
|
|
15988
16056
|
method: 'POST',
|
|
15989
16057
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/set-type`
|
|
15990
16058
|
}, unmarshalCluster$1);
|
|
@@ -16032,7 +16100,7 @@ let API$e = class API extends API$u {
|
|
|
16032
16100
|
*/
|
|
16033
16101
|
resetClusterAdminToken = request => this.client.fetch({
|
|
16034
16102
|
body: '{}',
|
|
16035
|
-
headers: jsonContentHeaders$
|
|
16103
|
+
headers: jsonContentHeaders$d,
|
|
16036
16104
|
method: 'POST',
|
|
16037
16105
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`
|
|
16038
16106
|
});
|
|
@@ -16047,7 +16115,7 @@ let API$e = class API extends API$u {
|
|
|
16047
16115
|
*/
|
|
16048
16116
|
migrateToPrivateNetworkCluster = request => this.client.fetch({
|
|
16049
16117
|
body: JSON.stringify(marshalMigrateToPrivateNetworkClusterRequest(request, this.client.settings)),
|
|
16050
|
-
headers: jsonContentHeaders$
|
|
16118
|
+
headers: jsonContentHeaders$d,
|
|
16051
16119
|
method: 'POST',
|
|
16052
16120
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-private-network`
|
|
16053
16121
|
}, unmarshalCluster$1);
|
|
@@ -16075,7 +16143,7 @@ let API$e = class API extends API$u {
|
|
|
16075
16143
|
*/
|
|
16076
16144
|
createPool = request => this.client.fetch({
|
|
16077
16145
|
body: JSON.stringify(marshalCreatePoolRequest(request, this.client.settings)),
|
|
16078
|
-
headers: jsonContentHeaders$
|
|
16146
|
+
headers: jsonContentHeaders$d,
|
|
16079
16147
|
method: 'POST',
|
|
16080
16148
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`
|
|
16081
16149
|
}, unmarshalPool);
|
|
@@ -16111,7 +16179,7 @@ let API$e = class API extends API$u {
|
|
|
16111
16179
|
*/
|
|
16112
16180
|
upgradePool = request => this.client.fetch({
|
|
16113
16181
|
body: JSON.stringify(marshalUpgradePoolRequest(request, this.client.settings)),
|
|
16114
|
-
headers: jsonContentHeaders$
|
|
16182
|
+
headers: jsonContentHeaders$d,
|
|
16115
16183
|
method: 'POST',
|
|
16116
16184
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/upgrade`
|
|
16117
16185
|
}, unmarshalPool);
|
|
@@ -16125,7 +16193,7 @@ let API$e = class API extends API$u {
|
|
|
16125
16193
|
*/
|
|
16126
16194
|
updatePool = request => this.client.fetch({
|
|
16127
16195
|
body: JSON.stringify(marshalUpdatePoolRequest(request, this.client.settings)),
|
|
16128
|
-
headers: jsonContentHeaders$
|
|
16196
|
+
headers: jsonContentHeaders$d,
|
|
16129
16197
|
method: 'PATCH',
|
|
16130
16198
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}`
|
|
16131
16199
|
}, unmarshalPool);
|
|
@@ -16152,7 +16220,7 @@ let API$e = class API extends API$u {
|
|
|
16152
16220
|
*/
|
|
16153
16221
|
createExternalNode = request => this.client.fetch({
|
|
16154
16222
|
body: '{}',
|
|
16155
|
-
headers: jsonContentHeaders$
|
|
16223
|
+
headers: jsonContentHeaders$d,
|
|
16156
16224
|
method: 'POST',
|
|
16157
16225
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/external-nodes`
|
|
16158
16226
|
}, unmarshalExternalNode);
|
|
@@ -16205,7 +16273,7 @@ let API$e = class API extends API$u {
|
|
|
16205
16273
|
*/
|
|
16206
16274
|
replaceNode = request => this.client.fetch({
|
|
16207
16275
|
body: '{}',
|
|
16208
|
-
headers: jsonContentHeaders$
|
|
16276
|
+
headers: jsonContentHeaders$d,
|
|
16209
16277
|
method: 'POST',
|
|
16210
16278
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/replace`
|
|
16211
16279
|
}, unmarshalNode);
|
|
@@ -16222,7 +16290,7 @@ let API$e = class API extends API$u {
|
|
|
16222
16290
|
*/
|
|
16223
16291
|
rebootNode = request => this.client.fetch({
|
|
16224
16292
|
body: '{}',
|
|
16225
|
-
headers: jsonContentHeaders$
|
|
16293
|
+
headers: jsonContentHeaders$d,
|
|
16226
16294
|
method: 'POST',
|
|
16227
16295
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/reboot`
|
|
16228
16296
|
}, unmarshalNode);
|
|
@@ -16389,7 +16457,7 @@ const UpdateClusterRequestAutoscalerConfig = {
|
|
|
16389
16457
|
}
|
|
16390
16458
|
};
|
|
16391
16459
|
|
|
16392
|
-
var validationRules_gen$
|
|
16460
|
+
var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
|
|
16393
16461
|
__proto__: null,
|
|
16394
16462
|
CreateClusterRequest: CreateClusterRequest,
|
|
16395
16463
|
CreateClusterRequestAutoscalerConfig: CreateClusterRequestAutoscalerConfig,
|
|
@@ -16411,7 +16479,7 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
16411
16479
|
CLUSTER_TRANSIENT_STATUSES: CLUSTER_TRANSIENT_STATUSES$1,
|
|
16412
16480
|
NODE_TRANSIENT_STATUSES: NODE_TRANSIENT_STATUSES,
|
|
16413
16481
|
POOL_TRANSIENT_STATUSES: POOL_TRANSIENT_STATUSES,
|
|
16414
|
-
ValidationRules: validationRules_gen$
|
|
16482
|
+
ValidationRules: validationRules_gen$3
|
|
16415
16483
|
});
|
|
16416
16484
|
|
|
16417
16485
|
var index$d = /*#__PURE__*/Object.freeze({
|
|
@@ -17470,7 +17538,7 @@ const marshalZonedApiUpdateSubscriberRequest = (request, defaults) => ({
|
|
|
17470
17538
|
|
|
17471
17539
|
// This file was automatically generated. DO NOT EDIT.
|
|
17472
17540
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
17473
|
-
const jsonContentHeaders$
|
|
17541
|
+
const jsonContentHeaders$c = {
|
|
17474
17542
|
'Content-Type': 'application/json; charset=utf-8'
|
|
17475
17543
|
};
|
|
17476
17544
|
|
|
@@ -17504,7 +17572,7 @@ let API$d = class API extends API$u {
|
|
|
17504
17572
|
*/
|
|
17505
17573
|
createLb = request => this.client.fetch({
|
|
17506
17574
|
body: JSON.stringify(marshalCreateLbRequest(request, this.client.settings)),
|
|
17507
|
-
headers: jsonContentHeaders$
|
|
17575
|
+
headers: jsonContentHeaders$c,
|
|
17508
17576
|
method: 'POST',
|
|
17509
17577
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs`
|
|
17510
17578
|
}, unmarshalLb);
|
|
@@ -17537,7 +17605,7 @@ let API$d = class API extends API$u {
|
|
|
17537
17605
|
*/
|
|
17538
17606
|
updateLb = request => this.client.fetch({
|
|
17539
17607
|
body: JSON.stringify(marshalUpdateLbRequest(request, this.client.settings)),
|
|
17540
|
-
headers: jsonContentHeaders$
|
|
17608
|
+
headers: jsonContentHeaders$c,
|
|
17541
17609
|
method: 'PUT',
|
|
17542
17610
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}`
|
|
17543
17611
|
}, unmarshalLb);
|
|
@@ -17561,7 +17629,7 @@ let API$d = class API extends API$u {
|
|
|
17561
17629
|
*/
|
|
17562
17630
|
migrateLb = request => this.client.fetch({
|
|
17563
17631
|
body: JSON.stringify(marshalMigrateLbRequest(request, this.client.settings)),
|
|
17564
|
-
headers: jsonContentHeaders$
|
|
17632
|
+
headers: jsonContentHeaders$c,
|
|
17565
17633
|
method: 'POST',
|
|
17566
17634
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
|
|
17567
17635
|
}, unmarshalLb);
|
|
@@ -17587,7 +17655,7 @@ let API$d = class API extends API$u {
|
|
|
17587
17655
|
*/
|
|
17588
17656
|
createIp = (request = {}) => this.client.fetch({
|
|
17589
17657
|
body: JSON.stringify(marshalCreateIpRequest(request, this.client.settings)),
|
|
17590
|
-
headers: jsonContentHeaders$
|
|
17658
|
+
headers: jsonContentHeaders$c,
|
|
17591
17659
|
method: 'POST',
|
|
17592
17660
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
|
|
17593
17661
|
}, unmarshalIp);
|
|
@@ -17621,7 +17689,7 @@ let API$d = class API extends API$u {
|
|
|
17621
17689
|
*/
|
|
17622
17690
|
updateIp = request => this.client.fetch({
|
|
17623
17691
|
body: JSON.stringify(marshalUpdateIpRequest(request, this.client.settings)),
|
|
17624
|
-
headers: jsonContentHeaders$
|
|
17692
|
+
headers: jsonContentHeaders$c,
|
|
17625
17693
|
method: 'PATCH',
|
|
17626
17694
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
17627
17695
|
}, unmarshalIp);
|
|
@@ -17647,7 +17715,7 @@ let API$d = class API extends API$u {
|
|
|
17647
17715
|
*/
|
|
17648
17716
|
createBackend = request => this.client.fetch({
|
|
17649
17717
|
body: JSON.stringify(marshalCreateBackendRequest(request, this.client.settings)),
|
|
17650
|
-
headers: jsonContentHeaders$
|
|
17718
|
+
headers: jsonContentHeaders$c,
|
|
17651
17719
|
method: 'POST',
|
|
17652
17720
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
|
|
17653
17721
|
}, unmarshalBackend);
|
|
@@ -17671,7 +17739,7 @@ let API$d = class API extends API$u {
|
|
|
17671
17739
|
*/
|
|
17672
17740
|
updateBackend = request => this.client.fetch({
|
|
17673
17741
|
body: JSON.stringify(marshalUpdateBackendRequest(request, this.client.settings)),
|
|
17674
|
-
headers: jsonContentHeaders$
|
|
17742
|
+
headers: jsonContentHeaders$c,
|
|
17675
17743
|
method: 'PUT',
|
|
17676
17744
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}`
|
|
17677
17745
|
}, unmarshalBackend);
|
|
@@ -17694,7 +17762,7 @@ let API$d = class API extends API$u {
|
|
|
17694
17762
|
*/
|
|
17695
17763
|
addBackendServers = request => this.client.fetch({
|
|
17696
17764
|
body: JSON.stringify(marshalAddBackendServersRequest(request, this.client.settings)),
|
|
17697
|
-
headers: jsonContentHeaders$
|
|
17765
|
+
headers: jsonContentHeaders$c,
|
|
17698
17766
|
method: 'POST',
|
|
17699
17767
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
17700
17768
|
}, unmarshalBackend);
|
|
@@ -17707,7 +17775,7 @@ let API$d = class API extends API$u {
|
|
|
17707
17775
|
*/
|
|
17708
17776
|
removeBackendServers = request => this.client.fetch({
|
|
17709
17777
|
body: JSON.stringify(marshalRemoveBackendServersRequest(request, this.client.settings)),
|
|
17710
|
-
headers: jsonContentHeaders$
|
|
17778
|
+
headers: jsonContentHeaders$c,
|
|
17711
17779
|
method: 'DELETE',
|
|
17712
17780
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
17713
17781
|
}, unmarshalBackend);
|
|
@@ -17720,7 +17788,7 @@ let API$d = class API extends API$u {
|
|
|
17720
17788
|
*/
|
|
17721
17789
|
setBackendServers = request => this.client.fetch({
|
|
17722
17790
|
body: JSON.stringify(marshalSetBackendServersRequest(request, this.client.settings)),
|
|
17723
|
-
headers: jsonContentHeaders$
|
|
17791
|
+
headers: jsonContentHeaders$c,
|
|
17724
17792
|
method: 'PUT',
|
|
17725
17793
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
17726
17794
|
}, unmarshalBackend);
|
|
@@ -17733,7 +17801,7 @@ let API$d = class API extends API$u {
|
|
|
17733
17801
|
*/
|
|
17734
17802
|
updateHealthCheck = request => this.client.fetch({
|
|
17735
17803
|
body: JSON.stringify(marshalUpdateHealthCheckRequest(request, this.client.settings)),
|
|
17736
|
-
headers: jsonContentHeaders$
|
|
17804
|
+
headers: jsonContentHeaders$c,
|
|
17737
17805
|
method: 'PUT',
|
|
17738
17806
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
|
|
17739
17807
|
}, unmarshalHealthCheck);
|
|
@@ -17759,7 +17827,7 @@ let API$d = class API extends API$u {
|
|
|
17759
17827
|
*/
|
|
17760
17828
|
createFrontend = request => this.client.fetch({
|
|
17761
17829
|
body: JSON.stringify(marshalCreateFrontendRequest(request, this.client.settings)),
|
|
17762
|
-
headers: jsonContentHeaders$
|
|
17830
|
+
headers: jsonContentHeaders$c,
|
|
17763
17831
|
method: 'POST',
|
|
17764
17832
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
|
|
17765
17833
|
}, unmarshalFrontend);
|
|
@@ -17783,7 +17851,7 @@ let API$d = class API extends API$u {
|
|
|
17783
17851
|
*/
|
|
17784
17852
|
updateFrontend = request => this.client.fetch({
|
|
17785
17853
|
body: JSON.stringify(marshalUpdateFrontendRequest(request, this.client.settings)),
|
|
17786
|
-
headers: jsonContentHeaders$
|
|
17854
|
+
headers: jsonContentHeaders$c,
|
|
17787
17855
|
method: 'PUT',
|
|
17788
17856
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
|
|
17789
17857
|
}, unmarshalFrontend);
|
|
@@ -17819,7 +17887,7 @@ let API$d = class API extends API$u {
|
|
|
17819
17887
|
*/
|
|
17820
17888
|
createRoute = request => this.client.fetch({
|
|
17821
17889
|
body: JSON.stringify(marshalCreateRouteRequest(request, this.client.settings)),
|
|
17822
|
-
headers: jsonContentHeaders$
|
|
17890
|
+
headers: jsonContentHeaders$c,
|
|
17823
17891
|
method: 'POST',
|
|
17824
17892
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
|
|
17825
17893
|
}, unmarshalRoute);
|
|
@@ -17843,7 +17911,7 @@ let API$d = class API extends API$u {
|
|
|
17843
17911
|
*/
|
|
17844
17912
|
updateRoute = request => this.client.fetch({
|
|
17845
17913
|
body: JSON.stringify(marshalUpdateRouteRequest(request, this.client.settings)),
|
|
17846
|
-
headers: jsonContentHeaders$
|
|
17914
|
+
headers: jsonContentHeaders$c,
|
|
17847
17915
|
method: 'PUT',
|
|
17848
17916
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
17849
17917
|
}, unmarshalRoute);
|
|
@@ -17905,7 +17973,7 @@ let API$d = class API extends API$u {
|
|
|
17905
17973
|
*/
|
|
17906
17974
|
createAcl = request => this.client.fetch({
|
|
17907
17975
|
body: JSON.stringify(marshalCreateAclRequest(request, this.client.settings)),
|
|
17908
|
-
headers: jsonContentHeaders$
|
|
17976
|
+
headers: jsonContentHeaders$c,
|
|
17909
17977
|
method: 'POST',
|
|
17910
17978
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
17911
17979
|
}, unmarshalAcl);
|
|
@@ -17929,7 +17997,7 @@ let API$d = class API extends API$u {
|
|
|
17929
17997
|
*/
|
|
17930
17998
|
updateAcl = request => this.client.fetch({
|
|
17931
17999
|
body: JSON.stringify(marshalUpdateAclRequest(request, this.client.settings)),
|
|
17932
|
-
headers: jsonContentHeaders$
|
|
18000
|
+
headers: jsonContentHeaders$c,
|
|
17933
18001
|
method: 'PUT',
|
|
17934
18002
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam('aclId', request.aclId)}`
|
|
17935
18003
|
}, unmarshalAcl);
|
|
@@ -17953,7 +18021,7 @@ let API$d = class API extends API$u {
|
|
|
17953
18021
|
*/
|
|
17954
18022
|
createCertificate = request => this.client.fetch({
|
|
17955
18023
|
body: JSON.stringify(marshalCreateCertificateRequest(request, this.client.settings)),
|
|
17956
|
-
headers: jsonContentHeaders$
|
|
18024
|
+
headers: jsonContentHeaders$c,
|
|
17957
18025
|
method: 'POST',
|
|
17958
18026
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
|
|
17959
18027
|
}, unmarshalCertificate);
|
|
@@ -17999,7 +18067,7 @@ let API$d = class API extends API$u {
|
|
|
17999
18067
|
*/
|
|
18000
18068
|
updateCertificate = request => this.client.fetch({
|
|
18001
18069
|
body: JSON.stringify(marshalUpdateCertificateRequest(request, this.client.settings)),
|
|
18002
|
-
headers: jsonContentHeaders$
|
|
18070
|
+
headers: jsonContentHeaders$c,
|
|
18003
18071
|
method: 'PUT',
|
|
18004
18072
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
|
|
18005
18073
|
}, unmarshalCertificate);
|
|
@@ -18035,7 +18103,7 @@ let API$d = class API extends API$u {
|
|
|
18035
18103
|
*/
|
|
18036
18104
|
createSubscriber = request => this.client.fetch({
|
|
18037
18105
|
body: JSON.stringify(marshalCreateSubscriberRequest(request, this.client.settings)),
|
|
18038
|
-
headers: jsonContentHeaders$
|
|
18106
|
+
headers: jsonContentHeaders$c,
|
|
18039
18107
|
method: 'POST',
|
|
18040
18108
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers`
|
|
18041
18109
|
}, unmarshalSubscriber);
|
|
@@ -18072,7 +18140,7 @@ let API$d = class API extends API$u {
|
|
|
18072
18140
|
*/
|
|
18073
18141
|
updateSubscriber = request => this.client.fetch({
|
|
18074
18142
|
body: JSON.stringify(marshalUpdateSubscriberRequest(request, this.client.settings)),
|
|
18075
|
-
headers: jsonContentHeaders$
|
|
18143
|
+
headers: jsonContentHeaders$c,
|
|
18076
18144
|
method: 'PUT',
|
|
18077
18145
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
|
|
18078
18146
|
}, unmarshalSubscriber);
|
|
@@ -18095,7 +18163,7 @@ let API$d = class API extends API$u {
|
|
|
18095
18163
|
*/
|
|
18096
18164
|
subscribeToLb = request => this.client.fetch({
|
|
18097
18165
|
body: JSON.stringify(marshalSubscribeToLbRequest(request, this.client.settings)),
|
|
18098
|
-
headers: jsonContentHeaders$
|
|
18166
|
+
headers: jsonContentHeaders$c,
|
|
18099
18167
|
method: 'POST',
|
|
18100
18168
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
|
|
18101
18169
|
}, unmarshalLb);
|
|
@@ -18132,7 +18200,7 @@ let API$d = class API extends API$u {
|
|
|
18132
18200
|
*/
|
|
18133
18201
|
attachPrivateNetwork = request => this.client.fetch({
|
|
18134
18202
|
body: JSON.stringify(marshalAttachPrivateNetworkRequest(request, this.client.settings)),
|
|
18135
|
-
headers: jsonContentHeaders$
|
|
18203
|
+
headers: jsonContentHeaders$c,
|
|
18136
18204
|
method: 'POST',
|
|
18137
18205
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
|
|
18138
18206
|
}, unmarshalPrivateNetwork$3);
|
|
@@ -18144,7 +18212,7 @@ let API$d = class API extends API$u {
|
|
|
18144
18212
|
*/
|
|
18145
18213
|
detachPrivateNetwork = request => this.client.fetch({
|
|
18146
18214
|
body: '{}',
|
|
18147
|
-
headers: jsonContentHeaders$
|
|
18215
|
+
headers: jsonContentHeaders$c,
|
|
18148
18216
|
method: 'POST',
|
|
18149
18217
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
|
|
18150
18218
|
});
|
|
@@ -18186,7 +18254,7 @@ class ZonedAPI extends API$u {
|
|
|
18186
18254
|
*/
|
|
18187
18255
|
createLb = request => this.client.fetch({
|
|
18188
18256
|
body: JSON.stringify(marshalZonedApiCreateLbRequest(request, this.client.settings)),
|
|
18189
|
-
headers: jsonContentHeaders$
|
|
18257
|
+
headers: jsonContentHeaders$c,
|
|
18190
18258
|
method: 'POST',
|
|
18191
18259
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs`
|
|
18192
18260
|
}, unmarshalLb);
|
|
@@ -18223,7 +18291,7 @@ class ZonedAPI extends API$u {
|
|
|
18223
18291
|
*/
|
|
18224
18292
|
updateLb = request => this.client.fetch({
|
|
18225
18293
|
body: JSON.stringify(marshalZonedApiUpdateLbRequest(request, this.client.settings)),
|
|
18226
|
-
headers: jsonContentHeaders$
|
|
18294
|
+
headers: jsonContentHeaders$c,
|
|
18227
18295
|
method: 'PUT',
|
|
18228
18296
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}`
|
|
18229
18297
|
}, unmarshalLb);
|
|
@@ -18252,7 +18320,7 @@ class ZonedAPI extends API$u {
|
|
|
18252
18320
|
*/
|
|
18253
18321
|
migrateLb = request => this.client.fetch({
|
|
18254
18322
|
body: JSON.stringify(marshalZonedApiMigrateLbRequest(request, this.client.settings)),
|
|
18255
|
-
headers: jsonContentHeaders$
|
|
18323
|
+
headers: jsonContentHeaders$c,
|
|
18256
18324
|
method: 'POST',
|
|
18257
18325
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
|
|
18258
18326
|
}, unmarshalLb);
|
|
@@ -18282,7 +18350,7 @@ class ZonedAPI extends API$u {
|
|
|
18282
18350
|
*/
|
|
18283
18351
|
createIp = (request = {}) => this.client.fetch({
|
|
18284
18352
|
body: JSON.stringify(marshalZonedApiCreateIpRequest(request, this.client.settings)),
|
|
18285
|
-
headers: jsonContentHeaders$
|
|
18353
|
+
headers: jsonContentHeaders$c,
|
|
18286
18354
|
method: 'POST',
|
|
18287
18355
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
|
|
18288
18356
|
}, unmarshalIp);
|
|
@@ -18319,7 +18387,7 @@ class ZonedAPI extends API$u {
|
|
|
18319
18387
|
*/
|
|
18320
18388
|
updateIp = request => this.client.fetch({
|
|
18321
18389
|
body: JSON.stringify(marshalZonedApiUpdateIpRequest(request, this.client.settings)),
|
|
18322
|
-
headers: jsonContentHeaders$
|
|
18390
|
+
headers: jsonContentHeaders$c,
|
|
18323
18391
|
method: 'PATCH',
|
|
18324
18392
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
18325
18393
|
}, unmarshalIp);
|
|
@@ -18352,7 +18420,7 @@ class ZonedAPI extends API$u {
|
|
|
18352
18420
|
*/
|
|
18353
18421
|
createBackend = request => this.client.fetch({
|
|
18354
18422
|
body: JSON.stringify(marshalZonedApiCreateBackendRequest(request, this.client.settings)),
|
|
18355
|
-
headers: jsonContentHeaders$
|
|
18423
|
+
headers: jsonContentHeaders$c,
|
|
18356
18424
|
method: 'POST',
|
|
18357
18425
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
|
|
18358
18426
|
}, unmarshalBackend);
|
|
@@ -18381,7 +18449,7 @@ class ZonedAPI extends API$u {
|
|
|
18381
18449
|
*/
|
|
18382
18450
|
updateBackend = request => this.client.fetch({
|
|
18383
18451
|
body: JSON.stringify(marshalZonedApiUpdateBackendRequest(request, this.client.settings)),
|
|
18384
|
-
headers: jsonContentHeaders$
|
|
18452
|
+
headers: jsonContentHeaders$c,
|
|
18385
18453
|
method: 'PUT',
|
|
18386
18454
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}`
|
|
18387
18455
|
}, unmarshalBackend);
|
|
@@ -18409,7 +18477,7 @@ class ZonedAPI extends API$u {
|
|
|
18409
18477
|
*/
|
|
18410
18478
|
addBackendServers = request => this.client.fetch({
|
|
18411
18479
|
body: JSON.stringify(marshalZonedApiAddBackendServersRequest(request, this.client.settings)),
|
|
18412
|
-
headers: jsonContentHeaders$
|
|
18480
|
+
headers: jsonContentHeaders$c,
|
|
18413
18481
|
method: 'POST',
|
|
18414
18482
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18415
18483
|
}, unmarshalBackend);
|
|
@@ -18424,7 +18492,7 @@ class ZonedAPI extends API$u {
|
|
|
18424
18492
|
*/
|
|
18425
18493
|
removeBackendServers = request => this.client.fetch({
|
|
18426
18494
|
body: JSON.stringify(marshalZonedApiRemoveBackendServersRequest(request, this.client.settings)),
|
|
18427
|
-
headers: jsonContentHeaders$
|
|
18495
|
+
headers: jsonContentHeaders$c,
|
|
18428
18496
|
method: 'DELETE',
|
|
18429
18497
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18430
18498
|
}, unmarshalBackend);
|
|
@@ -18440,7 +18508,7 @@ class ZonedAPI extends API$u {
|
|
|
18440
18508
|
*/
|
|
18441
18509
|
setBackendServers = request => this.client.fetch({
|
|
18442
18510
|
body: JSON.stringify(marshalZonedApiSetBackendServersRequest(request, this.client.settings)),
|
|
18443
|
-
headers: jsonContentHeaders$
|
|
18511
|
+
headers: jsonContentHeaders$c,
|
|
18444
18512
|
method: 'PUT',
|
|
18445
18513
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18446
18514
|
}, unmarshalBackend);
|
|
@@ -18456,7 +18524,7 @@ class ZonedAPI extends API$u {
|
|
|
18456
18524
|
*/
|
|
18457
18525
|
updateHealthCheck = request => this.client.fetch({
|
|
18458
18526
|
body: JSON.stringify(marshalZonedApiUpdateHealthCheckRequest(request, this.client.settings)),
|
|
18459
|
-
headers: jsonContentHeaders$
|
|
18527
|
+
headers: jsonContentHeaders$c,
|
|
18460
18528
|
method: 'PUT',
|
|
18461
18529
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
|
|
18462
18530
|
}, unmarshalHealthCheck);
|
|
@@ -18489,7 +18557,7 @@ class ZonedAPI extends API$u {
|
|
|
18489
18557
|
*/
|
|
18490
18558
|
createFrontend = request => this.client.fetch({
|
|
18491
18559
|
body: JSON.stringify(marshalZonedApiCreateFrontendRequest(request, this.client.settings)),
|
|
18492
|
-
headers: jsonContentHeaders$
|
|
18560
|
+
headers: jsonContentHeaders$c,
|
|
18493
18561
|
method: 'POST',
|
|
18494
18562
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
|
|
18495
18563
|
}, unmarshalFrontend);
|
|
@@ -18519,7 +18587,7 @@ class ZonedAPI extends API$u {
|
|
|
18519
18587
|
*/
|
|
18520
18588
|
updateFrontend = request => this.client.fetch({
|
|
18521
18589
|
body: JSON.stringify(marshalZonedApiUpdateFrontendRequest(request, this.client.settings)),
|
|
18522
|
-
headers: jsonContentHeaders$
|
|
18590
|
+
headers: jsonContentHeaders$c,
|
|
18523
18591
|
method: 'PUT',
|
|
18524
18592
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
|
|
18525
18593
|
}, unmarshalFrontend);
|
|
@@ -18561,7 +18629,7 @@ class ZonedAPI extends API$u {
|
|
|
18561
18629
|
*/
|
|
18562
18630
|
createRoute = request => this.client.fetch({
|
|
18563
18631
|
body: JSON.stringify(marshalZonedApiCreateRouteRequest(request, this.client.settings)),
|
|
18564
|
-
headers: jsonContentHeaders$
|
|
18632
|
+
headers: jsonContentHeaders$c,
|
|
18565
18633
|
method: 'POST',
|
|
18566
18634
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes`
|
|
18567
18635
|
}, unmarshalRoute);
|
|
@@ -18588,7 +18656,7 @@ class ZonedAPI extends API$u {
|
|
|
18588
18656
|
*/
|
|
18589
18657
|
updateRoute = request => this.client.fetch({
|
|
18590
18658
|
body: JSON.stringify(marshalZonedApiUpdateRouteRequest(request, this.client.settings)),
|
|
18591
|
-
headers: jsonContentHeaders$
|
|
18659
|
+
headers: jsonContentHeaders$c,
|
|
18592
18660
|
method: 'PUT',
|
|
18593
18661
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
18594
18662
|
}, unmarshalRoute);
|
|
@@ -18658,7 +18726,7 @@ class ZonedAPI extends API$u {
|
|
|
18658
18726
|
*/
|
|
18659
18727
|
createAcl = request => this.client.fetch({
|
|
18660
18728
|
body: JSON.stringify(marshalZonedApiCreateAclRequest(request, this.client.settings)),
|
|
18661
|
-
headers: jsonContentHeaders$
|
|
18729
|
+
headers: jsonContentHeaders$c,
|
|
18662
18730
|
method: 'POST',
|
|
18663
18731
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
18664
18732
|
}, unmarshalAcl);
|
|
@@ -18685,7 +18753,7 @@ class ZonedAPI extends API$u {
|
|
|
18685
18753
|
*/
|
|
18686
18754
|
updateAcl = request => this.client.fetch({
|
|
18687
18755
|
body: JSON.stringify(marshalZonedApiUpdateAclRequest(request, this.client.settings)),
|
|
18688
|
-
headers: jsonContentHeaders$
|
|
18756
|
+
headers: jsonContentHeaders$c,
|
|
18689
18757
|
method: 'PUT',
|
|
18690
18758
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/acls/${validatePathParam('aclId', request.aclId)}`
|
|
18691
18759
|
}, unmarshalAcl);
|
|
@@ -18711,7 +18779,7 @@ class ZonedAPI extends API$u {
|
|
|
18711
18779
|
*/
|
|
18712
18780
|
setAcls = request => this.client.fetch({
|
|
18713
18781
|
body: JSON.stringify(marshalZonedApiSetAclsRequest(request, this.client.settings)),
|
|
18714
|
-
headers: jsonContentHeaders$
|
|
18782
|
+
headers: jsonContentHeaders$c,
|
|
18715
18783
|
method: 'PUT',
|
|
18716
18784
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
18717
18785
|
}, unmarshalSetAclsResponse);
|
|
@@ -18726,7 +18794,7 @@ class ZonedAPI extends API$u {
|
|
|
18726
18794
|
*/
|
|
18727
18795
|
createCertificate = request => this.client.fetch({
|
|
18728
18796
|
body: JSON.stringify(marshalZonedApiCreateCertificateRequest(request, this.client.settings)),
|
|
18729
|
-
headers: jsonContentHeaders$
|
|
18797
|
+
headers: jsonContentHeaders$c,
|
|
18730
18798
|
method: 'POST',
|
|
18731
18799
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
|
|
18732
18800
|
}, unmarshalCertificate);
|
|
@@ -18779,7 +18847,7 @@ class ZonedAPI extends API$u {
|
|
|
18779
18847
|
*/
|
|
18780
18848
|
updateCertificate = request => this.client.fetch({
|
|
18781
18849
|
body: JSON.stringify(marshalZonedApiUpdateCertificateRequest(request, this.client.settings)),
|
|
18782
|
-
headers: jsonContentHeaders$
|
|
18850
|
+
headers: jsonContentHeaders$c,
|
|
18783
18851
|
method: 'PUT',
|
|
18784
18852
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
|
|
18785
18853
|
}, unmarshalCertificate);
|
|
@@ -18821,7 +18889,7 @@ class ZonedAPI extends API$u {
|
|
|
18821
18889
|
*/
|
|
18822
18890
|
createSubscriber = request => this.client.fetch({
|
|
18823
18891
|
body: JSON.stringify(marshalZonedApiCreateSubscriberRequest(request, this.client.settings)),
|
|
18824
|
-
headers: jsonContentHeaders$
|
|
18892
|
+
headers: jsonContentHeaders$c,
|
|
18825
18893
|
method: 'POST',
|
|
18826
18894
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers`
|
|
18827
18895
|
}, unmarshalSubscriber);
|
|
@@ -18865,7 +18933,7 @@ class ZonedAPI extends API$u {
|
|
|
18865
18933
|
*/
|
|
18866
18934
|
updateSubscriber = request => this.client.fetch({
|
|
18867
18935
|
body: JSON.stringify(marshalZonedApiUpdateSubscriberRequest(request, this.client.settings)),
|
|
18868
|
-
headers: jsonContentHeaders$
|
|
18936
|
+
headers: jsonContentHeaders$c,
|
|
18869
18937
|
method: 'PUT',
|
|
18870
18938
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
|
|
18871
18939
|
}, unmarshalSubscriber);
|
|
@@ -18890,7 +18958,7 @@ class ZonedAPI extends API$u {
|
|
|
18890
18958
|
*/
|
|
18891
18959
|
subscribeToLb = request => this.client.fetch({
|
|
18892
18960
|
body: JSON.stringify(marshalZonedApiSubscribeToLbRequest(request, this.client.settings)),
|
|
18893
|
-
headers: jsonContentHeaders$
|
|
18961
|
+
headers: jsonContentHeaders$c,
|
|
18894
18962
|
method: 'POST',
|
|
18895
18963
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
|
|
18896
18964
|
}, unmarshalLb);
|
|
@@ -18935,7 +19003,7 @@ class ZonedAPI extends API$u {
|
|
|
18935
19003
|
*/
|
|
18936
19004
|
attachPrivateNetwork = request => this.client.fetch({
|
|
18937
19005
|
body: JSON.stringify(marshalZonedApiAttachPrivateNetworkRequest(request, this.client.settings)),
|
|
18938
|
-
headers: jsonContentHeaders$
|
|
19006
|
+
headers: jsonContentHeaders$c,
|
|
18939
19007
|
method: 'POST',
|
|
18940
19008
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
|
|
18941
19009
|
}, unmarshalPrivateNetwork$3);
|
|
@@ -18948,7 +19016,7 @@ class ZonedAPI extends API$u {
|
|
|
18948
19016
|
*/
|
|
18949
19017
|
detachPrivateNetwork = request => this.client.fetch({
|
|
18950
19018
|
body: '{}',
|
|
18951
|
-
headers: jsonContentHeaders$
|
|
19019
|
+
headers: jsonContentHeaders$c,
|
|
18952
19020
|
method: 'POST',
|
|
18953
19021
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
|
|
18954
19022
|
});
|
|
@@ -19174,7 +19242,7 @@ let API$c = class API extends API$u {
|
|
|
19174
19242
|
// This file was automatically generated. DO NOT EDIT.
|
|
19175
19243
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19176
19244
|
|
|
19177
|
-
var index_gen$
|
|
19245
|
+
var index_gen$d = /*#__PURE__*/Object.freeze({
|
|
19178
19246
|
__proto__: null,
|
|
19179
19247
|
API: API$c
|
|
19180
19248
|
});
|
|
@@ -19396,15 +19464,15 @@ let API$b = class API extends API$u {
|
|
|
19396
19464
|
// This file was automatically generated. DO NOT EDIT.
|
|
19397
19465
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19398
19466
|
|
|
19399
|
-
var index_gen$
|
|
19467
|
+
var index_gen$c = /*#__PURE__*/Object.freeze({
|
|
19400
19468
|
__proto__: null,
|
|
19401
19469
|
API: API$b
|
|
19402
19470
|
});
|
|
19403
19471
|
|
|
19404
19472
|
var index$a = /*#__PURE__*/Object.freeze({
|
|
19405
19473
|
__proto__: null,
|
|
19406
|
-
v1: index_gen$
|
|
19407
|
-
v2: index_gen$
|
|
19474
|
+
v1: index_gen$d,
|
|
19475
|
+
v2: index_gen$c
|
|
19408
19476
|
});
|
|
19409
19477
|
|
|
19410
19478
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -19530,7 +19598,7 @@ const marshalUpdateNamespaceRequest$1 = (request, defaults) => ({
|
|
|
19530
19598
|
|
|
19531
19599
|
// This file was automatically generated. DO NOT EDIT.
|
|
19532
19600
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19533
|
-
const jsonContentHeaders$
|
|
19601
|
+
const jsonContentHeaders$b = {
|
|
19534
19602
|
'Content-Type': 'application/json; charset=utf-8'
|
|
19535
19603
|
};
|
|
19536
19604
|
|
|
@@ -19569,7 +19637,7 @@ let API$a = class API extends API$u {
|
|
|
19569
19637
|
*/
|
|
19570
19638
|
createNamespace = request => this.client.fetch({
|
|
19571
19639
|
body: JSON.stringify(marshalCreateNamespaceRequest$1(request, this.client.settings)),
|
|
19572
|
-
headers: jsonContentHeaders$
|
|
19640
|
+
headers: jsonContentHeaders$b,
|
|
19573
19641
|
method: 'POST',
|
|
19574
19642
|
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
19575
19643
|
}, unmarshalNamespace$1);
|
|
@@ -19583,7 +19651,7 @@ let API$a = class API extends API$u {
|
|
|
19583
19651
|
*/
|
|
19584
19652
|
updateNamespace = request => this.client.fetch({
|
|
19585
19653
|
body: JSON.stringify(marshalUpdateNamespaceRequest$1(request, this.client.settings)),
|
|
19586
|
-
headers: jsonContentHeaders$
|
|
19654
|
+
headers: jsonContentHeaders$b,
|
|
19587
19655
|
method: 'PATCH',
|
|
19588
19656
|
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
19589
19657
|
}, unmarshalNamespace$1);
|
|
@@ -19626,7 +19694,7 @@ let API$a = class API extends API$u {
|
|
|
19626
19694
|
*/
|
|
19627
19695
|
createCredential = request => this.client.fetch({
|
|
19628
19696
|
body: JSON.stringify(marshalCreateCredentialRequest(request, this.client.settings)),
|
|
19629
|
-
headers: jsonContentHeaders$
|
|
19697
|
+
headers: jsonContentHeaders$b,
|
|
19630
19698
|
method: 'POST',
|
|
19631
19699
|
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials`
|
|
19632
19700
|
}, unmarshalCredential);
|
|
@@ -19669,7 +19737,7 @@ let API$a = class API extends API$u {
|
|
|
19669
19737
|
*/
|
|
19670
19738
|
updateCredential = request => this.client.fetch({
|
|
19671
19739
|
body: JSON.stringify(marshalUpdateCredentialRequest(request, this.client.settings)),
|
|
19672
|
-
headers: jsonContentHeaders$
|
|
19740
|
+
headers: jsonContentHeaders$b,
|
|
19673
19741
|
method: 'PATCH',
|
|
19674
19742
|
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials/${validatePathParam('credentialId', request.credentialId)}`
|
|
19675
19743
|
}, unmarshalCredential);
|
|
@@ -19691,14 +19759,680 @@ let API$a = class API extends API$u {
|
|
|
19691
19759
|
// This file was automatically generated. DO NOT EDIT.
|
|
19692
19760
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19693
19761
|
|
|
19694
|
-
var index_gen$
|
|
19762
|
+
var index_gen$b = /*#__PURE__*/Object.freeze({
|
|
19695
19763
|
__proto__: null,
|
|
19696
19764
|
API: API$a
|
|
19697
19765
|
});
|
|
19698
19766
|
|
|
19767
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
19768
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19769
|
+
const unmarshalFile = data => {
|
|
19770
|
+
if (!isJSONObject(data)) {
|
|
19771
|
+
throw new TypeError(`Unmarshalling the type 'File' failed as data isn't a dictionary.`);
|
|
19772
|
+
}
|
|
19773
|
+
return {
|
|
19774
|
+
content: data.content,
|
|
19775
|
+
name: data.name
|
|
19776
|
+
};
|
|
19777
|
+
};
|
|
19778
|
+
const unmarshalSnsPermissions = data => {
|
|
19779
|
+
if (!isJSONObject(data)) {
|
|
19780
|
+
throw new TypeError(`Unmarshalling the type 'SnsPermissions' failed as data isn't a dictionary.`);
|
|
19781
|
+
}
|
|
19782
|
+
return {
|
|
19783
|
+
canManage: data.can_manage,
|
|
19784
|
+
canPublish: data.can_publish,
|
|
19785
|
+
canReceive: data.can_receive
|
|
19786
|
+
};
|
|
19787
|
+
};
|
|
19788
|
+
const unmarshalSqsPermissions = data => {
|
|
19789
|
+
if (!isJSONObject(data)) {
|
|
19790
|
+
throw new TypeError(`Unmarshalling the type 'SqsPermissions' failed as data isn't a dictionary.`);
|
|
19791
|
+
}
|
|
19792
|
+
return {
|
|
19793
|
+
canManage: data.can_manage,
|
|
19794
|
+
canPublish: data.can_publish,
|
|
19795
|
+
canReceive: data.can_receive
|
|
19796
|
+
};
|
|
19797
|
+
};
|
|
19798
|
+
const unmarshalNatsAccount = data => {
|
|
19799
|
+
if (!isJSONObject(data)) {
|
|
19800
|
+
throw new TypeError(`Unmarshalling the type 'NatsAccount' failed as data isn't a dictionary.`);
|
|
19801
|
+
}
|
|
19802
|
+
return {
|
|
19803
|
+
createdAt: unmarshalDate(data.created_at),
|
|
19804
|
+
endpoint: data.endpoint,
|
|
19805
|
+
id: data.id,
|
|
19806
|
+
name: data.name,
|
|
19807
|
+
projectId: data.project_id,
|
|
19808
|
+
region: data.region,
|
|
19809
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
19810
|
+
};
|
|
19811
|
+
};
|
|
19812
|
+
const unmarshalNatsCredentials = data => {
|
|
19813
|
+
if (!isJSONObject(data)) {
|
|
19814
|
+
throw new TypeError(`Unmarshalling the type 'NatsCredentials' failed as data isn't a dictionary.`);
|
|
19815
|
+
}
|
|
19816
|
+
return {
|
|
19817
|
+
checksum: data.checksum,
|
|
19818
|
+
createdAt: unmarshalDate(data.created_at),
|
|
19819
|
+
credentials: data.credentials ? unmarshalFile(data.credentials) : undefined,
|
|
19820
|
+
id: data.id,
|
|
19821
|
+
name: data.name,
|
|
19822
|
+
natsAccountId: data.nats_account_id,
|
|
19823
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
19824
|
+
};
|
|
19825
|
+
};
|
|
19826
|
+
const unmarshalSnsCredentials = data => {
|
|
19827
|
+
if (!isJSONObject(data)) {
|
|
19828
|
+
throw new TypeError(`Unmarshalling the type 'SnsCredentials' failed as data isn't a dictionary.`);
|
|
19829
|
+
}
|
|
19830
|
+
return {
|
|
19831
|
+
accessKey: data.access_key,
|
|
19832
|
+
createdAt: unmarshalDate(data.created_at),
|
|
19833
|
+
id: data.id,
|
|
19834
|
+
name: data.name,
|
|
19835
|
+
permissions: data.permissions ? unmarshalSnsPermissions(data.permissions) : undefined,
|
|
19836
|
+
projectId: data.project_id,
|
|
19837
|
+
region: data.region,
|
|
19838
|
+
secretChecksum: data.secret_checksum,
|
|
19839
|
+
secretKey: data.secret_key,
|
|
19840
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
19841
|
+
};
|
|
19842
|
+
};
|
|
19843
|
+
const unmarshalSqsCredentials = data => {
|
|
19844
|
+
if (!isJSONObject(data)) {
|
|
19845
|
+
throw new TypeError(`Unmarshalling the type 'SqsCredentials' failed as data isn't a dictionary.`);
|
|
19846
|
+
}
|
|
19847
|
+
return {
|
|
19848
|
+
accessKey: data.access_key,
|
|
19849
|
+
createdAt: unmarshalDate(data.created_at),
|
|
19850
|
+
id: data.id,
|
|
19851
|
+
name: data.name,
|
|
19852
|
+
permissions: data.permissions ? unmarshalSqsPermissions(data.permissions) : undefined,
|
|
19853
|
+
projectId: data.project_id,
|
|
19854
|
+
region: data.region,
|
|
19855
|
+
secretChecksum: data.secret_checksum,
|
|
19856
|
+
secretKey: data.secret_key,
|
|
19857
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
19858
|
+
};
|
|
19859
|
+
};
|
|
19860
|
+
const unmarshalListNatsAccountsResponse = data => {
|
|
19861
|
+
if (!isJSONObject(data)) {
|
|
19862
|
+
throw new TypeError(`Unmarshalling the type 'ListNatsAccountsResponse' failed as data isn't a dictionary.`);
|
|
19863
|
+
}
|
|
19864
|
+
return {
|
|
19865
|
+
natsAccounts: unmarshalArrayOfObject(data.nats_accounts, unmarshalNatsAccount),
|
|
19866
|
+
totalCount: data.total_count
|
|
19867
|
+
};
|
|
19868
|
+
};
|
|
19869
|
+
const unmarshalListNatsCredentialsResponse = data => {
|
|
19870
|
+
if (!isJSONObject(data)) {
|
|
19871
|
+
throw new TypeError(`Unmarshalling the type 'ListNatsCredentialsResponse' failed as data isn't a dictionary.`);
|
|
19872
|
+
}
|
|
19873
|
+
return {
|
|
19874
|
+
natsCredentials: unmarshalArrayOfObject(data.nats_credentials, unmarshalNatsCredentials),
|
|
19875
|
+
totalCount: data.total_count
|
|
19876
|
+
};
|
|
19877
|
+
};
|
|
19878
|
+
const unmarshalListSnsCredentialsResponse = data => {
|
|
19879
|
+
if (!isJSONObject(data)) {
|
|
19880
|
+
throw new TypeError(`Unmarshalling the type 'ListSnsCredentialsResponse' failed as data isn't a dictionary.`);
|
|
19881
|
+
}
|
|
19882
|
+
return {
|
|
19883
|
+
snsCredentials: unmarshalArrayOfObject(data.sns_credentials, unmarshalSnsCredentials),
|
|
19884
|
+
totalCount: data.total_count
|
|
19885
|
+
};
|
|
19886
|
+
};
|
|
19887
|
+
const unmarshalListSqsCredentialsResponse = data => {
|
|
19888
|
+
if (!isJSONObject(data)) {
|
|
19889
|
+
throw new TypeError(`Unmarshalling the type 'ListSqsCredentialsResponse' failed as data isn't a dictionary.`);
|
|
19890
|
+
}
|
|
19891
|
+
return {
|
|
19892
|
+
sqsCredentials: unmarshalArrayOfObject(data.sqs_credentials, unmarshalSqsCredentials),
|
|
19893
|
+
totalCount: data.total_count
|
|
19894
|
+
};
|
|
19895
|
+
};
|
|
19896
|
+
const unmarshalSnsInfo = data => {
|
|
19897
|
+
if (!isJSONObject(data)) {
|
|
19898
|
+
throw new TypeError(`Unmarshalling the type 'SnsInfo' failed as data isn't a dictionary.`);
|
|
19899
|
+
}
|
|
19900
|
+
return {
|
|
19901
|
+
createdAt: unmarshalDate(data.created_at),
|
|
19902
|
+
projectId: data.project_id,
|
|
19903
|
+
region: data.region,
|
|
19904
|
+
snsEndpointUrl: data.sns_endpoint_url,
|
|
19905
|
+
status: data.status,
|
|
19906
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
19907
|
+
};
|
|
19908
|
+
};
|
|
19909
|
+
const unmarshalSqsInfo = data => {
|
|
19910
|
+
if (!isJSONObject(data)) {
|
|
19911
|
+
throw new TypeError(`Unmarshalling the type 'SqsInfo' failed as data isn't a dictionary.`);
|
|
19912
|
+
}
|
|
19913
|
+
return {
|
|
19914
|
+
createdAt: unmarshalDate(data.created_at),
|
|
19915
|
+
projectId: data.project_id,
|
|
19916
|
+
region: data.region,
|
|
19917
|
+
sqsEndpointUrl: data.sqs_endpoint_url,
|
|
19918
|
+
status: data.status,
|
|
19919
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
19920
|
+
};
|
|
19921
|
+
};
|
|
19922
|
+
const marshalSnsPermissions = (request, defaults) => ({
|
|
19923
|
+
can_manage: request.canManage,
|
|
19924
|
+
can_publish: request.canPublish,
|
|
19925
|
+
can_receive: request.canReceive
|
|
19926
|
+
});
|
|
19927
|
+
const marshalSqsPermissions = (request, defaults) => ({
|
|
19928
|
+
can_manage: request.canManage,
|
|
19929
|
+
can_publish: request.canPublish,
|
|
19930
|
+
can_receive: request.canReceive
|
|
19931
|
+
});
|
|
19932
|
+
const marshalNatsApiCreateNatsAccountRequest = (request, defaults) => ({
|
|
19933
|
+
name: request.name || randomName('mnq'),
|
|
19934
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
19935
|
+
});
|
|
19936
|
+
const marshalNatsApiCreateNatsCredentialsRequest = (request, defaults) => ({
|
|
19937
|
+
name: request.name || randomName('mnq'),
|
|
19938
|
+
nats_account_id: request.natsAccountId
|
|
19939
|
+
});
|
|
19940
|
+
const marshalNatsApiUpdateNatsAccountRequest = (request, defaults) => ({
|
|
19941
|
+
name: request.name
|
|
19942
|
+
});
|
|
19943
|
+
const marshalSnsApiActivateSnsRequest = (request, defaults) => ({
|
|
19944
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
19945
|
+
});
|
|
19946
|
+
const marshalSnsApiCreateSnsCredentialsRequest = (request, defaults) => ({
|
|
19947
|
+
name: request.name || randomName('mnq_sns'),
|
|
19948
|
+
permissions: request.permissions ? marshalSnsPermissions(request.permissions) : undefined,
|
|
19949
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
19950
|
+
});
|
|
19951
|
+
const marshalSnsApiDeactivateSnsRequest = (request, defaults) => ({
|
|
19952
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
19953
|
+
});
|
|
19954
|
+
const marshalSnsApiUpdateSnsCredentialsRequest = (request, defaults) => ({
|
|
19955
|
+
name: request.name,
|
|
19956
|
+
permissions: request.permissions ? marshalSnsPermissions(request.permissions) : undefined
|
|
19957
|
+
});
|
|
19958
|
+
const marshalSqsApiActivateSqsRequest = (request, defaults) => ({
|
|
19959
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
19960
|
+
});
|
|
19961
|
+
const marshalSqsApiCreateSqsCredentialsRequest = (request, defaults) => ({
|
|
19962
|
+
name: request.name || randomName('mnq_sqs'),
|
|
19963
|
+
permissions: request.permissions ? marshalSqsPermissions(request.permissions) : undefined,
|
|
19964
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
19965
|
+
});
|
|
19966
|
+
const marshalSqsApiDeactivateSqsRequest = (request, defaults) => ({
|
|
19967
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
19968
|
+
});
|
|
19969
|
+
const marshalSqsApiUpdateSqsCredentialsRequest = (request, defaults) => ({
|
|
19970
|
+
name: request.name,
|
|
19971
|
+
permissions: request.permissions ? marshalSqsPermissions(request.permissions) : undefined
|
|
19972
|
+
});
|
|
19973
|
+
|
|
19974
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
19975
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19976
|
+
const jsonContentHeaders$a = {
|
|
19977
|
+
'Content-Type': 'application/json; charset=utf-8'
|
|
19978
|
+
};
|
|
19979
|
+
|
|
19980
|
+
/**
|
|
19981
|
+
* Messaging and Queuing NATS API.
|
|
19982
|
+
*
|
|
19983
|
+
* This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
|
|
19984
|
+
* Messaging and Queuing NATS API.
|
|
19985
|
+
*/
|
|
19986
|
+
class NatsAPI extends API$u {
|
|
19987
|
+
/** Lists the available regions of the API. */
|
|
19988
|
+
static LOCALITIES = ['fr-par'];
|
|
19989
|
+
|
|
19990
|
+
/**
|
|
19991
|
+
* Create a NATS account. Create a NATS account associated with a Project.
|
|
19992
|
+
*
|
|
19993
|
+
* @param request - The request {@link NatsApiCreateNatsAccountRequest}
|
|
19994
|
+
* @returns A Promise of NatsAccount
|
|
19995
|
+
*/
|
|
19996
|
+
createNatsAccount = (request = {}) => this.client.fetch({
|
|
19997
|
+
body: JSON.stringify(marshalNatsApiCreateNatsAccountRequest(request, this.client.settings)),
|
|
19998
|
+
headers: jsonContentHeaders$a,
|
|
19999
|
+
method: 'POST',
|
|
20000
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts`
|
|
20001
|
+
}, unmarshalNatsAccount);
|
|
20002
|
+
|
|
20003
|
+
/**
|
|
20004
|
+
* Delete a NATS account. Delete a NATS account, specified by its NATS account
|
|
20005
|
+
* ID. Note that deleting a NATS account is irreversible, and any credentials,
|
|
20006
|
+
* streams, consumer and stored messages belonging to this NATS account will
|
|
20007
|
+
* also be deleted.
|
|
20008
|
+
*
|
|
20009
|
+
* @param request - The request {@link NatsApiDeleteNatsAccountRequest}
|
|
20010
|
+
*/
|
|
20011
|
+
deleteNatsAccount = request => this.client.fetch({
|
|
20012
|
+
method: 'DELETE',
|
|
20013
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts/${validatePathParam('natsAccountId', request.natsAccountId)}`
|
|
20014
|
+
});
|
|
20015
|
+
|
|
20016
|
+
/**
|
|
20017
|
+
* Update the name of a NATS account. Update the name of a NATS account,
|
|
20018
|
+
* specified by its NATS account ID.
|
|
20019
|
+
*
|
|
20020
|
+
* @param request - The request {@link NatsApiUpdateNatsAccountRequest}
|
|
20021
|
+
* @returns A Promise of NatsAccount
|
|
20022
|
+
*/
|
|
20023
|
+
updateNatsAccount = request => this.client.fetch({
|
|
20024
|
+
body: JSON.stringify(marshalNatsApiUpdateNatsAccountRequest(request, this.client.settings)),
|
|
20025
|
+
headers: jsonContentHeaders$a,
|
|
20026
|
+
method: 'PATCH',
|
|
20027
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts/${validatePathParam('natsAccountId', request.natsAccountId)}`
|
|
20028
|
+
}, unmarshalNatsAccount);
|
|
20029
|
+
|
|
20030
|
+
/**
|
|
20031
|
+
* Get a NATS account. Retrieve information about an existing NATS account
|
|
20032
|
+
* identified by its NATS account ID. Its full details, including name and
|
|
20033
|
+
* endpoint, are returned in the response.
|
|
20034
|
+
*
|
|
20035
|
+
* @param request - The request {@link NatsApiGetNatsAccountRequest}
|
|
20036
|
+
* @returns A Promise of NatsAccount
|
|
20037
|
+
*/
|
|
20038
|
+
getNatsAccount = request => this.client.fetch({
|
|
20039
|
+
method: 'GET',
|
|
20040
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts/${validatePathParam('natsAccountId', request.natsAccountId)}`
|
|
20041
|
+
}, unmarshalNatsAccount);
|
|
20042
|
+
pageOfListNatsAccounts = (request = {}) => this.client.fetch({
|
|
20043
|
+
method: 'GET',
|
|
20044
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts`,
|
|
20045
|
+
urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
20046
|
+
}, unmarshalListNatsAccountsResponse);
|
|
20047
|
+
|
|
20048
|
+
/**
|
|
20049
|
+
* List NATS accounts. List all NATS accounts in the specified region, for a
|
|
20050
|
+
* Scaleway Organization or Project. By default, the NATS accounts returned in
|
|
20051
|
+
* the list are ordered by creation date in ascending order, though this can
|
|
20052
|
+
* be modified via the `order_by` field.
|
|
20053
|
+
*
|
|
20054
|
+
* @param request - The request {@link NatsApiListNatsAccountsRequest}
|
|
20055
|
+
* @returns A Promise of ListNatsAccountsResponse
|
|
20056
|
+
*/
|
|
20057
|
+
listNatsAccounts = (request = {}) => enrichForPagination('natsAccounts', this.pageOfListNatsAccounts, request);
|
|
20058
|
+
|
|
20059
|
+
/**
|
|
20060
|
+
* Create NATS credentials. Create a set of credentials for a NATS account,
|
|
20061
|
+
* specified by its NATS account ID.
|
|
20062
|
+
*
|
|
20063
|
+
* @param request - The request {@link NatsApiCreateNatsCredentialsRequest}
|
|
20064
|
+
* @returns A Promise of NatsCredentials
|
|
20065
|
+
*/
|
|
20066
|
+
createNatsCredentials = request => this.client.fetch({
|
|
20067
|
+
body: JSON.stringify(marshalNatsApiCreateNatsCredentialsRequest(request, this.client.settings)),
|
|
20068
|
+
headers: jsonContentHeaders$a,
|
|
20069
|
+
method: 'POST',
|
|
20070
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials`
|
|
20071
|
+
}, unmarshalNatsCredentials);
|
|
20072
|
+
|
|
20073
|
+
/**
|
|
20074
|
+
* Delete NATS credentials. Delete a set of credentials, specified by their
|
|
20075
|
+
* credentials ID. Deleting credentials is irreversible and cannot be undone.
|
|
20076
|
+
* The credentials can no longer be used to access the NATS account, and
|
|
20077
|
+
* active connections using this credentials will be closed.
|
|
20078
|
+
*
|
|
20079
|
+
* @param request - The request {@link NatsApiDeleteNatsCredentialsRequest}
|
|
20080
|
+
*/
|
|
20081
|
+
deleteNatsCredentials = request => this.client.fetch({
|
|
20082
|
+
method: 'DELETE',
|
|
20083
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials/${validatePathParam('natsCredentialsId', request.natsCredentialsId)}`
|
|
20084
|
+
});
|
|
20085
|
+
|
|
20086
|
+
/**
|
|
20087
|
+
* Get NATS credentials. Retrieve an existing set of credentials, identified
|
|
20088
|
+
* by the `nats_credentials_id`. The credentials themselves are NOT returned,
|
|
20089
|
+
* only their metadata (NATS account ID, credentials name, etc), are returned
|
|
20090
|
+
* in the response.
|
|
20091
|
+
*
|
|
20092
|
+
* @param request - The request {@link NatsApiGetNatsCredentialsRequest}
|
|
20093
|
+
* @returns A Promise of NatsCredentials
|
|
20094
|
+
*/
|
|
20095
|
+
getNatsCredentials = request => this.client.fetch({
|
|
20096
|
+
method: 'GET',
|
|
20097
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials/${validatePathParam('natsCredentialsId', request.natsCredentialsId)}`
|
|
20098
|
+
}, unmarshalNatsCredentials);
|
|
20099
|
+
pageOfListNatsCredentials = request => this.client.fetch({
|
|
20100
|
+
method: 'GET',
|
|
20101
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials`,
|
|
20102
|
+
urlParams: urlParams(['nats_account_id', request.natsAccountId], ['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
20103
|
+
}, unmarshalListNatsCredentialsResponse);
|
|
20104
|
+
|
|
20105
|
+
/**
|
|
20106
|
+
* List NATS credentials. List existing credentials in the specified NATS
|
|
20107
|
+
* account. The response contains only the metadata for the credentials, not
|
|
20108
|
+
* the credentials themselves, which are only returned after a **Create
|
|
20109
|
+
* Credentials** call.
|
|
20110
|
+
*
|
|
20111
|
+
* @param request - The request {@link NatsApiListNatsCredentialsRequest}
|
|
20112
|
+
* @returns A Promise of ListNatsCredentialsResponse
|
|
20113
|
+
*/
|
|
20114
|
+
listNatsCredentials = request => enrichForPagination('natsCredentials', this.pageOfListNatsCredentials, request);
|
|
20115
|
+
}
|
|
20116
|
+
|
|
20117
|
+
/**
|
|
20118
|
+
* Messaging and Queuing SNS API.
|
|
20119
|
+
*
|
|
20120
|
+
* This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
|
|
20121
|
+
* Messaging and Queuing SNS API.
|
|
20122
|
+
*/
|
|
20123
|
+
class SnsAPI extends API$u {
|
|
20124
|
+
/** Lists the available regions of the API. */
|
|
20125
|
+
static LOCALITIES = ['fr-par'];
|
|
20126
|
+
|
|
20127
|
+
/**
|
|
20128
|
+
* Activate SNS. Activate SNS for the specified Project ID. SNS must be
|
|
20129
|
+
* activated before any usage. Activating SNS does not trigger any billing,
|
|
20130
|
+
* and you can deactivate at any time.
|
|
20131
|
+
*
|
|
20132
|
+
* @param request - The request {@link SnsApiActivateSnsRequest}
|
|
20133
|
+
* @returns A Promise of SnsInfo
|
|
20134
|
+
*/
|
|
20135
|
+
activateSns = (request = {}) => this.client.fetch({
|
|
20136
|
+
body: JSON.stringify(marshalSnsApiActivateSnsRequest(request, this.client.settings)),
|
|
20137
|
+
headers: jsonContentHeaders$a,
|
|
20138
|
+
method: 'POST',
|
|
20139
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/activate-sns`
|
|
20140
|
+
}, unmarshalSnsInfo);
|
|
20141
|
+
|
|
20142
|
+
/**
|
|
20143
|
+
* Get SNS info. Retrieve the SNS information of the specified Project ID.
|
|
20144
|
+
* Informations include the activation status and the SNS API endpoint URL.
|
|
20145
|
+
*
|
|
20146
|
+
* @param request - The request {@link SnsApiGetSnsInfoRequest}
|
|
20147
|
+
* @returns A Promise of SnsInfo
|
|
20148
|
+
*/
|
|
20149
|
+
getSnsInfo = (request = {}) => this.client.fetch({
|
|
20150
|
+
method: 'GET',
|
|
20151
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-info`,
|
|
20152
|
+
urlParams: urlParams(['project_id', request.projectId ?? this.client.settings.defaultProjectId])
|
|
20153
|
+
}, unmarshalSnsInfo);
|
|
20154
|
+
|
|
20155
|
+
/**
|
|
20156
|
+
* Deactivate SNS. Deactivate SNS for the specified Project ID.You must delete
|
|
20157
|
+
* all topics and credentials before this call or you need to set the
|
|
20158
|
+
* force_delete parameter.
|
|
20159
|
+
*
|
|
20160
|
+
* @param request - The request {@link SnsApiDeactivateSnsRequest}
|
|
20161
|
+
* @returns A Promise of SnsInfo
|
|
20162
|
+
*/
|
|
20163
|
+
deactivateSns = (request = {}) => this.client.fetch({
|
|
20164
|
+
body: JSON.stringify(marshalSnsApiDeactivateSnsRequest(request, this.client.settings)),
|
|
20165
|
+
headers: jsonContentHeaders$a,
|
|
20166
|
+
method: 'POST',
|
|
20167
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deactivate-sns`
|
|
20168
|
+
}, unmarshalSnsInfo);
|
|
20169
|
+
|
|
20170
|
+
/**
|
|
20171
|
+
* Create SNS credentials. Create a set of credentials for SNS, specified by a
|
|
20172
|
+
* Project ID. Credentials give the bearer access to topics, and the level of
|
|
20173
|
+
* permissions can be defined granularly.
|
|
20174
|
+
*
|
|
20175
|
+
* @param request - The request {@link SnsApiCreateSnsCredentialsRequest}
|
|
20176
|
+
* @returns A Promise of SnsCredentials
|
|
20177
|
+
*/
|
|
20178
|
+
createSnsCredentials = (request = {}) => this.client.fetch({
|
|
20179
|
+
body: JSON.stringify(marshalSnsApiCreateSnsCredentialsRequest(request, this.client.settings)),
|
|
20180
|
+
headers: jsonContentHeaders$a,
|
|
20181
|
+
method: 'POST',
|
|
20182
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials`
|
|
20183
|
+
}, unmarshalSnsCredentials);
|
|
20184
|
+
|
|
20185
|
+
/**
|
|
20186
|
+
* Delete SNS credentials. Delete a set of SNS credentials, specified by their
|
|
20187
|
+
* credentials ID. Deleting credentials is irreversible and cannot be undone.
|
|
20188
|
+
* The credentials can then no longer be used to access SNS.
|
|
20189
|
+
*
|
|
20190
|
+
* @param request - The request {@link SnsApiDeleteSnsCredentialsRequest}
|
|
20191
|
+
*/
|
|
20192
|
+
deleteSnsCredentials = request => this.client.fetch({
|
|
20193
|
+
method: 'DELETE',
|
|
20194
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials/${validatePathParam('snsCredentialsId', request.snsCredentialsId)}`
|
|
20195
|
+
});
|
|
20196
|
+
|
|
20197
|
+
/**
|
|
20198
|
+
* Update SNS credentials. Update a set of SNS credentials. You can update the
|
|
20199
|
+
* credentials' name, or their permissions.
|
|
20200
|
+
*
|
|
20201
|
+
* @param request - The request {@link SnsApiUpdateSnsCredentialsRequest}
|
|
20202
|
+
* @returns A Promise of SnsCredentials
|
|
20203
|
+
*/
|
|
20204
|
+
updateSnsCredentials = request => this.client.fetch({
|
|
20205
|
+
body: JSON.stringify(marshalSnsApiUpdateSnsCredentialsRequest(request, this.client.settings)),
|
|
20206
|
+
headers: jsonContentHeaders$a,
|
|
20207
|
+
method: 'PATCH',
|
|
20208
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials/${validatePathParam('snsCredentialsId', request.snsCredentialsId)}`
|
|
20209
|
+
}, unmarshalSnsCredentials);
|
|
20210
|
+
|
|
20211
|
+
/**
|
|
20212
|
+
* Get SNS credentials. Retrieve an existing set of credentials, identified by
|
|
20213
|
+
* the `credentials_id`. The credentials themselves, as well as their metadata
|
|
20214
|
+
* (name, project ID etc), are returned in the response.
|
|
20215
|
+
*
|
|
20216
|
+
* @param request - The request {@link SnsApiGetSnsCredentialsRequest}
|
|
20217
|
+
* @returns A Promise of SnsCredentials
|
|
20218
|
+
*/
|
|
20219
|
+
getSnsCredentials = request => this.client.fetch({
|
|
20220
|
+
method: 'GET',
|
|
20221
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials/${validatePathParam('snsCredentialsId', request.snsCredentialsId)}`
|
|
20222
|
+
}, unmarshalSnsCredentials);
|
|
20223
|
+
pageOfListSnsCredentials = (request = {}) => this.client.fetch({
|
|
20224
|
+
method: 'GET',
|
|
20225
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials`,
|
|
20226
|
+
urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
20227
|
+
}, unmarshalListSnsCredentialsResponse);
|
|
20228
|
+
|
|
20229
|
+
/**
|
|
20230
|
+
* List SNS credentials. List existing SNS credentials in the specified
|
|
20231
|
+
* region. The response contains only the metadata for the credentials, not
|
|
20232
|
+
* the credentials themselves.
|
|
20233
|
+
*
|
|
20234
|
+
* @param request - The request {@link SnsApiListSnsCredentialsRequest}
|
|
20235
|
+
* @returns A Promise of ListSnsCredentialsResponse
|
|
20236
|
+
*/
|
|
20237
|
+
listSnsCredentials = (request = {}) => enrichForPagination('snsCredentials', this.pageOfListSnsCredentials, request);
|
|
20238
|
+
}
|
|
20239
|
+
|
|
20240
|
+
/**
|
|
20241
|
+
* Messaging and Queuing SQS API.
|
|
20242
|
+
*
|
|
20243
|
+
* This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
|
|
20244
|
+
* Messaging and Queuing SQS API.
|
|
20245
|
+
*/
|
|
20246
|
+
class SqsAPI extends API$u {
|
|
20247
|
+
/** Lists the available regions of the API. */
|
|
20248
|
+
static LOCALITIES = ['fr-par'];
|
|
20249
|
+
|
|
20250
|
+
/**
|
|
20251
|
+
* Activate SQS. Activate SQS for the specified Project ID. SQS must be
|
|
20252
|
+
* activated before any usage such as creating credentials and queues.
|
|
20253
|
+
* Activating SQS does not trigger any billing, and you can deactivate at any
|
|
20254
|
+
* time.
|
|
20255
|
+
*
|
|
20256
|
+
* @param request - The request {@link SqsApiActivateSqsRequest}
|
|
20257
|
+
* @returns A Promise of SqsInfo
|
|
20258
|
+
*/
|
|
20259
|
+
activateSqs = (request = {}) => this.client.fetch({
|
|
20260
|
+
body: JSON.stringify(marshalSqsApiActivateSqsRequest(request, this.client.settings)),
|
|
20261
|
+
headers: jsonContentHeaders$a,
|
|
20262
|
+
method: 'POST',
|
|
20263
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/activate-sqs`
|
|
20264
|
+
}, unmarshalSqsInfo);
|
|
20265
|
+
|
|
20266
|
+
/**
|
|
20267
|
+
* Get SQS info. Retrieve the SQS information of the specified Project ID.
|
|
20268
|
+
* Informations include the activation status and the SQS API endpoint URL.
|
|
20269
|
+
*
|
|
20270
|
+
* @param request - The request {@link SqsApiGetSqsInfoRequest}
|
|
20271
|
+
* @returns A Promise of SqsInfo
|
|
20272
|
+
*/
|
|
20273
|
+
getSqsInfo = (request = {}) => this.client.fetch({
|
|
20274
|
+
method: 'GET',
|
|
20275
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-info`,
|
|
20276
|
+
urlParams: urlParams(['project_id', request.projectId ?? this.client.settings.defaultProjectId])
|
|
20277
|
+
}, unmarshalSqsInfo);
|
|
20278
|
+
|
|
20279
|
+
/**
|
|
20280
|
+
* Deactivate SQS. Deactivate SQS for the specified Project ID. You must
|
|
20281
|
+
* delete all queues and credentials before this call or you need to set the
|
|
20282
|
+
* force_delete parameter.
|
|
20283
|
+
*
|
|
20284
|
+
* @param request - The request {@link SqsApiDeactivateSqsRequest}
|
|
20285
|
+
* @returns A Promise of SqsInfo
|
|
20286
|
+
*/
|
|
20287
|
+
deactivateSqs = (request = {}) => this.client.fetch({
|
|
20288
|
+
body: JSON.stringify(marshalSqsApiDeactivateSqsRequest(request, this.client.settings)),
|
|
20289
|
+
headers: jsonContentHeaders$a,
|
|
20290
|
+
method: 'POST',
|
|
20291
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deactivate-sqs`
|
|
20292
|
+
}, unmarshalSqsInfo);
|
|
20293
|
+
|
|
20294
|
+
/**
|
|
20295
|
+
* Create SQS credentials. Create a set of credentials for SQS, specified by a
|
|
20296
|
+
* Project ID. Credentials give the bearer access to queues, and the level of
|
|
20297
|
+
* permissions can be defined granularly.
|
|
20298
|
+
*
|
|
20299
|
+
* @param request - The request {@link SqsApiCreateSqsCredentialsRequest}
|
|
20300
|
+
* @returns A Promise of SqsCredentials
|
|
20301
|
+
*/
|
|
20302
|
+
createSqsCredentials = (request = {}) => this.client.fetch({
|
|
20303
|
+
body: JSON.stringify(marshalSqsApiCreateSqsCredentialsRequest(request, this.client.settings)),
|
|
20304
|
+
headers: jsonContentHeaders$a,
|
|
20305
|
+
method: 'POST',
|
|
20306
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials`
|
|
20307
|
+
}, unmarshalSqsCredentials);
|
|
20308
|
+
|
|
20309
|
+
/**
|
|
20310
|
+
* Delete SQS credentials. Delete a set of SQS credentials, specified by their
|
|
20311
|
+
* credentials ID. Deleting credentials is irreversible and cannot be undone.
|
|
20312
|
+
* The credentials can then no longer be used to access SQS.
|
|
20313
|
+
*
|
|
20314
|
+
* @param request - The request {@link SqsApiDeleteSqsCredentialsRequest}
|
|
20315
|
+
*/
|
|
20316
|
+
deleteSqsCredentials = request => this.client.fetch({
|
|
20317
|
+
method: 'DELETE',
|
|
20318
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials/${validatePathParam('sqsCredentialsId', request.sqsCredentialsId)}`
|
|
20319
|
+
});
|
|
20320
|
+
|
|
20321
|
+
/**
|
|
20322
|
+
* Update SQS credentials. Update a set of SQS credentials. You can update the
|
|
20323
|
+
* credentials' name, or their permissions.
|
|
20324
|
+
*
|
|
20325
|
+
* @param request - The request {@link SqsApiUpdateSqsCredentialsRequest}
|
|
20326
|
+
* @returns A Promise of SqsCredentials
|
|
20327
|
+
*/
|
|
20328
|
+
updateSqsCredentials = request => this.client.fetch({
|
|
20329
|
+
body: JSON.stringify(marshalSqsApiUpdateSqsCredentialsRequest(request, this.client.settings)),
|
|
20330
|
+
headers: jsonContentHeaders$a,
|
|
20331
|
+
method: 'PATCH',
|
|
20332
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials/${validatePathParam('sqsCredentialsId', request.sqsCredentialsId)}`
|
|
20333
|
+
}, unmarshalSqsCredentials);
|
|
20334
|
+
|
|
20335
|
+
/**
|
|
20336
|
+
* Get SQS credentials. Retrieve an existing set of credentials, identified by
|
|
20337
|
+
* the `credentials_id`. The credentials themselves, as well as their metadata
|
|
20338
|
+
* (name, project ID etc), are returned in the response.
|
|
20339
|
+
*
|
|
20340
|
+
* @param request - The request {@link SqsApiGetSqsCredentialsRequest}
|
|
20341
|
+
* @returns A Promise of SqsCredentials
|
|
20342
|
+
*/
|
|
20343
|
+
getSqsCredentials = request => this.client.fetch({
|
|
20344
|
+
method: 'GET',
|
|
20345
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials/${validatePathParam('sqsCredentialsId', request.sqsCredentialsId)}`
|
|
20346
|
+
}, unmarshalSqsCredentials);
|
|
20347
|
+
pageOfListSqsCredentials = (request = {}) => this.client.fetch({
|
|
20348
|
+
method: 'GET',
|
|
20349
|
+
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials`,
|
|
20350
|
+
urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
20351
|
+
}, unmarshalListSqsCredentialsResponse);
|
|
20352
|
+
|
|
20353
|
+
/**
|
|
20354
|
+
* List SQS credentials. List existing SQS credentials in the specified
|
|
20355
|
+
* region. The response contains only the metadata for the credentials, not
|
|
20356
|
+
* the credentials themselves.
|
|
20357
|
+
*
|
|
20358
|
+
* @param request - The request {@link SqsApiListSqsCredentialsRequest}
|
|
20359
|
+
* @returns A Promise of ListSqsCredentialsResponse
|
|
20360
|
+
*/
|
|
20361
|
+
listSqsCredentials = (request = {}) => enrichForPagination('sqsCredentials', this.pageOfListSqsCredentials, request);
|
|
20362
|
+
}
|
|
20363
|
+
|
|
20364
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
20365
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20366
|
+
|
|
20367
|
+
const NatsApiCreateNatsAccountRequest = {
|
|
20368
|
+
name: {
|
|
20369
|
+
maxLength: 64,
|
|
20370
|
+
minLength: 1
|
|
20371
|
+
}
|
|
20372
|
+
};
|
|
20373
|
+
const NatsApiCreateNatsCredentialsRequest = {
|
|
20374
|
+
name: {
|
|
20375
|
+
maxLength: 64,
|
|
20376
|
+
minLength: 1
|
|
20377
|
+
}
|
|
20378
|
+
};
|
|
20379
|
+
const NatsApiUpdateNatsAccountRequest = {
|
|
20380
|
+
name: {
|
|
20381
|
+
maxLength: 64,
|
|
20382
|
+
minLength: 1
|
|
20383
|
+
}
|
|
20384
|
+
};
|
|
20385
|
+
const SnsApiCreateSnsCredentialsRequest = {
|
|
20386
|
+
name: {
|
|
20387
|
+
maxLength: 64,
|
|
20388
|
+
minLength: 1
|
|
20389
|
+
}
|
|
20390
|
+
};
|
|
20391
|
+
const SnsApiUpdateSnsCredentialsRequest = {
|
|
20392
|
+
name: {
|
|
20393
|
+
maxLength: 64,
|
|
20394
|
+
minLength: 1
|
|
20395
|
+
}
|
|
20396
|
+
};
|
|
20397
|
+
const SqsApiCreateSqsCredentialsRequest = {
|
|
20398
|
+
name: {
|
|
20399
|
+
maxLength: 64,
|
|
20400
|
+
minLength: 1
|
|
20401
|
+
}
|
|
20402
|
+
};
|
|
20403
|
+
const SqsApiUpdateSqsCredentialsRequest = {
|
|
20404
|
+
name: {
|
|
20405
|
+
maxLength: 64,
|
|
20406
|
+
minLength: 1
|
|
20407
|
+
}
|
|
20408
|
+
};
|
|
20409
|
+
|
|
20410
|
+
var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
|
|
20411
|
+
__proto__: null,
|
|
20412
|
+
NatsApiCreateNatsAccountRequest: NatsApiCreateNatsAccountRequest,
|
|
20413
|
+
NatsApiCreateNatsCredentialsRequest: NatsApiCreateNatsCredentialsRequest,
|
|
20414
|
+
NatsApiUpdateNatsAccountRequest: NatsApiUpdateNatsAccountRequest,
|
|
20415
|
+
SnsApiCreateSnsCredentialsRequest: SnsApiCreateSnsCredentialsRequest,
|
|
20416
|
+
SnsApiUpdateSnsCredentialsRequest: SnsApiUpdateSnsCredentialsRequest,
|
|
20417
|
+
SqsApiCreateSqsCredentialsRequest: SqsApiCreateSqsCredentialsRequest,
|
|
20418
|
+
SqsApiUpdateSqsCredentialsRequest: SqsApiUpdateSqsCredentialsRequest
|
|
20419
|
+
});
|
|
20420
|
+
|
|
20421
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
20422
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20423
|
+
|
|
20424
|
+
var index_gen$a = /*#__PURE__*/Object.freeze({
|
|
20425
|
+
__proto__: null,
|
|
20426
|
+
NatsAPI: NatsAPI,
|
|
20427
|
+
SnsAPI: SnsAPI,
|
|
20428
|
+
SqsAPI: SqsAPI,
|
|
20429
|
+
ValidationRules: validationRules_gen$2
|
|
20430
|
+
});
|
|
20431
|
+
|
|
19699
20432
|
var index$9 = /*#__PURE__*/Object.freeze({
|
|
19700
20433
|
__proto__: null,
|
|
19701
|
-
v1alpha1: index_gen$
|
|
20434
|
+
v1alpha1: index_gen$b,
|
|
20435
|
+
v1beta1: index_gen$a
|
|
19702
20436
|
});
|
|
19703
20437
|
|
|
19704
20438
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -19849,6 +20583,7 @@ const unmarshalNodeTypeVolumeType = data => {
|
|
|
19849
20583
|
}
|
|
19850
20584
|
return {
|
|
19851
20585
|
chunkSize: data.chunk_size,
|
|
20586
|
+
class: data.class,
|
|
19852
20587
|
description: data.description,
|
|
19853
20588
|
maxSize: data.max_size,
|
|
19854
20589
|
minSize: data.min_size,
|
|
@@ -19883,6 +20618,7 @@ const unmarshalVolume = data => {
|
|
|
19883
20618
|
throw new TypeError(`Unmarshalling the type 'Volume' failed as data isn't a dictionary.`);
|
|
19884
20619
|
}
|
|
19885
20620
|
return {
|
|
20621
|
+
class: data.class,
|
|
19886
20622
|
size: data.size,
|
|
19887
20623
|
type: data.type
|
|
19888
20624
|
};
|