Skip to content

Commit 1bf1d4e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 19253a3 of spec repo
1 parent 07d917b commit 1bf1d4e

25 files changed

+838
-63
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "d02c8a3",
3-
"generated": "2025-08-08 12:07:05.112"
2+
"spec_repo_commit": "19253a3",
3+
"generated": "2025-08-08 18:35:43.513"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 110 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,26 +1431,29 @@ components:
14311431
- data
14321432
type: object
14331433
AWSAssumeRole:
1434-
description: The definition of `AWSAssumeRole` object.
1434+
description: The definition of the `AWSAssumeRole` object.
14351435
properties:
14361436
account_id:
1437-
description: AWS account the connection is created for
1437+
description: AWS account the connection is created for.
14381438
example: '111222333444'
14391439
pattern: ^\d{12}$
14401440
type: string
14411441
external_id:
14421442
description: External ID used to scope which connection can be used to assume
1443-
the role
1443+
the role.
14441444
example: 33a1011635c44b38a064cf14e82e1d8f
14451445
readOnly: true
14461446
type: string
1447+
generate_new_external_id:
1448+
description: Pass true if the external_id should be regenerated.
1449+
type: boolean
14471450
principal_id:
1448-
description: AWS account that will assume the role
1451+
description: AWS account that will assume the role.
14491452
example: '123456789012'
14501453
readOnly: true
14511454
type: string
14521455
role:
1453-
description: Role to assume
1456+
description: Role to assume.
14541457
example: my-role
14551458
type: string
14561459
type:
@@ -1461,26 +1464,26 @@ components:
14611464
- role
14621465
type: object
14631466
AWSAssumeRoleType:
1464-
description: The definition of `AWSAssumeRoleType` object.
1467+
description: The definition of the `AWSAssumeRole` object.
14651468
enum:
14661469
- AWSAssumeRole
14671470
example: AWSAssumeRole
14681471
type: string
14691472
x-enum-varnames:
14701473
- AWSASSUMEROLE
14711474
AWSAssumeRoleUpdate:
1472-
description: The definition of `AWSAssumeRoleUpdate` object.
1475+
description: The definition of the `AWSAssumeRole` object.
14731476
properties:
14741477
account_id:
1475-
description: AWS account the connection is created for
1478+
description: AWS account the connection is created for.
14761479
example: '111222333444'
14771480
pattern: ^\d{12}$
14781481
type: string
14791482
generate_new_external_id:
1480-
description: The `AWSAssumeRoleUpdate` `generate_new_external_id`.
1483+
description: Pass true if the external_id should be regenerated.
14811484
type: boolean
14821485
role:
1483-
description: Role to assume
1486+
description: Role to assume.
14841487
example: my-role
14851488
type: string
14861489
type:
@@ -1527,15 +1530,15 @@ components:
15271530
- role_name
15281531
type: object
15291532
AWSCredentials:
1530-
description: The definition of `AWSCredentials` object.
1533+
description: The definition of the `AWSCredentials` object.
15311534
oneOf:
15321535
- $ref: '#/components/schemas/AWSAssumeRole'
15331536
AWSCredentialsUpdate:
1534-
description: The definition of `AWSCredentialsUpdate` object.
1537+
description: The definition of the `AWSCredentialsUpdate` object.
15351538
oneOf:
15361539
- $ref: '#/components/schemas/AWSAssumeRoleUpdate'
15371540
AWSIntegration:
1538-
description: The definition of `AWSIntegration` object.
1541+
description: The definition of the `AWSIntegration` object.
15391542
properties:
15401543
credentials:
15411544
$ref: '#/components/schemas/AWSCredentials'
@@ -1594,15 +1597,15 @@ components:
15941597
x-enum-varnames:
15951598
- PERMISSIONS
15961599
AWSIntegrationType:
1597-
description: The definition of `AWSIntegrationType` object.
1600+
description: The definition of the `AWSIntegrationType` object.
15981601
enum:
15991602
- AWS
16001603
example: AWS
16011604
type: string
16021605
x-enum-varnames:
16031606
- AWS
16041607
AWSIntegrationUpdate:
1605-
description: The definition of `AWSIntegrationUpdate` object.
1608+
description: The definition of the `AWSIntegrationUpdate` object.
16061609
properties:
16071610
credentials:
16081611
$ref: '#/components/schemas/AWSCredentialsUpdate'
@@ -18478,6 +18481,46 @@ components:
1847818481
example: env:production
1847918482
type: string
1848018483
type: array
18484+
HTTPBasicAuth:
18485+
description: The definition of the `HTTPBasicAuth` object.
18486+
properties:
18487+
password:
18488+
description: Password used for authentication. Saved in a secret store
18489+
example: ''
18490+
type: string
18491+
type:
18492+
$ref: '#/components/schemas/HTTPBasicAuthType'
18493+
username:
18494+
description: Username used for authentication.
18495+
example: ''
18496+
type: string
18497+
required:
18498+
- type
18499+
- username
18500+
- password
18501+
type: object
18502+
HTTPBasicAuthType:
18503+
description: The definition of the `HTTPBasicAuth` object.
18504+
enum:
18505+
- HTTPBasicAuth
18506+
example: HTTPBasicAuth
18507+
type: string
18508+
x-enum-varnames:
18509+
- HTTPBASICAUTH
18510+
HTTPBasicAuthUpdate:
18511+
description: The definition of the `HTTPBasicAuth` object.
18512+
properties:
18513+
password:
18514+
description: Password used for authentication. Saved in a secret store
18515+
type: string
18516+
type:
18517+
$ref: '#/components/schemas/HTTPBasicAuthType'
18518+
username:
18519+
description: Username used for authentication.
18520+
type: string
18521+
required:
18522+
- type
18523+
type: object
1848118524
HTTPBody:
1848218525
description: The definition of `HTTPBody` object.
1848318526
properties:
@@ -18516,13 +18559,17 @@ components:
1851618559
type: array
1851718560
type: object
1851818561
HTTPCredentials:
18519-
description: The definition of `HTTPCredentials` object.
18562+
description: The definition of the `HTTPCredentials` object.
1852018563
oneOf:
1852118564
- $ref: '#/components/schemas/HTTPTokenAuth'
18565+
- $ref: '#/components/schemas/HTTPBasicAuth'
18566+
- $ref: '#/components/schemas/HTTPMtlsAuth'
1852218567
HTTPCredentialsUpdate:
18523-
description: The definition of `HTTPCredentialsUpdate` object.
18568+
description: The definition of the `HTTPCredentialsUpdate` object.
1852418569
oneOf:
1852518570
- $ref: '#/components/schemas/HTTPTokenAuthUpdate'
18571+
- $ref: '#/components/schemas/HTTPBasicAuthUpdate'
18572+
- $ref: '#/components/schemas/HTTPMtlsAuthUpdate'
1852618573
HTTPHeader:
1852718574
description: The definition of `HTTPHeader` object.
1852818575
properties:
@@ -18558,10 +18605,10 @@ components:
1855818605
- name
1855918606
type: object
1856018607
HTTPIntegration:
18561-
description: The definition of `HTTPIntegration` object.
18608+
description: The definition of the `HTTPIntegration` object.
1856218609
properties:
1856318610
base_url:
18564-
description: Base HTTP url for the integration
18611+
description: Base HTTP url for the integration.
1856518612
example: http://datadoghq.com
1856618613
type: string
1856718614
credentials:
@@ -18574,18 +18621,18 @@ components:
1857418621
- credentials
1857518622
type: object
1857618623
HTTPIntegrationType:
18577-
description: The definition of `HTTPIntegrationType` object.
18624+
description: The definition of the `HTTPIntegrationType` object.
1857818625
enum:
1857918626
- HTTP
1858018627
example: HTTP
1858118628
type: string
1858218629
x-enum-varnames:
1858318630
- HTTP
1858418631
HTTPIntegrationUpdate:
18585-
description: The definition of `HTTPIntegrationUpdate` object.
18632+
description: The definition of the `HTTPIntegrationUpdate` object.
1858618633
properties:
1858718634
base_url:
18588-
description: Base HTTP url for the integration
18635+
description: Base HTTP url for the integration.
1858918636
example: http://datadoghq.com
1859018637
type: string
1859118638
credentials:
@@ -18671,6 +18718,46 @@ components:
1867118718
required:
1867218719
- message
1867318720
type: object
18721+
HTTPMtlsAuth:
18722+
description: The definition of the `HTTPMtlsAuth` object.
18723+
properties:
18724+
certificate:
18725+
description: Certificate of authority used to signed the request.
18726+
example: ''
18727+
type: string
18728+
private_key:
18729+
description: Private key used for the MTLS handshake
18730+
example: ''
18731+
type: string
18732+
type:
18733+
$ref: '#/components/schemas/HTTPMtlsAuthType'
18734+
required:
18735+
- type
18736+
- certificate
18737+
- private_key
18738+
type: object
18739+
HTTPMtlsAuthType:
18740+
description: The definition of the `HTTPMtlsAuth` object.
18741+
enum:
18742+
- HTTPMtlsAuth
18743+
example: HTTPMtlsAuth
18744+
type: string
18745+
x-enum-varnames:
18746+
- HTTPMTLSAUTH
18747+
HTTPMtlsAuthUpdate:
18748+
description: The definition of the `HTTPMtlsAuth` object.
18749+
properties:
18750+
certificate:
18751+
description: Certificate of authority used to signed the request.
18752+
type: string
18753+
private_key:
18754+
description: Private key used for the MTLS handshake
18755+
type: string
18756+
type:
18757+
$ref: '#/components/schemas/HTTPMtlsAuthType'
18758+
required:
18759+
- type
18760+
type: object
1867418761
HTTPToken:
1867518762
description: The definition of `HTTPToken` object.
1867618763
properties:
@@ -18716,7 +18803,7 @@ components:
1871618803
- type
1871718804
type: object
1871818805
HTTPTokenAuthType:
18719-
description: The definition of `HTTPTokenAuthType` object.
18806+
description: The definition of the `HTTPTokenAuth` object.
1872018807
enum:
1872118808
- HTTPTokenAuth
1872218809
example: HTTPTokenAuth

