@distilled.cloud/stackit 1.0.0-rc.20 → 1.0.0-rc.22
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/README.md +13 -2
- package/lib/.lazy.json +1 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +17 -3
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -1
- package/lib/errors.d.ts +8 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts +9 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +33 -12
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/alb.d.ts +8 -0
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +26 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +8 -0
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +31 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +13 -0
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +23 -0
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +23 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +39 -1
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +31 -30
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +6 -0
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +19 -0
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +16 -0
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -40
- package/lib/services/dns.js.map +1 -1
- package/lib/services/iaas.d.ts +17 -0
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +181 -180
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +19 -0
- package/lib/services/identity.d.ts.map +1 -1
- package/lib/services/identity.js +1 -1
- package/lib/services/identity.js.map +1 -1
- package/lib/services/index.d.ts +0 -10
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +0 -10
- package/lib/services/kms.d.ts +16 -0
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +41 -40
- package/lib/services/kms.js.map +1 -1
- package/lib/services/load_balancer.d.ts +8 -0
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +27 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +14 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +36 -35
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +6 -0
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -34
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +14 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -36
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +20 -0
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +13 -0
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +19 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +42 -41
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +36 -0
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +38 -37
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +34 -8
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +159 -158
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +14 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +37 -36
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +22 -0
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +31 -30
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +37 -0
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +48 -47
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +14 -1
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +38 -37
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +37 -0
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +24 -0
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +36 -35
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +12 -0
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/scf.d.ts +13 -0
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +40 -39
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -0
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +42 -41
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +6 -0
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -28
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +6 -0
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +28 -0
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +30 -29
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +14 -0
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +33 -0
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -46
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +8 -3
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -25
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +34 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +46 -45
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +26 -1
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +26 -25
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +12 -0
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +35 -34
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +49 -3
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +33 -31
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +15 -0
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +14 -1
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +37 -36
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +43 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +43 -42
- package/lib/services/vpn.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +1 -1
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +1 -1
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mariadb.js +1 -1
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +1 -1
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +1 -1
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +1 -1
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +1 -1
- package/lib/services.lazy/valkey.js +1 -1
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/{services → unstable-services}/dremio.d.ts +19 -4
- package/lib/unstable-services/dremio.d.ts.map +1 -0
- package/lib/unstable-services/dremio.js +2 -0
- package/lib/unstable-services/dremio.js.map +1 -0
- package/lib/{services → unstable-services}/edge.d.ts +13 -1
- package/lib/unstable-services/edge.d.ts.map +1 -0
- package/lib/unstable-services/edge.js +29 -0
- package/lib/unstable-services/edge.js.map +1 -0
- package/lib/unstable-services/functions.d.ts.map +1 -0
- package/lib/unstable-services/functions.js +28 -0
- package/lib/unstable-services/functions.js.map +1 -0
- package/lib/{services → unstable-services}/git.d.ts +63 -2
- package/lib/unstable-services/git.d.ts.map +1 -0
- package/lib/unstable-services/git.js +44 -0
- package/lib/unstable-services/git.js.map +1 -0
- package/lib/unstable-services/index.d.ts +11 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +10 -0
- package/lib/{services → unstable-services}/intake.d.ts +8 -2
- package/lib/unstable-services/intake.d.ts.map +1 -0
- package/lib/unstable-services/intake.js +31 -0
- package/lib/unstable-services/intake.js.map +1 -0
- package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
- package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
- package/lib/unstable-services/lb_ip_lists.js +2 -0
- package/lib/unstable-services/lb_ip_lists.js.map +1 -0
- package/lib/{services → unstable-services}/mailout.d.ts +95 -126
- package/lib/unstable-services/mailout.d.ts.map +1 -0
- package/lib/unstable-services/mailout.js +30 -0
- package/lib/unstable-services/mailout.js.map +1 -0
- package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
- package/lib/unstable-services/pubsub.d.ts.map +1 -0
- package/lib/unstable-services/pubsub.js +39 -0
- package/lib/unstable-services/pubsub.js.map +1 -0
- package/lib/{services → unstable-services}/sca.d.ts +73 -23
- package/lib/unstable-services/sca.d.ts.map +1 -0
- package/lib/unstable-services/sca.js +41 -0
- package/lib/unstable-services/sca.js.map +1 -0
- package/lib/{services → unstable-services}/workflows.d.ts +29 -1
- package/lib/unstable-services/workflows.d.ts.map +1 -0
- package/lib/unstable-services/workflows.js +30 -0
- package/lib/unstable-services/workflows.js.map +1 -0
- package/lib/unstable-services.lazy/dremio.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
- package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
- package/lib/unstable-services.lazy/mailout.js +4 -0
- package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
- package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
- package/package.json +12 -6
- package/src/credentials.ts +44 -7
- package/src/errors.ts +10 -1
- package/src/index.ts +9 -6
- package/src/protocol.ts +108 -127
- package/src/services/alb.ts +35 -14
- package/src/services/alb_waf.ts +41 -17
- package/src/services/authorization.ts +121 -75
- package/src/services/automation.ts +151 -76
- package/src/services/cdn.ts +284 -187
- package/src/services/certificates.ts +17 -6
- package/src/services/cost.ts +75 -17
- package/src/services/dns.ts +219 -149
- package/src/services/iaas.ts +888 -708
- package/src/services/identity.ts +109 -51
- package/src/services/index.ts +0 -10
- package/src/services/kms.ts +185 -118
- package/src/services/load_balancer.ts +35 -14
- package/src/services/logme.ts +181 -123
- package/src/services/logs.ts +43 -19
- package/src/services/mariadb.ts +179 -121
- package/src/services/model_experiments.ts +122 -64
- package/src/services/model_serving.ts +102 -58
- package/src/services/mongodb_flex.ts +196 -131
- package/src/services/object_storage.ts +229 -106
- package/src/services/observability.ts +880 -709
- package/src/services/opensearch.ts +182 -124
- package/src/services/pim.ts +166 -104
- package/src/services/postgres_flex.ts +291 -170
- package/src/services/rabbitmq.ts +188 -130
- package/src/services/registry.ts +146 -40
- package/src/services/resource_manager.ts +180 -110
- package/src/services/run_command.ts +73 -37
- package/src/services/scf.ts +178 -119
- package/src/services/secrets_manager.ts +198 -129
- package/src/services/server_backup.ts +39 -17
- package/src/services/server_update.ts +31 -13
- package/src/services/service_account.ts +180 -85
- package/src/services/service_enablement.ts +64 -28
- package/src/services/sfs.ts +265 -163
- package/src/services/ske.ts +39 -20
- package/src/services/sqlserverflex.ts +290 -175
- package/src/services/stackit_marketplace.ts +138 -70
- package/src/services/telemetry_link.ts +151 -100
- package/src/services/telemetry_router.ts +241 -109
- package/src/services/ufw.ts +97 -50
- package/src/services/valkey.ts +179 -121
- package/src/services/vpn.ts +305 -194
- package/src/{services → unstable-services}/dremio.ts +113 -74
- package/src/{services → unstable-services}/edge.ts +113 -72
- package/src/{services → unstable-services}/functions.ts +31 -16
- package/src/{services → unstable-services}/git.ts +353 -137
- package/src/unstable-services/index.ts +11 -0
- package/src/{services → unstable-services}/intake.ts +41 -20
- package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
- package/src/{services → unstable-services}/mailout.ts +290 -381
- package/src/{services → unstable-services}/pubsub.ts +47 -19
- package/src/{services → unstable-services}/sca.ts +349 -172
- package/src/{services → unstable-services}/workflows.ts +149 -76
- package/lib/index.lazy.js +0 -7
- package/lib/index.lazy.js.map +0 -1
- package/lib/services/dremio.d.ts.map +0 -1
- package/lib/services/dremio.js +0 -2
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.d.ts.map +0 -1
- package/lib/services/edge.js +0 -29
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.d.ts.map +0 -1
- package/lib/services/functions.js +0 -28
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.d.ts.map +0 -1
- package/lib/services/git.js +0 -41
- package/lib/services/git.js.map +0 -1
- package/lib/services/intake.d.ts.map +0 -1
- package/lib/services/intake.js +0 -31
- package/lib/services/intake.js.map +0 -1
- package/lib/services/lb_ip_lists.d.ts.map +0 -1
- package/lib/services/lb_ip_lists.js +0 -2
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/mailout.d.ts.map +0 -1
- package/lib/services/mailout.js +0 -33
- package/lib/services/mailout.js.map +0 -1
- package/lib/services/pubsub.d.ts.map +0 -1
- package/lib/services/pubsub.js +0 -39
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/sca.d.ts.map +0 -1
- package/lib/services/sca.js +0 -35
- package/lib/services/sca.js.map +0 -1
- package/lib/services/workflows.d.ts.map +0 -1
- package/lib/services/workflows.js +0 -29
- package/lib/services/workflows.js.map +0 -1
- package/lib/services.lazy/dremio.js +0 -1
- package/lib/services.lazy/lb_ip_lists.js +0 -1
- package/lib/services.lazy/mailout.js +0 -4
- /package/lib/{services → unstable-services}/functions.d.ts +0 -0
|
@@ -4,7 +4,7 @@ import * as C from "@distilled.cloud/core/category";
|
|
|
4
4
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
6
|
import type * as Redacted from "effect/Redacted";
|
|
7
|
-
import {
|
|
7
|
+
import { StackitServiceErrors } from "../errors.ts";
|
|
8
8
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
9
9
|
import * as Retry from "../retry.ts";
|
|
10
10
|
import * as T from "../traits.ts";
|
|
@@ -31,45 +31,84 @@ export class BadRequest
|
|
|
31
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
32
32
|
code: S.Number,
|
|
33
33
|
message: S.String,
|
|
34
|
+
body: /*@__PURE__*/ S.optional(
|
|
35
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
|
|
36
|
+
),
|
|
37
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
34
38
|
}).pipe(C.withBadRequestError),
|
|
35
39
|
[{ status: 400 }],
|
|
36
|
-
)
|
|
40
|
+
)
|
|
41
|
+
{
|
|
42
|
+
declare readonly body?: ErrorMessage | string;
|
|
43
|
+
}
|
|
37
44
|
|
|
38
45
|
export class Conflict
|
|
39
46
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
40
47
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
41
48
|
code: S.Number,
|
|
42
49
|
message: S.String,
|
|
50
|
+
body: /*@__PURE__*/ S.optional(
|
|
51
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
|
|
52
|
+
),
|
|
53
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
43
54
|
}).pipe(C.withConflictError),
|
|
44
55
|
[{ status: 409 }],
|
|
45
|
-
)
|
|
56
|
+
)
|
|
57
|
+
{
|
|
58
|
+
declare readonly body?: ErrorMessage | string;
|
|
59
|
+
}
|
|
46
60
|
|
|
47
61
|
export class Forbidden
|
|
48
62
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
49
63
|
/*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
|
|
50
64
|
code: S.Number,
|
|
51
65
|
message: S.String,
|
|
66
|
+
body: /*@__PURE__*/ S.optional(
|
|
67
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
|
|
68
|
+
),
|
|
69
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
52
70
|
}).pipe(C.withAuthError),
|
|
53
71
|
[{ status: 403 }],
|
|
54
|
-
)
|
|
72
|
+
)
|
|
73
|
+
{
|
|
74
|
+
declare readonly body?: ErrorMessage | string;
|
|
75
|
+
}
|
|
55
76
|
|
|
56
77
|
export class NotFound
|
|
57
78
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
58
79
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
59
80
|
code: S.Number,
|
|
60
81
|
message: S.String,
|
|
82
|
+
body: /*@__PURE__*/ S.optional(
|
|
83
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
|
|
84
|
+
),
|
|
85
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
61
86
|
}).pipe(C.withBadRequestError),
|
|
62
87
|
[{ status: 404 }],
|
|
63
|
-
)
|
|
88
|
+
)
|
|
89
|
+
{
|
|
90
|
+
declare readonly body?: ErrorMessage | string;
|
|
91
|
+
}
|
|
64
92
|
|
|
65
93
|
export class UnprocessableEntity
|
|
66
94
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
67
95
|
/*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
|
|
68
96
|
code: S.Number,
|
|
69
97
|
message: S.String,
|
|
98
|
+
body: /*@__PURE__*/ S.optional(
|
|
99
|
+
/*@__PURE__*/ S.Union([
|
|
100
|
+
/*@__PURE__*/ S.suspend(() => __S(83, __c20, 3)),
|
|
101
|
+
/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)),
|
|
102
|
+
S.String,
|
|
103
|
+
]),
|
|
104
|
+
),
|
|
105
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
70
106
|
}).pipe(C.withBadRequestError),
|
|
71
107
|
[{ status: 422 }],
|
|
72
|
-
)
|
|
108
|
+
)
|
|
109
|
+
{
|
|
110
|
+
declare readonly body?: HTTPValidationError | ErrorMessage | string;
|
|
111
|
+
}
|
|
73
112
|
|
|
74
113
|
export interface CreateAccessKeyRequest {
|
|
75
114
|
/** STACKIT project ID */
|
|
@@ -129,6 +168,8 @@ export interface CreateCredentialsGroupRequest {
|
|
|
129
168
|
region: string;
|
|
130
169
|
/** Name of the group holding credentials */
|
|
131
170
|
displayName: string;
|
|
171
|
+
/** Trust policy for cross-account access */
|
|
172
|
+
trustPolicy?: unknown | undefined;
|
|
132
173
|
}
|
|
133
174
|
export interface CredentialsGroup {
|
|
134
175
|
/** The ID of the credentials group */
|
|
@@ -371,6 +412,25 @@ export interface UpdateServiceRequest {
|
|
|
371
412
|
/** Project labels */
|
|
372
413
|
labels: UpdateServiceRequestLabelsMap;
|
|
373
414
|
}
|
|
415
|
+
export interface DetailedError {
|
|
416
|
+
key: string;
|
|
417
|
+
msg: string;
|
|
418
|
+
}
|
|
419
|
+
export type ErrorMessageDetailList = Array<DetailedError>;
|
|
420
|
+
export interface ErrorMessage {
|
|
421
|
+
detail: ErrorMessageDetailList;
|
|
422
|
+
}
|
|
423
|
+
export type ValidationErrorLocItem = string | number;
|
|
424
|
+
export type ValidationErrorLocList = Array<ValidationErrorLocItem>;
|
|
425
|
+
export interface ValidationError {
|
|
426
|
+
loc: ValidationErrorLocList;
|
|
427
|
+
msg: string;
|
|
428
|
+
type: string;
|
|
429
|
+
}
|
|
430
|
+
export type HTTPValidationErrorDetailList = Array<ValidationError>;
|
|
431
|
+
export interface HTTPValidationError {
|
|
432
|
+
detail?: HTTPValidationErrorDetailList | undefined;
|
|
433
|
+
}
|
|
374
434
|
export type CreateAccessKeyError = Forbidden | NotFound | UnprocessableEntity | StackitOpError;
|
|
375
435
|
/** Create Access Key Create an access key for the given project. */
|
|
376
436
|
export const createAccessKey: API.OperationMethod<
|
|
@@ -379,9 +439,10 @@ export const createAccessKey: API.OperationMethod<
|
|
|
379
439
|
CreateAccessKeyError,
|
|
380
440
|
StackitOpContext
|
|
381
441
|
> = /*@__PURE__*/ API.make(() => ({
|
|
382
|
-
input: __S(
|
|
383
|
-
output: __S(
|
|
384
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
442
|
+
input: __S(84, __c21, 0) as any as S.Schema<CreateAccessKeyRequest>,
|
|
443
|
+
output: __S(85, __c21, 1) as any as S.Schema<CreateAccessKeyResponse>,
|
|
444
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
445
|
+
serviceErrors: StackitServiceErrors,
|
|
385
446
|
protocol: StackitProtocol,
|
|
386
447
|
retry: Retry.Retry,
|
|
387
448
|
telemetry: TELEMETRY,
|
|
@@ -396,9 +457,10 @@ export const createBucket: API.OperationMethod<
|
|
|
396
457
|
CreateBucketError,
|
|
397
458
|
StackitOpContext
|
|
398
459
|
> = /*@__PURE__*/ API.make(() => ({
|
|
399
|
-
input: __S(
|
|
400
|
-
output: __S(
|
|
401
|
-
errors: [NotFound, Conflict, UnprocessableEntity
|
|
460
|
+
input: __S(88, __c22, 0) as any as S.Schema<CreateBucketRequest>,
|
|
461
|
+
output: __S(92, __c23, 0) as any as S.Schema<CreateBucketResponse>,
|
|
462
|
+
errors: [NotFound, Conflict, UnprocessableEntity],
|
|
463
|
+
serviceErrors: StackitServiceErrors,
|
|
402
464
|
protocol: StackitProtocol,
|
|
403
465
|
retry: Retry.Retry,
|
|
404
466
|
telemetry: TELEMETRY,
|
|
@@ -413,9 +475,10 @@ export const createComplianceLock: API.OperationMethod<
|
|
|
413
475
|
CreateComplianceLockError,
|
|
414
476
|
StackitOpContext
|
|
415
477
|
> = /*@__PURE__*/ API.make(() => ({
|
|
416
|
-
input: __S(
|
|
417
|
-
output: __S(
|
|
418
|
-
errors: [NotFound, Conflict
|
|
478
|
+
input: __S(96, __c24, 0) as any as S.Schema<CreateComplianceLockRequest>,
|
|
479
|
+
output: __S(100, __c25, 0) as any as S.Schema<ComplianceLockResponse>,
|
|
480
|
+
errors: [NotFound, Conflict],
|
|
481
|
+
serviceErrors: StackitServiceErrors,
|
|
419
482
|
protocol: StackitProtocol,
|
|
420
483
|
retry: Retry.Retry,
|
|
421
484
|
telemetry: TELEMETRY,
|
|
@@ -435,9 +498,10 @@ export const createCredentialsGroup: API.OperationMethod<
|
|
|
435
498
|
CreateCredentialsGroupError,
|
|
436
499
|
StackitOpContext
|
|
437
500
|
> = /*@__PURE__*/ API.make(() => ({
|
|
438
|
-
input: __S(
|
|
439
|
-
output: __S(
|
|
440
|
-
errors: [Forbidden, NotFound, Conflict, UnprocessableEntity
|
|
501
|
+
input: __S(104, __c26, 0) as any as S.Schema<CreateCredentialsGroupRequest>,
|
|
502
|
+
output: __S(105, __c26, 1) as any as S.Schema<CreateCredentialsGroupResponse>,
|
|
503
|
+
errors: [Forbidden, NotFound, Conflict, UnprocessableEntity],
|
|
504
|
+
serviceErrors: StackitServiceErrors,
|
|
441
505
|
protocol: StackitProtocol,
|
|
442
506
|
retry: Retry.Retry,
|
|
443
507
|
telemetry: TELEMETRY,
|
|
@@ -452,9 +516,10 @@ export const deleteAccessKey: API.OperationMethod<
|
|
|
452
516
|
DeleteAccessKeyError,
|
|
453
517
|
StackitOpContext
|
|
454
518
|
> = /*@__PURE__*/ API.make(() => ({
|
|
455
|
-
input: __S(
|
|
456
|
-
output: __S(
|
|
457
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
519
|
+
input: __S(112, __c28, 0) as any as S.Schema<DeleteAccessKeyRequest>,
|
|
520
|
+
output: __S(113, __c28, 1) as any as S.Schema<DeleteAccessKeyResponse>,
|
|
521
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
522
|
+
serviceErrors: StackitServiceErrors,
|
|
458
523
|
protocol: StackitProtocol,
|
|
459
524
|
retry: Retry.Retry,
|
|
460
525
|
telemetry: TELEMETRY,
|
|
@@ -469,9 +534,10 @@ export const deleteBucket: API.OperationMethod<
|
|
|
469
534
|
DeleteBucketError,
|
|
470
535
|
StackitOpContext
|
|
471
536
|
> = /*@__PURE__*/ API.make(() => ({
|
|
472
|
-
input: __S(
|
|
473
|
-
output: __S(
|
|
474
|
-
errors: [NotFound, UnprocessableEntity
|
|
537
|
+
input: __S(4, __c1, 0) as any as S.Schema<DeleteBucketRequest>,
|
|
538
|
+
output: __S(92, __c23, 0) as any as S.Schema<DeleteBucketResponse>,
|
|
539
|
+
errors: [NotFound, UnprocessableEntity],
|
|
540
|
+
serviceErrors: StackitServiceErrors,
|
|
475
541
|
protocol: StackitProtocol,
|
|
476
542
|
retry: Retry.Retry,
|
|
477
543
|
telemetry: TELEMETRY,
|
|
@@ -486,9 +552,10 @@ export const deleteComplianceLock: API.OperationMethod<
|
|
|
486
552
|
DeleteComplianceLockError,
|
|
487
553
|
StackitOpContext
|
|
488
554
|
> = /*@__PURE__*/ API.make(() => ({
|
|
489
|
-
input: __S(
|
|
490
|
-
output: __S(
|
|
491
|
-
errors: [NotFound, Conflict
|
|
555
|
+
input: __S(8, __c2, 0) as any as S.Schema<DeleteComplianceLockRequest>,
|
|
556
|
+
output: __S(100, __c25, 0) as any as S.Schema<ComplianceLockResponse>,
|
|
557
|
+
errors: [NotFound, Conflict],
|
|
558
|
+
serviceErrors: StackitServiceErrors,
|
|
492
559
|
protocol: StackitProtocol,
|
|
493
560
|
retry: Retry.Retry,
|
|
494
561
|
telemetry: TELEMETRY,
|
|
@@ -503,9 +570,10 @@ export const deleteCredentialsGroup: API.OperationMethod<
|
|
|
503
570
|
DeleteCredentialsGroupError,
|
|
504
571
|
StackitOpContext
|
|
505
572
|
> = /*@__PURE__*/ API.make(() => ({
|
|
506
|
-
input: __S(
|
|
507
|
-
output: __S(
|
|
508
|
-
errors: [NotFound, UnprocessableEntity
|
|
573
|
+
input: __S(12, __c3, 0) as any as S.Schema<DeleteCredentialsGroupRequest>,
|
|
574
|
+
output: __S(13, __c3, 1) as any as S.Schema<DeleteCredentialsGroupResponse>,
|
|
575
|
+
errors: [NotFound, UnprocessableEntity],
|
|
576
|
+
serviceErrors: StackitServiceErrors,
|
|
509
577
|
protocol: StackitProtocol,
|
|
510
578
|
retry: Retry.Retry,
|
|
511
579
|
telemetry: TELEMETRY,
|
|
@@ -520,9 +588,10 @@ export const deleteDefaultRetention: API.OperationMethod<
|
|
|
520
588
|
DeleteDefaultRetentionError,
|
|
521
589
|
StackitOpContext
|
|
522
590
|
> = /*@__PURE__*/ API.make(() => ({
|
|
523
|
-
input: __S(
|
|
524
|
-
output: __S(
|
|
525
|
-
errors: [NotFound, Conflict
|
|
591
|
+
input: __S(16, __c4, 0) as any as S.Schema<DeleteDefaultRetentionRequest>,
|
|
592
|
+
output: __S(92, __c23, 0) as any as S.Schema<DeleteDefaultRetentionResponse>,
|
|
593
|
+
errors: [NotFound, Conflict],
|
|
594
|
+
serviceErrors: StackitServiceErrors,
|
|
526
595
|
protocol: StackitProtocol,
|
|
527
596
|
retry: Retry.Retry,
|
|
528
597
|
telemetry: TELEMETRY,
|
|
@@ -543,9 +612,10 @@ export const disableService: API.OperationMethod<
|
|
|
543
612
|
DisableServiceError,
|
|
544
613
|
StackitOpContext
|
|
545
614
|
> = /*@__PURE__*/ API.make(() => ({
|
|
546
|
-
input: __S(
|
|
547
|
-
output: __S(
|
|
548
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity
|
|
615
|
+
input: __S(20, __c5, 0) as any as S.Schema<DisableServiceRequest>,
|
|
616
|
+
output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
|
|
617
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity],
|
|
618
|
+
serviceErrors: StackitServiceErrors,
|
|
549
619
|
protocol: StackitProtocol,
|
|
550
620
|
retry: Retry.Retry,
|
|
551
621
|
telemetry: TELEMETRY,
|
|
@@ -560,9 +630,10 @@ export const enableService: API.OperationMethod<
|
|
|
560
630
|
EnableServiceError,
|
|
561
631
|
StackitOpContext
|
|
562
632
|
> = /*@__PURE__*/ API.make(() => ({
|
|
563
|
-
input: __S(
|
|
564
|
-
output: __S(
|
|
565
|
-
errors: [Forbidden, Conflict, UnprocessableEntity
|
|
633
|
+
input: __S(28, __c7, 0) as any as S.Schema<EnableServiceRequest>,
|
|
634
|
+
output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
|
|
635
|
+
errors: [Forbidden, Conflict, UnprocessableEntity],
|
|
636
|
+
serviceErrors: StackitServiceErrors,
|
|
566
637
|
protocol: StackitProtocol,
|
|
567
638
|
retry: Retry.Retry,
|
|
568
639
|
telemetry: TELEMETRY,
|
|
@@ -577,9 +648,10 @@ export const getBucket: API.OperationMethod<
|
|
|
577
648
|
GetBucketError,
|
|
578
649
|
StackitOpContext
|
|
579
650
|
> = /*@__PURE__*/ API.make(() => ({
|
|
580
|
-
input: __S(
|
|
581
|
-
output: __S(
|
|
582
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
651
|
+
input: __S(32, __c8, 0) as any as S.Schema<GetBucketRequest>,
|
|
652
|
+
output: __S(33, __c8, 1) as any as S.Schema<GetBucketResponse>,
|
|
653
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
654
|
+
serviceErrors: StackitServiceErrors,
|
|
583
655
|
protocol: StackitProtocol,
|
|
584
656
|
retry: Retry.Retry,
|
|
585
657
|
telemetry: TELEMETRY,
|
|
@@ -594,9 +666,10 @@ export const getComplianceLock: API.OperationMethod<
|
|
|
594
666
|
GetComplianceLockError,
|
|
595
667
|
StackitOpContext
|
|
596
668
|
> = /*@__PURE__*/ API.make(() => ({
|
|
597
|
-
input: __S(
|
|
598
|
-
output: __S(
|
|
599
|
-
errors: [NotFound
|
|
669
|
+
input: __S(40, __c10, 0) as any as S.Schema<GetComplianceLockRequest>,
|
|
670
|
+
output: __S(100, __c25, 0) as any as S.Schema<ComplianceLockResponse>,
|
|
671
|
+
errors: [NotFound],
|
|
672
|
+
serviceErrors: StackitServiceErrors,
|
|
600
673
|
protocol: StackitProtocol,
|
|
601
674
|
retry: Retry.Retry,
|
|
602
675
|
telemetry: TELEMETRY,
|
|
@@ -611,9 +684,10 @@ export const getCredentialsGroup: API.OperationMethod<
|
|
|
611
684
|
GetCredentialsGroupError,
|
|
612
685
|
StackitOpContext
|
|
613
686
|
> = /*@__PURE__*/ API.make(() => ({
|
|
614
|
-
input: __S(
|
|
615
|
-
output: __S(
|
|
616
|
-
errors: [NotFound, UnprocessableEntity
|
|
687
|
+
input: __S(44, __c11, 0) as any as S.Schema<GetCredentialsGroupRequest>,
|
|
688
|
+
output: __S(46, __c11, 2) as any as S.Schema<GetCredentialsGroupResponse>,
|
|
689
|
+
errors: [NotFound, UnprocessableEntity],
|
|
690
|
+
serviceErrors: StackitServiceErrors,
|
|
617
691
|
protocol: StackitProtocol,
|
|
618
692
|
retry: Retry.Retry,
|
|
619
693
|
telemetry: TELEMETRY,
|
|
@@ -628,9 +702,10 @@ export const getDefaultRetention: API.OperationMethod<
|
|
|
628
702
|
GetDefaultRetentionError,
|
|
629
703
|
StackitOpContext
|
|
630
704
|
> = /*@__PURE__*/ API.make(() => ({
|
|
631
|
-
input: __S(
|
|
632
|
-
output: __S(
|
|
633
|
-
errors: [NotFound, Conflict
|
|
705
|
+
input: __S(48, __c12, 0) as any as S.Schema<GetDefaultRetentionRequest>,
|
|
706
|
+
output: __S(52, __c13, 0) as any as S.Schema<DefaultRetentionResponse>,
|
|
707
|
+
errors: [NotFound, Conflict],
|
|
708
|
+
serviceErrors: StackitServiceErrors,
|
|
634
709
|
protocol: StackitProtocol,
|
|
635
710
|
retry: Retry.Retry,
|
|
636
711
|
telemetry: TELEMETRY,
|
|
@@ -645,9 +720,10 @@ export const getServiceStatus: API.OperationMethod<
|
|
|
645
720
|
GetServiceStatusError,
|
|
646
721
|
StackitOpContext
|
|
647
722
|
> = /*@__PURE__*/ API.make(() => ({
|
|
648
|
-
input: __S(
|
|
649
|
-
output: __S(
|
|
650
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
723
|
+
input: __S(56, __c14, 0) as any as S.Schema<GetServiceStatusRequest>,
|
|
724
|
+
output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
|
|
725
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
726
|
+
serviceErrors: StackitServiceErrors,
|
|
651
727
|
protocol: StackitProtocol,
|
|
652
728
|
retry: Retry.Retry,
|
|
653
729
|
telemetry: TELEMETRY,
|
|
@@ -662,9 +738,10 @@ export const listAccessKeys: API.OperationMethod<
|
|
|
662
738
|
ListAccessKeysError,
|
|
663
739
|
StackitOpContext
|
|
664
740
|
> = /*@__PURE__*/ API.make(() => ({
|
|
665
|
-
input: __S(
|
|
666
|
-
output: __S(
|
|
667
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
741
|
+
input: __S(60, __c15, 0) as any as S.Schema<ListAccessKeysRequest>,
|
|
742
|
+
output: __S(63, __c15, 3) as any as S.Schema<ListAccessKeysResponse>,
|
|
743
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
744
|
+
serviceErrors: StackitServiceErrors,
|
|
668
745
|
protocol: StackitProtocol,
|
|
669
746
|
retry: Retry.Retry,
|
|
670
747
|
telemetry: TELEMETRY,
|
|
@@ -679,9 +756,10 @@ export const listBuckets: API.OperationMethod<
|
|
|
679
756
|
ListBucketsError,
|
|
680
757
|
StackitOpContext
|
|
681
758
|
> = /*@__PURE__*/ API.make(() => ({
|
|
682
|
-
input: __S(
|
|
683
|
-
output: __S(
|
|
684
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
759
|
+
input: __S(64, __c16, 0) as any as S.Schema<ListBucketsRequest>,
|
|
760
|
+
output: __S(66, __c16, 2) as any as S.Schema<ListBucketsResponse>,
|
|
761
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
762
|
+
serviceErrors: StackitServiceErrors,
|
|
685
763
|
protocol: StackitProtocol,
|
|
686
764
|
retry: Retry.Retry,
|
|
687
765
|
telemetry: TELEMETRY,
|
|
@@ -696,9 +774,10 @@ export const listCredentialsGroups: API.OperationMethod<
|
|
|
696
774
|
ListCredentialsGroupsError,
|
|
697
775
|
StackitOpContext
|
|
698
776
|
> = /*@__PURE__*/ API.make(() => ({
|
|
699
|
-
input: __S(
|
|
700
|
-
output: __S(
|
|
701
|
-
errors: [NotFound, UnprocessableEntity
|
|
777
|
+
input: __S(68, __c17, 0) as any as S.Schema<ListCredentialsGroupsRequest>,
|
|
778
|
+
output: __S(70, __c17, 2) as any as S.Schema<ListCredentialsGroupsResponse>,
|
|
779
|
+
errors: [NotFound, UnprocessableEntity],
|
|
780
|
+
serviceErrors: StackitServiceErrors,
|
|
702
781
|
protocol: StackitProtocol,
|
|
703
782
|
retry: Retry.Retry,
|
|
704
783
|
telemetry: TELEMETRY,
|
|
@@ -713,9 +792,10 @@ export const setDefaultRetention: API.OperationMethod<
|
|
|
713
792
|
SetDefaultRetentionError,
|
|
714
793
|
StackitOpContext
|
|
715
794
|
> = /*@__PURE__*/ API.make(() => ({
|
|
716
|
-
input: __S(
|
|
717
|
-
output: __S(
|
|
718
|
-
errors: [BadRequest, NotFound, Conflict
|
|
795
|
+
input: __S(72, __c18, 0) as any as S.Schema<SetDefaultRetentionRequest>,
|
|
796
|
+
output: __S(52, __c13, 0) as any as S.Schema<DefaultRetentionResponse>,
|
|
797
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
798
|
+
serviceErrors: StackitServiceErrors,
|
|
719
799
|
protocol: StackitProtocol,
|
|
720
800
|
retry: Retry.Retry,
|
|
721
801
|
telemetry: TELEMETRY,
|
|
@@ -730,9 +810,10 @@ export const updateService: API.OperationMethod<
|
|
|
730
810
|
UpdateServiceError,
|
|
731
811
|
StackitOpContext
|
|
732
812
|
> = /*@__PURE__*/ API.make(() => ({
|
|
733
|
-
input: __S(
|
|
734
|
-
output: __S(
|
|
735
|
-
errors: [Forbidden, NotFound, UnprocessableEntity
|
|
813
|
+
input: __S(76, __c19, 0) as any as S.Schema<UpdateServiceRequest>,
|
|
814
|
+
output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
|
|
815
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
816
|
+
serviceErrors: StackitServiceErrors,
|
|
736
817
|
protocol: StackitProtocol,
|
|
737
818
|
retry: Retry.Retry,
|
|
738
819
|
telemetry: TELEMETRY,
|
|
@@ -741,6 +822,25 @@ export const updateService: API.OperationMethod<
|
|
|
741
822
|
|
|
742
823
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
743
824
|
function __c0(j: number): any {
|
|
825
|
+
switch (j) {
|
|
826
|
+
case 0:
|
|
827
|
+
return S.suspend(() =>
|
|
828
|
+
S.Struct({
|
|
829
|
+
key: S.String,
|
|
830
|
+
msg: S.String,
|
|
831
|
+
}),
|
|
832
|
+
).annotate({ identifier: "DetailedError" });
|
|
833
|
+
case 1:
|
|
834
|
+
return S.Array(__S(0, __c0, 0));
|
|
835
|
+
case 2:
|
|
836
|
+
return S.suspend(() =>
|
|
837
|
+
S.Struct({
|
|
838
|
+
detail: __S(1, __c0, 1),
|
|
839
|
+
}),
|
|
840
|
+
).annotate({ identifier: "ErrorMessage" });
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
function __c1(j: number): any {
|
|
744
844
|
switch (j) {
|
|
745
845
|
case 0:
|
|
746
846
|
return S.suspend(() =>
|
|
@@ -759,7 +859,7 @@ function __c0(j: number): any {
|
|
|
759
859
|
).annotate({ identifier: "DeleteBucketRequest" });
|
|
760
860
|
}
|
|
761
861
|
}
|
|
762
|
-
function
|
|
862
|
+
function __c2(j: number): any {
|
|
763
863
|
switch (j) {
|
|
764
864
|
case 0:
|
|
765
865
|
return S.suspend(() =>
|
|
@@ -777,7 +877,7 @@ function __c1(j: number): any {
|
|
|
777
877
|
).annotate({ identifier: "DeleteComplianceLockRequest" });
|
|
778
878
|
}
|
|
779
879
|
}
|
|
780
|
-
function
|
|
880
|
+
function __c3(j: number): any {
|
|
781
881
|
switch (j) {
|
|
782
882
|
case 0:
|
|
783
883
|
return S.suspend(() =>
|
|
@@ -803,7 +903,7 @@ function __c2(j: number): any {
|
|
|
803
903
|
).annotate({ identifier: "DeleteCredentialsGroupResponse" });
|
|
804
904
|
}
|
|
805
905
|
}
|
|
806
|
-
function
|
|
906
|
+
function __c4(j: number): any {
|
|
807
907
|
switch (j) {
|
|
808
908
|
case 0:
|
|
809
909
|
return S.suspend(() =>
|
|
@@ -822,7 +922,7 @@ function __c3(j: number): any {
|
|
|
822
922
|
).annotate({ identifier: "DeleteDefaultRetentionRequest" });
|
|
823
923
|
}
|
|
824
924
|
}
|
|
825
|
-
function
|
|
925
|
+
function __c5(j: number): any {
|
|
826
926
|
switch (j) {
|
|
827
927
|
case 0:
|
|
828
928
|
return S.suspend(() =>
|
|
@@ -840,21 +940,21 @@ function __c4(j: number): any {
|
|
|
840
940
|
).annotate({ identifier: "DisableServiceRequest" });
|
|
841
941
|
}
|
|
842
942
|
}
|
|
843
|
-
function
|
|
943
|
+
function __c6(j: number): any {
|
|
844
944
|
switch (j) {
|
|
845
945
|
case 0:
|
|
846
946
|
return S.Record(S.String, S.String);
|
|
847
947
|
case 1:
|
|
848
948
|
return S.suspend(() =>
|
|
849
949
|
S.Struct({
|
|
850
|
-
labels: S.optional(__S(
|
|
950
|
+
labels: S.optional(__S(24, __c6, 0)),
|
|
851
951
|
project: S.String,
|
|
852
952
|
scope: S.String,
|
|
853
953
|
}),
|
|
854
954
|
).annotate({ identifier: "ProjectStatus" });
|
|
855
955
|
}
|
|
856
956
|
}
|
|
857
|
-
function
|
|
957
|
+
function __c7(j: number): any {
|
|
858
958
|
switch (j) {
|
|
859
959
|
case 0:
|
|
860
960
|
return S.suspend(() =>
|
|
@@ -872,7 +972,7 @@ function __c6(j: number): any {
|
|
|
872
972
|
).annotate({ identifier: "EnableServiceRequest" });
|
|
873
973
|
}
|
|
874
974
|
}
|
|
875
|
-
function
|
|
975
|
+
function __c8(j: number): any {
|
|
876
976
|
switch (j) {
|
|
877
977
|
case 0:
|
|
878
978
|
return S.suspend(() =>
|
|
@@ -892,13 +992,13 @@ function __c7(j: number): any {
|
|
|
892
992
|
case 1:
|
|
893
993
|
return S.suspend(() =>
|
|
894
994
|
S.Struct({
|
|
895
|
-
bucket: __S(
|
|
995
|
+
bucket: __S(36, __c9, 0),
|
|
896
996
|
project: S.String,
|
|
897
997
|
}),
|
|
898
998
|
).annotate({ identifier: "GetBucketResponse" });
|
|
899
999
|
}
|
|
900
1000
|
}
|
|
901
|
-
function
|
|
1001
|
+
function __c9(j: number): any {
|
|
902
1002
|
switch (j) {
|
|
903
1003
|
case 0:
|
|
904
1004
|
return S.suspend(() =>
|
|
@@ -912,7 +1012,7 @@ function __c8(j: number): any {
|
|
|
912
1012
|
).annotate({ identifier: "Bucket" });
|
|
913
1013
|
}
|
|
914
1014
|
}
|
|
915
|
-
function
|
|
1015
|
+
function __c10(j: number): any {
|
|
916
1016
|
switch (j) {
|
|
917
1017
|
case 0:
|
|
918
1018
|
return S.suspend(() =>
|
|
@@ -930,7 +1030,7 @@ function __c9(j: number): any {
|
|
|
930
1030
|
).annotate({ identifier: "GetComplianceLockRequest" });
|
|
931
1031
|
}
|
|
932
1032
|
}
|
|
933
|
-
function
|
|
1033
|
+
function __c11(j: number): any {
|
|
934
1034
|
switch (j) {
|
|
935
1035
|
case 0:
|
|
936
1036
|
return S.suspend(() =>
|
|
@@ -959,13 +1059,13 @@ function __c10(j: number): any {
|
|
|
959
1059
|
case 2:
|
|
960
1060
|
return S.suspend(() =>
|
|
961
1061
|
S.Struct({
|
|
962
|
-
credentialsGroup: __S(
|
|
1062
|
+
credentialsGroup: __S(45, __c11, 1),
|
|
963
1063
|
project: S.String,
|
|
964
1064
|
}),
|
|
965
1065
|
).annotate({ identifier: "GetCredentialsGroupResponse" });
|
|
966
1066
|
}
|
|
967
1067
|
}
|
|
968
|
-
function
|
|
1068
|
+
function __c12(j: number): any {
|
|
969
1069
|
switch (j) {
|
|
970
1070
|
case 0:
|
|
971
1071
|
return S.suspend(() =>
|
|
@@ -984,7 +1084,7 @@ function __c11(j: number): any {
|
|
|
984
1084
|
).annotate({ identifier: "GetDefaultRetentionRequest" });
|
|
985
1085
|
}
|
|
986
1086
|
}
|
|
987
|
-
function
|
|
1087
|
+
function __c13(j: number): any {
|
|
988
1088
|
switch (j) {
|
|
989
1089
|
case 0:
|
|
990
1090
|
return S.suspend(() =>
|
|
@@ -997,7 +1097,7 @@ function __c12(j: number): any {
|
|
|
997
1097
|
).annotate({ identifier: "DefaultRetentionResponse" });
|
|
998
1098
|
}
|
|
999
1099
|
}
|
|
1000
|
-
function
|
|
1100
|
+
function __c14(j: number): any {
|
|
1001
1101
|
switch (j) {
|
|
1002
1102
|
case 0:
|
|
1003
1103
|
return S.suspend(() =>
|
|
@@ -1015,7 +1115,7 @@ function __c13(j: number): any {
|
|
|
1015
1115
|
).annotate({ identifier: "GetServiceStatusRequest" });
|
|
1016
1116
|
}
|
|
1017
1117
|
}
|
|
1018
|
-
function
|
|
1118
|
+
function __c15(j: number): any {
|
|
1019
1119
|
switch (j) {
|
|
1020
1120
|
case 0:
|
|
1021
1121
|
return S.suspend(() =>
|
|
@@ -1041,17 +1141,17 @@ function __c14(j: number): any {
|
|
|
1041
1141
|
}),
|
|
1042
1142
|
).annotate({ identifier: "AccessKey" });
|
|
1043
1143
|
case 2:
|
|
1044
|
-
return S.Array(__S(
|
|
1144
|
+
return S.Array(__S(61, __c15, 1));
|
|
1045
1145
|
case 3:
|
|
1046
1146
|
return S.suspend(() =>
|
|
1047
1147
|
S.Struct({
|
|
1048
|
-
accessKeys: __S(
|
|
1148
|
+
accessKeys: __S(62, __c15, 2),
|
|
1049
1149
|
project: S.String,
|
|
1050
1150
|
}),
|
|
1051
1151
|
).annotate({ identifier: "ListAccessKeysResponse" });
|
|
1052
1152
|
}
|
|
1053
1153
|
}
|
|
1054
|
-
function
|
|
1154
|
+
function __c16(j: number): any {
|
|
1055
1155
|
switch (j) {
|
|
1056
1156
|
case 0:
|
|
1057
1157
|
return S.suspend(() =>
|
|
@@ -1068,17 +1168,17 @@ function __c15(j: number): any {
|
|
|
1068
1168
|
),
|
|
1069
1169
|
).annotate({ identifier: "ListBucketsRequest" });
|
|
1070
1170
|
case 1:
|
|
1071
|
-
return S.Array(__S(
|
|
1171
|
+
return S.Array(__S(36, __c9, 0));
|
|
1072
1172
|
case 2:
|
|
1073
1173
|
return S.suspend(() =>
|
|
1074
1174
|
S.Struct({
|
|
1075
|
-
buckets: __S(
|
|
1175
|
+
buckets: __S(65, __c16, 1),
|
|
1076
1176
|
project: S.String,
|
|
1077
1177
|
}),
|
|
1078
1178
|
).annotate({ identifier: "ListBucketsResponse" });
|
|
1079
1179
|
}
|
|
1080
1180
|
}
|
|
1081
|
-
function
|
|
1181
|
+
function __c17(j: number): any {
|
|
1082
1182
|
switch (j) {
|
|
1083
1183
|
case 0:
|
|
1084
1184
|
return S.suspend(() =>
|
|
@@ -1095,17 +1195,17 @@ function __c16(j: number): any {
|
|
|
1095
1195
|
),
|
|
1096
1196
|
).annotate({ identifier: "ListCredentialsGroupsRequest" });
|
|
1097
1197
|
case 1:
|
|
1098
|
-
return S.Array(__S(
|
|
1198
|
+
return S.Array(__S(108, __c27, 0));
|
|
1099
1199
|
case 2:
|
|
1100
1200
|
return S.suspend(() =>
|
|
1101
1201
|
S.Struct({
|
|
1102
|
-
credentialsGroups: __S(
|
|
1202
|
+
credentialsGroups: __S(69, __c17, 1),
|
|
1103
1203
|
project: S.String,
|
|
1104
1204
|
}),
|
|
1105
1205
|
).annotate({ identifier: "ListCredentialsGroupsResponse" });
|
|
1106
1206
|
}
|
|
1107
1207
|
}
|
|
1108
|
-
function
|
|
1208
|
+
function __c18(j: number): any {
|
|
1109
1209
|
switch (j) {
|
|
1110
1210
|
case 0:
|
|
1111
1211
|
return S.suspend(() =>
|
|
@@ -1126,14 +1226,14 @@ function __c17(j: number): any {
|
|
|
1126
1226
|
).annotate({ identifier: "SetDefaultRetentionRequest" });
|
|
1127
1227
|
}
|
|
1128
1228
|
}
|
|
1129
|
-
function
|
|
1229
|
+
function __c19(j: number): any {
|
|
1130
1230
|
switch (j) {
|
|
1131
1231
|
case 0:
|
|
1132
1232
|
return S.suspend(() =>
|
|
1133
1233
|
S.Struct({
|
|
1134
1234
|
projectId: S.String.pipe(T.Label()),
|
|
1135
1235
|
region: S.String.pipe(T.Label()),
|
|
1136
|
-
labels: __S(
|
|
1236
|
+
labels: __S(24, __c6, 0),
|
|
1137
1237
|
}).pipe(
|
|
1138
1238
|
T.Http({
|
|
1139
1239
|
method: "PUT",
|
|
@@ -1145,7 +1245,29 @@ function __c18(j: number): any {
|
|
|
1145
1245
|
).annotate({ identifier: "UpdateServiceRequest" });
|
|
1146
1246
|
}
|
|
1147
1247
|
}
|
|
1148
|
-
function
|
|
1248
|
+
function __c20(j: number): any {
|
|
1249
|
+
switch (j) {
|
|
1250
|
+
case 0:
|
|
1251
|
+
return S.Array(S.Unknown);
|
|
1252
|
+
case 1:
|
|
1253
|
+
return S.suspend(() =>
|
|
1254
|
+
S.Struct({
|
|
1255
|
+
loc: __S(80, __c20, 0),
|
|
1256
|
+
msg: S.String,
|
|
1257
|
+
type: S.String,
|
|
1258
|
+
}),
|
|
1259
|
+
).annotate({ identifier: "ValidationError" });
|
|
1260
|
+
case 2:
|
|
1261
|
+
return S.Array(__S(81, __c20, 1));
|
|
1262
|
+
case 3:
|
|
1263
|
+
return S.suspend(() =>
|
|
1264
|
+
S.Struct({
|
|
1265
|
+
detail: S.optional(__S(82, __c20, 2)),
|
|
1266
|
+
}),
|
|
1267
|
+
).annotate({ identifier: "HTTPValidationError" });
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
function __c21(j: number): any {
|
|
1149
1271
|
switch (j) {
|
|
1150
1272
|
case 0:
|
|
1151
1273
|
return S.suspend(() =>
|
|
@@ -1176,7 +1298,7 @@ function __c19(j: number): any {
|
|
|
1176
1298
|
).annotate({ identifier: "CreateAccessKeyResponse" });
|
|
1177
1299
|
}
|
|
1178
1300
|
}
|
|
1179
|
-
function
|
|
1301
|
+
function __c22(j: number): any {
|
|
1180
1302
|
switch (j) {
|
|
1181
1303
|
case 0:
|
|
1182
1304
|
return S.suspend(() =>
|
|
@@ -1196,7 +1318,7 @@ function __c20(j: number): any {
|
|
|
1196
1318
|
).annotate({ identifier: "CreateBucketRequest" });
|
|
1197
1319
|
}
|
|
1198
1320
|
}
|
|
1199
|
-
function
|
|
1321
|
+
function __c23(j: number): any {
|
|
1200
1322
|
switch (j) {
|
|
1201
1323
|
case 0:
|
|
1202
1324
|
return S.suspend(() =>
|
|
@@ -1207,7 +1329,7 @@ function __c21(j: number): any {
|
|
|
1207
1329
|
).annotate({ identifier: "CreateBucketResponse" });
|
|
1208
1330
|
}
|
|
1209
1331
|
}
|
|
1210
|
-
function
|
|
1332
|
+
function __c24(j: number): any {
|
|
1211
1333
|
switch (j) {
|
|
1212
1334
|
case 0:
|
|
1213
1335
|
return S.suspend(() =>
|
|
@@ -1225,7 +1347,7 @@ function __c22(j: number): any {
|
|
|
1225
1347
|
).annotate({ identifier: "CreateComplianceLockRequest" });
|
|
1226
1348
|
}
|
|
1227
1349
|
}
|
|
1228
|
-
function
|
|
1350
|
+
function __c25(j: number): any {
|
|
1229
1351
|
switch (j) {
|
|
1230
1352
|
case 0:
|
|
1231
1353
|
return S.suspend(() =>
|
|
@@ -1236,7 +1358,7 @@ function __c23(j: number): any {
|
|
|
1236
1358
|
).annotate({ identifier: "ComplianceLockResponse" });
|
|
1237
1359
|
}
|
|
1238
1360
|
}
|
|
1239
|
-
function
|
|
1361
|
+
function __c26(j: number): any {
|
|
1240
1362
|
switch (j) {
|
|
1241
1363
|
case 0:
|
|
1242
1364
|
return S.suspend(() =>
|
|
@@ -1244,6 +1366,7 @@ function __c24(j: number): any {
|
|
|
1244
1366
|
projectId: S.String.pipe(T.Label()),
|
|
1245
1367
|
region: S.String.pipe(T.Label()),
|
|
1246
1368
|
displayName: S.String,
|
|
1369
|
+
trustPolicy: S.optional(S.Unknown),
|
|
1247
1370
|
}).pipe(
|
|
1248
1371
|
T.Http({
|
|
1249
1372
|
method: "POST",
|
|
@@ -1256,13 +1379,13 @@ function __c24(j: number): any {
|
|
|
1256
1379
|
case 1:
|
|
1257
1380
|
return S.suspend(() =>
|
|
1258
1381
|
S.Struct({
|
|
1259
|
-
credentialsGroup: __S(
|
|
1382
|
+
credentialsGroup: __S(108, __c27, 0),
|
|
1260
1383
|
project: S.String,
|
|
1261
1384
|
}),
|
|
1262
1385
|
).annotate({ identifier: "CreateCredentialsGroupResponse" });
|
|
1263
1386
|
}
|
|
1264
1387
|
}
|
|
1265
|
-
function
|
|
1388
|
+
function __c27(j: number): any {
|
|
1266
1389
|
switch (j) {
|
|
1267
1390
|
case 0:
|
|
1268
1391
|
return S.suspend(() =>
|
|
@@ -1274,7 +1397,7 @@ function __c25(j: number): any {
|
|
|
1274
1397
|
).annotate({ identifier: "CredentialsGroup" });
|
|
1275
1398
|
}
|
|
1276
1399
|
}
|
|
1277
|
-
function
|
|
1400
|
+
function __c28(j: number): any {
|
|
1278
1401
|
switch (j) {
|
|
1279
1402
|
case 0:
|
|
1280
1403
|
return S.suspend(() =>
|