infrawrench-sdk 1.40.0 → 1.42.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 +67 -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 +217 -4
- 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: 41ce1304ac1505bec726552d85a7991e84c3209e7d53a8b1b736c1783d17ba45
|
|
4
|
+
data.tar.gz: 68ae5de50c037d818e628267db1b1a9c280b1d9f9e33fdd5436ef0024e8aadcf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f64200d78ef12912afb6a60b71be8fb1cf884e65d23ecce3ece9a5b29e4f25d070db16684148b0c1343fa22d8ff98cc5d40cf49b0efde4ec614b4c1feb6d7078
|
|
7
|
+
data.tar.gz: db2fcb4873211caa818baa7c992b02c89c412c813c345a221accbda516826635a96e4613ee3c444a9a6fadfbbd7d8adef5f2c04878fc54953f8b01b8183e5428
|
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.42.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
|
+
746 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.42.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.42.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.42.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.42.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.42.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.42.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -3101,6 +3101,68 @@ module Infrawrench
|
|
|
3101
3101
|
end
|
|
3102
3102
|
end
|
|
3103
3103
|
|
|
3104
|
+
# `client.carbon`
|
|
3105
|
+
class CarbonNamespace
|
|
3106
|
+
# @api private
|
|
3107
|
+
# @param transport [Transport]
|
|
3108
|
+
def initialize(transport)
|
|
3109
|
+
@transport = transport
|
|
3110
|
+
end
|
|
3111
|
+
|
|
3112
|
+
# Estimated operational carbon, with its assumptions
|
|
3113
|
+
#
|
|
3114
|
+
# An **estimate**, in the same sense the cost estimates here are, and built
|
|
3115
|
+
# to be honest about that in three ways.
|
|
3116
|
+
#
|
|
3117
|
+
# **A resource that cannot be placed is never guessed.** No published figure
|
|
3118
|
+
# for the provider, no entry for the region, no vCPU count: each produces an
|
|
3119
|
+
# `unestimated` row with a stated reason and contributes nothing to the
|
|
3120
|
+
# total. A carbon figure computed against a guessed grid is worse than no
|
|
3121
|
+
# figure, because it is a number somebody will put in a report.
|
|
3122
|
+
#
|
|
3123
|
+
# **The assumptions travel with the answer**: utilisation, PUE, the
|
|
3124
|
+
# coefficient source and its vintage are all on the response.
|
|
3125
|
+
#
|
|
3126
|
+
# **It covers processors and says so.** Virtual machines, Kubernetes nodes
|
|
3127
|
+
# and sized managed services; storage, memory, network egress and embodied
|
|
3128
|
+
# (manufacturing) emissions are excluded. Types with nothing to read (a
|
|
3129
|
+
# bucket, a DNS record) are out of scope, not unestimated.
|
|
3130
|
+
#
|
|
3131
|
+
# What to read comes from each plugin's `carbon` declaration (or its
|
|
3132
|
+
# `rightsizing` one): the region field, and vCPUs either directly or through
|
|
3133
|
+
# the create form's size catalogue. Managed clusters whose nodes are listed
|
|
3134
|
+
# in their own right are left out of the total, and a Kubernetes node that
|
|
3135
|
+
# is also an instance is counted once (`duplicateCount`).
|
|
3136
|
+
#
|
|
3137
|
+
# Grid figures are Cloud Carbon Footprint's (Apache-2.0) for AWS, GCP and
|
|
3138
|
+
# Azure, and Ember's 2024 country figures for every other provider; each row
|
|
3139
|
+
# says which (`gridBasis`). They are not measured by us. One resource's
|
|
3140
|
+
# monthly figure rides `POST /resources/cost-estimate` as `carbon`, beside
|
|
3141
|
+
# its price.
|
|
3142
|
+
#
|
|
3143
|
+
# _Requires permission: `costs:read`._
|
|
3144
|
+
#
|
|
3145
|
+
# GET /api/org/{orgId}/carbon
|
|
3146
|
+
#
|
|
3147
|
+
# Raises on 400: Bad request
|
|
3148
|
+
#
|
|
3149
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
3150
|
+
# constructed with.
|
|
3151
|
+
# @param window_days [Integer, nil] Defaults to 30.
|
|
3152
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
3153
|
+
# @return [Hash] Parsed JSON, shaped as `CarbonEstimate` — see `sig/infrawrench/sdk.rbs`.
|
|
3154
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
3155
|
+
def get(org_id: nil, window_days: nil, request_options: nil)
|
|
3156
|
+
@transport.request(
|
|
3157
|
+
http_method: "GET",
|
|
3158
|
+
path: "/api/org/{orgId}/carbon",
|
|
3159
|
+
path_params: { "orgId" => org_id },
|
|
3160
|
+
query: { "windowDays" => window_days },
|
|
3161
|
+
request_options: request_options
|
|
3162
|
+
)
|
|
3163
|
+
end
|
|
3164
|
+
end
|
|
3165
|
+
|
|
3104
3166
|
# `client.change_freezes`
|
|
3105
3167
|
class ChangeFreezesNamespace
|
|
3106
3168
|
# @api private
|
|
@@ -16749,6 +16811,8 @@ module Infrawrench
|
|
|
16749
16811
|
attr_reader :business_metrics
|
|
16750
16812
|
# @return [CalendarNamespace] `client.calendar`
|
|
16751
16813
|
attr_reader :calendar
|
|
16814
|
+
# @return [CarbonNamespace] `client.carbon`
|
|
16815
|
+
attr_reader :carbon
|
|
16752
16816
|
# @return [ChangeFreezesNamespace] `client.change_freezes`
|
|
16753
16817
|
attr_reader :change_freezes
|
|
16754
16818
|
# @return [ChangesNamespace] `client.changes`
|
|
@@ -16928,6 +16992,7 @@ module Infrawrench
|
|
|
16928
16992
|
@budgets = BudgetsNamespace.new(@transport)
|
|
16929
16993
|
@business_metrics = BusinessMetricsNamespace.new(@transport)
|
|
16930
16994
|
@calendar = CalendarNamespace.new(@transport)
|
|
16995
|
+
@carbon = CarbonNamespace.new(@transport)
|
|
16931
16996
|
@change_freezes = ChangeFreezesNamespace.new(@transport)
|
|
16932
16997
|
@changes = ChangesNamespace.new(@transport)
|
|
16933
16998
|
@chat = ChatNamespace.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.42.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.42.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.42.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.42.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.42.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.42.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.42.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.42.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.42.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.42.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.42.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1184,6 +1184,91 @@ module Infrawrench
|
|
|
1184
1184
|
"slots" => Array[capacity_slot]
|
|
1185
1185
|
}
|
|
1186
1186
|
|
|
1187
|
+
# Spec schema: `CarbonAssumptions`.
|
|
1188
|
+
type carbon_assumptions = {
|
|
1189
|
+
"cpuUtilization" => Numeric,
|
|
1190
|
+
"pue" => Hash[String, Numeric],
|
|
1191
|
+
"vcpuWatts" => Hash[String, { "min" => Numeric, "max" => Numeric }],
|
|
1192
|
+
"coefficientSource" => String,
|
|
1193
|
+
"coefficientVintage" => String,
|
|
1194
|
+
"scope" => String
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
# Spec schema: `CarbonEstimate`.
|
|
1198
|
+
type carbon_estimate = {
|
|
1199
|
+
"windowDays" => Integer,
|
|
1200
|
+
"totalKgCo2e" => Numeric,
|
|
1201
|
+
"totalKwh" => Numeric,
|
|
1202
|
+
"estimatedCount" => Integer,
|
|
1203
|
+
"unestimated" => Array[carbon_unestimated_row],
|
|
1204
|
+
"unestimatedCount" => Integer,
|
|
1205
|
+
"duplicateCount" => Integer,
|
|
1206
|
+
"byRegion" => Array[carbon_group],
|
|
1207
|
+
"byAccount" => Array[carbon_group],
|
|
1208
|
+
"byProvider" => Array[carbon_group],
|
|
1209
|
+
"rows" => Array[carbon_row],
|
|
1210
|
+
"assumptions" => carbon_assumptions,
|
|
1211
|
+
"generatedAt" => String
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
# Monthly (730 h) footprint, or null.
|
|
1215
|
+
#
|
|
1216
|
+
# Spec schema: `CarbonFootprint`.
|
|
1217
|
+
type carbon_footprint = {
|
|
1218
|
+
"vcpus" => Numeric,
|
|
1219
|
+
"count" => Integer,
|
|
1220
|
+
"region" => String,
|
|
1221
|
+
"grid" => String,
|
|
1222
|
+
"gridIntensity" => Numeric,
|
|
1223
|
+
"gridZone" => String,
|
|
1224
|
+
"gridBasis" => "ccf" | "ember-2024",
|
|
1225
|
+
"pue" => Numeric,
|
|
1226
|
+
"kwh" => Numeric,
|
|
1227
|
+
"kgCo2e" => Numeric
|
|
1228
|
+
}
|
|
1229
|
+
| nil
|
|
1230
|
+
|
|
1231
|
+
# Spec schema: `CarbonGroup`.
|
|
1232
|
+
type carbon_group = {
|
|
1233
|
+
"key" => String,
|
|
1234
|
+
"label" => String,
|
|
1235
|
+
"kgCo2e" => Numeric,
|
|
1236
|
+
"kwh" => Numeric,
|
|
1237
|
+
"resourceCount" => Integer
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
# Spec schema: `CarbonRow`.
|
|
1241
|
+
type carbon_row = {
|
|
1242
|
+
"vcpus" => Numeric,
|
|
1243
|
+
"count" => Integer,
|
|
1244
|
+
"region" => String,
|
|
1245
|
+
"grid" => String,
|
|
1246
|
+
"gridIntensity" => Numeric,
|
|
1247
|
+
"gridZone" => String,
|
|
1248
|
+
"gridBasis" => "ccf" | "ember-2024",
|
|
1249
|
+
"pue" => Numeric,
|
|
1250
|
+
"kwh" => Numeric,
|
|
1251
|
+
"kgCo2e" => Numeric,
|
|
1252
|
+
"resourceId" => String,
|
|
1253
|
+
"displayName" => String,
|
|
1254
|
+
"pluginId" => String,
|
|
1255
|
+
"resourceTypeId" => String,
|
|
1256
|
+
"accountId" => String,
|
|
1257
|
+
"accountName" => String | nil
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
# Spec schema: `CarbonUnestimatedRow`.
|
|
1261
|
+
type carbon_unestimated_row = {
|
|
1262
|
+
"resourceId" => String,
|
|
1263
|
+
"displayName" => String,
|
|
1264
|
+
"pluginId" => String,
|
|
1265
|
+
"resourceTypeId" => String,
|
|
1266
|
+
"accountId" => String,
|
|
1267
|
+
"accountName" => String | nil,
|
|
1268
|
+
"region" => String | nil,
|
|
1269
|
+
"reason" => "unsupported-provider" | "unknown-region" | "unknown-size"
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1187
1272
|
# Which charge-type basis both windows are read on. `cash` (the default) is
|
|
1188
1273
|
# what the provider charged on the day it charged it; `amortized` spreads a
|
|
1189
1274
|
# commitment's up-front fee across the term it buys. It is echoed on every
|
|
@@ -2955,11 +3040,14 @@ module Infrawrench
|
|
|
2955
3040
|
"currency" => String | nil,
|
|
2956
3041
|
"partial" => bool,
|
|
2957
3042
|
"unpricedCount" => Integer,
|
|
3043
|
+
"monthlyKgCo2e" => Numeric | nil,
|
|
3044
|
+
"uncarbonedCount" => Integer,
|
|
2958
3045
|
"members" => Array[{
|
|
2959
3046
|
"memberKey" => String,
|
|
2960
3047
|
"displayName" => String,
|
|
2961
3048
|
"monthlyAmount" => Numeric | nil,
|
|
2962
|
-
"currency" => String | nil
|
|
3049
|
+
"currency" => String | nil,
|
|
3050
|
+
"monthlyKgCo2e" => Numeric | nil
|
|
2963
3051
|
}]
|
|
2964
3052
|
}
|
|
2965
3053
|
|
|
@@ -4833,6 +4921,8 @@ module Infrawrench
|
|
|
4833
4921
|
"projectedCpuP95" => Numeric,
|
|
4834
4922
|
"currency" => String,
|
|
4835
4923
|
"monthlySaving" => Numeric | nil,
|
|
4924
|
+
"currentMonthlyKgCo2e" => Numeric | nil,
|
|
4925
|
+
"monthlyKgCo2eSaving" => Numeric | nil,
|
|
4836
4926
|
"resizeNote" => String | nil,
|
|
4837
4927
|
"lastSyncedAt" => String | nil
|
|
4838
4928
|
}
|
|
@@ -5558,6 +5648,24 @@ module Infrawrench
|
|
|
5558
5648
|
"parentResourceId" => resource_id & (String | nil)
|
|
5559
5649
|
}
|
|
5560
5650
|
|
|
5651
|
+
# Estimated monthly CO2e of the same configuration, beside its price. Null for
|
|
5652
|
+
# a peer resource or when the size catalogue could not be read.
|
|
5653
|
+
#
|
|
5654
|
+
# Spec schema: `ResourceCarbonEstimate`.
|
|
5655
|
+
type resource_carbon_estimate = {
|
|
5656
|
+
"estimate" => carbon_footprint,
|
|
5657
|
+
"reason" => "unsupported-provider" | "unknown-region" | "unknown-size" | nil,
|
|
5658
|
+
"inScope" => bool,
|
|
5659
|
+
"role" => "instance" | "aggregate",
|
|
5660
|
+
"assumptions" => {
|
|
5661
|
+
"cpuUtilization" => Numeric,
|
|
5662
|
+
"coefficientSource" => String,
|
|
5663
|
+
"coefficientVintage" => String,
|
|
5664
|
+
"scope" => String
|
|
5665
|
+
}
|
|
5666
|
+
}
|
|
5667
|
+
| nil
|
|
5668
|
+
|
|
5561
5669
|
# Spec schema: `ResourceChangeEntry`.
|
|
5562
5670
|
type resource_change_entry = {
|
|
5563
5671
|
"id" => String,
|
|
@@ -5739,26 +5847,39 @@ module Infrawrench
|
|
|
5739
5847
|
| "access-policy"
|
|
5740
5848
|
| "account"
|
|
5741
5849
|
| "acm-certificate"
|
|
5850
|
+
| "admin-api-key"
|
|
5851
|
+
| "agent"
|
|
5742
5852
|
| "agent-api-key"
|
|
5853
|
+
| "agent-config"
|
|
5854
|
+
| "agent-session"
|
|
5855
|
+
| "agent-variable"
|
|
5743
5856
|
| "ai-gateway"
|
|
5744
5857
|
| "ai-search"
|
|
5745
5858
|
| "alb"
|
|
5746
5859
|
| "alert-policy"
|
|
5860
|
+
| "alignment-job"
|
|
5747
5861
|
| "alloydb-cluster"
|
|
5748
5862
|
| "alloydb-instance"
|
|
5863
|
+
| "analytics-engine-dataset"
|
|
5749
5864
|
| "api-gateway"
|
|
5750
5865
|
| "api-key"
|
|
5751
5866
|
| "app"
|
|
5752
5867
|
| "app-engine-service"
|
|
5868
|
+
| "app-secret"
|
|
5753
5869
|
| "apprunner-service"
|
|
5754
5870
|
| "artifact-registry-repo"
|
|
5755
5871
|
| "audit-event"
|
|
5756
5872
|
| "auto-scaling-group"
|
|
5873
|
+
| "autoscale-pool"
|
|
5874
|
+
| "azure-ai-services"
|
|
5757
5875
|
| "azure-aks-cluster"
|
|
5758
5876
|
| "azure-app-gateway"
|
|
5759
5877
|
| "azure-app-registration"
|
|
5760
5878
|
| "azure-app-service"
|
|
5761
5879
|
| "azure-app-service-plan"
|
|
5880
|
+
| "azure-container-app"
|
|
5881
|
+
| "azure-container-app-environment"
|
|
5882
|
+
| "azure-container-app-job"
|
|
5762
5883
|
| "azure-container-instance"
|
|
5763
5884
|
| "azure-container-registry"
|
|
5764
5885
|
| "azure-cosmos-db"
|
|
@@ -5771,6 +5892,7 @@ module Infrawrench
|
|
|
5771
5892
|
| "azure-load-balancer"
|
|
5772
5893
|
| "azure-log-analytics"
|
|
5773
5894
|
| "azure-managed-identity"
|
|
5895
|
+
| "azure-managed-redis"
|
|
5774
5896
|
| "azure-mysql-flexible"
|
|
5775
5897
|
| "azure-nat-gateway"
|
|
5776
5898
|
| "azure-nsg"
|
|
@@ -5789,6 +5911,11 @@ module Infrawrench
|
|
|
5789
5911
|
| "backend-service"
|
|
5790
5912
|
| "backup-vault"
|
|
5791
5913
|
| "balance"
|
|
5914
|
+
| "basin-catalog"
|
|
5915
|
+
| "basin-pipeline"
|
|
5916
|
+
| "basin-sink"
|
|
5917
|
+
| "basin-stream"
|
|
5918
|
+
| "basin-table"
|
|
5792
5919
|
| "batch"
|
|
5793
5920
|
| "batch-inference-job"
|
|
5794
5921
|
| "batch-job-queue"
|
|
@@ -5797,10 +5924,17 @@ module Infrawrench
|
|
|
5797
5924
|
| "bigquery-table"
|
|
5798
5925
|
| "bigtable-instance"
|
|
5799
5926
|
| "block-volume"
|
|
5927
|
+
| "byok-credential"
|
|
5800
5928
|
| "cache-rule"
|
|
5801
5929
|
| "cached-content"
|
|
5930
|
+
| "cdn-endpoint"
|
|
5802
5931
|
| "certificate"
|
|
5932
|
+
| "ch-api-key"
|
|
5933
|
+
| "ch-backup"
|
|
5934
|
+
| "ch-clickpipe"
|
|
5803
5935
|
| "ch-database"
|
|
5936
|
+
| "ch-member"
|
|
5937
|
+
| "ch-postgres"
|
|
5804
5938
|
| "ch-service"
|
|
5805
5939
|
| "cloud-armor-policy"
|
|
5806
5940
|
| "cloud-build-trigger"
|
|
@@ -5810,6 +5944,7 @@ module Infrawrench
|
|
|
5810
5944
|
| "cloud-function"
|
|
5811
5945
|
| "cloud-nat"
|
|
5812
5946
|
| "cloud-router"
|
|
5947
|
+
| "cloud-run-job"
|
|
5813
5948
|
| "cloud-run-service"
|
|
5814
5949
|
| "cloud-scheduler-job"
|
|
5815
5950
|
| "cloud-tasks-queue"
|
|
@@ -5823,6 +5958,7 @@ module Infrawrench
|
|
|
5823
5958
|
| "codepipeline-pipeline"
|
|
5824
5959
|
| "cognito-user-pool"
|
|
5825
5960
|
| "collection"
|
|
5961
|
+
| "collection-document"
|
|
5826
5962
|
| "composer-environment"
|
|
5827
5963
|
| "connection"
|
|
5828
5964
|
| "container"
|
|
@@ -5837,6 +5973,8 @@ module Infrawrench
|
|
|
5837
5973
|
| "databricks-dashboard"
|
|
5838
5974
|
| "databricks-function"
|
|
5839
5975
|
| "databricks-job"
|
|
5976
|
+
| "databricks-lakebase-branch"
|
|
5977
|
+
| "databricks-lakebase-project"
|
|
5840
5978
|
| "databricks-model-version"
|
|
5841
5979
|
| "databricks-node-type"
|
|
5842
5980
|
| "databricks-pipeline"
|
|
@@ -5863,7 +6001,9 @@ module Infrawrench
|
|
|
5863
6001
|
| "directory"
|
|
5864
6002
|
| "directory-group"
|
|
5865
6003
|
| "directory-user"
|
|
6004
|
+
| "distribution-credential"
|
|
5866
6005
|
| "dns-record"
|
|
6006
|
+
| "dns-zone"
|
|
5867
6007
|
| "docker-container"
|
|
5868
6008
|
| "docker-image"
|
|
5869
6009
|
| "docker-network"
|
|
@@ -5871,6 +6011,7 @@ module Infrawrench
|
|
|
5871
6011
|
| "documentdb-cluster"
|
|
5872
6012
|
| "doks-cluster"
|
|
5873
6013
|
| "domain"
|
|
6014
|
+
| "dpo-job"
|
|
5874
6015
|
| "droplet"
|
|
5875
6016
|
| "durable-object-namespace"
|
|
5876
6017
|
| "dynamodb-table"
|
|
@@ -5882,12 +6023,16 @@ module Infrawrench
|
|
|
5882
6023
|
| "eks-cluster"
|
|
5883
6024
|
| "elastic-ip"
|
|
5884
6025
|
| "elasticache-cluster"
|
|
6026
|
+
| "elasticache-serverless-cache"
|
|
5885
6027
|
| "email-routing-rule"
|
|
5886
6028
|
| "embed-job"
|
|
5887
6029
|
| "endpoint"
|
|
5888
6030
|
| "eval"
|
|
5889
6031
|
| "evaluation"
|
|
6032
|
+
| "evaluation-job"
|
|
6033
|
+
| "evaluator"
|
|
5890
6034
|
| "eventbridge-rule"
|
|
6035
|
+
| "feature-flag"
|
|
5891
6036
|
| "file"
|
|
5892
6037
|
| "file-search-document"
|
|
5893
6038
|
| "file-search-store"
|
|
@@ -5897,6 +6042,7 @@ module Infrawrench
|
|
|
5897
6042
|
| "firestore-database"
|
|
5898
6043
|
| "firewall"
|
|
5899
6044
|
| "firewall-rule"
|
|
6045
|
+
| "flexible-ip"
|
|
5900
6046
|
| "floating-ip"
|
|
5901
6047
|
| "folder"
|
|
5902
6048
|
| "forwarding-rule"
|
|
@@ -5911,10 +6057,13 @@ module Infrawrench
|
|
|
5911
6057
|
| "gen-ai-model-router"
|
|
5912
6058
|
| "gke-cluster"
|
|
5913
6059
|
| "glue-database"
|
|
6060
|
+
| "gpu-cluster"
|
|
5914
6061
|
| "groq-batch"
|
|
5915
6062
|
| "groq-file"
|
|
5916
6063
|
| "groq-fine-tuning"
|
|
5917
6064
|
| "groq-model"
|
|
6065
|
+
| "group"
|
|
6066
|
+
| "guardrail"
|
|
5918
6067
|
| "hardware"
|
|
5919
6068
|
| "health-check"
|
|
5920
6069
|
| "healthcheck"
|
|
@@ -5930,6 +6079,7 @@ module Infrawrench
|
|
|
5930
6079
|
| "internet-gateway"
|
|
5931
6080
|
| "invitation"
|
|
5932
6081
|
| "invite"
|
|
6082
|
+
| "invoice"
|
|
5933
6083
|
| "ip-access-rule"
|
|
5934
6084
|
| "ip-allocation"
|
|
5935
6085
|
| "job"
|
|
@@ -5950,11 +6100,16 @@ module Infrawrench
|
|
|
5950
6100
|
| "kafka-consumer-group"
|
|
5951
6101
|
| "kafka-topic"
|
|
5952
6102
|
| "kapsule-cluster"
|
|
6103
|
+
| "key"
|
|
5953
6104
|
| "kinesis-stream"
|
|
5954
6105
|
| "kms-key"
|
|
5955
6106
|
| "kms-key-ring"
|
|
6107
|
+
| "knowledge-base-document"
|
|
5956
6108
|
| "kv-namespace"
|
|
5957
6109
|
| "lambda-function"
|
|
6110
|
+
| "language-id-job"
|
|
6111
|
+
| "live-session"
|
|
6112
|
+
| "llm-model"
|
|
5958
6113
|
| "load-balancer"
|
|
5959
6114
|
| "log-sink"
|
|
5960
6115
|
| "logpush-job"
|
|
@@ -5968,16 +6123,20 @@ module Infrawrench
|
|
|
5968
6123
|
| "memcached-instance"
|
|
5969
6124
|
| "memorystore-memcached"
|
|
5970
6125
|
| "memorystore-redis"
|
|
6126
|
+
| "memorystore-valkey"
|
|
5971
6127
|
| "message-batch"
|
|
6128
|
+
| "mistral-agent"
|
|
5972
6129
|
| "mistral-api-key"
|
|
5973
6130
|
| "mistral-batch-job"
|
|
5974
6131
|
| "mistral-file"
|
|
5975
6132
|
| "mistral-fine-tuning-job"
|
|
6133
|
+
| "mistral-library"
|
|
5976
6134
|
| "mistral-model"
|
|
5977
6135
|
| "mistral-voice"
|
|
5978
6136
|
| "model"
|
|
5979
6137
|
| "model-api-key"
|
|
5980
6138
|
| "model-endpoint"
|
|
6139
|
+
| "model-version"
|
|
5981
6140
|
| "mongodb-database"
|
|
5982
6141
|
| "mq-broker"
|
|
5983
6142
|
| "msk-cluster"
|
|
@@ -6000,30 +6159,45 @@ module Infrawrench
|
|
|
6000
6159
|
| "neon-snapshot"
|
|
6001
6160
|
| "neptune-cluster"
|
|
6002
6161
|
| "netlify-build-hook"
|
|
6162
|
+
| "netlify-database"
|
|
6003
6163
|
| "netlify-deploy"
|
|
6004
6164
|
| "netlify-dns-record"
|
|
6005
6165
|
| "netlify-dns-zone"
|
|
6006
6166
|
| "netlify-env-var"
|
|
6007
6167
|
| "netlify-form"
|
|
6168
|
+
| "netlify-notification-hook"
|
|
6008
6169
|
| "netlify-site"
|
|
6170
|
+
| "netlify-snippet"
|
|
6009
6171
|
| "network"
|
|
6010
6172
|
| "nfs-share"
|
|
6011
6173
|
| "notification-policy"
|
|
6012
6174
|
| "object-storage-bucket"
|
|
6175
|
+
| "octavia-load-balancer"
|
|
6013
6176
|
| "opensearch-cluster"
|
|
6014
6177
|
| "opensearch-domain"
|
|
6015
6178
|
| "organization"
|
|
6179
|
+
| "organization-api-key"
|
|
6180
|
+
| "organization-domain"
|
|
6016
6181
|
| "organization-membership"
|
|
6182
|
+
| "organization-role"
|
|
6017
6183
|
| "organization-user"
|
|
6018
6184
|
| "page-rule"
|
|
6185
|
+
| "permission"
|
|
6019
6186
|
| "pg-database"
|
|
6020
6187
|
| "pg-schema"
|
|
6188
|
+
| "phone-number"
|
|
6021
6189
|
| "placement-group"
|
|
6190
|
+
| "postgres-cluster"
|
|
6191
|
+
| "posture-integration"
|
|
6022
6192
|
| "prediction"
|
|
6023
6193
|
| "primary-ip"
|
|
6024
6194
|
| "private-network"
|
|
6195
|
+
| "product-environment"
|
|
6025
6196
|
| "project"
|
|
6026
6197
|
| "project-api-key"
|
|
6198
|
+
| "project-rate-limit"
|
|
6199
|
+
| "project-service-account"
|
|
6200
|
+
| "project-user"
|
|
6027
6201
|
| "pronunciation-dict"
|
|
6028
6202
|
| "pronunciation-dictionary"
|
|
6029
6203
|
| "provider"
|
|
@@ -6032,11 +6206,15 @@ module Infrawrench
|
|
|
6032
6206
|
| "ps-database"
|
|
6033
6207
|
| "ps-deploy-request"
|
|
6034
6208
|
| "ps-password"
|
|
6209
|
+
| "ps-role"
|
|
6210
|
+
| "ps-webhook"
|
|
6035
6211
|
| "pubsub-subscription"
|
|
6036
6212
|
| "pubsub-topic"
|
|
6213
|
+
| "purchase"
|
|
6037
6214
|
| "queue"
|
|
6038
6215
|
| "quota"
|
|
6039
6216
|
| "r2-bucket"
|
|
6217
|
+
| "rate-limit"
|
|
6040
6218
|
| "rate-limit-rule"
|
|
6041
6219
|
| "rdb-instance"
|
|
6042
6220
|
| "rds-cluster"
|
|
@@ -6044,19 +6222,29 @@ module Infrawrench
|
|
|
6044
6222
|
| "redirect-rule"
|
|
6045
6223
|
| "redis-instance"
|
|
6046
6224
|
| "redshift-cluster"
|
|
6225
|
+
| "registry-namespace"
|
|
6226
|
+
| "reinforcement-fine-tuning-job"
|
|
6047
6227
|
| "reserved-ip"
|
|
6048
6228
|
| "role"
|
|
6049
6229
|
| "route-table"
|
|
6050
6230
|
| "route53-health-check"
|
|
6051
6231
|
| "route53-hosted-zone"
|
|
6052
6232
|
| "route53-record-set"
|
|
6233
|
+
| "router"
|
|
6053
6234
|
| "s3-bucket"
|
|
6054
6235
|
| "sagemaker-endpoint"
|
|
6055
6236
|
| "secret"
|
|
6056
6237
|
| "secret-manager-secret"
|
|
6057
6238
|
| "secrets-manager-secret"
|
|
6239
|
+
| "secrets-store-secret"
|
|
6058
6240
|
| "security-group"
|
|
6241
|
+
| "sentiment-job"
|
|
6059
6242
|
| "server"
|
|
6243
|
+
| "serverless-container"
|
|
6244
|
+
| "serverless-function"
|
|
6245
|
+
| "service"
|
|
6246
|
+
| "shared-volume"
|
|
6247
|
+
| "skill"
|
|
6060
6248
|
| "snapshot"
|
|
6061
6249
|
| "sns-topic"
|
|
6062
6250
|
| "spaces-bucket"
|
|
@@ -6064,6 +6252,9 @@ module Infrawrench
|
|
|
6064
6252
|
| "spanner-database"
|
|
6065
6253
|
| "spanner-instance"
|
|
6066
6254
|
| "spectrum-application"
|
|
6255
|
+
| "spend-alert"
|
|
6256
|
+
| "spend-limit"
|
|
6257
|
+
| "spending-limit"
|
|
6067
6258
|
| "sqs-queue"
|
|
6068
6259
|
| "ssh-key"
|
|
6069
6260
|
| "ssh-target"
|
|
@@ -6071,13 +6262,17 @@ module Infrawrench
|
|
|
6071
6262
|
| "ssm-parameter"
|
|
6072
6263
|
| "static-ip"
|
|
6073
6264
|
| "step-function"
|
|
6265
|
+
| "storage-box"
|
|
6074
6266
|
| "subnet"
|
|
6075
6267
|
| "supervised-fine-tuning-job"
|
|
6268
|
+
| "tailnet"
|
|
6076
6269
|
| "target-group"
|
|
6270
|
+
| "topic-job"
|
|
6077
6271
|
| "training"
|
|
6078
6272
|
| "transcript"
|
|
6079
6273
|
| "transcription"
|
|
6080
6274
|
| "transformation"
|
|
6275
|
+
| "trigger"
|
|
6081
6276
|
| "tuned-model"
|
|
6082
6277
|
| "tunnel"
|
|
6083
6278
|
| "turnstile-widget"
|
|
@@ -6088,32 +6283,44 @@ module Infrawrench
|
|
|
6088
6283
|
| "turso-location"
|
|
6089
6284
|
| "turso-organization-invite"
|
|
6090
6285
|
| "turso-organization-member"
|
|
6286
|
+
| "upload-mapping"
|
|
6091
6287
|
| "upload-preset"
|
|
6288
|
+
| "uptime-check"
|
|
6092
6289
|
| "user"
|
|
6290
|
+
| "user-invite"
|
|
6093
6291
|
| "ut-app"
|
|
6094
6292
|
| "ut-file"
|
|
6095
6293
|
| "vector-store"
|
|
6096
6294
|
| "vectorize-index"
|
|
6097
6295
|
| "vercel-deployment"
|
|
6296
|
+
| "vercel-dns-record"
|
|
6098
6297
|
| "vercel-domain"
|
|
6099
6298
|
| "vercel-env-var"
|
|
6100
6299
|
| "vercel-project"
|
|
6101
6300
|
| "vercel-team"
|
|
6301
|
+
| "vercel-webhook"
|
|
6102
6302
|
| "vertex-ai-endpoint"
|
|
6103
6303
|
| "vertex-gemini-model"
|
|
6104
6304
|
| "vocabulary"
|
|
6105
6305
|
| "voice"
|
|
6306
|
+
| "voice-agent"
|
|
6106
6307
|
| "volume"
|
|
6308
|
+
| "volume-snapshot"
|
|
6107
6309
|
| "vpc"
|
|
6310
|
+
| "vpc-nat-gateway"
|
|
6108
6311
|
| "vpc-network"
|
|
6312
|
+
| "vpc-peering"
|
|
6109
6313
|
| "waf-web-acl"
|
|
6110
6314
|
| "waiting-room"
|
|
6315
|
+
| "webhook"
|
|
6111
6316
|
| "webhook-endpoint"
|
|
6317
|
+
| "webhook-subscription"
|
|
6112
6318
|
| "worker"
|
|
6113
6319
|
| "worker-route"
|
|
6114
6320
|
| "workers-ai-model"
|
|
6115
6321
|
| "workflow"
|
|
6116
6322
|
| "workspace"
|
|
6323
|
+
| "workspace-member"
|
|
6117
6324
|
| "zone"
|
|
6118
6325
|
|
|
6119
6326
|
# Spec schema: `ResourceTypeSummary`.
|
|
@@ -7693,6 +7900,11 @@ module Infrawrench
|
|
|
7693
7900
|
def get: (?org_id: String?, ?from: String?, ?to: String?, ?kinds: String?, ?request_options: Hash[Symbol, untyped]?) -> calendar_response
|
|
7694
7901
|
end
|
|
7695
7902
|
|
|
7903
|
+
class CarbonNamespace
|
|
7904
|
+
def initialize: (Transport) -> void
|
|
7905
|
+
def get: (?org_id: String?, ?window_days: Integer?, ?request_options: Hash[Symbol, untyped]?) -> carbon_estimate
|
|
7906
|
+
end
|
|
7907
|
+
|
|
7696
7908
|
class ChangeFreezesNamespace
|
|
7697
7909
|
def initialize: (Transport) -> void
|
|
7698
7910
|
def create: (body: change_freeze_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> change_freeze
|
|
@@ -8409,7 +8621,7 @@ module Infrawrench
|
|
|
8409
8621
|
attr_reader ssh_install: ResourcesSshInstallNamespace
|
|
8410
8622
|
def initialize: (Transport) -> void
|
|
8411
8623
|
def attach: (body: attach_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
8412
|
-
def cost_estimate: (body: cost_estimate_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> { "estimate" => cost_estimate }
|
|
8624
|
+
def cost_estimate: (body: cost_estimate_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> { "estimate" => cost_estimate, "carbon" => resource_carbon_estimate }
|
|
8413
8625
|
def create: (body: create_resource_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> create_resource_response
|
|
8414
8626
|
def create_config: (body: create_config_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> json_object
|
|
8415
8627
|
def create_pricing: (body: create_pricing_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Hash[String, json_object]
|
|
@@ -8729,6 +8941,7 @@ module Infrawrench
|
|
|
8729
8941
|
attr_reader budgets: BudgetsNamespace
|
|
8730
8942
|
attr_reader business_metrics: BusinessMetricsNamespace
|
|
8731
8943
|
attr_reader calendar: CalendarNamespace
|
|
8944
|
+
attr_reader carbon: CarbonNamespace
|
|
8732
8945
|
attr_reader change_freezes: ChangeFreezesNamespace
|
|
8733
8946
|
attr_reader changes: ChangesNamespace
|
|
8734
8947
|
attr_reader chat: ChatNamespace
|
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.42.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-10-03 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.42.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.42.0).
|
|
62
62
|
test_files: []
|