@pantechdynamic/sdk 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +29 -0
- package/dist/index.cjs +131 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2694 -217
- package/dist/index.d.ts +2694 -217
- package/dist/index.js +131 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1284,7 +1284,7 @@ interface paths {
|
|
|
1284
1284
|
* Create a bucket
|
|
1285
1285
|
* @description Creates a bucket. It is usable once `state` is `active`, usually within seconds; follow `operation_id` or get the bucket. Objects are reached with any S3 tool at `endpoint` using path-style addressing (`<endpoint>/<bucket>/<key>`) and an access key.
|
|
1286
1286
|
*
|
|
1287
|
-
* Stored data is billed per GiB-month, measured hourly; an empty bucket costs nothing.
|
|
1287
|
+
* Stored data is billed per GiB-month, measured hourly; an empty bucket costs nothing. Data sent out and requests are billed too; data in, deletes and abandoned multipart uploads are free.
|
|
1288
1288
|
*
|
|
1289
1289
|
* **Idempotency:** a retry with the same `Idempotency-Key` returns the first bucket.
|
|
1290
1290
|
*
|
|
@@ -2237,6 +2237,339 @@ interface paths {
|
|
|
2237
2237
|
patch: operations["updateBucketDomain"];
|
|
2238
2238
|
trace?: never;
|
|
2239
2239
|
};
|
|
2240
|
+
"/public/v1/functions": {
|
|
2241
|
+
parameters: {
|
|
2242
|
+
query?: never;
|
|
2243
|
+
header?: never;
|
|
2244
|
+
path?: never;
|
|
2245
|
+
cookie?: never;
|
|
2246
|
+
};
|
|
2247
|
+
/**
|
|
2248
|
+
* List functions
|
|
2249
|
+
* @description Your organization's functions, each with the URL it answers on.
|
|
2250
|
+
*
|
|
2251
|
+
* **Scope:** `read`.
|
|
2252
|
+
*/
|
|
2253
|
+
get: operations["listFunctions"];
|
|
2254
|
+
put?: never;
|
|
2255
|
+
/**
|
|
2256
|
+
* Create a function
|
|
2257
|
+
* @description Creates a function and gives it its URL at once. It serves nothing until its first deploy succeeds. Returns `201` with the function; there is no operation to follow.
|
|
2258
|
+
*
|
|
2259
|
+
* `auth` is `key` (the default: callers send one of the function's keys in the `Authorization` header) or `public` (anyone with the URL may call it).
|
|
2260
|
+
*
|
|
2261
|
+
* **Idempotency:** a retry with the same `Idempotency-Key` and body returns the function the first attempt created.
|
|
2262
|
+
*
|
|
2263
|
+
* **Scope:** `write`.
|
|
2264
|
+
*/
|
|
2265
|
+
post: operations["createFunction"];
|
|
2266
|
+
delete?: never;
|
|
2267
|
+
options?: never;
|
|
2268
|
+
head?: never;
|
|
2269
|
+
patch?: never;
|
|
2270
|
+
trace?: never;
|
|
2271
|
+
};
|
|
2272
|
+
"/public/v1/functions/{function_id}": {
|
|
2273
|
+
parameters: {
|
|
2274
|
+
query?: never;
|
|
2275
|
+
header?: never;
|
|
2276
|
+
path?: never;
|
|
2277
|
+
cookie?: never;
|
|
2278
|
+
};
|
|
2279
|
+
/**
|
|
2280
|
+
* Get a function
|
|
2281
|
+
* @description One function.
|
|
2282
|
+
*
|
|
2283
|
+
* **Scope:** `read`.
|
|
2284
|
+
*/
|
|
2285
|
+
get: operations["getFunction"];
|
|
2286
|
+
put?: never;
|
|
2287
|
+
post?: never;
|
|
2288
|
+
/**
|
|
2289
|
+
* Delete a function
|
|
2290
|
+
* @description Deletes the function: its URL stops answering at once and its keys stop working. Its versions and code are removed in the background. Works even when functions are switched off for your organization.
|
|
2291
|
+
*
|
|
2292
|
+
* **Scope:** `write` (an AI app's key also needs `delete`).
|
|
2293
|
+
*/
|
|
2294
|
+
delete: operations["deleteFunction"];
|
|
2295
|
+
options?: never;
|
|
2296
|
+
head?: never;
|
|
2297
|
+
/**
|
|
2298
|
+
* Change a function
|
|
2299
|
+
* @description Changes who may call the function (`auth`) and how many requests it serves at once (`max_concurrency`). Send either or both; the change applies to new requests within seconds.
|
|
2300
|
+
*
|
|
2301
|
+
* **Scope:** `write`.
|
|
2302
|
+
*/
|
|
2303
|
+
patch: operations["updateFunction"];
|
|
2304
|
+
trace?: never;
|
|
2305
|
+
};
|
|
2306
|
+
"/public/v1/functions/{function_id}/deploy": {
|
|
2307
|
+
parameters: {
|
|
2308
|
+
query?: never;
|
|
2309
|
+
header?: never;
|
|
2310
|
+
path?: never;
|
|
2311
|
+
cookie?: never;
|
|
2312
|
+
};
|
|
2313
|
+
get?: never;
|
|
2314
|
+
put?: never;
|
|
2315
|
+
/**
|
|
2316
|
+
* Deploy a function
|
|
2317
|
+
* @description Builds a new version from your code. The version is numbered, starts `building`, and serves once its build succeeds; follow `operation_id` until it finishes. The version that was serving keeps serving until then, and if the build fails.
|
|
2318
|
+
*
|
|
2319
|
+
* Send the code one of two ways:
|
|
2320
|
+
*
|
|
2321
|
+
* - **One file:** a JSON body with `source.filename` (such as `index.mjs` or `main.py`) and `source.content`, at most 256 KiB.
|
|
2322
|
+
* - **A zip:** `multipart/form-data` with a `spec` part holding the same JSON without `source`, then a `code` part holding the zip, at most 25 MiB zipped and 250 MiB unpacked. Only files and folders; no links and no paths outside the zip.
|
|
2323
|
+
*
|
|
2324
|
+
* Environment variables marked `secret` are stored encrypted and never returned: reading a version shows their names only.
|
|
2325
|
+
*
|
|
2326
|
+
* **Idempotency:** a retry with the same `Idempotency-Key` returns the version the first attempt created.
|
|
2327
|
+
*
|
|
2328
|
+
* **Scope:** `write`.
|
|
2329
|
+
*/
|
|
2330
|
+
post: operations["deployFunction"];
|
|
2331
|
+
delete?: never;
|
|
2332
|
+
options?: never;
|
|
2333
|
+
head?: never;
|
|
2334
|
+
patch?: never;
|
|
2335
|
+
trace?: never;
|
|
2336
|
+
};
|
|
2337
|
+
"/public/v1/functions/{function_id}/keys": {
|
|
2338
|
+
parameters: {
|
|
2339
|
+
query?: never;
|
|
2340
|
+
header?: never;
|
|
2341
|
+
path?: never;
|
|
2342
|
+
cookie?: never;
|
|
2343
|
+
};
|
|
2344
|
+
/**
|
|
2345
|
+
* List a function's keys
|
|
2346
|
+
* @description The keys a `key` function is called with. A key itself is shown only when it is created; this list shows its last four characters as `hint`.
|
|
2347
|
+
*
|
|
2348
|
+
* **Scope:** `read`.
|
|
2349
|
+
*/
|
|
2350
|
+
get: operations["listFunctionKeys"];
|
|
2351
|
+
put?: never;
|
|
2352
|
+
/**
|
|
2353
|
+
* Create a function key
|
|
2354
|
+
* @description Creates a key callers send as `Authorization: Bearer <key>`. The key is in this response only and is never shown again; store it now. A function has at most 10 keys that are not revoked.
|
|
2355
|
+
*
|
|
2356
|
+
* **Idempotency:** a retry with the same `Idempotency-Key` is not replayed: it creates another key. If a request may have gone through, list the keys and revoke one you did not receive.
|
|
2357
|
+
*
|
|
2358
|
+
* **Scope:** `write`.
|
|
2359
|
+
*/
|
|
2360
|
+
post: operations["createFunctionKey"];
|
|
2361
|
+
delete?: never;
|
|
2362
|
+
options?: never;
|
|
2363
|
+
head?: never;
|
|
2364
|
+
patch?: never;
|
|
2365
|
+
trace?: never;
|
|
2366
|
+
};
|
|
2367
|
+
"/public/v1/functions/{function_id}/keys/{key_id}": {
|
|
2368
|
+
parameters: {
|
|
2369
|
+
query?: never;
|
|
2370
|
+
header?: never;
|
|
2371
|
+
path?: never;
|
|
2372
|
+
cookie?: never;
|
|
2373
|
+
};
|
|
2374
|
+
get?: never;
|
|
2375
|
+
put?: never;
|
|
2376
|
+
post?: never;
|
|
2377
|
+
/**
|
|
2378
|
+
* Revoke a function key
|
|
2379
|
+
* @description The key stops working within seconds. Revoked keys stay listed with `revoked_at`. Works even when functions are switched off for your organization.
|
|
2380
|
+
*
|
|
2381
|
+
* **Scope:** `write` (an AI app's key also needs `delete`).
|
|
2382
|
+
*/
|
|
2383
|
+
delete: operations["revokeFunctionKey"];
|
|
2384
|
+
options?: never;
|
|
2385
|
+
head?: never;
|
|
2386
|
+
patch?: never;
|
|
2387
|
+
trace?: never;
|
|
2388
|
+
};
|
|
2389
|
+
"/public/v1/functions/{function_id}/invocations": {
|
|
2390
|
+
parameters: {
|
|
2391
|
+
query?: never;
|
|
2392
|
+
header?: never;
|
|
2393
|
+
path?: never;
|
|
2394
|
+
cookie?: never;
|
|
2395
|
+
};
|
|
2396
|
+
/**
|
|
2397
|
+
* List a function's invocations
|
|
2398
|
+
* @description Every call of the function in the last 7 days, newest first, with its outcome, status and duration, and how many lines its code printed to stdout and stderr. Get one invocation to read its lines. A call appears within a few seconds of finishing.
|
|
2399
|
+
*
|
|
2400
|
+
* **Scope:** `write`, because logs hold whatever the code printed.
|
|
2401
|
+
*/
|
|
2402
|
+
get: operations["listFunctionInvocations"];
|
|
2403
|
+
put?: never;
|
|
2404
|
+
/**
|
|
2405
|
+
* Invoke a function
|
|
2406
|
+
* @description Calls the function's active version with the request body as its event and waits up to 60 seconds (or the function's own timeout, if shorter) for what its handler returns. The call skips the function's own authentication, so it works whether the function is public or needs a key, and it is billed like any other call.
|
|
2407
|
+
*
|
|
2408
|
+
* The body is any JSON value up to 6 MiB; an empty body is the event `{}`. The answer is 200 whenever the handler ran, even if it threw or timed out: read `outcome`. This call takes no `Idempotency-Key`: each request runs the function once, and a retry runs it again, as a retried call to its URL would. The call's printed lines are at `GET /public/v1/functions/{function_id}/invocations/{request_id}` a few seconds later.
|
|
2409
|
+
*
|
|
2410
|
+
* **Scope:** `write`.
|
|
2411
|
+
*/
|
|
2412
|
+
post: operations["invokeFunction"];
|
|
2413
|
+
delete?: never;
|
|
2414
|
+
options?: never;
|
|
2415
|
+
head?: never;
|
|
2416
|
+
patch?: never;
|
|
2417
|
+
trace?: never;
|
|
2418
|
+
};
|
|
2419
|
+
"/public/v1/functions/{function_id}/invocations/{request_id}": {
|
|
2420
|
+
parameters: {
|
|
2421
|
+
query?: never;
|
|
2422
|
+
header?: never;
|
|
2423
|
+
path?: never;
|
|
2424
|
+
cookie?: never;
|
|
2425
|
+
};
|
|
2426
|
+
/**
|
|
2427
|
+
* Get an invocation's logs
|
|
2428
|
+
* @description One call of the function with every line its code printed, in order, each with its time and stream. A call keeps up to 256 KiB of output; beyond that the middle is left out and `dropped_bytes` says how much.
|
|
2429
|
+
*
|
|
2430
|
+
* **Scope:** `write`, because logs hold whatever the code printed.
|
|
2431
|
+
*/
|
|
2432
|
+
get: operations["getFunctionInvocation"];
|
|
2433
|
+
put?: never;
|
|
2434
|
+
post?: never;
|
|
2435
|
+
delete?: never;
|
|
2436
|
+
options?: never;
|
|
2437
|
+
head?: never;
|
|
2438
|
+
patch?: never;
|
|
2439
|
+
trace?: never;
|
|
2440
|
+
};
|
|
2441
|
+
"/public/v1/functions/{function_id}/metrics": {
|
|
2442
|
+
parameters: {
|
|
2443
|
+
query?: never;
|
|
2444
|
+
header?: never;
|
|
2445
|
+
path?: never;
|
|
2446
|
+
cookie?: never;
|
|
2447
|
+
};
|
|
2448
|
+
/**
|
|
2449
|
+
* Get a function's metrics
|
|
2450
|
+
* @description How the function's calls went over a period, in equal steps: how many reached the handler and how they ended, how many were refused at the concurrency limit or for want of capacity, cold starts, and durations (average and percentiles). It also gives the function's metered usage since the start of this month (UTC). A step appears about a minute after it ends; metrics are kept 14 days.
|
|
2451
|
+
*
|
|
2452
|
+
* Durations are estimated from a histogram, so a percentile is accurate to its bucket. They are null in a step where no call reached the handler.
|
|
2453
|
+
*
|
|
2454
|
+
* **Scope:** `read`.
|
|
2455
|
+
*/
|
|
2456
|
+
get: operations["getFunctionMetrics"];
|
|
2457
|
+
put?: never;
|
|
2458
|
+
post?: never;
|
|
2459
|
+
delete?: never;
|
|
2460
|
+
options?: never;
|
|
2461
|
+
head?: never;
|
|
2462
|
+
patch?: never;
|
|
2463
|
+
trace?: never;
|
|
2464
|
+
};
|
|
2465
|
+
"/public/v1/functions/{function_id}/schedules": {
|
|
2466
|
+
parameters: {
|
|
2467
|
+
query?: never;
|
|
2468
|
+
header?: never;
|
|
2469
|
+
path?: never;
|
|
2470
|
+
cookie?: never;
|
|
2471
|
+
};
|
|
2472
|
+
/**
|
|
2473
|
+
* List a function's schedules
|
|
2474
|
+
* @description The schedules that call the function on a timetable, oldest first, each with its next run and how its last run ended.
|
|
2475
|
+
*
|
|
2476
|
+
* **Scope:** `read`.
|
|
2477
|
+
*/
|
|
2478
|
+
get: operations["listFunctionSchedules"];
|
|
2479
|
+
put?: never;
|
|
2480
|
+
/**
|
|
2481
|
+
* Add a schedule to a function
|
|
2482
|
+
* @description Calls the function on a timetable, starting at the next time the expression matches. Each run calls the version serving at that moment with this event:
|
|
2483
|
+
*
|
|
2484
|
+
* `{"trigger": "schedule", "schedule_id": "fns_...", "event_id": "...", "scheduled_at": "...", "input": ...}`
|
|
2485
|
+
*
|
|
2486
|
+
* A run is delivered at least once: in rare cases (a restart mid-run) it can be called twice with the same `event_id`, so a handler that must not repeat its work should remember the ids it has seen. Runs that were missed while the platform could not call the function are not caught up one by one; the schedule runs once and moves on. Each run is billed as a call.
|
|
2487
|
+
*
|
|
2488
|
+
* `expression` is five cron fields (minute hour day-of-month month day-of-week, with lists, ranges, steps and names such as `MON-FRI`), a shortcut (`@hourly`, `@daily`, `@weekly`, `@monthly`), or `rate(N minutes|hours|days)`. Cron is read in `time_zone` (default `UTC`). A function has at most 10 schedules.
|
|
2489
|
+
*
|
|
2490
|
+
* **Idempotency:** a retry with the same `Idempotency-Key` is not replayed: it adds another schedule. If a request may have gone through, list the schedules and delete the extra one.
|
|
2491
|
+
*
|
|
2492
|
+
* **Scope:** `write`.
|
|
2493
|
+
*/
|
|
2494
|
+
post: operations["createFunctionSchedule"];
|
|
2495
|
+
delete?: never;
|
|
2496
|
+
options?: never;
|
|
2497
|
+
head?: never;
|
|
2498
|
+
patch?: never;
|
|
2499
|
+
trace?: never;
|
|
2500
|
+
};
|
|
2501
|
+
"/public/v1/functions/{function_id}/schedules/{schedule_id}": {
|
|
2502
|
+
parameters: {
|
|
2503
|
+
query?: never;
|
|
2504
|
+
header?: never;
|
|
2505
|
+
path?: never;
|
|
2506
|
+
cookie?: never;
|
|
2507
|
+
};
|
|
2508
|
+
get?: never;
|
|
2509
|
+
put?: never;
|
|
2510
|
+
post?: never;
|
|
2511
|
+
/**
|
|
2512
|
+
* Delete a schedule
|
|
2513
|
+
* @description Stops the schedule for good. A run already started finishes.
|
|
2514
|
+
*
|
|
2515
|
+
* **Scope:** `write` (an AI app's key also needs `delete`).
|
|
2516
|
+
*/
|
|
2517
|
+
delete: operations["deleteFunctionSchedule"];
|
|
2518
|
+
options?: never;
|
|
2519
|
+
head?: never;
|
|
2520
|
+
/**
|
|
2521
|
+
* Change a schedule
|
|
2522
|
+
* @description Changes the fields sent and keeps the rest. `state` pauses (`paused`) or resumes (`active`) the schedule; a resumed schedule runs next at the next time its expression matches, not for the runs it missed while paused. `input` set to null removes it.
|
|
2523
|
+
*
|
|
2524
|
+
* **Scope:** `write`.
|
|
2525
|
+
*/
|
|
2526
|
+
patch: operations["updateFunctionSchedule"];
|
|
2527
|
+
trace?: never;
|
|
2528
|
+
};
|
|
2529
|
+
"/public/v1/functions/{function_id}/versions": {
|
|
2530
|
+
parameters: {
|
|
2531
|
+
query?: never;
|
|
2532
|
+
header?: never;
|
|
2533
|
+
path?: never;
|
|
2534
|
+
cookie?: never;
|
|
2535
|
+
};
|
|
2536
|
+
/**
|
|
2537
|
+
* List a function's versions
|
|
2538
|
+
* @description Every version deployed, newest first, with its build state. `active` marks the one serving.
|
|
2539
|
+
*
|
|
2540
|
+
* **Scope:** `read`.
|
|
2541
|
+
*/
|
|
2542
|
+
get: operations["listFunctionVersions"];
|
|
2543
|
+
put?: never;
|
|
2544
|
+
post?: never;
|
|
2545
|
+
delete?: never;
|
|
2546
|
+
options?: never;
|
|
2547
|
+
head?: never;
|
|
2548
|
+
patch?: never;
|
|
2549
|
+
trace?: never;
|
|
2550
|
+
};
|
|
2551
|
+
"/public/v1/functions/{function_id}/versions/{number}/activate": {
|
|
2552
|
+
parameters: {
|
|
2553
|
+
query?: never;
|
|
2554
|
+
header?: never;
|
|
2555
|
+
path?: never;
|
|
2556
|
+
cookie?: never;
|
|
2557
|
+
};
|
|
2558
|
+
get?: never;
|
|
2559
|
+
put?: never;
|
|
2560
|
+
/**
|
|
2561
|
+
* Serve a version
|
|
2562
|
+
* @description Makes this version the one that serves: a rollback to an earlier version, or forward again. Only a version whose build succeeded can serve. New requests reach it within seconds.
|
|
2563
|
+
*
|
|
2564
|
+
* **Scope:** `write`.
|
|
2565
|
+
*/
|
|
2566
|
+
post: operations["activateFunctionVersion"];
|
|
2567
|
+
delete?: never;
|
|
2568
|
+
options?: never;
|
|
2569
|
+
head?: never;
|
|
2570
|
+
patch?: never;
|
|
2571
|
+
trace?: never;
|
|
2572
|
+
};
|
|
2240
2573
|
"/public/v1/images": {
|
|
2241
2574
|
parameters: {
|
|
2242
2575
|
query?: never;
|
|
@@ -7203,6 +7536,23 @@ interface components {
|
|
|
7203
7536
|
*/
|
|
7204
7537
|
action?: "allow" | "deny";
|
|
7205
7538
|
};
|
|
7539
|
+
CreateFunctionKeyRequest: {
|
|
7540
|
+
/** @description A name for the key, such as `billing-service`: 1 to 63 lowercase letters, digits and hyphens. */
|
|
7541
|
+
name: string;
|
|
7542
|
+
};
|
|
7543
|
+
CreateFunctionRequest: {
|
|
7544
|
+
/** @description 1 to 63 lowercase letters, digits and hyphens, starting with a letter; unique in its zone. */
|
|
7545
|
+
name: string;
|
|
7546
|
+
/** @description The zone the function runs in, such as `af-abj-2`. */
|
|
7547
|
+
zone_id: string;
|
|
7548
|
+
/**
|
|
7549
|
+
* @description `key` (the default) needs one of the function's keys; `public` lets anyone with the URL call it.
|
|
7550
|
+
* @enum {string}
|
|
7551
|
+
*/
|
|
7552
|
+
auth?: "key" | "public";
|
|
7553
|
+
/** @description The most requests it serves at once. Left out, the organization's limit. */
|
|
7554
|
+
max_concurrency?: number;
|
|
7555
|
+
};
|
|
7206
7556
|
CreateInstanceRequest: {
|
|
7207
7557
|
/**
|
|
7208
7558
|
* @description 1 to 255 characters of lowercase letters a-z, digits 0-9 and hyphens (-), starting and ending with a letter or digit, unique among your instances. Anything else is refused with 422 INVALID_INSTANCE_NAME. The guest hostname is derived from it (at most 63 characters).
|
|
@@ -7382,6 +7732,116 @@ interface components {
|
|
|
7382
7732
|
*/
|
|
7383
7733
|
instance_ids?: string[];
|
|
7384
7734
|
};
|
|
7735
|
+
/** @description A new function, and the operation that recorded it (already `succeeded`). */
|
|
7736
|
+
CreatedFunction: components["schemas"]["Function"] & {
|
|
7737
|
+
/** @description The operation that created the function. */
|
|
7738
|
+
operation_id: string;
|
|
7739
|
+
};
|
|
7740
|
+
/** @description A new key. `key` is shown only here. */
|
|
7741
|
+
CreatedFunctionKey: components["schemas"]["FunctionKey"] & {
|
|
7742
|
+
/** @description The key itself, starting `pfk_`. Callers send it as `Authorization: Bearer <key>`. Store it now: it is never shown again. */
|
|
7743
|
+
key: string;
|
|
7744
|
+
};
|
|
7745
|
+
DeployFunctionMultipart: {
|
|
7746
|
+
spec: components["schemas"]["DeployFunctionSettings"];
|
|
7747
|
+
/**
|
|
7748
|
+
* Format: binary
|
|
7749
|
+
* @description The zip: at most 25 MiB zipped and 250 MiB unpacked, files and folders only.
|
|
7750
|
+
*/
|
|
7751
|
+
code: string;
|
|
7752
|
+
};
|
|
7753
|
+
/** @description A deploy of one inline file. */
|
|
7754
|
+
DeployFunctionRequest: {
|
|
7755
|
+
/**
|
|
7756
|
+
* @description The language runtime.
|
|
7757
|
+
* @enum {string}
|
|
7758
|
+
*/
|
|
7759
|
+
runtime: "nodejs22" | "python3.13";
|
|
7760
|
+
/** @description What to call: `file.export` for Node.js (default `index.handler`) or `module.function` for Python (default `main.handler`). */
|
|
7761
|
+
handler?: string;
|
|
7762
|
+
/**
|
|
7763
|
+
* @description Memory per instance, in MiB. Left out, 128.
|
|
7764
|
+
* @enum {integer}
|
|
7765
|
+
*/
|
|
7766
|
+
memory_mib?: 128 | 256 | 512 | 1024 | 2048;
|
|
7767
|
+
/** @description How long one request may run. Left out, 30. */
|
|
7768
|
+
timeout_seconds?: number;
|
|
7769
|
+
/** @description Environment variables, at most 4 KiB in all. */
|
|
7770
|
+
environment?: components["schemas"]["FunctionEnvironmentVariable"][];
|
|
7771
|
+
/** @description The single source file. */
|
|
7772
|
+
source: {
|
|
7773
|
+
/** @description The file's name, such as `index.mjs` or `main.py`, with no folders. */
|
|
7774
|
+
filename: string;
|
|
7775
|
+
/** @description The file's text, at most 256 KiB. */
|
|
7776
|
+
content: string;
|
|
7777
|
+
};
|
|
7778
|
+
};
|
|
7779
|
+
DeployFunctionSettings: {
|
|
7780
|
+
/**
|
|
7781
|
+
* @description The language runtime.
|
|
7782
|
+
* @enum {string}
|
|
7783
|
+
*/
|
|
7784
|
+
runtime: "nodejs22" | "python3.13";
|
|
7785
|
+
/** @description What to call: `file.export` for Node.js (default `index.handler`) or `module.function` for Python (default `main.handler`). */
|
|
7786
|
+
handler?: string;
|
|
7787
|
+
/**
|
|
7788
|
+
* @description Memory per instance, in MiB. Left out, 128.
|
|
7789
|
+
* @enum {integer}
|
|
7790
|
+
*/
|
|
7791
|
+
memory_mib?: 128 | 256 | 512 | 1024 | 2048;
|
|
7792
|
+
/** @description How long one request may run. Left out, 30. */
|
|
7793
|
+
timeout_seconds?: number;
|
|
7794
|
+
/** @description Environment variables, at most 4 KiB in all. */
|
|
7795
|
+
environment?: components["schemas"]["FunctionEnvironmentVariable"][];
|
|
7796
|
+
};
|
|
7797
|
+
/** @description A function: code that runs on each request to its URL. */
|
|
7798
|
+
Function: {
|
|
7799
|
+
/** @description The function's id, starting `fn_`. */
|
|
7800
|
+
id: string;
|
|
7801
|
+
/** @description The function's name. */
|
|
7802
|
+
name: string;
|
|
7803
|
+
/** @description The zone it runs in. */
|
|
7804
|
+
zone_id: string;
|
|
7805
|
+
/** @description Where it answers: `https://<random>.fn.pantechdynamics.com`. */
|
|
7806
|
+
url: string;
|
|
7807
|
+
/**
|
|
7808
|
+
* @description `key`: callers send one of its keys. `public`: anyone with the URL.
|
|
7809
|
+
* @enum {string}
|
|
7810
|
+
*/
|
|
7811
|
+
auth: "key" | "public";
|
|
7812
|
+
/** @description The most requests it serves at once. */
|
|
7813
|
+
max_concurrency: number;
|
|
7814
|
+
/** @description The newest version's number; 0 before the first deploy. */
|
|
7815
|
+
latest_version: number;
|
|
7816
|
+
/** @description The version serving; 0 until a build first succeeds. */
|
|
7817
|
+
active_version: number;
|
|
7818
|
+
/**
|
|
7819
|
+
* @description `active`, or `deleted` once deleted.
|
|
7820
|
+
* @enum {string}
|
|
7821
|
+
*/
|
|
7822
|
+
state: "active" | "deleted";
|
|
7823
|
+
/**
|
|
7824
|
+
* Format: date-time
|
|
7825
|
+
* @description When it was created.
|
|
7826
|
+
*/
|
|
7827
|
+
created_at: string;
|
|
7828
|
+
};
|
|
7829
|
+
/** @description A deploy that was accepted: the new version, and the operation building it. */
|
|
7830
|
+
FunctionDeployment: {
|
|
7831
|
+
/** @description The build. Poll `GET /public/v1/operations/{operation_id}` (also the `Location` header) until it is `succeeded` or `failed`. */
|
|
7832
|
+
operation_id: string;
|
|
7833
|
+
/** @description The operation's status when accepted, usually `submitting`. */
|
|
7834
|
+
status: string;
|
|
7835
|
+
version: components["schemas"]["FunctionVersion"];
|
|
7836
|
+
};
|
|
7837
|
+
FunctionEnvironmentVariable: {
|
|
7838
|
+
/** @description Letters, digits and underscores, not starting with a digit or `PANTECH_`. */
|
|
7839
|
+
name: string;
|
|
7840
|
+
/** @description The value. Empty when reading a secret variable: secret values are never returned. */
|
|
7841
|
+
value: string;
|
|
7842
|
+
/** @description Stored encrypted and never returned. */
|
|
7843
|
+
secret: boolean;
|
|
7844
|
+
};
|
|
7385
7845
|
/** @description A bucket. */
|
|
7386
7846
|
Bucket: {
|
|
7387
7847
|
/** @description The bucket's id, starting `bkt_`. */
|
|
@@ -7425,7 +7885,7 @@ interface components {
|
|
|
7425
7885
|
* @enum {string}
|
|
7426
7886
|
*/
|
|
7427
7887
|
encryption?: "none" | "sse_s3";
|
|
7428
|
-
/** @description Key prefixes anyone may read without a key, sorted. Empty is wholly private. */
|
|
7888
|
+
/** @description Key prefixes anyone may read without a key, sorted. Empty is wholly private; `[""]` (one empty prefix) is public read for every object. */
|
|
7429
7889
|
public_prefixes: string[];
|
|
7430
7890
|
/**
|
|
7431
7891
|
* @description `provisioning` until the bucket can be used, `updating` while a change is applied.
|
|
@@ -7486,7 +7946,7 @@ interface components {
|
|
|
7486
7946
|
* @enum {string}
|
|
7487
7947
|
*/
|
|
7488
7948
|
encryption?: "none" | "sse_s3";
|
|
7489
|
-
/** @description Key prefixes anyone may read without a key, e.g. `public/`. At most 20. */
|
|
7949
|
+
/** @description Key prefixes anyone may read without a key, e.g. `public/`. At most 20. `[""]` (one empty prefix) makes every object public read. */
|
|
7490
7950
|
public_prefixes?: string[];
|
|
7491
7951
|
};
|
|
7492
7952
|
/** @description Send only what changes. */
|
|
@@ -7503,7 +7963,7 @@ interface components {
|
|
|
7503
7963
|
* @enum {string}
|
|
7504
7964
|
*/
|
|
7505
7965
|
encryption?: "none" | "sse_s3";
|
|
7506
|
-
/** @description Replaces the public prefixes
|
|
7966
|
+
/** @description Replaces the public prefixes: `[""]` (one empty prefix) makes every object public read, and an empty list makes the bucket wholly private. */
|
|
7507
7967
|
public_prefixes?: string[];
|
|
7508
7968
|
};
|
|
7509
7969
|
ObjectStorageStatus: {
|
|
@@ -7609,6 +8069,309 @@ interface components {
|
|
|
7609
8069
|
*/
|
|
7610
8070
|
expires_at?: string;
|
|
7611
8071
|
};
|
|
8072
|
+
/** @description A key a `key` function is called with, without the key itself. */
|
|
8073
|
+
FunctionKey: {
|
|
8074
|
+
/** @description The key's id, starting `fnk_`. */
|
|
8075
|
+
id: string;
|
|
8076
|
+
/** @description The function it opens. */
|
|
8077
|
+
function_id: string;
|
|
8078
|
+
/** @description The key's name. */
|
|
8079
|
+
name: string;
|
|
8080
|
+
/** @description The key's last four characters, to tell keys apart. */
|
|
8081
|
+
hint: string;
|
|
8082
|
+
/**
|
|
8083
|
+
* Format: date-time
|
|
8084
|
+
* @description When it was created.
|
|
8085
|
+
*/
|
|
8086
|
+
created_at: string;
|
|
8087
|
+
/**
|
|
8088
|
+
* Format: date-time
|
|
8089
|
+
* @description When it was revoked; null while it works.
|
|
8090
|
+
*/
|
|
8091
|
+
revoked_at: string | null;
|
|
8092
|
+
};
|
|
8093
|
+
FunctionKeyList: {
|
|
8094
|
+
data: components["schemas"]["FunctionKey"][];
|
|
8095
|
+
};
|
|
8096
|
+
/** @description A timetable the function is called on. */
|
|
8097
|
+
FunctionSchedule: {
|
|
8098
|
+
/** @description The schedule's id, starting `fns_`. */
|
|
8099
|
+
id: string;
|
|
8100
|
+
/** @description The function it calls. */
|
|
8101
|
+
function_id: string;
|
|
8102
|
+
/** @description Five cron fields, a shortcut such as `@daily`, or `rate(N minutes|hours|days)`. */
|
|
8103
|
+
expression: string;
|
|
8104
|
+
/** @description The IANA time zone cron is read in. */
|
|
8105
|
+
time_zone: string;
|
|
8106
|
+
/** @description A note for people; empty when none. */
|
|
8107
|
+
description: string;
|
|
8108
|
+
/** @description JSON passed to every run as the event's `input`; null when none. */
|
|
8109
|
+
input: Record<string, never> | unknown[] | string | number | boolean | null;
|
|
8110
|
+
/**
|
|
8111
|
+
* @description `active` runs on the timetable; `paused` does not.
|
|
8112
|
+
* @enum {string}
|
|
8113
|
+
*/
|
|
8114
|
+
state: "active" | "paused";
|
|
8115
|
+
/**
|
|
8116
|
+
* Format: date-time
|
|
8117
|
+
* @description When it runs next; null while paused.
|
|
8118
|
+
*/
|
|
8119
|
+
next_run_at: string | null;
|
|
8120
|
+
/**
|
|
8121
|
+
* Format: date-time
|
|
8122
|
+
* @description When the last run was due; null before the first.
|
|
8123
|
+
*/
|
|
8124
|
+
last_run_at: string | null;
|
|
8125
|
+
/**
|
|
8126
|
+
* @description How the last run ended: `ok`, `error`, `timeout` or `crashed` as for any call; `not_serving` (no version was serving), `suspended`, `throttled` (at the concurrency limit), `busy` (no capacity), or `failed` (it could not be called). Null before the first run.
|
|
8127
|
+
* @enum {string|null}
|
|
8128
|
+
*/
|
|
8129
|
+
last_outcome: "ok" | "error" | "timeout" | "crashed" | "not_serving" | "suspended" | "throttled" | "busy" | "failed" | null;
|
|
8130
|
+
/** @description The last run's request id, to find its logs; null when it did not reach the code. */
|
|
8131
|
+
last_request_id: string | null;
|
|
8132
|
+
/**
|
|
8133
|
+
* Format: date-time
|
|
8134
|
+
* @description When it was added.
|
|
8135
|
+
*/
|
|
8136
|
+
created_at: string;
|
|
8137
|
+
};
|
|
8138
|
+
FunctionScheduleList: {
|
|
8139
|
+
data: components["schemas"]["FunctionSchedule"][];
|
|
8140
|
+
};
|
|
8141
|
+
CreateFunctionScheduleRequest: {
|
|
8142
|
+
/**
|
|
8143
|
+
* @description Five cron fields (minute hour day-of-month month day-of-week), `@hourly`, `@daily`, `@weekly`, `@monthly`, or `rate(N minutes|hours|days)`. At most once a minute.
|
|
8144
|
+
* @example 0 9 * * MON-FRI
|
|
8145
|
+
*/
|
|
8146
|
+
expression: string;
|
|
8147
|
+
/**
|
|
8148
|
+
* @description An IANA time zone cron is read in. Defaults to `UTC`.
|
|
8149
|
+
* @example Africa/Lagos
|
|
8150
|
+
*/
|
|
8151
|
+
time_zone?: string;
|
|
8152
|
+
/** @description A note for people, on one line. */
|
|
8153
|
+
description?: string;
|
|
8154
|
+
/** @description Any JSON value, at most 8 KiB, passed to every run as the event's `input`. */
|
|
8155
|
+
input?: unknown;
|
|
8156
|
+
};
|
|
8157
|
+
/** @description The fields to change; the rest stay. */
|
|
8158
|
+
UpdateFunctionScheduleRequest: {
|
|
8159
|
+
/** @description As when adding one. */
|
|
8160
|
+
expression?: string;
|
|
8161
|
+
/** @description As when adding one. */
|
|
8162
|
+
time_zone?: string;
|
|
8163
|
+
description?: string;
|
|
8164
|
+
/** @description Any JSON value, at most 8 KiB; null removes it. */
|
|
8165
|
+
input?: unknown;
|
|
8166
|
+
/**
|
|
8167
|
+
* @description `paused` stops runs; `active` resumes them from the next match.
|
|
8168
|
+
* @enum {string}
|
|
8169
|
+
*/
|
|
8170
|
+
state?: "active" | "paused";
|
|
8171
|
+
};
|
|
8172
|
+
FunctionList: {
|
|
8173
|
+
data: components["schemas"]["Function"][];
|
|
8174
|
+
};
|
|
8175
|
+
/** @description One deploy of a function's code and settings. */
|
|
8176
|
+
FunctionVersion: {
|
|
8177
|
+
/** @description The version's id, starting `fnv_`. */
|
|
8178
|
+
id: string;
|
|
8179
|
+
/** @description The function. */
|
|
8180
|
+
function_id: string;
|
|
8181
|
+
/** @description 1 for the first deploy, then 2, 3, … */
|
|
8182
|
+
number: number;
|
|
8183
|
+
/**
|
|
8184
|
+
* @description The language runtime.
|
|
8185
|
+
* @enum {string}
|
|
8186
|
+
*/
|
|
8187
|
+
runtime: "nodejs22" | "python3.13";
|
|
8188
|
+
/** @description What is called on each request. */
|
|
8189
|
+
handler: string;
|
|
8190
|
+
/** @description Memory per instance, in MiB. */
|
|
8191
|
+
memory_mib: number;
|
|
8192
|
+
/** @description How long one request may run. */
|
|
8193
|
+
timeout_seconds: number;
|
|
8194
|
+
/** @description Its environment variables; secret ones without their values. */
|
|
8195
|
+
environment: components["schemas"]["FunctionEnvironmentVariable"][];
|
|
8196
|
+
/** @description The SHA-256 of the zip that was deployed, in hex. */
|
|
8197
|
+
code_sha256: string;
|
|
8198
|
+
/**
|
|
8199
|
+
* @description `building`, then `ready` (it can serve) or `failed`.
|
|
8200
|
+
* @enum {string}
|
|
8201
|
+
*/
|
|
8202
|
+
state: "building" | "ready" | "failed";
|
|
8203
|
+
/** @description Why the build failed; null otherwise. */
|
|
8204
|
+
failure_reason: string | null;
|
|
8205
|
+
/** @description It is the version serving. */
|
|
8206
|
+
active: boolean;
|
|
8207
|
+
/**
|
|
8208
|
+
* Format: date-time
|
|
8209
|
+
* @description When it was deployed.
|
|
8210
|
+
*/
|
|
8211
|
+
created_at: string;
|
|
8212
|
+
/**
|
|
8213
|
+
* Format: date-time
|
|
8214
|
+
* @description When its build finished; null while building.
|
|
8215
|
+
*/
|
|
8216
|
+
finished_at: string | null;
|
|
8217
|
+
};
|
|
8218
|
+
/** @description One call of a function, without its lines. */
|
|
8219
|
+
FunctionInvocationSummary: {
|
|
8220
|
+
/** @description The call's request id, as its response's `X-Request-Id` header gave it. */
|
|
8221
|
+
request_id: string;
|
|
8222
|
+
/** @description The version that served it. */
|
|
8223
|
+
version: number;
|
|
8224
|
+
/**
|
|
8225
|
+
* Format: date-time
|
|
8226
|
+
* @description When the call started.
|
|
8227
|
+
*/
|
|
8228
|
+
started_at: string;
|
|
8229
|
+
/** @description How long it ran, in milliseconds. */
|
|
8230
|
+
duration_ms: number;
|
|
8231
|
+
/**
|
|
8232
|
+
* @description `ok` it returned; `error` it threw or returned an error; `timeout` it ran past its timeout; `crashed` its process exited.
|
|
8233
|
+
* @enum {string}
|
|
8234
|
+
*/
|
|
8235
|
+
outcome: "ok" | "error" | "timeout" | "crashed";
|
|
8236
|
+
/** @description The HTTP status the caller received. */
|
|
8237
|
+
status: number;
|
|
8238
|
+
/** @description How many lines it printed. */
|
|
8239
|
+
line_count: number;
|
|
8240
|
+
/** @description Bytes of output left out because the call printed more than 256 KiB; 0 when nothing was. */
|
|
8241
|
+
dropped_bytes: number;
|
|
8242
|
+
};
|
|
8243
|
+
/** @description One call of a function with every line its code printed. */
|
|
8244
|
+
FunctionInvocation: {
|
|
8245
|
+
/** @description The call's request id, as its response's `X-Request-Id` header gave it. */
|
|
8246
|
+
request_id: string;
|
|
8247
|
+
/** @description The version that served it. */
|
|
8248
|
+
version: number;
|
|
8249
|
+
/**
|
|
8250
|
+
* Format: date-time
|
|
8251
|
+
* @description When the call started.
|
|
8252
|
+
*/
|
|
8253
|
+
started_at: string;
|
|
8254
|
+
/** @description How long it ran, in milliseconds. */
|
|
8255
|
+
duration_ms: number;
|
|
8256
|
+
/**
|
|
8257
|
+
* @description `ok` it returned; `error` it threw or returned an error; `timeout` it ran past its timeout; `crashed` its process exited.
|
|
8258
|
+
* @enum {string}
|
|
8259
|
+
*/
|
|
8260
|
+
outcome: "ok" | "error" | "timeout" | "crashed";
|
|
8261
|
+
/** @description The HTTP status the caller received. */
|
|
8262
|
+
status: number;
|
|
8263
|
+
/** @description How many lines it printed. */
|
|
8264
|
+
line_count: number;
|
|
8265
|
+
/** @description Bytes of output left out because the call printed more than 256 KiB; 0 when nothing was. */
|
|
8266
|
+
dropped_bytes: number;
|
|
8267
|
+
/** @description Every line it printed, in order. */
|
|
8268
|
+
lines: components["schemas"]["FunctionLogLine"][];
|
|
8269
|
+
};
|
|
8270
|
+
FunctionLogLine: {
|
|
8271
|
+
/**
|
|
8272
|
+
* Format: date-time
|
|
8273
|
+
* @description When the line was printed.
|
|
8274
|
+
*/
|
|
8275
|
+
at: string;
|
|
8276
|
+
/**
|
|
8277
|
+
* @description Where it was printed.
|
|
8278
|
+
* @enum {string}
|
|
8279
|
+
*/
|
|
8280
|
+
stream: "stdout" | "stderr";
|
|
8281
|
+
/** @description The line, without its newline. Control characters and terminal colour codes are removed. */
|
|
8282
|
+
text: string;
|
|
8283
|
+
};
|
|
8284
|
+
FunctionInvokeResult: {
|
|
8285
|
+
/** @description The call's request id; its logs are under this id. */
|
|
8286
|
+
request_id: string;
|
|
8287
|
+
/** @description The version that ran. */
|
|
8288
|
+
version: number;
|
|
8289
|
+
/**
|
|
8290
|
+
* @description `ok` the handler returned; `error` it threw or returned an error; `timeout` it ran past its timeout; `crashed` its runtime stopped.
|
|
8291
|
+
* @enum {string}
|
|
8292
|
+
*/
|
|
8293
|
+
outcome: "ok" | "error" | "timeout" | "crashed";
|
|
8294
|
+
/** @description How long the handler ran, in milliseconds. */
|
|
8295
|
+
duration_ms: number;
|
|
8296
|
+
/** @description What the handler returned, as JSON, when `outcome` is `ok`; otherwise null. */
|
|
8297
|
+
response: unknown;
|
|
8298
|
+
};
|
|
8299
|
+
FunctionMetricsCounts: {
|
|
8300
|
+
/** @description Calls that reached the handler. */
|
|
8301
|
+
requests: number;
|
|
8302
|
+
/** @description Of those, calls whose handler threw or returned an error. */
|
|
8303
|
+
errors: number;
|
|
8304
|
+
/** @description Of those, calls that ran past the function's timeout. */
|
|
8305
|
+
timeouts: number;
|
|
8306
|
+
/** @description Of those, calls whose runtime stopped. */
|
|
8307
|
+
crashes: number;
|
|
8308
|
+
/** @description Calls refused with 429 because the function was running as many requests as its concurrency limit allows. */
|
|
8309
|
+
throttled: number;
|
|
8310
|
+
/** @description Calls refused with 503 for want of free capacity. */
|
|
8311
|
+
busy: number;
|
|
8312
|
+
/** @description Calls that had to start a new instance first. */
|
|
8313
|
+
cold_starts: number;
|
|
8314
|
+
/** @description Average time the handler ran, in milliseconds. */
|
|
8315
|
+
avg_duration_ms: number | null;
|
|
8316
|
+
/** @description Median duration, in milliseconds. */
|
|
8317
|
+
p50_ms: number | null;
|
|
8318
|
+
/** @description 95th-percentile duration, in milliseconds. */
|
|
8319
|
+
p95_ms: number | null;
|
|
8320
|
+
/** @description 99th-percentile duration, in milliseconds. */
|
|
8321
|
+
p99_ms: number | null;
|
|
8322
|
+
/** @description Average time a cold start took before the handler ran, in milliseconds; null with no cold starts. */
|
|
8323
|
+
avg_startup_ms: number | null;
|
|
8324
|
+
};
|
|
8325
|
+
FunctionMetricsPoint: {
|
|
8326
|
+
/**
|
|
8327
|
+
* Format: date-time
|
|
8328
|
+
* @description When the step starts.
|
|
8329
|
+
*/
|
|
8330
|
+
start: string;
|
|
8331
|
+
} & components["schemas"]["FunctionMetricsCounts"];
|
|
8332
|
+
FunctionMetrics: {
|
|
8333
|
+
/** @enum {string} */
|
|
8334
|
+
period: "1h" | "6h" | "24h" | "7d" | "14d";
|
|
8335
|
+
/**
|
|
8336
|
+
* Format: date-time
|
|
8337
|
+
* @description Start of the first step.
|
|
8338
|
+
*/
|
|
8339
|
+
since: string;
|
|
8340
|
+
/**
|
|
8341
|
+
* Format: date-time
|
|
8342
|
+
* @description End of the last step, which is still in progress.
|
|
8343
|
+
*/
|
|
8344
|
+
until: string;
|
|
8345
|
+
/** @description Length of each step. */
|
|
8346
|
+
step_seconds: number;
|
|
8347
|
+
/** @description One per step, oldest first, empty steps included. */
|
|
8348
|
+
points: components["schemas"]["FunctionMetricsPoint"][];
|
|
8349
|
+
total: components["schemas"]["FunctionMetricsCounts"];
|
|
8350
|
+
/** @description Metered usage since the start of this month (UTC), in whole hours; the current hour is added once it ends. */
|
|
8351
|
+
month: {
|
|
8352
|
+
/** @description Billable calls. */
|
|
8353
|
+
requests: number;
|
|
8354
|
+
/** @description Memory multiplied by duration, in GiB-seconds. */
|
|
8355
|
+
gib_seconds: number;
|
|
8356
|
+
};
|
|
8357
|
+
};
|
|
8358
|
+
FunctionInvocationList: {
|
|
8359
|
+
data: components["schemas"]["FunctionInvocationSummary"][];
|
|
8360
|
+
/** @description Pass as `cursor` for older invocations; null on the last page. */
|
|
8361
|
+
next_cursor: string | null;
|
|
8362
|
+
};
|
|
8363
|
+
FunctionVersionList: {
|
|
8364
|
+
data: components["schemas"]["FunctionVersion"][];
|
|
8365
|
+
};
|
|
8366
|
+
UpdateFunctionRequest: {
|
|
8367
|
+
/**
|
|
8368
|
+
* @description `key` or `public`.
|
|
8369
|
+
* @enum {string}
|
|
8370
|
+
*/
|
|
8371
|
+
auth?: "key" | "public";
|
|
8372
|
+
/** @description The most requests it serves at once. */
|
|
8373
|
+
max_concurrency?: number;
|
|
8374
|
+
};
|
|
7612
8375
|
UpdateLoadBalancerRequest: {
|
|
7613
8376
|
/**
|
|
7614
8377
|
* @description A new name, 1 to 63 characters.
|
|
@@ -9351,6 +10114,13 @@ interface components {
|
|
|
9351
10114
|
connections?: "keep" | "move";
|
|
9352
10115
|
/** @description Allow rotate now. Needs it enabled for your organization. */
|
|
9353
10116
|
on_demand?: boolean;
|
|
10117
|
+
/**
|
|
10118
|
+
* @description What happens if the dynamic IP path becomes unreachable. `static` (default): fall back to the instance's static IP. `block` (kill switch, requires Pantech agent 0.5.3+): block outbound traffic until the path recovers while keeping inbound static-IP access alive. Omitted on update preserves the current setting.
|
|
10119
|
+
* @enum {string}
|
|
10120
|
+
*/
|
|
10121
|
+
fallback_policy?: "static" | "block";
|
|
10122
|
+
/** @description When true, pauses scheduled rotations while holding the current dynamic IP (billing continues at the active tier; rotate now still works). When false, resumes the schedule from now. Omitted on update preserves the current setting. */
|
|
10123
|
+
paused?: boolean;
|
|
9354
10124
|
};
|
|
9355
10125
|
AddressRotation: {
|
|
9356
10126
|
instance_id: string;
|
|
@@ -9360,6 +10130,13 @@ interface components {
|
|
|
9360
10130
|
connections: "keep" | "move";
|
|
9361
10131
|
/** @description Whether rotate now is allowed. */
|
|
9362
10132
|
on_demand: boolean;
|
|
10133
|
+
/**
|
|
10134
|
+
* @description `static`: falls back to the instance's static IP if unreachable. `block`: fail-closed kill switch blocks outbound traffic until restored.
|
|
10135
|
+
* @enum {string}
|
|
10136
|
+
*/
|
|
10137
|
+
fallback_policy: "static" | "block";
|
|
10138
|
+
/** @description Whether scheduled rotations are currently paused to hold the active dynamic IP. */
|
|
10139
|
+
paused: boolean;
|
|
9363
10140
|
/**
|
|
9364
10141
|
* @description `enabling` until the first dynamic IP is ready, `active`, `degraded` (active on reduced capacity, or the dynamic IP is not reachable and outbound traffic uses the instance's static IP until it is restored; see `failure_reason`), `disabling`, `off`, or `failed` (see `failure_reason`).
|
|
9365
10142
|
* @enum {string}
|
|
@@ -19184,71 +19961,1518 @@ interface operations {
|
|
|
19184
19961
|
[name: string]: unknown;
|
|
19185
19962
|
};
|
|
19186
19963
|
content: {
|
|
19187
|
-
"application/json": {
|
|
19188
|
-
enabled: boolean;
|
|
19189
|
-
mode: string;
|
|
19190
|
-
days: number;
|
|
19191
|
-
years: number;
|
|
19192
|
-
};
|
|
19964
|
+
"application/json": {
|
|
19965
|
+
enabled: boolean;
|
|
19966
|
+
mode: string;
|
|
19967
|
+
days: number;
|
|
19968
|
+
years: number;
|
|
19969
|
+
};
|
|
19970
|
+
};
|
|
19971
|
+
};
|
|
19972
|
+
401: components["responses"]["Unauthenticated"];
|
|
19973
|
+
429: components["responses"]["RateLimited"];
|
|
19974
|
+
};
|
|
19975
|
+
};
|
|
19976
|
+
listSharedBuckets: {
|
|
19977
|
+
parameters: {
|
|
19978
|
+
query?: never;
|
|
19979
|
+
header?: never;
|
|
19980
|
+
path?: never;
|
|
19981
|
+
cookie?: never;
|
|
19982
|
+
};
|
|
19983
|
+
requestBody?: never;
|
|
19984
|
+
responses: {
|
|
19985
|
+
/** @description Buckets shared with this organization. */
|
|
19986
|
+
200: {
|
|
19987
|
+
headers: {
|
|
19988
|
+
[name: string]: unknown;
|
|
19989
|
+
};
|
|
19990
|
+
content: {
|
|
19991
|
+
"application/json": {
|
|
19992
|
+
data: Record<string, never>[];
|
|
19993
|
+
next_cursor?: string | null;
|
|
19994
|
+
};
|
|
19995
|
+
};
|
|
19996
|
+
};
|
|
19997
|
+
401: components["responses"]["Unauthenticated"];
|
|
19998
|
+
429: components["responses"]["RateLimited"];
|
|
19999
|
+
};
|
|
20000
|
+
};
|
|
20001
|
+
listBucketShares: {
|
|
20002
|
+
parameters: {
|
|
20003
|
+
query?: never;
|
|
20004
|
+
header?: never;
|
|
20005
|
+
path: {
|
|
20006
|
+
bucket_id: string;
|
|
20007
|
+
};
|
|
20008
|
+
cookie?: never;
|
|
20009
|
+
};
|
|
20010
|
+
requestBody?: never;
|
|
20011
|
+
responses: {
|
|
20012
|
+
/** @description Bucket shares. */
|
|
20013
|
+
200: {
|
|
20014
|
+
headers: {
|
|
20015
|
+
[name: string]: unknown;
|
|
20016
|
+
};
|
|
20017
|
+
content: {
|
|
20018
|
+
"application/json": {
|
|
20019
|
+
data: Record<string, never>[];
|
|
20020
|
+
next_cursor?: string | null;
|
|
20021
|
+
};
|
|
20022
|
+
};
|
|
20023
|
+
};
|
|
20024
|
+
401: components["responses"]["Unauthenticated"];
|
|
20025
|
+
429: components["responses"]["RateLimited"];
|
|
20026
|
+
};
|
|
20027
|
+
};
|
|
20028
|
+
createBucketShare: {
|
|
20029
|
+
parameters: {
|
|
20030
|
+
query?: never;
|
|
20031
|
+
header: {
|
|
20032
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20033
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20034
|
+
};
|
|
20035
|
+
path: {
|
|
20036
|
+
bucket_id: string;
|
|
20037
|
+
};
|
|
20038
|
+
cookie?: never;
|
|
20039
|
+
};
|
|
20040
|
+
requestBody: {
|
|
20041
|
+
content: {
|
|
20042
|
+
"application/json": {
|
|
20043
|
+
grantee_organization_id: string;
|
|
20044
|
+
/** @enum {string} */
|
|
20045
|
+
permissions: "read_only" | "write_only" | "read_write";
|
|
20046
|
+
prefixes?: string[];
|
|
20047
|
+
/** Format: date-time */
|
|
20048
|
+
expires_at?: string;
|
|
20049
|
+
};
|
|
20050
|
+
};
|
|
20051
|
+
};
|
|
20052
|
+
responses: {
|
|
20053
|
+
/** @description Share created. */
|
|
20054
|
+
201: {
|
|
20055
|
+
headers: {
|
|
20056
|
+
[name: string]: unknown;
|
|
20057
|
+
};
|
|
20058
|
+
content: {
|
|
20059
|
+
"application/json": Record<string, never>;
|
|
20060
|
+
};
|
|
20061
|
+
};
|
|
20062
|
+
401: components["responses"]["Unauthenticated"];
|
|
20063
|
+
429: components["responses"]["RateLimited"];
|
|
20064
|
+
};
|
|
20065
|
+
};
|
|
20066
|
+
revokeBucketShare: {
|
|
20067
|
+
parameters: {
|
|
20068
|
+
query?: never;
|
|
20069
|
+
header: {
|
|
20070
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20071
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20072
|
+
};
|
|
20073
|
+
path: {
|
|
20074
|
+
bucket_id: string;
|
|
20075
|
+
share_id: string;
|
|
20076
|
+
};
|
|
20077
|
+
cookie?: never;
|
|
20078
|
+
};
|
|
20079
|
+
requestBody?: never;
|
|
20080
|
+
responses: {
|
|
20081
|
+
/** @description Share revoked. */
|
|
20082
|
+
204: {
|
|
20083
|
+
headers: {
|
|
20084
|
+
[name: string]: unknown;
|
|
20085
|
+
};
|
|
20086
|
+
content?: never;
|
|
20087
|
+
};
|
|
20088
|
+
401: components["responses"]["Unauthenticated"];
|
|
20089
|
+
429: components["responses"]["RateLimited"];
|
|
20090
|
+
};
|
|
20091
|
+
};
|
|
20092
|
+
listBucketNotifications: {
|
|
20093
|
+
parameters: {
|
|
20094
|
+
query?: never;
|
|
20095
|
+
header?: never;
|
|
20096
|
+
path: {
|
|
20097
|
+
bucket_id: string;
|
|
20098
|
+
};
|
|
20099
|
+
cookie?: never;
|
|
20100
|
+
};
|
|
20101
|
+
requestBody?: never;
|
|
20102
|
+
responses: {
|
|
20103
|
+
/** @description Notification rules. */
|
|
20104
|
+
200: {
|
|
20105
|
+
headers: {
|
|
20106
|
+
[name: string]: unknown;
|
|
20107
|
+
};
|
|
20108
|
+
content: {
|
|
20109
|
+
"application/json": {
|
|
20110
|
+
data: Record<string, never>[];
|
|
20111
|
+
next_cursor?: string | null;
|
|
20112
|
+
};
|
|
20113
|
+
};
|
|
20114
|
+
};
|
|
20115
|
+
401: components["responses"]["Unauthenticated"];
|
|
20116
|
+
429: components["responses"]["RateLimited"];
|
|
20117
|
+
};
|
|
20118
|
+
};
|
|
20119
|
+
createBucketNotification: {
|
|
20120
|
+
parameters: {
|
|
20121
|
+
query?: never;
|
|
20122
|
+
header: {
|
|
20123
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20124
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20125
|
+
};
|
|
20126
|
+
path: {
|
|
20127
|
+
bucket_id: string;
|
|
20128
|
+
};
|
|
20129
|
+
cookie?: never;
|
|
20130
|
+
};
|
|
20131
|
+
requestBody: {
|
|
20132
|
+
content: {
|
|
20133
|
+
"application/json": {
|
|
20134
|
+
name: string;
|
|
20135
|
+
events: ("object.created" | "object.removed")[];
|
|
20136
|
+
prefix?: string;
|
|
20137
|
+
suffix?: string;
|
|
20138
|
+
/** @enum {string} */
|
|
20139
|
+
target_type: "webhook" | "function";
|
|
20140
|
+
target_id: string;
|
|
20141
|
+
enabled?: boolean;
|
|
20142
|
+
};
|
|
20143
|
+
};
|
|
20144
|
+
};
|
|
20145
|
+
responses: {
|
|
20146
|
+
/** @description Notification rule created. */
|
|
20147
|
+
201: {
|
|
20148
|
+
headers: {
|
|
20149
|
+
[name: string]: unknown;
|
|
20150
|
+
};
|
|
20151
|
+
content: {
|
|
20152
|
+
"application/json": Record<string, never>;
|
|
20153
|
+
};
|
|
20154
|
+
};
|
|
20155
|
+
401: components["responses"]["Unauthenticated"];
|
|
20156
|
+
429: components["responses"]["RateLimited"];
|
|
20157
|
+
};
|
|
20158
|
+
};
|
|
20159
|
+
deleteBucketNotification: {
|
|
20160
|
+
parameters: {
|
|
20161
|
+
query?: never;
|
|
20162
|
+
header: {
|
|
20163
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20164
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20165
|
+
};
|
|
20166
|
+
path: {
|
|
20167
|
+
bucket_id: string;
|
|
20168
|
+
notification_id: string;
|
|
20169
|
+
};
|
|
20170
|
+
cookie?: never;
|
|
20171
|
+
};
|
|
20172
|
+
requestBody?: never;
|
|
20173
|
+
responses: {
|
|
20174
|
+
/** @description Notification rule deleted. */
|
|
20175
|
+
204: {
|
|
20176
|
+
headers: {
|
|
20177
|
+
[name: string]: unknown;
|
|
20178
|
+
};
|
|
20179
|
+
content?: never;
|
|
20180
|
+
};
|
|
20181
|
+
401: components["responses"]["Unauthenticated"];
|
|
20182
|
+
429: components["responses"]["RateLimited"];
|
|
20183
|
+
};
|
|
20184
|
+
};
|
|
20185
|
+
updateBucketNotification: {
|
|
20186
|
+
parameters: {
|
|
20187
|
+
query?: never;
|
|
20188
|
+
header: {
|
|
20189
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20190
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20191
|
+
};
|
|
20192
|
+
path: {
|
|
20193
|
+
bucket_id: string;
|
|
20194
|
+
notification_id: string;
|
|
20195
|
+
};
|
|
20196
|
+
cookie?: never;
|
|
20197
|
+
};
|
|
20198
|
+
requestBody: {
|
|
20199
|
+
content: {
|
|
20200
|
+
"application/json": {
|
|
20201
|
+
events?: ("object.created" | "object.removed")[];
|
|
20202
|
+
prefix?: string;
|
|
20203
|
+
suffix?: string;
|
|
20204
|
+
enabled?: boolean;
|
|
20205
|
+
};
|
|
20206
|
+
};
|
|
20207
|
+
};
|
|
20208
|
+
responses: {
|
|
20209
|
+
/** @description Notification rule updated. */
|
|
20210
|
+
200: {
|
|
20211
|
+
headers: {
|
|
20212
|
+
[name: string]: unknown;
|
|
20213
|
+
};
|
|
20214
|
+
content: {
|
|
20215
|
+
"application/json": Record<string, never>;
|
|
20216
|
+
};
|
|
20217
|
+
};
|
|
20218
|
+
401: components["responses"]["Unauthenticated"];
|
|
20219
|
+
429: components["responses"]["RateLimited"];
|
|
20220
|
+
};
|
|
20221
|
+
};
|
|
20222
|
+
listBucketDomains: {
|
|
20223
|
+
parameters: {
|
|
20224
|
+
query?: never;
|
|
20225
|
+
header?: never;
|
|
20226
|
+
path: {
|
|
20227
|
+
bucket_id: string;
|
|
20228
|
+
};
|
|
20229
|
+
cookie?: never;
|
|
20230
|
+
};
|
|
20231
|
+
requestBody?: never;
|
|
20232
|
+
responses: {
|
|
20233
|
+
/** @description Bucket custom domains. */
|
|
20234
|
+
200: {
|
|
20235
|
+
headers: {
|
|
20236
|
+
[name: string]: unknown;
|
|
20237
|
+
};
|
|
20238
|
+
content: {
|
|
20239
|
+
"application/json": {
|
|
20240
|
+
data: Record<string, never>[];
|
|
20241
|
+
next_cursor?: string | null;
|
|
20242
|
+
};
|
|
20243
|
+
};
|
|
20244
|
+
};
|
|
20245
|
+
401: components["responses"]["Unauthenticated"];
|
|
20246
|
+
429: components["responses"]["RateLimited"];
|
|
20247
|
+
};
|
|
20248
|
+
};
|
|
20249
|
+
createBucketDomain: {
|
|
20250
|
+
parameters: {
|
|
20251
|
+
query?: never;
|
|
20252
|
+
header: {
|
|
20253
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20254
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20255
|
+
};
|
|
20256
|
+
path: {
|
|
20257
|
+
bucket_id: string;
|
|
20258
|
+
};
|
|
20259
|
+
cookie?: never;
|
|
20260
|
+
};
|
|
20261
|
+
requestBody: {
|
|
20262
|
+
content: {
|
|
20263
|
+
"application/json": {
|
|
20264
|
+
hostname: string;
|
|
20265
|
+
certificate_id: string;
|
|
20266
|
+
index_document?: string;
|
|
20267
|
+
error_document?: string;
|
|
20268
|
+
spa_mode?: boolean;
|
|
20269
|
+
cache_ttl_seconds?: number;
|
|
20270
|
+
};
|
|
20271
|
+
};
|
|
20272
|
+
};
|
|
20273
|
+
responses: {
|
|
20274
|
+
/** @description Custom domain created. */
|
|
20275
|
+
201: {
|
|
20276
|
+
headers: {
|
|
20277
|
+
[name: string]: unknown;
|
|
20278
|
+
};
|
|
20279
|
+
content: {
|
|
20280
|
+
"application/json": Record<string, never>;
|
|
20281
|
+
};
|
|
20282
|
+
};
|
|
20283
|
+
401: components["responses"]["Unauthenticated"];
|
|
20284
|
+
429: components["responses"]["RateLimited"];
|
|
20285
|
+
};
|
|
20286
|
+
};
|
|
20287
|
+
deleteBucketDomain: {
|
|
20288
|
+
parameters: {
|
|
20289
|
+
query?: never;
|
|
20290
|
+
header: {
|
|
20291
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20292
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20293
|
+
};
|
|
20294
|
+
path: {
|
|
20295
|
+
bucket_id: string;
|
|
20296
|
+
domain_id: string;
|
|
20297
|
+
};
|
|
20298
|
+
cookie?: never;
|
|
20299
|
+
};
|
|
20300
|
+
requestBody?: never;
|
|
20301
|
+
responses: {
|
|
20302
|
+
/** @description Custom domain deleted. */
|
|
20303
|
+
204: {
|
|
20304
|
+
headers: {
|
|
20305
|
+
[name: string]: unknown;
|
|
20306
|
+
};
|
|
20307
|
+
content?: never;
|
|
20308
|
+
};
|
|
20309
|
+
401: components["responses"]["Unauthenticated"];
|
|
20310
|
+
429: components["responses"]["RateLimited"];
|
|
20311
|
+
};
|
|
20312
|
+
};
|
|
20313
|
+
updateBucketDomain: {
|
|
20314
|
+
parameters: {
|
|
20315
|
+
query?: never;
|
|
20316
|
+
header: {
|
|
20317
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20318
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20319
|
+
};
|
|
20320
|
+
path: {
|
|
20321
|
+
bucket_id: string;
|
|
20322
|
+
domain_id: string;
|
|
20323
|
+
};
|
|
20324
|
+
cookie?: never;
|
|
20325
|
+
};
|
|
20326
|
+
requestBody: {
|
|
20327
|
+
content: {
|
|
20328
|
+
"application/json": {
|
|
20329
|
+
certificate_id?: string;
|
|
20330
|
+
index_document?: string;
|
|
20331
|
+
error_document?: string;
|
|
20332
|
+
spa_mode?: boolean;
|
|
20333
|
+
cache_ttl_seconds?: number;
|
|
20334
|
+
};
|
|
20335
|
+
};
|
|
20336
|
+
};
|
|
20337
|
+
responses: {
|
|
20338
|
+
/** @description Custom domain updated. */
|
|
20339
|
+
200: {
|
|
20340
|
+
headers: {
|
|
20341
|
+
[name: string]: unknown;
|
|
20342
|
+
};
|
|
20343
|
+
content: {
|
|
20344
|
+
"application/json": Record<string, never>;
|
|
20345
|
+
};
|
|
20346
|
+
};
|
|
20347
|
+
401: components["responses"]["Unauthenticated"];
|
|
20348
|
+
429: components["responses"]["RateLimited"];
|
|
20349
|
+
};
|
|
20350
|
+
};
|
|
20351
|
+
listFunctions: {
|
|
20352
|
+
parameters: {
|
|
20353
|
+
query?: never;
|
|
20354
|
+
header?: never;
|
|
20355
|
+
path?: never;
|
|
20356
|
+
cookie?: never;
|
|
20357
|
+
};
|
|
20358
|
+
requestBody?: never;
|
|
20359
|
+
responses: {
|
|
20360
|
+
/** @description Functions. */
|
|
20361
|
+
200: {
|
|
20362
|
+
headers: {
|
|
20363
|
+
/** @description Requests allowed per window for this key. */
|
|
20364
|
+
"RateLimit-Limit"?: number;
|
|
20365
|
+
/** @description Requests left in this window. */
|
|
20366
|
+
"RateLimit-Remaining"?: number;
|
|
20367
|
+
/** @description Seconds until the window resets. */
|
|
20368
|
+
"RateLimit-Reset"?: number;
|
|
20369
|
+
/** @description This request's id. */
|
|
20370
|
+
"X-Request-Id"?: string;
|
|
20371
|
+
[name: string]: unknown;
|
|
20372
|
+
};
|
|
20373
|
+
content: {
|
|
20374
|
+
"application/json": components["schemas"]["FunctionList"];
|
|
20375
|
+
};
|
|
20376
|
+
};
|
|
20377
|
+
401: components["responses"]["Unauthenticated"];
|
|
20378
|
+
/**
|
|
20379
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
20380
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
20381
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
20382
|
+
*/
|
|
20383
|
+
403: {
|
|
20384
|
+
headers: {
|
|
20385
|
+
[name: string]: unknown;
|
|
20386
|
+
};
|
|
20387
|
+
content: {
|
|
20388
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20389
|
+
};
|
|
20390
|
+
};
|
|
20391
|
+
429: components["responses"]["RateLimited"];
|
|
20392
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
20393
|
+
};
|
|
20394
|
+
};
|
|
20395
|
+
createFunction: {
|
|
20396
|
+
parameters: {
|
|
20397
|
+
query?: never;
|
|
20398
|
+
header: {
|
|
20399
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20400
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20401
|
+
};
|
|
20402
|
+
path?: never;
|
|
20403
|
+
cookie?: never;
|
|
20404
|
+
};
|
|
20405
|
+
requestBody: {
|
|
20406
|
+
content: {
|
|
20407
|
+
"application/json": components["schemas"]["CreateFunctionRequest"];
|
|
20408
|
+
};
|
|
20409
|
+
};
|
|
20410
|
+
responses: {
|
|
20411
|
+
/** @description The function. */
|
|
20412
|
+
201: {
|
|
20413
|
+
headers: {
|
|
20414
|
+
/** @description Requests allowed per window for this key. */
|
|
20415
|
+
"RateLimit-Limit"?: number;
|
|
20416
|
+
/** @description Requests left in this window. */
|
|
20417
|
+
"RateLimit-Remaining"?: number;
|
|
20418
|
+
/** @description Seconds until the window resets. */
|
|
20419
|
+
"RateLimit-Reset"?: number;
|
|
20420
|
+
/** @description This request's id. */
|
|
20421
|
+
"X-Request-Id"?: string;
|
|
20422
|
+
[name: string]: unknown;
|
|
20423
|
+
};
|
|
20424
|
+
content: {
|
|
20425
|
+
"application/json": components["schemas"]["CreatedFunction"];
|
|
20426
|
+
};
|
|
20427
|
+
};
|
|
20428
|
+
/**
|
|
20429
|
+
* @description `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
|
|
20430
|
+
* `INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
|
|
20431
|
+
* `INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
|
|
20432
|
+
*/
|
|
20433
|
+
400: {
|
|
20434
|
+
headers: {
|
|
20435
|
+
[name: string]: unknown;
|
|
20436
|
+
};
|
|
20437
|
+
content: {
|
|
20438
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20439
|
+
};
|
|
20440
|
+
};
|
|
20441
|
+
401: components["responses"]["Unauthenticated"];
|
|
20442
|
+
/**
|
|
20443
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
20444
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
20445
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
20446
|
+
* `FUNCTIONS_UNAVAILABLE`: functions are not available to this organization.
|
|
20447
|
+
* `FUNCTION_LIMIT_REACHED`: the organization already has the most functions allowed. Delete one, or contact support to raise the limit.
|
|
20448
|
+
*/
|
|
20449
|
+
403: {
|
|
20450
|
+
headers: {
|
|
20451
|
+
[name: string]: unknown;
|
|
20452
|
+
};
|
|
20453
|
+
content: {
|
|
20454
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20455
|
+
};
|
|
20456
|
+
};
|
|
20457
|
+
/**
|
|
20458
|
+
* @description `FUNCTION_NAME_TAKEN`: a function with that name already exists in this zone. Choose a different name.
|
|
20459
|
+
* `IDEMPOTENCY_CONFLICT`: this `Idempotency-Key` was already used for a different request. Use a new key.
|
|
20460
|
+
* `ACCOUNT_SUSPENDED`: the account has an overdue invoice. Pay it under Billing in the console, then try again.
|
|
20461
|
+
* `ACCOUNT_NOT_ACTIVE`: billing setup is not finished. Finish it under Billing in the console, then try again.
|
|
20462
|
+
*/
|
|
20463
|
+
409: {
|
|
20464
|
+
headers: {
|
|
20465
|
+
[name: string]: unknown;
|
|
20466
|
+
};
|
|
20467
|
+
content: {
|
|
20468
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20469
|
+
};
|
|
20470
|
+
};
|
|
20471
|
+
/**
|
|
20472
|
+
* @description `VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
|
|
20473
|
+
* `name` `REQUIRED` or `INVALID`: use 1 to 63 lowercase letters, digits and hyphens, starting with a letter.
|
|
20474
|
+
* `zone_id` `REQUIRED`: send a zone, such as `af-abj-2`.
|
|
20475
|
+
* `auth` `INVALID`: use `public` or `key`.
|
|
20476
|
+
* `max_concurrency` `INVALID`: use a number from 1 to the organization's limit.
|
|
20477
|
+
* `FUNCTION_ZONE_UNAVAILABLE`: functions are not offered in this zone. Choose another zone.
|
|
20478
|
+
*/
|
|
20479
|
+
422: {
|
|
20480
|
+
headers: {
|
|
20481
|
+
[name: string]: unknown;
|
|
20482
|
+
};
|
|
20483
|
+
content: {
|
|
20484
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20485
|
+
};
|
|
20486
|
+
};
|
|
20487
|
+
429: components["responses"]["RateLimited"];
|
|
20488
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
20489
|
+
};
|
|
20490
|
+
};
|
|
20491
|
+
getFunction: {
|
|
20492
|
+
parameters: {
|
|
20493
|
+
query?: never;
|
|
20494
|
+
header?: never;
|
|
20495
|
+
path: {
|
|
20496
|
+
/** @description The function's id. */
|
|
20497
|
+
function_id: string;
|
|
20498
|
+
};
|
|
20499
|
+
cookie?: never;
|
|
20500
|
+
};
|
|
20501
|
+
requestBody?: never;
|
|
20502
|
+
responses: {
|
|
20503
|
+
/** @description The function. */
|
|
20504
|
+
200: {
|
|
20505
|
+
headers: {
|
|
20506
|
+
/** @description Requests allowed per window for this key. */
|
|
20507
|
+
"RateLimit-Limit"?: number;
|
|
20508
|
+
/** @description Requests left in this window. */
|
|
20509
|
+
"RateLimit-Remaining"?: number;
|
|
20510
|
+
/** @description Seconds until the window resets. */
|
|
20511
|
+
"RateLimit-Reset"?: number;
|
|
20512
|
+
/** @description This request's id. */
|
|
20513
|
+
"X-Request-Id"?: string;
|
|
20514
|
+
[name: string]: unknown;
|
|
20515
|
+
};
|
|
20516
|
+
content: {
|
|
20517
|
+
"application/json": components["schemas"]["Function"];
|
|
20518
|
+
};
|
|
20519
|
+
};
|
|
20520
|
+
401: components["responses"]["Unauthenticated"];
|
|
20521
|
+
/**
|
|
20522
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
20523
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
20524
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
20525
|
+
*/
|
|
20526
|
+
403: {
|
|
20527
|
+
headers: {
|
|
20528
|
+
[name: string]: unknown;
|
|
20529
|
+
};
|
|
20530
|
+
content: {
|
|
20531
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20532
|
+
};
|
|
20533
|
+
};
|
|
20534
|
+
/** @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
20535
|
+
404: {
|
|
20536
|
+
headers: {
|
|
20537
|
+
[name: string]: unknown;
|
|
20538
|
+
};
|
|
20539
|
+
content: {
|
|
20540
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20541
|
+
};
|
|
20542
|
+
};
|
|
20543
|
+
429: components["responses"]["RateLimited"];
|
|
20544
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
20545
|
+
};
|
|
20546
|
+
};
|
|
20547
|
+
deleteFunction: {
|
|
20548
|
+
parameters: {
|
|
20549
|
+
query?: never;
|
|
20550
|
+
header: {
|
|
20551
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20552
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20553
|
+
};
|
|
20554
|
+
path: {
|
|
20555
|
+
/** @description The function's id. */
|
|
20556
|
+
function_id: string;
|
|
20557
|
+
};
|
|
20558
|
+
cookie?: never;
|
|
20559
|
+
};
|
|
20560
|
+
requestBody?: never;
|
|
20561
|
+
responses: {
|
|
20562
|
+
/** @description The delete was accepted. */
|
|
20563
|
+
202: {
|
|
20564
|
+
headers: {
|
|
20565
|
+
/** @description Requests allowed per window for this key. */
|
|
20566
|
+
"RateLimit-Limit"?: number;
|
|
20567
|
+
/** @description Requests left in this window. */
|
|
20568
|
+
"RateLimit-Remaining"?: number;
|
|
20569
|
+
/** @description Seconds until the window resets. */
|
|
20570
|
+
"RateLimit-Reset"?: number;
|
|
20571
|
+
/** @description This request's id. */
|
|
20572
|
+
"X-Request-Id"?: string;
|
|
20573
|
+
[name: string]: unknown;
|
|
20574
|
+
};
|
|
20575
|
+
content: {
|
|
20576
|
+
"application/json": components["schemas"]["Accepted"];
|
|
20577
|
+
};
|
|
20578
|
+
};
|
|
20579
|
+
/**
|
|
20580
|
+
* @description `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
|
|
20581
|
+
* `INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
|
|
20582
|
+
* `INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
|
|
20583
|
+
*/
|
|
20584
|
+
400: {
|
|
20585
|
+
headers: {
|
|
20586
|
+
[name: string]: unknown;
|
|
20587
|
+
};
|
|
20588
|
+
content: {
|
|
20589
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20590
|
+
};
|
|
20591
|
+
};
|
|
20592
|
+
401: components["responses"]["Unauthenticated"];
|
|
20593
|
+
/**
|
|
20594
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
20595
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
20596
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
20597
|
+
*/
|
|
20598
|
+
403: {
|
|
20599
|
+
headers: {
|
|
20600
|
+
[name: string]: unknown;
|
|
20601
|
+
};
|
|
20602
|
+
content: {
|
|
20603
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20604
|
+
};
|
|
20605
|
+
};
|
|
20606
|
+
/** @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
20607
|
+
404: {
|
|
20608
|
+
headers: {
|
|
20609
|
+
[name: string]: unknown;
|
|
20610
|
+
};
|
|
20611
|
+
content: {
|
|
20612
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20613
|
+
};
|
|
20614
|
+
};
|
|
20615
|
+
429: components["responses"]["RateLimited"];
|
|
20616
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
20617
|
+
};
|
|
20618
|
+
};
|
|
20619
|
+
updateFunction: {
|
|
20620
|
+
parameters: {
|
|
20621
|
+
query?: never;
|
|
20622
|
+
header: {
|
|
20623
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20624
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20625
|
+
};
|
|
20626
|
+
path: {
|
|
20627
|
+
/** @description The function's id. */
|
|
20628
|
+
function_id: string;
|
|
20629
|
+
};
|
|
20630
|
+
cookie?: never;
|
|
20631
|
+
};
|
|
20632
|
+
requestBody: {
|
|
20633
|
+
content: {
|
|
20634
|
+
"application/json": components["schemas"]["UpdateFunctionRequest"];
|
|
20635
|
+
};
|
|
20636
|
+
};
|
|
20637
|
+
responses: {
|
|
20638
|
+
/** @description The function. */
|
|
20639
|
+
200: {
|
|
20640
|
+
headers: {
|
|
20641
|
+
/** @description Requests allowed per window for this key. */
|
|
20642
|
+
"RateLimit-Limit"?: number;
|
|
20643
|
+
/** @description Requests left in this window. */
|
|
20644
|
+
"RateLimit-Remaining"?: number;
|
|
20645
|
+
/** @description Seconds until the window resets. */
|
|
20646
|
+
"RateLimit-Reset"?: number;
|
|
20647
|
+
/** @description This request's id. */
|
|
20648
|
+
"X-Request-Id"?: string;
|
|
20649
|
+
[name: string]: unknown;
|
|
20650
|
+
};
|
|
20651
|
+
content: {
|
|
20652
|
+
"application/json": components["schemas"]["Function"];
|
|
20653
|
+
};
|
|
20654
|
+
};
|
|
20655
|
+
/**
|
|
20656
|
+
* @description `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
|
|
20657
|
+
* `INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
|
|
20658
|
+
* `INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
|
|
20659
|
+
*/
|
|
20660
|
+
400: {
|
|
20661
|
+
headers: {
|
|
20662
|
+
[name: string]: unknown;
|
|
20663
|
+
};
|
|
20664
|
+
content: {
|
|
20665
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20666
|
+
};
|
|
20667
|
+
};
|
|
20668
|
+
401: components["responses"]["Unauthenticated"];
|
|
20669
|
+
/**
|
|
20670
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
20671
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
20672
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
20673
|
+
* `FUNCTIONS_UNAVAILABLE`: functions are not available to this organization.
|
|
20674
|
+
*/
|
|
20675
|
+
403: {
|
|
20676
|
+
headers: {
|
|
20677
|
+
[name: string]: unknown;
|
|
20678
|
+
};
|
|
20679
|
+
content: {
|
|
20680
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20681
|
+
};
|
|
20682
|
+
};
|
|
20683
|
+
/** @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
20684
|
+
404: {
|
|
20685
|
+
headers: {
|
|
20686
|
+
[name: string]: unknown;
|
|
20687
|
+
};
|
|
20688
|
+
content: {
|
|
20689
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20690
|
+
};
|
|
20691
|
+
};
|
|
20692
|
+
/** @description `FUNCTION_DELETED`: the function has been deleted. */
|
|
20693
|
+
409: {
|
|
20694
|
+
headers: {
|
|
20695
|
+
[name: string]: unknown;
|
|
20696
|
+
};
|
|
20697
|
+
content: {
|
|
20698
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20699
|
+
};
|
|
20700
|
+
};
|
|
20701
|
+
/** @description `VALIDATION_FAILED`: `auth` must be `public` or `key`, and `max_concurrency` from 1 to the organization's limit; send at least one of them. */
|
|
20702
|
+
422: {
|
|
20703
|
+
headers: {
|
|
20704
|
+
[name: string]: unknown;
|
|
20705
|
+
};
|
|
20706
|
+
content: {
|
|
20707
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20708
|
+
};
|
|
20709
|
+
};
|
|
20710
|
+
429: components["responses"]["RateLimited"];
|
|
20711
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
20712
|
+
};
|
|
20713
|
+
};
|
|
20714
|
+
deployFunction: {
|
|
20715
|
+
parameters: {
|
|
20716
|
+
query?: never;
|
|
20717
|
+
header: {
|
|
20718
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20719
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20720
|
+
};
|
|
20721
|
+
path: {
|
|
20722
|
+
/** @description The function's id. */
|
|
20723
|
+
function_id: string;
|
|
20724
|
+
};
|
|
20725
|
+
cookie?: never;
|
|
20726
|
+
};
|
|
20727
|
+
requestBody: {
|
|
20728
|
+
content: {
|
|
20729
|
+
"application/json": components["schemas"]["DeployFunctionRequest"];
|
|
20730
|
+
"multipart/form-data": components["schemas"]["DeployFunctionMultipart"];
|
|
20731
|
+
};
|
|
20732
|
+
};
|
|
20733
|
+
responses: {
|
|
20734
|
+
/** @description The deploy was accepted. */
|
|
20735
|
+
202: {
|
|
20736
|
+
headers: {
|
|
20737
|
+
/** @description Requests allowed per window for this key. */
|
|
20738
|
+
"RateLimit-Limit"?: number;
|
|
20739
|
+
/** @description Requests left in this window. */
|
|
20740
|
+
"RateLimit-Remaining"?: number;
|
|
20741
|
+
/** @description Seconds until the window resets. */
|
|
20742
|
+
"RateLimit-Reset"?: number;
|
|
20743
|
+
/** @description This request's id. */
|
|
20744
|
+
"X-Request-Id"?: string;
|
|
20745
|
+
[name: string]: unknown;
|
|
20746
|
+
};
|
|
20747
|
+
content: {
|
|
20748
|
+
"application/json": components["schemas"]["FunctionDeployment"];
|
|
20749
|
+
};
|
|
20750
|
+
};
|
|
20751
|
+
/**
|
|
20752
|
+
* @description `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
|
|
20753
|
+
* `INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
|
|
20754
|
+
* `INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
|
|
20755
|
+
*/
|
|
20756
|
+
400: {
|
|
20757
|
+
headers: {
|
|
20758
|
+
[name: string]: unknown;
|
|
20759
|
+
};
|
|
20760
|
+
content: {
|
|
20761
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20762
|
+
};
|
|
20763
|
+
};
|
|
20764
|
+
401: components["responses"]["Unauthenticated"];
|
|
20765
|
+
/**
|
|
20766
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
20767
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
20768
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
20769
|
+
* `FUNCTIONS_UNAVAILABLE`: functions are not available to this organization.
|
|
20770
|
+
*/
|
|
20771
|
+
403: {
|
|
20772
|
+
headers: {
|
|
20773
|
+
[name: string]: unknown;
|
|
20774
|
+
};
|
|
20775
|
+
content: {
|
|
20776
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20777
|
+
};
|
|
20778
|
+
};
|
|
20779
|
+
/** @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
20780
|
+
404: {
|
|
20781
|
+
headers: {
|
|
20782
|
+
[name: string]: unknown;
|
|
20783
|
+
};
|
|
20784
|
+
content: {
|
|
20785
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20786
|
+
};
|
|
20787
|
+
};
|
|
20788
|
+
/**
|
|
20789
|
+
* @description `FUNCTION_DELETED`: the function has been deleted.
|
|
20790
|
+
* `IDEMPOTENCY_CONFLICT`: this `Idempotency-Key` was already used for a different request. Use a new key.
|
|
20791
|
+
* `ACCOUNT_SUSPENDED`: the account has an overdue invoice. Pay it under Billing in the console, then try again.
|
|
20792
|
+
* `ACCOUNT_NOT_ACTIVE`: billing setup is not finished. Finish it under Billing in the console, then try again.
|
|
20793
|
+
*/
|
|
20794
|
+
409: {
|
|
20795
|
+
headers: {
|
|
20796
|
+
[name: string]: unknown;
|
|
20797
|
+
};
|
|
20798
|
+
content: {
|
|
20799
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20800
|
+
};
|
|
20801
|
+
};
|
|
20802
|
+
/** @description `FUNCTION_CODE_TOO_LARGE`: the code is over 25 MiB zipped or 250 MiB unpacked. Remove what the function does not need, such as tests and build tools. */
|
|
20803
|
+
413: {
|
|
20804
|
+
headers: {
|
|
20805
|
+
[name: string]: unknown;
|
|
20806
|
+
};
|
|
20807
|
+
content: {
|
|
20808
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20809
|
+
};
|
|
20810
|
+
};
|
|
20811
|
+
/**
|
|
20812
|
+
* @description `VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
|
|
20813
|
+
* `runtime` `REQUIRED` or `INVALID`: use `nodejs22` or `python3.13`.
|
|
20814
|
+
* `handler` `INVALID`: use `file.export` for Node.js or `module.function` for Python.
|
|
20815
|
+
* `memory_mib` `INVALID`: use 128, 256, 512, 1024 or 2048.
|
|
20816
|
+
* `timeout_seconds` `INVALID`: use 1 to 900.
|
|
20817
|
+
* `environment` `INVALID`: names are letters, digits and underscores, not starting `PANTECH_`, with at most 4 KiB in all.
|
|
20818
|
+
* `source` `INVALID_FUNCTION_SOURCE`: a file name with no folders, and content of at most 256 KiB.
|
|
20819
|
+
* `code` `FUNCTION_CODE_REQUIRED`: send a zip as the `code` part, or a single file as `source`.
|
|
20820
|
+
* `FUNCTION_CODE_INVALID`: the zip is not a zip of plain files and folders.
|
|
20821
|
+
*/
|
|
20822
|
+
422: {
|
|
20823
|
+
headers: {
|
|
20824
|
+
[name: string]: unknown;
|
|
20825
|
+
};
|
|
20826
|
+
content: {
|
|
20827
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20828
|
+
};
|
|
20829
|
+
};
|
|
20830
|
+
429: components["responses"]["RateLimited"];
|
|
20831
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
20832
|
+
};
|
|
20833
|
+
};
|
|
20834
|
+
listFunctionKeys: {
|
|
20835
|
+
parameters: {
|
|
20836
|
+
query?: never;
|
|
20837
|
+
header?: never;
|
|
20838
|
+
path: {
|
|
20839
|
+
/** @description The function's id. */
|
|
20840
|
+
function_id: string;
|
|
20841
|
+
};
|
|
20842
|
+
cookie?: never;
|
|
20843
|
+
};
|
|
20844
|
+
requestBody?: never;
|
|
20845
|
+
responses: {
|
|
20846
|
+
/** @description Keys. */
|
|
20847
|
+
200: {
|
|
20848
|
+
headers: {
|
|
20849
|
+
/** @description Requests allowed per window for this key. */
|
|
20850
|
+
"RateLimit-Limit"?: number;
|
|
20851
|
+
/** @description Requests left in this window. */
|
|
20852
|
+
"RateLimit-Remaining"?: number;
|
|
20853
|
+
/** @description Seconds until the window resets. */
|
|
20854
|
+
"RateLimit-Reset"?: number;
|
|
20855
|
+
/** @description This request's id. */
|
|
20856
|
+
"X-Request-Id"?: string;
|
|
20857
|
+
[name: string]: unknown;
|
|
20858
|
+
};
|
|
20859
|
+
content: {
|
|
20860
|
+
"application/json": components["schemas"]["FunctionKeyList"];
|
|
20861
|
+
};
|
|
20862
|
+
};
|
|
20863
|
+
401: components["responses"]["Unauthenticated"];
|
|
20864
|
+
/**
|
|
20865
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
20866
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
20867
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
20868
|
+
*/
|
|
20869
|
+
403: {
|
|
20870
|
+
headers: {
|
|
20871
|
+
[name: string]: unknown;
|
|
20872
|
+
};
|
|
20873
|
+
content: {
|
|
20874
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20875
|
+
};
|
|
20876
|
+
};
|
|
20877
|
+
/** @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
20878
|
+
404: {
|
|
20879
|
+
headers: {
|
|
20880
|
+
[name: string]: unknown;
|
|
20881
|
+
};
|
|
20882
|
+
content: {
|
|
20883
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20884
|
+
};
|
|
20885
|
+
};
|
|
20886
|
+
429: components["responses"]["RateLimited"];
|
|
20887
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
20888
|
+
};
|
|
20889
|
+
};
|
|
20890
|
+
createFunctionKey: {
|
|
20891
|
+
parameters: {
|
|
20892
|
+
query?: never;
|
|
20893
|
+
header: {
|
|
20894
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20895
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20896
|
+
};
|
|
20897
|
+
path: {
|
|
20898
|
+
/** @description The function's id. */
|
|
20899
|
+
function_id: string;
|
|
20900
|
+
};
|
|
20901
|
+
cookie?: never;
|
|
20902
|
+
};
|
|
20903
|
+
requestBody: {
|
|
20904
|
+
content: {
|
|
20905
|
+
"application/json": components["schemas"]["CreateFunctionKeyRequest"];
|
|
20906
|
+
};
|
|
20907
|
+
};
|
|
20908
|
+
responses: {
|
|
20909
|
+
/** @description The key, with the key itself. */
|
|
20910
|
+
201: {
|
|
20911
|
+
headers: {
|
|
20912
|
+
/** @description Requests allowed per window for this key. */
|
|
20913
|
+
"RateLimit-Limit"?: number;
|
|
20914
|
+
/** @description Requests left in this window. */
|
|
20915
|
+
"RateLimit-Remaining"?: number;
|
|
20916
|
+
/** @description Seconds until the window resets. */
|
|
20917
|
+
"RateLimit-Reset"?: number;
|
|
20918
|
+
/** @description This request's id. */
|
|
20919
|
+
"X-Request-Id"?: string;
|
|
20920
|
+
[name: string]: unknown;
|
|
20921
|
+
};
|
|
20922
|
+
content: {
|
|
20923
|
+
"application/json": components["schemas"]["CreatedFunctionKey"];
|
|
20924
|
+
};
|
|
20925
|
+
};
|
|
20926
|
+
/**
|
|
20927
|
+
* @description `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
|
|
20928
|
+
* `INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
|
|
20929
|
+
* `INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
|
|
20930
|
+
*/
|
|
20931
|
+
400: {
|
|
20932
|
+
headers: {
|
|
20933
|
+
[name: string]: unknown;
|
|
20934
|
+
};
|
|
20935
|
+
content: {
|
|
20936
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20937
|
+
};
|
|
20938
|
+
};
|
|
20939
|
+
401: components["responses"]["Unauthenticated"];
|
|
20940
|
+
/**
|
|
20941
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
20942
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
20943
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
20944
|
+
* `FUNCTIONS_UNAVAILABLE`: functions are not available to this organization.
|
|
20945
|
+
* `FUNCTION_KEY_LIMIT_REACHED`: the function already has 10 keys. Revoke one first.
|
|
20946
|
+
*/
|
|
20947
|
+
403: {
|
|
20948
|
+
headers: {
|
|
20949
|
+
[name: string]: unknown;
|
|
20950
|
+
};
|
|
20951
|
+
content: {
|
|
20952
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20953
|
+
};
|
|
20954
|
+
};
|
|
20955
|
+
/** @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
20956
|
+
404: {
|
|
20957
|
+
headers: {
|
|
20958
|
+
[name: string]: unknown;
|
|
20959
|
+
};
|
|
20960
|
+
content: {
|
|
20961
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20962
|
+
};
|
|
20963
|
+
};
|
|
20964
|
+
/** @description `VALIDATION_FAILED`: `name` must be 1 to 63 lowercase letters, digits and hyphens, starting with a letter. */
|
|
20965
|
+
422: {
|
|
20966
|
+
headers: {
|
|
20967
|
+
[name: string]: unknown;
|
|
20968
|
+
};
|
|
20969
|
+
content: {
|
|
20970
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20971
|
+
};
|
|
20972
|
+
};
|
|
20973
|
+
429: components["responses"]["RateLimited"];
|
|
20974
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
20975
|
+
};
|
|
20976
|
+
};
|
|
20977
|
+
revokeFunctionKey: {
|
|
20978
|
+
parameters: {
|
|
20979
|
+
query?: never;
|
|
20980
|
+
header: {
|
|
20981
|
+
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
20982
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
20983
|
+
};
|
|
20984
|
+
path: {
|
|
20985
|
+
/** @description The function's id. */
|
|
20986
|
+
function_id: string;
|
|
20987
|
+
/** @description The key's id. */
|
|
20988
|
+
key_id: string;
|
|
20989
|
+
};
|
|
20990
|
+
cookie?: never;
|
|
20991
|
+
};
|
|
20992
|
+
requestBody?: never;
|
|
20993
|
+
responses: {
|
|
20994
|
+
/** @description The revoked key. */
|
|
20995
|
+
200: {
|
|
20996
|
+
headers: {
|
|
20997
|
+
/** @description Requests allowed per window for this key. */
|
|
20998
|
+
"RateLimit-Limit"?: number;
|
|
20999
|
+
/** @description Requests left in this window. */
|
|
21000
|
+
"RateLimit-Remaining"?: number;
|
|
21001
|
+
/** @description Seconds until the window resets. */
|
|
21002
|
+
"RateLimit-Reset"?: number;
|
|
21003
|
+
/** @description This request's id. */
|
|
21004
|
+
"X-Request-Id"?: string;
|
|
21005
|
+
[name: string]: unknown;
|
|
21006
|
+
};
|
|
21007
|
+
content: {
|
|
21008
|
+
"application/json": components["schemas"]["FunctionKey"];
|
|
21009
|
+
};
|
|
21010
|
+
};
|
|
21011
|
+
/**
|
|
21012
|
+
* @description `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
|
|
21013
|
+
* `INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
|
|
21014
|
+
* `INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
|
|
21015
|
+
*/
|
|
21016
|
+
400: {
|
|
21017
|
+
headers: {
|
|
21018
|
+
[name: string]: unknown;
|
|
21019
|
+
};
|
|
21020
|
+
content: {
|
|
21021
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21022
|
+
};
|
|
21023
|
+
};
|
|
21024
|
+
401: components["responses"]["Unauthenticated"];
|
|
21025
|
+
/**
|
|
21026
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21027
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
21028
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21029
|
+
*/
|
|
21030
|
+
403: {
|
|
21031
|
+
headers: {
|
|
21032
|
+
[name: string]: unknown;
|
|
21033
|
+
};
|
|
21034
|
+
content: {
|
|
21035
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21036
|
+
};
|
|
21037
|
+
};
|
|
21038
|
+
/**
|
|
21039
|
+
* @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it.
|
|
21040
|
+
* `FUNCTION_KEY_NOT_FOUND`: the function has no key with this id.
|
|
21041
|
+
*/
|
|
21042
|
+
404: {
|
|
21043
|
+
headers: {
|
|
21044
|
+
[name: string]: unknown;
|
|
21045
|
+
};
|
|
21046
|
+
content: {
|
|
21047
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21048
|
+
};
|
|
21049
|
+
};
|
|
21050
|
+
429: components["responses"]["RateLimited"];
|
|
21051
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
21052
|
+
};
|
|
21053
|
+
};
|
|
21054
|
+
listFunctionInvocations: {
|
|
21055
|
+
parameters: {
|
|
21056
|
+
query?: {
|
|
21057
|
+
/** @description Items per page, 1 to 100. Defaults to 50. */
|
|
21058
|
+
limit?: components["parameters"]["Limit"];
|
|
21059
|
+
/** @description The previous page's `next_cursor`, to get the next page. Leave out for the first page; keep the other parameters the same. */
|
|
21060
|
+
cursor?: components["parameters"]["Cursor"];
|
|
21061
|
+
/** @description Only these outcomes, comma-separated: `ok`, `error` (the handler threw or returned an error), `timeout`, `crashed`. */
|
|
21062
|
+
outcome?: string;
|
|
21063
|
+
/** @description Only invocations with a line containing this text (case-sensitive), at most 200 characters on one line. */
|
|
21064
|
+
q?: string;
|
|
21065
|
+
/** @description Only the invocation with this request id, from the response's `X-Request-Id` header. */
|
|
21066
|
+
request_id?: string;
|
|
21067
|
+
/** @description Only invocations that started at or after this time (RFC 3339). */
|
|
21068
|
+
since?: string;
|
|
21069
|
+
/** @description Only invocations that started before this time (RFC 3339). */
|
|
21070
|
+
until?: string;
|
|
21071
|
+
};
|
|
21072
|
+
header?: never;
|
|
21073
|
+
path: {
|
|
21074
|
+
/** @description The function's id. */
|
|
21075
|
+
function_id: string;
|
|
21076
|
+
};
|
|
21077
|
+
cookie?: never;
|
|
21078
|
+
};
|
|
21079
|
+
requestBody?: never;
|
|
21080
|
+
responses: {
|
|
21081
|
+
/** @description Invocations, without their lines. */
|
|
21082
|
+
200: {
|
|
21083
|
+
headers: {
|
|
21084
|
+
/** @description Requests allowed per window for this key. */
|
|
21085
|
+
"RateLimit-Limit"?: number;
|
|
21086
|
+
/** @description Requests left in this window. */
|
|
21087
|
+
"RateLimit-Remaining"?: number;
|
|
21088
|
+
/** @description Seconds until the window resets. */
|
|
21089
|
+
"RateLimit-Reset"?: number;
|
|
21090
|
+
/** @description This request's id. */
|
|
21091
|
+
"X-Request-Id"?: string;
|
|
21092
|
+
[name: string]: unknown;
|
|
21093
|
+
};
|
|
21094
|
+
content: {
|
|
21095
|
+
"application/json": components["schemas"]["FunctionInvocationList"];
|
|
21096
|
+
};
|
|
21097
|
+
};
|
|
21098
|
+
401: components["responses"]["Unauthenticated"];
|
|
21099
|
+
/**
|
|
21100
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21101
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin. Reading logs needs the `functions:ReadLogs` permission, which owners, admins and developers have.
|
|
21102
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21103
|
+
*/
|
|
21104
|
+
403: {
|
|
21105
|
+
headers: {
|
|
21106
|
+
[name: string]: unknown;
|
|
21107
|
+
};
|
|
21108
|
+
content: {
|
|
21109
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21110
|
+
};
|
|
21111
|
+
};
|
|
21112
|
+
/** @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
21113
|
+
404: {
|
|
21114
|
+
headers: {
|
|
21115
|
+
[name: string]: unknown;
|
|
21116
|
+
};
|
|
21117
|
+
content: {
|
|
21118
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21119
|
+
};
|
|
21120
|
+
};
|
|
21121
|
+
/** @description `VALIDATION_FAILED`: a filter is not valid: `limit` 1 to 100, `cursor` from a previous page, `outcome` from the list above, `q` at most 200 characters on one line, `since` and `until` RFC 3339 times with `since` before `until`. */
|
|
21122
|
+
422: {
|
|
21123
|
+
headers: {
|
|
21124
|
+
[name: string]: unknown;
|
|
21125
|
+
};
|
|
21126
|
+
content: {
|
|
21127
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21128
|
+
};
|
|
21129
|
+
};
|
|
21130
|
+
429: components["responses"]["RateLimited"];
|
|
21131
|
+
/**
|
|
21132
|
+
* @description `FUNCTION_LOGS_UNAVAILABLE`: logs cannot be read right now. Retry shortly.
|
|
21133
|
+
* `QUOTA_UNAVAILABLE`: the request quota could not be checked. Retry shortly.
|
|
21134
|
+
*/
|
|
21135
|
+
503: {
|
|
21136
|
+
headers: {
|
|
21137
|
+
[name: string]: unknown;
|
|
21138
|
+
};
|
|
21139
|
+
content: {
|
|
21140
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21141
|
+
};
|
|
21142
|
+
};
|
|
21143
|
+
};
|
|
21144
|
+
};
|
|
21145
|
+
invokeFunction: {
|
|
21146
|
+
parameters: {
|
|
21147
|
+
query?: never;
|
|
21148
|
+
header?: never;
|
|
21149
|
+
path: {
|
|
21150
|
+
/** @description The function's id. */
|
|
21151
|
+
function_id: string;
|
|
21152
|
+
};
|
|
21153
|
+
cookie?: never;
|
|
21154
|
+
};
|
|
21155
|
+
/** @description The event, any JSON value up to 6 MiB. */
|
|
21156
|
+
requestBody?: {
|
|
21157
|
+
content: {
|
|
21158
|
+
"application/json": unknown;
|
|
21159
|
+
};
|
|
21160
|
+
};
|
|
21161
|
+
responses: {
|
|
21162
|
+
/** @description The handler ran; `outcome` says how it ended. */
|
|
21163
|
+
200: {
|
|
21164
|
+
headers: {
|
|
21165
|
+
/** @description Requests allowed per window for this key. */
|
|
21166
|
+
"RateLimit-Limit"?: number;
|
|
21167
|
+
/** @description Requests left in this window. */
|
|
21168
|
+
"RateLimit-Remaining"?: number;
|
|
21169
|
+
/** @description Seconds until the window resets. */
|
|
21170
|
+
"RateLimit-Reset"?: number;
|
|
21171
|
+
/** @description This request's id. */
|
|
21172
|
+
"X-Request-Id"?: string;
|
|
21173
|
+
[name: string]: unknown;
|
|
21174
|
+
};
|
|
21175
|
+
content: {
|
|
21176
|
+
"application/json": components["schemas"]["FunctionInvokeResult"];
|
|
21177
|
+
};
|
|
21178
|
+
};
|
|
21179
|
+
401: components["responses"]["Unauthenticated"];
|
|
21180
|
+
/**
|
|
21181
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21182
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin. Invoking needs the `functions:Invoke` permission, which owners, admins and developers have.
|
|
21183
|
+
* `FUNCTION_SUSPENDED`: the function's organization is suspended, so it does not run.
|
|
21184
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21185
|
+
*/
|
|
21186
|
+
403: {
|
|
21187
|
+
headers: {
|
|
21188
|
+
[name: string]: unknown;
|
|
21189
|
+
};
|
|
21190
|
+
content: {
|
|
21191
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21192
|
+
};
|
|
21193
|
+
};
|
|
21194
|
+
/** @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
21195
|
+
404: {
|
|
21196
|
+
headers: {
|
|
21197
|
+
[name: string]: unknown;
|
|
21198
|
+
};
|
|
21199
|
+
content: {
|
|
21200
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21201
|
+
};
|
|
21202
|
+
};
|
|
21203
|
+
/** @description `FUNCTION_NOT_SERVING`: the function has no version serving yet, or was deleted. Deploy a version and wait for it to be ready. */
|
|
21204
|
+
409: {
|
|
21205
|
+
headers: {
|
|
21206
|
+
[name: string]: unknown;
|
|
21207
|
+
};
|
|
21208
|
+
content: {
|
|
21209
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21210
|
+
};
|
|
21211
|
+
};
|
|
21212
|
+
/** @description `FUNCTION_EVENT_TOO_LARGE`: the event is over 6 MiB. */
|
|
21213
|
+
413: {
|
|
21214
|
+
headers: {
|
|
21215
|
+
[name: string]: unknown;
|
|
21216
|
+
};
|
|
21217
|
+
content: {
|
|
21218
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21219
|
+
};
|
|
21220
|
+
};
|
|
21221
|
+
/** @description `VALIDATION_FAILED`: the body is not a JSON value (`event`). */
|
|
21222
|
+
422: {
|
|
21223
|
+
headers: {
|
|
21224
|
+
[name: string]: unknown;
|
|
21225
|
+
};
|
|
21226
|
+
content: {
|
|
21227
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21228
|
+
};
|
|
21229
|
+
};
|
|
21230
|
+
/**
|
|
21231
|
+
* @description `FUNCTION_CONCURRENCY_LIMIT`: the function is running as many calls as its concurrency limit allows. Retry after `Retry-After`.
|
|
21232
|
+
* `RATE_LIMITED`: too many requests for this key. Retry after `Retry-After`.
|
|
21233
|
+
*/
|
|
21234
|
+
429: {
|
|
21235
|
+
headers: {
|
|
21236
|
+
[name: string]: unknown;
|
|
21237
|
+
};
|
|
21238
|
+
content: {
|
|
21239
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21240
|
+
};
|
|
21241
|
+
};
|
|
21242
|
+
/**
|
|
21243
|
+
* @description `FUNCTION_BUSY`: no capacity is free to run the function right now. Retry shortly.
|
|
21244
|
+
* `FUNCTION_INVOKE_UNAVAILABLE`: functions cannot be invoked right now. Retry shortly.
|
|
21245
|
+
* `QUOTA_UNAVAILABLE`: the request quota could not be checked. Retry shortly.
|
|
21246
|
+
*/
|
|
21247
|
+
503: {
|
|
21248
|
+
headers: {
|
|
21249
|
+
[name: string]: unknown;
|
|
21250
|
+
};
|
|
21251
|
+
content: {
|
|
21252
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21253
|
+
};
|
|
21254
|
+
};
|
|
21255
|
+
};
|
|
21256
|
+
};
|
|
21257
|
+
getFunctionInvocation: {
|
|
21258
|
+
parameters: {
|
|
21259
|
+
query?: never;
|
|
21260
|
+
header?: never;
|
|
21261
|
+
path: {
|
|
21262
|
+
/** @description The function's id. */
|
|
21263
|
+
function_id: string;
|
|
21264
|
+
/** @description The invocation's request id, from the response's `X-Request-Id` header. */
|
|
21265
|
+
request_id: string;
|
|
21266
|
+
};
|
|
21267
|
+
cookie?: never;
|
|
21268
|
+
};
|
|
21269
|
+
requestBody?: never;
|
|
21270
|
+
responses: {
|
|
21271
|
+
/** @description The invocation with its lines. */
|
|
21272
|
+
200: {
|
|
21273
|
+
headers: {
|
|
21274
|
+
/** @description Requests allowed per window for this key. */
|
|
21275
|
+
"RateLimit-Limit"?: number;
|
|
21276
|
+
/** @description Requests left in this window. */
|
|
21277
|
+
"RateLimit-Remaining"?: number;
|
|
21278
|
+
/** @description Seconds until the window resets. */
|
|
21279
|
+
"RateLimit-Reset"?: number;
|
|
21280
|
+
/** @description This request's id. */
|
|
21281
|
+
"X-Request-Id"?: string;
|
|
21282
|
+
[name: string]: unknown;
|
|
21283
|
+
};
|
|
21284
|
+
content: {
|
|
21285
|
+
"application/json": components["schemas"]["FunctionInvocation"];
|
|
21286
|
+
};
|
|
21287
|
+
};
|
|
21288
|
+
401: components["responses"]["Unauthenticated"];
|
|
21289
|
+
/**
|
|
21290
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21291
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin. Reading logs needs the `functions:ReadLogs` permission, which owners, admins and developers have.
|
|
21292
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21293
|
+
*/
|
|
21294
|
+
403: {
|
|
21295
|
+
headers: {
|
|
21296
|
+
[name: string]: unknown;
|
|
21297
|
+
};
|
|
21298
|
+
content: {
|
|
21299
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21300
|
+
};
|
|
21301
|
+
};
|
|
21302
|
+
/**
|
|
21303
|
+
* @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it.
|
|
21304
|
+
* `FUNCTION_INVOCATION_NOT_FOUND`: no invocation with this request id in the last 7 days.
|
|
21305
|
+
*/
|
|
21306
|
+
404: {
|
|
21307
|
+
headers: {
|
|
21308
|
+
[name: string]: unknown;
|
|
21309
|
+
};
|
|
21310
|
+
content: {
|
|
21311
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21312
|
+
};
|
|
21313
|
+
};
|
|
21314
|
+
429: components["responses"]["RateLimited"];
|
|
21315
|
+
/**
|
|
21316
|
+
* @description `FUNCTION_LOGS_UNAVAILABLE`: logs cannot be read right now. Retry shortly.
|
|
21317
|
+
* `QUOTA_UNAVAILABLE`: the request quota could not be checked. Retry shortly.
|
|
21318
|
+
*/
|
|
21319
|
+
503: {
|
|
21320
|
+
headers: {
|
|
21321
|
+
[name: string]: unknown;
|
|
21322
|
+
};
|
|
21323
|
+
content: {
|
|
21324
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21325
|
+
};
|
|
21326
|
+
};
|
|
21327
|
+
};
|
|
21328
|
+
};
|
|
21329
|
+
getFunctionMetrics: {
|
|
21330
|
+
parameters: {
|
|
21331
|
+
query?: {
|
|
21332
|
+
/** @description How far back: `1h` in 1-minute steps, `6h` in 5-minute steps, `24h` (the default) in 15-minute steps, `7d` in hourly steps, `14d` in 3-hour steps. */
|
|
21333
|
+
period?: "1h" | "6h" | "24h" | "7d" | "14d";
|
|
21334
|
+
};
|
|
21335
|
+
header?: never;
|
|
21336
|
+
path: {
|
|
21337
|
+
/** @description The function's id. */
|
|
21338
|
+
function_id: string;
|
|
21339
|
+
};
|
|
21340
|
+
cookie?: never;
|
|
21341
|
+
};
|
|
21342
|
+
requestBody?: never;
|
|
21343
|
+
responses: {
|
|
21344
|
+
/** @description The function's metrics. */
|
|
21345
|
+
200: {
|
|
21346
|
+
headers: {
|
|
21347
|
+
/** @description Requests allowed per window for this key. */
|
|
21348
|
+
"RateLimit-Limit"?: number;
|
|
21349
|
+
/** @description Requests left in this window. */
|
|
21350
|
+
"RateLimit-Remaining"?: number;
|
|
21351
|
+
/** @description Seconds until the window resets. */
|
|
21352
|
+
"RateLimit-Reset"?: number;
|
|
21353
|
+
/** @description This request's id. */
|
|
21354
|
+
"X-Request-Id"?: string;
|
|
21355
|
+
[name: string]: unknown;
|
|
21356
|
+
};
|
|
21357
|
+
content: {
|
|
21358
|
+
"application/json": components["schemas"]["FunctionMetrics"];
|
|
21359
|
+
};
|
|
21360
|
+
};
|
|
21361
|
+
401: components["responses"]["Unauthenticated"];
|
|
21362
|
+
/**
|
|
21363
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21364
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
21365
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21366
|
+
*/
|
|
21367
|
+
403: {
|
|
21368
|
+
headers: {
|
|
21369
|
+
[name: string]: unknown;
|
|
21370
|
+
};
|
|
21371
|
+
content: {
|
|
21372
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21373
|
+
};
|
|
21374
|
+
};
|
|
21375
|
+
/** @description `FUNCTION_NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
21376
|
+
404: {
|
|
21377
|
+
headers: {
|
|
21378
|
+
[name: string]: unknown;
|
|
21379
|
+
};
|
|
21380
|
+
content: {
|
|
21381
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21382
|
+
};
|
|
21383
|
+
};
|
|
21384
|
+
/** @description `VALIDATION_FAILED`: `period` is not one of `1h`, `6h`, `24h`, `7d` or `14d`. */
|
|
21385
|
+
422: {
|
|
21386
|
+
headers: {
|
|
21387
|
+
[name: string]: unknown;
|
|
21388
|
+
};
|
|
21389
|
+
content: {
|
|
21390
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21391
|
+
};
|
|
21392
|
+
};
|
|
21393
|
+
429: components["responses"]["RateLimited"];
|
|
21394
|
+
/**
|
|
21395
|
+
* @description `FUNCTION_METRICS_UNAVAILABLE`: metrics cannot be read right now. Retry shortly.
|
|
21396
|
+
* `QUOTA_UNAVAILABLE`: the request quota could not be checked. Retry shortly.
|
|
21397
|
+
*/
|
|
21398
|
+
503: {
|
|
21399
|
+
headers: {
|
|
21400
|
+
[name: string]: unknown;
|
|
21401
|
+
};
|
|
21402
|
+
content: {
|
|
21403
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
19193
21404
|
};
|
|
19194
21405
|
};
|
|
19195
|
-
401: components["responses"]["Unauthenticated"];
|
|
19196
|
-
429: components["responses"]["RateLimited"];
|
|
19197
21406
|
};
|
|
19198
21407
|
};
|
|
19199
|
-
|
|
21408
|
+
listFunctionSchedules: {
|
|
19200
21409
|
parameters: {
|
|
19201
21410
|
query?: never;
|
|
19202
21411
|
header?: never;
|
|
19203
|
-
path
|
|
21412
|
+
path: {
|
|
21413
|
+
/** @description The function's id. */
|
|
21414
|
+
function_id: string;
|
|
21415
|
+
};
|
|
19204
21416
|
cookie?: never;
|
|
19205
21417
|
};
|
|
19206
21418
|
requestBody?: never;
|
|
19207
21419
|
responses: {
|
|
19208
|
-
/** @description
|
|
21420
|
+
/** @description The function's schedules. */
|
|
19209
21421
|
200: {
|
|
19210
21422
|
headers: {
|
|
21423
|
+
/** @description Requests allowed per window for this key. */
|
|
21424
|
+
"RateLimit-Limit"?: number;
|
|
21425
|
+
/** @description Requests left in this window. */
|
|
21426
|
+
"RateLimit-Remaining"?: number;
|
|
21427
|
+
/** @description Seconds until the window resets. */
|
|
21428
|
+
"RateLimit-Reset"?: number;
|
|
21429
|
+
/** @description This request's id. */
|
|
21430
|
+
"X-Request-Id"?: string;
|
|
19211
21431
|
[name: string]: unknown;
|
|
19212
21432
|
};
|
|
19213
21433
|
content: {
|
|
19214
|
-
"application/json":
|
|
19215
|
-
data: Record<string, never>[];
|
|
19216
|
-
next_cursor?: string | null;
|
|
19217
|
-
};
|
|
21434
|
+
"application/json": components["schemas"]["FunctionScheduleList"];
|
|
19218
21435
|
};
|
|
19219
21436
|
};
|
|
19220
21437
|
401: components["responses"]["Unauthenticated"];
|
|
19221
|
-
|
|
19222
|
-
|
|
19223
|
-
|
|
19224
|
-
|
|
19225
|
-
|
|
19226
|
-
|
|
19227
|
-
|
|
19228
|
-
|
|
19229
|
-
|
|
21438
|
+
/**
|
|
21439
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21440
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
21441
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21442
|
+
*/
|
|
21443
|
+
403: {
|
|
21444
|
+
headers: {
|
|
21445
|
+
[name: string]: unknown;
|
|
21446
|
+
};
|
|
21447
|
+
content: {
|
|
21448
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21449
|
+
};
|
|
19230
21450
|
};
|
|
19231
|
-
|
|
19232
|
-
|
|
19233
|
-
requestBody?: never;
|
|
19234
|
-
responses: {
|
|
19235
|
-
/** @description Bucket shares. */
|
|
19236
|
-
200: {
|
|
21451
|
+
/** @description `FUNCTION_NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
21452
|
+
404: {
|
|
19237
21453
|
headers: {
|
|
19238
21454
|
[name: string]: unknown;
|
|
19239
21455
|
};
|
|
19240
21456
|
content: {
|
|
19241
|
-
"application/json":
|
|
19242
|
-
data: Record<string, never>[];
|
|
19243
|
-
next_cursor?: string | null;
|
|
19244
|
-
};
|
|
21457
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
19245
21458
|
};
|
|
19246
21459
|
};
|
|
19247
|
-
401: components["responses"]["Unauthenticated"];
|
|
19248
21460
|
429: components["responses"]["RateLimited"];
|
|
21461
|
+
/**
|
|
21462
|
+
* @description `FUNCTION_SCHEDULES_UNAVAILABLE`: schedules cannot be read or changed right now. Retry shortly.
|
|
21463
|
+
* `QUOTA_UNAVAILABLE`: the request quota could not be checked. Retry shortly.
|
|
21464
|
+
*/
|
|
21465
|
+
503: {
|
|
21466
|
+
headers: {
|
|
21467
|
+
[name: string]: unknown;
|
|
21468
|
+
};
|
|
21469
|
+
content: {
|
|
21470
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21471
|
+
};
|
|
21472
|
+
};
|
|
19249
21473
|
};
|
|
19250
21474
|
};
|
|
19251
|
-
|
|
21475
|
+
createFunctionSchedule: {
|
|
19252
21476
|
parameters: {
|
|
19253
21477
|
query?: never;
|
|
19254
21478
|
header: {
|
|
@@ -19256,37 +21480,115 @@ interface operations {
|
|
|
19256
21480
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
19257
21481
|
};
|
|
19258
21482
|
path: {
|
|
19259
|
-
|
|
21483
|
+
/** @description The function's id. */
|
|
21484
|
+
function_id: string;
|
|
19260
21485
|
};
|
|
19261
21486
|
cookie?: never;
|
|
19262
21487
|
};
|
|
19263
21488
|
requestBody: {
|
|
19264
21489
|
content: {
|
|
19265
|
-
"application/json":
|
|
19266
|
-
grantee_organization_id: string;
|
|
19267
|
-
/** @enum {string} */
|
|
19268
|
-
permissions: "read_only" | "write_only" | "read_write";
|
|
19269
|
-
prefixes?: string[];
|
|
19270
|
-
/** Format: date-time */
|
|
19271
|
-
expires_at?: string;
|
|
19272
|
-
};
|
|
21490
|
+
"application/json": components["schemas"]["CreateFunctionScheduleRequest"];
|
|
19273
21491
|
};
|
|
19274
21492
|
};
|
|
19275
21493
|
responses: {
|
|
19276
|
-
/** @description
|
|
21494
|
+
/** @description The schedule. */
|
|
19277
21495
|
201: {
|
|
19278
21496
|
headers: {
|
|
21497
|
+
/** @description Requests allowed per window for this key. */
|
|
21498
|
+
"RateLimit-Limit"?: number;
|
|
21499
|
+
/** @description Requests left in this window. */
|
|
21500
|
+
"RateLimit-Remaining"?: number;
|
|
21501
|
+
/** @description Seconds until the window resets. */
|
|
21502
|
+
"RateLimit-Reset"?: number;
|
|
21503
|
+
/** @description This request's id. */
|
|
21504
|
+
"X-Request-Id"?: string;
|
|
19279
21505
|
[name: string]: unknown;
|
|
19280
21506
|
};
|
|
19281
21507
|
content: {
|
|
19282
|
-
"application/json":
|
|
21508
|
+
"application/json": components["schemas"]["FunctionSchedule"];
|
|
21509
|
+
};
|
|
21510
|
+
};
|
|
21511
|
+
/**
|
|
21512
|
+
* @description `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
|
|
21513
|
+
* `INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
|
|
21514
|
+
* `INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
|
|
21515
|
+
*/
|
|
21516
|
+
400: {
|
|
21517
|
+
headers: {
|
|
21518
|
+
[name: string]: unknown;
|
|
21519
|
+
};
|
|
21520
|
+
content: {
|
|
21521
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
19283
21522
|
};
|
|
19284
21523
|
};
|
|
19285
21524
|
401: components["responses"]["Unauthenticated"];
|
|
21525
|
+
/**
|
|
21526
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21527
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
21528
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21529
|
+
* `FUNCTIONS_UNAVAILABLE`: functions are not available to this organization.
|
|
21530
|
+
* `FUNCTION_SCHEDULE_LIMIT_REACHED`: the function already has 10 schedules. Delete one first.
|
|
21531
|
+
*/
|
|
21532
|
+
403: {
|
|
21533
|
+
headers: {
|
|
21534
|
+
[name: string]: unknown;
|
|
21535
|
+
};
|
|
21536
|
+
content: {
|
|
21537
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21538
|
+
};
|
|
21539
|
+
};
|
|
21540
|
+
/** @description `FUNCTION_NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
21541
|
+
404: {
|
|
21542
|
+
headers: {
|
|
21543
|
+
[name: string]: unknown;
|
|
21544
|
+
};
|
|
21545
|
+
content: {
|
|
21546
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21547
|
+
};
|
|
21548
|
+
};
|
|
21549
|
+
/**
|
|
21550
|
+
* @description `ACCOUNT_SUSPENDED`: the account has an overdue invoice. Pay it under Billing in the console, then try again.
|
|
21551
|
+
* `ACCOUNT_NOT_ACTIVE`: billing setup is not finished. Finish it under Billing in the console, then try again.
|
|
21552
|
+
*/
|
|
21553
|
+
409: {
|
|
21554
|
+
headers: {
|
|
21555
|
+
[name: string]: unknown;
|
|
21556
|
+
};
|
|
21557
|
+
content: {
|
|
21558
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21559
|
+
};
|
|
21560
|
+
};
|
|
21561
|
+
/**
|
|
21562
|
+
* @description `VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
|
|
21563
|
+
* `expression` `REQUIRED` or `INVALID`: use five cron fields (minute hour day month weekday), a shortcut such as `@daily`, or `rate(N minutes|hours|days)`; at most once a minute.
|
|
21564
|
+
* `time_zone` `INVALID`: use an IANA time zone such as `UTC` or `Africa/Lagos`.
|
|
21565
|
+
* `description` `INVALID`: use at most 200 characters on one line.
|
|
21566
|
+
* `input` `INVALID`: use a JSON value of at most 8 KiB.
|
|
21567
|
+
*/
|
|
21568
|
+
422: {
|
|
21569
|
+
headers: {
|
|
21570
|
+
[name: string]: unknown;
|
|
21571
|
+
};
|
|
21572
|
+
content: {
|
|
21573
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21574
|
+
};
|
|
21575
|
+
};
|
|
19286
21576
|
429: components["responses"]["RateLimited"];
|
|
21577
|
+
/**
|
|
21578
|
+
* @description `FUNCTION_SCHEDULES_UNAVAILABLE`: schedules cannot be read or changed right now. Retry shortly.
|
|
21579
|
+
* `QUOTA_UNAVAILABLE`: the request quota could not be checked. Retry shortly.
|
|
21580
|
+
*/
|
|
21581
|
+
503: {
|
|
21582
|
+
headers: {
|
|
21583
|
+
[name: string]: unknown;
|
|
21584
|
+
};
|
|
21585
|
+
content: {
|
|
21586
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21587
|
+
};
|
|
21588
|
+
};
|
|
19287
21589
|
};
|
|
19288
21590
|
};
|
|
19289
|
-
|
|
21591
|
+
deleteFunctionSchedule: {
|
|
19290
21592
|
parameters: {
|
|
19291
21593
|
query?: never;
|
|
19292
21594
|
header: {
|
|
@@ -19294,52 +21596,77 @@ interface operations {
|
|
|
19294
21596
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
19295
21597
|
};
|
|
19296
21598
|
path: {
|
|
19297
|
-
|
|
19298
|
-
|
|
21599
|
+
/** @description The function's id. */
|
|
21600
|
+
function_id: string;
|
|
21601
|
+
/** @description The schedule's id. */
|
|
21602
|
+
schedule_id: string;
|
|
19299
21603
|
};
|
|
19300
21604
|
cookie?: never;
|
|
19301
21605
|
};
|
|
19302
21606
|
requestBody?: never;
|
|
19303
21607
|
responses: {
|
|
19304
|
-
/** @description
|
|
21608
|
+
/** @description The schedule is deleted. */
|
|
19305
21609
|
204: {
|
|
19306
21610
|
headers: {
|
|
19307
21611
|
[name: string]: unknown;
|
|
19308
21612
|
};
|
|
19309
21613
|
content?: never;
|
|
19310
21614
|
};
|
|
21615
|
+
/**
|
|
21616
|
+
* @description `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
|
|
21617
|
+
* `INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
|
|
21618
|
+
* `INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
|
|
21619
|
+
*/
|
|
21620
|
+
400: {
|
|
21621
|
+
headers: {
|
|
21622
|
+
[name: string]: unknown;
|
|
21623
|
+
};
|
|
21624
|
+
content: {
|
|
21625
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21626
|
+
};
|
|
21627
|
+
};
|
|
19311
21628
|
401: components["responses"]["Unauthenticated"];
|
|
19312
|
-
|
|
19313
|
-
|
|
19314
|
-
|
|
19315
|
-
|
|
19316
|
-
|
|
19317
|
-
|
|
19318
|
-
|
|
19319
|
-
|
|
19320
|
-
|
|
21629
|
+
/**
|
|
21630
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21631
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
21632
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21633
|
+
*/
|
|
21634
|
+
403: {
|
|
21635
|
+
headers: {
|
|
21636
|
+
[name: string]: unknown;
|
|
21637
|
+
};
|
|
21638
|
+
content: {
|
|
21639
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21640
|
+
};
|
|
19321
21641
|
};
|
|
19322
|
-
|
|
19323
|
-
|
|
19324
|
-
|
|
19325
|
-
|
|
19326
|
-
|
|
19327
|
-
200: {
|
|
21642
|
+
/**
|
|
21643
|
+
* @description `FUNCTION_NOT_FOUND`: no function with this id exists in your organization. List your functions to find it.
|
|
21644
|
+
* `FUNCTION_SCHEDULE_NOT_FOUND`: the function has no schedule with this id. List its schedules to find it.
|
|
21645
|
+
*/
|
|
21646
|
+
404: {
|
|
19328
21647
|
headers: {
|
|
19329
21648
|
[name: string]: unknown;
|
|
19330
21649
|
};
|
|
19331
21650
|
content: {
|
|
19332
|
-
"application/json":
|
|
19333
|
-
data: Record<string, never>[];
|
|
19334
|
-
next_cursor?: string | null;
|
|
19335
|
-
};
|
|
21651
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
19336
21652
|
};
|
|
19337
21653
|
};
|
|
19338
|
-
401: components["responses"]["Unauthenticated"];
|
|
19339
21654
|
429: components["responses"]["RateLimited"];
|
|
21655
|
+
/**
|
|
21656
|
+
* @description `FUNCTION_SCHEDULES_UNAVAILABLE`: schedules cannot be read or changed right now. Retry shortly.
|
|
21657
|
+
* `QUOTA_UNAVAILABLE`: the request quota could not be checked. Retry shortly.
|
|
21658
|
+
*/
|
|
21659
|
+
503: {
|
|
21660
|
+
headers: {
|
|
21661
|
+
[name: string]: unknown;
|
|
21662
|
+
};
|
|
21663
|
+
content: {
|
|
21664
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21665
|
+
};
|
|
21666
|
+
};
|
|
19340
21667
|
};
|
|
19341
21668
|
};
|
|
19342
|
-
|
|
21669
|
+
updateFunctionSchedule: {
|
|
19343
21670
|
parameters: {
|
|
19344
21671
|
query?: never;
|
|
19345
21672
|
header: {
|
|
@@ -19347,167 +21674,176 @@ interface operations {
|
|
|
19347
21674
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
19348
21675
|
};
|
|
19349
21676
|
path: {
|
|
19350
|
-
|
|
21677
|
+
/** @description The function's id. */
|
|
21678
|
+
function_id: string;
|
|
21679
|
+
/** @description The schedule's id. */
|
|
21680
|
+
schedule_id: string;
|
|
19351
21681
|
};
|
|
19352
21682
|
cookie?: never;
|
|
19353
21683
|
};
|
|
19354
21684
|
requestBody: {
|
|
19355
21685
|
content: {
|
|
19356
|
-
"application/json":
|
|
19357
|
-
name: string;
|
|
19358
|
-
events: ("object.created" | "object.removed")[];
|
|
19359
|
-
prefix?: string;
|
|
19360
|
-
suffix?: string;
|
|
19361
|
-
/** @enum {string} */
|
|
19362
|
-
target_type: "webhook" | "function";
|
|
19363
|
-
target_id: string;
|
|
19364
|
-
enabled?: boolean;
|
|
19365
|
-
};
|
|
21686
|
+
"application/json": components["schemas"]["UpdateFunctionScheduleRequest"];
|
|
19366
21687
|
};
|
|
19367
21688
|
};
|
|
19368
21689
|
responses: {
|
|
19369
|
-
/** @description
|
|
19370
|
-
|
|
21690
|
+
/** @description The schedule. */
|
|
21691
|
+
200: {
|
|
19371
21692
|
headers: {
|
|
21693
|
+
/** @description Requests allowed per window for this key. */
|
|
21694
|
+
"RateLimit-Limit"?: number;
|
|
21695
|
+
/** @description Requests left in this window. */
|
|
21696
|
+
"RateLimit-Remaining"?: number;
|
|
21697
|
+
/** @description Seconds until the window resets. */
|
|
21698
|
+
"RateLimit-Reset"?: number;
|
|
21699
|
+
/** @description This request's id. */
|
|
21700
|
+
"X-Request-Id"?: string;
|
|
19372
21701
|
[name: string]: unknown;
|
|
19373
21702
|
};
|
|
19374
21703
|
content: {
|
|
19375
|
-
"application/json":
|
|
21704
|
+
"application/json": components["schemas"]["FunctionSchedule"];
|
|
19376
21705
|
};
|
|
19377
21706
|
};
|
|
19378
|
-
|
|
19379
|
-
|
|
19380
|
-
|
|
19381
|
-
|
|
19382
|
-
|
|
19383
|
-
|
|
19384
|
-
query?: never;
|
|
19385
|
-
header: {
|
|
19386
|
-
/** @description A unique value per change, e.g. a UUID. Retrying with the same key returns the original result instead of repeating the change; reusing it for a different request is an error. Required on every POST, PUT and DELETE. */
|
|
19387
|
-
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
19388
|
-
};
|
|
19389
|
-
path: {
|
|
19390
|
-
bucket_id: string;
|
|
19391
|
-
notification_id: string;
|
|
19392
|
-
};
|
|
19393
|
-
cookie?: never;
|
|
19394
|
-
};
|
|
19395
|
-
requestBody?: never;
|
|
19396
|
-
responses: {
|
|
19397
|
-
/** @description Notification rule deleted. */
|
|
19398
|
-
204: {
|
|
21707
|
+
/**
|
|
21708
|
+
* @description `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
|
|
21709
|
+
* `INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
|
|
21710
|
+
* `INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
|
|
21711
|
+
*/
|
|
21712
|
+
400: {
|
|
19399
21713
|
headers: {
|
|
19400
21714
|
[name: string]: unknown;
|
|
19401
21715
|
};
|
|
19402
|
-
content
|
|
21716
|
+
content: {
|
|
21717
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21718
|
+
};
|
|
19403
21719
|
};
|
|
19404
21720
|
401: components["responses"]["Unauthenticated"];
|
|
19405
|
-
|
|
19406
|
-
|
|
19407
|
-
|
|
19408
|
-
|
|
19409
|
-
|
|
19410
|
-
|
|
19411
|
-
|
|
19412
|
-
|
|
19413
|
-
|
|
21721
|
+
/**
|
|
21722
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21723
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
21724
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21725
|
+
* `FUNCTIONS_UNAVAILABLE`: functions are not available to this organization.
|
|
21726
|
+
*/
|
|
21727
|
+
403: {
|
|
21728
|
+
headers: {
|
|
21729
|
+
[name: string]: unknown;
|
|
21730
|
+
};
|
|
21731
|
+
content: {
|
|
21732
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21733
|
+
};
|
|
19414
21734
|
};
|
|
19415
|
-
|
|
19416
|
-
|
|
19417
|
-
|
|
21735
|
+
/**
|
|
21736
|
+
* @description `FUNCTION_NOT_FOUND`: no function with this id exists in your organization. List your functions to find it.
|
|
21737
|
+
* `FUNCTION_SCHEDULE_NOT_FOUND`: the function has no schedule with this id. List its schedules to find it.
|
|
21738
|
+
*/
|
|
21739
|
+
404: {
|
|
21740
|
+
headers: {
|
|
21741
|
+
[name: string]: unknown;
|
|
21742
|
+
};
|
|
21743
|
+
content: {
|
|
21744
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21745
|
+
};
|
|
19418
21746
|
};
|
|
19419
|
-
|
|
19420
|
-
|
|
19421
|
-
|
|
19422
|
-
|
|
19423
|
-
|
|
19424
|
-
|
|
19425
|
-
|
|
19426
|
-
|
|
19427
|
-
|
|
21747
|
+
/**
|
|
21748
|
+
* @description `ACCOUNT_SUSPENDED`: the account has an overdue invoice. Pay it under Billing in the console, then try again.
|
|
21749
|
+
* `ACCOUNT_NOT_ACTIVE`: billing setup is not finished. Finish it under Billing in the console, then try again.
|
|
21750
|
+
*/
|
|
21751
|
+
409: {
|
|
21752
|
+
headers: {
|
|
21753
|
+
[name: string]: unknown;
|
|
21754
|
+
};
|
|
21755
|
+
content: {
|
|
21756
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
19428
21757
|
};
|
|
19429
21758
|
};
|
|
19430
|
-
|
|
19431
|
-
|
|
19432
|
-
|
|
19433
|
-
|
|
21759
|
+
/**
|
|
21760
|
+
* @description `VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
|
|
21761
|
+
* `expression` `REQUIRED` or `INVALID`: use five cron fields (minute hour day month weekday), a shortcut such as `@daily`, or `rate(N minutes|hours|days)`; at most once a minute.
|
|
21762
|
+
* `time_zone` `INVALID`: use an IANA time zone such as `UTC` or `Africa/Lagos`.
|
|
21763
|
+
* `description` `INVALID`: use at most 200 characters on one line.
|
|
21764
|
+
* `input` `INVALID`: use a JSON value of at most 8 KiB.
|
|
21765
|
+
* `state` `INVALID`: use `active` or `paused`.
|
|
21766
|
+
*/
|
|
21767
|
+
422: {
|
|
19434
21768
|
headers: {
|
|
19435
21769
|
[name: string]: unknown;
|
|
19436
21770
|
};
|
|
19437
21771
|
content: {
|
|
19438
|
-
"application/json":
|
|
21772
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
19439
21773
|
};
|
|
19440
21774
|
};
|
|
19441
|
-
401: components["responses"]["Unauthenticated"];
|
|
19442
21775
|
429: components["responses"]["RateLimited"];
|
|
21776
|
+
/**
|
|
21777
|
+
* @description `FUNCTION_SCHEDULES_UNAVAILABLE`: schedules cannot be read or changed right now. Retry shortly.
|
|
21778
|
+
* `QUOTA_UNAVAILABLE`: the request quota could not be checked. Retry shortly.
|
|
21779
|
+
*/
|
|
21780
|
+
503: {
|
|
21781
|
+
headers: {
|
|
21782
|
+
[name: string]: unknown;
|
|
21783
|
+
};
|
|
21784
|
+
content: {
|
|
21785
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21786
|
+
};
|
|
21787
|
+
};
|
|
19443
21788
|
};
|
|
19444
21789
|
};
|
|
19445
|
-
|
|
21790
|
+
listFunctionVersions: {
|
|
19446
21791
|
parameters: {
|
|
19447
21792
|
query?: never;
|
|
19448
21793
|
header?: never;
|
|
19449
21794
|
path: {
|
|
19450
|
-
|
|
21795
|
+
/** @description The function's id. */
|
|
21796
|
+
function_id: string;
|
|
19451
21797
|
};
|
|
19452
21798
|
cookie?: never;
|
|
19453
21799
|
};
|
|
19454
21800
|
requestBody?: never;
|
|
19455
21801
|
responses: {
|
|
19456
|
-
/** @description
|
|
21802
|
+
/** @description Versions. */
|
|
19457
21803
|
200: {
|
|
19458
21804
|
headers: {
|
|
21805
|
+
/** @description Requests allowed per window for this key. */
|
|
21806
|
+
"RateLimit-Limit"?: number;
|
|
21807
|
+
/** @description Requests left in this window. */
|
|
21808
|
+
"RateLimit-Remaining"?: number;
|
|
21809
|
+
/** @description Seconds until the window resets. */
|
|
21810
|
+
"RateLimit-Reset"?: number;
|
|
21811
|
+
/** @description This request's id. */
|
|
21812
|
+
"X-Request-Id"?: string;
|
|
19459
21813
|
[name: string]: unknown;
|
|
19460
21814
|
};
|
|
19461
21815
|
content: {
|
|
19462
|
-
"application/json":
|
|
19463
|
-
data: Record<string, never>[];
|
|
19464
|
-
next_cursor?: string | null;
|
|
19465
|
-
};
|
|
21816
|
+
"application/json": components["schemas"]["FunctionVersionList"];
|
|
19466
21817
|
};
|
|
19467
21818
|
};
|
|
19468
21819
|
401: components["responses"]["Unauthenticated"];
|
|
19469
|
-
|
|
19470
|
-
|
|
19471
|
-
|
|
19472
|
-
|
|
19473
|
-
|
|
19474
|
-
|
|
19475
|
-
|
|
19476
|
-
|
|
19477
|
-
|
|
19478
|
-
|
|
19479
|
-
|
|
19480
|
-
bucket_id: string;
|
|
19481
|
-
};
|
|
19482
|
-
cookie?: never;
|
|
19483
|
-
};
|
|
19484
|
-
requestBody: {
|
|
19485
|
-
content: {
|
|
19486
|
-
"application/json": {
|
|
19487
|
-
hostname: string;
|
|
19488
|
-
certificate_id: string;
|
|
19489
|
-
index_document?: string;
|
|
19490
|
-
error_document?: string;
|
|
19491
|
-
spa_mode?: boolean;
|
|
19492
|
-
cache_ttl_seconds?: number;
|
|
21820
|
+
/**
|
|
21821
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21822
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
21823
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21824
|
+
*/
|
|
21825
|
+
403: {
|
|
21826
|
+
headers: {
|
|
21827
|
+
[name: string]: unknown;
|
|
21828
|
+
};
|
|
21829
|
+
content: {
|
|
21830
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
19493
21831
|
};
|
|
19494
21832
|
};
|
|
19495
|
-
|
|
19496
|
-
|
|
19497
|
-
/** @description Custom domain created. */
|
|
19498
|
-
201: {
|
|
21833
|
+
/** @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it. */
|
|
21834
|
+
404: {
|
|
19499
21835
|
headers: {
|
|
19500
21836
|
[name: string]: unknown;
|
|
19501
21837
|
};
|
|
19502
21838
|
content: {
|
|
19503
|
-
"application/json":
|
|
21839
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
19504
21840
|
};
|
|
19505
21841
|
};
|
|
19506
|
-
401: components["responses"]["Unauthenticated"];
|
|
19507
21842
|
429: components["responses"]["RateLimited"];
|
|
21843
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
19508
21844
|
};
|
|
19509
21845
|
};
|
|
19510
|
-
|
|
21846
|
+
activateFunctionVersion: {
|
|
19511
21847
|
parameters: {
|
|
19512
21848
|
query?: never;
|
|
19513
21849
|
header: {
|
|
@@ -19515,60 +21851,86 @@ interface operations {
|
|
|
19515
21851
|
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
19516
21852
|
};
|
|
19517
21853
|
path: {
|
|
19518
|
-
|
|
19519
|
-
|
|
21854
|
+
/** @description The function's id. */
|
|
21855
|
+
function_id: string;
|
|
21856
|
+
/** @description The version number: 1 for the first deploy, then 2, 3, … */
|
|
21857
|
+
number: number;
|
|
19520
21858
|
};
|
|
19521
21859
|
cookie?: never;
|
|
19522
21860
|
};
|
|
19523
21861
|
requestBody?: never;
|
|
19524
21862
|
responses: {
|
|
19525
|
-
/** @description
|
|
19526
|
-
|
|
21863
|
+
/** @description The function. */
|
|
21864
|
+
200: {
|
|
19527
21865
|
headers: {
|
|
21866
|
+
/** @description Requests allowed per window for this key. */
|
|
21867
|
+
"RateLimit-Limit"?: number;
|
|
21868
|
+
/** @description Requests left in this window. */
|
|
21869
|
+
"RateLimit-Remaining"?: number;
|
|
21870
|
+
/** @description Seconds until the window resets. */
|
|
21871
|
+
"RateLimit-Reset"?: number;
|
|
21872
|
+
/** @description This request's id. */
|
|
21873
|
+
"X-Request-Id"?: string;
|
|
19528
21874
|
[name: string]: unknown;
|
|
19529
21875
|
};
|
|
19530
|
-
content
|
|
21876
|
+
content: {
|
|
21877
|
+
"application/json": components["schemas"]["Function"];
|
|
21878
|
+
};
|
|
19531
21879
|
};
|
|
19532
|
-
|
|
19533
|
-
|
|
19534
|
-
|
|
19535
|
-
|
|
19536
|
-
|
|
19537
|
-
|
|
19538
|
-
|
|
19539
|
-
|
|
19540
|
-
|
|
19541
|
-
|
|
21880
|
+
/**
|
|
21881
|
+
* @description `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
|
|
21882
|
+
* `INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
|
|
21883
|
+
* `INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
|
|
21884
|
+
*/
|
|
21885
|
+
400: {
|
|
21886
|
+
headers: {
|
|
21887
|
+
[name: string]: unknown;
|
|
21888
|
+
};
|
|
21889
|
+
content: {
|
|
21890
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21891
|
+
};
|
|
19542
21892
|
};
|
|
19543
|
-
|
|
19544
|
-
|
|
19545
|
-
|
|
21893
|
+
401: components["responses"]["Unauthenticated"];
|
|
21894
|
+
/**
|
|
21895
|
+
* @description `INSUFFICIENT_SCOPE`: the API key lacks the scope this endpoint needs. Use a key with that scope.
|
|
21896
|
+
* `FORBIDDEN`: the member who created the key may not do this in the organization. Use a key created by an owner or admin.
|
|
21897
|
+
* `AI_APPS_DISABLED`: the organization has turned AI app access off. An owner can turn it on in the console under Organization › AI apps.
|
|
21898
|
+
* `FUNCTIONS_UNAVAILABLE`: functions are not available to this organization.
|
|
21899
|
+
*/
|
|
21900
|
+
403: {
|
|
21901
|
+
headers: {
|
|
21902
|
+
[name: string]: unknown;
|
|
21903
|
+
};
|
|
21904
|
+
content: {
|
|
21905
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
21906
|
+
};
|
|
19546
21907
|
};
|
|
19547
|
-
|
|
19548
|
-
|
|
19549
|
-
|
|
19550
|
-
|
|
19551
|
-
|
|
19552
|
-
|
|
19553
|
-
|
|
19554
|
-
|
|
19555
|
-
|
|
19556
|
-
|
|
21908
|
+
/**
|
|
21909
|
+
* @description `NOT_FOUND`: no function with this id exists in your organization. List your functions to find it.
|
|
21910
|
+
* `FUNCTION_VERSION_NOT_FOUND`: the function has no version with this number.
|
|
21911
|
+
*/
|
|
21912
|
+
404: {
|
|
21913
|
+
headers: {
|
|
21914
|
+
[name: string]: unknown;
|
|
21915
|
+
};
|
|
21916
|
+
content: {
|
|
21917
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
19557
21918
|
};
|
|
19558
21919
|
};
|
|
19559
|
-
|
|
19560
|
-
|
|
19561
|
-
|
|
19562
|
-
|
|
21920
|
+
/**
|
|
21921
|
+
* @description `FUNCTION_VERSION_NOT_READY`: only a version whose build succeeded can serve.
|
|
21922
|
+
* `FUNCTION_DELETED`: the function has been deleted.
|
|
21923
|
+
*/
|
|
21924
|
+
409: {
|
|
19563
21925
|
headers: {
|
|
19564
21926
|
[name: string]: unknown;
|
|
19565
21927
|
};
|
|
19566
21928
|
content: {
|
|
19567
|
-
"application/json":
|
|
21929
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
19568
21930
|
};
|
|
19569
21931
|
};
|
|
19570
|
-
401: components["responses"]["Unauthenticated"];
|
|
19571
21932
|
429: components["responses"]["RateLimited"];
|
|
21933
|
+
503: components["responses"]["QuotaUnavailable"];
|
|
19572
21934
|
};
|
|
19573
21935
|
};
|
|
19574
21936
|
listImages: {
|
|
@@ -37266,9 +39628,19 @@ type Accepted = components["schemas"]["Accepted"];
|
|
|
37266
39628
|
type AttachVolumeRequest = components["schemas"]["AttachVolumeRequest"];
|
|
37267
39629
|
type ChangeSecurityGroupRequest = components["schemas"]["ChangeSecurityGroupRequest"];
|
|
37268
39630
|
type CreateFirewallRuleRequest = components["schemas"]["CreateFirewallRuleRequest"];
|
|
39631
|
+
type CreateFunctionKeyRequest = components["schemas"]["CreateFunctionKeyRequest"];
|
|
39632
|
+
type CreateFunctionRequest = components["schemas"]["CreateFunctionRequest"];
|
|
37269
39633
|
type CreateInstanceRequest = components["schemas"]["CreateInstanceRequest"];
|
|
37270
39634
|
type CreateNetworkRequest = components["schemas"]["CreateNetworkRequest"];
|
|
37271
39635
|
type CreateLoadBalancerRequest = components["schemas"]["CreateLoadBalancerRequest"];
|
|
39636
|
+
type CreatedFunction = components["schemas"]["CreatedFunction"];
|
|
39637
|
+
type CreatedFunctionKey = components["schemas"]["CreatedFunctionKey"];
|
|
39638
|
+
type DeployFunctionMultipart = components["schemas"]["DeployFunctionMultipart"];
|
|
39639
|
+
type DeployFunctionRequest = components["schemas"]["DeployFunctionRequest"];
|
|
39640
|
+
type DeployFunctionSettings = components["schemas"]["DeployFunctionSettings"];
|
|
39641
|
+
type Function = components["schemas"]["Function"];
|
|
39642
|
+
type FunctionDeployment = components["schemas"]["FunctionDeployment"];
|
|
39643
|
+
type FunctionEnvironmentVariable = components["schemas"]["FunctionEnvironmentVariable"];
|
|
37272
39644
|
type Bucket = components["schemas"]["Bucket"];
|
|
37273
39645
|
type BucketList = components["schemas"]["BucketList"];
|
|
37274
39646
|
type CreatedBucket = components["schemas"]["CreatedBucket"];
|
|
@@ -37282,6 +39654,24 @@ type UpdateObjectStorageSettingsRequest = components["schemas"]["UpdateObjectSto
|
|
|
37282
39654
|
type ObjectStorageKeyList = components["schemas"]["ObjectStorageKeyList"];
|
|
37283
39655
|
type CreatedObjectStorageKey = components["schemas"]["CreatedObjectStorageKey"];
|
|
37284
39656
|
type CreateObjectStorageKeyRequest = components["schemas"]["CreateObjectStorageKeyRequest"];
|
|
39657
|
+
type FunctionKey = components["schemas"]["FunctionKey"];
|
|
39658
|
+
type FunctionKeyList = components["schemas"]["FunctionKeyList"];
|
|
39659
|
+
type FunctionSchedule = components["schemas"]["FunctionSchedule"];
|
|
39660
|
+
type FunctionScheduleList = components["schemas"]["FunctionScheduleList"];
|
|
39661
|
+
type CreateFunctionScheduleRequest = components["schemas"]["CreateFunctionScheduleRequest"];
|
|
39662
|
+
type UpdateFunctionScheduleRequest = components["schemas"]["UpdateFunctionScheduleRequest"];
|
|
39663
|
+
type FunctionList = components["schemas"]["FunctionList"];
|
|
39664
|
+
type FunctionVersion = components["schemas"]["FunctionVersion"];
|
|
39665
|
+
type FunctionInvocationSummary = components["schemas"]["FunctionInvocationSummary"];
|
|
39666
|
+
type FunctionInvocation = components["schemas"]["FunctionInvocation"];
|
|
39667
|
+
type FunctionLogLine = components["schemas"]["FunctionLogLine"];
|
|
39668
|
+
type FunctionInvokeResult = components["schemas"]["FunctionInvokeResult"];
|
|
39669
|
+
type FunctionMetricsCounts = components["schemas"]["FunctionMetricsCounts"];
|
|
39670
|
+
type FunctionMetricsPoint = components["schemas"]["FunctionMetricsPoint"];
|
|
39671
|
+
type FunctionMetrics = components["schemas"]["FunctionMetrics"];
|
|
39672
|
+
type FunctionInvocationList = components["schemas"]["FunctionInvocationList"];
|
|
39673
|
+
type FunctionVersionList = components["schemas"]["FunctionVersionList"];
|
|
39674
|
+
type UpdateFunctionRequest = components["schemas"]["UpdateFunctionRequest"];
|
|
37285
39675
|
type UpdateLoadBalancerRequest = components["schemas"]["UpdateLoadBalancerRequest"];
|
|
37286
39676
|
type LoadBalancerMember = components["schemas"]["LoadBalancerMember"];
|
|
37287
39677
|
type LoadBalancer = components["schemas"]["LoadBalancer"];
|
|
@@ -37843,6 +40233,88 @@ declare class DomainOrders extends APIResource {
|
|
|
37843
40233
|
wait(ref: DomainOrderRef, options?: DomainOrderWaitOptions): Promise<DomainOrder>;
|
|
37844
40234
|
}
|
|
37845
40235
|
|
|
40236
|
+
/** The most a zipped deploy may be (250 MiB unpacked). */
|
|
40237
|
+
declare const FUNCTION_ZIP_MAX_BYTES: number;
|
|
40238
|
+
/**
|
|
40239
|
+
* Serverless functions: code that runs on each request to its own URL
|
|
40240
|
+
* (`https://<random>.fn.pantechdynamics.com`), on a schedule, or when invoked
|
|
40241
|
+
* here. Create a function, then deploy a version of its code; each deploy is
|
|
40242
|
+
* a new numbered version, and an earlier one can be served again with
|
|
40243
|
+
* `versions.activate`.
|
|
40244
|
+
*/
|
|
40245
|
+
declare class Functions extends APIResource {
|
|
40246
|
+
/** A function's versions, and rolling back to one. */
|
|
40247
|
+
readonly versions: FunctionVersions;
|
|
40248
|
+
/** Keys callers send to a function that requires one. */
|
|
40249
|
+
readonly keys: FunctionKeys;
|
|
40250
|
+
/** A function's calls of the last 7 days, with what each printed. */
|
|
40251
|
+
readonly invocations: FunctionInvocations;
|
|
40252
|
+
/** Calls, errors, durations and cold starts over a period. */
|
|
40253
|
+
readonly metrics: FunctionMetricsResource;
|
|
40254
|
+
/** Cron and rate schedules that call a function. */
|
|
40255
|
+
readonly schedules: FunctionSchedules;
|
|
40256
|
+
list(options?: RequestOptions): Promise<ResponseOf<"listFunctions">>;
|
|
40257
|
+
/** Creates a function and gives it its URL. It serves nothing until its first deploy succeeds. `auth` defaults to `key`. */
|
|
40258
|
+
create(body: BodyOf<"createFunction">, options?: RequestOptions): Promise<ResponseOf<"createFunction">>;
|
|
40259
|
+
get(functionId: string, options?: RequestOptions): Promise<ResponseOf<"getFunction">>;
|
|
40260
|
+
/** Changes who may call the function (`auth`) or how many calls run at once (`max_concurrency`, 1 to 50). */
|
|
40261
|
+
update(functionId: string, body: BodyOf<"updateFunction">, options?: RequestOptions): Promise<ResponseOf<"updateFunction">>;
|
|
40262
|
+
/** Deletes the function and every version of it; its URL stops answering. */
|
|
40263
|
+
delete(functionId: string, options?: RequestOptions): Promise<ResponseOf<"deleteFunction">>;
|
|
40264
|
+
/**
|
|
40265
|
+
* Builds a new version from one inline file (at most 256 KiB). It starts
|
|
40266
|
+
* `building` and serves once its build succeeds; the version serving keeps
|
|
40267
|
+
* serving until then. Variables marked `secret` are stored encrypted and
|
|
40268
|
+
* never returned.
|
|
40269
|
+
*/
|
|
40270
|
+
deploy(functionId: string, body: BodyOf<"deployFunction">, options?: RequestOptions): Promise<ResponseOf<"deployFunction">>;
|
|
40271
|
+
/**
|
|
40272
|
+
* Builds a new version from a zip of a folder (at most 25 MiB, 250 MiB
|
|
40273
|
+
* unpacked), sent as multipart. With a `package.json` or
|
|
40274
|
+
* `requirements.txt` the dependencies are installed at build.
|
|
40275
|
+
*/
|
|
40276
|
+
deployZip(functionId: string, settings: DeployFunctionSettings, zip: Blob | Uint8Array | ArrayBuffer, options?: RequestOptions): Promise<ResponseOf<"deployFunction">>;
|
|
40277
|
+
/**
|
|
40278
|
+
* Runs the function once with `event` (any JSON value) and waits for its
|
|
40279
|
+
* handler, up to 60 s. Billed and logged like a call to its URL. Not
|
|
40280
|
+
* retried: each call runs the function.
|
|
40281
|
+
*/
|
|
40282
|
+
invoke(functionId: string, event: unknown, options?: RequestOptions): Promise<ResponseOf<"invokeFunction">>;
|
|
40283
|
+
}
|
|
40284
|
+
declare class FunctionVersions extends APIResource {
|
|
40285
|
+
/** Every version, newest first. */
|
|
40286
|
+
list(functionId: string, options?: RequestOptions): Promise<ResponseOf<"listFunctionVersions">>;
|
|
40287
|
+
/** Serves an earlier ready version at once, rebuilding nothing. */
|
|
40288
|
+
activate(functionId: string, number: number, options?: RequestOptions): Promise<ResponseOf<"activateFunctionVersion">>;
|
|
40289
|
+
}
|
|
40290
|
+
declare class FunctionKeys extends APIResource {
|
|
40291
|
+
list(functionId: string, options?: RequestOptions): Promise<ResponseOf<"listFunctionKeys">>;
|
|
40292
|
+
/** Creates a key. Its secret, `key`, is in this response only. */
|
|
40293
|
+
create(functionId: string, body: BodyOf<"createFunctionKey">, options?: RequestOptions): Promise<ResponseOf<"createFunctionKey">>;
|
|
40294
|
+
/** Revokes a key; callers using it are refused at once. */
|
|
40295
|
+
revoke(functionId: string, keyId: string, options?: RequestOptions): Promise<ResponseOf<"revokeFunctionKey">>;
|
|
40296
|
+
}
|
|
40297
|
+
declare class FunctionInvocations extends APIResource {
|
|
40298
|
+
/** Calls, newest first, filtered by `outcome`, text (`q`), `request_id` or time. Needs the write scope: logs hold whatever the code printed. */
|
|
40299
|
+
list(functionId: string, params?: ListParams<"listFunctionInvocations">, options?: RequestOptions): Promise<ResponseOf<"listFunctionInvocations">>;
|
|
40300
|
+
listAll(functionId: string, params?: ListAllParams<"listFunctionInvocations">, options?: RequestOptions): AsyncGenerator<ItemOf<"listFunctionInvocations">>;
|
|
40301
|
+
/** One call with every line it printed. */
|
|
40302
|
+
get(functionId: string, requestId: string, options?: RequestOptions): Promise<ResponseOf<"getFunctionInvocation">>;
|
|
40303
|
+
}
|
|
40304
|
+
declare class FunctionMetricsResource extends APIResource {
|
|
40305
|
+
/** `period`: `1h`, `6h`, `24h` (the default), `7d` or `14d`. */
|
|
40306
|
+
get(functionId: string, params?: ListParams<"getFunctionMetrics">, options?: RequestOptions): Promise<ResponseOf<"getFunctionMetrics">>;
|
|
40307
|
+
}
|
|
40308
|
+
declare class FunctionSchedules extends APIResource {
|
|
40309
|
+
list(functionId: string, options?: RequestOptions): Promise<ResponseOf<"listFunctionSchedules">>;
|
|
40310
|
+
/** Adds a schedule (at most 10): five-field cron, `@daily`-style, or `rate(5 minutes)`, read in `time_zone` (UTC by default). */
|
|
40311
|
+
create(functionId: string, body: BodyOf<"createFunctionSchedule">, options?: RequestOptions): Promise<ResponseOf<"createFunctionSchedule">>;
|
|
40312
|
+
/** Changes a schedule; `state: "paused"` stops it firing, `"active"` resumes it. */
|
|
40313
|
+
update(functionId: string, scheduleId: string, body: BodyOf<"updateFunctionSchedule">, options?: RequestOptions): Promise<ResponseOf<"updateFunctionSchedule">>;
|
|
40314
|
+
/** Deletes a schedule; it stops calling the function. */
|
|
40315
|
+
delete(functionId: string, scheduleId: string, options?: RequestOptions): Promise<ResponseOf<"deleteFunctionSchedule">>;
|
|
40316
|
+
}
|
|
40317
|
+
|
|
37846
40318
|
/**
|
|
37847
40319
|
* Teams and access policies: who in your organization may do what, on which
|
|
37848
40320
|
* resources. Build statements with `iam.allow(...)` and `iam.deny(...)`.
|
|
@@ -38906,8 +41378,11 @@ interface RequestOptions {
|
|
|
38906
41378
|
headers?: Record<string, string>;
|
|
38907
41379
|
}
|
|
38908
41380
|
type HTTPMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
38909
|
-
/**
|
|
38910
|
-
|
|
41381
|
+
/**
|
|
41382
|
+
* A raw request payload, sent without JSON serialization: bytes, text, or a
|
|
41383
|
+
* FormData for a multipart upload (fetch sets its boundary).
|
|
41384
|
+
*/
|
|
41385
|
+
type BinaryBody = Uint8Array | ArrayBuffer | Blob | string | FormData;
|
|
38911
41386
|
/** A low-level request, for endpoints you want to call directly. */
|
|
38912
41387
|
interface APIRequest {
|
|
38913
41388
|
method: HTTPMethod;
|
|
@@ -38974,6 +41449,8 @@ declare class Pantech {
|
|
|
38974
41449
|
readonly domains: Domains;
|
|
38975
41450
|
/** The private container registry: namespace, repositories, tags and registry tokens. */
|
|
38976
41451
|
readonly registry: Registry;
|
|
41452
|
+
/** Serverless functions: code on its own URL, deploys, versions, keys, invoke, logs, metrics and schedules. */
|
|
41453
|
+
readonly functions: Functions;
|
|
38977
41454
|
/** Teams and access policies: who may do what, on which resources. */
|
|
38978
41455
|
readonly iam: IAM;
|
|
38979
41456
|
/** TLS certificates Pantech issues and renews, or ones you import. */
|
|
@@ -39002,7 +41479,7 @@ interface StatementOptions {
|
|
|
39002
41479
|
mfa?: boolean;
|
|
39003
41480
|
}
|
|
39004
41481
|
/** Pantech's managed policies: attach them by id; they cannot be changed. */
|
|
39005
|
-
declare const MANAGED_POLICY_IDS: readonly ["pol_pantech_read_only", "pol_pantech_developer", "pol_pantech_network_admin", "pol_pantech_database_admin", "pol_pantech_dns_manager", "pol_pantech_domain_manager", "pol_pantech_compute_admin", "pol_pantech_kubernetes_admin", "pol_pantech_object_storage_admin", "pol_pantech_email_manager", "pol_pantech_certificate_manager", "pol_pantech_migrate_manager", "pol_pantech_registry_push", "pol_pantech_registry_pull", "pol_pantech_billing_manager", "pol_pantech_support", "pol_pantech_deny_delete", "pol_pantech_require_mfa_for_writes"];
|
|
41482
|
+
declare const MANAGED_POLICY_IDS: readonly ["pol_pantech_read_only", "pol_pantech_developer", "pol_pantech_network_admin", "pol_pantech_database_admin", "pol_pantech_dns_manager", "pol_pantech_domain_manager", "pol_pantech_compute_admin", "pol_pantech_kubernetes_admin", "pol_pantech_object_storage_admin", "pol_pantech_functions_admin", "pol_pantech_email_manager", "pol_pantech_certificate_manager", "pol_pantech_migrate_manager", "pol_pantech_registry_push", "pol_pantech_registry_pull", "pol_pantech_billing_manager", "pol_pantech_support", "pol_pantech_deny_delete", "pol_pantech_require_mfa_for_writes"];
|
|
39006
41483
|
/** The id of one of Pantech's managed policies. */
|
|
39007
41484
|
type ManagedPolicyId = (typeof MANAGED_POLICY_IDS)[number];
|
|
39008
41485
|
/** One policy statement. `resources` defaults to every resource (`*`). */
|
|
@@ -39014,7 +41491,7 @@ declare const iam: {
|
|
|
39014
41491
|
/** A `deny` statement, which wins over every allow: `iam.deny(["*:Delete"])`. */
|
|
39015
41492
|
readonly deny: (actions: readonly string[], resources?: readonly string[], options?: StatementOptions) => IamStatement;
|
|
39016
41493
|
readonly statement: typeof statement;
|
|
39017
|
-
readonly MANAGED_POLICY_IDS: readonly ["pol_pantech_read_only", "pol_pantech_developer", "pol_pantech_network_admin", "pol_pantech_database_admin", "pol_pantech_dns_manager", "pol_pantech_domain_manager", "pol_pantech_compute_admin", "pol_pantech_kubernetes_admin", "pol_pantech_object_storage_admin", "pol_pantech_email_manager", "pol_pantech_certificate_manager", "pol_pantech_migrate_manager", "pol_pantech_registry_push", "pol_pantech_registry_pull", "pol_pantech_billing_manager", "pol_pantech_support", "pol_pantech_deny_delete", "pol_pantech_require_mfa_for_writes"];
|
|
41494
|
+
readonly MANAGED_POLICY_IDS: readonly ["pol_pantech_read_only", "pol_pantech_developer", "pol_pantech_network_admin", "pol_pantech_database_admin", "pol_pantech_dns_manager", "pol_pantech_domain_manager", "pol_pantech_compute_admin", "pol_pantech_kubernetes_admin", "pol_pantech_object_storage_admin", "pol_pantech_functions_admin", "pol_pantech_email_manager", "pol_pantech_certificate_manager", "pol_pantech_migrate_manager", "pol_pantech_registry_push", "pol_pantech_registry_pull", "pol_pantech_billing_manager", "pol_pantech_support", "pol_pantech_deny_delete", "pol_pantech_require_mfa_for_writes"];
|
|
39018
41495
|
};
|
|
39019
41496
|
|
|
39020
41497
|
/** One page of a list. */
|
|
@@ -39029,7 +41506,7 @@ interface Page<T> {
|
|
|
39029
41506
|
declare function paginate<T>(fetchPage: (cursor: string | undefined) => Promise<Page<T>>, startCursor?: string | null): AsyncGenerator<T, void, undefined>;
|
|
39030
41507
|
|
|
39031
41508
|
/** The SDK's version, sent in `User-Agent: pantech-js/<version>`. Kept in step with package.json. */
|
|
39032
|
-
declare const VERSION = "0.
|
|
41509
|
+
declare const VERSION = "0.8.0";
|
|
39033
41510
|
|
|
39034
41511
|
/** The header a delivery's signature arrives in. */
|
|
39035
41512
|
declare const WEBHOOK_SIGNATURE_HEADER = "Pantech-Signature";
|
|
@@ -39064,4 +41541,4 @@ declare function signWebhook(options: {
|
|
|
39064
41541
|
timestamp?: number;
|
|
39065
41542
|
}): Promise<string>;
|
|
39066
41543
|
|
|
39067
|
-
export { APIConnectionError, type APIKeyKind, type APIKeyScope, type APIRequest, APITimeoutError, type Accepted, type AddressRotation, type AddressRotationEvent, type AttachIamPolicyRequest, type AttachPublicIPRequest, type AttachVolumeRequest, AuthenticationError, BadRequestError, type BinaryBody, type BodyOf, type Bucket, type BucketImport, type BucketImportEvent, type BucketImportFailure, type BucketImportList, type BucketImportObjectFailure, type BucketImportProgress, type BucketList, CERTIFICATE_ERROR_CODES, type Certificate, type CertificateErrorCode, CertificateFailedError, type CertificateList, type CertificateUsage, type CertificateValidation, type ChangeDatabasePasswordRequest, type ChangeSSHKeyRequest, type ChangeSecurityGroupRequest, type ClientOptions, type CloudAgentEnrollment, type CloudAgentSetup, type CloudAgentStatus, type CloudAzureFederation, type CloudConnection, type CloudConnectionList, type CloudConnectionSetup, type CloudCost, type CloudCostMonth, CloudFailedError, type CloudFailure, type CloudGCPFederation, type CloudHuaweiFederation, type CloudInventory, type CloudKubernetesCluster, type CloudNodePool, type CloudProvider, type CloudProviderList, type CloudScan, type CloudScanCounts, type CloudScanList, type ConfigureKubernetesEndpointAccessRequest, ConflictError, type CopyAccess, type CopyAccessBucket, type CopyAccessRequest, type CopyAccessSetup, type CreateBucketRequest, type CreateCloudConnectionRequest, type CreateCreditPurchaseRequest, type CreateDNSRecordRequest, type CreateDNSZoneRequest, type CreateDatabaseRequest, type CreateFirewallRuleRequest, type CreateIamTeamRequest, type CreateInstanceRequest, type CreateKubernetesClusterRequest, type CreateKubernetesNodePoolRequest, type CreateLoadBalancerRequest, type CreateMigrationRequest, type CreateNetworkRequest, type CreateObjectStorageKeyRequest, type CreatePortForwardingRuleRequest, type CreatePublicIPRequest, type CreateRegistryRepositoryRequest, type CreateRegistryTokenRequest, type CreateSSHKeyRequest, type CreateSecurityGroupRequest, type CreateSnapshotRequest, type CreateSubnetRequest, type CreateVolumeRequest, type CreateWebhookRequest, type CreatedBucket, type CreatedObjectStorageKey, type CreditOutlook, type CreditPurchase, type CutoverKubernetesMoveRequest, DEFAULT_BASE_URL, DEFAULT_WEBHOOK_TOLERANCE_SECONDS, type DNSErrorCode, DNSFailedError, type DNSRecord, type DNSRecordBatchRequest, type DNSRecordBatchResult, type DNSRecordChange, type DNSRecordChangeRecord, type DNSRecordList, type DNSZone, type DNSZoneList, type DNSZoneQuote, DNS_ERROR_CODES, DOMAIN_ERROR_CODES, type Database, type DatabaseAccessRule, type DatabaseAccessRuleRequest, type DatabaseEffectiveAccessRule, type DatabaseEngine, type DatabaseEngineList, type DatabaseIgnoredSecurityGroupRule, type DatabaseImport, type DatabaseImportDestination, type DatabaseImportFailure, type DatabaseImportIssue, type DatabaseImportList, type DatabaseImportReadiness, type DatabaseImportSource, type DatabaseImportTable, type DatabaseImportVerification, type DatabaseList, type DatabaseOrder, type DatabaseOrderAccepted, type DatabaseOrderList, type DatabasePasswordAccepted, type DiskOffering, type DiskOfferingList, type Domain, type DomainAuthCode, type DomainAuthCodePending, type DomainContact, type DomainErrorCode, type DomainList, type DomainOrder, type DomainOrderList, type DomainOrderRef, type DomainOrderWaitOptions, type DomainSearchResult, type DomainSearchResultList, type DomainTransferCheck, type DomainWithOrder, type DynamicIp, type DynamicIpEvent, type ExportedCertificate, type Failure, type FieldError, type FirewallRule, type FirewallRuleFields, type FirewallRuleList, type GeneratedSSHKey, type HTTPMethod, IAM_ERROR_CODES, type IamAction, type IamActionList, type IamAttachment, type IamAttachmentList, type IamEffectiveAccess, type IamEffectivePolicy, type IamErrorCode, type IamMember, type IamMemberList, type IamPolicy, type IamPolicyList, type IamPolicyRequest, type IamSettings, type IamSimulation, type IamSimulationRequest, type IamStatement, type IamTeam, type IamTeamList, type IamTeamMember, type IamTeamMemberList, type IfMatchOptions, type Image, type ImageList, type ImportCertificateRequest, type ImportDNSZoneRequest, type Instance, type InstanceList, type InstanceOrder, type InstanceOrderList, InternalServerError, type ItemOf, type Kubeconfig, type KubernetesAutoscaling, type KubernetesCluster, type KubernetesClusterAddon, type KubernetesClusterAddonList, type KubernetesClusterList, type KubernetesFixedNodeSize, type KubernetesMove, type KubernetesMoveDetail, type KubernetesMoveFailure, type KubernetesMoveFlag, type KubernetesMoveHold, type KubernetesMoveImage, type KubernetesMoveList, type KubernetesMoveRef, type KubernetesMoveResource, type KubernetesMoveSourceAccess, type KubernetesMoveStep, type KubernetesMoveVolume, type KubernetesNode, type KubernetesNodePool, type KubernetesNodePoolList, type KubernetesNodePoolTaint, type KubernetesVersion, type KubernetesVersionList, type ListAllParams, type ListParams, type LoadBalancer, type LoadBalancerList, type LoadBalancerMember, type ManagedPolicyId, type Me, type MetricsSeries, type Migration, type MigrationBucketTarget, type MigrationEstimate, type MigrationFlag, type MigrationInviteResult, type MigrationInvites, type MigrationItem, type MigrationItemSource, type MigrationItemTarget, type MigrationKubernetesTarget, type MigrationList, type MigrationListener, type MigrationNodePool, type MigrationRule, type MigrationSummary, type MigrationTerraform, type MonthlyQuote, type Network, type NetworkList, NotFoundError, type ObjectStorageKey, type ObjectStorageKeyList, type ObjectStorageSettings, type ObjectStorageStatus, type Operation, OperationFailedError, type OperationId, type OperationRef, type OptionalQuote, type OrderAccepted, OrderFailedError, type OrderRef, type OrderWaitOptions, type Page, Pantech, PantechError, type PantechErrorInit, PaymentRequiredError, PermissionDeniedError, type Plan, type PlanList, type PortForwardingRule, type PortForwardingRuleList, PreconditionFailedError, type PreviewKubernetesMoveRequest, type PricingEstimate, type PricingEstimateRequest, type Problem, type PublicIP, type PublicIPList, type PutAddressRotationRequest, type PutDynamicIpRequest, type PutSnapshotScheduleRequest, type QueryOf, REGISTRY_ERROR_CODES, RateLimitError, type RebuildRequest, type Receipt, type ReceiptList, type RecordWriteOptions, type Region, type RegionList, type RegisterDomainRequest, type RegistryErrorCode, type RegistryNamespace, type RegistryRepository, type RegistryRepositoryList, type RegistryRetention, type RegistryRetentionInput, type RegistryTag, type RegistryTagList, type RegistryToken, type RegistryTokenList, type RegistryTokenWithSecret, type ReimportCertificateRequest, type RenameMigrationRequest, type RenameRequest, type RenewDomainRequest, type ReplaceDatabaseAccessRulesRequest, type ReplaceSecurityGroupRulesRequest, type RequestCertificateRequest, type RequestOptions, type ResizeDatabaseStorageRequest, type ResizeKubernetesClusterPlanRequest, type ResizeRequest, type ResizeVolumeRequest, type ResponseOf, type RestoreRequest, type RestoreSnapshotRequest, type ResyncBucketImportRequest, type RevokeCertificateRequest, type SSHAccessGrant, type SSHKey, type SSHKeyList, type ScaleKubernetesNodePoolRequest, type Schemas, type SecurityGroup, type SecurityGroupList, type SecurityGroupRule, type SendMigrationInvitesRequest, type ServerCopy, type ServerCopyAWSSource, type ServerCopyActRequest, type ServerCopyList, type ServerCopyTemplate, type SetDatabaseSecurityGroupsRequest, type SetDomainNameServersRequest, type SetRegistryNamespaceRequest, type Snapshot, type SnapshotList, type SnapshotSchedule, type StartBucketImportRequest, type StartDatabaseImportRequest, type StartKubernetesMoveRequest, type StartServerCopyRequest, type StatementOptions, type Subnet, type SubnetList, type TLDOffer, type TLDOfferList, type ToggleKubernetesAddonRequest, type TransferDomainRequest, type UpdateBucketRequest, type UpdateCertificateRequest, type UpdateCloudConnectionRequest, type UpdateDNSRecordRequest, type UpdateDNSZoneRequest, type UpdateDomainContactRequest, type UpdateDomainRequest, type UpdateIamSettingsRequest, type UpdateIamTeamRequest, type UpdateKubernetesClusterRequest, type UpdateLoadBalancerRequest, type UpdateMigrationItemRequest, type UpdateObjectStorageSettingsRequest, type UpdateRegistryRepositoryRequest, type UpdateWebhookRequest, type UpdatedBucket, type UpgradeKubernetesClusterRequest, type UpgradeKubernetesNetworkRequest, type UsageByResource, type UsageSummary, VERSION, ValidationError, type VerifyWebhookOptions, type Volume, type VolumeList, WEBHOOK_SIGNATURE_HEADER, type WaitOptions, WaitTimeoutError, type Webhook, type WebhookBody, type WebhookDelivery, type WebhookDeliveryDetail, type WebhookDeliveryList, type WebhookEvent, type WebhookEventType, type WebhookEventTypeList, type WebhookList, WebhookVerificationError, type WebhookWithSecret, type components, iam, isPantechError, type operations, paginate, type paths, signWebhook, verifyWebhook };
|
|
41544
|
+
export { APIConnectionError, type APIKeyKind, type APIKeyScope, type APIRequest, APITimeoutError, type Accepted, type AddressRotation, type AddressRotationEvent, type AttachIamPolicyRequest, type AttachPublicIPRequest, type AttachVolumeRequest, AuthenticationError, BadRequestError, type BinaryBody, type BodyOf, type Bucket, type BucketImport, type BucketImportEvent, type BucketImportFailure, type BucketImportList, type BucketImportObjectFailure, type BucketImportProgress, type BucketList, CERTIFICATE_ERROR_CODES, type Certificate, type CertificateErrorCode, CertificateFailedError, type CertificateList, type CertificateUsage, type CertificateValidation, type ChangeDatabasePasswordRequest, type ChangeSSHKeyRequest, type ChangeSecurityGroupRequest, type ClientOptions, type CloudAgentEnrollment, type CloudAgentSetup, type CloudAgentStatus, type CloudAzureFederation, type CloudConnection, type CloudConnectionList, type CloudConnectionSetup, type CloudCost, type CloudCostMonth, CloudFailedError, type CloudFailure, type CloudGCPFederation, type CloudHuaweiFederation, type CloudInventory, type CloudKubernetesCluster, type CloudNodePool, type CloudProvider, type CloudProviderList, type CloudScan, type CloudScanCounts, type CloudScanList, type ConfigureKubernetesEndpointAccessRequest, ConflictError, type CopyAccess, type CopyAccessBucket, type CopyAccessRequest, type CopyAccessSetup, type CreateBucketRequest, type CreateCloudConnectionRequest, type CreateCreditPurchaseRequest, type CreateDNSRecordRequest, type CreateDNSZoneRequest, type CreateDatabaseRequest, type CreateFirewallRuleRequest, type CreateFunctionKeyRequest, type CreateFunctionRequest, type CreateFunctionScheduleRequest, type CreateIamTeamRequest, type CreateInstanceRequest, type CreateKubernetesClusterRequest, type CreateKubernetesNodePoolRequest, type CreateLoadBalancerRequest, type CreateMigrationRequest, type CreateNetworkRequest, type CreateObjectStorageKeyRequest, type CreatePortForwardingRuleRequest, type CreatePublicIPRequest, type CreateRegistryRepositoryRequest, type CreateRegistryTokenRequest, type CreateSSHKeyRequest, type CreateSecurityGroupRequest, type CreateSnapshotRequest, type CreateSubnetRequest, type CreateVolumeRequest, type CreateWebhookRequest, type CreatedBucket, type CreatedFunction, type CreatedFunctionKey, type CreatedObjectStorageKey, type CreditOutlook, type CreditPurchase, type CutoverKubernetesMoveRequest, DEFAULT_BASE_URL, DEFAULT_WEBHOOK_TOLERANCE_SECONDS, type DNSErrorCode, DNSFailedError, type DNSRecord, type DNSRecordBatchRequest, type DNSRecordBatchResult, type DNSRecordChange, type DNSRecordChangeRecord, type DNSRecordList, type DNSZone, type DNSZoneList, type DNSZoneQuote, DNS_ERROR_CODES, DOMAIN_ERROR_CODES, type Database, type DatabaseAccessRule, type DatabaseAccessRuleRequest, type DatabaseEffectiveAccessRule, type DatabaseEngine, type DatabaseEngineList, type DatabaseIgnoredSecurityGroupRule, type DatabaseImport, type DatabaseImportDestination, type DatabaseImportFailure, type DatabaseImportIssue, type DatabaseImportList, type DatabaseImportReadiness, type DatabaseImportSource, type DatabaseImportTable, type DatabaseImportVerification, type DatabaseList, type DatabaseOrder, type DatabaseOrderAccepted, type DatabaseOrderList, type DatabasePasswordAccepted, type DeployFunctionMultipart, type DeployFunctionRequest, type DeployFunctionSettings, type DiskOffering, type DiskOfferingList, type Domain, type DomainAuthCode, type DomainAuthCodePending, type DomainContact, type DomainErrorCode, type DomainList, type DomainOrder, type DomainOrderList, type DomainOrderRef, type DomainOrderWaitOptions, type DomainSearchResult, type DomainSearchResultList, type DomainTransferCheck, type DomainWithOrder, type DynamicIp, type DynamicIpEvent, type ExportedCertificate, FUNCTION_ZIP_MAX_BYTES, type Failure, type FieldError, type FirewallRule, type FirewallRuleFields, type FirewallRuleList, type Function, type FunctionDeployment, type FunctionEnvironmentVariable, type FunctionInvocation, type FunctionInvocationList, type FunctionInvocationSummary, type FunctionInvokeResult, type FunctionKey, type FunctionKeyList, type FunctionList, type FunctionLogLine, type FunctionMetrics, type FunctionMetricsCounts, type FunctionMetricsPoint, type FunctionSchedule, type FunctionScheduleList, type FunctionVersion, type FunctionVersionList, type GeneratedSSHKey, type HTTPMethod, IAM_ERROR_CODES, type IamAction, type IamActionList, type IamAttachment, type IamAttachmentList, type IamEffectiveAccess, type IamEffectivePolicy, type IamErrorCode, type IamMember, type IamMemberList, type IamPolicy, type IamPolicyList, type IamPolicyRequest, type IamSettings, type IamSimulation, type IamSimulationRequest, type IamStatement, type IamTeam, type IamTeamList, type IamTeamMember, type IamTeamMemberList, type IfMatchOptions, type Image, type ImageList, type ImportCertificateRequest, type ImportDNSZoneRequest, type Instance, type InstanceList, type InstanceOrder, type InstanceOrderList, InternalServerError, type ItemOf, type Kubeconfig, type KubernetesAutoscaling, type KubernetesCluster, type KubernetesClusterAddon, type KubernetesClusterAddonList, type KubernetesClusterList, type KubernetesFixedNodeSize, type KubernetesMove, type KubernetesMoveDetail, type KubernetesMoveFailure, type KubernetesMoveFlag, type KubernetesMoveHold, type KubernetesMoveImage, type KubernetesMoveList, type KubernetesMoveRef, type KubernetesMoveResource, type KubernetesMoveSourceAccess, type KubernetesMoveStep, type KubernetesMoveVolume, type KubernetesNode, type KubernetesNodePool, type KubernetesNodePoolList, type KubernetesNodePoolTaint, type KubernetesVersion, type KubernetesVersionList, type ListAllParams, type ListParams, type LoadBalancer, type LoadBalancerList, type LoadBalancerMember, type ManagedPolicyId, type Me, type MetricsSeries, type Migration, type MigrationBucketTarget, type MigrationEstimate, type MigrationFlag, type MigrationInviteResult, type MigrationInvites, type MigrationItem, type MigrationItemSource, type MigrationItemTarget, type MigrationKubernetesTarget, type MigrationList, type MigrationListener, type MigrationNodePool, type MigrationRule, type MigrationSummary, type MigrationTerraform, type MonthlyQuote, type Network, type NetworkList, NotFoundError, type ObjectStorageKey, type ObjectStorageKeyList, type ObjectStorageSettings, type ObjectStorageStatus, type Operation, OperationFailedError, type OperationId, type OperationRef, type OptionalQuote, type OrderAccepted, OrderFailedError, type OrderRef, type OrderWaitOptions, type Page, Pantech, PantechError, type PantechErrorInit, PaymentRequiredError, PermissionDeniedError, type Plan, type PlanList, type PortForwardingRule, type PortForwardingRuleList, PreconditionFailedError, type PreviewKubernetesMoveRequest, type PricingEstimate, type PricingEstimateRequest, type Problem, type PublicIP, type PublicIPList, type PutAddressRotationRequest, type PutDynamicIpRequest, type PutSnapshotScheduleRequest, type QueryOf, REGISTRY_ERROR_CODES, RateLimitError, type RebuildRequest, type Receipt, type ReceiptList, type RecordWriteOptions, type Region, type RegionList, type RegisterDomainRequest, type RegistryErrorCode, type RegistryNamespace, type RegistryRepository, type RegistryRepositoryList, type RegistryRetention, type RegistryRetentionInput, type RegistryTag, type RegistryTagList, type RegistryToken, type RegistryTokenList, type RegistryTokenWithSecret, type ReimportCertificateRequest, type RenameMigrationRequest, type RenameRequest, type RenewDomainRequest, type ReplaceDatabaseAccessRulesRequest, type ReplaceSecurityGroupRulesRequest, type RequestCertificateRequest, type RequestOptions, type ResizeDatabaseStorageRequest, type ResizeKubernetesClusterPlanRequest, type ResizeRequest, type ResizeVolumeRequest, type ResponseOf, type RestoreRequest, type RestoreSnapshotRequest, type ResyncBucketImportRequest, type RevokeCertificateRequest, type SSHAccessGrant, type SSHKey, type SSHKeyList, type ScaleKubernetesNodePoolRequest, type Schemas, type SecurityGroup, type SecurityGroupList, type SecurityGroupRule, type SendMigrationInvitesRequest, type ServerCopy, type ServerCopyAWSSource, type ServerCopyActRequest, type ServerCopyList, type ServerCopyTemplate, type SetDatabaseSecurityGroupsRequest, type SetDomainNameServersRequest, type SetRegistryNamespaceRequest, type Snapshot, type SnapshotList, type SnapshotSchedule, type StartBucketImportRequest, type StartDatabaseImportRequest, type StartKubernetesMoveRequest, type StartServerCopyRequest, type StatementOptions, type Subnet, type SubnetList, type TLDOffer, type TLDOfferList, type ToggleKubernetesAddonRequest, type TransferDomainRequest, type UpdateBucketRequest, type UpdateCertificateRequest, type UpdateCloudConnectionRequest, type UpdateDNSRecordRequest, type UpdateDNSZoneRequest, type UpdateDomainContactRequest, type UpdateDomainRequest, type UpdateFunctionRequest, type UpdateFunctionScheduleRequest, type UpdateIamSettingsRequest, type UpdateIamTeamRequest, type UpdateKubernetesClusterRequest, type UpdateLoadBalancerRequest, type UpdateMigrationItemRequest, type UpdateObjectStorageSettingsRequest, type UpdateRegistryRepositoryRequest, type UpdateWebhookRequest, type UpdatedBucket, type UpgradeKubernetesClusterRequest, type UpgradeKubernetesNetworkRequest, type UsageByResource, type UsageSummary, VERSION, ValidationError, type VerifyWebhookOptions, type Volume, type VolumeList, WEBHOOK_SIGNATURE_HEADER, type WaitOptions, WaitTimeoutError, type Webhook, type WebhookBody, type WebhookDelivery, type WebhookDeliveryDetail, type WebhookDeliveryList, type WebhookEvent, type WebhookEventType, type WebhookEventTypeList, type WebhookList, WebhookVerificationError, type WebhookWithSecret, type components, iam, isPantechError, type operations, paginate, type paths, signWebhook, verifyWebhook };
|