lib/datadog_api_client/inflector.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2078,6 +2078,9 @@ def overrides
20782078
"v2.hourly_usage_pagination" => "HourlyUsagePagination",
20792079
"v2.hourly_usage_response" => "HourlyUsageResponse",
20802080
"v2.hourly_usage_type" => "HourlyUsageType",
2081+
"v2.http_basic_auth" => "HTTPBasicAuth",
2082+
"v2.http_basic_auth_type" => "HTTPBasicAuthType",
2083+
"v2.http_basic_auth_update" => "HTTPBasicAuthUpdate",
20812084
"v2.http_body" => "HTTPBody",
20822085
"v2.httpci_app_error" => "HTTPCIAppError",
20832086
"v2.httpci_app_errors" => "HTTPCIAppErrors",
@@ -2091,6 +2094,9 @@ def overrides
20912094
"v2.http_log_error" => "HTTPLogError",
20922095
"v2.http_log_errors" => "HTTPLogErrors",
20932096
"v2.http_log_item" => "HTTPLogItem",
2097+
"v2.http_mtls_auth" => "HTTPMtlsAuth",
2098+
"v2.http_mtls_auth_type" => "HTTPMtlsAuthType",
2099+
"v2.http_mtls_auth_update" => "HTTPMtlsAuthUpdate",
20942100
"v2.http_token" => "HTTPToken",
20952101
"v2.http_token_auth" => "HTTPTokenAuth",
20962102
"v2.http_token_auth_type" => "HTTPTokenAuthType",

