@distilled.cloud/stackit 1.0.0-rc.20 → 1.0.0-rc.21

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.
Files changed (369) hide show
  1. package/README.md +13 -2
  2. package/lib/.lazy.json +1 -1
  3. package/lib/_bundle/sdk.js +1 -1
  4. package/lib/_bundle/sdk.js.map +1 -1
  5. package/lib/credentials.d.ts +17 -3
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -1
  8. package/lib/errors.d.ts +8 -0
  9. package/lib/errors.d.ts.map +1 -1
  10. package/lib/errors.js +1 -1
  11. package/lib/index.d.ts +9 -6
  12. package/lib/index.d.ts.map +1 -1
  13. package/lib/index.js +0 -1
  14. package/lib/pagination.d.ts.map +1 -1
  15. package/lib/protocol.d.ts +33 -12
  16. package/lib/protocol.d.ts.map +1 -1
  17. package/lib/retry.d.ts.map +1 -1
  18. package/lib/services/alb.d.ts +8 -0
  19. package/lib/services/alb.d.ts.map +1 -1
  20. package/lib/services/alb.js +26 -26
  21. package/lib/services/alb.js.map +1 -1
  22. package/lib/services/alb_waf.d.ts +8 -0
  23. package/lib/services/alb_waf.d.ts.map +1 -1
  24. package/lib/services/alb_waf.js +31 -31
  25. package/lib/services/alb_waf.js.map +1 -1
  26. package/lib/services/authorization.d.ts +13 -0
  27. package/lib/services/authorization.d.ts.map +1 -1
  28. package/lib/services/authorization.js +1 -1
  29. package/lib/services/authorization.js.map +1 -1
  30. package/lib/services/automation.d.ts +23 -0
  31. package/lib/services/automation.d.ts.map +1 -1
  32. package/lib/services/automation.js +23 -22
  33. package/lib/services/automation.js.map +1 -1
  34. package/lib/services/cdn.d.ts +39 -1
  35. package/lib/services/cdn.d.ts.map +1 -1
  36. package/lib/services/cdn.js +31 -30
  37. package/lib/services/cdn.js.map +1 -1
  38. package/lib/services/certificates.d.ts +6 -0
  39. package/lib/services/certificates.d.ts.map +1 -1
  40. package/lib/services/certificates.js +1 -1
  41. package/lib/services/certificates.js.map +1 -1
  42. package/lib/services/cost.d.ts +19 -0
  43. package/lib/services/cost.d.ts.map +1 -1
  44. package/lib/services/cost.js +1 -1
  45. package/lib/services/cost.js.map +1 -1
  46. package/lib/services/dns.d.ts +16 -0
  47. package/lib/services/dns.d.ts.map +1 -1
  48. package/lib/services/dns.js +40 -40
  49. package/lib/services/dns.js.map +1 -1
  50. package/lib/services/iaas.d.ts +17 -0
  51. package/lib/services/iaas.d.ts.map +1 -1
  52. package/lib/services/iaas.js +181 -180
  53. package/lib/services/iaas.js.map +1 -1
  54. package/lib/services/identity.d.ts +19 -0
  55. package/lib/services/identity.d.ts.map +1 -1
  56. package/lib/services/identity.js +1 -1
  57. package/lib/services/identity.js.map +1 -1
  58. package/lib/services/index.d.ts +0 -10
  59. package/lib/services/index.d.ts.map +1 -1
  60. package/lib/services/index.js +0 -10
  61. package/lib/services/kms.d.ts +16 -0
  62. package/lib/services/kms.d.ts.map +1 -1
  63. package/lib/services/kms.js +41 -40
  64. package/lib/services/kms.js.map +1 -1
  65. package/lib/services/load_balancer.d.ts +8 -0
  66. package/lib/services/load_balancer.d.ts.map +1 -1
  67. package/lib/services/load_balancer.js +27 -27
  68. package/lib/services/load_balancer.js.map +1 -1
  69. package/lib/services/logme.d.ts +14 -1
  70. package/lib/services/logme.d.ts.map +1 -1
  71. package/lib/services/logme.js +36 -35
  72. package/lib/services/logme.js.map +1 -1
  73. package/lib/services/logs.d.ts +6 -0
  74. package/lib/services/logs.d.ts.map +1 -1
  75. package/lib/services/logs.js +34 -34
  76. package/lib/services/logs.js.map +1 -1
  77. package/lib/services/mariadb.d.ts +14 -1
  78. package/lib/services/mariadb.d.ts.map +1 -1
  79. package/lib/services/mariadb.js +37 -36
  80. package/lib/services/mariadb.js.map +1 -1
  81. package/lib/services/model_experiments.d.ts +20 -0
  82. package/lib/services/model_experiments.d.ts.map +1 -1
  83. package/lib/services/model_experiments.js +1 -1
  84. package/lib/services/model_experiments.js.map +1 -1
  85. package/lib/services/model_serving.d.ts +13 -0
  86. package/lib/services/model_serving.d.ts.map +1 -1
  87. package/lib/services/model_serving.js +1 -1
  88. package/lib/services/model_serving.js.map +1 -1
  89. package/lib/services/mongodb_flex.d.ts +19 -0
  90. package/lib/services/mongodb_flex.d.ts.map +1 -1
  91. package/lib/services/mongodb_flex.js +42 -41
  92. package/lib/services/mongodb_flex.js.map +1 -1
  93. package/lib/services/object_storage.d.ts +34 -0
  94. package/lib/services/object_storage.d.ts.map +1 -1
  95. package/lib/services/object_storage.js +38 -37
  96. package/lib/services/object_storage.js.map +1 -1
  97. package/lib/services/observability.d.ts +34 -8
  98. package/lib/services/observability.d.ts.map +1 -1
  99. package/lib/services/observability.js +159 -158
  100. package/lib/services/observability.js.map +1 -1
  101. package/lib/services/opensearch.d.ts +14 -1
  102. package/lib/services/opensearch.d.ts.map +1 -1
  103. package/lib/services/opensearch.js +37 -36
  104. package/lib/services/opensearch.js.map +1 -1
  105. package/lib/services/pim.d.ts +22 -0
  106. package/lib/services/pim.d.ts.map +1 -1
  107. package/lib/services/pim.js +31 -30
  108. package/lib/services/pim.js.map +1 -1
  109. package/lib/services/postgres_flex.d.ts +37 -0
  110. package/lib/services/postgres_flex.d.ts.map +1 -1
  111. package/lib/services/postgres_flex.js +48 -47
  112. package/lib/services/postgres_flex.js.map +1 -1
  113. package/lib/services/rabbitmq.d.ts +14 -1
  114. package/lib/services/rabbitmq.d.ts.map +1 -1
  115. package/lib/services/rabbitmq.js +38 -37
  116. package/lib/services/rabbitmq.js.map +1 -1
  117. package/lib/services/registry.d.ts +37 -0
  118. package/lib/services/registry.d.ts.map +1 -1
  119. package/lib/services/registry.js +1 -1
  120. package/lib/services/registry.js.map +1 -1
  121. package/lib/services/resource_manager.d.ts +24 -0
  122. package/lib/services/resource_manager.d.ts.map +1 -1
  123. package/lib/services/resource_manager.js +36 -35
  124. package/lib/services/resource_manager.js.map +1 -1
  125. package/lib/services/run_command.d.ts +12 -0
  126. package/lib/services/run_command.d.ts.map +1 -1
  127. package/lib/services/run_command.js +1 -1
  128. package/lib/services/run_command.js.map +1 -1
  129. package/lib/services/scf.d.ts +13 -0
  130. package/lib/services/scf.d.ts.map +1 -1
  131. package/lib/services/scf.js +40 -39
  132. package/lib/services/scf.js.map +1 -1
  133. package/lib/services/secrets_manager.d.ts +21 -0
  134. package/lib/services/secrets_manager.d.ts.map +1 -1
  135. package/lib/services/secrets_manager.js +42 -41
  136. package/lib/services/secrets_manager.js.map +1 -1
  137. package/lib/services/server_backup.d.ts +6 -0
  138. package/lib/services/server_backup.d.ts.map +1 -1
  139. package/lib/services/server_backup.js +28 -28
  140. package/lib/services/server_backup.js.map +1 -1
  141. package/lib/services/server_update.d.ts +6 -0
  142. package/lib/services/server_update.d.ts.map +1 -1
  143. package/lib/services/server_update.js +1 -1
  144. package/lib/services/server_update.js.map +1 -1
  145. package/lib/services/service_account.d.ts +28 -0
  146. package/lib/services/service_account.d.ts.map +1 -1
  147. package/lib/services/service_account.js +30 -29
  148. package/lib/services/service_account.js.map +1 -1
  149. package/lib/services/service_enablement.d.ts +14 -0
  150. package/lib/services/service_enablement.d.ts.map +1 -1
  151. package/lib/services/service_enablement.js +1 -1
  152. package/lib/services/service_enablement.js.map +1 -1
  153. package/lib/services/sfs.d.ts +33 -0
  154. package/lib/services/sfs.d.ts.map +1 -1
  155. package/lib/services/sfs.js +46 -46
  156. package/lib/services/sfs.js.map +1 -1
  157. package/lib/services/ske.d.ts +8 -3
  158. package/lib/services/ske.d.ts.map +1 -1
  159. package/lib/services/ske.js +25 -25
  160. package/lib/services/ske.js.map +1 -1
  161. package/lib/services/sqlserverflex.d.ts +34 -0
  162. package/lib/services/sqlserverflex.d.ts.map +1 -1
  163. package/lib/services/sqlserverflex.js +46 -45
  164. package/lib/services/sqlserverflex.js.map +1 -1
  165. package/lib/services/stackit_marketplace.d.ts +26 -1
  166. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  167. package/lib/services/stackit_marketplace.js +26 -25
  168. package/lib/services/stackit_marketplace.js.map +1 -1
  169. package/lib/services/telemetry_link.d.ts +12 -0
  170. package/lib/services/telemetry_link.d.ts.map +1 -1
  171. package/lib/services/telemetry_link.js +35 -34
  172. package/lib/services/telemetry_link.js.map +1 -1
  173. package/lib/services/telemetry_router.d.ts +49 -3
  174. package/lib/services/telemetry_router.d.ts.map +1 -1
  175. package/lib/services/telemetry_router.js +33 -31
  176. package/lib/services/telemetry_router.js.map +1 -1
  177. package/lib/services/ufw.d.ts +15 -0
  178. package/lib/services/ufw.d.ts.map +1 -1
  179. package/lib/services/ufw.js +1 -1
  180. package/lib/services/ufw.js.map +1 -1
  181. package/lib/services/valkey.d.ts +14 -1
  182. package/lib/services/valkey.d.ts.map +1 -1
  183. package/lib/services/valkey.js +37 -36
  184. package/lib/services/valkey.js.map +1 -1
  185. package/lib/services/vpn.d.ts +43 -1
  186. package/lib/services/vpn.d.ts.map +1 -1
  187. package/lib/services/vpn.js +43 -42
  188. package/lib/services/vpn.js.map +1 -1
  189. package/lib/services.lazy/alb.js +1 -1
  190. package/lib/services.lazy/alb_waf.js +1 -1
  191. package/lib/services.lazy/automation.js +1 -1
  192. package/lib/services.lazy/cdn.js +1 -1
  193. package/lib/services.lazy/dns.js +1 -1
  194. package/lib/services.lazy/iaas.js +1 -1
  195. package/lib/services.lazy/index.js +2 -2
  196. package/lib/services.lazy/kms.js +1 -1
  197. package/lib/services.lazy/load_balancer.js +1 -1
  198. package/lib/services.lazy/logme.js +1 -1
  199. package/lib/services.lazy/logs.js +1 -1
  200. package/lib/services.lazy/mariadb.js +1 -1
  201. package/lib/services.lazy/mongodb_flex.js +1 -1
  202. package/lib/services.lazy/object_storage.js +1 -1
  203. package/lib/services.lazy/observability.js +1 -1
  204. package/lib/services.lazy/opensearch.js +1 -1
  205. package/lib/services.lazy/pim.js +1 -1
  206. package/lib/services.lazy/postgres_flex.js +1 -1
  207. package/lib/services.lazy/rabbitmq.js +1 -1
  208. package/lib/services.lazy/resource_manager.js +1 -1
  209. package/lib/services.lazy/scf.js +1 -1
  210. package/lib/services.lazy/secrets_manager.js +1 -1
  211. package/lib/services.lazy/server_backup.js +1 -1
  212. package/lib/services.lazy/service_account.js +1 -1
  213. package/lib/services.lazy/sfs.js +1 -1
  214. package/lib/services.lazy/ske.js +1 -1
  215. package/lib/services.lazy/sqlserverflex.js +1 -1
  216. package/lib/services.lazy/stackit_marketplace.js +1 -1
  217. package/lib/services.lazy/telemetry_link.js +1 -1
  218. package/lib/services.lazy/telemetry_router.js +1 -1
  219. package/lib/services.lazy/valkey.js +1 -1
  220. package/lib/services.lazy/vpn.js +1 -1
  221. package/lib/traits.d.ts.map +1 -1
  222. package/lib/{services → unstable-services}/dremio.d.ts +19 -4
  223. package/lib/unstable-services/dremio.d.ts.map +1 -0
  224. package/lib/unstable-services/dremio.js +2 -0
  225. package/lib/unstable-services/dremio.js.map +1 -0
  226. package/lib/{services → unstable-services}/edge.d.ts +13 -1
  227. package/lib/unstable-services/edge.d.ts.map +1 -0
  228. package/lib/unstable-services/edge.js +29 -0
  229. package/lib/unstable-services/edge.js.map +1 -0
  230. package/lib/unstable-services/functions.d.ts.map +1 -0
  231. package/lib/unstable-services/functions.js +28 -0
  232. package/lib/unstable-services/functions.js.map +1 -0
  233. package/lib/{services → unstable-services}/git.d.ts +42 -1
  234. package/lib/unstable-services/git.d.ts.map +1 -0
  235. package/lib/unstable-services/git.js +43 -0
  236. package/lib/unstable-services/git.js.map +1 -0
  237. package/lib/unstable-services/index.d.ts +11 -0
  238. package/lib/unstable-services/index.d.ts.map +1 -0
  239. package/lib/unstable-services/index.js +10 -0
  240. package/lib/{services → unstable-services}/intake.d.ts +8 -2
  241. package/lib/unstable-services/intake.d.ts.map +1 -0
  242. package/lib/unstable-services/intake.js +31 -0
  243. package/lib/unstable-services/intake.js.map +1 -0
  244. package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
  245. package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
  246. package/lib/unstable-services/lb_ip_lists.js +2 -0
  247. package/lib/unstable-services/lb_ip_lists.js.map +1 -0
  248. package/lib/{services → unstable-services}/mailout.d.ts +95 -126
  249. package/lib/unstable-services/mailout.d.ts.map +1 -0
  250. package/lib/unstable-services/mailout.js +30 -0
  251. package/lib/unstable-services/mailout.js.map +1 -0
  252. package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
  253. package/lib/unstable-services/pubsub.d.ts.map +1 -0
  254. package/lib/unstable-services/pubsub.js +39 -0
  255. package/lib/unstable-services/pubsub.js.map +1 -0
  256. package/lib/{services → unstable-services}/sca.d.ts +73 -23
  257. package/lib/unstable-services/sca.d.ts.map +1 -0
  258. package/lib/unstable-services/sca.js +41 -0
  259. package/lib/unstable-services/sca.js.map +1 -0
  260. package/lib/{services → unstable-services}/workflows.d.ts +29 -1
  261. package/lib/unstable-services/workflows.d.ts.map +1 -0
  262. package/lib/unstable-services/workflows.js +30 -0
  263. package/lib/unstable-services/workflows.js.map +1 -0
  264. package/lib/unstable-services.lazy/dremio.js +1 -0
  265. package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
  266. package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
  267. package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
  268. package/lib/unstable-services.lazy/index.js +3 -0
  269. package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
  270. package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
  271. package/lib/unstable-services.lazy/mailout.js +4 -0
  272. package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
  273. package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
  274. package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
  275. package/package.json +12 -6
  276. package/src/credentials.ts +44 -7
  277. package/src/errors.ts +10 -1
  278. package/src/index.ts +9 -6
  279. package/src/protocol.ts +108 -127
  280. package/src/services/alb.ts +35 -14
  281. package/src/services/alb_waf.ts +41 -17
  282. package/src/services/authorization.ts +121 -75
  283. package/src/services/automation.ts +151 -76
  284. package/src/services/cdn.ts +284 -187
  285. package/src/services/certificates.ts +17 -6
  286. package/src/services/cost.ts +75 -17
  287. package/src/services/dns.ts +219 -149
  288. package/src/services/iaas.ts +888 -708
  289. package/src/services/identity.ts +109 -51
  290. package/src/services/index.ts +0 -10
  291. package/src/services/kms.ts +185 -118
  292. package/src/services/load_balancer.ts +35 -14
  293. package/src/services/logme.ts +181 -123
  294. package/src/services/logs.ts +43 -19
  295. package/src/services/mariadb.ts +179 -121
  296. package/src/services/model_experiments.ts +122 -64
  297. package/src/services/model_serving.ts +102 -58
  298. package/src/services/mongodb_flex.ts +196 -131
  299. package/src/services/object_storage.ts +226 -106
  300. package/src/services/observability.ts +880 -709
  301. package/src/services/opensearch.ts +182 -124
  302. package/src/services/pim.ts +166 -104
  303. package/src/services/postgres_flex.ts +291 -170
  304. package/src/services/rabbitmq.ts +188 -130
  305. package/src/services/registry.ts +146 -40
  306. package/src/services/resource_manager.ts +180 -110
  307. package/src/services/run_command.ts +73 -37
  308. package/src/services/scf.ts +178 -119
  309. package/src/services/secrets_manager.ts +198 -129
  310. package/src/services/server_backup.ts +39 -17
  311. package/src/services/server_update.ts +31 -13
  312. package/src/services/service_account.ts +180 -85
  313. package/src/services/service_enablement.ts +64 -28
  314. package/src/services/sfs.ts +265 -163
  315. package/src/services/ske.ts +39 -20
  316. package/src/services/sqlserverflex.ts +290 -175
  317. package/src/services/stackit_marketplace.ts +138 -70
  318. package/src/services/telemetry_link.ts +151 -100
  319. package/src/services/telemetry_router.ts +241 -109
  320. package/src/services/ufw.ts +97 -50
  321. package/src/services/valkey.ts +179 -121
  322. package/src/services/vpn.ts +305 -194
  323. package/src/{services → unstable-services}/dremio.ts +113 -74
  324. package/src/{services → unstable-services}/edge.ts +113 -72
  325. package/src/{services → unstable-services}/functions.ts +31 -16
  326. package/src/{services → unstable-services}/git.ts +285 -133
  327. package/src/unstable-services/index.ts +11 -0
  328. package/src/{services → unstable-services}/intake.ts +41 -20
  329. package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
  330. package/src/{services → unstable-services}/mailout.ts +290 -381
  331. package/src/{services → unstable-services}/pubsub.ts +47 -19
  332. package/src/{services → unstable-services}/sca.ts +349 -172
  333. package/src/{services → unstable-services}/workflows.ts +149 -76
  334. package/lib/index.lazy.js +0 -7
  335. package/lib/index.lazy.js.map +0 -1
  336. package/lib/services/dremio.d.ts.map +0 -1
  337. package/lib/services/dremio.js +0 -2
  338. package/lib/services/dremio.js.map +0 -1
  339. package/lib/services/edge.d.ts.map +0 -1
  340. package/lib/services/edge.js +0 -29
  341. package/lib/services/edge.js.map +0 -1
  342. package/lib/services/functions.d.ts.map +0 -1
  343. package/lib/services/functions.js +0 -28
  344. package/lib/services/functions.js.map +0 -1
  345. package/lib/services/git.d.ts.map +0 -1
  346. package/lib/services/git.js +0 -41
  347. package/lib/services/git.js.map +0 -1
  348. package/lib/services/intake.d.ts.map +0 -1
  349. package/lib/services/intake.js +0 -31
  350. package/lib/services/intake.js.map +0 -1
  351. package/lib/services/lb_ip_lists.d.ts.map +0 -1
  352. package/lib/services/lb_ip_lists.js +0 -2
  353. package/lib/services/lb_ip_lists.js.map +0 -1
  354. package/lib/services/mailout.d.ts.map +0 -1
  355. package/lib/services/mailout.js +0 -33
  356. package/lib/services/mailout.js.map +0 -1
  357. package/lib/services/pubsub.d.ts.map +0 -1
  358. package/lib/services/pubsub.js +0 -39
  359. package/lib/services/pubsub.js.map +0 -1
  360. package/lib/services/sca.d.ts.map +0 -1
  361. package/lib/services/sca.js +0 -35
  362. package/lib/services/sca.js.map +0 -1
  363. package/lib/services/workflows.d.ts.map +0 -1
  364. package/lib/services/workflows.js +0 -29
  365. package/lib/services/workflows.js.map +0 -1
  366. package/lib/services.lazy/dremio.js +0 -1
  367. package/lib/services.lazy/lb_ip_lists.js +0 -1
  368. package/lib/services.lazy/mailout.js +0 -4
  369. /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 { UnknownStackitError } from "../errors.ts";
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,27 +31,48 @@ 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(0, __c0, 0)), 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?: Error | 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(0, __c0, 0)), 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?: Error | string;
59
+ }
46
60
 
