@vantage-sh/vantage-client 2.3.0 → 2.5.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/README.md +15 -0
- package/dist/index.d.mts +1291 -395
- package/dist/index.d.ts +1291 -395
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -2
package/dist/index.d.ts
CHANGED
|
@@ -461,7 +461,11 @@ interface paths {
|
|
|
461
461
|
get: operations["getBusinessMetricValues"];
|
|
462
462
|
put?: never;
|
|
463
463
|
post?: never;
|
|
464
|
-
|
|
464
|
+
/**
|
|
465
|
+
* Delete business metric values
|
|
466
|
+
* @description Deletes Business Metric values (historical or forecasted unit metrics).
|
|
467
|
+
*/
|
|
468
|
+
delete: operations["deleteBusinessMetricValues"];
|
|
465
469
|
options?: never;
|
|
466
470
|
head?: never;
|
|
467
471
|
patch?: never;
|
|
@@ -507,6 +511,58 @@ interface paths {
|
|
|
507
511
|
patch?: never;
|
|
508
512
|
trace?: never;
|
|
509
513
|
};
|
|
514
|
+
"/canvases": {
|
|
515
|
+
parameters: {
|
|
516
|
+
query?: never;
|
|
517
|
+
header?: never;
|
|
518
|
+
path?: never;
|
|
519
|
+
cookie?: never;
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* Get all canvases
|
|
523
|
+
* @description Return all Canvases.
|
|
524
|
+
*/
|
|
525
|
+
get: operations["getCanvases"];
|
|
526
|
+
put?: never;
|
|
527
|
+
/**
|
|
528
|
+
* Create canvas
|
|
529
|
+
* @description Create a Canvas.
|
|
530
|
+
*/
|
|
531
|
+
post: operations["createCanvas"];
|
|
532
|
+
delete?: never;
|
|
533
|
+
options?: never;
|
|
534
|
+
head?: never;
|
|
535
|
+
patch?: never;
|
|
536
|
+
trace?: never;
|
|
537
|
+
};
|
|
538
|
+
"/canvases/{canvas_token}": {
|
|
539
|
+
parameters: {
|
|
540
|
+
query?: never;
|
|
541
|
+
header?: never;
|
|
542
|
+
path?: never;
|
|
543
|
+
cookie?: never;
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* Get canvas by token
|
|
547
|
+
* @description Return a specific Canvas.
|
|
548
|
+
*/
|
|
549
|
+
get: operations["getCanvas"];
|
|
550
|
+
/**
|
|
551
|
+
* Update canvas
|
|
552
|
+
* @description Update a Canvas.
|
|
553
|
+
*/
|
|
554
|
+
put: operations["updateCanvas"];
|
|
555
|
+
post?: never;
|
|
556
|
+
/**
|
|
557
|
+
* Delete canvas
|
|
558
|
+
* @description Delete a Canvas.
|
|
559
|
+
*/
|
|
560
|
+
delete: operations["deleteCanvas"];
|
|
561
|
+
options?: never;
|
|
562
|
+
head?: never;
|
|
563
|
+
patch?: never;
|
|
564
|
+
trace?: never;
|
|
565
|
+
};
|
|
510
566
|
"/cost_alerts/{cost_alert_token}/events": {
|
|
511
567
|
parameters: {
|
|
512
568
|
query?: never;
|
|
@@ -599,6 +655,26 @@ interface paths {
|
|
|
599
655
|
patch?: never;
|
|
600
656
|
trace?: never;
|
|
601
657
|
};
|
|
658
|
+
"/cost_providers": {
|
|
659
|
+
parameters: {
|
|
660
|
+
query?: never;
|
|
661
|
+
header?: never;
|
|
662
|
+
path?: never;
|
|
663
|
+
cookie?: never;
|
|
664
|
+
};
|
|
665
|
+
/**
|
|
666
|
+
* Get cost providers
|
|
667
|
+
* @description List CostProviders available to query in a given Workspace.
|
|
668
|
+
*/
|
|
669
|
+
get: operations["getCostProviders"];
|
|
670
|
+
put?: never;
|
|
671
|
+
post?: never;
|
|
672
|
+
delete?: never;
|
|
673
|
+
options?: never;
|
|
674
|
+
head?: never;
|
|
675
|
+
patch?: never;
|
|
676
|
+
trace?: never;
|
|
677
|
+
};
|
|
602
678
|
"/cost_provider_accounts": {
|
|
603
679
|
parameters: {
|
|
604
680
|
query?: never;
|
|
@@ -731,6 +807,26 @@ interface paths {
|
|
|
731
807
|
patch?: never;
|
|
732
808
|
trace?: never;
|
|
733
809
|
};
|
|
810
|
+
"/cost_services": {
|
|
811
|
+
parameters: {
|
|
812
|
+
query?: never;
|
|
813
|
+
header?: never;
|
|
814
|
+
path?: never;
|
|
815
|
+
cookie?: never;
|
|
816
|
+
};
|
|
817
|
+
/**
|
|
818
|
+
* Get cost services
|
|
819
|
+
* @description List CostServices available to query in a given Workspace.
|
|
820
|
+
*/
|
|
821
|
+
get: operations["getCostServices"];
|
|
822
|
+
put?: never;
|
|
823
|
+
post?: never;
|
|
824
|
+
delete?: never;
|
|
825
|
+
options?: never;
|
|
826
|
+
head?: never;
|
|
827
|
+
patch?: never;
|
|
828
|
+
trace?: never;
|
|
829
|
+
};
|
|
734
830
|
"/dashboards": {
|
|
735
831
|
parameters: {
|
|
736
832
|
query?: never;
|
|
@@ -1455,66 +1551,6 @@ interface paths {
|
|
|
1455
1551
|
patch?: never;
|
|
1456
1552
|
trace?: never;
|
|
1457
1553
|
};
|
|
1458
|
-
"/cost_providers": {
|
|
1459
|
-
parameters: {
|
|
1460
|
-
query?: never;
|
|
1461
|
-
header?: never;
|
|
1462
|
-
path?: never;
|
|
1463
|
-
cookie?: never;
|
|
1464
|
-
};
|
|
1465
|
-
/**
|
|
1466
|
-
* Get cost providers
|
|
1467
|
-
* @description List CostProviders available to query in a given Workspace.
|
|
1468
|
-
*/
|
|
1469
|
-
get: operations["getCostProviders"];
|
|
1470
|
-
put?: never;
|
|
1471
|
-
post?: never;
|
|
1472
|
-
delete?: never;
|
|
1473
|
-
options?: never;
|
|
1474
|
-
head?: never;
|
|
1475
|
-
patch?: never;
|
|
1476
|
-
trace?: never;
|
|
1477
|
-
};
|
|
1478
|
-
"/cost_services": {
|
|
1479
|
-
parameters: {
|
|
1480
|
-
query?: never;
|
|
1481
|
-
header?: never;
|
|
1482
|
-
path?: never;
|
|
1483
|
-
cookie?: never;
|
|
1484
|
-
};
|
|
1485
|
-
/**
|
|
1486
|
-
* Get cost services
|
|
1487
|
-
* @description List CostServices available to query in a given Workspace.
|
|
1488
|
-
*/
|
|
1489
|
-
get: operations["getCostServices"];
|
|
1490
|
-
put?: never;
|
|
1491
|
-
post?: never;
|
|
1492
|
-
delete?: never;
|
|
1493
|
-
options?: never;
|
|
1494
|
-
head?: never;
|
|
1495
|
-
patch?: never;
|
|
1496
|
-
trace?: never;
|
|
1497
|
-
};
|
|
1498
|
-
"/user_feedback": {
|
|
1499
|
-
parameters: {
|
|
1500
|
-
query?: never;
|
|
1501
|
-
header?: never;
|
|
1502
|
-
path?: never;
|
|
1503
|
-
cookie?: never;
|
|
1504
|
-
};
|
|
1505
|
-
get?: never;
|
|
1506
|
-
put?: never;
|
|
1507
|
-
/**
|
|
1508
|
-
* Submit user feedback
|
|
1509
|
-
* @description Provide UserFeedback for our product and features.
|
|
1510
|
-
*/
|
|
1511
|
-
post: operations["createUserFeedback"];
|
|
1512
|
-
delete?: never;
|
|
1513
|
-
options?: never;
|
|
1514
|
-
head?: never;
|
|
1515
|
-
patch?: never;
|
|
1516
|
-
trace?: never;
|
|
1517
|
-
};
|
|
1518
1554
|
"/network_flow_reports": {
|
|
1519
1555
|
parameters: {
|
|
1520
1556
|
query?: never;
|
|
@@ -1567,6 +1603,23 @@ interface paths {
|
|
|
1567
1603
|
patch?: never;
|
|
1568
1604
|
trace?: never;
|
|
1569
1605
|
};
|
|
1606
|
+
"/ping": {
|
|
1607
|
+
parameters: {
|
|
1608
|
+
query?: never;
|
|
1609
|
+
header?: never;
|
|
1610
|
+
path?: never;
|
|
1611
|
+
cookie?: never;
|
|
1612
|
+
};
|
|
1613
|
+
/** @description This is a health check endpoint that can be used to determine Vantage API healthiness. It will return 200 if everything is running smoothly. */
|
|
1614
|
+
get: operations["ping"];
|
|
1615
|
+
put?: never;
|
|
1616
|
+
post?: never;
|
|
1617
|
+
delete?: never;
|
|
1618
|
+
options?: never;
|
|
1619
|
+
head?: never;
|
|
1620
|
+
patch?: never;
|
|
1621
|
+
trace?: never;
|
|
1622
|
+
};
|
|
1570
1623
|
"/products/{product_id}/prices": {
|
|
1571
1624
|
parameters: {
|
|
1572
1625
|
query?: never;
|
|
@@ -2247,6 +2300,26 @@ interface paths {
|
|
|
2247
2300
|
patch?: never;
|
|
2248
2301
|
trace?: never;
|
|
2249
2302
|
};
|
|
2303
|
+
"/user_feedback": {
|
|
2304
|
+
parameters: {
|
|
2305
|
+
query?: never;
|
|
2306
|
+
header?: never;
|
|
2307
|
+
path?: never;
|
|
2308
|
+
cookie?: never;
|
|
2309
|
+
};
|
|
2310
|
+
get?: never;
|
|
2311
|
+
put?: never;
|
|
2312
|
+
/**
|
|
2313
|
+
* Submit user feedback
|
|
2314
|
+
* @description Provide UserFeedback for our product and features.
|
|
2315
|
+
*/
|
|
2316
|
+
post: operations["createUserFeedback"];
|
|
2317
|
+
delete?: never;
|
|
2318
|
+
options?: never;
|
|
2319
|
+
head?: never;
|
|
2320
|
+
patch?: never;
|
|
2321
|
+
trace?: never;
|
|
2322
|
+
};
|
|
2250
2323
|
"/users": {
|
|
2251
2324
|
parameters: {
|
|
2252
2325
|
query?: never;
|
|
@@ -2445,24 +2518,11 @@ interface paths {
|
|
|
2445
2518
|
*/
|
|
2446
2519
|
put: operations["updateWorkspace"];
|
|
2447
2520
|
post?: never;
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
};
|
|
2454
|
-
"/ping": {
|
|
2455
|
-
parameters: {
|
|
2456
|
-
query?: never;
|
|
2457
|
-
header?: never;
|
|
2458
|
-
path?: never;
|
|
2459
|
-
cookie?: never;
|
|
2460
|
-
};
|
|
2461
|
-
/** @description This is a health check endpoint that can be used to determine Vantage API healthiness. It will return 200 if everything is running smoothly. */
|
|
2462
|
-
get: operations["ping"];
|
|
2463
|
-
put?: never;
|
|
2464
|
-
post?: never;
|
|
2465
|
-
delete?: never;
|
|
2521
|
+
/**
|
|
2522
|
+
* Delete workspace
|
|
2523
|
+
* @description Delete a workspace
|
|
2524
|
+
*/
|
|
2525
|
+
delete: operations["deleteWorkspace"];
|
|
2466
2526
|
options?: never;
|
|
2467
2527
|
head?: never;
|
|
2468
2528
|
patch?: never;
|
|
@@ -3353,11 +3413,12 @@ interface components {
|
|
|
3353
3413
|
* @example datadog_metrics
|
|
3354
3414
|
* @enum {string|null}
|
|
3355
3415
|
*/
|
|
3356
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
3416
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
3357
3417
|
/** @description The Integration token used to import the BusinessMetric. */
|
|
3358
3418
|
integration_token: string | null;
|
|
3359
3419
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
3360
3420
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
3421
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
3361
3422
|
};
|
|
3362
3423
|
AttachedCostReportForBusinessMetric: {
|
|
3363
3424
|
/**
|
|
@@ -3371,6 +3432,12 @@ interface components {
|
|
|
3371
3432
|
* @enum {string}
|
|
3372
3433
|
*/
|
|
3373
3434
|
unit_scale: "per_unit" | "per_hundred" | "per_thousand" | "per_million" | "per_billion";
|
|
3435
|
+
/**
|
|
3436
|
+
* @description The calculation type applied when this BusinessMetric is used in the CostReport.
|
|
3437
|
+
* @example unit_cost
|
|
3438
|
+
* @enum {string}
|
|
3439
|
+
*/
|
|
3440
|
+
calculation_type: "unit_cost" | "gross_margin" | "usage_unit_cost" | "raw_business_metric";
|
|
3374
3441
|
/** @description The labels that the BusinessMetric is filtered by within a particular CostReport. */
|
|
3375
3442
|
label_filter?: string[] | null;
|
|
3376
3443
|
};
|
|
@@ -3412,6 +3479,13 @@ interface components {
|
|
|
3412
3479
|
*/
|
|
3413
3480
|
query: string;
|
|
3414
3481
|
};
|
|
3482
|
+
SnowflakeMetricFields: {
|
|
3483
|
+
/**
|
|
3484
|
+
* @description The SQL query used to import Snowflake metrics.
|
|
3485
|
+
* @example SELECT date, value, label FROM my_metrics_table
|
|
3486
|
+
*/
|
|
3487
|
+
sql_query: string;
|
|
3488
|
+
};
|
|
3415
3489
|
/** @description BusinessMetricValues model */
|
|
3416
3490
|
BusinessMetricValues: {
|
|
3417
3491
|
values: components["schemas"]["BusinessMetricValue"][];
|
|
@@ -3543,6 +3617,70 @@ interface components {
|
|
|
3543
3617
|
}[];
|
|
3544
3618
|
};
|
|
3545
3619
|
};
|
|
3620
|
+
/** @description BusinessMetricValuesDeleteResponse model */
|
|
3621
|
+
BusinessMetricValuesDeleteResponse: {
|
|
3622
|
+
/**
|
|
3623
|
+
* Format: int32
|
|
3624
|
+
* @description Number of unit metric rows removed.
|
|
3625
|
+
* @example 120
|
|
3626
|
+
*/
|
|
3627
|
+
deleted_count: number;
|
|
3628
|
+
};
|
|
3629
|
+
/** @description Canvases model */
|
|
3630
|
+
Canvases: {
|
|
3631
|
+
links?: components["schemas"]["Links"];
|
|
3632
|
+
canvases: components["schemas"]["Canvas"][];
|
|
3633
|
+
};
|
|
3634
|
+
/** @description Canvas model */
|
|
3635
|
+
Canvas: {
|
|
3636
|
+
/** @example cnvs_abcd1234567890 */
|
|
3637
|
+
token: string;
|
|
3638
|
+
/**
|
|
3639
|
+
* @description The title of the Canvas.
|
|
3640
|
+
* @example Weekly Spend by Team
|
|
3641
|
+
*/
|
|
3642
|
+
title: string;
|
|
3643
|
+
/** @description The prompt used to generate the Canvas. */
|
|
3644
|
+
prompt: string;
|
|
3645
|
+
data?: components["schemas"]["CanvasData"];
|
|
3646
|
+
/**
|
|
3647
|
+
* @description The token for the Workspace the Canvas belongs to.
|
|
3648
|
+
* @example wrkspc_abcd1234567890
|
|
3649
|
+
*/
|
|
3650
|
+
workspace_token: string;
|
|
3651
|
+
/**
|
|
3652
|
+
* @description The date and time, in UTC, the Canvas was created. ISO 8601 Formatted.
|
|
3653
|
+
* @example 2024-01-01T00:00:00Z
|
|
3654
|
+
*/
|
|
3655
|
+
created_at: string;
|
|
3656
|
+
/**
|
|
3657
|
+
* @description The date and time, in UTC, the Canvas was last updated. ISO 8601 Formatted.
|
|
3658
|
+
* @example 2024-01-01T00:00:00Z
|
|
3659
|
+
*/
|
|
3660
|
+
updated_at: string;
|
|
3661
|
+
};
|
|
3662
|
+
CanvasData: {
|
|
3663
|
+
table?: components["schemas"]["CanvasTable"];
|
|
3664
|
+
/** @description Error message if the refresh workflow failed. Read-only. */
|
|
3665
|
+
error?: string | null;
|
|
3666
|
+
};
|
|
3667
|
+
CanvasTable: Record<string, any>;
|
|
3668
|
+
/** @description Create a Canvas. */
|
|
3669
|
+
createCanvas: {
|
|
3670
|
+
/** @description The title of the Canvas. */
|
|
3671
|
+
title: string;
|
|
3672
|
+
/** @description The prompt used to generate the Canvas. */
|
|
3673
|
+
prompt: string;
|
|
3674
|
+
/** @description The token of the Workspace to add the Canvas to. Required if the API token is associated with multiple Workspaces. */
|
|
3675
|
+
workspace_token?: string;
|
|
3676
|
+
};
|
|
3677
|
+
/** @description Update a Canvas. */
|
|
3678
|
+
updateCanvas: {
|
|
3679
|
+
/** @description The title of the Canvas. */
|
|
3680
|
+
title?: string;
|
|
3681
|
+
/** @description The prompt used to generate the Canvas. */
|
|
3682
|
+
prompt?: string;
|
|
3683
|
+
};
|
|
3546
3684
|
/** @description CostAlertEvents model */
|
|
3547
3685
|
CostAlertEvents: {
|
|
3548
3686
|
links?: components["schemas"]["Links"];
|
|
@@ -3712,6 +3850,13 @@ interface components {
|
|
|
3712
3850
|
saved_filter_tokens?: string[] | null;
|
|
3713
3851
|
/** @description The tokens for the BusinessMetrics assigned to the CostReport, the unit scale, and label filter. */
|
|
3714
3852
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
3853
|
+
/**
|
|
3854
|
+
* @description The default forecast selection for the CostReport.
|
|
3855
|
+
* @example {
|
|
3856
|
+
* "kind": "baseline"
|
|
3857
|
+
* }
|
|
3858
|
+
*/
|
|
3859
|
+
default_forecast: Record<string, any>;
|
|
3715
3860
|
/** @description The filter applied to the CostReport. Additional documentation available at https://docs.vantage.sh/vql. */
|
|
3716
3861
|
filter: string | null;
|
|
3717
3862
|
/**
|
|
@@ -3761,6 +3906,11 @@ interface components {
|
|
|
3761
3906
|
* @default true
|
|
3762
3907
|
*/
|
|
3763
3908
|
show_previous_period?: boolean | null;
|
|
3909
|
+
/**
|
|
3910
|
+
* @description Report will restrict date ranges to completed periods only.
|
|
3911
|
+
* @default false
|
|
3912
|
+
*/
|
|
3913
|
+
complete_period?: boolean | null;
|
|
3764
3914
|
};
|
|
3765
3915
|
/**
|
|
3766
3916
|
* @description The date and time, in UTC, the report was created. ISO 8601 Formatted.
|
|
@@ -3809,6 +3959,12 @@ interface components {
|
|
|
3809
3959
|
* @enum {string}
|
|
3810
3960
|
*/
|
|
3811
3961
|
unit_scale: "per_unit" | "per_hundred" | "per_thousand" | "per_million" | "per_billion";
|
|
3962
|
+
/**
|
|
3963
|
+
* @description The calculation type applied when this BusinessMetric is used in the CostReport.
|
|
3964
|
+
* @example unit_cost
|
|
3965
|
+
* @enum {string}
|
|
3966
|
+
*/
|
|
3967
|
+
calculation_type: "unit_cost" | "gross_margin" | "usage_unit_cost" | "raw_business_metric";
|
|
3812
3968
|
/** @description The labels that the BusinessMetric is filtered by within a particular CostReport. */
|
|
3813
3969
|
label_filter?: string[] | null;
|
|
3814
3970
|
};
|
|
@@ -3845,7 +4001,7 @@ interface components {
|
|
|
3845
4001
|
* @example aws
|
|
3846
4002
|
* @enum {string}
|
|
3847
4003
|
*/
|
|
3848
|
-
provider: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "all";
|
|
4004
|
+
provider: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten" | "all";
|
|
3849
4005
|
/**
|
|
3850
4006
|
* @description The service for the forecasted cost. Will be 'all' for all combined services
|
|
3851
4007
|
* @example Amazon Elastic Compute Cloud - Compute
|
|
@@ -3921,6 +4077,11 @@ interface components {
|
|
|
3921
4077
|
* @default true
|
|
3922
4078
|
*/
|
|
3923
4079
|
show_previous_period?: boolean;
|
|
4080
|
+
/**
|
|
4081
|
+
* @description Report will restrict date ranges to completed periods only.
|
|
4082
|
+
* @default false
|
|
4083
|
+
*/
|
|
4084
|
+
complete_period?: boolean;
|
|
3924
4085
|
};
|
|
3925
4086
|
/** @description The previous period start date of the CostReport. ISO 8601 Formatted. */
|
|
3926
4087
|
previous_period_start_date?: string;
|
|
@@ -3946,7 +4107,7 @@ interface components {
|
|
|
3946
4107
|
* @default cumulative
|
|
3947
4108
|
* @enum {string}
|
|
3948
4109
|
*/
|
|
3949
|
-
date_bin?: "cumulative" | "day" | "week" | "month" | "quarter";
|
|
4110
|
+
date_bin?: "cumulative" | "day" | "week" | "month" | "quarter" | "hour";
|
|
3950
4111
|
/** @description Report chart settings. */
|
|
3951
4112
|
chart_settings?: {
|
|
3952
4113
|
/** @description The dimension used to group or label data along the x-axis (e.g., by date, region, or service). NOTE: Only one value is allowed at this time. Defaults to ['date']. */
|
|
@@ -3980,6 +4141,16 @@ interface components {
|
|
|
3980
4141
|
}[];
|
|
3981
4142
|
/** @description The token of the Folder to add the CostReport to. Determines the Workspace the report is assigned to. */
|
|
3982
4143
|
folder_token?: string;
|
|
4144
|
+
/** @description The default forecast selection for the CostReport. */
|
|
4145
|
+
default_forecast?: {
|
|
4146
|
+
/**
|
|
4147
|
+
* @description The default forecast selection kind.
|
|
4148
|
+
* @enum {string}
|
|
4149
|
+
*/
|
|
4150
|
+
kind: "baseline" | "report_forecast";
|
|
4151
|
+
/** @description The token for the report forecast to set as default when kind is report_forecast. */
|
|
4152
|
+
report_forecast_token?: string;
|
|
4153
|
+
};
|
|
3983
4154
|
/** @description Report settings. */
|
|
3984
4155
|
settings?: {
|
|
3985
4156
|
/** @description Report will include credits. */
|
|
@@ -3998,6 +4169,8 @@ interface components {
|
|
|
3998
4169
|
aggregate_by?: string | null;
|
|
3999
4170
|
/** @description Report will show previous period costs or usage comparison. */
|
|
4000
4171
|
show_previous_period?: boolean | null;
|
|
4172
|
+
/** @description Report will restrict date ranges to completed periods only. */
|
|
4173
|
+
complete_period?: boolean;
|
|
4001
4174
|
};
|
|
4002
4175
|
/** @description Report chart settings. */
|
|
4003
4176
|
chart_settings?: {
|
|
@@ -4021,16 +4194,14 @@ interface components {
|
|
|
4021
4194
|
date_interval?: "this_month" | "last_7_days" | "last_30_days" | "last_month" | "last_3_months" | "last_6_months" | "custom" | "last_12_months" | "last_24_months" | "last_36_months" | "next_month" | "next_3_months" | "next_6_months" | "next_12_months" | "year_to_date" | "last_3_days" | "last_14_days";
|
|
4022
4195
|
/**
|
|
4023
4196
|
* @description The chart type of the CostReport.
|
|
4024
|
-
* @default line
|
|
4025
4197
|
* @enum {string}
|
|
4026
4198
|
*/
|
|
4027
4199
|
chart_type?: "area" | "line" | "pie" | "bar" | "multi_bar";
|
|
4028
4200
|
/**
|
|
4029
4201
|
* @description The date bin of the CostReport.
|
|
4030
|
-
* @default cumulative
|
|
4031
4202
|
* @enum {string}
|
|
4032
4203
|
*/
|
|
4033
|
-
date_bin?: "cumulative" | "day" | "week" | "month" | "quarter";
|
|
4204
|
+
date_bin?: "cumulative" | "day" | "week" | "month" | "quarter" | "hour";
|
|
4034
4205
|
};
|
|
4035
4206
|
/** @description Generate a DataExport of costs. */
|
|
4036
4207
|
createCostExport: {
|
|
@@ -4044,22 +4215,67 @@ interface components {
|
|
|
4044
4215
|
start_date?: string;
|
|
4045
4216
|
/** @description Last date you would like to filter costs to. ISO 8601 formatted. */
|
|
4046
4217
|
end_date?: string;
|
|
4218
|
+
/** @description Group the results by specific field(s). Defaults to provider, service, account_id. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region */
|
|
4219
|
+
groupings?: string[];
|
|
4047
4220
|
/**
|
|
4048
4221
|
* @description The date bin of the costs. Defaults to the report's default or day.
|
|
4049
4222
|
* @enum {string}
|
|
4050
4223
|
*/
|
|
4051
|
-
date_bin?: "day" | "week" | "month" | "quarter";
|
|
4224
|
+
date_bin?: "day" | "week" | "month" | "quarter" | "hour";
|
|
4052
4225
|
/**
|
|
4053
4226
|
* @description The schema of the data export.
|
|
4054
4227
|
* @default vntg
|
|
4055
4228
|
* @enum {string}
|
|
4056
4229
|
*/
|
|
4057
4230
|
schema?: "vntg" | "focus" | "comparison";
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4231
|
+
/** @description Cost-related settings. */
|
|
4232
|
+
settings?: {
|
|
4233
|
+
/**
|
|
4234
|
+
* @description Results will include credits.
|
|
4235
|
+
* @default false
|
|
4236
|
+
*/
|
|
4237
|
+
include_credits?: boolean;
|
|
4238
|
+
/**
|
|
4239
|
+
* @description Results will include refunds.
|
|
4240
|
+
* @default false
|
|
4241
|
+
*/
|
|
4242
|
+
include_refunds?: boolean;
|
|
4243
|
+
/**
|
|
4244
|
+
* @description Results will include discounts.
|
|
4245
|
+
* @default true
|
|
4246
|
+
*/
|
|
4247
|
+
include_discounts?: boolean;
|
|
4248
|
+
/**
|
|
4249
|
+
* @description Results will include tax.
|
|
4250
|
+
* @default true
|
|
4251
|
+
*/
|
|
4252
|
+
include_tax?: boolean;
|
|
4253
|
+
/**
|
|
4254
|
+
* @description Results will amortize.
|
|
4255
|
+
* @default true
|
|
4256
|
+
*/
|
|
4257
|
+
amortize?: boolean;
|
|
4258
|
+
/**
|
|
4259
|
+
* @description Results will show unallocated costs.
|
|
4260
|
+
* @default false
|
|
4261
|
+
*/
|
|
4262
|
+
unallocated?: boolean;
|
|
4263
|
+
/**
|
|
4264
|
+
* @description Results will aggregate by cost or usage.
|
|
4265
|
+
* @default cost
|
|
4266
|
+
*/
|
|
4267
|
+
aggregate_by?: string;
|
|
4268
|
+
/**
|
|
4269
|
+
* @description Results will show previous period costs or usage comparison.
|
|
4270
|
+
* @default true
|
|
4271
|
+
*/
|
|
4272
|
+
show_previous_period?: boolean;
|
|
4273
|
+
};
|
|
4274
|
+
};
|
|
4275
|
+
/** @description Costs model */
|
|
4276
|
+
Costs: {
|
|
4277
|
+
links?: components["schemas"]["Links"];
|
|
4278
|
+
total_cost: components["schemas"]["CostPartial"];
|
|
4063
4279
|
/** @description The sum of all usage for the CostReport for the requested period, rounded to 2 decimal places, grouped by usage unit. */
|
|
4064
4280
|
total_usage?: components["schemas"]["UsagePartial"][];
|
|
4065
4281
|
costs: components["schemas"]["Cost"][];
|
|
@@ -4113,7 +4329,7 @@ interface components {
|
|
|
4113
4329
|
* @example aws
|
|
4114
4330
|
* @enum {string|null}
|
|
4115
4331
|
*/
|
|
4116
|
-
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | null;
|
|
4332
|
+
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten" | null;
|
|
4117
4333
|
/**
|
|
4118
4334
|
* @description The cost provider's billing account id that incurred the cost.
|
|
4119
4335
|
* @example 9109237192
|
|
@@ -4139,6 +4355,11 @@ interface components {
|
|
|
4139
4355
|
* @example arn:aws:ec2:us-east-1:123456789012:instance/i-1234567890abcdef0
|
|
4140
4356
|
*/
|
|
4141
4357
|
resource_id?: string | null;
|
|
4358
|
+
/**
|
|
4359
|
+
* @description The human-readable resource name when Vantage can enrich the resource id.
|
|
4360
|
+
* @example claude_code_key_name
|
|
4361
|
+
*/
|
|
4362
|
+
resource_name?: string | null;
|
|
4142
4363
|
/**
|
|
4143
4364
|
* @description The tag attached to the cost that was incurred.
|
|
4144
4365
|
* DEPRECATED: does not support multiple tags.
|
|
@@ -4234,7 +4455,7 @@ interface components {
|
|
|
4234
4455
|
createDashboard: {
|
|
4235
4456
|
/** @description The title of the Dashboard. */
|
|
4236
4457
|
title: string;
|
|
4237
|
-
/** @description The widgets to add to the Dashboard. Currently supports CostReport, ResourceReport, KubernetesEfficiencyReport, and
|
|
4458
|
+
/** @description The widgets to add to the Dashboard. Currently supports CostReport, ResourceReport, KubernetesEfficiencyReport, FinancialCommitmentReport, and RecommendationView. */
|
|
4238
4459
|
widgets?: {
|
|
4239
4460
|
/** @description The token of the represented Resource. */
|
|
4240
4461
|
widgetable_token: string;
|
|
@@ -4269,7 +4490,7 @@ interface components {
|
|
|
4269
4490
|
updateDashboard: {
|
|
4270
4491
|
/** @description The title of the Dashboard. */
|
|
4271
4492
|
title?: string;
|
|
4272
|
-
/** @description The widgets to add to the Dashboard. Currently supports CostReport, ResourceReport, KubernetesEfficiencyReport, and
|
|
4493
|
+
/** @description The widgets to add to the Dashboard. Currently supports CostReport, ResourceReport, KubernetesEfficiencyReport, FinancialCommitmentReport, and RecommendationView. */
|
|
4273
4494
|
widgets?: {
|
|
4274
4495
|
/** @description The token of the represented Resource. */
|
|
4275
4496
|
widgetable_token: string;
|
|
@@ -4551,6 +4772,8 @@ interface components {
|
|
|
4551
4772
|
* @example Platform Team Reports
|
|
4552
4773
|
*/
|
|
4553
4774
|
title: string | null;
|
|
4775
|
+
/** @description The type of the Folder. */
|
|
4776
|
+
type: string;
|
|
4554
4777
|
/** @description The token for the parent Folder, if any. */
|
|
4555
4778
|
parent_folder_token?: string | null;
|
|
4556
4779
|
/** @description The tokens for the SavedFilters assigned to the Folder. */
|
|
@@ -4578,6 +4801,12 @@ interface components {
|
|
|
4578
4801
|
saved_filter_tokens?: string[];
|
|
4579
4802
|
/** @description The token of the Workspace to add the Folder to. Ignored if 'parent_folder_token' is set. Required if the API token is associated with multiple Workspaces. */
|
|
4580
4803
|
workspace_token?: string;
|
|
4804
|
+
/**
|
|
4805
|
+
* @description The type of the Folder.
|
|
4806
|
+
* @default CostFolder
|
|
4807
|
+
* @enum {string}
|
|
4808
|
+
*/
|
|
4809
|
+
type?: "CostFolder" | "ProviderResourceFolder";
|
|
4581
4810
|
};
|
|
4582
4811
|
/** @description Update a Folder for CostReports. */
|
|
4583
4812
|
updateFolder: {
|
|
@@ -4818,7 +5047,7 @@ interface components {
|
|
|
4818
5047
|
/** @description How costs are aggregated by. Possible values: idle_cost, amount, cost_efficiency. */
|
|
4819
5048
|
aggregated_by: string;
|
|
4820
5049
|
/**
|
|
4821
|
-
* @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, labeled, category, pod, label, label:<label_name>.
|
|
5050
|
+
* @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, region, labeled, category, pod, label, label:<label_name>.
|
|
4822
5051
|
* @example cluster_id, namespace
|
|
4823
5052
|
*/
|
|
4824
5053
|
groupings: string | null;
|
|
@@ -4876,7 +5105,7 @@ interface components {
|
|
|
4876
5105
|
* @enum {string}
|
|
4877
5106
|
*/
|
|
4878
5107
|
date_bucket?: "day" | "week" | "month" | "quarter";
|
|
4879
|
-
/** @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, labeled, category, pod, label, label:<label_name>. */
|
|
5108
|
+
/** @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, region, labeled, category, pod, label, label:<label_name>. */
|
|
4880
5109
|
groupings?: string[];
|
|
4881
5110
|
};
|
|
4882
5111
|
/** @description Update a KubernetesEfficiencyReport. */
|
|
@@ -4910,7 +5139,7 @@ interface components {
|
|
|
4910
5139
|
* @enum {string}
|
|
4911
5140
|
*/
|
|
4912
5141
|
date_bucket?: "day" | "week" | "month" | "quarter";
|
|
4913
|
-
/** @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, labeled, category, pod, label, label:<label_name>. */
|
|
5142
|
+
/** @description Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, region, labeled, category, pod, label, label:<label_name>. */
|
|
4914
5143
|
groupings?: string[];
|
|
4915
5144
|
};
|
|
4916
5145
|
/** @description ManagedAccounts model */
|
|
@@ -4927,7 +5156,7 @@ interface components {
|
|
|
4927
5156
|
parent_account_token: string;
|
|
4928
5157
|
/** @description The tokens for the Access Credentials assigned to the Managed Account. */
|
|
4929
5158
|
access_credential_tokens: string[];
|
|
4930
|
-
/** @description The tokens for the Billing Rules assigned to the Managed Account. */
|
|
5159
|
+
/** @description The tokens for the Billing Rules assigned to the Managed Account, in the order they will execute against this account's cost data. */
|
|
4931
5160
|
billing_rule_tokens: string[];
|
|
4932
5161
|
/** @description Email domain associated with this Managed Account for SSO. */
|
|
4933
5162
|
email_domain?: string | null;
|
|
@@ -4951,7 +5180,7 @@ interface components {
|
|
|
4951
5180
|
contact_email: string;
|
|
4952
5181
|
/** @description Access Credential (aka Integrations) tokens to assign to the Managed Account. */
|
|
4953
5182
|
access_credential_tokens?: string[];
|
|
4954
|
-
/** @description Billing Rule tokens to assign to the Managed Account. */
|
|
5183
|
+
/** @description Billing Rule tokens to assign to the Managed Account, in their desired execution order. Tokens must be ordered by execution group: AWS transforms, then COST inserts, then COST transforms, then monthly post-transform inserts. Within a group any order is accepted and persisted as-is. Submitting a list whose cross-group ordering does not match the pipeline returns a 400.Existing rules with apply_to_all enabled will be added implicity to the end of their execution group. */
|
|
4955
5184
|
billing_rule_tokens?: string[];
|
|
4956
5185
|
/** @description Email domain to associate with this Managed Account for SSO. */
|
|
4957
5186
|
email_domain?: string;
|
|
@@ -4964,7 +5193,7 @@ interface components {
|
|
|
4964
5193
|
contact_email?: string;
|
|
4965
5194
|
/** @description Access Credential (aka Integrations) tokens to assign to the Managed Account. */
|
|
4966
5195
|
access_credential_tokens?: string[];
|
|
4967
|
-
/** @description Billing Rule tokens to assign to the Managed Account. */
|
|
5196
|
+
/** @description Billing Rule tokens to assign to the Managed Account, in their desired execution order. Tokens must be ordered by execution group: AWS transforms, then COST inserts, then COST transforms, then monthly post-transform inserts. Within a group any order is accepted and persisted as-is. Submitting a list whose cross-group ordering does not match the pipeline returns a 400. */
|
|
4968
5197
|
billing_rule_tokens?: string[];
|
|
4969
5198
|
/** @description Email domain to associate with this Managed Account for SSO. */
|
|
4970
5199
|
email_domain?: string;
|
|
@@ -5080,7 +5309,7 @@ interface components {
|
|
|
5080
5309
|
/** @description Update the authenticated User. */
|
|
5081
5310
|
updateMe: {
|
|
5082
5311
|
/** @description The token of a Dashboard to set as the User default. Send null to clear. */
|
|
5083
|
-
default_dashboard_token?: string;
|
|
5312
|
+
default_dashboard_token?: string | null;
|
|
5084
5313
|
};
|
|
5085
5314
|
/** @description CostProviders model */
|
|
5086
5315
|
CostProviders: {
|
|
@@ -5371,6 +5600,11 @@ interface components {
|
|
|
5371
5600
|
/** @description The account ID of the provider. For Azure, this is the subscription ID. */
|
|
5372
5601
|
provider_account_id: string | null;
|
|
5373
5602
|
description: string;
|
|
5603
|
+
/**
|
|
5604
|
+
* @description A URL to related documentation if available.
|
|
5605
|
+
* @example https://handbook.vantage.sh/aws/services/s3-pricing/#intelligent-tiering
|
|
5606
|
+
*/
|
|
5607
|
+
documentation_url: string | null;
|
|
5374
5608
|
/**
|
|
5375
5609
|
* @description The monthly potential savings of the Recommendation, converted to the organization's selected currency.
|
|
5376
5610
|
* @example 100.00
|
|
@@ -5402,11 +5636,44 @@ interface components {
|
|
|
5402
5636
|
/** @description RecommendationProviderResources model */
|
|
5403
5637
|
RecommendationProviderResources: {
|
|
5404
5638
|
links?: components["schemas"]["Links"];
|
|
5405
|
-
resources: components["schemas"]["
|
|
5639
|
+
resources: components["schemas"]["RecommendationProviderResource"][];
|
|
5406
5640
|
};
|
|
5407
|
-
/** @description
|
|
5408
|
-
|
|
5641
|
+
/** @description RecommendationProviderResource model */
|
|
5642
|
+
RecommendationProviderResource: {
|
|
5409
5643
|
token: string;
|
|
5644
|
+
/**
|
|
5645
|
+
* @description The unique identifier for the resource.
|
|
5646
|
+
* @example i-0a1b2c3d4e5f6g7h8
|
|
5647
|
+
*/
|
|
5648
|
+
uuid: string;
|
|
5649
|
+
/**
|
|
5650
|
+
* @description The kind of resource.
|
|
5651
|
+
* @example aws_instance
|
|
5652
|
+
*/
|
|
5653
|
+
type: string;
|
|
5654
|
+
label: string | null;
|
|
5655
|
+
/** @description Type-specific attributes of the resource. */
|
|
5656
|
+
metadata: Record<string, any> | null;
|
|
5657
|
+
/** @description The provider account where the resource is located. */
|
|
5658
|
+
account_id: string | null;
|
|
5659
|
+
/** @description The provider billing account this resource is charged to. */
|
|
5660
|
+
billing_account_id: string | null;
|
|
5661
|
+
/**
|
|
5662
|
+
* @description The provider of the resource.
|
|
5663
|
+
* @example aws
|
|
5664
|
+
*/
|
|
5665
|
+
provider: string;
|
|
5666
|
+
/**
|
|
5667
|
+
* @description The region where the resource is located. Region values are specific to each provider.
|
|
5668
|
+
* @example us-west-2
|
|
5669
|
+
*/
|
|
5670
|
+
region: string | null;
|
|
5671
|
+
/** @description The cost of the resource broken down by category. */
|
|
5672
|
+
costs?: components["schemas"]["ResourceCost"][];
|
|
5673
|
+
/** @description The date and time when Vantage first observed the resource. */
|
|
5674
|
+
created_at: string;
|
|
5675
|
+
/** @description Key-value pairs of tags associated with the resource. */
|
|
5676
|
+
tags: Record<string, any>;
|
|
5410
5677
|
/**
|
|
5411
5678
|
* @description The unique identifier of the Active Resource.
|
|
5412
5679
|
* @example i-0a1b2c3d4e5f6g7h8
|
|
@@ -5415,6 +5682,15 @@ interface components {
|
|
|
5415
5682
|
/** @description The actions to take to implement the Recommendation. */
|
|
5416
5683
|
recommendation_actions?: components["schemas"]["RecommendationAction"][];
|
|
5417
5684
|
};
|
|
5685
|
+
ResourceCost: {
|
|
5686
|
+
/** @description The category of the cost. */
|
|
5687
|
+
category: string;
|
|
5688
|
+
/**
|
|
5689
|
+
* Format: float
|
|
5690
|
+
* @description The cost amount.
|
|
5691
|
+
*/
|
|
5692
|
+
amount: number;
|
|
5693
|
+
};
|
|
5418
5694
|
RecommendationAction: {
|
|
5419
5695
|
action: string;
|
|
5420
5696
|
description: string;
|
|
@@ -5464,6 +5740,8 @@ interface components {
|
|
|
5464
5740
|
account_ids?: string[] | null;
|
|
5465
5741
|
/** @description Filter by region slugs (e.g. us-east-1, eastus, asia-east1). */
|
|
5466
5742
|
regions?: string[] | null;
|
|
5743
|
+
/** @description Filter by one or more recommendation type slugs. */
|
|
5744
|
+
types?: string[] | null;
|
|
5467
5745
|
/**
|
|
5468
5746
|
* @description Filter by tag key (must be used with tag_value).
|
|
5469
5747
|
* @example environment
|
|
@@ -5474,6 +5752,12 @@ interface components {
|
|
|
5474
5752
|
* @example production
|
|
5475
5753
|
*/
|
|
5476
5754
|
tag_value?: string | null;
|
|
5755
|
+
/**
|
|
5756
|
+
* Format: float
|
|
5757
|
+
* @description Filter recommendations with at least this amount of potential savings.
|
|
5758
|
+
* @example 100.5
|
|
5759
|
+
*/
|
|
5760
|
+
min_savings?: number | null;
|
|
5477
5761
|
/**
|
|
5478
5762
|
* @description The date and time, in UTC, the view was created. ISO 8601 Formatted.
|
|
5479
5763
|
* @example 2023-08-04T00:00:00Z
|
|
@@ -5496,6 +5780,8 @@ interface components {
|
|
|
5496
5780
|
account_ids?: string[];
|
|
5497
5781
|
/** @description Filter by region slugs (e.g. us-east-1, eastus, asia-east1). */
|
|
5498
5782
|
regions?: string[];
|
|
5783
|
+
/** @description Filter by one or more recommendation type slugs. */
|
|
5784
|
+
types?: string[];
|
|
5499
5785
|
/** @description Filter by tag key (must be used with tag_value). */
|
|
5500
5786
|
tag_key?: string;
|
|
5501
5787
|
/** @description Filter by tag value (requires tag_key). */
|
|
@@ -5504,6 +5790,11 @@ interface components {
|
|
|
5504
5790
|
start_date?: string;
|
|
5505
5791
|
/** @description Filter recommendations created on/before this YYYY-MM-DD date. */
|
|
5506
5792
|
end_date?: string;
|
|
5793
|
+
/**
|
|
5794
|
+
* Format: float
|
|
5795
|
+
* @description Filter recommendations with at least this amount of potential savings.
|
|
5796
|
+
*/
|
|
5797
|
+
min_savings?: number;
|
|
5507
5798
|
};
|
|
5508
5799
|
/** @description Update a RecommendationView. */
|
|
5509
5800
|
updateRecommendationView: {
|
|
@@ -5517,6 +5808,8 @@ interface components {
|
|
|
5517
5808
|
account_ids?: string[];
|
|
5518
5809
|
/** @description Filter by region slugs (e.g. us-east-1, eastus, asia-east1). */
|
|
5519
5810
|
regions?: string[];
|
|
5811
|
+
/** @description Filter by one or more recommendation type slugs. */
|
|
5812
|
+
types?: string[];
|
|
5520
5813
|
/** @description Filter by tag key (must be used with tag_value). */
|
|
5521
5814
|
tag_key?: string;
|
|
5522
5815
|
/** @description Filter by tag value (requires tag_key). */
|
|
@@ -5525,6 +5818,11 @@ interface components {
|
|
|
5525
5818
|
start_date?: string;
|
|
5526
5819
|
/** @description Filter recommendations created on/before this YYYY-MM-DD date. */
|
|
5527
5820
|
end_date?: string;
|
|
5821
|
+
/**
|
|
5822
|
+
* Format: float
|
|
5823
|
+
* @description Filter recommendations with at least this amount of potential savings.
|
|
5824
|
+
*/
|
|
5825
|
+
min_savings?: number;
|
|
5528
5826
|
};
|
|
5529
5827
|
/** @description ReportNotifications model */
|
|
5530
5828
|
ReportNotifications: {
|
|
@@ -5624,6 +5922,8 @@ interface components {
|
|
|
5624
5922
|
user_token: string | null;
|
|
5625
5923
|
/** @description The token for the User or Team who created this ResourceReport. */
|
|
5626
5924
|
created_by_token: string | null;
|
|
5925
|
+
/** @description The token for the Folder the ResourceReport is a part of. */
|
|
5926
|
+
folder_token?: string | null;
|
|
5627
5927
|
/** @description Array of column names configured for the ResourceReport table display. */
|
|
5628
5928
|
columns: string[];
|
|
5629
5929
|
};
|
|
@@ -5637,6 +5937,8 @@ interface components {
|
|
|
5637
5937
|
filter?: string;
|
|
5638
5938
|
/** @description Array of column names to display in the table. Column names should match those returned by the /resource_reports/columns endpoint. The order determines the display order. Only available for reports with a single resource type filter. */
|
|
5639
5939
|
columns?: string[];
|
|
5940
|
+
/** @description The token of the Folder to add the ResourceReport to. */
|
|
5941
|
+
folder_token?: string;
|
|
5640
5942
|
};
|
|
5641
5943
|
/** @description Update a ResourceReport. */
|
|
5642
5944
|
updateResourceReport: {
|
|
@@ -5646,6 +5948,8 @@ interface components {
|
|
|
5646
5948
|
filter?: string;
|
|
5647
5949
|
/** @description Array of column names to display in the table. Column names should match those returned by the /resource_reports/columns endpoint. The order determines the display order. Only available for reports with a single resource type filter. */
|
|
5648
5950
|
columns?: string[];
|
|
5951
|
+
/** @description The token of the Folder to move the ResourceReport to. */
|
|
5952
|
+
folder_token?: string;
|
|
5649
5953
|
};
|
|
5650
5954
|
/** @description Resources model */
|
|
5651
5955
|
Resources: {
|
|
@@ -5686,15 +5990,8 @@ interface components {
|
|
|
5686
5990
|
costs?: components["schemas"]["ResourceCost"][];
|
|
5687
5991
|
/** @description The date and time when Vantage first observed the resource. */
|
|
5688
5992
|
created_at: string;
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
/** @description The category of the cost. */
|
|
5692
|
-
category: string;
|
|
5693
|
-
/**
|
|
5694
|
-
* Format: float
|
|
5695
|
-
* @description The cost amount.
|
|
5696
|
-
*/
|
|
5697
|
-
amount: number;
|
|
5993
|
+
/** @description Key-value pairs of tags associated with the resource. */
|
|
5994
|
+
tags: Record<string, any>;
|
|
5698
5995
|
};
|
|
5699
5996
|
/** @description SavedFilters model */
|
|
5700
5997
|
SavedFilters: {
|
|
@@ -5876,6 +6173,8 @@ interface components {
|
|
|
5876
6173
|
tag_key: string;
|
|
5877
6174
|
/** @description Whether the Tag has been hidden from the Vantage UI. */
|
|
5878
6175
|
hidden: boolean;
|
|
6176
|
+
/** @description Whether the Tag has been marked as preferred. */
|
|
6177
|
+
preferred: boolean;
|
|
5879
6178
|
/** @description The unique providers that are covered by the Tag key. */
|
|
5880
6179
|
providers: string[];
|
|
5881
6180
|
};
|
|
@@ -6023,7 +6322,7 @@ interface components {
|
|
|
6023
6322
|
* @description The date bin of the unit costs. Defaults to the report's default or day.
|
|
6024
6323
|
* @enum {string}
|
|
6025
6324
|
*/
|
|
6026
|
-
date_bin?: "day" | "week" | "month" | "quarter";
|
|
6325
|
+
date_bin?: "day" | "week" | "month" | "quarter" | "hour";
|
|
6027
6326
|
};
|
|
6028
6327
|
/** @description UnitCosts model */
|
|
6029
6328
|
UnitCosts: {
|
|
@@ -6043,7 +6342,13 @@ interface components {
|
|
|
6043
6342
|
*/
|
|
6044
6343
|
business_metric_title: string;
|
|
6045
6344
|
/**
|
|
6046
|
-
* @description The
|
|
6345
|
+
* @description The calculation type applied to produce this result.
|
|
6346
|
+
* @example unit_cost
|
|
6347
|
+
* @enum {string|null}
|
|
6348
|
+
*/
|
|
6349
|
+
calculation_type?: "unit_cost" | "gross_margin" | "usage_unit_cost" | "raw_business_metric" | null;
|
|
6350
|
+
/**
|
|
6351
|
+
* @description The amount of the unit cost. For raw_business_metric types, this equals the business_metric_amount.
|
|
6047
6352
|
* @example 4.25
|
|
6048
6353
|
*/
|
|
6049
6354
|
unit_cost_amount: string;
|
|
@@ -6101,7 +6406,7 @@ interface components {
|
|
|
6101
6406
|
/** @description Update a specific User. */
|
|
6102
6407
|
updateUser: {
|
|
6103
6408
|
/** @description The token of a Dashboard to set as the User default. Send null to clear. */
|
|
6104
|
-
default_dashboard_token?: string;
|
|
6409
|
+
default_dashboard_token?: string | null;
|
|
6105
6410
|
};
|
|
6106
6411
|
/** @description VirtualTagConfigs model */
|
|
6107
6412
|
VirtualTagConfigs: {
|
|
@@ -6128,11 +6433,11 @@ interface components {
|
|
|
6128
6433
|
overridable: boolean;
|
|
6129
6434
|
/**
|
|
6130
6435
|
* @description The earliest month VirtualTagConfig should be backfilled to.
|
|
6131
|
-
* @example
|
|
6436
|
+
* @example 2026-01-01
|
|
6132
6437
|
*/
|
|
6133
6438
|
backfill_until: string;
|
|
6134
6439
|
/** @description Tag keys to collapse values for. */
|
|
6135
|
-
collapsed_tag_keys
|
|
6440
|
+
collapsed_tag_keys: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
6136
6441
|
/** @description Values for the VirtualTagConfig, with match precedence determined by their relative order in the list. */
|
|
6137
6442
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
6138
6443
|
};
|
|
@@ -6142,8 +6447,13 @@ interface components {
|
|
|
6142
6447
|
* @example team
|
|
6143
6448
|
*/
|
|
6144
6449
|
key: string;
|
|
6145
|
-
/** @description The providers this collapsed tag key applies to.
|
|
6450
|
+
/** @description The providers this collapsed tag key applies to. Empty when it applies to all providers. */
|
|
6146
6451
|
providers: string[];
|
|
6452
|
+
/**
|
|
6453
|
+
* @description The VQL filter this collapsed tag key applies to. Null when the key is provider-scoped or unset.
|
|
6454
|
+
* @example (costs.provider = 'aws') OR (costs.provider = 'gcp')
|
|
6455
|
+
*/
|
|
6456
|
+
filter: string | null;
|
|
6147
6457
|
};
|
|
6148
6458
|
VirtualTagConfigValue: {
|
|
6149
6459
|
/**
|
|
@@ -6162,10 +6472,14 @@ interface components {
|
|
|
6162
6472
|
*/
|
|
6163
6473
|
business_metric_token?: string | null;
|
|
6164
6474
|
cost_metric?: components["schemas"]["VirtualTagConfigValueCostMetric"];
|
|
6475
|
+
/** @description The display name for this allocation value. */
|
|
6476
|
+
display_name?: string | null;
|
|
6477
|
+
/** @description Label transforms applied to business metric labels. */
|
|
6478
|
+
label_transforms: components["schemas"]["VirtualTagConfigValueLabelTransform"][];
|
|
6165
6479
|
/** @description Labeled percentage allocations for matching costs. */
|
|
6166
|
-
percentages
|
|
6480
|
+
percentages: components["schemas"]["VirtualTagConfigValuePercentage"][];
|
|
6167
6481
|
/** @description Date ranges restricting when this value applies. */
|
|
6168
|
-
date_ranges
|
|
6482
|
+
date_ranges: components["schemas"]["VirtualTagConfigValueDateRange"][];
|
|
6169
6483
|
};
|
|
6170
6484
|
VirtualTagConfigValueCostMetric: {
|
|
6171
6485
|
/** @description The filter VQL for the cost metric. */
|
|
@@ -6176,6 +6490,22 @@ interface components {
|
|
|
6176
6490
|
/** @description The tag to aggregate on. */
|
|
6177
6491
|
tag?: string | null;
|
|
6178
6492
|
};
|
|
6493
|
+
VirtualTagConfigValueLabelTransform: {
|
|
6494
|
+
/**
|
|
6495
|
+
* @description The label transform type.
|
|
6496
|
+
* @enum {string}
|
|
6497
|
+
*/
|
|
6498
|
+
type: "split" | "format";
|
|
6499
|
+
/** @description Delimiter used by split transforms. */
|
|
6500
|
+
delimiter?: string | null;
|
|
6501
|
+
/**
|
|
6502
|
+
* Format: int32
|
|
6503
|
+
* @description Zero-based index used by split transforms.
|
|
6504
|
+
*/
|
|
6505
|
+
index?: number | null;
|
|
6506
|
+
/** @description Template used by format transforms. */
|
|
6507
|
+
template?: string | null;
|
|
6508
|
+
};
|
|
6179
6509
|
VirtualTagConfigValuePercentage: {
|
|
6180
6510
|
/**
|
|
6181
6511
|
* @description The tag value associated with a percentage of matched costs.
|
|
@@ -6233,8 +6563,10 @@ interface components {
|
|
|
6233
6563
|
collapsed_tag_keys?: {
|
|
6234
6564
|
/** @description The tag key to collapse values for. */
|
|
6235
6565
|
key: string;
|
|
6236
|
-
/** @description
|
|
6566
|
+
/** @description Provider-only scope for this collapsed tag key. Invalid when filter is set; include provider restrictions in filter instead. Defaults to all providers. */
|
|
6237
6567
|
providers?: string[];
|
|
6568
|
+
/** @description The VQL filter this collapsed tag key applies to. When set, do not also set providers; include any provider restrictions directly in filter. */
|
|
6569
|
+
filter?: string;
|
|
6238
6570
|
}[];
|
|
6239
6571
|
/** @description Values for the VirtualTagConfig, with match precedence determined by order in the list. */
|
|
6240
6572
|
values?: {
|
|
@@ -6244,6 +6576,15 @@ interface components {
|
|
|
6244
6576
|
name?: string;
|
|
6245
6577
|
/** @description The token of an associated business metric. */
|
|
6246
6578
|
business_metric_token?: string;
|
|
6579
|
+
/** @description The display name for an allocation value (cost_metric or percentages). Invalid when name is set. */
|
|
6580
|
+
display_name?: string;
|
|
6581
|
+
label_transforms?: {
|
|
6582
|
+
type: string;
|
|
6583
|
+
delimiter?: string | null;
|
|
6584
|
+
/** Format: int32 */
|
|
6585
|
+
index?: number | null;
|
|
6586
|
+
template?: string | null;
|
|
6587
|
+
}[];
|
|
6247
6588
|
cost_metric?: {
|
|
6248
6589
|
filter: string;
|
|
6249
6590
|
aggregation: {
|
|
@@ -6279,8 +6620,10 @@ interface components {
|
|
|
6279
6620
|
collapsed_tag_keys?: {
|
|
6280
6621
|
/** @description The tag key to collapse values for. */
|
|
6281
6622
|
key: string;
|
|
6282
|
-
/** @description
|
|
6623
|
+
/** @description Provider-only scope for this collapsed tag key. Invalid when filter is set; include provider restrictions in filter instead. Defaults to all providers. */
|
|
6283
6624
|
providers?: string[];
|
|
6625
|
+
/** @description The VQL filter this collapsed tag key applies to. When set, do not also set providers; include any provider restrictions directly in filter. */
|
|
6626
|
+
filter?: string;
|
|
6284
6627
|
}[];
|
|
6285
6628
|
/** @description Values for the VirtualTagConfig, with match precedence determined by order in the list. */
|
|
6286
6629
|
values?: {
|
|
@@ -6290,6 +6633,15 @@ interface components {
|
|
|
6290
6633
|
name?: string;
|
|
6291
6634
|
/** @description The token of an associated business metric. */
|
|
6292
6635
|
business_metric_token?: string;
|
|
6636
|
+
/** @description The display name for an allocation value (cost_metric or percentages). Invalid when name is set. */
|
|
6637
|
+
display_name?: string;
|
|
6638
|
+
label_transforms?: {
|
|
6639
|
+
type: string;
|
|
6640
|
+
delimiter?: string | null;
|
|
6641
|
+
/** Format: int32 */
|
|
6642
|
+
index?: number | null;
|
|
6643
|
+
template?: string | null;
|
|
6644
|
+
}[];
|
|
6293
6645
|
cost_metric?: {
|
|
6294
6646
|
filter: string;
|
|
6295
6647
|
aggregation: {
|
|
@@ -6338,8 +6690,10 @@ interface components {
|
|
|
6338
6690
|
collapsed_tag_keys?: {
|
|
6339
6691
|
/** @description The tag key to collapse values for. */
|
|
6340
6692
|
key: string;
|
|
6341
|
-
/** @description
|
|
6693
|
+
/** @description Provider-only scope for this collapsed tag key. Invalid when filter is set; include provider restrictions in filter instead. Defaults to all providers. */
|
|
6342
6694
|
providers?: string[];
|
|
6695
|
+
/** @description The VQL filter this collapsed tag key applies to. When set, do not also set providers; include any provider restrictions directly in filter. */
|
|
6696
|
+
filter?: string;
|
|
6343
6697
|
}[];
|
|
6344
6698
|
/** @description Values for the VirtualTagConfig, with match precedence determined by order in the list. */
|
|
6345
6699
|
values?: {
|
|
@@ -6349,6 +6703,15 @@ interface components {
|
|
|
6349
6703
|
name?: string;
|
|
6350
6704
|
/** @description The token of an associated business metric. */
|
|
6351
6705
|
business_metric_token?: string;
|
|
6706
|
+
/** @description The display name for an allocation value (cost_metric or percentages). Invalid when name is set. */
|
|
6707
|
+
display_name?: string;
|
|
6708
|
+
label_transforms?: {
|
|
6709
|
+
type: string;
|
|
6710
|
+
delimiter?: string | null;
|
|
6711
|
+
/** Format: int32 */
|
|
6712
|
+
index?: number | null;
|
|
6713
|
+
template?: string | null;
|
|
6714
|
+
}[];
|
|
6352
6715
|
cost_metric?: {
|
|
6353
6716
|
filter: string;
|
|
6354
6717
|
aggregation: {
|
|
@@ -7105,7 +7468,7 @@ interface operations {
|
|
|
7105
7468
|
query?: {
|
|
7106
7469
|
/** @description The page of results to return. */
|
|
7107
7470
|
page?: number;
|
|
7108
|
-
/** @description The amount of results to return. The maximum is
|
|
7471
|
+
/** @description The amount of results to return. Defaults to 100. The maximum is 5000. */
|
|
7109
7472
|
limit?: number;
|
|
7110
7473
|
/** @description Filter by personal or service API token that performed the action. */
|
|
7111
7474
|
user?: number;
|
|
@@ -7118,7 +7481,7 @@ interface operations {
|
|
|
7118
7481
|
/** @description Filter by source. */
|
|
7119
7482
|
source?: "console" | "api" | "finops_agent";
|
|
7120
7483
|
/** @description Filter by object type. */
|
|
7121
|
-
object_type?: "virtual_tag" | "cost_report" | "recommendation_commitment";
|
|
7484
|
+
object_type?: "virtual_tag" | "cost_report" | "recommendation_commitment" | "segment";
|
|
7122
7485
|
/** @description Filter by audit log token. */
|
|
7123
7486
|
token?: string;
|
|
7124
7487
|
/** @description Filter by object token (auditable_token). */
|
|
@@ -7225,17 +7588,12 @@ interface operations {
|
|
|
7225
7588
|
* }
|
|
7226
7589
|
* }
|
|
7227
7590
|
* ],
|
|
7228
|
-
* "
|
|
7229
|
-
* "self": "/v2/audit_logs?page=1
|
|
7230
|
-
* "first": "/v2/audit_logs?page=1
|
|
7231
|
-
* "next": "/v2/audit_logs?page=2
|
|
7232
|
-
* "last": "/v2/audit_logs?page=
|
|
7591
|
+
* "links": {
|
|
7592
|
+
* "self": "/v2/audit_logs?page=1",
|
|
7593
|
+
* "first": "/v2/audit_logs?page=1",
|
|
7594
|
+
* "next": "/v2/audit_logs?page=2",
|
|
7595
|
+
* "last": "/v2/audit_logs?page=3",
|
|
7233
7596
|
* "prev": null
|
|
7234
|
-
* },
|
|
7235
|
-
* "_meta": {
|
|
7236
|
-
* "total_count": 248,
|
|
7237
|
-
* "per_page": 25,
|
|
7238
|
-
* "page": 1
|
|
7239
7597
|
* }
|
|
7240
7598
|
* }
|
|
7241
7599
|
*/
|
|
@@ -8559,6 +8917,68 @@ interface operations {
|
|
|
8559
8917
|
};
|
|
8560
8918
|
};
|
|
8561
8919
|
};
|
|
8920
|
+
deleteBusinessMetricValues: {
|
|
8921
|
+
parameters: {
|
|
8922
|
+
query?: {
|
|
8923
|
+
/** @description Inclusive lower bound (ISO 8601 date or datetime, UTC). Date-only values start at 00:00:00 UTC that day. */
|
|
8924
|
+
start_date?: string;
|
|
8925
|
+
/** @description Inclusive upper bound (ISO 8601 date or datetime, UTC). Date-only values include the full calendar day through 23:59:59.999999999 UTC. */
|
|
8926
|
+
end_date?: string;
|
|
8927
|
+
/** @description When present in the query string (including as an empty value), only unit metrics with this exact label are deleted. Omit the parameter to delete all labels in range. */
|
|
8928
|
+
label?: string;
|
|
8929
|
+
/** @description When true, deletes forecasted unit metrics instead of historical ones. */
|
|
8930
|
+
forecasted?: boolean;
|
|
8931
|
+
};
|
|
8932
|
+
header?: never;
|
|
8933
|
+
path: {
|
|
8934
|
+
business_metric_token: string;
|
|
8935
|
+
};
|
|
8936
|
+
cookie?: never;
|
|
8937
|
+
};
|
|
8938
|
+
requestBody?: never;
|
|
8939
|
+
responses: {
|
|
8940
|
+
200: {
|
|
8941
|
+
headers: {
|
|
8942
|
+
[name: string]: unknown;
|
|
8943
|
+
};
|
|
8944
|
+
content: {
|
|
8945
|
+
/**
|
|
8946
|
+
* @example {
|
|
8947
|
+
* "deleted_count": 120
|
|
8948
|
+
* }
|
|
8949
|
+
*/
|
|
8950
|
+
"application/json": components["schemas"]["BusinessMetricValuesDeleteResponse"];
|
|
8951
|
+
};
|
|
8952
|
+
};
|
|
8953
|
+
/** @description Forbidden */
|
|
8954
|
+
403: {
|
|
8955
|
+
headers: {
|
|
8956
|
+
[name: string]: unknown;
|
|
8957
|
+
};
|
|
8958
|
+
content: {
|
|
8959
|
+
"application/json": components["schemas"]["Errors"];
|
|
8960
|
+
};
|
|
8961
|
+
};
|
|
8962
|
+
/** @description NotFound */
|
|
8963
|
+
404: {
|
|
8964
|
+
headers: {
|
|
8965
|
+
[name: string]: unknown;
|
|
8966
|
+
};
|
|
8967
|
+
content: {
|
|
8968
|
+
"application/json": components["schemas"]["Errors"];
|
|
8969
|
+
};
|
|
8970
|
+
};
|
|
8971
|
+
/** @description UnprocessableEntity */
|
|
8972
|
+
422: {
|
|
8973
|
+
headers: {
|
|
8974
|
+
[name: string]: unknown;
|
|
8975
|
+
};
|
|
8976
|
+
content: {
|
|
8977
|
+
"application/json": components["schemas"]["Errors"];
|
|
8978
|
+
};
|
|
8979
|
+
};
|
|
8980
|
+
};
|
|
8981
|
+
};
|
|
8562
8982
|
getBusinessMetricForecastedValues: {
|
|
8563
8983
|
parameters: {
|
|
8564
8984
|
query?: {
|
|
@@ -8708,6 +9128,165 @@ interface operations {
|
|
|
8708
9128
|
};
|
|
8709
9129
|
};
|
|
8710
9130
|
};
|
|
9131
|
+
getCanvases: {
|
|
9132
|
+
parameters: {
|
|
9133
|
+
query?: {
|
|
9134
|
+
/** @description The page of results to return. */
|
|
9135
|
+
page?: number;
|
|
9136
|
+
/** @description The amount of results to return. The maximum is 1000. */
|
|
9137
|
+
limit?: number;
|
|
9138
|
+
};
|
|
9139
|
+
header?: never;
|
|
9140
|
+
path?: never;
|
|
9141
|
+
cookie?: never;
|
|
9142
|
+
};
|
|
9143
|
+
requestBody?: never;
|
|
9144
|
+
responses: {
|
|
9145
|
+
200: {
|
|
9146
|
+
headers: {
|
|
9147
|
+
[name: string]: unknown;
|
|
9148
|
+
};
|
|
9149
|
+
content: {
|
|
9150
|
+
"application/json": components["schemas"]["Canvases"];
|
|
9151
|
+
};
|
|
9152
|
+
};
|
|
9153
|
+
};
|
|
9154
|
+
};
|
|
9155
|
+
createCanvas: {
|
|
9156
|
+
parameters: {
|
|
9157
|
+
query?: never;
|
|
9158
|
+
header?: never;
|
|
9159
|
+
path?: never;
|
|
9160
|
+
cookie?: never;
|
|
9161
|
+
};
|
|
9162
|
+
requestBody: {
|
|
9163
|
+
content: {
|
|
9164
|
+
"application/json": components["schemas"]["createCanvas"];
|
|
9165
|
+
};
|
|
9166
|
+
};
|
|
9167
|
+
responses: {
|
|
9168
|
+
201: {
|
|
9169
|
+
headers: {
|
|
9170
|
+
[name: string]: unknown;
|
|
9171
|
+
};
|
|
9172
|
+
content: {
|
|
9173
|
+
"application/json": components["schemas"]["Canvas"];
|
|
9174
|
+
};
|
|
9175
|
+
};
|
|
9176
|
+
/** @description BadRequest */
|
|
9177
|
+
400: {
|
|
9178
|
+
headers: {
|
|
9179
|
+
[name: string]: unknown;
|
|
9180
|
+
};
|
|
9181
|
+
content: {
|
|
9182
|
+
"application/json": components["schemas"]["Errors"];
|
|
9183
|
+
};
|
|
9184
|
+
};
|
|
9185
|
+
};
|
|
9186
|
+
};
|
|
9187
|
+
getCanvas: {
|
|
9188
|
+
parameters: {
|
|
9189
|
+
query?: never;
|
|
9190
|
+
header?: never;
|
|
9191
|
+
path: {
|
|
9192
|
+
canvas_token: string;
|
|
9193
|
+
};
|
|
9194
|
+
cookie?: never;
|
|
9195
|
+
};
|
|
9196
|
+
requestBody?: never;
|
|
9197
|
+
responses: {
|
|
9198
|
+
200: {
|
|
9199
|
+
headers: {
|
|
9200
|
+
[name: string]: unknown;
|
|
9201
|
+
};
|
|
9202
|
+
content: {
|
|
9203
|
+
"application/json": components["schemas"]["Canvas"];
|
|
9204
|
+
};
|
|
9205
|
+
};
|
|
9206
|
+
/** @description NotFound */
|
|
9207
|
+
404: {
|
|
9208
|
+
headers: {
|
|
9209
|
+
[name: string]: unknown;
|
|
9210
|
+
};
|
|
9211
|
+
content: {
|
|
9212
|
+
"application/json": components["schemas"]["Errors"];
|
|
9213
|
+
};
|
|
9214
|
+
};
|
|
9215
|
+
};
|
|
9216
|
+
};
|
|
9217
|
+
updateCanvas: {
|
|
9218
|
+
parameters: {
|
|
9219
|
+
query?: never;
|
|
9220
|
+
header?: never;
|
|
9221
|
+
path: {
|
|
9222
|
+
canvas_token: string;
|
|
9223
|
+
};
|
|
9224
|
+
cookie?: never;
|
|
9225
|
+
};
|
|
9226
|
+
requestBody: {
|
|
9227
|
+
content: {
|
|
9228
|
+
"application/json": components["schemas"]["updateCanvas"];
|
|
9229
|
+
};
|
|
9230
|
+
};
|
|
9231
|
+
responses: {
|
|
9232
|
+
200: {
|
|
9233
|
+
headers: {
|
|
9234
|
+
[name: string]: unknown;
|
|
9235
|
+
};
|
|
9236
|
+
content: {
|
|
9237
|
+
"application/json": components["schemas"]["Canvas"];
|
|
9238
|
+
};
|
|
9239
|
+
};
|
|
9240
|
+
/** @description BadRequest */
|
|
9241
|
+
400: {
|
|
9242
|
+
headers: {
|
|
9243
|
+
[name: string]: unknown;
|
|
9244
|
+
};
|
|
9245
|
+
content: {
|
|
9246
|
+
"application/json": components["schemas"]["Errors"];
|
|
9247
|
+
};
|
|
9248
|
+
};
|
|
9249
|
+
/** @description NotFound */
|
|
9250
|
+
404: {
|
|
9251
|
+
headers: {
|
|
9252
|
+
[name: string]: unknown;
|
|
9253
|
+
};
|
|
9254
|
+
content: {
|
|
9255
|
+
"application/json": components["schemas"]["Errors"];
|
|
9256
|
+
};
|
|
9257
|
+
};
|
|
9258
|
+
};
|
|
9259
|
+
};
|
|
9260
|
+
deleteCanvas: {
|
|
9261
|
+
parameters: {
|
|
9262
|
+
query?: never;
|
|
9263
|
+
header?: never;
|
|
9264
|
+
path: {
|
|
9265
|
+
canvas_token: string;
|
|
9266
|
+
};
|
|
9267
|
+
cookie?: never;
|
|
9268
|
+
};
|
|
9269
|
+
requestBody?: never;
|
|
9270
|
+
responses: {
|
|
9271
|
+
204: {
|
|
9272
|
+
headers: {
|
|
9273
|
+
[name: string]: unknown;
|
|
9274
|
+
};
|
|
9275
|
+
content: {
|
|
9276
|
+
"application/json": components["schemas"]["Canvas"];
|
|
9277
|
+
};
|
|
9278
|
+
};
|
|
9279
|
+
/** @description NotFound */
|
|
9280
|
+
404: {
|
|
9281
|
+
headers: {
|
|
9282
|
+
[name: string]: unknown;
|
|
9283
|
+
};
|
|
9284
|
+
content: {
|
|
9285
|
+
"application/json": components["schemas"]["Errors"];
|
|
9286
|
+
};
|
|
9287
|
+
};
|
|
9288
|
+
};
|
|
9289
|
+
};
|
|
8711
9290
|
getCostAlertEvents: {
|
|
8712
9291
|
parameters: {
|
|
8713
9292
|
query?: {
|
|
@@ -9063,13 +9642,36 @@ interface operations {
|
|
|
9063
9642
|
};
|
|
9064
9643
|
};
|
|
9065
9644
|
};
|
|
9645
|
+
getCostProviders: {
|
|
9646
|
+
parameters: {
|
|
9647
|
+
query?: {
|
|
9648
|
+
/** @description The token of the Workspace to list CostProviders for. Required if the API token is associated with multiple Workspaces. */
|
|
9649
|
+
workspace_token?: string;
|
|
9650
|
+
};
|
|
9651
|
+
header?: never;
|
|
9652
|
+
path?: never;
|
|
9653
|
+
cookie?: never;
|
|
9654
|
+
};
|
|
9655
|
+
requestBody?: never;
|
|
9656
|
+
responses: {
|
|
9657
|
+
/** @description List of connected CostProviders. */
|
|
9658
|
+
200: {
|
|
9659
|
+
headers: {
|
|
9660
|
+
[name: string]: unknown;
|
|
9661
|
+
};
|
|
9662
|
+
content: {
|
|
9663
|
+
"application/json": components["schemas"]["CostProviders"];
|
|
9664
|
+
};
|
|
9665
|
+
};
|
|
9666
|
+
};
|
|
9667
|
+
};
|
|
9066
9668
|
getCostProviderAccounts: {
|
|
9067
9669
|
parameters: {
|
|
9068
9670
|
query?: {
|
|
9069
9671
|
/** @description The token of the Workspace to list CostProviderAccounts for. Required if the API token is associated with multiple Workspaces. */
|
|
9070
9672
|
workspace_token?: string;
|
|
9071
9673
|
/** @description Filter by provider type. */
|
|
9072
|
-
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel";
|
|
9674
|
+
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten";
|
|
9073
9675
|
/** @description Filter by provider account identifier. */
|
|
9074
9676
|
account_id?: string;
|
|
9075
9677
|
/** @description Filter by account name (exact match). */
|
|
@@ -9142,13 +9744,16 @@ interface operations {
|
|
|
9142
9744
|
* },
|
|
9143
9745
|
* "cost_reports": [
|
|
9144
9746
|
* {
|
|
9145
|
-
* "token": "
|
|
9747
|
+
* "token": "rprt_6f2c7d330c05636f",
|
|
9146
9748
|
* "title": "Untitled",
|
|
9147
9749
|
* "folder_token": null,
|
|
9148
9750
|
* "saved_filter_tokens": [
|
|
9149
|
-
* "
|
|
9751
|
+
* "svd_fltr_9f2aca5e894b432a"
|
|
9150
9752
|
* ],
|
|
9151
9753
|
* "business_metric_tokens_with_metadata": [],
|
|
9754
|
+
* "default_forecast": {
|
|
9755
|
+
* "kind": "baseline"
|
|
9756
|
+
* },
|
|
9152
9757
|
* "filter": null,
|
|
9153
9758
|
* "groupings": "service,provider",
|
|
9154
9759
|
* "settings": {
|
|
@@ -9159,10 +9764,11 @@ interface operations {
|
|
|
9159
9764
|
* "amortize": true,
|
|
9160
9765
|
* "unallocated": false,
|
|
9161
9766
|
* "aggregate_by": "cost",
|
|
9162
|
-
* "show_previous_period": true
|
|
9767
|
+
* "show_previous_period": true,
|
|
9768
|
+
* "complete_period": false
|
|
9163
9769
|
* },
|
|
9164
9770
|
* "created_at": "2024-07-03T00:00:00Z",
|
|
9165
|
-
* "workspace_token": "
|
|
9771
|
+
* "workspace_token": "wrkspc_3f4145fd51b19463",
|
|
9166
9772
|
* "previous_period_start_date": null,
|
|
9167
9773
|
* "previous_period_end_date": null,
|
|
9168
9774
|
* "start_date": "2024-07-01",
|
|
@@ -9205,15 +9811,15 @@ interface operations {
|
|
|
9205
9811
|
content: {
|
|
9206
9812
|
/**
|
|
9207
9813
|
* @example {
|
|
9208
|
-
* "token": "
|
|
9814
|
+
* "token": "rprt_299359872859a568",
|
|
9209
9815
|
* "title": "New Cost Report",
|
|
9210
|
-
* "folder_token": "
|
|
9816
|
+
* "folder_token": "fldr_736175272c30b820",
|
|
9211
9817
|
* "saved_filter_tokens": [
|
|
9212
|
-
* "
|
|
9818
|
+
* "svd_fltr_3cf17b5bd79e849c"
|
|
9213
9819
|
* ],
|
|
9214
9820
|
* "business_metric_tokens_with_metadata": [
|
|
9215
9821
|
* {
|
|
9216
|
-
* "business_metric_token": "
|
|
9822
|
+
* "business_metric_token": "bsnss_mtrc_b90d5fe5fbff292d",
|
|
9217
9823
|
* "unit_scale": "per_thousand",
|
|
9218
9824
|
* "label_filter": [
|
|
9219
9825
|
* "CBGB",
|
|
@@ -9223,6 +9829,9 @@ interface operations {
|
|
|
9223
9829
|
* ]
|
|
9224
9830
|
* }
|
|
9225
9831
|
* ],
|
|
9832
|
+
* "default_forecast": {
|
|
9833
|
+
* "kind": "baseline"
|
|
9834
|
+
* },
|
|
9226
9835
|
* "filter": "costs.provider = 'aws' AND costs.service = 'Amazon Simple Storage Service'",
|
|
9227
9836
|
* "groupings": "service,provider",
|
|
9228
9837
|
* "settings": {
|
|
@@ -9233,10 +9842,11 @@ interface operations {
|
|
|
9233
9842
|
* "amortize": true,
|
|
9234
9843
|
* "unallocated": false,
|
|
9235
9844
|
* "aggregate_by": "cost",
|
|
9236
|
-
* "show_previous_period": true
|
|
9845
|
+
* "show_previous_period": true,
|
|
9846
|
+
* "complete_period": false
|
|
9237
9847
|
* },
|
|
9238
9848
|
* "created_at": "2024-07-03T00:00:00Z",
|
|
9239
|
-
* "workspace_token": "
|
|
9849
|
+
* "workspace_token": "wrkspc_9e2675148d6275f8",
|
|
9240
9850
|
* "previous_period_start_date": null,
|
|
9241
9851
|
* "previous_period_end_date": null,
|
|
9242
9852
|
* "start_date": "2024-07-01",
|
|
@@ -9293,13 +9903,16 @@ interface operations {
|
|
|
9293
9903
|
content: {
|
|
9294
9904
|
/**
|
|
9295
9905
|
* @example {
|
|
9296
|
-
* "token": "
|
|
9906
|
+
* "token": "rprt_5db7a73cf4d09998",
|
|
9297
9907
|
* "title": "Untitled",
|
|
9298
9908
|
* "folder_token": null,
|
|
9299
9909
|
* "saved_filter_tokens": [
|
|
9300
|
-
* "
|
|
9910
|
+
* "svd_fltr_e1166df04e1709bf"
|
|
9301
9911
|
* ],
|
|
9302
9912
|
* "business_metric_tokens_with_metadata": [],
|
|
9913
|
+
* "default_forecast": {
|
|
9914
|
+
* "kind": "baseline"
|
|
9915
|
+
* },
|
|
9303
9916
|
* "filter": null,
|
|
9304
9917
|
* "groupings": "service,provider",
|
|
9305
9918
|
* "settings": {
|
|
@@ -9310,10 +9923,11 @@ interface operations {
|
|
|
9310
9923
|
* "amortize": true,
|
|
9311
9924
|
* "unallocated": false,
|
|
9312
9925
|
* "aggregate_by": "cost",
|
|
9313
|
-
* "show_previous_period": true
|
|
9926
|
+
* "show_previous_period": true,
|
|
9927
|
+
* "complete_period": false
|
|
9314
9928
|
* },
|
|
9315
9929
|
* "created_at": "2024-07-03T00:00:00Z",
|
|
9316
|
-
* "workspace_token": "
|
|
9930
|
+
* "workspace_token": "wrkspc_9c6847147c762f2a",
|
|
9317
9931
|
* "previous_period_start_date": null,
|
|
9318
9932
|
* "previous_period_end_date": null,
|
|
9319
9933
|
* "start_date": "2024-07-01",
|
|
@@ -9365,15 +9979,15 @@ interface operations {
|
|
|
9365
9979
|
content: {
|
|
9366
9980
|
/**
|
|
9367
9981
|
* @example {
|
|
9368
|
-
* "token": "
|
|
9982
|
+
* "token": "rprt_1e692ea6b3eddf6b",
|
|
9369
9983
|
* "title": "Updated Cost Report",
|
|
9370
|
-
* "folder_token": "
|
|
9984
|
+
* "folder_token": "fldr_86dec25791dca5ce",
|
|
9371
9985
|
* "saved_filter_tokens": [
|
|
9372
|
-
* "
|
|
9986
|
+
* "svd_fltr_1977fb9dc5e2b336"
|
|
9373
9987
|
* ],
|
|
9374
9988
|
* "business_metric_tokens_with_metadata": [
|
|
9375
9989
|
* {
|
|
9376
|
-
* "business_metric_token": "
|
|
9990
|
+
* "business_metric_token": "bsnss_mtrc_14dc9a1fb1ce67ce",
|
|
9377
9991
|
* "unit_scale": "per_thousand",
|
|
9378
9992
|
* "label_filter": [
|
|
9379
9993
|
* "CBGB",
|
|
@@ -9383,10 +9997,13 @@ interface operations {
|
|
|
9383
9997
|
* ]
|
|
9384
9998
|
* },
|
|
9385
9999
|
* {
|
|
9386
|
-
* "business_metric_token": "
|
|
10000
|
+
* "business_metric_token": "bsnss_mtrc_ab4227c15f99f995",
|
|
9387
10001
|
* "unit_scale": "per_million"
|
|
9388
10002
|
* }
|
|
9389
10003
|
* ],
|
|
10004
|
+
* "default_forecast": {
|
|
10005
|
+
* "kind": "baseline"
|
|
10006
|
+
* },
|
|
9390
10007
|
* "filter": "costs.provider = 'azure'",
|
|
9391
10008
|
* "groupings": "account_id,service",
|
|
9392
10009
|
* "settings": {
|
|
@@ -9397,10 +10014,11 @@ interface operations {
|
|
|
9397
10014
|
* "amortize": true,
|
|
9398
10015
|
* "unallocated": false,
|
|
9399
10016
|
* "aggregate_by": "cost",
|
|
9400
|
-
* "show_previous_period": true
|
|
10017
|
+
* "show_previous_period": true,
|
|
10018
|
+
* "complete_period": false
|
|
9401
10019
|
* },
|
|
9402
10020
|
* "created_at": "2024-07-03T00:00:00Z",
|
|
9403
|
-
* "workspace_token": "
|
|
10021
|
+
* "workspace_token": "wrkspc_a8fb0662fdca90e0",
|
|
9404
10022
|
* "previous_period_start_date": null,
|
|
9405
10023
|
* "previous_period_end_date": null,
|
|
9406
10024
|
* "start_date": "2024-07-01",
|
|
@@ -9477,7 +10095,7 @@ interface operations {
|
|
|
9477
10095
|
/** @description Last date you would like to filter forecasted costs from. ISO 8601 formatted. */
|
|
9478
10096
|
end_date?: string;
|
|
9479
10097
|
/** @description Limit the forecasted costs to a specific provider. 'all' is accepted to filter to overall forecast. */
|
|
9480
|
-
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "all";
|
|
10098
|
+
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten" | "all";
|
|
9481
10099
|
/** @description Limit the forecasted costs to a specific service. 'all' is accepted to filter to overall forecast. e.g. 'Amazon ElastiCache'. */
|
|
9482
10100
|
service?: string;
|
|
9483
10101
|
/** @description The page of results to return. */
|
|
@@ -9501,10 +10119,10 @@ interface operations {
|
|
|
9501
10119
|
/**
|
|
9502
10120
|
* @example {
|
|
9503
10121
|
* "links": {
|
|
9504
|
-
* "self": "https://api.vantage.sh/v2/cost_reports/
|
|
9505
|
-
* "first": "https://api.vantage.sh/v2/cost_reports/
|
|
10122
|
+
* "self": "https://api.vantage.sh/v2/cost_reports/rprt_106b4bfcc2a03f63/forecasted_costs",
|
|
10123
|
+
* "first": "https://api.vantage.sh/v2/cost_reports/rprt_106b4bfcc2a03f63/forecasted_costs?page=1",
|
|
9506
10124
|
* "next": null,
|
|
9507
|
-
* "last": "https://api.vantage.sh/v2/cost_reports/
|
|
10125
|
+
* "last": "https://api.vantage.sh/v2/cost_reports/rprt_106b4bfcc2a03f63/forecasted_costs?page=1",
|
|
9508
10126
|
* "prev": null
|
|
9509
10127
|
* },
|
|
9510
10128
|
* "forecasted_costs": [
|
|
@@ -9573,10 +10191,7 @@ interface operations {
|
|
|
9573
10191
|
};
|
|
9574
10192
|
createCostExport: {
|
|
9575
10193
|
parameters: {
|
|
9576
|
-
query?:
|
|
9577
|
-
/** @description Group the results by specific field(s). Defaults to provider, service, account_id. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region */
|
|
9578
|
-
groupings?: string[];
|
|
9579
|
-
};
|
|
10194
|
+
query?: never;
|
|
9580
10195
|
header?: never;
|
|
9581
10196
|
path?: never;
|
|
9582
10197
|
cookie?: never;
|
|
@@ -9645,7 +10260,7 @@ interface operations {
|
|
|
9645
10260
|
/** @description The page of results to return. */
|
|
9646
10261
|
page?: number;
|
|
9647
10262
|
/** @description The date bin of the costs. Defaults to the report's default or day. */
|
|
9648
|
-
date_bin?: "day" | "week" | "month" | "quarter";
|
|
10263
|
+
date_bin?: "day" | "week" | "month" | "quarter" | "hour";
|
|
9649
10264
|
/** @description Results will include credits. */
|
|
9650
10265
|
"settings[include_credits]"?: boolean;
|
|
9651
10266
|
/** @description Results will include refunds. */
|
|
@@ -9763,6 +10378,29 @@ interface operations {
|
|
|
9763
10378
|
};
|
|
9764
10379
|
};
|
|
9765
10380
|
};
|
|
10381
|
+
getCostServices: {
|
|
10382
|
+
parameters: {
|
|
10383
|
+
query?: {
|
|
10384
|
+
/** @description The token of the Workspace to list CostServices for. Required if the API token is associated with multiple Workspaces. */
|
|
10385
|
+
workspace_token?: string;
|
|
10386
|
+
};
|
|
10387
|
+
header?: never;
|
|
10388
|
+
path?: never;
|
|
10389
|
+
cookie?: never;
|
|
10390
|
+
};
|
|
10391
|
+
requestBody?: never;
|
|
10392
|
+
responses: {
|
|
10393
|
+
/** @description List of CostServices, used to query costs using VQL. */
|
|
10394
|
+
200: {
|
|
10395
|
+
headers: {
|
|
10396
|
+
[name: string]: unknown;
|
|
10397
|
+
};
|
|
10398
|
+
content: {
|
|
10399
|
+
"application/json": components["schemas"]["CostServices"];
|
|
10400
|
+
};
|
|
10401
|
+
};
|
|
10402
|
+
};
|
|
10403
|
+
};
|
|
9766
10404
|
getDashboards: {
|
|
9767
10405
|
parameters: {
|
|
9768
10406
|
query?: {
|
|
@@ -10565,6 +11203,8 @@ interface operations {
|
|
|
10565
11203
|
page?: number;
|
|
10566
11204
|
/** @description The amount of results to return. The maximum is 1000. */
|
|
10567
11205
|
limit?: number;
|
|
11206
|
+
/** @description Filter by folder type. */
|
|
11207
|
+
type?: "CostFolder" | "ProviderResourceFolder";
|
|
10568
11208
|
};
|
|
10569
11209
|
header?: never;
|
|
10570
11210
|
path?: never;
|
|
@@ -10780,7 +11420,7 @@ interface operations {
|
|
|
10780
11420
|
parameters: {
|
|
10781
11421
|
query?: {
|
|
10782
11422
|
/** @description Query by provider name to list all Integrations for a specific provider. */
|
|
10783
|
-
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel";
|
|
11423
|
+
provider?: "aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten";
|
|
10784
11424
|
/** @description Query by account identifier to list all Integrations that match a specific account. For Azure, this is the subscription ID. Must include provider when using this parameter. */
|
|
10785
11425
|
account_identifier?: string;
|
|
10786
11426
|
/** @description The page of results to return. */
|
|
@@ -11117,7 +11757,8 @@ interface operations {
|
|
|
11117
11757
|
header?: never;
|
|
11118
11758
|
path: {
|
|
11119
11759
|
integration_token: string;
|
|
11120
|
-
|
|
11760
|
+
/** @description Token of the UserCostsUpload to delete. */
|
|
11761
|
+
user_costs_upload_token: string;
|
|
11121
11762
|
};
|
|
11122
11763
|
cookie?: never;
|
|
11123
11764
|
};
|
|
@@ -11654,7 +12295,7 @@ interface operations {
|
|
|
11654
12295
|
createKubernetesEfficiencyReportExport: {
|
|
11655
12296
|
parameters: {
|
|
11656
12297
|
query?: {
|
|
11657
|
-
/** @description Group the results by specific field(s). Valid groupings: cluster_id, namespace, labeled, category, pod, label, label:<label_name>. */
|
|
12298
|
+
/** @description Group the results by specific field(s). Valid groupings: cluster_id, namespace, region, labeled, category, pod, label, label:<label_name>. */
|
|
11658
12299
|
groupings?: string[];
|
|
11659
12300
|
};
|
|
11660
12301
|
header?: never;
|
|
@@ -12226,94 +12867,6 @@ interface operations {
|
|
|
12226
12867
|
};
|
|
12227
12868
|
};
|
|
12228
12869
|
};
|
|
12229
|
-
getCostProviders: {
|
|
12230
|
-
parameters: {
|
|
12231
|
-
query?: {
|
|
12232
|
-
/** @description The token of the Workspace to list CostProviders for. Required if the API token is associated with multiple Workspaces. */
|
|
12233
|
-
workspace_token?: string;
|
|
12234
|
-
};
|
|
12235
|
-
header?: never;
|
|
12236
|
-
path?: never;
|
|
12237
|
-
cookie?: never;
|
|
12238
|
-
};
|
|
12239
|
-
requestBody?: never;
|
|
12240
|
-
responses: {
|
|
12241
|
-
/** @description List of connected CostProviders. */
|
|
12242
|
-
200: {
|
|
12243
|
-
headers: {
|
|
12244
|
-
[name: string]: unknown;
|
|
12245
|
-
};
|
|
12246
|
-
content: {
|
|
12247
|
-
"application/json": components["schemas"]["CostProviders"];
|
|
12248
|
-
};
|
|
12249
|
-
};
|
|
12250
|
-
};
|
|
12251
|
-
};
|
|
12252
|
-
getCostServices: {
|
|
12253
|
-
parameters: {
|
|
12254
|
-
query?: {
|
|
12255
|
-
/** @description The token of the Workspace to list CostServices for. Required if the API token is associated with multiple Workspaces. */
|
|
12256
|
-
workspace_token?: string;
|
|
12257
|
-
};
|
|
12258
|
-
header?: never;
|
|
12259
|
-
path?: never;
|
|
12260
|
-
cookie?: never;
|
|
12261
|
-
};
|
|
12262
|
-
requestBody?: never;
|
|
12263
|
-
responses: {
|
|
12264
|
-
/** @description List of CostServices, used to query costs using VQL. */
|
|
12265
|
-
200: {
|
|
12266
|
-
headers: {
|
|
12267
|
-
[name: string]: unknown;
|
|
12268
|
-
};
|
|
12269
|
-
content: {
|
|
12270
|
-
"application/json": components["schemas"]["CostServices"];
|
|
12271
|
-
};
|
|
12272
|
-
};
|
|
12273
|
-
};
|
|
12274
|
-
};
|
|
12275
|
-
createUserFeedback: {
|
|
12276
|
-
parameters: {
|
|
12277
|
-
query?: never;
|
|
12278
|
-
header?: never;
|
|
12279
|
-
path?: never;
|
|
12280
|
-
cookie?: never;
|
|
12281
|
-
};
|
|
12282
|
-
requestBody: {
|
|
12283
|
-
content: {
|
|
12284
|
-
"application/json": components["schemas"]["createUserFeedback"];
|
|
12285
|
-
};
|
|
12286
|
-
};
|
|
12287
|
-
responses: {
|
|
12288
|
-
/** @description Provide UserFeedback for our product and features. */
|
|
12289
|
-
201: {
|
|
12290
|
-
headers: {
|
|
12291
|
-
[name: string]: unknown;
|
|
12292
|
-
};
|
|
12293
|
-
content: {
|
|
12294
|
-
"application/json": components["schemas"]["UserFeedback"];
|
|
12295
|
-
};
|
|
12296
|
-
};
|
|
12297
|
-
/** @description BadRequest */
|
|
12298
|
-
400: {
|
|
12299
|
-
headers: {
|
|
12300
|
-
[name: string]: unknown;
|
|
12301
|
-
};
|
|
12302
|
-
content: {
|
|
12303
|
-
"application/json": components["schemas"]["Errors"];
|
|
12304
|
-
};
|
|
12305
|
-
};
|
|
12306
|
-
/** @description UnprocessableEntity */
|
|
12307
|
-
422: {
|
|
12308
|
-
headers: {
|
|
12309
|
-
[name: string]: unknown;
|
|
12310
|
-
};
|
|
12311
|
-
content: {
|
|
12312
|
-
"application/json": components["schemas"]["Errors"];
|
|
12313
|
-
};
|
|
12314
|
-
};
|
|
12315
|
-
};
|
|
12316
|
-
};
|
|
12317
12870
|
getNetworkFlowReports: {
|
|
12318
12871
|
parameters: {
|
|
12319
12872
|
query?: {
|
|
@@ -12561,6 +13114,24 @@ interface operations {
|
|
|
12561
13114
|
};
|
|
12562
13115
|
};
|
|
12563
13116
|
};
|
|
13117
|
+
ping: {
|
|
13118
|
+
parameters: {
|
|
13119
|
+
query?: never;
|
|
13120
|
+
header?: never;
|
|
13121
|
+
path?: never;
|
|
13122
|
+
cookie?: never;
|
|
13123
|
+
};
|
|
13124
|
+
requestBody?: never;
|
|
13125
|
+
responses: {
|
|
13126
|
+
/** @description This is a health check endpoint that can be used to determine Vantage API healthiness. It will return 200 if everything is running smoothly. */
|
|
13127
|
+
200: {
|
|
13128
|
+
headers: {
|
|
13129
|
+
[name: string]: unknown;
|
|
13130
|
+
};
|
|
13131
|
+
content?: never;
|
|
13132
|
+
};
|
|
13133
|
+
};
|
|
13134
|
+
};
|
|
12564
13135
|
getPrices: {
|
|
12565
13136
|
parameters: {
|
|
12566
13137
|
query?: {
|
|
@@ -12825,6 +13396,8 @@ interface operations {
|
|
|
12825
13396
|
end_date?: string;
|
|
12826
13397
|
/** @description Filter by status. */
|
|
12827
13398
|
status?: "active" | "archived";
|
|
13399
|
+
/** @description Filter by recommendations whose potential savings are greater than or equal to this amount, in the workspace's currency. Requires workspace_token. */
|
|
13400
|
+
min_savings?: number;
|
|
12828
13401
|
/** @description The page of results to return. */
|
|
12829
13402
|
page?: number;
|
|
12830
13403
|
/** @description The number of results to return. The maximum is 1000. */
|
|
@@ -12869,6 +13442,7 @@ interface operations {
|
|
|
12869
13442
|
* "provider": "aws",
|
|
12870
13443
|
* "provider_account_id": "123456789012",
|
|
12871
13444
|
* "description": "IP address is not attached to an instance.",
|
|
13445
|
+
* "documentation_url": "https://handbook.vantage.sh/aws/services/ec2-other-pricing/#stranded-resources",
|
|
12872
13446
|
* "potential_savings": "100.0",
|
|
12873
13447
|
* "service": "AWS IP",
|
|
12874
13448
|
* "created_at": "2026-01-28T16:53:32Z",
|
|
@@ -12909,6 +13483,7 @@ interface operations {
|
|
|
12909
13483
|
* "provider": "aws",
|
|
12910
13484
|
* "provider_account_id": "123456789012",
|
|
12911
13485
|
* "description": "IP address is not attached to an instance.",
|
|
13486
|
+
* "documentation_url": "https://handbook.vantage.sh/aws/services/ec2-other-pricing/#stranded-resources",
|
|
12912
13487
|
* "potential_savings": "100.0",
|
|
12913
13488
|
* "service": "AWS IP",
|
|
12914
13489
|
* "created_at": "2026-01-28T16:53:23Z",
|
|
@@ -12936,7 +13511,7 @@ interface operations {
|
|
|
12936
13511
|
query?: {
|
|
12937
13512
|
/** @description The page of results to return. */
|
|
12938
13513
|
page?: number;
|
|
12939
|
-
/** @description The number of results to return. The maximum is
|
|
13514
|
+
/** @description The number of results to return. Defaults to 25. The maximum is 500. */
|
|
12940
13515
|
limit?: number;
|
|
12941
13516
|
};
|
|
12942
13517
|
header?: never;
|
|
@@ -13015,7 +13590,7 @@ interface operations {
|
|
|
13015
13590
|
* ]
|
|
13016
13591
|
* }
|
|
13017
13592
|
*/
|
|
13018
|
-
"application/json": components["schemas"]["
|
|
13593
|
+
"application/json": components["schemas"]["RecommendationProviderResource"];
|
|
13019
13594
|
};
|
|
13020
13595
|
};
|
|
13021
13596
|
/** @description NotFound */
|
|
@@ -13050,6 +13625,8 @@ interface operations {
|
|
|
13050
13625
|
end_date?: string;
|
|
13051
13626
|
/** @description Filter by status. */
|
|
13052
13627
|
status?: "active" | "archived";
|
|
13628
|
+
/** @description Filter by recommendations whose potential savings are greater than or equal to this amount, in the workspace's currency. Requires workspace_token. */
|
|
13629
|
+
min_savings?: number;
|
|
13053
13630
|
/** @description The page of results to return. */
|
|
13054
13631
|
page?: number;
|
|
13055
13632
|
/** @description The number of results to return. The maximum is 1000. */
|
|
@@ -14681,7 +15258,7 @@ interface operations {
|
|
|
14681
15258
|
parameters: {
|
|
14682
15259
|
query?: {
|
|
14683
15260
|
/** @description An array of providers to scope Tags by. */
|
|
14684
|
-
providers?: ("aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel")[];
|
|
15261
|
+
providers?: ("aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten")[];
|
|
14685
15262
|
/** @description A search query to filter Tags by tag key. */
|
|
14686
15263
|
search_query?: string;
|
|
14687
15264
|
/** @description The direction in which you would like to sort the data by. Defaults to 'asc'. */
|
|
@@ -14704,23 +15281,32 @@ interface operations {
|
|
|
14704
15281
|
content: {
|
|
14705
15282
|
/**
|
|
14706
15283
|
* @example {
|
|
15284
|
+
* "links": {
|
|
15285
|
+
* "self": "https://api.vantage.sh/v2/tags",
|
|
15286
|
+
* "first": "https://api.vantage.sh/v2/tags?page=1",
|
|
15287
|
+
* "next": null,
|
|
15288
|
+
* "last": null,
|
|
15289
|
+
* "prev": null
|
|
15290
|
+
* },
|
|
14707
15291
|
* "tags": [
|
|
14708
15292
|
* {
|
|
14709
15293
|
* "tag_key": "app",
|
|
14710
15294
|
* "hidden": false,
|
|
15295
|
+
* "preferred": false,
|
|
14711
15296
|
* "providers": [
|
|
14712
15297
|
* "aws",
|
|
14713
15298
|
* "azure",
|
|
14714
|
-
* "custom_provider:
|
|
15299
|
+
* "custom_provider:accss_crdntl_ef89becbcf119a74"
|
|
14715
15300
|
* ]
|
|
14716
15301
|
* },
|
|
14717
15302
|
* {
|
|
14718
15303
|
* "tag_key": "environment",
|
|
14719
15304
|
* "hidden": false,
|
|
15305
|
+
* "preferred": false,
|
|
14720
15306
|
* "providers": [
|
|
14721
15307
|
* "aws",
|
|
14722
15308
|
* "azure",
|
|
14723
|
-
* "custom_provider:
|
|
15309
|
+
* "custom_provider:accss_crdntl_ef89becbcf119a74"
|
|
14724
15310
|
* ]
|
|
14725
15311
|
* }
|
|
14726
15312
|
* ]
|
|
@@ -14755,10 +15341,11 @@ interface operations {
|
|
|
14755
15341
|
* {
|
|
14756
15342
|
* "tag_key": "app",
|
|
14757
15343
|
* "hidden": true,
|
|
15344
|
+
* "preferred": false,
|
|
14758
15345
|
* "providers": [
|
|
14759
15346
|
* "aws",
|
|
14760
15347
|
* "azure",
|
|
14761
|
-
* "custom_provider:
|
|
15348
|
+
* "custom_provider:accss_crdntl_6d2b7b71244943a1"
|
|
14762
15349
|
* ]
|
|
14763
15350
|
* }
|
|
14764
15351
|
* ]
|
|
@@ -14809,7 +15396,7 @@ interface operations {
|
|
|
14809
15396
|
parameters: {
|
|
14810
15397
|
query?: {
|
|
14811
15398
|
/** @description An array of providers to scope TagValues by. */
|
|
14812
|
-
providers?: ("aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel")[];
|
|
15399
|
+
providers?: ("aws" | "azure" | "gcp" | "snowflake" | "databricks" | "mongo" | "datadog" | "fastly" | "new_relic" | "opencost" | "open_ai" | "oracle" | "confluent" | "planetscale" | "coralogix" | "kubernetes" | "custom_provider" | "github" | "linode" | "grafana" | "clickhouse" | "temporal" | "twilio" | "azure_csp" | "kubernetes_agent" | "anthropic" | "anyscale" | "cursor" | "elastic" | "vercel" | "redis_cloud" | "circle_ci" | "modal" | "eleven_labs" | "baseten")[];
|
|
14813
15400
|
/** @description The direction in which to sort the TagValues. Defaults to 'asc'. */
|
|
14814
15401
|
sort_direction?: "asc" | "desc";
|
|
14815
15402
|
/** @description A search query to filter TagValues by the value name. */
|
|
@@ -14836,11 +15423,11 @@ interface operations {
|
|
|
14836
15423
|
/**
|
|
14837
15424
|
* @example {
|
|
14838
15425
|
* "links": {
|
|
14839
|
-
* "
|
|
14840
|
-
* "
|
|
14841
|
-
* "
|
|
14842
|
-
* "
|
|
14843
|
-
* "
|
|
15426
|
+
* "self": "https://api.vantage.sh/v2/tags/environment/values?sort_column=tag_value&sort_direction=asc",
|
|
15427
|
+
* "first": "https://api.vantage.sh/v2/tags/environment/values?sort_column=tag_value&sort_direction=asc&page=1",
|
|
15428
|
+
* "next": null,
|
|
15429
|
+
* "last": null,
|
|
15430
|
+
* "prev": null
|
|
14844
15431
|
* },
|
|
14845
15432
|
* "tag_values": [
|
|
14846
15433
|
* {
|
|
@@ -14848,7 +15435,7 @@ interface operations {
|
|
|
14848
15435
|
* "providers": [
|
|
14849
15436
|
* "aws",
|
|
14850
15437
|
* "azure",
|
|
14851
|
-
* "custom_provider:
|
|
15438
|
+
* "custom_provider:accss_crdntl_b180279f14faa5b7"
|
|
14852
15439
|
* ]
|
|
14853
15440
|
* },
|
|
14854
15441
|
* {
|
|
@@ -14856,7 +15443,7 @@ interface operations {
|
|
|
14856
15443
|
* "providers": [
|
|
14857
15444
|
* "aws",
|
|
14858
15445
|
* "azure",
|
|
14859
|
-
* "custom_provider:
|
|
15446
|
+
* "custom_provider:accss_crdntl_b180279f14faa5b7"
|
|
14860
15447
|
* ]
|
|
14861
15448
|
* }
|
|
14862
15449
|
* ]
|
|
@@ -15409,7 +15996,7 @@ interface operations {
|
|
|
15409
15996
|
/** @description Last date you would like to filter unit costs to. Defaults to the report's default. ISO 8601 formatted. */
|
|
15410
15997
|
end_date?: string;
|
|
15411
15998
|
/** @description The date bin of the unit costs. Defaults to the report's default or day. */
|
|
15412
|
-
date_bin?: "day" | "week" | "month" | "quarter";
|
|
15999
|
+
date_bin?: "day" | "week" | "month" | "quarter" | "hour";
|
|
15413
16000
|
/** @description Whether to order unit costs by date in an ascending or descending manner. */
|
|
15414
16001
|
order?: "asc" | "desc";
|
|
15415
16002
|
/** @description The amount of results to return. The maximum is 1000. */
|
|
@@ -15513,6 +16100,48 @@ interface operations {
|
|
|
15513
16100
|
};
|
|
15514
16101
|
};
|
|
15515
16102
|
};
|
|
16103
|
+
createUserFeedback: {
|
|
16104
|
+
parameters: {
|
|
16105
|
+
query?: never;
|
|
16106
|
+
header?: never;
|
|
16107
|
+
path?: never;
|
|
16108
|
+
cookie?: never;
|
|
16109
|
+
};
|
|
16110
|
+
requestBody: {
|
|
16111
|
+
content: {
|
|
16112
|
+
"application/json": components["schemas"]["createUserFeedback"];
|
|
16113
|
+
};
|
|
16114
|
+
};
|
|
16115
|
+
responses: {
|
|
16116
|
+
/** @description Provide UserFeedback for our product and features. */
|
|
16117
|
+
201: {
|
|
16118
|
+
headers: {
|
|
16119
|
+
[name: string]: unknown;
|
|
16120
|
+
};
|
|
16121
|
+
content: {
|
|
16122
|
+
"application/json": components["schemas"]["UserFeedback"];
|
|
16123
|
+
};
|
|
16124
|
+
};
|
|
16125
|
+
/** @description BadRequest */
|
|
16126
|
+
400: {
|
|
16127
|
+
headers: {
|
|
16128
|
+
[name: string]: unknown;
|
|
16129
|
+
};
|
|
16130
|
+
content: {
|
|
16131
|
+
"application/json": components["schemas"]["Errors"];
|
|
16132
|
+
};
|
|
16133
|
+
};
|
|
16134
|
+
/** @description UnprocessableEntity */
|
|
16135
|
+
422: {
|
|
16136
|
+
headers: {
|
|
16137
|
+
[name: string]: unknown;
|
|
16138
|
+
};
|
|
16139
|
+
content: {
|
|
16140
|
+
"application/json": components["schemas"]["Errors"];
|
|
16141
|
+
};
|
|
16142
|
+
};
|
|
16143
|
+
};
|
|
16144
|
+
};
|
|
15516
16145
|
getUsers: {
|
|
15517
16146
|
parameters: {
|
|
15518
16147
|
query?: {
|
|
@@ -15678,18 +16307,28 @@ interface operations {
|
|
|
15678
16307
|
* "key": "Product Team",
|
|
15679
16308
|
* "overridable": false,
|
|
15680
16309
|
* "backfill_until": "2025-12-01",
|
|
16310
|
+
* "collapsed_tag_keys": [],
|
|
15681
16311
|
* "values": [
|
|
15682
16312
|
* {
|
|
15683
16313
|
* "filter": "(costs.provider = 'aws' AND costs.service = 'Amazon Elastic Compute Cloud' AND costs.account_id IN ('1234', '5678'))",
|
|
15684
|
-
* "name": "Growth"
|
|
16314
|
+
* "name": "Growth",
|
|
16315
|
+
* "label_transforms": [],
|
|
16316
|
+
* "percentages": [],
|
|
16317
|
+
* "date_ranges": []
|
|
15685
16318
|
* },
|
|
15686
16319
|
* {
|
|
15687
16320
|
* "filter": "(costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR (costs.provider = 'gcp' AND costs.service = 'Google Compute Engine')",
|
|
15688
|
-
* "name": "API"
|
|
16321
|
+
* "name": "API",
|
|
16322
|
+
* "label_transforms": [],
|
|
16323
|
+
* "percentages": [],
|
|
16324
|
+
* "date_ranges": []
|
|
15689
16325
|
* },
|
|
15690
16326
|
* {
|
|
15691
16327
|
* "filter": "(costs.provider = 'aws' AND costs.service = 'AmazonEC2')",
|
|
15692
|
-
* "business_metric_token": "bsnss_mtrc_60e1ffb95a9a00f0"
|
|
16328
|
+
* "business_metric_token": "bsnss_mtrc_60e1ffb95a9a00f0",
|
|
16329
|
+
* "label_transforms": [],
|
|
16330
|
+
* "percentages": [],
|
|
16331
|
+
* "date_ranges": []
|
|
15693
16332
|
* },
|
|
15694
16333
|
* {
|
|
15695
16334
|
* "filter": "(costs.provider = 'aws' AND costs.service != 'Amazon Elastic Compute Cloud')",
|
|
@@ -15698,10 +16337,14 @@ interface operations {
|
|
|
15698
16337
|
* "aggregation": {
|
|
15699
16338
|
* "tag": "aws:CreatedBy"
|
|
15700
16339
|
* }
|
|
15701
|
-
* }
|
|
16340
|
+
* },
|
|
16341
|
+
* "label_transforms": [],
|
|
16342
|
+
* "percentages": [],
|
|
16343
|
+
* "date_ranges": []
|
|
15702
16344
|
* },
|
|
15703
16345
|
* {
|
|
15704
16346
|
* "filter": "(costs.provider = 'azure' AND costs.service = 'Azure Compute')",
|
|
16347
|
+
* "label_transforms": [],
|
|
15705
16348
|
* "percentages": [
|
|
15706
16349
|
* {
|
|
15707
16350
|
* "value": "apples-a",
|
|
@@ -15711,7 +16354,8 @@ interface operations {
|
|
|
15711
16354
|
* "value": "apples-b",
|
|
15712
16355
|
* "pct": 50
|
|
15713
16356
|
* }
|
|
15714
|
-
* ]
|
|
16357
|
+
* ],
|
|
16358
|
+
* "date_ranges": []
|
|
15715
16359
|
* }
|
|
15716
16360
|
* ]
|
|
15717
16361
|
* }
|
|
@@ -15748,10 +16392,13 @@ interface operations {
|
|
|
15748
16392
|
* "key": "Expense Code",
|
|
15749
16393
|
* "overridable": false,
|
|
15750
16394
|
* "backfill_until": "2024-07-01",
|
|
16395
|
+
* "collapsed_tag_keys": [],
|
|
15751
16396
|
* "values": [
|
|
15752
16397
|
* {
|
|
15753
16398
|
* "filter": "costs.provider = 'aws' AND\ncosts.service = 'Amazon Elastic Compute Cloud' AND\ncosts.account_id IN ('1234', '5678')\n",
|
|
15754
16399
|
* "name": "EXPC-1234",
|
|
16400
|
+
* "label_transforms": [],
|
|
16401
|
+
* "percentages": [],
|
|
15755
16402
|
* "date_ranges": [
|
|
15756
16403
|
* {
|
|
15757
16404
|
* "start_date": "2024-01-01",
|
|
@@ -15761,7 +16408,10 @@ interface operations {
|
|
|
15761
16408
|
* },
|
|
15762
16409
|
* {
|
|
15763
16410
|
* "filter": "(\n (costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR\n (costs.provider = 'gcp' AND costs.service = 'Google Compute Engine')\n)\n",
|
|
15764
|
-
* "name": "EXPC-9876"
|
|
16411
|
+
* "name": "EXPC-9876",
|
|
16412
|
+
* "label_transforms": [],
|
|
16413
|
+
* "percentages": [],
|
|
16414
|
+
* "date_ranges": []
|
|
15765
16415
|
* }
|
|
15766
16416
|
* ]
|
|
15767
16417
|
* }
|
|
@@ -15830,10 +16480,13 @@ interface operations {
|
|
|
15830
16480
|
* "key": "Product Team",
|
|
15831
16481
|
* "overridable": false,
|
|
15832
16482
|
* "backfill_until": "2024-07-01",
|
|
16483
|
+
* "collapsed_tag_keys": [],
|
|
15833
16484
|
* "values": [
|
|
15834
16485
|
* {
|
|
15835
16486
|
* "filter": "(costs.provider = 'aws' AND costs.service = 'Amazon Elastic Compute Cloud') AND (costs.provider = 'aws' AND costs.account_id IN ('1234', '5678'))",
|
|
15836
16487
|
* "name": "Growth",
|
|
16488
|
+
* "label_transforms": [],
|
|
16489
|
+
* "percentages": [],
|
|
15837
16490
|
* "date_ranges": [
|
|
15838
16491
|
* {
|
|
15839
16492
|
* "start_date": "2024-01-01",
|
|
@@ -15843,7 +16496,10 @@ interface operations {
|
|
|
15843
16496
|
* },
|
|
15844
16497
|
* {
|
|
15845
16498
|
* "filter": "(costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR (costs.provider = 'gcp' AND costs.service = 'Google Compute Engine')",
|
|
15846
|
-
* "name": "API"
|
|
16499
|
+
* "name": "API",
|
|
16500
|
+
* "label_transforms": [],
|
|
16501
|
+
* "percentages": [],
|
|
16502
|
+
* "date_ranges": []
|
|
15847
16503
|
* }
|
|
15848
16504
|
* ]
|
|
15849
16505
|
* }
|
|
@@ -15889,10 +16545,13 @@ interface operations {
|
|
|
15889
16545
|
* "key": "team",
|
|
15890
16546
|
* "overridable": true,
|
|
15891
16547
|
* "backfill_until": "2024-07-01",
|
|
16548
|
+
* "collapsed_tag_keys": [],
|
|
15892
16549
|
* "values": [
|
|
15893
16550
|
* {
|
|
15894
16551
|
* "filter": "costs.provider = 'aws' AND costs.service = 'Amazon Elastic Compute Cloud' AND\ncosts.account_id IN ('1234', '5678')\n",
|
|
15895
16552
|
* "name": "marketing",
|
|
16553
|
+
* "label_transforms": [],
|
|
16554
|
+
* "percentages": [],
|
|
15896
16555
|
* "date_ranges": [
|
|
15897
16556
|
* {
|
|
15898
16557
|
* "start_date": "2024-01-01",
|
|
@@ -15902,7 +16561,10 @@ interface operations {
|
|
|
15902
16561
|
* },
|
|
15903
16562
|
* {
|
|
15904
16563
|
* "filter": "((costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR\n(costs.provider = 'gcp' AND costs.service = 'Google Compute Engine'))\n",
|
|
15905
|
-
* "name": "third-party integrations"
|
|
16564
|
+
* "name": "third-party integrations",
|
|
16565
|
+
* "label_transforms": [],
|
|
16566
|
+
* "percentages": [],
|
|
16567
|
+
* "date_ranges": []
|
|
15906
16568
|
* }
|
|
15907
16569
|
* ]
|
|
15908
16570
|
* }
|
|
@@ -16331,21 +16993,51 @@ interface operations {
|
|
|
16331
16993
|
};
|
|
16332
16994
|
};
|
|
16333
16995
|
};
|
|
16334
|
-
|
|
16996
|
+
deleteWorkspace: {
|
|
16335
16997
|
parameters: {
|
|
16336
16998
|
query?: never;
|
|
16337
16999
|
header?: never;
|
|
16338
|
-
path
|
|
17000
|
+
path: {
|
|
17001
|
+
workspace_token: string;
|
|
17002
|
+
};
|
|
16339
17003
|
cookie?: never;
|
|
16340
17004
|
};
|
|
16341
17005
|
requestBody?: never;
|
|
16342
17006
|
responses: {
|
|
16343
|
-
|
|
16344
|
-
200: {
|
|
17007
|
+
204: {
|
|
16345
17008
|
headers: {
|
|
16346
17009
|
[name: string]: unknown;
|
|
16347
17010
|
};
|
|
16348
|
-
content
|
|
17011
|
+
content: {
|
|
17012
|
+
"application/json": components["schemas"]["Workspace"];
|
|
17013
|
+
};
|
|
17014
|
+
};
|
|
17015
|
+
/** @description Forbidden */
|
|
17016
|
+
403: {
|
|
17017
|
+
headers: {
|
|
17018
|
+
[name: string]: unknown;
|
|
17019
|
+
};
|
|
17020
|
+
content: {
|
|
17021
|
+
"application/json": components["schemas"]["Errors"];
|
|
17022
|
+
};
|
|
17023
|
+
};
|
|
17024
|
+
/** @description NotFound */
|
|
17025
|
+
404: {
|
|
17026
|
+
headers: {
|
|
17027
|
+
[name: string]: unknown;
|
|
17028
|
+
};
|
|
17029
|
+
content: {
|
|
17030
|
+
"application/json": components["schemas"]["Errors"];
|
|
17031
|
+
};
|
|
17032
|
+
};
|
|
17033
|
+
/** @description UnprocessableEntity */
|
|
17034
|
+
422: {
|
|
17035
|
+
headers: {
|
|
17036
|
+
[name: string]: unknown;
|
|
17037
|
+
};
|
|
17038
|
+
content: {
|
|
17039
|
+
"application/json": components["schemas"]["Errors"];
|
|
17040
|
+
};
|
|
16349
17041
|
};
|
|
16350
17042
|
};
|
|
16351
17043
|
};
|
|
@@ -16625,22 +17317,62 @@ type GetBusinessMetricValuesRequest = RequestBodyForPathAndMethod<`/v2/business_
|
|
|
16625
17317
|
* Response type for Get business metric values
|
|
16626
17318
|
*/
|
|
16627
17319
|
type GetBusinessMetricValuesResponse = ResponseBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/values`, "GET">;
|
|
17320
|
+
/**
|
|
17321
|
+
* Deletes Business Metric values (historical or forecasted unit metrics).
|
|
17322
|
+
*/
|
|
17323
|
+
type DeleteBusinessMetricValuesRequest = RequestBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/values`, "DELETE">;
|
|
17324
|
+
/**
|
|
17325
|
+
* Response type for Delete business metric values
|
|
17326
|
+
*/
|
|
17327
|
+
type DeleteBusinessMetricValuesResponse = ResponseBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/values`, "DELETE">;
|
|
16628
17328
|
/**
|
|
16629
17329
|
* Return forecasted values of a BusinessMetric
|
|
16630
17330
|
*/
|
|
16631
|
-
type GetBusinessMetricForecastedValuesRequest = RequestBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/forecasted_values`, "GET">;
|
|
17331
|
+
type GetBusinessMetricForecastedValuesRequest = RequestBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/forecasted_values`, "GET">;
|
|
17332
|
+
/**
|
|
17333
|
+
* Response type for Get business metric forecasted values
|
|
17334
|
+
*/
|
|
17335
|
+
type GetBusinessMetricForecastedValuesResponse = ResponseBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/forecasted_values`, "GET">;
|
|
17336
|
+
/**
|
|
17337
|
+
* Updates the values for an existing BusinessMetric from a CSV file.
|
|
17338
|
+
*/
|
|
17339
|
+
type UpdateBusinessMetricValuesCSVRequest = RequestBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/values.csv`, "PUT">;
|
|
17340
|
+
/**
|
|
17341
|
+
* Response type for Update business metric values from CSV
|
|
17342
|
+
*/
|
|
17343
|
+
type UpdateBusinessMetricValuesCSVResponse = ResponseBodyForPathAndMethod<`/v2/business_metrics/${NoSlashString}/values.csv`, "PUT">;
|
|
17344
|
+
/**
|
|
17345
|
+
* Return all Canvases.
|
|
17346
|
+
*/
|
|
17347
|
+
type GetCanvasesRequest = RequestBodyForPathAndMethod<"/v2/canvases", "GET">;
|
|
17348
|
+
/**
|
|
17349
|
+
* Response type for Get all canvases
|
|
17350
|
+
*/
|
|
17351
|
+
type GetCanvasesResponse = ResponseBodyForPathAndMethod<"/v2/canvases", "GET">;
|
|
17352
|
+
/**
|
|
17353
|
+
* Create a Canvas.
|
|
17354
|
+
*/
|
|
17355
|
+
type CreateCanvasRequest = RequestBodyForPathAndMethod<"/v2/canvases", "POST">;
|
|
17356
|
+
/**
|
|
17357
|
+
* Response type for Create canvas
|
|
17358
|
+
*/
|
|
17359
|
+
type CreateCanvasResponse = ResponseBodyForPathAndMethod<"/v2/canvases", "POST">;
|
|
17360
|
+
/**
|
|
17361
|
+
* Response type for Get canvas by token
|
|
17362
|
+
*/
|
|
17363
|
+
type GetCanvasResponse = ResponseBodyForPathAndMethod<`/v2/canvases/${NoSlashString}`, "GET">;
|
|
16632
17364
|
/**
|
|
16633
|
-
*
|
|
17365
|
+
* Update a Canvas.
|
|
16634
17366
|
*/
|
|
16635
|
-
type
|
|
17367
|
+
type UpdateCanvasRequest = RequestBodyForPathAndMethod<`/v2/canvases/${NoSlashString}`, "PUT">;
|
|
16636
17368
|
/**
|
|
16637
|
-
*
|
|
17369
|
+
* Response type for Update canvas
|
|
16638
17370
|
*/
|
|
16639
|
-
type
|
|
17371
|
+
type UpdateCanvasResponse = ResponseBodyForPathAndMethod<`/v2/canvases/${NoSlashString}`, "PUT">;
|
|
16640
17372
|
/**
|
|
16641
|
-
* Response type for
|
|
17373
|
+
* Response type for Delete canvas
|
|
16642
17374
|
*/
|
|
16643
|
-
type
|
|
17375
|
+
type DeleteCanvasResponse = ResponseBodyForPathAndMethod<`/v2/canvases/${NoSlashString}`, "DELETE">;
|
|
16644
17376
|
/**
|
|
16645
17377
|
* Get all CostAlertEvents
|
|
16646
17378
|
*/
|
|
@@ -16681,6 +17413,14 @@ type UpdateCostAlertResponse = ResponseBodyForPathAndMethod<`/v2/cost_alerts/${N
|
|
|
16681
17413
|
* Response type for Delete cost alert
|
|
16682
17414
|
*/
|
|
16683
17415
|
type DeleteCostAlertResponse = ResponseBodyForPathAndMethod<`/v2/cost_alerts/${NoSlashString}`, "DELETE">;
|
|
17416
|
+
/**
|
|
17417
|
+
* List CostProviders available to query in a given Workspace.
|
|
17418
|
+
*/
|
|
17419
|
+
type GetCostProvidersRequest = RequestBodyForPathAndMethod<"/v2/cost_providers", "GET">;
|
|
17420
|
+
/**
|
|
17421
|
+
* Response type for Get cost providers
|
|
17422
|
+
*/
|
|
17423
|
+
type GetCostProvidersResponse = ResponseBodyForPathAndMethod<"/v2/cost_providers", "GET">;
|
|
16684
17424
|
/**
|
|
16685
17425
|
* List CostProviderAccounts available in a given Workspace.
|
|
16686
17426
|
*/
|
|
@@ -16745,6 +17485,14 @@ type GetCostsRequest = RequestBodyForPathAndMethod<"/v2/costs", "GET">;
|
|
|
16745
17485
|
* Response type for Get costs for cost report or VQL filter
|
|
16746
17486
|
*/
|
|
16747
17487
|
type GetCostsResponse = ResponseBodyForPathAndMethod<"/v2/costs", "GET">;
|
|
17488
|
+
/**
|
|
17489
|
+
* List CostServices available to query in a given Workspace.
|
|
17490
|
+
*/
|
|
17491
|
+
type GetCostServicesRequest = RequestBodyForPathAndMethod<"/v2/cost_services", "GET">;
|
|
17492
|
+
/**
|
|
17493
|
+
* Response type for Get cost services
|
|
17494
|
+
*/
|
|
17495
|
+
type GetCostServicesResponse = ResponseBodyForPathAndMethod<"/v2/cost_services", "GET">;
|
|
16748
17496
|
/**
|
|
16749
17497
|
* Return all Dashboards.
|
|
16750
17498
|
*/
|
|
@@ -17081,30 +17829,6 @@ type UpdateMeRequest = RequestBodyForPathAndMethod<"/v2/me", "PUT">;
|
|
|
17081
17829
|
* Response type for Update authenticated user
|
|
17082
17830
|
*/
|
|
17083
17831
|
type UpdateMeResponse = ResponseBodyForPathAndMethod<"/v2/me", "PUT">;
|
|
17084
|
-
/**
|
|
17085
|
-
* List CostProviders available to query in a given Workspace.
|
|
17086
|
-
*/
|
|
17087
|
-
type GetCostProvidersRequest = RequestBodyForPathAndMethod<"/v2/cost_providers", "GET">;
|
|
17088
|
-
/**
|
|
17089
|
-
* Response type for Get cost providers
|
|
17090
|
-
*/
|
|
17091
|
-
type GetCostProvidersResponse = ResponseBodyForPathAndMethod<"/v2/cost_providers", "GET">;
|
|
17092
|
-
/**
|
|
17093
|
-
* List CostServices available to query in a given Workspace.
|
|
17094
|
-
*/
|
|
17095
|
-
type GetCostServicesRequest = RequestBodyForPathAndMethod<"/v2/cost_services", "GET">;
|
|
17096
|
-
/**
|
|
17097
|
-
* Response type for Get cost services
|
|
17098
|
-
*/
|
|
17099
|
-
type GetCostServicesResponse = ResponseBodyForPathAndMethod<"/v2/cost_services", "GET">;
|
|
17100
|
-
/**
|
|
17101
|
-
* Provide UserFeedback for our product and features.
|
|
17102
|
-
*/
|
|
17103
|
-
type CreateUserFeedbackRequest = RequestBodyForPathAndMethod<"/v2/user_feedback", "POST">;
|
|
17104
|
-
/**
|
|
17105
|
-
* Response type for Submit user feedback
|
|
17106
|
-
*/
|
|
17107
|
-
type CreateUserFeedbackResponse = ResponseBodyForPathAndMethod<"/v2/user_feedback", "POST">;
|
|
17108
17832
|
/**
|
|
17109
17833
|
* Return all NetworkFlowReports.
|
|
17110
17834
|
*/
|
|
@@ -17137,6 +17861,7 @@ type UpdateNetworkFlowReportResponse = ResponseBodyForPathAndMethod<`/v2/network
|
|
|
17137
17861
|
* Response type for Delete network flow report
|
|
17138
17862
|
*/
|
|
17139
17863
|
type DeleteNetworkFlowReportResponse = ResponseBodyForPathAndMethod<`/v2/network_flow_reports/${NoSlashString}`, "DELETE">;
|
|
17864
|
+
type PingResponse = ResponseBodyForPathAndMethod<"/v2/ping", "GET">;
|
|
17140
17865
|
/**
|
|
17141
17866
|
* Return available Prices across all Regions for a Product.
|
|
17142
17867
|
*/
|
|
@@ -17469,6 +18194,14 @@ type GetUnitCostsRequest = RequestBodyForPathAndMethod<"/v2/unit_costs", "GET">;
|
|
|
17469
18194
|
* Response type for Get all unit costs for a cost report
|
|
17470
18195
|
*/
|
|
17471
18196
|
type GetUnitCostsResponse = ResponseBodyForPathAndMethod<"/v2/unit_costs", "GET">;
|
|
18197
|
+
/**
|
|
18198
|
+
* Provide UserFeedback for our product and features.
|
|
18199
|
+
*/
|
|
18200
|
+
type CreateUserFeedbackRequest = RequestBodyForPathAndMethod<"/v2/user_feedback", "POST">;
|
|
18201
|
+
/**
|
|
18202
|
+
* Response type for Submit user feedback
|
|
18203
|
+
*/
|
|
18204
|
+
type CreateUserFeedbackResponse = ResponseBodyForPathAndMethod<"/v2/user_feedback", "POST">;
|
|
17472
18205
|
/**
|
|
17473
18206
|
* Return all Users that the current API token has access to.
|
|
17474
18207
|
*/
|
|
@@ -17561,7 +18294,10 @@ type UpdateWorkspaceRequest = RequestBodyForPathAndMethod<`/v2/workspaces/${NoSl
|
|
|
17561
18294
|
* Response type for Update workspace
|
|
17562
18295
|
*/
|
|
17563
18296
|
type UpdateWorkspaceResponse = ResponseBodyForPathAndMethod<`/v2/workspaces/${NoSlashString}`, "PUT">;
|
|
17564
|
-
|
|
18297
|
+
/**
|
|
18298
|
+
* Response type for Delete workspace
|
|
18299
|
+
*/
|
|
18300
|
+
type DeleteWorkspaceResponse = ResponseBodyForPathAndMethod<`/v2/workspaces/${NoSlashString}`, "DELETE">;
|
|
17565
18301
|
/** Vantage API Client with typed methods */
|
|
17566
18302
|
declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient<NeverThrow> {
|
|
17567
18303
|
/**
|
|
@@ -17581,10 +18317,13 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17581
18317
|
private _budgetAlerts?;
|
|
17582
18318
|
private _budgets?;
|
|
17583
18319
|
private _businessMetrics?;
|
|
18320
|
+
private _canvases?;
|
|
17584
18321
|
private _costAlerts?;
|
|
18322
|
+
private _costProviders?;
|
|
17585
18323
|
private _costProviderAccounts?;
|
|
17586
18324
|
private _costReports?;
|
|
17587
18325
|
private _costs?;
|
|
18326
|
+
private _costServices?;
|
|
17588
18327
|
private _dashboards?;
|
|
17589
18328
|
private _dataExports?;
|
|
17590
18329
|
private _exchangeRates?;
|
|
@@ -17596,10 +18335,8 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17596
18335
|
private _kubernetesEfficiencyReports?;
|
|
17597
18336
|
private _managedAccounts?;
|
|
17598
18337
|
private _me?;
|
|
17599
|
-
private _costProviders?;
|
|
17600
|
-
private _costServices?;
|
|
17601
|
-
private _userFeedback?;
|
|
17602
18338
|
private _networkFlowReports?;
|
|
18339
|
+
private _ping?;
|
|
17603
18340
|
private _products?;
|
|
17604
18341
|
private _recommendations?;
|
|
17605
18342
|
private _recommendationViews?;
|
|
@@ -17611,10 +18348,10 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17611
18348
|
private _tags?;
|
|
17612
18349
|
private _teams?;
|
|
17613
18350
|
private _unitCosts?;
|
|
18351
|
+
private _userFeedback?;
|
|
17614
18352
|
private _users?;
|
|
17615
18353
|
private _virtualTagConfigs?;
|
|
17616
18354
|
private _workspaces?;
|
|
17617
|
-
private _ping?;
|
|
17618
18355
|
get accessGrants(): AccessGrantsApi<NeverThrow>;
|
|
17619
18356
|
get anomalyAlerts(): AnomalyAlertsApi<NeverThrow>;
|
|
17620
18357
|
get anomalyNotifications(): AnomalyNotificationsApi<NeverThrow>;
|
|
@@ -17624,10 +18361,13 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17624
18361
|
get budgetAlerts(): BudgetAlertsApi<NeverThrow>;
|
|
17625
18362
|
get budgets(): BudgetsApi<NeverThrow>;
|
|
17626
18363
|
get businessMetrics(): BusinessMetricsApi<NeverThrow>;
|
|
18364
|
+
get canvases(): CanvasesApi<NeverThrow>;
|
|
17627
18365
|
get costAlerts(): CostAlertsApi<NeverThrow>;
|
|
18366
|
+
get costProviders(): CostProvidersApi<NeverThrow>;
|
|
17628
18367
|
get costProviderAccounts(): CostProviderAccountsApi<NeverThrow>;
|
|
17629
18368
|
get costReports(): CostReportsApi<NeverThrow>;
|
|
17630
18369
|
get costs(): CostsApi<NeverThrow>;
|
|
18370
|
+
get costServices(): CostServicesApi<NeverThrow>;
|
|
17631
18371
|
get dashboards(): DashboardsApi<NeverThrow>;
|
|
17632
18372
|
get dataExports(): DataExportsApi<NeverThrow>;
|
|
17633
18373
|
get exchangeRates(): ExchangeRatesApi<NeverThrow>;
|
|
@@ -17639,10 +18379,8 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17639
18379
|
get kubernetesEfficiencyReports(): KubernetesEfficiencyReportsApi<NeverThrow>;
|
|
17640
18380
|
get managedAccounts(): ManagedAccountsApi<NeverThrow>;
|
|
17641
18381
|
get me(): MeApi<NeverThrow>;
|
|
17642
|
-
get costProviders(): CostProvidersApi<NeverThrow>;
|
|
17643
|
-
get costServices(): CostServicesApi<NeverThrow>;
|
|
17644
|
-
get userFeedback(): UserFeedbackApi<NeverThrow>;
|
|
17645
18382
|
get networkFlowReports(): NetworkFlowReportsApi<NeverThrow>;
|
|
18383
|
+
get ping(): PingApi<NeverThrow>;
|
|
17646
18384
|
get products(): ProductsApi<NeverThrow>;
|
|
17647
18385
|
get recommendations(): RecommendationsApi<NeverThrow>;
|
|
17648
18386
|
get recommendationViews(): RecommendationViewsApi<NeverThrow>;
|
|
@@ -17654,10 +18392,10 @@ declare class APIV2Client<NeverThrow extends boolean = false> extends BaseClient
|
|
|
17654
18392
|
get tags(): TagsApi<NeverThrow>;
|
|
17655
18393
|
get teams(): TeamsApi<NeverThrow>;
|
|
17656
18394
|
get unitCosts(): UnitCostsApi<NeverThrow>;
|
|
18395
|
+
get userFeedback(): UserFeedbackApi<NeverThrow>;
|
|
17657
18396
|
get users(): UsersApi<NeverThrow>;
|
|
17658
18397
|
get virtualTagConfigs(): VirtualTagConfigsApi<NeverThrow>;
|
|
17659
18398
|
get workspaces(): WorkspacesApi<NeverThrow>;
|
|
17660
|
-
get ping(): PingApi<NeverThrow>;
|
|
17661
18399
|
}
|
|
17662
18400
|
declare class AccessGrantsApi<NeverThrow extends boolean> {
|
|
17663
18401
|
private client;
|
|
@@ -18352,19 +19090,21 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18352
19090
|
title: string;
|
|
18353
19091
|
created_by_token?: string | null;
|
|
18354
19092
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18355
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
19093
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18356
19094
|
integration_token: string | null;
|
|
18357
19095
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18358
19096
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
19097
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18359
19098
|
}, null] : {
|
|
18360
19099
|
token: string;
|
|
18361
19100
|
title: string;
|
|
18362
19101
|
created_by_token?: string | null;
|
|
18363
19102
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18364
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
19103
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18365
19104
|
integration_token: string | null;
|
|
18366
19105
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18367
19106
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
19107
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18368
19108
|
}>;
|
|
18369
19109
|
/**
|
|
18370
19110
|
* Return a BusinessMetric.
|
|
@@ -18374,19 +19114,21 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18374
19114
|
title: string;
|
|
18375
19115
|
created_by_token?: string | null;
|
|
18376
19116
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18377
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
19117
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18378
19118
|
integration_token: string | null;
|
|
18379
19119
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18380
19120
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
19121
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18381
19122
|
}, null] : {
|
|
18382
19123
|
token: string;
|
|
18383
19124
|
title: string;
|
|
18384
19125
|
created_by_token?: string | null;
|
|
18385
19126
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18386
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
19127
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18387
19128
|
integration_token: string | null;
|
|
18388
19129
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18389
19130
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
19131
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18390
19132
|
}>;
|
|
18391
19133
|
/**
|
|
18392
19134
|
* Updates an existing BusinessMetric.
|
|
@@ -18396,19 +19138,21 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18396
19138
|
title: string;
|
|
18397
19139
|
created_by_token?: string | null;
|
|
18398
19140
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18399
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
19141
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18400
19142
|
integration_token: string | null;
|
|
18401
19143
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18402
19144
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
19145
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18403
19146
|
}, null] : {
|
|
18404
19147
|
token: string;
|
|
18405
19148
|
title: string;
|
|
18406
19149
|
created_by_token?: string | null;
|
|
18407
19150
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18408
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
19151
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18409
19152
|
integration_token: string | null;
|
|
18410
19153
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18411
19154
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
19155
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18412
19156
|
}>;
|
|
18413
19157
|
/**
|
|
18414
19158
|
* Deletes an existing BusinessMetric.
|
|
@@ -18422,6 +19166,14 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18422
19166
|
}, null] : {
|
|
18423
19167
|
values: components["schemas"]["BusinessMetricValue"][];
|
|
18424
19168
|
}>;
|
|
19169
|
+
/**
|
|
19170
|
+
* Deletes Business Metric values (historical or forecasted unit metrics).
|
|
19171
|
+
*/
|
|
19172
|
+
deleteValues(businessMetricToken: string, body?: DeleteBusinessMetricValuesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19173
|
+
deleted_count: number;
|
|
19174
|
+
}, null] : {
|
|
19175
|
+
deleted_count: number;
|
|
19176
|
+
}>;
|
|
18425
19177
|
/**
|
|
18426
19178
|
* Return forecasted values of a BusinessMetric
|
|
18427
19179
|
*/
|
|
@@ -18438,20 +19190,100 @@ declare class BusinessMetricsApi<NeverThrow extends boolean> {
|
|
|
18438
19190
|
title: string;
|
|
18439
19191
|
created_by_token?: string | null;
|
|
18440
19192
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18441
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
19193
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18442
19194
|
integration_token: string | null;
|
|
18443
19195
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18444
19196
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
19197
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
18445
19198
|
}, null] : {
|
|
18446
19199
|
token: string;
|
|
18447
19200
|
title: string;
|
|
18448
19201
|
created_by_token?: string | null;
|
|
18449
19202
|
cost_report_tokens_with_metadata: components["schemas"]["AttachedCostReportForBusinessMetric"][];
|
|
18450
|
-
import_type: "datadog_metrics" | "cloudwatch" | "csv" | null;
|
|
19203
|
+
import_type: "datadog_metrics" | "cloudwatch" | "snowflake_metrics" | "metronome_metrics" | "csv" | null;
|
|
18451
19204
|
integration_token: string | null;
|
|
18452
19205
|
cloudwatch_fields?: components["schemas"]["CloudwatchFields"];
|
|
18453
19206
|
datadog_metric_fields?: components["schemas"]["DatadogMetricFields"];
|
|
19207
|
+
snowflake_metric_fields?: components["schemas"]["SnowflakeMetricFields"];
|
|
19208
|
+
}>;
|
|
19209
|
+
}
|
|
19210
|
+
declare class CanvasesApi<NeverThrow extends boolean> {
|
|
19211
|
+
private client;
|
|
19212
|
+
constructor(client: BaseClient<NeverThrow>);
|
|
19213
|
+
/**
|
|
19214
|
+
* Return all Canvases.
|
|
19215
|
+
*/
|
|
19216
|
+
list(body?: GetCanvasesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19217
|
+
links?: components["schemas"]["Links"];
|
|
19218
|
+
canvases: components["schemas"]["Canvas"][];
|
|
19219
|
+
}, null] : {
|
|
19220
|
+
links?: components["schemas"]["Links"];
|
|
19221
|
+
canvases: components["schemas"]["Canvas"][];
|
|
19222
|
+
}>;
|
|
19223
|
+
/**
|
|
19224
|
+
* Create a Canvas.
|
|
19225
|
+
*/
|
|
19226
|
+
create(body: CreateCanvasRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19227
|
+
token: string;
|
|
19228
|
+
title: string;
|
|
19229
|
+
prompt: string;
|
|
19230
|
+
data?: components["schemas"]["CanvasData"];
|
|
19231
|
+
workspace_token: string;
|
|
19232
|
+
created_at: string;
|
|
19233
|
+
updated_at: string;
|
|
19234
|
+
}, null] : {
|
|
19235
|
+
token: string;
|
|
19236
|
+
title: string;
|
|
19237
|
+
prompt: string;
|
|
19238
|
+
data?: components["schemas"]["CanvasData"];
|
|
19239
|
+
workspace_token: string;
|
|
19240
|
+
created_at: string;
|
|
19241
|
+
updated_at: string;
|
|
19242
|
+
}>;
|
|
19243
|
+
/**
|
|
19244
|
+
* Return a specific Canvas.
|
|
19245
|
+
*/
|
|
19246
|
+
get(canvasToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19247
|
+
token: string;
|
|
19248
|
+
title: string;
|
|
19249
|
+
prompt: string;
|
|
19250
|
+
data?: components["schemas"]["CanvasData"];
|
|
19251
|
+
workspace_token: string;
|
|
19252
|
+
created_at: string;
|
|
19253
|
+
updated_at: string;
|
|
19254
|
+
}, null] : {
|
|
19255
|
+
token: string;
|
|
19256
|
+
title: string;
|
|
19257
|
+
prompt: string;
|
|
19258
|
+
data?: components["schemas"]["CanvasData"];
|
|
19259
|
+
workspace_token: string;
|
|
19260
|
+
created_at: string;
|
|
19261
|
+
updated_at: string;
|
|
19262
|
+
}>;
|
|
19263
|
+
/**
|
|
19264
|
+
* Update a Canvas.
|
|
19265
|
+
*/
|
|
19266
|
+
update(canvasToken: string, body: UpdateCanvasRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19267
|
+
token: string;
|
|
19268
|
+
title: string;
|
|
19269
|
+
prompt: string;
|
|
19270
|
+
data?: components["schemas"]["CanvasData"];
|
|
19271
|
+
workspace_token: string;
|
|
19272
|
+
created_at: string;
|
|
19273
|
+
updated_at: string;
|
|
19274
|
+
}, null] : {
|
|
19275
|
+
token: string;
|
|
19276
|
+
title: string;
|
|
19277
|
+
prompt: string;
|
|
19278
|
+
data?: components["schemas"]["CanvasData"];
|
|
19279
|
+
workspace_token: string;
|
|
19280
|
+
created_at: string;
|
|
19281
|
+
updated_at: string;
|
|
18454
19282
|
}>;
|
|
19283
|
+
/**
|
|
19284
|
+
* Delete a Canvas.
|
|
19285
|
+
*/
|
|
19286
|
+
delete(canvasToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
18455
19287
|
}
|
|
18456
19288
|
declare class CostAlertsApi<NeverThrow extends boolean> {
|
|
18457
19289
|
private client;
|
|
@@ -18579,6 +19411,20 @@ declare class CostAlertsApi<NeverThrow extends boolean> {
|
|
|
18579
19411
|
alert_token: string;
|
|
18580
19412
|
}>;
|
|
18581
19413
|
}
|
|
19414
|
+
declare class CostProvidersApi<NeverThrow extends boolean> {
|
|
19415
|
+
private client;
|
|
19416
|
+
constructor(client: BaseClient<NeverThrow>);
|
|
19417
|
+
/**
|
|
19418
|
+
* List CostProviders available to query in a given Workspace.
|
|
19419
|
+
*/
|
|
19420
|
+
list(body?: GetCostProvidersRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19421
|
+
links?: components["schemas"]["Links"];
|
|
19422
|
+
cost_providers: components["schemas"]["CostProvider"][];
|
|
19423
|
+
}, null] : {
|
|
19424
|
+
links?: components["schemas"]["Links"];
|
|
19425
|
+
cost_providers: components["schemas"]["CostProvider"][];
|
|
19426
|
+
}>;
|
|
19427
|
+
}
|
|
18582
19428
|
declare class CostProviderAccountsApi<NeverThrow extends boolean> {
|
|
18583
19429
|
private client;
|
|
18584
19430
|
constructor(client: BaseClient<NeverThrow>);
|
|
@@ -18615,6 +19461,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18615
19461
|
folder_token?: string | null;
|
|
18616
19462
|
saved_filter_tokens?: string[] | null;
|
|
18617
19463
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
19464
|
+
default_forecast: Record<string, any>;
|
|
18618
19465
|
filter: string | null;
|
|
18619
19466
|
groupings?: string | null;
|
|
18620
19467
|
settings?: {
|
|
@@ -18626,6 +19473,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18626
19473
|
unallocated?: boolean | null;
|
|
18627
19474
|
aggregate_by?: string | null;
|
|
18628
19475
|
show_previous_period?: boolean | null;
|
|
19476
|
+
complete_period?: boolean | null;
|
|
18629
19477
|
};
|
|
18630
19478
|
created_at: string;
|
|
18631
19479
|
workspace_token: string;
|
|
@@ -18643,6 +19491,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18643
19491
|
folder_token?: string | null;
|
|
18644
19492
|
saved_filter_tokens?: string[] | null;
|
|
18645
19493
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
19494
|
+
default_forecast: Record<string, any>;
|
|
18646
19495
|
filter: string | null;
|
|
18647
19496
|
groupings?: string | null;
|
|
18648
19497
|
settings?: {
|
|
@@ -18654,6 +19503,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18654
19503
|
unallocated?: boolean | null;
|
|
18655
19504
|
aggregate_by?: string | null;
|
|
18656
19505
|
show_previous_period?: boolean | null;
|
|
19506
|
+
complete_period?: boolean | null;
|
|
18657
19507
|
};
|
|
18658
19508
|
created_at: string;
|
|
18659
19509
|
workspace_token: string;
|
|
@@ -18675,6 +19525,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18675
19525
|
folder_token?: string | null;
|
|
18676
19526
|
saved_filter_tokens?: string[] | null;
|
|
18677
19527
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
19528
|
+
default_forecast: Record<string, any>;
|
|
18678
19529
|
filter: string | null;
|
|
18679
19530
|
groupings?: string | null;
|
|
18680
19531
|
settings?: {
|
|
@@ -18686,6 +19537,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18686
19537
|
unallocated?: boolean | null;
|
|
18687
19538
|
aggregate_by?: string | null;
|
|
18688
19539
|
show_previous_period?: boolean | null;
|
|
19540
|
+
complete_period?: boolean | null;
|
|
18689
19541
|
};
|
|
18690
19542
|
created_at: string;
|
|
18691
19543
|
workspace_token: string;
|
|
@@ -18703,6 +19555,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18703
19555
|
folder_token?: string | null;
|
|
18704
19556
|
saved_filter_tokens?: string[] | null;
|
|
18705
19557
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
19558
|
+
default_forecast: Record<string, any>;
|
|
18706
19559
|
filter: string | null;
|
|
18707
19560
|
groupings?: string | null;
|
|
18708
19561
|
settings?: {
|
|
@@ -18714,6 +19567,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18714
19567
|
unallocated?: boolean | null;
|
|
18715
19568
|
aggregate_by?: string | null;
|
|
18716
19569
|
show_previous_period?: boolean | null;
|
|
19570
|
+
complete_period?: boolean | null;
|
|
18717
19571
|
};
|
|
18718
19572
|
created_at: string;
|
|
18719
19573
|
workspace_token: string;
|
|
@@ -18735,6 +19589,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18735
19589
|
folder_token?: string | null;
|
|
18736
19590
|
saved_filter_tokens?: string[] | null;
|
|
18737
19591
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
19592
|
+
default_forecast: Record<string, any>;
|
|
18738
19593
|
filter: string | null;
|
|
18739
19594
|
groupings?: string | null;
|
|
18740
19595
|
settings?: {
|
|
@@ -18746,6 +19601,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18746
19601
|
unallocated?: boolean | null;
|
|
18747
19602
|
aggregate_by?: string | null;
|
|
18748
19603
|
show_previous_period?: boolean | null;
|
|
19604
|
+
complete_period?: boolean | null;
|
|
18749
19605
|
};
|
|
18750
19606
|
created_at: string;
|
|
18751
19607
|
workspace_token: string;
|
|
@@ -18763,6 +19619,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18763
19619
|
folder_token?: string | null;
|
|
18764
19620
|
saved_filter_tokens?: string[] | null;
|
|
18765
19621
|
business_metric_tokens_with_metadata: components["schemas"]["AttachedBusinessMetricForCostReport"][];
|
|
19622
|
+
default_forecast: Record<string, any>;
|
|
18766
19623
|
filter: string | null;
|
|
18767
19624
|
groupings?: string | null;
|
|
18768
19625
|
settings?: {
|
|
@@ -18774,6 +19631,7 @@ declare class CostReportsApi<NeverThrow extends boolean> {
|
|
|
18774
19631
|
unallocated?: boolean | null;
|
|
18775
19632
|
aggregate_by?: string | null;
|
|
18776
19633
|
show_previous_period?: boolean | null;
|
|
19634
|
+
complete_period?: boolean | null;
|
|
18777
19635
|
};
|
|
18778
19636
|
created_at: string;
|
|
18779
19637
|
workspace_token: string;
|
|
@@ -18833,6 +19691,20 @@ declare class CostsApi<NeverThrow extends boolean> {
|
|
|
18833
19691
|
*/
|
|
18834
19692
|
createExport(body: CreateCostExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [string, null] : string>;
|
|
18835
19693
|
}
|
|
19694
|
+
declare class CostServicesApi<NeverThrow extends boolean> {
|
|
19695
|
+
private client;
|
|
19696
|
+
constructor(client: BaseClient<NeverThrow>);
|
|
19697
|
+
/**
|
|
19698
|
+
* List CostServices available to query in a given Workspace.
|
|
19699
|
+
*/
|
|
19700
|
+
list(body?: GetCostServicesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19701
|
+
links?: components["schemas"]["Links"];
|
|
19702
|
+
cost_services: components["schemas"]["CostService"][];
|
|
19703
|
+
}, null] : {
|
|
19704
|
+
links?: components["schemas"]["Links"];
|
|
19705
|
+
cost_services: components["schemas"]["CostService"][];
|
|
19706
|
+
}>;
|
|
19707
|
+
}
|
|
18836
19708
|
declare class DashboardsApi<NeverThrow extends boolean> {
|
|
18837
19709
|
private client;
|
|
18838
19710
|
constructor(client: BaseClient<NeverThrow>);
|
|
@@ -19122,6 +19994,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19122
19994
|
create(body: CreateFolderRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19123
19995
|
token: string;
|
|
19124
19996
|
title: string | null;
|
|
19997
|
+
type: string;
|
|
19125
19998
|
parent_folder_token?: string | null;
|
|
19126
19999
|
saved_filter_tokens: string[];
|
|
19127
20000
|
created_at: string;
|
|
@@ -19130,6 +20003,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19130
20003
|
}, null] : {
|
|
19131
20004
|
token: string;
|
|
19132
20005
|
title: string | null;
|
|
20006
|
+
type: string;
|
|
19133
20007
|
parent_folder_token?: string | null;
|
|
19134
20008
|
saved_filter_tokens: string[];
|
|
19135
20009
|
created_at: string;
|
|
@@ -19142,6 +20016,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19142
20016
|
get(folderToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19143
20017
|
token: string;
|
|
19144
20018
|
title: string | null;
|
|
20019
|
+
type: string;
|
|
19145
20020
|
parent_folder_token?: string | null;
|
|
19146
20021
|
saved_filter_tokens: string[];
|
|
19147
20022
|
created_at: string;
|
|
@@ -19150,6 +20025,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19150
20025
|
}, null] : {
|
|
19151
20026
|
token: string;
|
|
19152
20027
|
title: string | null;
|
|
20028
|
+
type: string;
|
|
19153
20029
|
parent_folder_token?: string | null;
|
|
19154
20030
|
saved_filter_tokens: string[];
|
|
19155
20031
|
created_at: string;
|
|
@@ -19162,6 +20038,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19162
20038
|
update(folderToken: string, body: UpdateFolderRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19163
20039
|
token: string;
|
|
19164
20040
|
title: string | null;
|
|
20041
|
+
type: string;
|
|
19165
20042
|
parent_folder_token?: string | null;
|
|
19166
20043
|
saved_filter_tokens: string[];
|
|
19167
20044
|
created_at: string;
|
|
@@ -19170,6 +20047,7 @@ declare class FoldersApi<NeverThrow extends boolean> {
|
|
|
19170
20047
|
}, null] : {
|
|
19171
20048
|
token: string;
|
|
19172
20049
|
title: string | null;
|
|
20050
|
+
type: string;
|
|
19173
20051
|
parent_folder_token?: string | null;
|
|
19174
20052
|
saved_filter_tokens: string[];
|
|
19175
20053
|
created_at: string;
|
|
@@ -19783,52 +20661,6 @@ declare class MeApi<NeverThrow extends boolean> {
|
|
|
19783
20661
|
bearer_token: components["schemas"]["BearerToken"];
|
|
19784
20662
|
}>;
|
|
19785
20663
|
}
|
|
19786
|
-
declare class CostProvidersApi<NeverThrow extends boolean> {
|
|
19787
|
-
private client;
|
|
19788
|
-
constructor(client: BaseClient<NeverThrow>);
|
|
19789
|
-
/**
|
|
19790
|
-
* List CostProviders available to query in a given Workspace.
|
|
19791
|
-
*/
|
|
19792
|
-
list(body?: GetCostProvidersRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19793
|
-
links?: components["schemas"]["Links"];
|
|
19794
|
-
cost_providers: components["schemas"]["CostProvider"][];
|
|
19795
|
-
}, null] : {
|
|
19796
|
-
links?: components["schemas"]["Links"];
|
|
19797
|
-
cost_providers: components["schemas"]["CostProvider"][];
|
|
19798
|
-
}>;
|
|
19799
|
-
}
|
|
19800
|
-
declare class CostServicesApi<NeverThrow extends boolean> {
|
|
19801
|
-
private client;
|
|
19802
|
-
constructor(client: BaseClient<NeverThrow>);
|
|
19803
|
-
/**
|
|
19804
|
-
* List CostServices available to query in a given Workspace.
|
|
19805
|
-
*/
|
|
19806
|
-
list(body?: GetCostServicesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19807
|
-
links?: components["schemas"]["Links"];
|
|
19808
|
-
cost_services: components["schemas"]["CostService"][];
|
|
19809
|
-
}, null] : {
|
|
19810
|
-
links?: components["schemas"]["Links"];
|
|
19811
|
-
cost_services: components["schemas"]["CostService"][];
|
|
19812
|
-
}>;
|
|
19813
|
-
}
|
|
19814
|
-
declare class UserFeedbackApi<NeverThrow extends boolean> {
|
|
19815
|
-
private client;
|
|
19816
|
-
constructor(client: BaseClient<NeverThrow>);
|
|
19817
|
-
/**
|
|
19818
|
-
* Provide UserFeedback for our product and features.
|
|
19819
|
-
*/
|
|
19820
|
-
create(body: CreateUserFeedbackRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
19821
|
-
token: string;
|
|
19822
|
-
message: string;
|
|
19823
|
-
created_by_token?: string | null;
|
|
19824
|
-
created_at: string;
|
|
19825
|
-
}, null] : {
|
|
19826
|
-
token: string;
|
|
19827
|
-
message: string;
|
|
19828
|
-
created_by_token?: string | null;
|
|
19829
|
-
created_at: string;
|
|
19830
|
-
}>;
|
|
19831
|
-
}
|
|
19832
20664
|
declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
19833
20665
|
private client;
|
|
19834
20666
|
constructor(client: BaseClient<NeverThrow>);
|
|
@@ -19943,6 +20775,14 @@ declare class NetworkFlowReportsApi<NeverThrow extends boolean> {
|
|
|
19943
20775
|
*/
|
|
19944
20776
|
delete(networkFlowReportToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
19945
20777
|
}
|
|
20778
|
+
declare class PingApi<NeverThrow extends boolean> {
|
|
20779
|
+
private client;
|
|
20780
|
+
constructor(client: BaseClient<NeverThrow>);
|
|
20781
|
+
/**
|
|
20782
|
+
* This is a health check endpoint that can be used to determine Vantage API healthiness. It will return 200 if everything is running smoothly.
|
|
20783
|
+
*/
|
|
20784
|
+
get(): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
20785
|
+
}
|
|
19946
20786
|
declare class ProductsApi<NeverThrow extends boolean> {
|
|
19947
20787
|
private client;
|
|
19948
20788
|
constructor(client: BaseClient<NeverThrow>);
|
|
@@ -20031,6 +20871,7 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
20031
20871
|
provider: string;
|
|
20032
20872
|
provider_account_id: string | null;
|
|
20033
20873
|
description: string;
|
|
20874
|
+
documentation_url: string | null;
|
|
20034
20875
|
potential_savings: string | null;
|
|
20035
20876
|
service: string;
|
|
20036
20877
|
created_at: string;
|
|
@@ -20045,6 +20886,7 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
20045
20886
|
provider: string;
|
|
20046
20887
|
provider_account_id: string | null;
|
|
20047
20888
|
description: string;
|
|
20889
|
+
documentation_url: string | null;
|
|
20048
20890
|
potential_savings: string | null;
|
|
20049
20891
|
service: string;
|
|
20050
20892
|
created_at: string;
|
|
@@ -20057,20 +20899,42 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
20057
20899
|
*/
|
|
20058
20900
|
getResources(recommendationToken: string, body?: GetRecommendationResourcesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
20059
20901
|
links?: components["schemas"]["Links"];
|
|
20060
|
-
resources: components["schemas"]["
|
|
20902
|
+
resources: components["schemas"]["RecommendationProviderResource"][];
|
|
20061
20903
|
}, null] : {
|
|
20062
20904
|
links?: components["schemas"]["Links"];
|
|
20063
|
-
resources: components["schemas"]["
|
|
20905
|
+
resources: components["schemas"]["RecommendationProviderResource"][];
|
|
20064
20906
|
}>;
|
|
20065
20907
|
/**
|
|
20066
20908
|
* Return an Active Resource, including Recommendation Actions, referenced in this Recommendation.
|
|
20067
20909
|
*/
|
|
20068
20910
|
getResource(recommendationToken: string, resourceToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
20069
20911
|
token: string;
|
|
20912
|
+
uuid: string;
|
|
20913
|
+
type: string;
|
|
20914
|
+
label: string | null;
|
|
20915
|
+
metadata: Record<string, any> | null;
|
|
20916
|
+
account_id: string | null;
|
|
20917
|
+
billing_account_id: string | null;
|
|
20918
|
+
provider: string;
|
|
20919
|
+
region: string | null;
|
|
20920
|
+
costs?: components["schemas"]["ResourceCost"][];
|
|
20921
|
+
created_at: string;
|
|
20922
|
+
tags: Record<string, any>;
|
|
20070
20923
|
resource_id: string;
|
|
20071
20924
|
recommendation_actions?: components["schemas"]["RecommendationAction"][];
|
|
20072
20925
|
}, null] : {
|
|
20073
20926
|
token: string;
|
|
20927
|
+
uuid: string;
|
|
20928
|
+
type: string;
|
|
20929
|
+
label: string | null;
|
|
20930
|
+
metadata: Record<string, any> | null;
|
|
20931
|
+
account_id: string | null;
|
|
20932
|
+
billing_account_id: string | null;
|
|
20933
|
+
provider: string;
|
|
20934
|
+
region: string | null;
|
|
20935
|
+
costs?: components["schemas"]["ResourceCost"][];
|
|
20936
|
+
created_at: string;
|
|
20937
|
+
tags: Record<string, any>;
|
|
20074
20938
|
resource_id: string;
|
|
20075
20939
|
recommendation_actions?: components["schemas"]["RecommendationAction"][];
|
|
20076
20940
|
}>;
|
|
@@ -20079,10 +20943,10 @@ declare class RecommendationsApi<NeverThrow extends boolean> {
|
|
|
20079
20943
|
*/
|
|
20080
20944
|
getTypeResources(type: string, body?: GetRecommendationTypeResourcesRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
20081
20945
|
links?: components["schemas"]["Links"];
|
|
20082
|
-
resources: components["schemas"]["
|
|
20946
|
+
resources: components["schemas"]["RecommendationProviderResource"][];
|
|
20083
20947
|
}, null] : {
|
|
20084
20948
|
links?: components["schemas"]["Links"];
|
|
20085
|
-
resources: components["schemas"]["
|
|
20949
|
+
resources: components["schemas"]["RecommendationProviderResource"][];
|
|
20086
20950
|
}>;
|
|
20087
20951
|
}
|
|
20088
20952
|
declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
@@ -20111,8 +20975,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20111
20975
|
billing_account_ids?: string[] | null;
|
|
20112
20976
|
account_ids?: string[] | null;
|
|
20113
20977
|
regions?: string[] | null;
|
|
20978
|
+
types?: string[] | null;
|
|
20114
20979
|
tag_key?: string | null;
|
|
20115
20980
|
tag_value?: string | null;
|
|
20981
|
+
min_savings?: number | null;
|
|
20116
20982
|
created_at?: string | null;
|
|
20117
20983
|
created_by?: string | null;
|
|
20118
20984
|
}, null] : {
|
|
@@ -20125,8 +20991,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20125
20991
|
billing_account_ids?: string[] | null;
|
|
20126
20992
|
account_ids?: string[] | null;
|
|
20127
20993
|
regions?: string[] | null;
|
|
20994
|
+
types?: string[] | null;
|
|
20128
20995
|
tag_key?: string | null;
|
|
20129
20996
|
tag_value?: string | null;
|
|
20997
|
+
min_savings?: number | null;
|
|
20130
20998
|
created_at?: string | null;
|
|
20131
20999
|
created_by?: string | null;
|
|
20132
21000
|
}>;
|
|
@@ -20143,8 +21011,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20143
21011
|
billing_account_ids?: string[] | null;
|
|
20144
21012
|
account_ids?: string[] | null;
|
|
20145
21013
|
regions?: string[] | null;
|
|
21014
|
+
types?: string[] | null;
|
|
20146
21015
|
tag_key?: string | null;
|
|
20147
21016
|
tag_value?: string | null;
|
|
21017
|
+
min_savings?: number | null;
|
|
20148
21018
|
created_at?: string | null;
|
|
20149
21019
|
created_by?: string | null;
|
|
20150
21020
|
}, null] : {
|
|
@@ -20157,8 +21027,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20157
21027
|
billing_account_ids?: string[] | null;
|
|
20158
21028
|
account_ids?: string[] | null;
|
|
20159
21029
|
regions?: string[] | null;
|
|
21030
|
+
types?: string[] | null;
|
|
20160
21031
|
tag_key?: string | null;
|
|
20161
21032
|
tag_value?: string | null;
|
|
21033
|
+
min_savings?: number | null;
|
|
20162
21034
|
created_at?: string | null;
|
|
20163
21035
|
created_by?: string | null;
|
|
20164
21036
|
}>;
|
|
@@ -20175,8 +21047,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20175
21047
|
billing_account_ids?: string[] | null;
|
|
20176
21048
|
account_ids?: string[] | null;
|
|
20177
21049
|
regions?: string[] | null;
|
|
21050
|
+
types?: string[] | null;
|
|
20178
21051
|
tag_key?: string | null;
|
|
20179
21052
|
tag_value?: string | null;
|
|
21053
|
+
min_savings?: number | null;
|
|
20180
21054
|
created_at?: string | null;
|
|
20181
21055
|
created_by?: string | null;
|
|
20182
21056
|
}, null] : {
|
|
@@ -20189,8 +21063,10 @@ declare class RecommendationViewsApi<NeverThrow extends boolean> {
|
|
|
20189
21063
|
billing_account_ids?: string[] | null;
|
|
20190
21064
|
account_ids?: string[] | null;
|
|
20191
21065
|
regions?: string[] | null;
|
|
21066
|
+
types?: string[] | null;
|
|
20192
21067
|
tag_key?: string | null;
|
|
20193
21068
|
tag_value?: string | null;
|
|
21069
|
+
min_savings?: number | null;
|
|
20194
21070
|
created_at?: string | null;
|
|
20195
21071
|
created_by?: string | null;
|
|
20196
21072
|
}>;
|
|
@@ -20301,6 +21177,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20301
21177
|
workspace_token: string;
|
|
20302
21178
|
user_token: string | null;
|
|
20303
21179
|
created_by_token: string | null;
|
|
21180
|
+
folder_token?: string | null;
|
|
20304
21181
|
columns: string[];
|
|
20305
21182
|
}, null] : {
|
|
20306
21183
|
token: string;
|
|
@@ -20310,6 +21187,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20310
21187
|
workspace_token: string;
|
|
20311
21188
|
user_token: string | null;
|
|
20312
21189
|
created_by_token: string | null;
|
|
21190
|
+
folder_token?: string | null;
|
|
20313
21191
|
columns: string[];
|
|
20314
21192
|
}>;
|
|
20315
21193
|
/**
|
|
@@ -20323,6 +21201,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20323
21201
|
workspace_token: string;
|
|
20324
21202
|
user_token: string | null;
|
|
20325
21203
|
created_by_token: string | null;
|
|
21204
|
+
folder_token?: string | null;
|
|
20326
21205
|
columns: string[];
|
|
20327
21206
|
}, null] : {
|
|
20328
21207
|
token: string;
|
|
@@ -20332,6 +21211,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20332
21211
|
workspace_token: string;
|
|
20333
21212
|
user_token: string | null;
|
|
20334
21213
|
created_by_token: string | null;
|
|
21214
|
+
folder_token?: string | null;
|
|
20335
21215
|
columns: string[];
|
|
20336
21216
|
}>;
|
|
20337
21217
|
/**
|
|
@@ -20345,6 +21225,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20345
21225
|
workspace_token: string;
|
|
20346
21226
|
user_token: string | null;
|
|
20347
21227
|
created_by_token: string | null;
|
|
21228
|
+
folder_token?: string | null;
|
|
20348
21229
|
columns: string[];
|
|
20349
21230
|
}, null] : {
|
|
20350
21231
|
token: string;
|
|
@@ -20354,6 +21235,7 @@ declare class ResourceReportsApi<NeverThrow extends boolean> {
|
|
|
20354
21235
|
workspace_token: string;
|
|
20355
21236
|
user_token: string | null;
|
|
20356
21237
|
created_by_token: string | null;
|
|
21238
|
+
folder_token?: string | null;
|
|
20357
21239
|
columns: string[];
|
|
20358
21240
|
}>;
|
|
20359
21241
|
/**
|
|
@@ -20747,6 +21629,24 @@ declare class UnitCostsApi<NeverThrow extends boolean> {
|
|
|
20747
21629
|
*/
|
|
20748
21630
|
createExport(body: CreateUnitCostsExportRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [string, null] : string>;
|
|
20749
21631
|
}
|
|
21632
|
+
declare class UserFeedbackApi<NeverThrow extends boolean> {
|
|
21633
|
+
private client;
|
|
21634
|
+
constructor(client: BaseClient<NeverThrow>);
|
|
21635
|
+
/**
|
|
21636
|
+
* Provide UserFeedback for our product and features.
|
|
21637
|
+
*/
|
|
21638
|
+
create(body: CreateUserFeedbackRequest): Promise<NeverThrow extends true ? [null, VantageAPIError] | [{
|
|
21639
|
+
token: string;
|
|
21640
|
+
message: string;
|
|
21641
|
+
created_by_token?: string | null;
|
|
21642
|
+
created_at: string;
|
|
21643
|
+
}, null] : {
|
|
21644
|
+
token: string;
|
|
21645
|
+
message: string;
|
|
21646
|
+
created_by_token?: string | null;
|
|
21647
|
+
created_at: string;
|
|
21648
|
+
}>;
|
|
21649
|
+
}
|
|
20750
21650
|
declare class UsersApi<NeverThrow extends boolean> {
|
|
20751
21651
|
private client;
|
|
20752
21652
|
constructor(client: BaseClient<NeverThrow>);
|
|
@@ -20809,7 +21709,7 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
|
20809
21709
|
key: string;
|
|
20810
21710
|
overridable: boolean;
|
|
20811
21711
|
backfill_until: string;
|
|
20812
|
-
collapsed_tag_keys
|
|
21712
|
+
collapsed_tag_keys: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
20813
21713
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
20814
21714
|
}, null] : {
|
|
20815
21715
|
token: string;
|
|
@@ -20817,7 +21717,7 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
|
20817
21717
|
key: string;
|
|
20818
21718
|
overridable: boolean;
|
|
20819
21719
|
backfill_until: string;
|
|
20820
|
-
collapsed_tag_keys
|
|
21720
|
+
collapsed_tag_keys: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
20821
21721
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
20822
21722
|
}>;
|
|
20823
21723
|
/**
|
|
@@ -20837,7 +21737,7 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
|
20837
21737
|
key: string;
|
|
20838
21738
|
overridable: boolean;
|
|
20839
21739
|
backfill_until: string;
|
|
20840
|
-
collapsed_tag_keys
|
|
21740
|
+
collapsed_tag_keys: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
20841
21741
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
20842
21742
|
} | {
|
|
20843
21743
|
request_id: string;
|
|
@@ -20848,7 +21748,7 @@ declare class VirtualTagConfigsApi<NeverThrow extends boolean> {
|
|
|
20848
21748
|
key: string;
|
|
20849
21749
|
overridable: boolean;
|
|
20850
21750
|
backfill_until: string;
|
|
20851
|
-
collapsed_tag_keys
|
|
21751
|
+
collapsed_tag_keys: components["schemas"]["VirtualTagConfigCollapsedTagKey"][];
|
|
20852
21752
|
values: components["schemas"]["VirtualTagConfigValue"][];
|
|
20853
21753
|
} | {
|
|
20854
21754
|
request_id: string;
|
|
@@ -20952,14 +21852,10 @@ declare class WorkspacesApi<NeverThrow extends boolean> {
|
|
|
20952
21852
|
currency: string;
|
|
20953
21853
|
exchange_rate_date: string;
|
|
20954
21854
|
}>;
|
|
20955
|
-
}
|
|
20956
|
-
declare class PingApi<NeverThrow extends boolean> {
|
|
20957
|
-
private client;
|
|
20958
|
-
constructor(client: BaseClient<NeverThrow>);
|
|
20959
21855
|
/**
|
|
20960
|
-
*
|
|
21856
|
+
* Delete a workspace
|
|
20961
21857
|
*/
|
|
20962
|
-
|
|
21858
|
+
delete(workspaceToken: string): Promise<NeverThrow extends true ? [null, VantageAPIError] | [void, null] : void>;
|
|
20963
21859
|
}
|
|
20964
21860
|
|
|
20965
21861
|
/** A string that is guaranteed to not contain slashes. Can be generated with {@link pathEncode} */
|
|
@@ -21070,4 +21966,4 @@ declare class BaseClient<NeverThrow extends boolean> {
|
|
|
21070
21966
|
request<RequestPath extends Path, RequestMethod extends SupportedMethods<RequestPath>>(path: RequestPath, method: RequestMethod, body: RequestBodyForPathAndMethod<RequestPath, RequestMethod>): Promise<NeverThrow extends true ? NeverThrowResult<ResponseBodyForPathAndMethod<RequestPath, RequestMethod>> : ResponseBodyForPathAndMethod<RequestPath, RequestMethod>>;
|
|
21071
21967
|
}
|
|
21072
21968
|
|
|
21073
|
-
export { APIV2Client, type AddTeamMemberRequest, type AddTeamMemberResponse, type CreateAccessGrantRequest, type CreateAccessGrantResponse, type CreateAnomalyNotificationRequest, type CreateAnomalyNotificationResponse, type CreateAzureIntegrationRequest, type CreateAzureIntegrationResponse, type CreateBillingProfileRequest, type CreateBillingProfileResponse, type CreateBillingRuleRequest, type CreateBillingRuleResponse, type CreateBudgetAlertRequest, type CreateBudgetAlertResponse, type CreateBudgetRequest, type CreateBudgetResponse, type CreateBusinessMetricRequest, type CreateBusinessMetricResponse, type CreateCostAlertRequest, type CreateCostAlertResponse, type CreateCostExportRequest, type CreateCostExportResponse, type CreateCostReportRequest, type CreateCostReportResponse, type CreateCustomProviderIntegrationRequest, type CreateCustomProviderIntegrationResponse, type CreateDashboardRequest, type CreateDashboardResponse, type CreateExchangeRatesViaCsvRequest, type CreateExchangeRatesViaCsvResponse, type CreateFinancialCommitmentReportRequest, type CreateFinancialCommitmentReportResponse, type CreateFolderRequest, type CreateFolderResponse, type CreateGCPIntegrationRequest, type CreateGCPIntegrationResponse, type CreateInvoiceRequest, type CreateInvoiceResponse, type CreateKubernetesEfficiencyReportExportRequest, type CreateKubernetesEfficiencyReportExportResponse, type CreateKubernetesEfficiencyReportRequest, type CreateKubernetesEfficiencyReportResponse, type CreateManagedAccountRequest, type CreateManagedAccountResponse, type CreateNetworkFlowReportRequest, type CreateNetworkFlowReportResponse, type CreateRecommendationViewRequest, type CreateRecommendationViewResponse, type CreateReportNotificationRequest, type CreateReportNotificationResponse, type CreateResourceReportRequest, type CreateResourceReportResponse, type CreateSavedFilterRequest, type CreateSavedFilterResponse, type CreateSegmentRequest, type CreateSegmentResponse, type CreateSsoConnectionForManagedAccountRequest, type CreateSsoConnectionForManagedAccountResponse, type CreateTeamRequest, type CreateTeamResponse, type CreateUnitCostsExportRequest, type CreateUnitCostsExportResponse, type CreateUserCostsUploadViaCsvRequest, type CreateUserCostsUploadViaCsvResponse, type CreateUserFeedbackRequest, type CreateUserFeedbackResponse, type CreateVirtualTagConfigRequest, type CreateVirtualTagConfigResponse, type CreateWorkspaceRequest, type CreateWorkspaceResponse, type DeleteAccessGrantResponse, type DeleteAnomalyNotificationResponse, type DeleteBillingProfileResponse, type DeleteBillingRuleResponse, type DeleteBudgetAlertResponse, type DeleteBudgetResponse, type DeleteBusinessMetricResponse, type DeleteCostAlertResponse, type DeleteCostReportResponse, type DeleteDashboardResponse, type DeleteFinancialCommitmentReportResponse, type DeleteFolderResponse, type DeleteIntegrationResponse, type DeleteKubernetesEfficiencyReportResponse, type DeleteManagedAccountResponse, type DeleteNetworkFlowReportResponse, type DeleteRecommendationViewResponse, type DeleteReportNotificationResponse, type DeleteResourceReportResponse, type DeleteSavedFilterResponse, type DeleteSegmentResponse, type DeleteSsoConnectionForManagedAccountResponse, type DeleteTeamResponse, type DeleteUserCostsUploadResponse, type DeleteVirtualTagConfigResponse, type DownloadInvoiceRequest, type DownloadInvoiceResponse, type GetAccessGrantResponse, type GetAccessGrantsRequest, type GetAccessGrantsResponse, type GetAnomalyAlertResponse, type GetAnomalyAlertsRequest, type GetAnomalyAlertsResponse, type GetAnomalyNotificationResponse, type GetAnomalyNotificationsRequest, type GetAnomalyNotificationsResponse, type GetAsyncVirtualTagConfigStatusResponse, type GetAuditLogResponse, type GetAuditLogsRequest, type GetAuditLogsResponse, type GetBillingProfileResponse, type GetBillingProfilesRequest, type GetBillingProfilesResponse, type GetBillingRuleResponse, type GetBillingRulesRequest, type GetBillingRulesResponse, type GetBudgetAlertResponse, type GetBudgetAlertsRequest, type GetBudgetAlertsResponse, type GetBudgetRequest, type GetBudgetResponse, type GetBudgetsRequest, type GetBudgetsResponse, type GetBusinessMetricForecastedValuesRequest, type GetBusinessMetricForecastedValuesResponse, type GetBusinessMetricResponse, type GetBusinessMetricValuesRequest, type GetBusinessMetricValuesResponse, type GetBusinessMetricsRequest, type GetBusinessMetricsResponse, type GetCostAlertEventResponse, type GetCostAlertEventsRequest, type GetCostAlertEventsResponse, type GetCostAlertResponse, type GetCostAlertsResponse, type GetCostProviderAccountsRequest, type GetCostProviderAccountsResponse, type GetCostProvidersRequest, type GetCostProvidersResponse, type GetCostReportResponse, type GetCostReportsRequest, type GetCostReportsResponse, type GetCostServicesRequest, type GetCostServicesResponse, type GetCostsRequest, type GetCostsResponse, type GetDashboardResponse, type GetDashboardsRequest, type GetDashboardsResponse, type GetDataExportResponse, type GetExchangeRatesRequest, type GetExchangeRatesResponse, type GetFinancialCommitmentReportResponse, type GetFinancialCommitmentReportsRequest, type GetFinancialCommitmentReportsResponse, type GetFinancialCommitmentsRequest, type GetFinancialCommitmentsResponse, type GetFolderResponse, type GetFoldersRequest, type GetFoldersResponse, type GetForecastedCostsRequest, type GetForecastedCostsResponse, type GetIntegrationResponse, type GetIntegrationsRequest, type GetIntegrationsResponse, type GetInvoiceCostReportResponse, type GetInvoiceResponse, type GetInvoicesRequest, type GetInvoicesResponse, type GetKubernetesEfficiencyReportResponse, type GetKubernetesEfficiencyReportsRequest, type GetKubernetesEfficiencyReportsResponse, type GetManagedAccountResponse, type GetManagedAccountsRequest, type GetManagedAccountsResponse, type GetMeResponse, type GetNetworkFlowReportResponse, type GetNetworkFlowReportsRequest, type GetNetworkFlowReportsResponse, type GetPriceResponse, type GetPricesRequest, type GetPricesResponse, type GetProductResponse, type GetProductsRequest, type GetProductsResponse, type GetRecommendationResourceResponse, type GetRecommendationResourcesRequest, type GetRecommendationResourcesResponse, type GetRecommendationResponse, type GetRecommendationTypeResourcesRequest, type GetRecommendationTypeResourcesResponse, type GetRecommendationViewResponse, type GetRecommendationViewsRequest, type GetRecommendationViewsResponse, type GetRecommendationsRequest, type GetRecommendationsResponse, type GetReportNotificationResponse, type GetReportNotificationsRequest, type GetReportNotificationsResponse, type GetReportResourcesRequest, type GetReportResourcesResponse, type GetResourceReportColumnsRequest, type GetResourceReportColumnsResponse, type GetResourceReportResponse, type GetResourceReportsRequest, type GetResourceReportsResponse, type GetResourceRequest, type GetResourceResponse, type GetSavedFilterResponse, type GetSavedFiltersRequest, type GetSavedFiltersResponse, type GetSegmentResponse, type GetSegmentsRequest, type GetSegmentsResponse, type GetTagValuesRequest, type GetTagValuesResponse, type GetTagsRequest, type GetTagsResponse, type GetTeamMembersRequest, type GetTeamMembersResponse, type GetTeamResponse, type GetTeamsRequest, type GetTeamsResponse, type GetUnitCostsRequest, type GetUnitCostsResponse, type GetUserCostsUploadsResponse, type GetUserResponse, type GetUsersRequest, type GetUsersResponse, type GetVirtualTagConfigResponse, type GetVirtualTagConfigStatusResponse, type GetVirtualTagConfigsResponse, type GetWorkspaceResponse, type GetWorkspacesRequest, type GetWorkspacesResponse, type NoSlashString, type Path, type PathResponseEdgecases, type PingResponse, type RegenerateInvoiceResponse, type RemoveTeamMemberResponse, type RequestBodyForPathAndMethod, type ResponseBodyForPathAndMethod, type SendAndApproveInvoiceResponse, type SendInvoiceResponse, type SupportedMethods, type UpdateAccessGrantRequest, type UpdateAccessGrantResponse, type UpdateAnomalyAlertRequest, type UpdateAnomalyAlertResponse, type UpdateAnomalyNotificationRequest, type UpdateAnomalyNotificationResponse, type UpdateAsyncVirtualTagConfigRequest, type UpdateAsyncVirtualTagConfigResponse, type UpdateBillingProfileRequest, type UpdateBillingProfileResponse, type UpdateBillingRuleRequest, type UpdateBillingRuleResponse, type UpdateBudgetAlertRequest, type UpdateBudgetAlertResponse, type UpdateBudgetRequest, type UpdateBudgetResponse, type UpdateBusinessMetricRequest, type UpdateBusinessMetricResponse, type UpdateBusinessMetricValuesCSVRequest, type UpdateBusinessMetricValuesCSVResponse, type UpdateCostAlertRequest, type UpdateCostAlertResponse, type UpdateCostReportRequest, type UpdateCostReportResponse, type UpdateDashboardRequest, type UpdateDashboardResponse, type UpdateFinancialCommitmentReportRequest, type UpdateFinancialCommitmentReportResponse, type UpdateFolderRequest, type UpdateFolderResponse, type UpdateIntegrationRequest, type UpdateIntegrationResponse, type UpdateKubernetesEfficiencyReportRequest, type UpdateKubernetesEfficiencyReportResponse, type UpdateManagedAccountRequest, type UpdateManagedAccountResponse, type UpdateMeRequest, type UpdateMeResponse, type UpdateNetworkFlowReportRequest, type UpdateNetworkFlowReportResponse, type UpdateRecommendationViewRequest, type UpdateRecommendationViewResponse, type UpdateReportNotificationRequest, type UpdateReportNotificationResponse, type UpdateResourceReportRequest, type UpdateResourceReportResponse, type UpdateSavedFilterRequest, type UpdateSavedFilterResponse, type UpdateSegmentRequest, type UpdateSegmentResponse, type UpdateSsoConnectionForManagedAccountRequest, type UpdateSsoConnectionForManagedAccountResponse, type UpdateTagRequest, type UpdateTagResponse, type UpdateTeamRequest, type UpdateTeamResponse, type UpdateUserRequest, type UpdateUserResponse, type UpdateVirtualTagConfigRequest, type UpdateVirtualTagConfigResponse, type UpdateWorkspaceRequest, type UpdateWorkspaceResponse, VantageAPIError, pathEncode };
|
|
21969
|
+
export { APIV2Client, type AddTeamMemberRequest, type AddTeamMemberResponse, type CreateAccessGrantRequest, type CreateAccessGrantResponse, type CreateAnomalyNotificationRequest, type CreateAnomalyNotificationResponse, type CreateAzureIntegrationRequest, type CreateAzureIntegrationResponse, type CreateBillingProfileRequest, type CreateBillingProfileResponse, type CreateBillingRuleRequest, type CreateBillingRuleResponse, type CreateBudgetAlertRequest, type CreateBudgetAlertResponse, type CreateBudgetRequest, type CreateBudgetResponse, type CreateBusinessMetricRequest, type CreateBusinessMetricResponse, type CreateCanvasRequest, type CreateCanvasResponse, type CreateCostAlertRequest, type CreateCostAlertResponse, type CreateCostExportRequest, type CreateCostExportResponse, type CreateCostReportRequest, type CreateCostReportResponse, type CreateCustomProviderIntegrationRequest, type CreateCustomProviderIntegrationResponse, type CreateDashboardRequest, type CreateDashboardResponse, type CreateExchangeRatesViaCsvRequest, type CreateExchangeRatesViaCsvResponse, type CreateFinancialCommitmentReportRequest, type CreateFinancialCommitmentReportResponse, type CreateFolderRequest, type CreateFolderResponse, type CreateGCPIntegrationRequest, type CreateGCPIntegrationResponse, type CreateInvoiceRequest, type CreateInvoiceResponse, type CreateKubernetesEfficiencyReportExportRequest, type CreateKubernetesEfficiencyReportExportResponse, type CreateKubernetesEfficiencyReportRequest, type CreateKubernetesEfficiencyReportResponse, type CreateManagedAccountRequest, type CreateManagedAccountResponse, type CreateNetworkFlowReportRequest, type CreateNetworkFlowReportResponse, type CreateRecommendationViewRequest, type CreateRecommendationViewResponse, type CreateReportNotificationRequest, type CreateReportNotificationResponse, type CreateResourceReportRequest, type CreateResourceReportResponse, type CreateSavedFilterRequest, type CreateSavedFilterResponse, type CreateSegmentRequest, type CreateSegmentResponse, type CreateSsoConnectionForManagedAccountRequest, type CreateSsoConnectionForManagedAccountResponse, type CreateTeamRequest, type CreateTeamResponse, type CreateUnitCostsExportRequest, type CreateUnitCostsExportResponse, type CreateUserCostsUploadViaCsvRequest, type CreateUserCostsUploadViaCsvResponse, type CreateUserFeedbackRequest, type CreateUserFeedbackResponse, type CreateVirtualTagConfigRequest, type CreateVirtualTagConfigResponse, type CreateWorkspaceRequest, type CreateWorkspaceResponse, type DeleteAccessGrantResponse, type DeleteAnomalyNotificationResponse, type DeleteBillingProfileResponse, type DeleteBillingRuleResponse, type DeleteBudgetAlertResponse, type DeleteBudgetResponse, type DeleteBusinessMetricResponse, type DeleteBusinessMetricValuesRequest, type DeleteBusinessMetricValuesResponse, type DeleteCanvasResponse, type DeleteCostAlertResponse, type DeleteCostReportResponse, type DeleteDashboardResponse, type DeleteFinancialCommitmentReportResponse, type DeleteFolderResponse, type DeleteIntegrationResponse, type DeleteKubernetesEfficiencyReportResponse, type DeleteManagedAccountResponse, type DeleteNetworkFlowReportResponse, type DeleteRecommendationViewResponse, type DeleteReportNotificationResponse, type DeleteResourceReportResponse, type DeleteSavedFilterResponse, type DeleteSegmentResponse, type DeleteSsoConnectionForManagedAccountResponse, type DeleteTeamResponse, type DeleteUserCostsUploadResponse, type DeleteVirtualTagConfigResponse, type DeleteWorkspaceResponse, type DownloadInvoiceRequest, type DownloadInvoiceResponse, type GetAccessGrantResponse, type GetAccessGrantsRequest, type GetAccessGrantsResponse, type GetAnomalyAlertResponse, type GetAnomalyAlertsRequest, type GetAnomalyAlertsResponse, type GetAnomalyNotificationResponse, type GetAnomalyNotificationsRequest, type GetAnomalyNotificationsResponse, type GetAsyncVirtualTagConfigStatusResponse, type GetAuditLogResponse, type GetAuditLogsRequest, type GetAuditLogsResponse, type GetBillingProfileResponse, type GetBillingProfilesRequest, type GetBillingProfilesResponse, type GetBillingRuleResponse, type GetBillingRulesRequest, type GetBillingRulesResponse, type GetBudgetAlertResponse, type GetBudgetAlertsRequest, type GetBudgetAlertsResponse, type GetBudgetRequest, type GetBudgetResponse, type GetBudgetsRequest, type GetBudgetsResponse, type GetBusinessMetricForecastedValuesRequest, type GetBusinessMetricForecastedValuesResponse, type GetBusinessMetricResponse, type GetBusinessMetricValuesRequest, type GetBusinessMetricValuesResponse, type GetBusinessMetricsRequest, type GetBusinessMetricsResponse, type GetCanvasResponse, type GetCanvasesRequest, type GetCanvasesResponse, type GetCostAlertEventResponse, type GetCostAlertEventsRequest, type GetCostAlertEventsResponse, type GetCostAlertResponse, type GetCostAlertsResponse, type GetCostProviderAccountsRequest, type GetCostProviderAccountsResponse, type GetCostProvidersRequest, type GetCostProvidersResponse, type GetCostReportResponse, type GetCostReportsRequest, type GetCostReportsResponse, type GetCostServicesRequest, type GetCostServicesResponse, type GetCostsRequest, type GetCostsResponse, type GetDashboardResponse, type GetDashboardsRequest, type GetDashboardsResponse, type GetDataExportResponse, type GetExchangeRatesRequest, type GetExchangeRatesResponse, type GetFinancialCommitmentReportResponse, type GetFinancialCommitmentReportsRequest, type GetFinancialCommitmentReportsResponse, type GetFinancialCommitmentsRequest, type GetFinancialCommitmentsResponse, type GetFolderResponse, type GetFoldersRequest, type GetFoldersResponse, type GetForecastedCostsRequest, type GetForecastedCostsResponse, type GetIntegrationResponse, type GetIntegrationsRequest, type GetIntegrationsResponse, type GetInvoiceCostReportResponse, type GetInvoiceResponse, type GetInvoicesRequest, type GetInvoicesResponse, type GetKubernetesEfficiencyReportResponse, type GetKubernetesEfficiencyReportsRequest, type GetKubernetesEfficiencyReportsResponse, type GetManagedAccountResponse, type GetManagedAccountsRequest, type GetManagedAccountsResponse, type GetMeResponse, type GetNetworkFlowReportResponse, type GetNetworkFlowReportsRequest, type GetNetworkFlowReportsResponse, type GetPriceResponse, type GetPricesRequest, type GetPricesResponse, type GetProductResponse, type GetProductsRequest, type GetProductsResponse, type GetRecommendationResourceResponse, type GetRecommendationResourcesRequest, type GetRecommendationResourcesResponse, type GetRecommendationResponse, type GetRecommendationTypeResourcesRequest, type GetRecommendationTypeResourcesResponse, type GetRecommendationViewResponse, type GetRecommendationViewsRequest, type GetRecommendationViewsResponse, type GetRecommendationsRequest, type GetRecommendationsResponse, type GetReportNotificationResponse, type GetReportNotificationsRequest, type GetReportNotificationsResponse, type GetReportResourcesRequest, type GetReportResourcesResponse, type GetResourceReportColumnsRequest, type GetResourceReportColumnsResponse, type GetResourceReportResponse, type GetResourceReportsRequest, type GetResourceReportsResponse, type GetResourceRequest, type GetResourceResponse, type GetSavedFilterResponse, type GetSavedFiltersRequest, type GetSavedFiltersResponse, type GetSegmentResponse, type GetSegmentsRequest, type GetSegmentsResponse, type GetTagValuesRequest, type GetTagValuesResponse, type GetTagsRequest, type GetTagsResponse, type GetTeamMembersRequest, type GetTeamMembersResponse, type GetTeamResponse, type GetTeamsRequest, type GetTeamsResponse, type GetUnitCostsRequest, type GetUnitCostsResponse, type GetUserCostsUploadsResponse, type GetUserResponse, type GetUsersRequest, type GetUsersResponse, type GetVirtualTagConfigResponse, type GetVirtualTagConfigStatusResponse, type GetVirtualTagConfigsResponse, type GetWorkspaceResponse, type GetWorkspacesRequest, type GetWorkspacesResponse, type NoSlashString, type Path, type PathResponseEdgecases, type PingResponse, type RegenerateInvoiceResponse, type RemoveTeamMemberResponse, type RequestBodyForPathAndMethod, type ResponseBodyForPathAndMethod, type SendAndApproveInvoiceResponse, type SendInvoiceResponse, type SupportedMethods, type UpdateAccessGrantRequest, type UpdateAccessGrantResponse, type UpdateAnomalyAlertRequest, type UpdateAnomalyAlertResponse, type UpdateAnomalyNotificationRequest, type UpdateAnomalyNotificationResponse, type UpdateAsyncVirtualTagConfigRequest, type UpdateAsyncVirtualTagConfigResponse, type UpdateBillingProfileRequest, type UpdateBillingProfileResponse, type UpdateBillingRuleRequest, type UpdateBillingRuleResponse, type UpdateBudgetAlertRequest, type UpdateBudgetAlertResponse, type UpdateBudgetRequest, type UpdateBudgetResponse, type UpdateBusinessMetricRequest, type UpdateBusinessMetricResponse, type UpdateBusinessMetricValuesCSVRequest, type UpdateBusinessMetricValuesCSVResponse, type UpdateCanvasRequest, type UpdateCanvasResponse, type UpdateCostAlertRequest, type UpdateCostAlertResponse, type UpdateCostReportRequest, type UpdateCostReportResponse, type UpdateDashboardRequest, type UpdateDashboardResponse, type UpdateFinancialCommitmentReportRequest, type UpdateFinancialCommitmentReportResponse, type UpdateFolderRequest, type UpdateFolderResponse, type UpdateIntegrationRequest, type UpdateIntegrationResponse, type UpdateKubernetesEfficiencyReportRequest, type UpdateKubernetesEfficiencyReportResponse, type UpdateManagedAccountRequest, type UpdateManagedAccountResponse, type UpdateMeRequest, type UpdateMeResponse, type UpdateNetworkFlowReportRequest, type UpdateNetworkFlowReportResponse, type UpdateRecommendationViewRequest, type UpdateRecommendationViewResponse, type UpdateReportNotificationRequest, type UpdateReportNotificationResponse, type UpdateResourceReportRequest, type UpdateResourceReportResponse, type UpdateSavedFilterRequest, type UpdateSavedFilterResponse, type UpdateSegmentRequest, type UpdateSegmentResponse, type UpdateSsoConnectionForManagedAccountRequest, type UpdateSsoConnectionForManagedAccountResponse, type UpdateTagRequest, type UpdateTagResponse, type UpdateTeamRequest, type UpdateTeamResponse, type UpdateUserRequest, type UpdateUserResponse, type UpdateVirtualTagConfigRequest, type UpdateVirtualTagConfigResponse, type UpdateWorkspaceRequest, type UpdateWorkspaceResponse, VantageAPIError, pathEncode };
|