diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 0bf5e783b1da..01701bf7e300 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -65998,9 +65998,6 @@ paths: operator: OR permissions: - user_access_read - x-unstable: '**Note: Data Access is in preview. If you have any feedback, - - contact [Datadog support](https://docs.datadoghq.com/help/).**' post: description: Create a dataset with the configurations in the request. operationId: CreateDataset @@ -66050,9 +66047,6 @@ paths: operator: OR permissions: - user_access_manage - x-unstable: '**Note: Data Access is in preview. If you have any feedback, - - contact [Datadog support](https://docs.datadoghq.com/help/).**' /api/v2/datasets/{dataset_id}: delete: description: Deletes the dataset associated with the ID. @@ -66082,9 +66076,6 @@ paths: operator: OR permissions: - user_access_manage - x-unstable: '**Note: Data Access is in preview. If you have any feedback, - - contact [Datadog support](https://docs.datadoghq.com/help/).**' get: description: Retrieves the dataset associated with the ID. operationId: GetDataset @@ -66116,9 +66107,6 @@ paths: x-permission: operator: OPEN permissions: [] - x-unstable: '**Note: Data Access is in preview. If you have any feedback, - - contact [Datadog support](https://docs.datadoghq.com/help/).**' put: description: Edits the dataset associated with the ID. operationId: UpdateDataset @@ -66159,9 +66147,6 @@ paths: operator: OR permissions: - user_access_manage - x-unstable: '**Note: Data Access is in preview. If you have any feedback, - - contact [Datadog support](https://docs.datadoghq.com/help/).**' /api/v2/deletion/data/{product}: post: description: Creates a data deletion request by providing a query and a timeframe @@ -67941,6 +67926,7 @@ paths: - us3.datadoghq.com - us5.datadoghq.com - ap1.datadoghq.com + - ap2.datadoghq.com - datadoghq.eu - ddog-gov.com subdomain: diff --git a/packages/datadog-api-client-common/configuration.ts b/packages/datadog-api-client-common/configuration.ts index e94e5c055eac..79580625bb0e 100644 --- a/packages/datadog-api-client-common/configuration.ts +++ b/packages/datadog-api-client-common/configuration.ts @@ -264,11 +264,6 @@ export function createConfiguration( "v2.muteFindings": false, "v2.runThreatHuntingJob": false, "v2.searchSecurityMonitoringHistsignals": false, - "v2.createDataset": false, - "v2.deleteDataset": false, - "v2.getAllDatasets": false, - "v2.getDataset": false, - "v2.updateDataset": false, "v2.cancelDataDeletionRequest": false, "v2.createDataDeletionRequest": false, "v2.getDataDeletionRequests": false, diff --git a/packages/datadog-api-client-common/servers.ts b/packages/datadog-api-client-common/servers.ts index 3430cb6090e8..6e2cee2f3fb6 100644 --- a/packages/datadog-api-client-common/servers.ts +++ b/packages/datadog-api-client-common/servers.ts @@ -163,6 +163,7 @@ export const operationServers: { | "us3.datadoghq.com" | "us5.datadoghq.com" | "ap1.datadoghq.com" + | "ap2.datadoghq.com" | "datadoghq.eu" | "ddog-gov.com"; subdomain: string; diff --git a/packages/datadog-api-client-v2/apis/DatasetsApi.ts b/packages/datadog-api-client-v2/apis/DatasetsApi.ts index 15ee4f2f9688..e687c6302404 100644 --- a/packages/datadog-api-client-v2/apis/DatasetsApi.ts +++ b/packages/datadog-api-client-v2/apis/DatasetsApi.ts @@ -29,11 +29,6 @@ export class DatasetsApiRequestFactory extends BaseAPIRequestFactory { ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'createDataset'"); - if (!_config.unstableOperations["v2.createDataset"]) { - throw new Error("Unstable operation 'createDataset' is disabled"); - } - // verify required parameter 'body' is not null or undefined if (body === null || body === undefined) { throw new RequiredError("body", "createDataset"); @@ -76,11 +71,6 @@ export class DatasetsApiRequestFactory extends BaseAPIRequestFactory { ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'deleteDataset'"); - if (!_config.unstableOperations["v2.deleteDataset"]) { - throw new Error("Unstable operation 'deleteDataset' is disabled"); - } - // verify required parameter 'datasetId' is not null or undefined if (datasetId === null || datasetId === undefined) { throw new RequiredError("datasetId", "deleteDataset"); @@ -114,11 +104,6 @@ export class DatasetsApiRequestFactory extends BaseAPIRequestFactory { ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'getAllDatasets'"); - if (!_config.unstableOperations["v2.getAllDatasets"]) { - throw new Error("Unstable operation 'getAllDatasets' is disabled"); - } - // Path Params const localVarPath = "/api/v2/datasets"; @@ -145,11 +130,6 @@ export class DatasetsApiRequestFactory extends BaseAPIRequestFactory { ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'getDataset'"); - if (!_config.unstableOperations["v2.getDataset"]) { - throw new Error("Unstable operation 'getDataset' is disabled"); - } - // verify required parameter 'datasetId' is not null or undefined if (datasetId === null || datasetId === undefined) { throw new RequiredError("datasetId", "getDataset"); @@ -185,11 +165,6 @@ export class DatasetsApiRequestFactory extends BaseAPIRequestFactory { ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'updateDataset'"); - if (!_config.unstableOperations["v2.updateDataset"]) { - throw new Error("Unstable operation 'updateDataset' is disabled"); - } - // verify required parameter 'datasetId' is not null or undefined if (datasetId === null || datasetId === undefined) { throw new RequiredError("datasetId", "updateDataset");