infrawrench-sdk 1.84.0 → 1.86.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 +171 -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 +70 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae4c02e72b39e8c0362d1b358b6589ddea93672c78d57f750818f110013e82d9
|
|
4
|
+
data.tar.gz: ae08eb5344b44fa0c890573ff1c4bb362d79306249dcc921add5ccb73aede5f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 354c7ab8e1d3ce10c422ede0cf64c9ade15a0564fe86b0e67243e7fae8a024c07aa076eaa1c13c8cdaeab4ffc251af75855ae4110260a3e28dfa50c965dd088d
|
|
7
|
+
data.tar.gz: 8138a3f7f41e31a2e19ec2d08fae3485db39722ff563a62ead973f08ea00e05de6e5636723512275d4454b94629c356821f268d0bc13f34145c1fcb8c28aae82
|
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.86.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
|
+
1271 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.86.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.86.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.86.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.86.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.86.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.86.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -2909,6 +2909,137 @@ module Infrawrench
|
|
|
2909
2909
|
end
|
|
2910
2910
|
end
|
|
2911
2911
|
|
|
2912
|
+
# `client.aws_pricing`
|
|
2913
|
+
class AwsPricingNamespace
|
|
2914
|
+
# @api private
|
|
2915
|
+
# @param transport [Transport]
|
|
2916
|
+
def initialize(transport)
|
|
2917
|
+
@transport = transport
|
|
2918
|
+
end
|
|
2919
|
+
|
|
2920
|
+
# Run a read-only SQL query over AWS pricing data
|
|
2921
|
+
#
|
|
2922
|
+
# Runs one read-only ClickHouse statement against the AWS pricing warehouse:
|
|
2923
|
+
# every instance type's specs and every price AWS has listed for it (on
|
|
2924
|
+
# demand, reserved and EC2 spot), in every region, with history, for EC2,
|
|
2925
|
+
# RDS, ElastiCache, OpenSearch, Redshift, DocumentDB, Neptune, MemoryDB,
|
|
2926
|
+
# DAX, SageMaker, EMR and GameLift. It is the data behind
|
|
2927
|
+
# instances.infrawrench.com. Needs no scope. Use `GET
|
|
2928
|
+
# /api/v1/aws-pricing/schema` for the columns, or the tables below; filter
|
|
2929
|
+
# `prices` on `platform` and `current`.
|
|
2930
|
+
#
|
|
2931
|
+
# - `prices`: Every price AWS has listed for an instance type, one row per
|
|
2932
|
+
# period a price held. `current = true` (equivalently `valid_to IS NULL`) is
|
|
2933
|
+
# the price on offer now; filter on it unless the question is about history.
|
|
2934
|
+
# A product's price is identified by (platform, instance_type, region,
|
|
2935
|
+
# pricing, lease, offering_class, purchase_option) plus its variant columns,
|
|
2936
|
+
# so always fix the variant columns that matter for the platform (see the
|
|
2937
|
+
# defaults in the notes) or you will mix e.g. Windows and Linux prices.
|
|
2938
|
+
# - `instance_types`: One row per instance type per platform with its
|
|
2939
|
+
# current specs. EC2 spot prices use the `ec2` rows. Specs AWS does not list
|
|
2940
|
+
# are NULL or `''`; `attributes` has every attribute AWS publishes, as
|
|
2941
|
+
# strings.
|
|
2942
|
+
# - `attribute_changes`: History of instance attributes: the values each
|
|
2943
|
+
# type was first listed with, then every change. Use it for questions like
|
|
2944
|
+
# when a spec changed.
|
|
2945
|
+
# - `regions`: Region codes and the names AWS gives them, per platform's
|
|
2946
|
+
# price list. Use it to turn a city or country into a region code.
|
|
2947
|
+
# - `sync_state`: When each bundle was loaded and which AWS price lists it
|
|
2948
|
+
# covers; `max(price_list_to)` is how fresh the data is.
|
|
2949
|
+
#
|
|
2950
|
+
# POST /api/v1/aws-pricing/query
|
|
2951
|
+
#
|
|
2952
|
+
# Raises on 400: The query was refused: not read-only, more than one
|
|
2953
|
+
# statement, or ClickHouse's own error (unknown column, syntax), with its
|
|
2954
|
+
# message
|
|
2955
|
+
#
|
|
2956
|
+
# Raises on 401: Unauthenticated
|
|
2957
|
+
#
|
|
2958
|
+
# Raises on 502: The warehouse could not answer; try again shortly
|
|
2959
|
+
#
|
|
2960
|
+
# Raises on 503: A backing service this endpoint depends on is not available
|
|
2961
|
+
#
|
|
2962
|
+
# Raises on 504: The query ran longer than 30 seconds
|
|
2963
|
+
#
|
|
2964
|
+
# @param body [Hash] Request body, shaped as `AwsPricingQueryRequest`.
|
|
2965
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
2966
|
+
# @return [Hash] Parsed JSON, shaped as `AwsPricingQueryResult` — see
|
|
2967
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
2968
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
2969
|
+
def query(body:, request_options: nil)
|
|
2970
|
+
@transport.request(
|
|
2971
|
+
http_method: "POST",
|
|
2972
|
+
path: "/api/v1/aws-pricing/query",
|
|
2973
|
+
body: body,
|
|
2974
|
+
request_options: request_options
|
|
2975
|
+
)
|
|
2976
|
+
end
|
|
2977
|
+
|
|
2978
|
+
# Describe the AWS pricing tables
|
|
2979
|
+
#
|
|
2980
|
+
# Every table and column of the AWS pricing warehouse with what it holds,
|
|
2981
|
+
# the notes a correct query depends on, and how fresh each source is. Needs
|
|
2982
|
+
# no scope.
|
|
2983
|
+
#
|
|
2984
|
+
# Tables:
|
|
2985
|
+
#
|
|
2986
|
+
# - `prices`: Every price AWS has listed for an instance type, one row per
|
|
2987
|
+
# period a price held. `current = true` (equivalently `valid_to IS NULL`) is
|
|
2988
|
+
# the price on offer now; filter on it unless the question is about history.
|
|
2989
|
+
# A product's price is identified by (platform, instance_type, region,
|
|
2990
|
+
# pricing, lease, offering_class, purchase_option) plus its variant columns,
|
|
2991
|
+
# so always fix the variant columns that matter for the platform (see the
|
|
2992
|
+
# defaults in the notes) or you will mix e.g. Windows and Linux prices.
|
|
2993
|
+
# - `instance_types`: One row per instance type per platform with its
|
|
2994
|
+
# current specs. EC2 spot prices use the `ec2` rows. Specs AWS does not list
|
|
2995
|
+
# are NULL or `''`; `attributes` has every attribute AWS publishes, as
|
|
2996
|
+
# strings.
|
|
2997
|
+
# - `attribute_changes`: History of instance attributes: the values each
|
|
2998
|
+
# type was first listed with, then every change. Use it for questions like
|
|
2999
|
+
# when a spec changed.
|
|
3000
|
+
# - `regions`: Region codes and the names AWS gives them, per platform's
|
|
3001
|
+
# price list. Use it to turn a city or country into a region code.
|
|
3002
|
+
# - `sync_state`: When each bundle was loaded and which AWS price lists it
|
|
3003
|
+
# covers; `max(price_list_to)` is how fresh the data is.
|
|
3004
|
+
#
|
|
3005
|
+
# Notes:
|
|
3006
|
+
#
|
|
3007
|
+
# - All prices are USD. Timestamps are UTC DateTime.
|
|
3008
|
+
# - Usual defaults when a question does not say otherwise: for ec2,
|
|
3009
|
+
# operating_system = 'Linux', tenancy = 'Shared', pre_installed_sw = 'NA',
|
|
3010
|
+
# capacity_status = 'Used', license_model = 'No License required' and
|
|
3011
|
+
# pricing = 'on_demand'; for rds, deployment_option = 'Single-AZ', one
|
|
3012
|
+
# database_engine (PostgreSQL if unsaid) and usage_type NOT LIKE '%Unused%'
|
|
3013
|
+
# (those rows price unused capacity reservations); for elasticache and
|
|
3014
|
+
# memorydb, cache_engine = 'Redis' (or 'Valkey') and usage_type =
|
|
3015
|
+
# 'NodeUsage'; region us-east-1.
|
|
3016
|
+
# - "Cheapest" means the lowest effective_hourly_usd among current rows.
|
|
3017
|
+
# Hourly to monthly: x 730.
|
|
3018
|
+
# - Spot rows (pricing = 'spot') only exist for ec2 with operating_system
|
|
3019
|
+
# 'Linux' or 'Windows'; spot prices move often, so their history is dense.
|
|
3020
|
+
# - Reserved rows: an All Upfront term has hourly_usd = 0 and the whole cost
|
|
3021
|
+
# in upfront_usd; compare reserved and on-demand on effective_hourly_usd.
|
|
3022
|
+
# - Use instance_types for specs and to list types; join prices on
|
|
3023
|
+
# (platform, instance_type) when you need specs it does not carry.
|
|
3024
|
+
# - prices is large (millions of rows for ec2): always filter on platform
|
|
3025
|
+
# and current (or a time range), and aggregate or LIMIT.
|
|
3026
|
+
#
|
|
3027
|
+
# GET /api/v1/aws-pricing/schema
|
|
3028
|
+
#
|
|
3029
|
+
# Raises on 401: Unauthenticated
|
|
3030
|
+
#
|
|
3031
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
3032
|
+
# @return [Hash] Parsed JSON, shaped as `AwsPricingSchema` — see `sig/infrawrench/sdk.rbs`.
|
|
3033
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
3034
|
+
def schema(request_options: nil)
|
|
3035
|
+
@transport.request(
|
|
3036
|
+
http_method: "GET",
|
|
3037
|
+
path: "/api/v1/aws-pricing/schema",
|
|
3038
|
+
request_options: request_options
|
|
3039
|
+
)
|
|
3040
|
+
end
|
|
3041
|
+
end
|
|
3042
|
+
|
|
2912
3043
|
# `client.backups.drills`
|
|
2913
3044
|
class BackupsDrillsNamespace
|
|
2914
3045
|
# @api private
|
|
@@ -27452,6 +27583,38 @@ module Infrawrench
|
|
|
27452
27583
|
end
|
|
27453
27584
|
end
|
|
27454
27585
|
|
|
27586
|
+
# `client.whoami`
|
|
27587
|
+
class WhoamiNamespace
|
|
27588
|
+
# @api private
|
|
27589
|
+
# @param transport [Transport]
|
|
27590
|
+
def initialize(transport)
|
|
27591
|
+
@transport = transport
|
|
27592
|
+
end
|
|
27593
|
+
|
|
27594
|
+
# Identify a bearer credential
|
|
27595
|
+
#
|
|
27596
|
+
# Reports who an `Authorization: Bearer` credential belongs to: an API key,
|
|
27597
|
+
# an agent credential, or a WorkOS access token. Needs no scope; a 401 means
|
|
27598
|
+
# the credential is unknown, revoked, expired or no longer backed by an
|
|
27599
|
+
# organization membership. Use it to check a key before relying on it, or to
|
|
27600
|
+
# gate a service of your own on Infrawrench sign-in.
|
|
27601
|
+
#
|
|
27602
|
+
# GET /api/v1/whoami
|
|
27603
|
+
#
|
|
27604
|
+
# Raises on 401: Unauthenticated
|
|
27605
|
+
#
|
|
27606
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
27607
|
+
# @return [Hash] Parsed JSON, shaped as `Whoami` — see `sig/infrawrench/sdk.rbs`.
|
|
27608
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
27609
|
+
def get(request_options: nil)
|
|
27610
|
+
@transport.request(
|
|
27611
|
+
http_method: "GET",
|
|
27612
|
+
path: "/api/v1/whoami",
|
|
27613
|
+
request_options: request_options
|
|
27614
|
+
)
|
|
27615
|
+
end
|
|
27616
|
+
end
|
|
27617
|
+
|
|
27455
27618
|
# `client.workflow_approvals`
|
|
27456
27619
|
class WorkflowApprovalsNamespace
|
|
27457
27620
|
# @api private
|
|
@@ -27950,6 +28113,8 @@ module Infrawrench
|
|
|
27950
28113
|
attr_reader :audit_logs
|
|
27951
28114
|
# @return [AuthNamespace] `client.auth`
|
|
27952
28115
|
attr_reader :auth
|
|
28116
|
+
# @return [AwsPricingNamespace] `client.aws_pricing`
|
|
28117
|
+
attr_reader :aws_pricing
|
|
27953
28118
|
# @return [BackupsNamespace] `client.backups`
|
|
27954
28119
|
attr_reader :backups
|
|
27955
28120
|
# @return [BastionsNamespace] `client.bastions`
|
|
@@ -28182,6 +28347,8 @@ module Infrawrench
|
|
|
28182
28347
|
attr_reader :vulnerabilities
|
|
28183
28348
|
# @return [WallboardNamespace] `client.wallboard`
|
|
28184
28349
|
attr_reader :wallboard
|
|
28350
|
+
# @return [WhoamiNamespace] `client.whoami`
|
|
28351
|
+
attr_reader :whoami
|
|
28185
28352
|
# @return [WorkflowApprovalsNamespace] `client.workflow_approvals`
|
|
28186
28353
|
attr_reader :workflow_approvals
|
|
28187
28354
|
# @return [WorkflowSecretsNamespace] `client.workflow_secrets`
|
|
@@ -28211,6 +28378,7 @@ module Infrawrench
|
|
|
28211
28378
|
@associations = AssociationsNamespace.new(@transport)
|
|
28212
28379
|
@audit_logs = AuditLogsNamespace.new(@transport)
|
|
28213
28380
|
@auth = AuthNamespace.new(@transport)
|
|
28381
|
+
@aws_pricing = AwsPricingNamespace.new(@transport)
|
|
28214
28382
|
@backups = BackupsNamespace.new(@transport)
|
|
28215
28383
|
@bastions = BastionsNamespace.new(@transport)
|
|
28216
28384
|
@billing = BillingNamespace.new(@transport)
|
|
@@ -28327,6 +28495,7 @@ module Infrawrench
|
|
|
28327
28495
|
@virtual_tags = VirtualTagsNamespace.new(@transport)
|
|
28328
28496
|
@vulnerabilities = VulnerabilitiesNamespace.new(@transport)
|
|
28329
28497
|
@wallboard = WallboardNamespace.new(@transport)
|
|
28498
|
+
@whoami = WhoamiNamespace.new(@transport)
|
|
28330
28499
|
@workflow_approvals = WorkflowApprovalsNamespace.new(@transport)
|
|
28331
28500
|
@workflow_secrets = WorkflowSecretsNamespace.new(@transport)
|
|
28332
28501
|
@workflows = WorkflowsNamespace.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.86.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.86.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.86.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.86.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.86.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.86.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.86.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.86.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.86.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.86.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.86.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -932,6 +932,54 @@ module Infrawrench
|
|
|
932
932
|
"totpUser" => String | nil
|
|
933
933
|
}
|
|
934
934
|
|
|
935
|
+
# One value. Numbers (including ClickHouse's 64-bit integers and decimals) are
|
|
936
|
+
# JSON numbers; DateTime is `YYYY-MM-DD hh:mm:ss` in UTC; arrays and maps are
|
|
937
|
+
# JSON text.
|
|
938
|
+
#
|
|
939
|
+
# Spec schema: `AwsPricingCell`.
|
|
940
|
+
type aws_pricing_cell = String | Numeric | bool | nil | nil
|
|
941
|
+
|
|
942
|
+
# Spec schema: `AwsPricingQueryRequest`.
|
|
943
|
+
type aws_pricing_query_request = { "sql" => String, ?"maxRows" => Integer }
|
|
944
|
+
|
|
945
|
+
# Spec schema: `AwsPricingQueryResult`.
|
|
946
|
+
type aws_pricing_query_result = {
|
|
947
|
+
"columns" => Array[aws_pricing_result_column],
|
|
948
|
+
"rows" => Array[Array[aws_pricing_cell]],
|
|
949
|
+
"truncated" => bool,
|
|
950
|
+
"elapsedMs" => Integer
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
# Spec schema: `AwsPricingResultColumn`.
|
|
954
|
+
type aws_pricing_result_column = { "name" => String, "type" => String }
|
|
955
|
+
|
|
956
|
+
# Spec schema: `AwsPricingSchema`.
|
|
957
|
+
type aws_pricing_schema = {
|
|
958
|
+
"tables" => Array[aws_pricing_schema_table],
|
|
959
|
+
"notes" => Array[String],
|
|
960
|
+
"sources" => Array[aws_pricing_source] | nil
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
# Spec schema: `AwsPricingSchemaColumn`.
|
|
964
|
+
type aws_pricing_schema_column = { "name" => String, "type" => String, "description" => String }
|
|
965
|
+
|
|
966
|
+
# Spec schema: `AwsPricingSchemaTable`.
|
|
967
|
+
type aws_pricing_schema_table = {
|
|
968
|
+
"name" => String,
|
|
969
|
+
"description" => String,
|
|
970
|
+
"sortingKey" => Array[String],
|
|
971
|
+
"columns" => Array[aws_pricing_schema_column]
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
# Spec schema: `AwsPricingSource`.
|
|
975
|
+
type aws_pricing_source = {
|
|
976
|
+
"source" => String,
|
|
977
|
+
"version" => String,
|
|
978
|
+
"priceListTo" => String | nil,
|
|
979
|
+
"syncedAt" => String,
|
|
980
|
+
"priceRows" => Integer
|
|
981
|
+
}
|
|
982
|
+
|
|
935
983
|
# Spec schema: `BackupCoverageResponse`.
|
|
936
984
|
type backup_coverage_response = {
|
|
937
985
|
"findings" => Array[backup_finding],
|
|
@@ -14804,6 +14852,13 @@ module Infrawrench
|
|
|
14804
14852
|
"status" => "ok" | "degraded" | "down"
|
|
14805
14853
|
}
|
|
14806
14854
|
|
|
14855
|
+
# Spec schema: `Whoami`.
|
|
14856
|
+
type whoami = {
|
|
14857
|
+
"userId" => String,
|
|
14858
|
+
"organizationId" => String,
|
|
14859
|
+
"principal" => "user" | "api_key" | "agent"
|
|
14860
|
+
}
|
|
14861
|
+
|
|
14807
14862
|
# Spec schema: `WorkflowApproval`.
|
|
14808
14863
|
type workflow_approval = {
|
|
14809
14864
|
"id" => String,
|
|
@@ -15112,6 +15167,12 @@ module Infrawrench
|
|
|
15112
15167
|
def orgs: (?request_options: Hash[Symbol, untyped]?) -> Array[org_membership]
|
|
15113
15168
|
end
|
|
15114
15169
|
|
|
15170
|
+
class AwsPricingNamespace
|
|
15171
|
+
def initialize: (Transport) -> void
|
|
15172
|
+
def query: (body: aws_pricing_query_request, ?request_options: Hash[Symbol, untyped]?) -> aws_pricing_query_result
|
|
15173
|
+
def schema: (?request_options: Hash[Symbol, untyped]?) -> aws_pricing_schema
|
|
15174
|
+
end
|
|
15175
|
+
|
|
15115
15176
|
class BackupsDrillsNamespace
|
|
15116
15177
|
def initialize: (Transport) -> void
|
|
15117
15178
|
def create: (?org_id: String?, ?body: restore_drill_create?, ?request_options: Hash[Symbol, untyped]?) -> restore_drill
|
|
@@ -16913,6 +16974,11 @@ module Infrawrench
|
|
|
16913
16974
|
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> wallboard_response
|
|
16914
16975
|
end
|
|
16915
16976
|
|
|
16977
|
+
class WhoamiNamespace
|
|
16978
|
+
def initialize: (Transport) -> void
|
|
16979
|
+
def get: (?request_options: Hash[Symbol, untyped]?) -> whoami
|
|
16980
|
+
end
|
|
16981
|
+
|
|
16916
16982
|
class WorkflowApprovalsNamespace
|
|
16917
16983
|
def initialize: (Transport) -> void
|
|
16918
16984
|
def approve: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_approval
|
|
@@ -16968,6 +17034,7 @@ module Infrawrench
|
|
|
16968
17034
|
attr_reader associations: AssociationsNamespace
|
|
16969
17035
|
attr_reader audit_logs: AuditLogsNamespace
|
|
16970
17036
|
attr_reader auth: AuthNamespace
|
|
17037
|
+
attr_reader aws_pricing: AwsPricingNamespace
|
|
16971
17038
|
attr_reader backups: BackupsNamespace
|
|
16972
17039
|
attr_reader bastions: BastionsNamespace
|
|
16973
17040
|
attr_reader billing: BillingNamespace
|
|
@@ -17084,6 +17151,7 @@ module Infrawrench
|
|
|
17084
17151
|
attr_reader virtual_tags: VirtualTagsNamespace
|
|
17085
17152
|
attr_reader vulnerabilities: VulnerabilitiesNamespace
|
|
17086
17153
|
attr_reader wallboard: WallboardNamespace
|
|
17154
|
+
attr_reader whoami: WhoamiNamespace
|
|
17087
17155
|
attr_reader workflow_approvals: WorkflowApprovalsNamespace
|
|
17088
17156
|
attr_reader workflow_secrets: WorkflowSecretsNamespace
|
|
17089
17157
|
attr_reader workflows: WorkflowsNamespace
|
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.86.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infrawrench LLC
|
|
@@ -9,9 +9,9 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-
|
|
12
|
+
date: 2026-11-01 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.86.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.86.0).
|
|
62
62
|
test_files: []
|