Skip to content

Adding HTTP types and syncing AWS with definition #2754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "d02c8a3",
"generated": "2025-08-08 12:07:20.979"
"spec_repo_commit": "86cd74f",
"generated": "2025-08-08 20:29:33.650"
}
133 changes: 110 additions & 23 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1431,26 +1431,29 @@ components:
- data
type: object
AWSAssumeRole:
description: The definition of `AWSAssumeRole` object.
description: The definition of the `AWSAssumeRole` object.
properties:
account_id:
description: AWS account the connection is created for
description: AWS account the connection is created for.
example: '111222333444'
pattern: ^\d{12}$
type: string
external_id:
description: External ID used to scope which connection can be used to assume
the role
the role.
example: 33a1011635c44b38a064cf14e82e1d8f
readOnly: true
type: string
generate_new_external_id:
description: Pass true if the `external_id` should be regenerated.
type: boolean
principal_id:
description: AWS account that will assume the role
description: AWS account that will assume the role.
example: '123456789012'
readOnly: true
type: string
role:
description: Role to assume
description: Role to assume.
example: my-role
type: string
type:
Expand All @@ -1461,26 +1464,26 @@ components:
- role
type: object
AWSAssumeRoleType:
description: The definition of `AWSAssumeRoleType` object.
description: The definition of the `AWSAssumeRole` object.
enum:
- AWSAssumeRole
example: AWSAssumeRole
type: string
x-enum-varnames:
- AWSASSUMEROLE
AWSAssumeRoleUpdate:
description: The definition of `AWSAssumeRoleUpdate` object.
description: The definition of the `AWSAssumeRole` object.
properties:
account_id:
description: AWS account the connection is created for
description: AWS account the connection is created for.
example: '111222333444'
pattern: ^\d{12}$
type: string
generate_new_external_id:
description: The `AWSAssumeRoleUpdate` `generate_new_external_id`.
description: Pass true if the `external_id` should be regenerated.
type: boolean
role:
description: Role to assume
description: Role to assume.
example: my-role
type: string
type:
Expand Down Expand Up @@ -1527,15 +1530,15 @@ components:
- role_name
type: object
AWSCredentials:
description: The definition of `AWSCredentials` object.
description: The definition of the `AWSCredentials` object.
oneOf:
- $ref: '#/components/schemas/AWSAssumeRole'
AWSCredentialsUpdate:
description: The definition of `AWSCredentialsUpdate` object.
description: The definition of the `AWSCredentialsUpdate` object.
oneOf:
- $ref: '#/components/schemas/AWSAssumeRoleUpdate'
AWSIntegration:
description: The definition of `AWSIntegration` object.
description: The definition of the `AWSIntegration` object.
properties:
credentials:
$ref: '#/components/schemas/AWSCredentials'
Expand Down Expand Up @@ -1594,15 +1597,15 @@ components:
x-enum-varnames:
- PERMISSIONS
AWSIntegrationType:
description: The definition of `AWSIntegrationType` object.
description: The definition of the `AWSIntegrationType` object.
enum:
- AWS
example: AWS
type: string
x-enum-varnames:
- AWS
AWSIntegrationUpdate:
description: The definition of `AWSIntegrationUpdate` object.
description: The definition of the `AWSIntegrationUpdate` object.
properties:
credentials:
$ref: '#/components/schemas/AWSCredentialsUpdate'
Expand Down Expand Up @@ -18478,6 +18481,46 @@ components:
example: env:production
type: string
type: array
HTTPBasicAuth:
description: The definition of the `HTTPBasicAuth` object.
properties:
password:
description: Password used for authentication. Saved in a secret store
example: ''
type: string
type:
$ref: '#/components/schemas/HTTPBasicAuthType'
username:
description: Username used for authentication.
example: ''
type: string
required:
- type
- username
- password
type: object
HTTPBasicAuthType:
description: The definition of the `HTTPBasicAuth` object.
enum:
- HTTPBasicAuth
example: HTTPBasicAuth
type: string
x-enum-varnames:
- HTTPBASICAUTH
HTTPBasicAuthUpdate:
description: The definition of the `HTTPBasicAuth` object.
properties:
password:
description: Password used for authentication. Saved in a secret store
type: string
type:
$ref: '#/components/schemas/HTTPBasicAuthType'
username:
description: Username used for authentication.
type: string
required:
- type
type: object
HTTPBody:
description: The definition of `HTTPBody` object.
properties:
Expand Down Expand Up @@ -18516,13 +18559,17 @@ components:
type: array
type: object
HTTPCredentials:
description: The definition of `HTTPCredentials` object.
description: The definition of the `HTTPCredentials` object.
oneOf:
- $ref: '#/components/schemas/HTTPTokenAuth'
- $ref: '#/components/schemas/HTTPBasicAuth'
- $ref: '#/components/schemas/HTTPMtlsAuth'
HTTPCredentialsUpdate:
description: The definition of `HTTPCredentialsUpdate` object.
description: The definition of the `HTTPCredentialsUpdate` object.
oneOf:
- $ref: '#/components/schemas/HTTPTokenAuthUpdate'
- $ref: '#/components/schemas/HTTPBasicAuthUpdate'
- $ref: '#/components/schemas/HTTPMtlsAuthUpdate'
HTTPHeader:
description: The definition of `HTTPHeader` object.
properties:
Expand Down Expand Up @@ -18558,10 +18605,10 @@ components:
- name
type: object
HTTPIntegration:
description: The definition of `HTTPIntegration` object.
description: The definition of the `HTTPIntegration` object.
properties:
base_url:
description: Base HTTP url for the integration
description: Base HTTP url for the integration.
example: http://datadoghq.com
type: string
credentials:
Expand All @@ -18574,18 +18621,18 @@ components:
- credentials
type: object
HTTPIntegrationType:
description: The definition of `HTTPIntegrationType` object.
description: The definition of the `HTTPIntegrationType` object.
enum:
- HTTP
example: HTTP
type: string
x-enum-varnames:
- HTTP
HTTPIntegrationUpdate:
description: The definition of `HTTPIntegrationUpdate` object.
description: The definition of the `HTTPIntegrationUpdate` object.
properties:
base_url:
description: Base HTTP url for the integration
description: Base HTTP url for the integration.
example: http://datadoghq.com
type: string
credentials:
Expand Down Expand Up @@ -18671,6 +18718,46 @@ components:
required:
- message
type: object
HTTPMtlsAuth:
description: The definition of the `HTTPMtlsAuth` object.
properties:
certificate:
description: Certificate of authority used to sign the request.
example: ''
type: string
private_key:
description: Private key used for the MTLS handshake
example: ''
type: string
type:
$ref: '#/components/schemas/HTTPMtlsAuthType'
required:
- type
- certificate
- private_key
type: object
HTTPMtlsAuthType:
description: The definition of the `HTTPMtlsAuth` object.
enum:
- HTTPMtlsAuth
example: HTTPMtlsAuth
type: string
x-enum-varnames:
- HTTPMTLSAUTH
HTTPMtlsAuthUpdate:
description: The definition of the `HTTPMtlsAuth` object.
properties:
certificate:
description: Certificate of authority used to sign the request.
type: string
private_key:
description: Private key used for the MTLS handshake
type: string
type:
$ref: '#/components/schemas/HTTPMtlsAuthType'
required:
- type
type: object
HTTPToken:
description: The definition of `HTTPToken` object.
properties:
Expand Down Expand Up @@ -18716,7 +18803,7 @@ components:
- type
type: object
HTTPTokenAuthType:
description: The definition of `HTTPTokenAuthType` object.
description: The definition of the `HTTPTokenAuth` object.
enum:
- HTTPTokenAuth
example: HTTPTokenAuth
Expand Down
42 changes: 42 additions & 0 deletions docs/datadog_api_client.v2.model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8026,6 +8026,27 @@ datadog\_api\_client.v2.model.hourly\_usage\_type module
:members:
:show-inheritance:

