@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
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/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- 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 +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- 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 +15 -15
- 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 +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- 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 +25 -25
- 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 +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- 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 +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- 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/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- 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 +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- 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 +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- 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 +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.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 +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- 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 +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
package/src/services/pubsub.ts
CHANGED
|
@@ -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: "Pubsub",
|
|
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", {
|
|
@@ -63,7 +76,7 @@ export type Labels = { [key: string]: string | null | undefined };
|
|
|
63
76
|
/** Configuration settings for the subscription. */
|
|
64
77
|
export interface SubscriptionSettings {
|
|
65
78
|
/** The maximum amount of time the system waits for a message acknowledgment. If a message is not acknowledged within this window, it will be redelivered. **Format:** Must be a duration string consisting of a number (integer or decimal) followed by a unit ('s', 'm', or 'h'). **Constraints:** - **Minimum:** "1s" - **Maximum:** "168h" (7 days) */
|
|
66
|
-
ackDeadline?: string;
|
|
79
|
+
ackDeadline?: string | undefined;
|
|
67
80
|
}
|
|
68
81
|
export interface CreateSubscriptionRequest {
|
|
69
82
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -73,11 +86,11 @@ export interface CreateSubscriptionRequest {
|
|
|
73
86
|
/** The topic UUID. */
|
|
74
87
|
topicId: string;
|
|
75
88
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
76
|
-
description?: string;
|
|
89
|
+
description?: string | undefined;
|
|
77
90
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
78
91
|
displayName: string;
|
|
79
|
-
labels?: Labels;
|
|
80
|
-
settings?: SubscriptionSettings;
|
|
92
|
+
labels?: Labels | undefined;
|
|
93
|
+
settings?: SubscriptionSettings | undefined;
|
|
81
94
|
}
|
|
82
95
|
/** The current state of the resource. */
|
|
83
96
|
export type SubscriptionResponseState = "reconciling" | "active" | "deleting";
|
|
@@ -85,13 +98,13 @@ export interface SubscriptionResponse {
|
|
|
85
98
|
/** The point in time the resource was created. */
|
|
86
99
|
createTime: string;
|
|
87
100
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
88
|
-
description?: string;
|
|
101
|
+
description?: string | undefined;
|
|
89
102
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
90
103
|
displayName: string;
|
|
91
104
|
/** An auto generated unique id which identifies the resource. */
|
|
92
105
|
id: string;
|
|
93
|
-
labels?: Labels;
|
|
94
|
-
settings?: SubscriptionSettings;
|
|
106
|
+
labels?: Labels | undefined;
|
|
107
|
+
settings?: SubscriptionSettings | undefined;
|
|
95
108
|
/** The current state of the resource. */
|
|
96
109
|
state: SubscriptionResponseState;
|
|
97
110
|
/** The id of the topic to which the subscription belongs. */
|
|
@@ -103,13 +116,13 @@ export type TopicSettingsAclList = Array<string>;
|
|
|
103
116
|
/** Configuration settings for the topic. */
|
|
104
117
|
export interface TopicSettings {
|
|
105
118
|
/** Whitelist of IPs in CIDR notation that can access the topic and its underlying subscriptions. */
|
|
106
|
-
acl?: TopicSettingsAclList;
|
|
119
|
+
acl?: TopicSettingsAclList | undefined;
|
|
107
120
|
/** Enables or disables metrics collection for the topic. */
|
|
108
|
-
metrics?: boolean;
|
|
121
|
+
metrics?: boolean | undefined;
|
|
109
122
|
/** The maximum length of time a message is persisted in storage. Messages older than this duration are automatically discarded/deleted. **Format:** Must be a scalar duration: a number (integer or decimal) followed by a unit ('s', 'm', or 'h'). **Constraints:** - **Minimum:** "1s" - **Maximum:** "168h" (7 days) */
|
|
110
|
-
retention?: string;
|
|
123
|
+
retention?: string | undefined;
|
|
111
124
|
/** Enables or disables sending of service logs for the topic. */
|
|
112
|
-
serviceLogs?: boolean;
|
|
125
|
+
serviceLogs?: boolean | undefined;
|
|
113
126
|
}
|
|
114
127
|
export interface CreateTopicRequest {
|
|
115
128
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -117,11 +130,11 @@ export interface CreateTopicRequest {
|
|
|
117
130
|
/** The STACKIT region name the resource is located in. */
|
|
118
131
|
regionId: CreateTopicRequestRegionId | (string & {});
|
|
119
132
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
120
|
-
description?: string;
|
|
133
|
+
description?: string | undefined;
|
|
121
134
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
122
135
|
displayName: string;
|
|
123
|
-
labels?: Labels;
|
|
124
|
-
settings?: TopicSettings;
|
|
136
|
+
labels?: Labels | undefined;
|
|
137
|
+
settings?: TopicSettings | undefined;
|
|
125
138
|
}
|
|
126
139
|
/** The current state of the resource. */
|
|
127
140
|
export type TopicResponseState = "reconciling" | "active" | "deleting";
|
|
@@ -129,17 +142,17 @@ export interface TopicResponse {
|
|
|
129
142
|
/** The point in time the resource was created. */
|
|
130
143
|
createTime: string;
|
|
131
144
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
132
|
-
description?: string;
|
|
145
|
+
description?: string | undefined;
|
|
133
146
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
134
147
|
displayName: string;
|
|
135
148
|
/** An auto generated unique id which identifies the resource. */
|
|
136
149
|
id: string;
|
|
137
|
-
labels?: Labels;
|
|
138
|
-
settings?: TopicSettings;
|
|
150
|
+
labels?: Labels | undefined;
|
|
151
|
+
settings?: TopicSettings | undefined;
|
|
139
152
|
/** The current state of the resource. */
|
|
140
153
|
state: TopicResponseState;
|
|
141
154
|
/** The URI for reaching the resource. */
|
|
142
|
-
uri?: string;
|
|
155
|
+
uri?: string | undefined;
|
|
143
156
|
}
|
|
144
157
|
export type DeleteSubscriptionRequestRegionId = "eu01";
|
|
145
158
|
export interface DeleteSubscriptionRequest {
|
|
@@ -152,7 +165,7 @@ export interface DeleteSubscriptionRequest {
|
|
|
152
165
|
/** The subscription UUID. */
|
|
153
166
|
subscriptionId: string;
|
|
154
167
|
/** If true, deletes the topic and all its active subscriptions (cascading delete). If false (default), the operation returns a 409 conflict if active subscriptions exist. */
|
|
155
|
-
force?: boolean;
|
|
168
|
+
force?: boolean | undefined;
|
|
156
169
|
}
|
|
157
170
|
export interface DeleteSubscriptionResponse {}
|
|
158
171
|
export type DeleteTopicRequestRegionId = "eu01";
|
|
@@ -164,7 +177,7 @@ export interface DeleteTopicRequest {
|
|
|
164
177
|
/** The topic UUID. */
|
|
165
178
|
topicId: string;
|
|
166
179
|
/** If true, deletes the topic and all its active subscriptions (cascading delete). If false (default), the operation returns a 409 conflict if active subscriptions exist. */
|
|
167
|
-
force?: boolean;
|
|
180
|
+
force?: boolean | undefined;
|
|
168
181
|
}
|
|
169
182
|
export interface DeleteTopicResponse {}
|
|
170
183
|
export type GetSubscriptionRequestRegionId = "eu01";
|
|
@@ -222,16 +235,16 @@ export interface ListSubscriptionsRequest {
|
|
|
222
235
|
/** The topic UUID. */
|
|
223
236
|
topicId: string;
|
|
224
237
|
/** A token to retrieve the next page of results. */
|
|
225
|
-
pageToken?: string;
|
|
238
|
+
pageToken?: string | undefined;
|
|
226
239
|
/** Maximum number of items to return */
|
|
227
|
-
pageSize?: number;
|
|
240
|
+
pageSize?: number | undefined;
|
|
228
241
|
/** Supply a query string to filter the results. */
|
|
229
|
-
query?: string;
|
|
242
|
+
query?: string | undefined;
|
|
230
243
|
}
|
|
231
244
|
export type ListSubscriptionsResponseSubscriptionsList = Array<SubscriptionResponse>;
|
|
232
245
|
export interface ListSubscriptionsResponse {
|
|
233
246
|
/** A token to retrieve the next page of results. */
|
|
234
|
-
nextPageToken?: string;
|
|
247
|
+
nextPageToken?: string | undefined;
|
|
235
248
|
subscriptions: ListSubscriptionsResponseSubscriptionsList;
|
|
236
249
|
}
|
|
237
250
|
export type ListSubscriptionSubscribersRequestRegionId = "eu01";
|
|
@@ -265,16 +278,16 @@ export interface ListTopicsRequest {
|
|
|
265
278
|
/** The STACKIT region name the resource is located in. */
|
|
266
279
|
regionId: ListTopicsRequestRegionId | (string & {});
|
|
267
280
|
/** A token to retrieve the next page of results. */
|
|
268
|
-
pageToken?: string;
|
|
281
|
+
pageToken?: string | undefined;
|
|
269
282
|
/** Maximum number of items to return */
|
|
270
|
-
pageSize?: number;
|
|
283
|
+
pageSize?: number | undefined;
|
|
271
284
|
/** Supply a query string to filter the results. */
|
|
272
|
-
query?: string;
|
|
285
|
+
query?: string | undefined;
|
|
273
286
|
}
|
|
274
287
|
export type ListTopicsResponseTopicsList = Array<TopicResponse>;
|
|
275
288
|
export interface ListTopicsResponse {
|
|
276
289
|
/** A token to retrieve the next page of results. */
|
|
277
|
-
nextPageToken?: string;
|
|
290
|
+
nextPageToken?: string | undefined;
|
|
278
291
|
topics: ListTopicsResponseTopicsList;
|
|
279
292
|
}
|
|
280
293
|
export type RevokeSubscriptionSubscriberAccessRequestRegionId = "eu01";
|
|
@@ -324,11 +337,11 @@ export interface UpdateSubscriptionRequest {
|
|
|
324
337
|
/** The subscription UUID. */
|
|
325
338
|
subscriptionId: string;
|
|
326
339
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
327
|
-
description?: string;
|
|
340
|
+
description?: string | undefined;
|
|
328
341
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
329
|
-
displayName?: string;
|
|
330
|
-
labels?: Labels;
|
|
331
|
-
settings?: SubscriptionSettings;
|
|
342
|
+
displayName?: string | undefined;
|
|
343
|
+
labels?: Labels | undefined;
|
|
344
|
+
settings?: SubscriptionSettings | undefined;
|
|
332
345
|
}
|
|
333
346
|
export interface UpdateSubscriptionResponse {}
|
|
334
347
|
export type UpdateSubscriptionSubscriberAccessRequestRegionId = "eu01";
|
|
@@ -356,11 +369,11 @@ export interface UpdateTopicRequest {
|
|
|
356
369
|
/** The topic UUID. */
|
|
357
370
|
topicId: string;
|
|
358
371
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
359
|
-
description?: string;
|
|
372
|
+
description?: string | undefined;
|
|
360
373
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
361
|
-
displayName?: string;
|
|
362
|
-
labels?: Labels;
|
|
363
|
-
settings?: TopicSettings;
|
|
374
|
+
displayName?: string | undefined;
|
|
375
|
+
labels?: Labels | undefined;
|
|
376
|
+
settings?: TopicSettings | undefined;
|
|
364
377
|
}
|
|
365
378
|
export interface UpdateTopicResponse {}
|
|
366
379
|
export type CreateSubscriptionError =
|
|
@@ -382,6 +395,8 @@ export const createSubscription: API.OperationMethod<
|
|
|
382
395
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
383
396
|
protocol: StackitProtocol,
|
|
384
397
|
retry: Retry.Retry,
|
|
398
|
+
telemetry: TELEMETRY,
|
|
399
|
+
span: "CreateSubscription",
|
|
385
400
|
}));
|
|
386
401
|
|
|
387
402
|
export type CreateTopicError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -397,6 +412,8 @@ export const createTopic: API.OperationMethod<
|
|
|
397
412
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
398
413
|
protocol: StackitProtocol,
|
|
399
414
|
retry: Retry.Retry,
|
|
415
|
+
telemetry: TELEMETRY,
|
|
416
|
+
span: "CreateTopic",
|
|
400
417
|
}));
|
|
401
418
|
|
|
402
419
|
export type DeleteSubscriptionError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -412,6 +429,8 @@ export const deleteSubscription: API.OperationMethod<
|
|
|
412
429
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
413
430
|
protocol: StackitProtocol,
|
|
414
431
|
retry: Retry.Retry,
|
|
432
|
+
telemetry: TELEMETRY,
|
|
433
|
+
span: "DeleteSubscription",
|
|
415
434
|
}));
|
|
416
435
|
|
|
417
436
|
export type DeleteTopicError =
|
|
@@ -432,6 +451,8 @@ export const deleteTopic: API.OperationMethod<
|
|
|
432
451
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
433
452
|
protocol: StackitProtocol,
|
|
434
453
|
retry: Retry.Retry,
|
|
454
|
+
telemetry: TELEMETRY,
|
|
455
|
+
span: "DeleteTopic",
|
|
435
456
|
}));
|
|
436
457
|
|
|
437
458
|
export type GetSubscriptionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -447,6 +468,8 @@ export const getSubscription: API.OperationMethod<
|
|
|
447
468
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
448
469
|
protocol: StackitProtocol,
|
|
449
470
|
retry: Retry.Retry,
|
|
471
|
+
telemetry: TELEMETRY,
|
|
472
|
+
span: "GetSubscription",
|
|
450
473
|
}));
|
|
451
474
|
|
|
452
475
|
export type GetTopicError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -462,6 +485,8 @@ export const getTopic: API.OperationMethod<
|
|
|
462
485
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
463
486
|
protocol: StackitProtocol,
|
|
464
487
|
retry: Retry.Retry,
|
|
488
|
+
telemetry: TELEMETRY,
|
|
489
|
+
span: "GetTopic",
|
|
465
490
|
}));
|
|
466
491
|
|
|
467
492
|
export type GrantSubscriptionSubscriberAccessError =
|
|
@@ -482,6 +507,8 @@ export const grantSubscriptionSubscriberAccess: API.OperationMethod<
|
|
|
482
507
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
483
508
|
protocol: StackitProtocol,
|
|
484
509
|
retry: Retry.Retry,
|
|
510
|
+
telemetry: TELEMETRY,
|
|
511
|
+
span: "GrantSubscriptionSubscriberAccess",
|
|
485
512
|
}));
|
|
486
513
|
|
|
487
514
|
export type GrantTopicPublisherAccessError =
|
|
@@ -502,6 +529,8 @@ export const grantTopicPublisherAccess: API.OperationMethod<
|
|
|
502
529
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
503
530
|
protocol: StackitProtocol,
|
|
504
531
|
retry: Retry.Retry,
|
|
532
|
+
telemetry: TELEMETRY,
|
|
533
|
+
span: "GrantTopicPublisherAccess",
|
|
505
534
|
}));
|
|
506
535
|
|
|
507
536
|
export type ListSubscriptionsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -517,6 +546,8 @@ export const listSubscriptions: API.OperationMethod<
|
|
|
517
546
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
518
547
|
protocol: StackitProtocol,
|
|
519
548
|
retry: Retry.Retry,
|
|
549
|
+
telemetry: TELEMETRY,
|
|
550
|
+
span: "ListSubscriptions",
|
|
520
551
|
}));
|
|
521
552
|
|
|
522
553
|
export type ListSubscriptionSubscribersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -532,6 +563,8 @@ export const listSubscriptionSubscribers: API.OperationMethod<
|
|
|
532
563
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
533
564
|
protocol: StackitProtocol,
|
|
534
565
|
retry: Retry.Retry,
|
|
566
|
+
telemetry: TELEMETRY,
|
|
567
|
+
span: "ListSubscriptionSubscribers",
|
|
535
568
|
}));
|
|
536
569
|
|
|
537
570
|
export type ListTopicPublishersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -547,6 +580,8 @@ export const listTopicPublishers: API.OperationMethod<
|
|
|
547
580
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
548
581
|
protocol: StackitProtocol,
|
|
549
582
|
retry: Retry.Retry,
|
|
583
|
+
telemetry: TELEMETRY,
|
|
584
|
+
span: "ListTopicPublishers",
|
|
550
585
|
}));
|
|
551
586
|
|
|
552
587
|
export type ListTopicsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -562,6 +597,8 @@ export const listTopics: API.OperationMethod<
|
|
|
562
597
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
563
598
|
protocol: StackitProtocol,
|
|
564
599
|
retry: Retry.Retry,
|
|
600
|
+
telemetry: TELEMETRY,
|
|
601
|
+
span: "ListTopics",
|
|
565
602
|
}));
|
|
566
603
|
|
|
567
604
|
export type RevokeSubscriptionSubscriberAccessError =
|
|
@@ -582,6 +619,8 @@ export const revokeSubscriptionSubscriberAccess: API.OperationMethod<
|
|
|
582
619
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
583
620
|
protocol: StackitProtocol,
|
|
584
621
|
retry: Retry.Retry,
|
|
622
|
+
telemetry: TELEMETRY,
|
|
623
|
+
span: "RevokeSubscriptionSubscriberAccess",
|
|
585
624
|
}));
|
|
586
625
|
|
|
587
626
|
export type RevokeTopicPublisherAccessError =
|
|
@@ -602,6 +641,8 @@ export const revokeTopicPublisherAccess: API.OperationMethod<
|
|
|
602
641
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
603
642
|
protocol: StackitProtocol,
|
|
604
643
|
retry: Retry.Retry,
|
|
644
|
+
telemetry: TELEMETRY,
|
|
645
|
+
span: "RevokeTopicPublisherAccess",
|
|
605
646
|
}));
|
|
606
647
|
|
|
607
648
|
export type UpdatePublisherAccessError =
|
|
@@ -622,6 +663,8 @@ export const updatePublisherAccess: API.OperationMethod<
|
|
|
622
663
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
623
664
|
protocol: StackitProtocol,
|
|
624
665
|
retry: Retry.Retry,
|
|
666
|
+
telemetry: TELEMETRY,
|
|
667
|
+
span: "UpdatePublisherAccess",
|
|
625
668
|
}));
|
|
626
669
|
|
|
627
670
|
export type UpdateSubscriptionError =
|
|
@@ -643,6 +686,8 @@ export const updateSubscription: API.OperationMethod<
|
|
|
643
686
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
644
687
|
protocol: StackitProtocol,
|
|
645
688
|
retry: Retry.Retry,
|
|
689
|
+
telemetry: TELEMETRY,
|
|
690
|
+
span: "UpdateSubscription",
|
|
646
691
|
}));
|
|
647
692
|
|
|
648
693
|
export type UpdateSubscriptionSubscriberAccessError =
|
|
@@ -663,6 +708,8 @@ export const updateSubscriptionSubscriberAccess: API.OperationMethod<
|
|
|
663
708
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
664
709
|
protocol: StackitProtocol,
|
|
665
710
|
retry: Retry.Retry,
|
|
711
|
+
telemetry: TELEMETRY,
|
|
712
|
+
span: "UpdateSubscriptionSubscriberAccess",
|
|
666
713
|
}));
|
|
667
714
|
|
|
668
715
|
export type UpdateTopicError =
|
|
@@ -684,6 +731,8 @@ export const updateTopic: API.OperationMethod<
|
|
|
684
731
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
685
732
|
protocol: StackitProtocol,
|
|
686
733
|
retry: Retry.Retry,
|
|
734
|
+
telemetry: TELEMETRY,
|
|
735
|
+
span: "UpdateTopic",
|
|
687
736
|
}));
|
|
688
737
|
|
|
689
738
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|