From 14b7d87a7d6ef2efe71e3f411c7008fbe8c82e6c Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 11 Nov 2025 21:24:07 +0000 Subject: [PATCH] Regenerate client from commit 505640d of spec repo --- .generator/schemas/v1/openapi.yaml | 20 +++++++++++++++----- .generator/schemas/v2/openapi.yaml | 8 ++++++-- src/datadogV1/api/api_key_management.rs | 10 ++++++++++ src/datadogV2/api/api_key_management.rs | 12 ++++++++---- 4 files changed, 39 insertions(+), 11 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 81bb22eb0..233d55493 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -25843,7 +25843,9 @@ paths: - api_keys_write /api/v1/application_key: get: - description: Get all application keys available for your Datadog account. + description: 'Get all application keys available for your Datadog account. + + This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: ListApplicationKeys responses: '200': @@ -25869,7 +25871,9 @@ paths: - org_app_keys_read - user_app_keys post: - description: Create an application key with a given name. + description: 'Create an application key with a given name. + + This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: CreateApplicationKey requestBody: content: @@ -25914,7 +25918,9 @@ paths: - user_app_keys /api/v1/application_key/{key}: delete: - description: Delete a given application key. + description: 'Delete a given application key. + + This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: DeleteApplicationKey parameters: - description: The specific APP key you are working with. @@ -25953,7 +25959,9 @@ paths: - org_app_keys_write - user_app_keys get: - description: Get a given application key. + description: 'Get a given application key. + + This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: GetApplicationKey parameters: - description: The specific APP key you are working with. @@ -25992,7 +26000,9 @@ paths: - org_app_keys_read - user_app_keys put: - description: Edit an application key name. + description: 'Edit an application key name. + + This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: UpdateApplicationKey parameters: - description: The specific APP key you are working with. diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 6401afac9..922424a28 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -62965,7 +62965,9 @@ paths: permissions: - user_app_keys get: - description: Get an application key owned by current user + description: 'Get an application key owned by current user. + + The `key` field is not returned for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: GetCurrentUserApplicationKey parameters: - $ref: '#/components/parameters/ApplicationKeyID' @@ -62998,7 +63000,9 @@ paths: permissions: - user_app_keys patch: - description: Edit an application key owned by current user + description: 'Edit an application key owned by current user. + + The `key` field is not returned for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: UpdateCurrentUserApplicationKey parameters: - $ref: '#/components/parameters/ApplicationKeyID' diff --git a/src/datadogV1/api/api_key_management.rs b/src/datadogV1/api/api_key_management.rs index 8190043ca..e7eba4ba0 100644 --- a/src/datadogV1/api/api_key_management.rs +++ b/src/datadogV1/api/api_key_management.rs @@ -310,6 +310,7 @@ impl KeyManagementAPI { } /// Create an application key with a given name. + /// This endpoint is disabled for organizations in [One-Time Read mode](). pub async fn create_application_key( &self, body: crate::datadogV1::model::ApplicationKey, @@ -332,6 +333,7 @@ impl KeyManagementAPI { } /// Create an application key with a given name. + /// This endpoint is disabled for organizations in [One-Time Read mode](). pub async fn create_application_key_with_http_info( &self, body: crate::datadogV1::model::ApplicationKey, @@ -567,6 +569,7 @@ impl KeyManagementAPI { } /// Delete a given application key. + /// This endpoint is disabled for organizations in [One-Time Read mode](). pub async fn delete_application_key( &self, key: String, @@ -589,6 +592,7 @@ impl KeyManagementAPI { } /// Delete a given application key. + /// This endpoint is disabled for organizations in [One-Time Read mode](). pub async fn delete_application_key_with_http_info( &self, key: String, @@ -779,6 +783,7 @@ impl KeyManagementAPI { } /// Get a given application key. + /// This endpoint is disabled for organizations in [One-Time Read mode](). pub async fn get_application_key( &self, key: String, @@ -801,6 +806,7 @@ impl KeyManagementAPI { } /// Get a given application key. + /// This endpoint is disabled for organizations in [One-Time Read mode](). pub async fn get_application_key_with_http_info( &self, key: String, @@ -990,6 +996,7 @@ impl KeyManagementAPI { } /// Get all application keys available for your Datadog account. + /// This endpoint is disabled for organizations in [One-Time Read mode](). pub async fn list_application_keys( &self, ) -> Result< @@ -1011,6 +1018,7 @@ impl KeyManagementAPI { } /// Get all application keys available for your Datadog account. + /// This endpoint is disabled for organizations in [One-Time Read mode](). pub async fn list_application_keys_with_http_info( &self, ) -> Result< @@ -1247,6 +1255,7 @@ impl KeyManagementAPI { } /// Edit an application key name. + /// This endpoint is disabled for organizations in [One-Time Read mode](). pub async fn update_application_key( &self, key: String, @@ -1270,6 +1279,7 @@ impl KeyManagementAPI { } /// Edit an application key name. + /// This endpoint is disabled for organizations in [One-Time Read mode](). pub async fn update_application_key_with_http_info( &self, key: String, diff --git a/src/datadogV2/api/api_key_management.rs b/src/datadogV2/api/api_key_management.rs index 7ff339e0b..49aeec38c 100644 --- a/src/datadogV2/api/api_key_management.rs +++ b/src/datadogV2/api/api_key_management.rs @@ -1246,7 +1246,8 @@ impl KeyManagementAPI { } } - /// Get an application key owned by current user + /// Get an application key owned by current user. + /// The `key` field is not returned for organizations in [One-Time Read mode](). pub async fn get_current_user_application_key( &self, app_key_id: String, @@ -1271,7 +1272,8 @@ impl KeyManagementAPI { } } - /// Get an application key owned by current user + /// Get an application key owned by current user. + /// The `key` field is not returned for organizations in [One-Time Read mode](). pub async fn get_current_user_application_key_with_http_info( &self, app_key_id: String, @@ -2126,7 +2128,8 @@ impl KeyManagementAPI { } } - /// Edit an application key owned by current user + /// Edit an application key owned by current user. + /// The `key` field is not returned for organizations in [One-Time Read mode](). pub async fn update_current_user_application_key( &self, app_key_id: String, @@ -2152,7 +2155,8 @@ impl KeyManagementAPI { } } - /// Edit an application key owned by current user + /// Edit an application key owned by current user. + /// The `key` field is not returned for organizations in [One-Time Read mode](). pub async fn update_current_user_application_key_with_http_info( &self, app_key_id: String,