datadog\_api\_client.v2.model.http\_basic\_auth module
------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.http_basic_auth
:members:
:show-inheritance:

datadog\_api\_client.v2.model.http\_basic\_auth\_type module
------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.http_basic_auth_type
:members:
:show-inheritance:

datadog\_api\_client.v2.model.http\_basic\_auth\_update module
--------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.http_basic_auth_update
:members:
:show-inheritance:

datadog\_api\_client.v2.model.http\_body module
-----------------------------------------------

Expand Down Expand Up @@ -8110,6 +8131,27 @@ datadog\_api\_client.v2.model.http\_log\_item module
:members:
:show-inheritance:

datadog\_api\_client.v2.model.http\_mtls\_auth module
-----------------------------------------------------

.. automodule:: datadog_api_client.v2.model.http_mtls_auth
:members:
:show-inheritance:

datadog\_api\_client.v2.model.http\_mtls\_auth\_type module
-----------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.http_mtls_auth_type
:members:
:show-inheritance:

datadog\_api\_client.v2.model.http\_mtls\_auth\_update module
-------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.http_mtls_auth_update
:members:
:show-inheritance:

datadog\_api\_client.v2.model.http\_token module
------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ def __init__(self, **kwargs):
"""
The definition of ``ActionConnectionIntegration`` object.

:param credentials: The definition of `AWSCredentials` object.
:param credentials: The definition of the `AWSCredentials` object.
:type credentials: AWSCredentials

:param type: The definition of `AWSIntegrationType` object.
:param type: The definition of the `AWSIntegrationType` object.
:type type: AWSIntegrationType

:param base_url: Base HTTP url for the integration
:param base_url: Base HTTP url for the integration.
:type base_url: str
"""
super().__init__(kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ def __init__(self, **kwargs):
"""
The definition of ``ActionConnectionIntegrationUpdate`` object.

:param credentials: The definition of `AWSCredentialsUpdate` object.
:param credentials: The definition of the `AWSCredentialsUpdate` object.
:type credentials: AWSCredentialsUpdate, optional

:param type: The definition of `AWSIntegrationType` object.
:param type: The definition of the `AWSIntegrationType` object.
:type type: AWSIntegrationType

:param base_url: Base HTTP url for the integration
:param base_url: Base HTTP url for the integration.
:type base_url: str, optional
"""
super().__init__(kwargs)
Expand Down
Loading
Loading