diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 06889282417b..ce0a0f2f0e75 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -26513,6 +26513,7 @@ paths: - ap2.datadoghq.com - datadoghq.eu - ddog-gov.com + - us2.ddog-gov.com subdomain: default: ip-ranges description: The subdomain where the API is deployed. @@ -39887,6 +39888,7 @@ paths: - ap2.datadoghq.com - datadoghq.eu - ddog-gov.com + - us2.ddog-gov.com subdomain: default: http-intake.logs description: The subdomain where the API is deployed. @@ -39927,6 +39929,7 @@ servers: - ap2.datadoghq.com - datadoghq.eu - ddog-gov.com + - us2.ddog-gov.com subdomain: default: api description: The subdomain where the API is deployed. diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index c837c2866c31..4980e3a1bd22 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -93576,6 +93576,7 @@ paths: - ap2.datadoghq.com - datadoghq.eu - ddog-gov.com + - us2.ddog-gov.com subdomain: default: event-management-intake description: The subdomain where the API is deployed. @@ -102783,6 +102784,7 @@ paths: - ap2.datadoghq.com - datadoghq.eu - ddog-gov.com + - us2.ddog-gov.com subdomain: default: http-intake.logs description: The subdomain where the API is deployed. @@ -130305,6 +130307,7 @@ servers: - ap2.datadoghq.com - datadoghq.eu - ddog-gov.com + - us2.ddog-gov.com subdomain: default: api description: The subdomain where the API is deployed. diff --git a/packages/datadog-api-client/src/servers.ts b/packages/datadog-api-client/src/servers.ts index 3c7c69aaa7e6..f7c7df73b378 100644 --- a/packages/datadog-api-client/src/servers.ts +++ b/packages/datadog-api-client/src/servers.ts @@ -78,7 +78,8 @@ export const server1 = new ServerConfiguration<{ | "ap1.datadoghq.com" | "ap2.datadoghq.com" | "datadoghq.eu" - | "ddog-gov.com"; + | "ddog-gov.com" + | "us2.ddog-gov.com"; subdomain: string; }>("https://{subdomain}.{site}", { site: "datadoghq.com", diff --git a/services/events/src/v2/EventsApi.ts b/services/events/src/v2/EventsApi.ts index 4e01e84c0048..f35c3cdbcaba 100644 --- a/services/events/src/v2/EventsApi.ts +++ b/services/events/src/v2/EventsApi.ts @@ -600,7 +600,8 @@ export class EventsApi { | "ap1.datadoghq.com" | "ap2.datadoghq.com" | "datadoghq.eu" - | "ddog-gov.com"; + | "ddog-gov.com" + | "us2.ddog-gov.com"; subdomain: string; }>("https://{subdomain}.{site}", { site: "datadoghq.com", diff --git a/services/ip_ranges/src/v1/IPRangesApi.ts b/services/ip_ranges/src/v1/IPRangesApi.ts index c4a55b45ed8b..f87e8e70d64a 100644 --- a/services/ip_ranges/src/v1/IPRangesApi.ts +++ b/services/ip_ranges/src/v1/IPRangesApi.ts @@ -133,7 +133,8 @@ export class IPRangesApi { | "ap1.datadoghq.com" | "ap2.datadoghq.com" | "datadoghq.eu" - | "ddog-gov.com"; + | "ddog-gov.com" + | "us2.ddog-gov.com"; subdomain: string; }>("https://{subdomain}.{site}", { site: "datadoghq.com", diff --git a/services/logs/src/v1/LogsApi.ts b/services/logs/src/v1/LogsApi.ts index 1a5508701891..0e0ff94a51f5 100644 --- a/services/logs/src/v1/LogsApi.ts +++ b/services/logs/src/v1/LogsApi.ts @@ -350,7 +350,8 @@ export class LogsApi { | "ap1.datadoghq.com" | "ap2.datadoghq.com" | "datadoghq.eu" - | "ddog-gov.com"; + | "ddog-gov.com" + | "us2.ddog-gov.com"; subdomain: string; }>("https://{subdomain}.{site}", { site: "datadoghq.com", diff --git a/services/logs/src/v2/LogsApi.ts b/services/logs/src/v2/LogsApi.ts index c7210db30da3..b6f421de88ba 100644 --- a/services/logs/src/v2/LogsApi.ts +++ b/services/logs/src/v2/LogsApi.ts @@ -646,7 +646,8 @@ export class LogsApi { | "ap1.datadoghq.com" | "ap2.datadoghq.com" | "datadoghq.eu" - | "ddog-gov.com"; + | "ddog-gov.com" + | "us2.ddog-gov.com"; subdomain: string; }>("https://{subdomain}.{site}", { site: "datadoghq.com",