lib/datadog_api_client/v2/models/aws_assume_role.rb

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,26 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The definition of `AWSAssumeRole` object.
20+
# The definition of the `AWSAssumeRole` object.
2121
class AWSAssumeRole
2222
include BaseGenericModel
2323

24-
# AWS account the connection is created for
24+
# AWS account the connection is created for.
2525
attr_reader :account_id
2626

27-
# External ID used to scope which connection can be used to assume the role
27+
# External ID used to scope which connection can be used to assume the role.
2828
attr_accessor :external_id
2929

30-
# AWS account that will assume the role
30+
# Pass true if the external_id should be regenerated.
31+
attr_accessor :generate_new_external_id
32+
33+
# AWS account that will assume the role.
3134
attr_accessor :principal_id
3235

33-
# Role to assume
36+
# Role to assume.
3437
attr_reader :role
3538

36-
# The definition of `AWSAssumeRoleType` object.
39+
# The definition of the `AWSAssumeRole` object.
3740
attr_reader :type
3841

3942
attr_accessor :additional_properties
@@ -44,6 +47,7 @@ def self.attribute_map
4447
{
4548
:'account_id' => :'account_id',
4649
:'external_id' => :'external_id',
50+
:'generate_new_external_id' => :'generate_new_external_id',
4751
:'principal_id' => :'principal_id',
4852
:'role' => :'role',
4953
:'type' => :'type'
@@ -56,6 +60,7 @@ def self.openapi_types
5660
{
5761
:'account_id' => :'String',
5862
:'external_id' => :'String',
63+
:'generate_new_external_id' => :'Boolean',
5964
:'principal_id' => :'String',
6065
:'role' => :'String',
6166
:'type' => :'AWSAssumeRoleType'
@@ -88,6 +93,10 @@ def initialize(attributes = {})
8893
self.external_id = attributes[:'external_id']
8994
end
9095

96+
if attributes.key?(:'generate_new_external_id')
97+
self.generate_new_external_id = attributes[:'generate_new_external_id']
98+
end
99+
91100
if attributes.key?(:'principal_id')
92101
self.principal_id = attributes[:'principal_id']
93102
end
@@ -175,6 +184,7 @@ def ==(o)
175184
self.class == o.class &&
176185
account_id == o.account_id &&
177186
external_id == o.external_id &&
187+
generate_new_external_id == o.generate_new_external_id &&
178188
principal_id == o.principal_id &&
179189
role == o.role &&
180190
type == o.type &&
@@ -185,7 +195,7 @@ def ==(o)
185195
# @return [Integer] Hash code
186196
# @!visibility private
187197
def hash
188-
[account_id, external_id, principal_id, role, type, additional_properties].hash
198+
[account_id, external_id, generate_new_external_id, principal_id, role, type, additional_properties].hash
189199
end
190200
end
191201
end

lib/datadog_api_client/v2/models/aws_assume_role_type.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The definition of `AWSAssumeRoleType` object.
20+
# The definition of the `AWSAssumeRole` object.
2121
class AWSAssumeRoleType
2222
include BaseEnumModel
2323

0 commit comments

Comments
 (0)