47
61
  export class NotFound
48
62
  extends /*@__PURE__*/ T.applyErrorMatchers(
49
63
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
50
64
  code: S.Number,
51
65
  message: S.String,
66
+ body: /*@__PURE__*/ S.optional(
67
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
68
+ ),
69
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
52
70
  }).pipe(C.withBadRequestError),
53
71
  [{ status: 404 }],
54
- ) {}
72
+ )
73
+ {
74
+ declare readonly body?: Error | string;
75
+ }
55
76
 
56
77
  export interface CreateBackupRequest {
57
78
  /** Project id on which user has permissions */
@@ -443,7 +464,7 @@ export interface UpdateBackupsConfigRequest {
443
464
  regionId: string;
444
465
  /** Instance id */
445
466
  instanceId: string;
446
- encryption_key?: string | undefined;
467
+ encryption_key?: string | Redacted.Redacted<string> | undefined;
447
468
  }
448
469
  export interface UpdateBackupsConfigResponse {
449
470
  message: string;
@@ -462,6 +483,10 @@ export interface UpdateUpdatesSettingsResponse {
462
483
  /** Whether automatic updates are allowed. */
463
484
  automaticUpdatesEnabled: boolean;
464
485
  }
486
+ export interface Error {
487
+ description: string;
488
+ error: string;
489
+ }
465
490
  export type CreateBackupError = BadRequest | NotFound | StackitOpError;
466
491
  /** create a backup */
467
492
  export const createBackup: API.OperationMethod<
@@ -470,9 +495,10 @@ export const createBackup: API.OperationMethod<
470
495
  CreateBackupError,
471
496
  StackitOpContext
472
497
  > = /*@__PURE__*/ API.make(() => ({
473
- input: __S(128, __c16, 0) as any as S.Schema<CreateBackupRequest>,
474
- output: __S(129, __c16, 1) as any as S.Schema<CreateBackupResponseItem>,
475
- errors: [BadRequest, NotFound, UnknownStackitError],
498
+ input: __S(136, __c17, 0) as any as S.Schema<CreateBackupRequest>,
499
+ output: __S(137, __c17, 1) as any as S.Schema<CreateBackupResponseItem>,
500
+ errors: [BadRequest, NotFound],
501
+ serviceErrors: StackitServiceErrors,
476
502
  protocol: StackitProtocol,
477
503
  retry: Retry.Retry,
478
504
  telemetry: TELEMETRY,
@@ -487,9 +513,10 @@ export const createCredentials: API.OperationMethod<
487
513
  CreateCredentialsError,
488
514
  StackitOpContext
489
515
  > = /*@__PURE__*/ API.make(() => ({
490
- input: __S(136, __c17, 0) as any as S.Schema<CreateCredentialsRequest>,
491
- output: __S(146, __c18, 2) as any as S.Schema<CredentialsResponse>,
492
- errors: [BadRequest, UnknownStackitError],
516
+ input: __S(144, __c18, 0) as any as S.Schema<CreateCredentialsRequest>,
517
+ output: __S(154, __c19, 2) as any as S.Schema<CredentialsResponse>,
518
+ errors: [BadRequest],
519
+ serviceErrors: StackitServiceErrors,
493
520
  protocol: StackitProtocol,
494
521
  retry: Retry.Retry,
495
522
  telemetry: TELEMETRY,
@@ -504,9 +531,10 @@ export const createInstance: API.OperationMethod<
504
531
  CreateInstanceError,
505
532
  StackitOpContext
506
533
  > = /*@__PURE__*/ API.make(() => ({
507
- input: __S(152, __c19, 0) as any as S.Schema<CreateInstanceRequest>,
508
- output: __S(168, __c21, 0) as any as S.Schema<CreateInstanceResponse>,
509
- errors: [BadRequest, Conflict, UnknownStackitError],
534
+ input: __S(160, __c20, 0) as any as S.Schema<CreateInstanceRequest>,
535
+ output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
536
+ errors: [BadRequest, Conflict],
537
+ serviceErrors: StackitServiceErrors,
510
538
  protocol: StackitProtocol,
511
539
  retry: Retry.Retry,
512
540
  telemetry: TELEMETRY,
@@ -521,9 +549,10 @@ export const deleteCredentials: API.OperationMethod<
521
549
  DeleteCredentialsError,
522
550
  StackitOpContext
523
551
  > = /*@__PURE__*/ API.make(() => ({
524
- input: __S(176, __c22, 0) as any as S.Schema<DeleteCredentialsRequest>,
525
- output: __S(184, __c23, 0) as any as S.Schema<DeleteCredentialsResponse>,
526
- errors: [BadRequest, NotFound, UnknownStackitError],
552
+ input: __S(184, __c23, 0) as any as S.Schema<DeleteCredentialsRequest>,
553
+ output: __S(192, __c24, 0) as any as S.Schema<DeleteCredentialsResponse>,
554
+ errors: [BadRequest, NotFound],
555
+ serviceErrors: StackitServiceErrors,
527
556
  protocol: StackitProtocol,
528
557
  retry: Retry.Retry,
529
558
  telemetry: TELEMETRY,
@@ -538,9 +567,10 @@ export const deleteInstance: API.OperationMethod<
538
567
  DeleteInstanceError,
539
568
  StackitOpContext
540
569
  > = /*@__PURE__*/ API.make(() => ({
541
- input: __S(192, __c24, 0) as any as S.Schema<DeleteInstanceRequest>,
542
- output: __S(184, __c23, 0) as any as S.Schema<DeleteInstanceResponse>,
543
- errors: [BadRequest, NotFound, UnknownStackitError],
570
+ input: __S(200, __c25, 0) as any as S.Schema<DeleteInstanceRequest>,
571
+ output: __S(192, __c24, 0) as any as S.Schema<DeleteInstanceResponse>,
572
+ errors: [BadRequest, NotFound],
573
+ serviceErrors: StackitServiceErrors,
544
574
  protocol: StackitProtocol,
545
575
  retry: Retry.Retry,
546
576
  telemetry: TELEMETRY,
@@ -555,9 +585,10 @@ export const downloadBackup: API.OperationMethod<
555
585
  DownloadBackupError,
556
586
  StackitOpContext
557
587
  > = /*@__PURE__*/ API.make(() => ({
558
- input: __S(200, __c25, 0) as any as S.Schema<DownloadBackupRequest>,
559
- output: __S(184, __c23, 0) as any as S.Schema<DownloadBackupResponse>,
560
- errors: [BadRequest, NotFound, UnknownStackitError],
588
+ input: __S(208, __c26, 0) as any as S.Schema<DownloadBackupRequest>,
589
+ output: __S(192, __c24, 0) as any as S.Schema<DownloadBackupResponse>,
590
+ errors: [BadRequest, NotFound],
591
+ serviceErrors: StackitServiceErrors,
561
592
  protocol: StackitProtocol,
562
593
  retry: Retry.Retry,
563
594
  telemetry: TELEMETRY,
@@ -572,9 +603,10 @@ export const getCredentials: API.OperationMethod<
572
603
  GetCredentialsError,
573
604
  StackitOpContext
574
605
  > = /*@__PURE__*/ API.make(() => ({
575
- input: __S(208, __c26, 0) as any as S.Schema<GetCredentialsRequest>,
576
- output: __S(146, __c18, 2) as any as S.Schema<CredentialsResponse>,
577
- errors: [BadRequest, NotFound, UnknownStackitError],
606
+ input: __S(216, __c27, 0) as any as S.Schema<GetCredentialsRequest>,
607
+ output: __S(154, __c19, 2) as any as S.Schema<CredentialsResponse>,
608
+ errors: [BadRequest, NotFound],
609
+ serviceErrors: StackitServiceErrors,
578
610
  protocol: StackitProtocol,
579
611
  retry: Retry.Retry,
580
612
  telemetry: TELEMETRY,
@@ -589,9 +621,10 @@ export const getInstance: API.OperationMethod<
589
621
  GetInstanceError,
590
622
  StackitOpContext
591
623
  > = /*@__PURE__*/ API.make(() => ({
592
- input: __S(0, __c0, 0) as any as S.Schema<GetInstanceRequest>,
593
- output: __S(9, __c1, 1) as any as S.Schema<Instance>,
594
- errors: [BadRequest, NotFound, UnknownStackitError],
624
+ input: __S(8, __c1, 0) as any as S.Schema<GetInstanceRequest>,
625
+ output: __S(17, __c2, 1) as any as S.Schema<Instance>,
626
+ errors: [BadRequest, NotFound],
627
+ serviceErrors: StackitServiceErrors,
595
628
  protocol: StackitProtocol,
596
629
  retry: Retry.Retry,
597
630
  telemetry: TELEMETRY,
@@ -606,9 +639,10 @@ export const getMetrics: API.OperationMethod<
606
639
  GetMetricsError,
607
640
  StackitOpContext
608
641
  > = /*@__PURE__*/ API.make(() => ({
609
- input: __S(16, __c2, 0) as any as S.Schema<GetMetricsRequest>,
610
- output: __S(17, __c2, 1) as any as S.Schema<GetMetricsResponse>,
611
- errors: [BadRequest, NotFound, UnknownStackitError],
642
+ input: __S(24, __c3, 0) as any as S.Schema<GetMetricsRequest>,
643
+ output: __S(25, __c3, 1) as any as S.Schema<GetMetricsResponse>,
644
+ errors: [BadRequest, NotFound],
645
+ serviceErrors: StackitServiceErrors,
612
646
  protocol: StackitProtocol,
613
647
  retry: Retry.Retry,
614
648
  telemetry: TELEMETRY,
@@ -623,9 +657,10 @@ export const getUpdates: API.OperationMethod<
623
657
  GetUpdatesError,
624
658
  StackitOpContext
625
659
  > = /*@__PURE__*/ API.make(() => ({
626
- input: __S(24, __c3, 0) as any as S.Schema<GetUpdatesRequest>,
627
- output: __S(25, __c3, 1) as any as S.Schema<GetUpdatesResponse>,
628
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
660
+ input: __S(32, __c4, 0) as any as S.Schema<GetUpdatesRequest>,
661
+ output: __S(33, __c4, 1) as any as S.Schema<GetUpdatesResponse>,
662
+ errors: [BadRequest, NotFound, Conflict],
663
+ serviceErrors: StackitServiceErrors,
629
664
  protocol: StackitProtocol,
630
665
  retry: Retry.Retry,
631
666
  telemetry: TELEMETRY,
@@ -640,9 +675,10 @@ export const listBackups: API.OperationMethod<
640
675
  ListBackupsError,
641
676
  StackitOpContext
642
677
  > = /*@__PURE__*/ API.make(() => ({
643
- input: __S(32, __c4, 0) as any as S.Schema<ListBackupsRequest>,
644
- output: __S(35, __c4, 3) as any as S.Schema<ListBackupsResponse2>,
645
- errors: [BadRequest, NotFound, UnknownStackitError],
678
+ input: __S(40, __c5, 0) as any as S.Schema<ListBackupsRequest>,
679
+ output: __S(43, __c5, 3) as any as S.Schema<ListBackupsResponse2>,
680
+ errors: [BadRequest, NotFound],
681
+ serviceErrors: StackitServiceErrors,
646
682
  protocol: StackitProtocol,
647
683
  retry: Retry.Retry,
648
684
  telemetry: TELEMETRY,
@@ -657,9 +693,10 @@ export const listCredentials: API.OperationMethod<
657
693
  ListCredentialsError,
658
694
  StackitOpContext
659
695
  > = /*@__PURE__*/ API.make(() => ({
660
- input: __S(40, __c5, 0) as any as S.Schema<ListCredentialsRequest>,
661
- output: __S(43, __c5, 3) as any as S.Schema<ListCredentialsResponse>,
662
- errors: [BadRequest, NotFound, UnknownStackitError],
696
+ input: __S(48, __c6, 0) as any as S.Schema<ListCredentialsRequest>,
697
+ output: __S(51, __c6, 3) as any as S.Schema<ListCredentialsResponse>,
698
+ errors: [BadRequest, NotFound],
699
+ serviceErrors: StackitServiceErrors,
663
700
  protocol: StackitProtocol,
664
701
  retry: Retry.Retry,
665
702
  telemetry: TELEMETRY,
@@ -674,9 +711,10 @@ export const listInstances: API.OperationMethod<
674
711
  ListInstancesError,
675
712
  StackitOpContext
676
713
  > = /*@__PURE__*/ API.make(() => ({
677
- input: __S(48, __c6, 0) as any as S.Schema<ListInstancesRequest>,
678
- output: __S(50, __c6, 2) as any as S.Schema<ListInstancesResponse>,
679
- errors: [BadRequest, NotFound, UnknownStackitError],
714
+ input: __S(56, __c7, 0) as any as S.Schema<ListInstancesRequest>,
715
+ output: __S(58, __c7, 2) as any as S.Schema<ListInstancesResponse>,
716
+ errors: [BadRequest, NotFound],
717
+ serviceErrors: StackitServiceErrors,
680
718
  protocol: StackitProtocol,
681
719
  retry: Retry.Retry,
682
720
  telemetry: TELEMETRY,
@@ -691,9 +729,10 @@ export const listOfferings: API.OperationMethod<
691
729
  ListOfferingsError,
692
730
  StackitOpContext
693
731
  > = /*@__PURE__*/ API.make(() => ({
694
- input: __S(56, __c7, 0) as any as S.Schema<ListOfferingsRequest>,
695
- output: __S(63, __c7, 7) as any as S.Schema<ListOfferingsResponse>,
696
- errors: [BadRequest, NotFound, UnknownStackitError],
732
+ input: __S(64, __c8, 0) as any as S.Schema<ListOfferingsRequest>,
733
+ output: __S(71, __c8, 7) as any as S.Schema<ListOfferingsResponse>,
734
+ errors: [BadRequest, NotFound],
735
+ serviceErrors: StackitServiceErrors,
697
736
  protocol: StackitProtocol,
698
737
  retry: Retry.Retry,
699
738
  telemetry: TELEMETRY,
@@ -708,9 +747,10 @@ export const listRestores: API.OperationMethod<
708
747
  ListRestoresError,
709
748
  StackitOpContext
710
749
  > = /*@__PURE__*/ API.make(() => ({
711
- input: __S(64, __c8, 0) as any as S.Schema<ListRestoresRequest>,
712
- output: __S(67, __c8, 3) as any as S.Schema<ListRestoresResponse>,
713
- errors: [BadRequest, NotFound, UnknownStackitError],
750
+ input: __S(72, __c9, 0) as any as S.Schema<ListRestoresRequest>,
751
+ output: __S(75, __c9, 3) as any as S.Schema<ListRestoresResponse>,
752
+ errors: [BadRequest, NotFound],
753
+ serviceErrors: StackitServiceErrors,
714
754
  protocol: StackitProtocol,
715
755
  retry: Retry.Retry,
716
756
  telemetry: TELEMETRY,
@@ -725,9 +765,10 @@ export const partialUpdateInstance: API.OperationMethod<
725
765
  PartialUpdateInstanceError,
726
766
  StackitOpContext
727
767
  > = /*@__PURE__*/ API.make(() => ({
728
- input: __S(72, __c9, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
729
- output: __S(184, __c23, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
730
- errors: [BadRequest, NotFound, UnknownStackitError],
768
+ input: __S(80, __c10, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
769
+ output: __S(192, __c24, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
770
+ errors: [BadRequest, NotFound],
771
+ serviceErrors: StackitServiceErrors,
731
772
  protocol: StackitProtocol,
732
773
  retry: Retry.Retry,
733
774
  telemetry: TELEMETRY,
@@ -742,9 +783,10 @@ export const triggerRecreate: API.OperationMethod<
742
783
  TriggerRecreateError,
743
784
  StackitOpContext
744
785
  > = /*@__PURE__*/ API.make(() => ({
745
- input: __S(80, __c10, 0) as any as S.Schema<TriggerRecreateRequest>,
746
- output: __S(168, __c21, 0) as any as S.Schema<CreateInstanceResponse>,
747
- errors: [BadRequest, NotFound, UnknownStackitError],
786
+ input: __S(88, __c11, 0) as any as S.Schema<TriggerRecreateRequest>,
787
+ output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
788
+ errors: [BadRequest, NotFound],
789
+ serviceErrors: StackitServiceErrors,
748
790
  protocol: StackitProtocol,
749
791
  retry: Retry.Retry,
750
792
  telemetry: TELEMETRY,
@@ -759,9 +801,10 @@ export const triggerRestart: API.OperationMethod<
759
801
  TriggerRestartError,
760
802
  StackitOpContext
761
803
  > = /*@__PURE__*/ API.make(() => ({
762
- input: __S(88, __c11, 0) as any as S.Schema<TriggerRestartRequest>,
763
- output: __S(168, __c21, 0) as any as S.Schema<CreateInstanceResponse>,
764
- errors: [BadRequest, NotFound, UnknownStackitError],
804
+ input: __S(96, __c12, 0) as any as S.Schema<TriggerRestartRequest>,
805
+ output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
806
+ errors: [BadRequest, NotFound],
807
+ serviceErrors: StackitServiceErrors,
765
808
  protocol: StackitProtocol,
766
809
  retry: Retry.Retry,
767
810
  telemetry: TELEMETRY,
@@ -776,9 +819,10 @@ export const triggerRestore: API.OperationMethod<
776
819
  TriggerRestoreError,
777
820
  StackitOpContext
778
821
  > = /*@__PURE__*/ API.make(() => ({
779
- input: __S(96, __c12, 0) as any as S.Schema<TriggerRestoreRequest>,
780
- output: __S(97, __c12, 1) as any as S.Schema<TriggerRestoreResponse>,
781
- errors: [BadRequest, NotFound, UnknownStackitError],
822
+ input: __S(104, __c13, 0) as any as S.Schema<TriggerRestoreRequest>,
823
+ output: __S(105, __c13, 1) as any as S.Schema<TriggerRestoreResponse>,
824
+ errors: [BadRequest, NotFound],
825
+ serviceErrors: StackitServiceErrors,
782
826
  protocol: StackitProtocol,
783
827
  retry: Retry.Retry,
784
828
  telemetry: TELEMETRY,
@@ -793,9 +837,10 @@ export const triggerUpdate: API.OperationMethod<
793
837
  TriggerUpdateError,
794
838
  StackitOpContext
795
839
  > = /*@__PURE__*/ API.make(() => ({
796
- input: __S(104, __c13, 0) as any as S.Schema<TriggerUpdateRequest>,
797
- output: __S(168, __c21, 0) as any as S.Schema<CreateInstanceResponse>,
798
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
840
+ input: __S(112, __c14, 0) as any as S.Schema<TriggerUpdateRequest>,
841
+ output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
842
+ errors: [BadRequest, NotFound, Conflict],
843
+ serviceErrors: StackitServiceErrors,
799
844
  protocol: StackitProtocol,
800
845
  retry: Retry.Retry,
801
846
  telemetry: TELEMETRY,
@@ -810,9 +855,10 @@ export const updateBackupsConfig: API.OperationMethod<
810
855
  UpdateBackupsConfigError,
811
856
  StackitOpContext
812
857
  > = /*@__PURE__*/ API.make(() => ({
813
- input: __S(112, __c14, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
814
- output: __S(113, __c14, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
815
- errors: [BadRequest, NotFound, UnknownStackitError],
858
+ input: __S(120, __c15, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
859
+ output: __S(121, __c15, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
860
+ errors: [BadRequest, NotFound],
861
+ serviceErrors: StackitServiceErrors,
816
862
  protocol: StackitProtocol,
817
863
  retry: Retry.Retry,
818
864
  telemetry: TELEMETRY,
@@ -827,9 +873,10 @@ export const updateUpdatesSettings: API.OperationMethod<
827
873
  UpdateUpdatesSettingsError,
828
874
  StackitOpContext
829
875
  > = /*@__PURE__*/ API.make(() => ({
830
- input: __S(120, __c15, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
831
- output: __S(121, __c15, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
832
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
876
+ input: __S(128, __c16, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
877
+ output: __S(129, __c16, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
878
+ errors: [BadRequest, NotFound, Conflict],
879
+ serviceErrors: StackitServiceErrors,
833
880
  protocol: StackitProtocol,
834
881
  retry: Retry.Retry,
835
882
  telemetry: TELEMETRY,
@@ -838,6 +885,17 @@ export const updateUpdatesSettings: API.OperationMethod<
838
885
 
839
886
  // Schema builders: each runs one schema initializer, on that schema's first use.
840
887
  function __c0(j: number): any {
888
+ switch (j) {
889
+ case 0:
890
+ return S.suspend(() =>
891
+ S.Struct({
892
+ description: S.String,
893
+ error: S.String,
894
+ }),
895
+ ).annotate({ identifier: "Error" });
896
+ }
897
+ }
898
+ function __c1(j: number): any {
841
899
  switch (j) {
842
900
  case 0:
843
901
  return S.suspend(() =>
@@ -856,7 +914,7 @@ function __c0(j: number): any {
856
914
  ).annotate({ identifier: "GetInstanceRequest" });
857
915
  }
858
916
  }
859
- function __c1(j: number): any {
917
+ function __c2(j: number): any {
860
918
  switch (j) {
861
919
  case 0:
862
920
  return S.suspend(() =>
@@ -876,7 +934,7 @@ function __c1(j: number): any {
876
934
  imageUrl: S.String,
877
935
  instanceId: S.optional(S.String),
878
936
  instanceStatus: S.optional(S.String),
879
- lastOperation: __S(8, __c1, 0),
937
+ lastOperation: __S(16, __c2, 0),
880
938
  name: S.String,
881
939
  offeringName: S.String,
882
940
  offeringVersion: S.String,
@@ -888,7 +946,7 @@ function __c1(j: number): any {
888
946
  ).annotate({ identifier: "Instance" });
889
947
  }
890
948
  }
891
- function __c2(j: number): any {
949
+ function __c3(j: number): any {
892
950
  switch (j) {
893
951
  case 0:
894
952
  return S.suspend(() =>
@@ -936,7 +994,7 @@ function __c2(j: number): any {
936
994
  ).annotate({ identifier: "GetMetricsResponse" });
937
995
  }
938
996
  }
939
- function __c3(j: number): any {
997
+ function __c4(j: number): any {
940
998
  switch (j) {
941
999
  case 0:
942
1000
  return S.suspend(() =>
@@ -962,7 +1020,7 @@ function __c3(j: number): any {
962
1020
  ).annotate({ identifier: "GetUpdatesResponse" });
963
1021
  }
964
1022
  }
965
- function __c4(j: number): any {
1023
+ function __c5(j: number): any {
966
1024
  switch (j) {
967
1025
  case 0:
968
1026
  return S.suspend(() =>
@@ -991,14 +1049,14 @@ function __c4(j: number): any {
991
1049
  }),
992
1050
  ).annotate({ identifier: "Backup" });
993
1051
  case 2:
994
- return S.Array(__S(33, __c4, 1));
1052
+ return S.Array(__S(41, __c5, 1));
995
1053
  case 3:
996
- return S.suspend(() => __S(34, __c4, 2).pipe(T.RawResponseRoot())).annotate({
1054
+ return S.suspend(() => __S(42, __c5, 2).pipe(T.RawResponseRoot())).annotate({
997
1055
  identifier: "ListBackupsResponse2",
998
1056
  });
999
1057
  }
1000
1058
  }
1001
- function __c5(j: number): any {
1059
+ function __c6(j: number): any {
1002
1060
  switch (j) {
1003
1061
  case 0:
1004
1062
  return S.suspend(() =>
@@ -1022,16 +1080,16 @@ function __c5(j: number): any {
1022
1080
  }),
1023
1081
  ).annotate({ identifier: "CredentialsListItem" });
1024
1082
  case 2:
1025
- return S.Array(__S(41, __c5, 1));
1083
+ return S.Array(__S(49, __c6, 1));
1026
1084
  case 3:
1027
1085
  return S.suspend(() =>
1028
1086
  S.Struct({
1029
- credentialsList: __S(42, __c5, 2),
1087
+ credentialsList: __S(50, __c6, 2),
1030
1088
  }),
1031
1089
  ).annotate({ identifier: "ListCredentialsResponse" });
1032
1090
  }
1033
1091
  }
1034
- function __c6(j: number): any {
1092
+ function __c7(j: number): any {
1035
1093
  switch (j) {
1036
1094
  case 0:
1037
1095
  return S.suspend(() =>
@@ -1048,16 +1106,16 @@ function __c6(j: number): any {
1048
1106
  ),
1049
1107
  ).annotate({ identifier: "ListInstancesRequest" });
1050
1108
  case 1:
1051
- return S.Array(__S(9, __c1, 1));
1109
+ return S.Array(__S(17, __c2, 1));
1052
1110
  case 2:
1053
1111
  return S.suspend(() =>
1054
1112
  S.Struct({
1055
- instances: __S(49, __c6, 1),
1113
+ instances: __S(57, __c7, 1),
1056
1114
  }),
1057
1115
  ).annotate({ identifier: "ListInstancesResponse" });
1058
1116
  }
1059
1117
  }
1060
- function __c7(j: number): any {
1118
+ function __c8(j: number): any {
1061
1119
  switch (j) {
1062
1120
  case 0:
1063
1121
  return S.suspend(() =>
@@ -1084,7 +1142,7 @@ function __c7(j: number): any {
1084
1142
  }),
1085
1143
  ).annotate({ identifier: "Plan" });
1086
1144
  case 2:
1087
- return S.Array(__S(57, __c7, 1));
1145
+ return S.Array(__S(65, __c8, 1));
1088
1146
  case 3:
1089
1147
  return S.suspend(() =>
1090
1148
  S.Struct({
@@ -1094,8 +1152,8 @@ function __c7(j: number): any {
1094
1152
  case 4:
1095
1153
  return S.suspend(() =>
1096
1154
  S.Struct({
1097
- create: __S(59, __c7, 3),
1098
- update: __S(59, __c7, 3),
1155
+ create: __S(67, __c8, 3),
1156
+ update: __S(67, __c8, 3),
1099
1157
  }),
1100
1158
  ).annotate({ identifier: "InstanceSchema" });
1101
1159
  case 5:
@@ -1107,23 +1165,23 @@ function __c7(j: number): any {
1107
1165
  latest: S.Boolean,
1108
1166
  lifecycle: S.optional(S.String),
1109
1167
  name: S.String,
1110
- plans: __S(58, __c7, 2),
1168
+ plans: __S(66, __c8, 2),
1111
1169
  quotaCount: S.Number,
1112
- schema: S.optional(__S(60, __c7, 4)),
1170
+ schema: S.optional(__S(68, __c8, 4)),
1113
1171
  version: S.String,
1114
1172
  }),
1115
1173
  ).annotate({ identifier: "Offering" });
1116
1174
  case 6:
1117
- return S.Array(__S(61, __c7, 5));
1175
+ return S.Array(__S(69, __c8, 5));
1118
1176
  case 7:
1119
1177
  return S.suspend(() =>
1120
1178
  S.Struct({
1121
- offerings: __S(62, __c7, 6),
1179
+ offerings: __S(70, __c8, 6),
1122
1180
  }),
1123
1181
  ).annotate({ identifier: "ListOfferingsResponse" });
1124
1182
  }
1125
1183
  }
1126
- function __c8(j: number): any {
1184
+ function __c9(j: number): any {
1127
1185
  switch (j) {
1128
1186
  case 0:
1129
1187
  return S.suspend(() =>
@@ -1151,16 +1209,16 @@ function __c8(j: number): any {
1151
1209
  }),
1152
1210
  ).annotate({ identifier: "Restore" });
1153
1211
  case 2:
1154
- return S.Array(__S(65, __c8, 1));
1212
+ return S.Array(__S(73, __c9, 1));
1155
1213
  case 3:
1156
1214
  return S.suspend(() =>
1157
1215
  S.Struct({
1158
- instanceRestores: __S(66, __c8, 2),
1216
+ instanceRestores: __S(74, __c9, 2),
1159
1217
  }),
1160
1218
  ).annotate({ identifier: "ListRestoresResponse" });
1161
1219
  }
1162
1220
  }
1163
- function __c9(j: number): any {
1221
+ function __c10(j: number): any {
1164
1222
  switch (j) {
1165
1223
  case 0:
1166
1224
  return S.suspend(() =>
@@ -1169,7 +1227,7 @@ function __c9(j: number): any {
1169
1227
  regionId: S.String.pipe(T.Label()),
1170
1228
  instanceId: S.String.pipe(T.Label()),
1171
1229
  instanceName: S.optional(S.String),
1172
- parameters: S.optional(__S(164, __c20, 4)),
1230
+ parameters: S.optional(__S(172, __c21, 4)),
1173
1231
  planId: S.optional(S.String),
1174
1232
  }).pipe(
1175
1233
  T.Http({
@@ -1182,7 +1240,7 @@ function __c9(j: number): any {
1182
1240
  ).annotate({ identifier: "PartialUpdateInstanceRequest" });
1183
1241
  }
1184
1242
  }
1185
- function __c10(j: number): any {
1243
+ function __c11(j: number): any {
1186
1244
  switch (j) {
1187
1245
  case 0:
1188
1246
  return S.suspend(() =>
@@ -1201,7 +1259,7 @@ function __c10(j: number): any {
1201
1259
  ).annotate({ identifier: "TriggerRecreateRequest" });
1202
1260
  }
1203
1261
  }
1204
- function __c11(j: number): any {
1262
+ function __c12(j: number): any {
1205
1263
  switch (j) {
1206
1264
  case 0:
1207
1265
  return S.suspend(() =>
@@ -1220,7 +1278,7 @@ function __c11(j: number): any {
1220
1278
  ).annotate({ identifier: "TriggerRestartRequest" });
1221
1279
  }
1222
1280
  }
1223
- function __c12(j: number): any {
1281
+ function __c13(j: number): any {
1224
1282
  switch (j) {
1225
1283
  case 0:
1226
1284
  return S.suspend(() =>
@@ -1246,7 +1304,7 @@ function __c12(j: number): any {
1246
1304
  ).annotate({ identifier: "TriggerRestoreResponse" });
1247
1305
  }
1248
1306
  }
1249
- function __c13(j: number): any {
1307
+ function __c14(j: number): any {
1250
1308
  switch (j) {
1251
1309
  case 0:
1252
1310
  return S.suspend(() =>
@@ -1265,7 +1323,7 @@ function __c13(j: number): any {
1265
1323
  ).annotate({ identifier: "TriggerUpdateRequest" });
1266
1324
  }
1267
1325
  }
1268
- function __c14(j: number): any {
1326
+ function __c15(j: number): any {
1269
1327
  switch (j) {
1270
1328
  case 0:
1271
1329
  return S.suspend(() =>
@@ -1273,7 +1331,7 @@ function __c14(j: number): any {
1273
1331
  projectId: S.String.pipe(T.Label()),
1274
1332
  regionId: S.String.pipe(T.Label()),
1275
1333
  instanceId: S.String.pipe(T.Label()),
1276
- encryption_key: S.optional(S.String),
1334
+ encryption_key: S.optional(S.String.pipe(T.SensitiveValue({}))),
1277
1335
  }).pipe(
1278
1336
  T.Http({
1279
1337
  method: "PATCH",
@@ -1291,7 +1349,7 @@ function __c14(j: number): any {
1291
1349
  ).annotate({ identifier: "UpdateBackupsConfigResponse" });
1292
1350
  }
1293
1351
  }
1294
- function __c15(j: number): any {
1352
+ function __c16(j: number): any {
1295
1353
  switch (j) {
1296
1354
  case 0:
1297
1355
  return S.suspend(() =>
@@ -1317,7 +1375,7 @@ function __c15(j: number): any {
1317
1375
  ).annotate({ identifier: "UpdateUpdatesSettingsResponse" });
1318
1376
  }
1319
1377
  }
1320
- function __c16(j: number): any {
1378
+ function __c17(j: number): any {
1321
1379
  switch (j) {
1322
1380
  case 0:
1323
1381
  return S.suspend(() =>
@@ -1343,7 +1401,7 @@ function __c16(j: number): any {
1343
1401
  ).annotate({ identifier: "CreateBackupResponseItem" });
1344
1402
  }
1345
1403
  }
1346
- function __c17(j: number): any {
1404
+ function __c18(j: number): any {
1347
1405
  switch (j) {
1348
1406
  case 0:
1349
1407
  return S.suspend(() =>
@@ -1363,7 +1421,7 @@ function __c17(j: number): any {
1363
1421
  ).annotate({ identifier: "CreateCredentialsRequest" });
1364
1422
  }
1365
1423
  }
1366
- function __c18(j: number): any {
1424
+ function __c19(j: number): any {
1367
1425
  switch (j) {
1368
1426
  case 0:
1369
1427
  return S.suspend(() =>
@@ -1379,20 +1437,20 @@ function __c18(j: number): any {
1379
1437
  case 1:
1380
1438
  return S.suspend(() =>
1381
1439
  S.Struct({
1382
- credentials: __S(144, __c18, 0),
1440
+ credentials: __S(152, __c19, 0),
1383
1441
  }),
1384
1442
  ).annotate({ identifier: "RawCredentials" });
1385
1443
  case 2:
1386
1444
  return S.suspend(() =>
1387
1445
  S.Struct({
1388
1446
  id: S.String,
1389
- raw: S.optional(__S(145, __c18, 1)),
1447
+ raw: S.optional(__S(153, __c19, 1)),
1390
1448
  uri: S.String,
1391
1449
  }),
1392
1450
  ).annotate({ identifier: "CredentialsResponse" });
1393
1451
  }
1394
1452
  }
1395
- function __c19(j: number): any {
1453
+ function __c20(j: number): any {
1396
1454
  switch (j) {
1397
1455
  case 0:
1398
1456
  return S.suspend(() =>
@@ -1400,7 +1458,7 @@ function __c19(j: number): any {
1400
1458
  projectId: S.String.pipe(T.Label()),
1401
1459
  regionId: S.String.pipe(T.Label()),
1402
1460
  instanceName: S.String,
1403
- parameters: S.optional(__S(164, __c20, 4)),
1461
+ parameters: S.optional(__S(172, __c21, 4)),
1404
1462
  planId: S.String,
1405
1463
  }).pipe(
1406
1464
  T.Http({
@@ -1413,7 +1471,7 @@ function __c19(j: number): any {
1413
1471
  ).annotate({ identifier: "CreateInstanceRequest" });
1414
1472
  }
1415
1473
  }
1416
- function __c20(j: number): any {
1474
+ function __c21(j: number): any {
1417
1475
  switch (j) {
1418
1476
  case 0:
1419
1477
  return S.suspend(() =>
@@ -1422,7 +1480,7 @@ function __c20(j: number): any {
1422
1480
  }),
1423
1481
  ).annotate({ identifier: "InstanceParametersGroksItem" });
1424
1482
  case 1:
1425
- return S.Array(__S(160, __c20, 0));
1483
+ return S.Array(__S(168, __c21, 0));
1426
1484
  case 2:
1427
1485
  return S.Array(S.String);
1428
1486
  case 3:
@@ -1439,7 +1497,7 @@ function __c20(j: number): any {
1439
1497
  fluentd_tls_version: S.optional(S.String.pipe(T.Body("fluentd-tls-version"))),
1440
1498
  fluentd_udp: S.optional(S.Number.pipe(T.Body("fluentd-udp"))),
1441
1499
  graphite: S.optional(S.String),
1442
- groks: S.optional(__S(161, __c20, 1)),
1500
+ groks: S.optional(__S(169, __c21, 1)),
1443
1501
  ism_deletion_after: S.optional(S.String),
1444
1502
  ism_jitter: S.optional(S.Number),
1445
1503
  ism_job_interval: S.optional(S.Number),
@@ -1450,18 +1508,18 @@ function __c20(j: number): any {
1450
1508
  metrics_prefix: S.optional(S.String),
1451
1509
  monitoring_instance_id: S.optional(S.String),
1452
1510
  opensearch_tls_ciphers: S.optional(
1453
- __S(162, __c20, 2).pipe(T.Body("opensearch-tls-ciphers")),
1511
+ __S(170, __c21, 2).pipe(T.Body("opensearch-tls-ciphers")),
1454
1512
  ),
1455
1513
  opensearch_tls_protocols: S.optional(
1456
- __S(163, __c20, 3).pipe(T.Body("opensearch-tls-protocols")),
1514
+ __S(171, __c21, 3).pipe(T.Body("opensearch-tls-protocols")),
1457
1515
  ),
1458
1516
  sgw_acl: S.optional(S.String),
1459
- syslog: S.optional(__S(163, __c20, 3)),
1517
+ syslog: S.optional(__S(171, __c21, 3)),
1460
1518
  }),
1461
1519
  ).annotate({ identifier: "InstanceParameters" });
1462
1520
  }
1463
1521
  }
1464
- function __c21(j: number): any {
1522
+ function __c22(j: number): any {
1465
1523
  switch (j) {
1466
1524
  case 0:
1467
1525
  return S.suspend(() =>
@@ -1471,7 +1529,7 @@ function __c21(j: number): any {
1471
1529
  ).annotate({ identifier: "CreateInstanceResponse" });
1472
1530
  }
1473
1531
  }
1474
- function __c22(j: number): any {
1532
+ function __c23(j: number): any {
1475
1533
  switch (j) {
1476
1534
  case 0:
1477
1535
  return S.suspend(() =>
@@ -1491,13 +1549,13 @@ function __c22(j: number): any {
1491
1549
  ).annotate({ identifier: "DeleteCredentialsRequest" });
1492
1550
  }
1493
1551
  }
1494
- function __c23(j: number): any {
1552
+ function __c24(j: number): any {
1495
1553
  switch (j) {
1496
1554
  case 0:
1497
1555
  return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
1498
1556
  }
1499
1557
  }
1500
- function __c24(j: number): any {
1558
+ function __c25(j: number): any {
1501
1559
  switch (j) {
1502
1560
  case 0:
1503
1561
  return S.suspend(() =>
@@ -1516,7 +1574,7 @@ function __c24(j: number): any {
1516
1574
  ).annotate({ identifier: "DeleteInstanceRequest" });
1517
1575
  }
1518
1576
  }
1519
- function __c25(j: number): any {
1577
+ function __c26(j: number): any {
1520
1578
  switch (j) {
1521
1579
  case 0:
1522
1580
  return S.suspend(() =>
@@ -1536,7 +1594,7 @@ function __c25(j: number): any {
1536
1594
  ).annotate({ identifier: "DownloadBackupRequest" });
1537
1595
  }
1538
1596
  }
1539
- function __c26(j: number): any {
1597
+ function __c27(j: number): any {
1540
1598
  switch (j) {
1541
1599
  case 0:
1542
1600
  return S.suspend(() =>