infrawrench-sdk 1.10.0 → 1.13.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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/infrawrench-sdk.gemspec +4 -4
- data/lib/infrawrench/client.rb +156 -2
- data/lib/infrawrench/sdk.rb +2 -2
- data/lib/infrawrench/transport.rb +2 -2
- data/lib/infrawrench/version.rb +3 -3
- data/lib/infrawrench-sdk.rb +2 -2
- data/sig/infrawrench/sdk.rbs +157 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe82c9ffcd03c219b43a54d621c17d764bf016082c3690c1c330d3fb51a89eb2
|
|
4
|
+
data.tar.gz: f128050bb920aab571400145b812bcba3f660591cd36a5797686f46d8098e369
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10437ca09c7ead9e234342793c2b64bec369b50987aa2477462804250446c8b3b2fcb10b59f2025f7c7ad1b45b6a21ab7219b23378d7f520dea6b9aae7f7e6a6
|
|
7
|
+
data.tar.gz: 5e2c48172ce7b220f845f7f5480b30f17fc14b351afc0dd3c0d0372bba6b8c9e77f27a5ab27cf191dcb8181eafc494545632ec59a9547a5afa28002c22de2cea
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# infrawrench-sdk
|
|
2
2
|
|
|
3
|
-
Generated Ruby client for the Infrawrench API (API version `1.
|
|
3
|
+
Generated Ruby client for the Infrawrench API (API version `1.13.0`).
|
|
4
4
|
|
|
5
5
|
**Do not edit this gem by hand** — it is regenerated from `openapi.json` and is
|
|
6
6
|
not checked into the repository. Run
|
|
@@ -41,7 +41,7 @@ Every method takes an optional trailing `request_options:` hash (`:headers`,
|
|
|
41
41
|
Responses are the plain `Hash`/`Array` that `JSON.parse` returns, with String
|
|
42
42
|
keys spelled exactly as the wire spells them. There are no model classes — see
|
|
43
43
|
[`sig/infrawrench/sdk.rbs`](./sig/infrawrench/sdk.rbs) for the shape of every one of the
|
|
44
|
-
|
|
44
|
+
565 schemas, as RBS type aliases that steep and TypeProf can read.
|
|
45
45
|
|
|
46
46
|
Non-2xx responses raise `Infrawrench::ApiError`, which carries `#status`,
|
|
47
47
|
the parsed `#body`, and the machine-readable `#code` when the API sends one —
|
data/infrawrench-sdk.gemspec
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.13.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.13.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -17,8 +17,8 @@ require_relative "lib/infrawrench/version"
|
|
|
17
17
|
Gem::Specification.new do |spec|
|
|
18
18
|
spec.name = "infrawrench-sdk"
|
|
19
19
|
spec.version = Infrawrench::VERSION
|
|
20
|
-
spec.summary = "Generated Ruby client for the Infrawrench API (v1.
|
|
21
|
-
spec.description = "Generated Ruby client for the Infrawrench API (v1.
|
|
20
|
+
spec.summary = "Generated Ruby client for the Infrawrench API (v1.13.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.13.0). Covers the published API surface only — operations marked x-internal in the spec are not generated. No runtime dependencies."
|
|
22
22
|
spec.authors = ["Infrawrench LLC", "Astrid Gealer"]
|
|
23
23
|
spec.email = ["astrid@infrawrench.com"]
|
|
24
24
|
spec.homepage = "https://infrawrench.com/docs/team-and-billing/client-sdks"
|
data/lib/infrawrench/client.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.13.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.13.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1724,6 +1724,48 @@ module Infrawrench
|
|
|
1724
1724
|
end
|
|
1725
1725
|
end
|
|
1726
1726
|
|
|
1727
|
+
# `client.blast_radius`
|
|
1728
|
+
class BlastRadiusNamespace
|
|
1729
|
+
# @api private
|
|
1730
|
+
# @param transport [Transport]
|
|
1731
|
+
def initialize(transport)
|
|
1732
|
+
@transport = transport
|
|
1733
|
+
end
|
|
1734
|
+
|
|
1735
|
+
# What breaks if this resource is deleted
|
|
1736
|
+
#
|
|
1737
|
+
# An impact report for one resource, assembled from the dependency graph
|
|
1738
|
+
# walked inbound, network flow attribution, and the org objects that name
|
|
1739
|
+
# the resource without depending on it (dashboards, custom graphs, probes,
|
|
1740
|
+
# status pages, metric alerts, leases, schedules, saved log queries,
|
|
1741
|
+
# workflows, and its recorded owner).
|
|
1742
|
+
#
|
|
1743
|
+
# The endpoint answers 200 with a partial report rather than failing when a
|
|
1744
|
+
# source is unavailable; `unchecked` says which, in prose.
|
|
1745
|
+
#
|
|
1746
|
+
# _Requires permission: `resources:read`._
|
|
1747
|
+
#
|
|
1748
|
+
# GET /api/org/{orgId}/blast-radius
|
|
1749
|
+
#
|
|
1750
|
+
# Raises on 400: Missing resourceId
|
|
1751
|
+
#
|
|
1752
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
1753
|
+
# constructed with.
|
|
1754
|
+
# @param resource_id [Hash]
|
|
1755
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
1756
|
+
# @return [Hash] Parsed JSON, shaped as `BlastRadiusReport` — see `sig/infrawrench/sdk.rbs`.
|
|
1757
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
1758
|
+
def get(resource_id:, org_id: nil, request_options: nil)
|
|
1759
|
+
@transport.request(
|
|
1760
|
+
http_method: "GET",
|
|
1761
|
+
path: "/api/org/{orgId}/blast-radius",
|
|
1762
|
+
path_params: { "orgId" => org_id },
|
|
1763
|
+
query: { "resourceId" => resource_id },
|
|
1764
|
+
request_options: request_options
|
|
1765
|
+
)
|
|
1766
|
+
end
|
|
1767
|
+
end
|
|
1768
|
+
|
|
1727
1769
|
# `client.budgets`
|
|
1728
1770
|
class BudgetsNamespace
|
|
1729
1771
|
# @api private
|
|
@@ -9315,6 +9357,112 @@ module Infrawrench
|
|
|
9315
9357
|
end
|
|
9316
9358
|
end
|
|
9317
9359
|
|
|
9360
|
+
# `client.quotas.settings`
|
|
9361
|
+
class QuotasSettingsNamespace
|
|
9362
|
+
# @api private
|
|
9363
|
+
# @param transport [Transport]
|
|
9364
|
+
def initialize(transport)
|
|
9365
|
+
@transport = transport
|
|
9366
|
+
end
|
|
9367
|
+
|
|
9368
|
+
# Get the organization's quota alert settings
|
|
9369
|
+
#
|
|
9370
|
+
# The threshold feeds both the feed's severity buckets and the poller's
|
|
9371
|
+
# daily alert scan. An organization that never saved reads the shipped
|
|
9372
|
+
# defaults (enabled, 0.8).
|
|
9373
|
+
#
|
|
9374
|
+
# _Requires permission: `org:settings:write`._
|
|
9375
|
+
#
|
|
9376
|
+
# GET /api/org/{orgId}/quotas/settings
|
|
9377
|
+
#
|
|
9378
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
9379
|
+
# constructed with.
|
|
9380
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
9381
|
+
# @return [Hash] Parsed JSON, shaped as `QuotaAlertSettings` — see
|
|
9382
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
9383
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
9384
|
+
def get(org_id: nil, request_options: nil)
|
|
9385
|
+
@transport.request(
|
|
9386
|
+
http_method: "GET",
|
|
9387
|
+
path: "/api/org/{orgId}/quotas/settings",
|
|
9388
|
+
path_params: { "orgId" => org_id },
|
|
9389
|
+
request_options: request_options
|
|
9390
|
+
)
|
|
9391
|
+
end
|
|
9392
|
+
|
|
9393
|
+
# Update the quota alert settings
|
|
9394
|
+
#
|
|
9395
|
+
# Every field is optional so a single toggle can be saved on its own.
|
|
9396
|
+
# `threshold` is a fraction from 0.5 to 0.99 and is rejected rather than
|
|
9397
|
+
# clamped when out of range. Saving never resets the alert cooldown.
|
|
9398
|
+
#
|
|
9399
|
+
# _Requires permission: `org:settings:write`._
|
|
9400
|
+
#
|
|
9401
|
+
# PUT /api/org/{orgId}/quotas/settings
|
|
9402
|
+
#
|
|
9403
|
+
# Raises on 400: Bad request
|
|
9404
|
+
#
|
|
9405
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
9406
|
+
# constructed with.
|
|
9407
|
+
# @param body [Hash, nil] Request body, shaped as `QuotaAlertSettingsUpdate`.
|
|
9408
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
9409
|
+
# @return [Hash] Parsed JSON, shaped as `QuotaAlertSettings` — see
|
|
9410
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
9411
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
9412
|
+
def update(org_id: nil, body: nil, request_options: nil)
|
|
9413
|
+
@transport.request(
|
|
9414
|
+
http_method: "PUT",
|
|
9415
|
+
path: "/api/org/{orgId}/quotas/settings",
|
|
9416
|
+
path_params: { "orgId" => org_id },
|
|
9417
|
+
body: body,
|
|
9418
|
+
request_options: request_options
|
|
9419
|
+
)
|
|
9420
|
+
end
|
|
9421
|
+
end
|
|
9422
|
+
|
|
9423
|
+
# `client.quotas`
|
|
9424
|
+
class QuotasNamespace
|
|
9425
|
+
# @return [QuotasSettingsNamespace] `client.quotas.settings`
|
|
9426
|
+
attr_reader :settings
|
|
9427
|
+
|
|
9428
|
+
# @api private
|
|
9429
|
+
# @param transport [Transport]
|
|
9430
|
+
def initialize(transport)
|
|
9431
|
+
@transport = transport
|
|
9432
|
+
@settings = QuotasSettingsNamespace.new(@transport)
|
|
9433
|
+
end
|
|
9434
|
+
|
|
9435
|
+
# List provider quota utilisation across the organization
|
|
9436
|
+
#
|
|
9437
|
+
# How close each account is to the limits its provider enforces, with the
|
|
9438
|
+
# trend fitted over the last 14 days of collected readings. Both halves of
|
|
9439
|
+
# every row — the used figure and the limit — come from the provider;
|
|
9440
|
+
# nothing is filled in from published defaults, so an account with an
|
|
9441
|
+
# approved increase reads as having the headroom it has. This is a read over
|
|
9442
|
+
# already-collected snapshots: no provider API calls are made here, and the
|
|
9443
|
+
# readings are as fresh as the last collection pass (roughly six hours). A
|
|
9444
|
+
# plugin that declares no quota capability contributes nothing rather than
|
|
9445
|
+
# zero — see `unsupportedPluginIds`.
|
|
9446
|
+
#
|
|
9447
|
+
# _Requires permission: `resources:read`._
|
|
9448
|
+
#
|
|
9449
|
+
# GET /api/org/{orgId}/quotas
|
|
9450
|
+
#
|
|
9451
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
9452
|
+
# constructed with.
|
|
9453
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
9454
|
+
# @return [Hash] Parsed JSON, shaped as `QuotaListResponse` — see `sig/infrawrench/sdk.rbs`.
|
|
9455
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
9456
|
+
def get(org_id: nil, request_options: nil)
|
|
9457
|
+
@transport.request(
|
|
9458
|
+
http_method: "GET",
|
|
9459
|
+
path: "/api/org/{orgId}/quotas",
|
|
9460
|
+
path_params: { "orgId" => org_id },
|
|
9461
|
+
request_options: request_options
|
|
9462
|
+
)
|
|
9463
|
+
end
|
|
9464
|
+
end
|
|
9465
|
+
|
|
9318
9466
|
# `client.resources.manifest`
|
|
9319
9467
|
class ResourcesManifestNamespace
|
|
9320
9468
|
# @api private
|
|
@@ -12669,6 +12817,8 @@ module Infrawrench
|
|
|
12669
12817
|
attr_reader :billing
|
|
12670
12818
|
# @return [BillingRulesNamespace] `client.billing_rules`
|
|
12671
12819
|
attr_reader :billing_rules
|
|
12820
|
+
# @return [BlastRadiusNamespace] `client.blast_radius`
|
|
12821
|
+
attr_reader :blast_radius
|
|
12672
12822
|
# @return [BudgetsNamespace] `client.budgets`
|
|
12673
12823
|
attr_reader :budgets
|
|
12674
12824
|
# @return [BusinessMetricsNamespace] `client.business_metrics`
|
|
@@ -12763,6 +12913,8 @@ module Infrawrench
|
|
|
12763
12913
|
attr_reader :probes
|
|
12764
12914
|
# @return [ProfileNamespace] `client.profile`
|
|
12765
12915
|
attr_reader :profile
|
|
12916
|
+
# @return [QuotasNamespace] `client.quotas`
|
|
12917
|
+
attr_reader :quotas
|
|
12766
12918
|
# @return [ResourcesNamespace] `client.resources`
|
|
12767
12919
|
attr_reader :resources
|
|
12768
12920
|
# @return [RightsizingNamespace] `client.rightsizing`
|
|
@@ -12821,6 +12973,7 @@ module Infrawrench
|
|
|
12821
12973
|
@bastions = BastionsNamespace.new(@transport)
|
|
12822
12974
|
@billing = BillingNamespace.new(@transport)
|
|
12823
12975
|
@billing_rules = BillingRulesNamespace.new(@transport)
|
|
12976
|
+
@blast_radius = BlastRadiusNamespace.new(@transport)
|
|
12824
12977
|
@budgets = BudgetsNamespace.new(@transport)
|
|
12825
12978
|
@business_metrics = BusinessMetricsNamespace.new(@transport)
|
|
12826
12979
|
@change_freezes = ChangeFreezesNamespace.new(@transport)
|
|
@@ -12868,6 +13021,7 @@ module Infrawrench
|
|
|
12868
13021
|
@posture = PostureNamespace.new(@transport)
|
|
12869
13022
|
@probes = ProbesNamespace.new(@transport)
|
|
12870
13023
|
@profile = ProfileNamespace.new(@transport)
|
|
13024
|
+
@quotas = QuotasNamespace.new(@transport)
|
|
12871
13025
|
@resources = ResourcesNamespace.new(@transport)
|
|
12872
13026
|
@rightsizing = RightsizingNamespace.new(@transport)
|
|
12873
13027
|
@saved_cost_filters = SavedCostFiltersNamespace.new(@transport)
|
data/lib/infrawrench/sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.13.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.13.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.13.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.13.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
data/lib/infrawrench/version.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.13.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.13.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
# Kept in its own file so the gemspec can read the version without loading the
|
|
16
16
|
# client — a gemspec that pulls in net/http is a gemspec that can fail to parse.
|
|
17
17
|
module Infrawrench
|
|
18
|
-
VERSION = "1.
|
|
18
|
+
VERSION = "1.13.0"
|
|
19
19
|
end
|
data/lib/infrawrench-sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.13.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.13.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
data/sig/infrawrench/sdk.rbs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# infrawrench-sdk v1.
|
|
1
|
+
# infrawrench-sdk v1.13.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
2
2
|
# https://github.com/Infrawrench/Infrawrench
|
|
3
3
|
#
|
|
4
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
4
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.13.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -327,6 +327,7 @@ module Infrawrench
|
|
|
327
327
|
| "logMatchAlerts"
|
|
328
328
|
| "postureAlerts"
|
|
329
329
|
| "probeAlerts"
|
|
330
|
+
| "quotaAlerts"
|
|
330
331
|
| "weeklyDigest"
|
|
331
332
|
|
|
332
333
|
# Spec schema: `AllocationRule`.
|
|
@@ -513,6 +514,90 @@ module Infrawrench
|
|
|
513
514
|
# Spec schema: `BillingStatus`.
|
|
514
515
|
type billing_status = { "complimentary" => bool, "subscription" => subscription, "capacity" => capacity_status }
|
|
515
516
|
|
|
517
|
+
# Spec schema: `BlastRadiusDependant`.
|
|
518
|
+
type blast_radius_dependant = {
|
|
519
|
+
"node" => blast_radius_node & Hash[String, untyped],
|
|
520
|
+
"depth" => Integer,
|
|
521
|
+
?"via" => {
|
|
522
|
+
"fieldKey" => String,
|
|
523
|
+
"outputKey" => String,
|
|
524
|
+
?"kind" => "output-ref" | "declared" | "containment" | "field-match",
|
|
525
|
+
?"label" => String
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
# Spec schema: `BlastRadiusFlowPeer`.
|
|
530
|
+
type blast_radius_flow_peer = {
|
|
531
|
+
"ref" => String,
|
|
532
|
+
"label" => String,
|
|
533
|
+
"direction" => "egress" | "ingress",
|
|
534
|
+
"scope" => String,
|
|
535
|
+
"bytes" => Numeric,
|
|
536
|
+
"estimatedCost" => Numeric,
|
|
537
|
+
"currency" => String,
|
|
538
|
+
"days" => Integer,
|
|
539
|
+
"resourceId" => resource_id & (String | nil)
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
# Spec schema: `BlastRadiusGap`.
|
|
543
|
+
type blast_radius_gap = {
|
|
544
|
+
"kind" => "network-flows"
|
|
545
|
+
| "dependency-graph"
|
|
546
|
+
| "references"
|
|
547
|
+
| "workflow-source"
|
|
548
|
+
| "custom-graph-source",
|
|
549
|
+
"reason" => String
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
# The resource itself, when it participates in the dependency graph.
|
|
553
|
+
#
|
|
554
|
+
# Spec schema: `BlastRadiusNode`.
|
|
555
|
+
type blast_radius_node = {
|
|
556
|
+
"id" => resource_id,
|
|
557
|
+
"displayName" => String,
|
|
558
|
+
"pluginId" => String,
|
|
559
|
+
"pluginDisplayName" => String,
|
|
560
|
+
"pluginLogoSvg" => String,
|
|
561
|
+
"resourceTypeId" => String,
|
|
562
|
+
"resourceTypeLabel" => String,
|
|
563
|
+
"accountId" => String,
|
|
564
|
+
"accountName" => String
|
|
565
|
+
}
|
|
566
|
+
| nil
|
|
567
|
+
|
|
568
|
+
# Spec schema: `BlastRadiusReference`.
|
|
569
|
+
type blast_radius_reference = {
|
|
570
|
+
"kind" => "dashboard"
|
|
571
|
+
| "custom-graph"
|
|
572
|
+
| "probe"
|
|
573
|
+
| "status-page"
|
|
574
|
+
| "metric-alert"
|
|
575
|
+
| "lease"
|
|
576
|
+
| "schedule"
|
|
577
|
+
| "workflow"
|
|
578
|
+
| "log-query"
|
|
579
|
+
| "owner",
|
|
580
|
+
"id" => String,
|
|
581
|
+
"name" => String,
|
|
582
|
+
?"detail" => String,
|
|
583
|
+
?"userFacing" => bool
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
# Spec schema: `BlastRadiusReport`.
|
|
587
|
+
type blast_radius_report = {
|
|
588
|
+
"resourceId" => resource_id,
|
|
589
|
+
"resource" => blast_radius_node,
|
|
590
|
+
"dependants" => Array[blast_radius_dependant],
|
|
591
|
+
"directCount" => Integer,
|
|
592
|
+
"transitiveCount" => Integer,
|
|
593
|
+
"references" => Array[blast_radius_reference],
|
|
594
|
+
"flowPeers" => Array[blast_radius_flow_peer],
|
|
595
|
+
"flowTotals" => { "bytes" => Numeric, "estimatedCost" => Numeric, "currency" => String } | nil,
|
|
596
|
+
"unchecked" => Array[blast_radius_gap],
|
|
597
|
+
"severity" => "none" | "low" | "medium" | "high" | "unknown",
|
|
598
|
+
"headline" => String
|
|
599
|
+
}
|
|
600
|
+
|
|
516
601
|
# Spec schema: `BudgetAlertEvent`.
|
|
517
602
|
type budget_alert_event = {
|
|
518
603
|
"id" => String,
|
|
@@ -4097,6 +4182,56 @@ module Infrawrench
|
|
|
4097
4182
|
}
|
|
4098
4183
|
| nil
|
|
4099
4184
|
|
|
4185
|
+
# Spec schema: `QuotaAccountStatus`.
|
|
4186
|
+
type quota_account_status = {
|
|
4187
|
+
"accountId" => String,
|
|
4188
|
+
"accountName" => String,
|
|
4189
|
+
"pluginId" => plugin_id,
|
|
4190
|
+
"quotaCount" => Integer,
|
|
4191
|
+
"lastPolledAt" => String | nil,
|
|
4192
|
+
"lastError" => String | nil,
|
|
4193
|
+
"lastErrorHelpLabel" => String | nil,
|
|
4194
|
+
"lastErrorHelpUrl" => String | nil,
|
|
4195
|
+
"partial" => bool
|
|
4196
|
+
}
|
|
4197
|
+
|
|
4198
|
+
# Spec schema: `QuotaAlertSettings`.
|
|
4199
|
+
type quota_alert_settings = { "enabled" => bool, "threshold" => Numeric, "lastNotifiedAt" => String | nil }
|
|
4200
|
+
|
|
4201
|
+
# Spec schema: `QuotaAlertSettingsUpdate`.
|
|
4202
|
+
type quota_alert_settings_update = { ?"enabled" => bool, ?"threshold" => Numeric }
|
|
4203
|
+
|
|
4204
|
+
# Spec schema: `QuotaListResponse`.
|
|
4205
|
+
type quota_list_response = {
|
|
4206
|
+
"rows" => Array[quota_row],
|
|
4207
|
+
"accounts" => Array[quota_account_status],
|
|
4208
|
+
"threshold" => Numeric,
|
|
4209
|
+
"unsupportedPluginIds" => Array[plugin_id]
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4212
|
+
# Spec schema: `QuotaRow`.
|
|
4213
|
+
type quota_row = {
|
|
4214
|
+
"key" => String,
|
|
4215
|
+
"accountId" => String,
|
|
4216
|
+
"accountName" => String,
|
|
4217
|
+
"pluginId" => plugin_id,
|
|
4218
|
+
"service" => String,
|
|
4219
|
+
"name" => String,
|
|
4220
|
+
"region" => String | nil,
|
|
4221
|
+
"limit" => Numeric,
|
|
4222
|
+
"used" => Numeric,
|
|
4223
|
+
"utilization" => Numeric,
|
|
4224
|
+
"unit" => String | nil,
|
|
4225
|
+
"adjustable" => bool | nil,
|
|
4226
|
+
"docsUrl" => String | nil,
|
|
4227
|
+
"observedAt" => String,
|
|
4228
|
+
"severity" => "exhausted" | "critical" | "trending" | "ok",
|
|
4229
|
+
"trend" => quota_trend
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4232
|
+
# Spec schema: `QuotaTrend`.
|
|
4233
|
+
type quota_trend = { "perDay" => Numeric | nil, "daysToExhaustion" => Numeric | nil, "points" => Integer }
|
|
4234
|
+
|
|
4100
4235
|
# Spec schema: `ReauthenticationRequired`.
|
|
4101
4236
|
type reauthentication_required = { "error" => String, "code" => "reauthentication_required" }
|
|
4102
4237
|
|
|
@@ -5437,6 +5572,7 @@ module Infrawrench
|
|
|
5437
5572
|
| "ssh-fanout"
|
|
5438
5573
|
| "metric-alerts"
|
|
5439
5574
|
| "probes"
|
|
5575
|
+
| "quotas"
|
|
5440
5576
|
| "workflows"
|
|
5441
5577
|
| "deployments"
|
|
5442
5578
|
| "settings"
|
|
@@ -5811,6 +5947,11 @@ module Infrawrench
|
|
|
5811
5947
|
def update: (id: String, body: billing_rule_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> billing_rule
|
|
5812
5948
|
end
|
|
5813
5949
|
|
|
5950
|
+
class BlastRadiusNamespace
|
|
5951
|
+
def initialize: (Transport) -> void
|
|
5952
|
+
def get: (resource_id: (resource_id & untyped), ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> blast_radius_report
|
|
5953
|
+
end
|
|
5954
|
+
|
|
5814
5955
|
class BudgetsNamespace
|
|
5815
5956
|
def initialize: (Transport) -> void
|
|
5816
5957
|
def create: (body: budget_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> budget_full
|
|
@@ -6379,6 +6520,18 @@ module Infrawrench
|
|
|
6379
6520
|
def update: (?body: { ?"firstName" => String, ?"lastName" => String }?, ?request_options: Hash[Symbol, untyped]?) -> profile_summary
|
|
6380
6521
|
end
|
|
6381
6522
|
|
|
6523
|
+
class QuotasSettingsNamespace
|
|
6524
|
+
def initialize: (Transport) -> void
|
|
6525
|
+
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> quota_alert_settings
|
|
6526
|
+
def update: (?org_id: String?, ?body: quota_alert_settings_update?, ?request_options: Hash[Symbol, untyped]?) -> quota_alert_settings
|
|
6527
|
+
end
|
|
6528
|
+
|
|
6529
|
+
class QuotasNamespace
|
|
6530
|
+
attr_reader settings: QuotasSettingsNamespace
|
|
6531
|
+
def initialize: (Transport) -> void
|
|
6532
|
+
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> quota_list_response
|
|
6533
|
+
end
|
|
6534
|
+
|
|
6382
6535
|
class ResourcesManifestNamespace
|
|
6383
6536
|
def initialize: (Transport) -> void
|
|
6384
6537
|
def create: (plugin_id: plugin_id, type_id: resource_type_id, body: apply_manifest_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
@@ -6631,6 +6784,7 @@ module Infrawrench
|
|
|
6631
6784
|
attr_reader bastions: BastionsNamespace
|
|
6632
6785
|
attr_reader billing: BillingNamespace
|
|
6633
6786
|
attr_reader billing_rules: BillingRulesNamespace
|
|
6787
|
+
attr_reader blast_radius: BlastRadiusNamespace
|
|
6634
6788
|
attr_reader budgets: BudgetsNamespace
|
|
6635
6789
|
attr_reader business_metrics: BusinessMetricsNamespace
|
|
6636
6790
|
attr_reader change_freezes: ChangeFreezesNamespace
|
|
@@ -6678,6 +6832,7 @@ module Infrawrench
|
|
|
6678
6832
|
attr_reader posture: PostureNamespace
|
|
6679
6833
|
attr_reader probes: ProbesNamespace
|
|
6680
6834
|
attr_reader profile: ProfileNamespace
|
|
6835
|
+
attr_reader quotas: QuotasNamespace
|
|
6681
6836
|
attr_reader resources: ResourcesNamespace
|
|
6682
6837
|
attr_reader rightsizing: RightsizingNamespace
|
|
6683
6838
|
attr_reader saved_cost_filters: SavedCostFiltersNamespace
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: infrawrench-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infrawrench LLC
|
|
@@ -11,7 +11,7 @@ bindir: bin
|
|
|
11
11
|
cert_chain: []
|
|
12
12
|
date: 2026-08-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description: Generated Ruby client for the Infrawrench API (v1.
|
|
14
|
+
description: Generated Ruby client for the Infrawrench API (v1.13.0). Covers the published
|
|
15
15
|
API surface only — operations marked x-internal in the spec are not generated. No
|
|
16
16
|
runtime dependencies.
|
|
17
17
|
email:
|
|
@@ -58,5 +58,5 @@ requirements: []
|
|
|
58
58
|
rubygems_version: 3.5.22
|
|
59
59
|
signing_key:
|
|
60
60
|
specification_version: 4
|
|
61
|
-
summary: Generated Ruby client for the Infrawrench API (v1.
|
|
61
|
+
summary: Generated Ruby client for the Infrawrench API (v1.13.0).
|
|
62
62
|
test_files: []
|