@distilled.cloud/stackit 1.0.0-rc.16 → 1.0.0-rc.18
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/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -53
- package/lib/errors.js +1 -26
- package/lib/index.d.ts +3 -3
- package/lib/index.js +1 -24
- package/lib/index.lazy.js +7 -0
- package/lib/pagination.js +1 -45
- package/lib/protocol.d.ts +2 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +1 -149
- package/lib/retry.js +1 -32
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +30 -84
- package/lib/services/alb.js.map +1 -0
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +35 -95
- package/lib/services/alb_waf.js.map +1 -0
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +2 -76
- package/lib/services/authorization.js.map +1 -0
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +25 -68
- package/lib/services/automation.js.map +1 -0
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +33 -91
- package/lib/services/cdn.js.map +1 -0
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +2 -53
- package/lib/services/certificates.js.map +1 -0
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +2 -47
- package/lib/services/cost.js.map +1 -0
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +42 -110
- package/lib/services/dns.js.map +1 -0
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +2 -66
- package/lib/services/dremio.js.map +1 -0
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +29 -76
- package/lib/services/edge.js.map +1 -0
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +28 -70
- package/lib/services/functions.js.map +1 -0
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +37 -97
- package/lib/services/git.js.map +1 -0
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +183 -420
- package/lib/services/iaas.js.map +1 -0
- package/lib/services/index.js +0 -2
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +31 -84
- package/lib/services/intake.js.map +1 -0
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +43 -108
- package/lib/services/kms.js.map +1 -0
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +2 -53
- package/lib/services/lb_ip_lists.js.map +1 -0
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +31 -87
- package/lib/services/load_balancer.js.map +1 -0
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -92
- package/lib/services/logme.js.map +1 -0
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -94
- package/lib/services/logs.js.map +1 -0
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -94
- package/lib/services/mariadb.js.map +1 -0
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +2 -77
- package/lib/services/model_experiments.js.map +1 -0
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +2 -65
- package/lib/services/model_serving.js.map +1 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +44 -112
- package/lib/services/mongodb_flex.js.map +1 -0
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +40 -105
- package/lib/services/object_storage.js.map +1 -0
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +161 -385
- package/lib/services/observability.js.map +1 -0
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -95
- package/lib/services/opensearch.js.map +1 -0
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +33 -91
- package/lib/services/pim.js.map +1 -0
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +49 -126
- package/lib/services/postgres_flex.js.map +1 -0
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +39 -104
- package/lib/services/pubsub.js.map +1 -0
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -98
- package/lib/services/rabbitmq.js.map +1 -0
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +2 -58
- package/lib/services/registry.js.map +1 -0
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +38 -103
- package/lib/services/resource_manager.js.map +1 -0
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +2 -47
- package/lib/services/run_command.js.map +1 -0
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +27 -73
- package/lib/services/sca.js.map +1 -0
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +42 -109
- package/lib/services/scf.js.map +1 -0
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +44 -111
- package/lib/services/secrets_manager.js.map +1 -0
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +31 -80
- package/lib/services/server_backup.js.map +1 -0
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +2 -68
- package/lib/services/server_update.js.map +1 -0
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -86
- package/lib/services/service_account.js.map +1 -0
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +2 -50
- package/lib/services/service_enablement.js.map +1 -0
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +48 -125
- package/lib/services/sfs.js.map +1 -0
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +28 -76
- package/lib/services/ske.js.map +1 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +48 -123
- package/lib/services/sqlserverflex.js.map +1 -0
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +28 -74
- package/lib/services/stackit_marketplace.js.map +1 -0
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +36 -91
- package/lib/services/telemetry_link.js.map +1 -0
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -83
- package/lib/services/telemetry_router.js.map +1 -0
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +2 -65
- package/lib/services/ufw.js.map +1 -0
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -95
- package/lib/services/valkey.js.map +1 -0
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +45 -116
- package/lib/services/vpn.js.map +1 -0
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +29 -78
- package/lib/services/workflows.js.map +1 -0
- package/lib/services.lazy/alb.js +4 -0
- package/lib/services.lazy/alb_waf.js +4 -0
- package/lib/services.lazy/authorization.js +1 -0
- package/lib/services.lazy/automation.js +4 -0
- package/lib/services.lazy/cdn.js +4 -0
- package/lib/services.lazy/certificates.js +1 -0
- package/lib/services.lazy/cost.js +1 -0
- package/lib/services.lazy/dns.js +4 -0
- package/lib/services.lazy/dremio.js +1 -0
- package/lib/services.lazy/edge.js +4 -0
- package/lib/services.lazy/functions.js +3 -0
- package/lib/services.lazy/git.js +4 -0
- package/lib/services.lazy/iaas.js +4 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/intake.js +4 -0
- package/lib/services.lazy/kms.js +4 -0
- package/lib/services.lazy/lb_ip_lists.js +1 -0
- package/lib/services.lazy/load_balancer.js +4 -0
- package/lib/services.lazy/logme.js +4 -0
- package/lib/services.lazy/logs.js +4 -0
- package/lib/services.lazy/mariadb.js +4 -0
- package/lib/services.lazy/model_experiments.js +1 -0
- package/lib/services.lazy/model_serving.js +1 -0
- package/lib/services.lazy/mongodb_flex.js +4 -0
- package/lib/services.lazy/object_storage.js +4 -0
- package/lib/services.lazy/observability.js +4 -0
- package/lib/services.lazy/opensearch.js +4 -0
- package/lib/services.lazy/pim.js +4 -0
- package/lib/services.lazy/postgres_flex.js +4 -0
- package/lib/services.lazy/pubsub.js +4 -0
- package/lib/services.lazy/rabbitmq.js +4 -0
- package/lib/services.lazy/registry.js +1 -0
- package/lib/services.lazy/resource_manager.js +4 -0
- package/lib/services.lazy/run_command.js +1 -0
- package/lib/services.lazy/sca.js +4 -0
- package/lib/services.lazy/scf.js +4 -0
- package/lib/services.lazy/secrets_manager.js +4 -0
- package/lib/services.lazy/server_backup.js +4 -0
- package/lib/services.lazy/server_update.js +1 -0
- package/lib/services.lazy/service_account.js +4 -0
- package/lib/services.lazy/service_enablement.js +1 -0
- package/lib/services.lazy/sfs.js +4 -0
- package/lib/services.lazy/ske.js +4 -0
- package/lib/services.lazy/sqlserverflex.js +4 -0
- package/lib/services.lazy/stackit_marketplace.js +4 -0
- package/lib/services.lazy/telemetry_link.js +4 -0
- package/lib/services.lazy/telemetry_router.js +4 -0
- package/lib/services.lazy/ufw.js +1 -0
- package/lib/services.lazy/valkey.js +4 -0
- package/lib/services.lazy/vpn.js +4 -0
- package/lib/services.lazy/workflows.js +4 -0
- package/lib/traits.js +1 -15
- package/package.json +8 -9
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/protocol.ts +13 -11
- package/src/services/alb.ts +39 -0
- package/src/services/alb_waf.ts +45 -0
- package/src/services/authorization.ts +35 -0
- package/src/services/automation.ts +33 -0
- package/src/services/cdn.ts +43 -0
- package/src/services/certificates.ts +23 -0
- package/src/services/cost.ts +19 -0
- package/src/services/dns.ts +55 -0
- package/src/services/dremio.ts +31 -0
- package/src/services/edge.ts +41 -0
- package/src/services/functions.ts +43 -0
- package/src/services/git.ts +53 -0
- package/src/services/iaas.ts +285 -0
- package/src/services/intake.ts +43 -0
- package/src/services/kms.ts +63 -0
- package/src/services/lb_ip_lists.ts +23 -0
- package/src/services/load_balancer.ts +39 -0
- package/src/services/logme.ts +51 -0
- package/src/services/logs.ts +49 -0
- package/src/services/mariadb.ts +51 -0
- package/src/services/model_experiments.ts +33 -0
- package/src/services/model_serving.ts +29 -0
- package/src/services/mongodb_flex.ts +63 -0
- package/src/services/object_storage.ts +55 -0
- package/src/services/observability.ts +225 -0
- package/src/services/opensearch.ts +51 -0
- package/src/services/pim.ts +41 -0
- package/src/services/postgres_flex.ts +67 -0
- package/src/services/pubsub.ts +49 -0
- package/src/services/rabbitmq.ts +51 -0
- package/src/services/registry.ts +25 -0
- package/src/services/resource_manager.ts +45 -0
- package/src/services/run_command.ts +23 -0
- package/src/services/sca.ts +37 -0
- package/src/services/scf.ts +59 -0
- package/src/services/secrets_manager.ts +65 -0
- package/src/services/server_backup.ts +45 -0
- package/src/services/server_update.ts +37 -0
- package/src/services/service_account.ts +43 -0
- package/src/services/service_enablement.ts +21 -0
- package/src/services/sfs.ts +65 -0
- package/src/services/ske.ts +41 -0
- package/src/services/sqlserverflex.ts +69 -0
- package/src/services/stackit_marketplace.ts +39 -0
- package/src/services/telemetry_link.ts +55 -0
- package/src/services/telemetry_router.ts +43 -0
- package/src/services/ufw.ts +29 -0
- package/src/services/valkey.ts +51 -0
- package/src/services/vpn.ts +61 -0
- package/src/services/workflows.ts +41 -0
- package/lib/credentials.js.map +0 -1
- package/lib/errors.js.map +0 -1
- package/lib/pagination.js.map +0 -1
- package/lib/protocol.js.map +0 -1
- package/lib/retry.js.map +0 -1
- package/lib/services/index.js.map +0 -1
- package/lib/traits.js.map +0 -1
- /package/lib/{index.js.map → index.lazy.js.map} +0 -0
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "ModelServing",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -238,6 +251,8 @@ export const createToken: API.OperationMethod<
|
|
|
238
251
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
239
252
|
protocol: StackitProtocol,
|
|
240
253
|
retry: Retry.Retry,
|
|
254
|
+
telemetry: TELEMETRY,
|
|
255
|
+
span: "CreateToken",
|
|
241
256
|
}));
|
|
242
257
|
|
|
243
258
|
export type DeleteTokenError = BadRequest | NotFound | StackitOpError;
|
|
@@ -253,6 +268,8 @@ export const deleteToken: API.OperationMethod<
|
|
|
253
268
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
254
269
|
protocol: StackitProtocol,
|
|
255
270
|
retry: Retry.Retry,
|
|
271
|
+
telemetry: TELEMETRY,
|
|
272
|
+
span: "DeleteToken",
|
|
256
273
|
}));
|
|
257
274
|
|
|
258
275
|
export type GetChatModelError = BadRequest | StackitOpError;
|
|
@@ -268,6 +285,8 @@ export const getChatModel: API.OperationMethod<
|
|
|
268
285
|
errors: [BadRequest, UnknownStackitError],
|
|
269
286
|
protocol: StackitProtocol,
|
|
270
287
|
retry: Retry.Retry,
|
|
288
|
+
telemetry: TELEMETRY,
|
|
289
|
+
span: "GetChatModel",
|
|
271
290
|
}));
|
|
272
291
|
|
|
273
292
|
export type GetEmbeddingModelError = BadRequest | StackitOpError;
|
|
@@ -283,6 +302,8 @@ export const getEmbeddingModel: API.OperationMethod<
|
|
|
283
302
|
errors: [BadRequest, UnknownStackitError],
|
|
284
303
|
protocol: StackitProtocol,
|
|
285
304
|
retry: Retry.Retry,
|
|
305
|
+
telemetry: TELEMETRY,
|
|
306
|
+
span: "GetEmbeddingModel",
|
|
286
307
|
}));
|
|
287
308
|
|
|
288
309
|
export type GetTokenError = BadRequest | NotFound | StackitOpError;
|
|
@@ -298,6 +319,8 @@ export const getToken: API.OperationMethod<
|
|
|
298
319
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
299
320
|
protocol: StackitProtocol,
|
|
300
321
|
retry: Retry.Retry,
|
|
322
|
+
telemetry: TELEMETRY,
|
|
323
|
+
span: "GetToken",
|
|
301
324
|
}));
|
|
302
325
|
|
|
303
326
|
export type ListModelsError = BadRequest | StackitOpError;
|
|
@@ -313,6 +336,8 @@ export const listModels: API.OperationMethod<
|
|
|
313
336
|
errors: [BadRequest, UnknownStackitError],
|
|
314
337
|
protocol: StackitProtocol,
|
|
315
338
|
retry: Retry.Retry,
|
|
339
|
+
telemetry: TELEMETRY,
|
|
340
|
+
span: "ListModels",
|
|
316
341
|
}));
|
|
317
342
|
|
|
318
343
|
export type ListTokensError = BadRequest | StackitOpError;
|
|
@@ -328,6 +353,8 @@ export const listTokens: API.OperationMethod<
|
|
|
328
353
|
errors: [BadRequest, UnknownStackitError],
|
|
329
354
|
protocol: StackitProtocol,
|
|
330
355
|
retry: Retry.Retry,
|
|
356
|
+
telemetry: TELEMETRY,
|
|
357
|
+
span: "ListTokens",
|
|
331
358
|
}));
|
|
332
359
|
|
|
333
360
|
export type PartialUpdateTokenError = BadRequest | NotFound | StackitOpError;
|
|
@@ -343,6 +370,8 @@ export const partialUpdateToken: API.OperationMethod<
|
|
|
343
370
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
344
371
|
protocol: StackitProtocol,
|
|
345
372
|
retry: Retry.Retry,
|
|
373
|
+
telemetry: TELEMETRY,
|
|
374
|
+
span: "PartialUpdateToken",
|
|
346
375
|
}));
|
|
347
376
|
|
|
348
377
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "MongodbFlex",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -617,6 +630,8 @@ export const cloneInstance: API.OperationMethod<
|
|
|
617
630
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
618
631
|
protocol: StackitProtocol,
|
|
619
632
|
retry: Retry.Retry,
|
|
633
|
+
telemetry: TELEMETRY,
|
|
634
|
+
span: "CloneInstance",
|
|
620
635
|
}));
|
|
621
636
|
|
|
622
637
|
export type CreateInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -632,6 +647,8 @@ export const createInstance: API.OperationMethod<
|
|
|
632
647
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
633
648
|
protocol: StackitProtocol,
|
|
634
649
|
retry: Retry.Retry,
|
|
650
|
+
telemetry: TELEMETRY,
|
|
651
|
+
span: "CreateInstance",
|
|
635
652
|
}));
|
|
636
653
|
|
|
637
654
|
export type CreateUserError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -647,6 +664,8 @@ export const createUser: API.OperationMethod<
|
|
|
647
664
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
648
665
|
protocol: StackitProtocol,
|
|
649
666
|
retry: Retry.Retry,
|
|
667
|
+
telemetry: TELEMETRY,
|
|
668
|
+
span: "CreateUser",
|
|
650
669
|
}));
|
|
651
670
|
|
|
652
671
|
export type DeleteInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -662,6 +681,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
662
681
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
663
682
|
protocol: StackitProtocol,
|
|
664
683
|
retry: Retry.Retry,
|
|
684
|
+
telemetry: TELEMETRY,
|
|
685
|
+
span: "DeleteInstance",
|
|
665
686
|
}));
|
|
666
687
|
|
|
667
688
|
export type DeleteUserError = BadRequest | NotFound | StackitOpError;
|
|
@@ -677,6 +698,8 @@ export const deleteUser: API.OperationMethod<
|
|
|
677
698
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
678
699
|
protocol: StackitProtocol,
|
|
679
700
|
retry: Retry.Retry,
|
|
701
|
+
telemetry: TELEMETRY,
|
|
702
|
+
span: "DeleteUser",
|
|
680
703
|
}));
|
|
681
704
|
|
|
682
705
|
export type GetBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -692,6 +715,8 @@ export const getBackup: API.OperationMethod<
|
|
|
692
715
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
693
716
|
protocol: StackitProtocol,
|
|
694
717
|
retry: Retry.Retry,
|
|
718
|
+
telemetry: TELEMETRY,
|
|
719
|
+
span: "GetBackup",
|
|
695
720
|
}));
|
|
696
721
|
|
|
697
722
|
export type GetInstanceError = BadRequest | StackitOpError;
|
|
@@ -707,6 +732,8 @@ export const getInstance: API.OperationMethod<
|
|
|
707
732
|
errors: [BadRequest, UnknownStackitError],
|
|
708
733
|
protocol: StackitProtocol,
|
|
709
734
|
retry: Retry.Retry,
|
|
735
|
+
telemetry: TELEMETRY,
|
|
736
|
+
span: "GetInstance",
|
|
710
737
|
}));
|
|
711
738
|
|
|
712
739
|
export type GetUserError = BadRequest | NotFound | StackitOpError;
|
|
@@ -722,6 +749,8 @@ export const getUser: API.OperationMethod<
|
|
|
722
749
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
723
750
|
protocol: StackitProtocol,
|
|
724
751
|
retry: Retry.Retry,
|
|
752
|
+
telemetry: TELEMETRY,
|
|
753
|
+
span: "GetUser",
|
|
725
754
|
}));
|
|
726
755
|
|
|
727
756
|
export type ListAdvisorSlowQueriesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -737,6 +766,8 @@ export const listAdvisorSlowQueries: API.OperationMethod<
|
|
|
737
766
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
738
767
|
protocol: StackitProtocol,
|
|
739
768
|
retry: Retry.Retry,
|
|
769
|
+
telemetry: TELEMETRY,
|
|
770
|
+
span: "ListAdvisorSlowQueries",
|
|
740
771
|
}));
|
|
741
772
|
|
|
742
773
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -752,6 +783,8 @@ export const listBackups: API.OperationMethod<
|
|
|
752
783
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
753
784
|
protocol: StackitProtocol,
|
|
754
785
|
retry: Retry.Retry,
|
|
786
|
+
telemetry: TELEMETRY,
|
|
787
|
+
span: "ListBackups",
|
|
755
788
|
}));
|
|
756
789
|
|
|
757
790
|
export type ListFlavorsError = BadRequest | StackitOpError;
|
|
@@ -767,6 +800,8 @@ export const listFlavors: API.OperationMethod<
|
|
|
767
800
|
errors: [BadRequest, UnknownStackitError],
|
|
768
801
|
protocol: StackitProtocol,
|
|
769
802
|
retry: Retry.Retry,
|
|
803
|
+
telemetry: TELEMETRY,
|
|
804
|
+
span: "ListFlavors",
|
|
770
805
|
}));
|
|
771
806
|
|
|
772
807
|
export type ListInstancesError = BadRequest | StackitOpError;
|
|
@@ -782,6 +817,8 @@ export const listInstances: API.OperationMethod<
|
|
|
782
817
|
errors: [BadRequest, UnknownStackitError],
|
|
783
818
|
protocol: StackitProtocol,
|
|
784
819
|
retry: Retry.Retry,
|
|
820
|
+
telemetry: TELEMETRY,
|
|
821
|
+
span: "ListInstances",
|
|
785
822
|
}));
|
|
786
823
|
|
|
787
824
|
export type ListMetricsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -797,6 +834,8 @@ export const listMetrics: API.OperationMethod<
|
|
|
797
834
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
798
835
|
protocol: StackitProtocol,
|
|
799
836
|
retry: Retry.Retry,
|
|
837
|
+
telemetry: TELEMETRY,
|
|
838
|
+
span: "ListMetrics",
|
|
800
839
|
}));
|
|
801
840
|
|
|
802
841
|
export type ListRestoreJobsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -812,6 +851,8 @@ export const listRestoreJobs: API.OperationMethod<
|
|
|
812
851
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
813
852
|
protocol: StackitProtocol,
|
|
814
853
|
retry: Retry.Retry,
|
|
854
|
+
telemetry: TELEMETRY,
|
|
855
|
+
span: "ListRestoreJobs",
|
|
815
856
|
}));
|
|
816
857
|
|
|
817
858
|
export type ListStoragesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -827,6 +868,8 @@ export const listStorages: API.OperationMethod<
|
|
|
827
868
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
828
869
|
protocol: StackitProtocol,
|
|
829
870
|
retry: Retry.Retry,
|
|
871
|
+
telemetry: TELEMETRY,
|
|
872
|
+
span: "ListStorages",
|
|
830
873
|
}));
|
|
831
874
|
|
|
832
875
|
export type ListSuggestedIndexesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -842,6 +885,8 @@ export const listSuggestedIndexes: API.OperationMethod<
|
|
|
842
885
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
843
886
|
protocol: StackitProtocol,
|
|
844
887
|
retry: Retry.Retry,
|
|
888
|
+
telemetry: TELEMETRY,
|
|
889
|
+
span: "ListSuggestedIndexes",
|
|
845
890
|
}));
|
|
846
891
|
|
|
847
892
|
export type ListUsersError = BadRequest | NotFound | StackitOpError;
|
|
@@ -857,6 +902,8 @@ export const listUsers: API.OperationMethod<
|
|
|
857
902
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
858
903
|
protocol: StackitProtocol,
|
|
859
904
|
retry: Retry.Retry,
|
|
905
|
+
telemetry: TELEMETRY,
|
|
906
|
+
span: "ListUsers",
|
|
860
907
|
}));
|
|
861
908
|
|
|
862
909
|
export type ListVersionsError = BadRequest | StackitOpError;
|
|
@@ -872,6 +919,8 @@ export const listVersions: API.OperationMethod<
|
|
|
872
919
|
errors: [BadRequest, UnknownStackitError],
|
|
873
920
|
protocol: StackitProtocol,
|
|
874
921
|
retry: Retry.Retry,
|
|
922
|
+
telemetry: TELEMETRY,
|
|
923
|
+
span: "ListVersions",
|
|
875
924
|
}));
|
|
876
925
|
|
|
877
926
|
export type PartialUpdateInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -887,6 +936,8 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
887
936
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
888
937
|
protocol: StackitProtocol,
|
|
889
938
|
retry: Retry.Retry,
|
|
939
|
+
telemetry: TELEMETRY,
|
|
940
|
+
span: "PartialUpdateInstance",
|
|
890
941
|
}));
|
|
891
942
|
|
|
892
943
|
export type PartialUpdateUserError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -902,6 +953,8 @@ export const partialUpdateUser: API.OperationMethod<
|
|
|
902
953
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
903
954
|
protocol: StackitProtocol,
|
|
904
955
|
retry: Retry.Retry,
|
|
956
|
+
telemetry: TELEMETRY,
|
|
957
|
+
span: "PartialUpdateUser",
|
|
905
958
|
}));
|
|
906
959
|
|
|
907
960
|
export type ResetUserError = BadRequest | NotFound | StackitOpError;
|
|
@@ -917,6 +970,8 @@ export const resetUser: API.OperationMethod<
|
|
|
917
970
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
918
971
|
protocol: StackitProtocol,
|
|
919
972
|
retry: Retry.Retry,
|
|
973
|
+
telemetry: TELEMETRY,
|
|
974
|
+
span: "ResetUser",
|
|
920
975
|
}));
|
|
921
976
|
|
|
922
977
|
export type RestoreInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -932,6 +987,8 @@ export const restoreInstance: API.OperationMethod<
|
|
|
932
987
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
933
988
|
protocol: StackitProtocol,
|
|
934
989
|
retry: Retry.Retry,
|
|
990
|
+
telemetry: TELEMETRY,
|
|
991
|
+
span: "RestoreInstance",
|
|
935
992
|
}));
|
|
936
993
|
|
|
937
994
|
export type UpdateBackupScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -947,6 +1004,8 @@ export const updateBackupSchedule: API.OperationMethod<
|
|
|
947
1004
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
948
1005
|
protocol: StackitProtocol,
|
|
949
1006
|
retry: Retry.Retry,
|
|
1007
|
+
telemetry: TELEMETRY,
|
|
1008
|
+
span: "UpdateBackupSchedule",
|
|
950
1009
|
}));
|
|
951
1010
|
|
|
952
1011
|
export type UpdateInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -962,6 +1021,8 @@ export const updateInstance: API.OperationMethod<
|
|
|
962
1021
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
963
1022
|
protocol: StackitProtocol,
|
|
964
1023
|
retry: Retry.Retry,
|
|
1024
|
+
telemetry: TELEMETRY,
|
|
1025
|
+
span: "UpdateInstance",
|
|
965
1026
|
}));
|
|
966
1027
|
|
|
967
1028
|
export type UpdateUserError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -977,6 +1038,8 @@ export const updateUser: API.OperationMethod<
|
|
|
977
1038
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
978
1039
|
protocol: StackitProtocol,
|
|
979
1040
|
retry: Retry.Retry,
|
|
1041
|
+
telemetry: TELEMETRY,
|
|
1042
|
+
span: "UpdateUser",
|
|
980
1043
|
}));
|
|
981
1044
|
|
|
982
1045
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "ObjectStorage",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -371,6 +384,8 @@ export const createAccessKey: API.OperationMethod<
|
|
|
371
384
|
errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
372
385
|
protocol: StackitProtocol,
|
|
373
386
|
retry: Retry.Retry,
|
|
387
|
+
telemetry: TELEMETRY,
|
|
388
|
+
span: "CreateAccessKey",
|
|
374
389
|
}));
|
|
375
390
|
|
|
376
391
|
export type CreateBucketError = NotFound | Conflict | UnprocessableEntity | StackitOpError;
|
|
@@ -386,6 +401,8 @@ export const createBucket: API.OperationMethod<
|
|
|
386
401
|
errors: [NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
387
402
|
protocol: StackitProtocol,
|
|
388
403
|
retry: Retry.Retry,
|
|
404
|
+
telemetry: TELEMETRY,
|
|
405
|
+
span: "CreateBucket",
|
|
389
406
|
}));
|
|
390
407
|
|
|
391
408
|
export type CreateComplianceLockError = NotFound | Conflict | StackitOpError;
|
|
@@ -401,6 +418,8 @@ export const createComplianceLock: API.OperationMethod<
|
|
|
401
418
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
402
419
|
protocol: StackitProtocol,
|
|
403
420
|
retry: Retry.Retry,
|
|
421
|
+
telemetry: TELEMETRY,
|
|
422
|
+
span: "CreateComplianceLock",
|
|
404
423
|
}));
|
|
405
424
|
|
|
406
425
|
export type CreateCredentialsGroupError =
|
|
@@ -421,6 +440,8 @@ export const createCredentialsGroup: API.OperationMethod<
|
|
|
421
440
|
errors: [Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
422
441
|
protocol: StackitProtocol,
|
|
423
442
|
retry: Retry.Retry,
|
|
443
|
+
telemetry: TELEMETRY,
|
|
444
|
+
span: "CreateCredentialsGroup",
|
|
424
445
|
}));
|
|
425
446
|
|
|
426
447
|
export type DeleteAccessKeyError = Forbidden | NotFound | UnprocessableEntity | StackitOpError;
|
|
@@ -436,6 +457,8 @@ export const deleteAccessKey: API.OperationMethod<
|
|
|
436
457
|
errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
437
458
|
protocol: StackitProtocol,
|
|
438
459
|
retry: Retry.Retry,
|
|
460
|
+
telemetry: TELEMETRY,
|
|
461
|
+
span: "DeleteAccessKey",
|
|
439
462
|
}));
|
|
440
463
|
|
|
441
464
|
export type DeleteBucketError = NotFound | UnprocessableEntity | StackitOpError;
|
|
@@ -451,6 +474,8 @@ export const deleteBucket: API.OperationMethod<
|
|
|
451
474
|
errors: [NotFound, UnprocessableEntity, UnknownStackitError],
|
|
452
475
|
protocol: StackitProtocol,
|
|
453
476
|
retry: Retry.Retry,
|
|
477
|
+
telemetry: TELEMETRY,
|
|
478
|
+
span: "DeleteBucket",
|
|
454
479
|
}));
|
|
455
480
|
|
|
456
481
|
export type DeleteComplianceLockError = NotFound | Conflict | StackitOpError;
|
|
@@ -466,6 +491,8 @@ export const deleteComplianceLock: API.OperationMethod<
|
|
|
466
491
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
467
492
|
protocol: StackitProtocol,
|
|
468
493
|
retry: Retry.Retry,
|
|
494
|
+
telemetry: TELEMETRY,
|
|
495
|
+
span: "DeleteComplianceLock",
|
|
469
496
|
}));
|
|
470
497
|
|
|
471
498
|
export type DeleteCredentialsGroupError = NotFound | UnprocessableEntity | StackitOpError;
|
|
@@ -481,6 +508,8 @@ export const deleteCredentialsGroup: API.OperationMethod<
|
|
|
481
508
|
errors: [NotFound, UnprocessableEntity, UnknownStackitError],
|
|
482
509
|
protocol: StackitProtocol,
|
|
483
510
|
retry: Retry.Retry,
|
|
511
|
+
telemetry: TELEMETRY,
|
|
512
|
+
span: "DeleteCredentialsGroup",
|
|
484
513
|
}));
|
|
485
514
|
|
|
486
515
|
export type DeleteDefaultRetentionError = NotFound | Conflict | StackitOpError;
|
|
@@ -496,6 +525,8 @@ export const deleteDefaultRetention: API.OperationMethod<
|
|
|
496
525
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
497
526
|
protocol: StackitProtocol,
|
|
498
527
|
retry: Retry.Retry,
|
|
528
|
+
telemetry: TELEMETRY,
|
|
529
|
+
span: "DeleteDefaultRetention",
|
|
499
530
|
}));
|
|
500
531
|
|
|
501
532
|
export type DisableServiceError =
|
|
@@ -517,6 +548,8 @@ export const disableService: API.OperationMethod<
|
|
|
517
548
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
518
549
|
protocol: StackitProtocol,
|
|
519
550
|
retry: Retry.Retry,
|
|
551
|
+
telemetry: TELEMETRY,
|
|
552
|
+
span: "DisableService",
|
|
520
553
|
}));
|
|
521
554
|
|
|
522
555
|
export type EnableServiceError = Forbidden | Conflict | UnprocessableEntity | StackitOpError;
|
|
@@ -532,6 +565,8 @@ export const enableService: API.OperationMethod<
|
|
|
532
565
|
errors: [Forbidden, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
533
566
|
protocol: StackitProtocol,
|
|
534
567
|
retry: Retry.Retry,
|
|
568
|
+
telemetry: TELEMETRY,
|
|
569
|
+
span: "EnableService",
|
|
535
570
|
}));
|
|
536
571
|
|
|
537
572
|
export type GetBucketError = Forbidden | NotFound | UnprocessableEntity | StackitOpError;
|
|
@@ -547,6 +582,8 @@ export const getBucket: API.OperationMethod<
|
|
|
547
582
|
errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
548
583
|
protocol: StackitProtocol,
|
|
549
584
|
retry: Retry.Retry,
|
|
585
|
+
telemetry: TELEMETRY,
|
|
586
|
+
span: "GetBucket",
|
|
550
587
|
}));
|
|
551
588
|
|
|
552
589
|
export type GetComplianceLockError = NotFound | StackitOpError;
|
|
@@ -562,6 +599,8 @@ export const getComplianceLock: API.OperationMethod<
|
|
|
562
599
|
errors: [NotFound, UnknownStackitError],
|
|
563
600
|
protocol: StackitProtocol,
|
|
564
601
|
retry: Retry.Retry,
|
|
602
|
+
telemetry: TELEMETRY,
|
|
603
|
+
span: "GetComplianceLock",
|
|
565
604
|
}));
|
|
566
605
|
|
|
567
606
|
export type GetCredentialsGroupError = NotFound | UnprocessableEntity | StackitOpError;
|
|
@@ -577,6 +616,8 @@ export const getCredentialsGroup: API.OperationMethod<
|
|
|
577
616
|
errors: [NotFound, UnprocessableEntity, UnknownStackitError],
|
|
578
617
|
protocol: StackitProtocol,
|
|
579
618
|
retry: Retry.Retry,
|
|
619
|
+
telemetry: TELEMETRY,
|
|
620
|
+
span: "GetCredentialsGroup",
|
|
580
621
|
}));
|
|
581
622
|
|
|
582
623
|
export type GetDefaultRetentionError = NotFound | Conflict | StackitOpError;
|
|
@@ -592,6 +633,8 @@ export const getDefaultRetention: API.OperationMethod<
|
|
|
592
633
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
593
634
|
protocol: StackitProtocol,
|
|
594
635
|
retry: Retry.Retry,
|
|
636
|
+
telemetry: TELEMETRY,
|
|
637
|
+
span: "GetDefaultRetention",
|
|
595
638
|
}));
|
|
596
639
|
|
|
597
640
|
export type GetServiceStatusError = Forbidden | NotFound | UnprocessableEntity | StackitOpError;
|
|
@@ -607,6 +650,8 @@ export const getServiceStatus: API.OperationMethod<
|
|
|
607
650
|
errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
608
651
|
protocol: StackitProtocol,
|
|
609
652
|
retry: Retry.Retry,
|
|
653
|
+
telemetry: TELEMETRY,
|
|
654
|
+
span: "GetServiceStatus",
|
|
610
655
|
}));
|
|
611
656
|
|
|
612
657
|
export type ListAccessKeysError = Forbidden | NotFound | UnprocessableEntity | StackitOpError;
|
|
@@ -622,6 +667,8 @@ export const listAccessKeys: API.OperationMethod<
|
|
|
622
667
|
errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
623
668
|
protocol: StackitProtocol,
|
|
624
669
|
retry: Retry.Retry,
|
|
670
|
+
telemetry: TELEMETRY,
|
|
671
|
+
span: "ListAccessKeys",
|
|
625
672
|
}));
|
|
626
673
|
|
|
627
674
|
export type ListBucketsError = Forbidden | NotFound | UnprocessableEntity | StackitOpError;
|
|
@@ -637,6 +684,8 @@ export const listBuckets: API.OperationMethod<
|
|
|
637
684
|
errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
638
685
|
protocol: StackitProtocol,
|
|
639
686
|
retry: Retry.Retry,
|
|
687
|
+
telemetry: TELEMETRY,
|
|
688
|
+
span: "ListBuckets",
|
|
640
689
|
}));
|
|
641
690
|
|
|
642
691
|
export type ListCredentialsGroupsError = NotFound | UnprocessableEntity | StackitOpError;
|
|
@@ -652,6 +701,8 @@ export const listCredentialsGroups: API.OperationMethod<
|
|
|
652
701
|
errors: [NotFound, UnprocessableEntity, UnknownStackitError],
|
|
653
702
|
protocol: StackitProtocol,
|
|
654
703
|
retry: Retry.Retry,
|
|
704
|
+
telemetry: TELEMETRY,
|
|
705
|
+
span: "ListCredentialsGroups",
|
|
655
706
|
}));
|
|
656
707
|
|
|
657
708
|
export type SetDefaultRetentionError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -667,6 +718,8 @@ export const setDefaultRetention: API.OperationMethod<
|
|
|
667
718
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
668
719
|
protocol: StackitProtocol,
|
|
669
720
|
retry: Retry.Retry,
|
|
721
|
+
telemetry: TELEMETRY,
|
|
722
|
+
span: "SetDefaultRetention",
|
|
670
723
|
}));
|
|
671
724
|
|
|
672
725
|
export type UpdateServiceError = Forbidden | NotFound | UnprocessableEntity | StackitOpError;
|
|
@@ -682,6 +735,8 @@ export const updateService: API.OperationMethod<
|
|
|
682
735
|
errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
683
736
|
protocol: StackitProtocol,
|
|
684
737
|
retry: Retry.Retry,
|
|
738
|
+
telemetry: TELEMETRY,
|
|
739
|
+
span: "UpdateService",
|
|
685
740
|
}));
|
|
686
741
|
|
|
687
742
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|