Skip to content

Commit b1e1bb1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b8b2ba1 of spec repo
1 parent 8c506ac commit b1e1bb1

File tree

5 files changed

+2
-40
lines changed

5 files changed

+2
-40
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66441,9 +66441,6 @@ paths:
6644166441
x-permission:
6644266442
operator: OPEN
6644366443
permissions: []
66444-
x-unstable: '**Note: Data Access is in preview. If you have any feedback,
66445-
66446-
contact [Datadog support](https://docs.datadoghq.com/help/).**'
6644766444
put:
6644866445
description: Edits the dataset associated with the ID.
6644966446
operationId: UpdateDataset
@@ -69334,9 +69331,6 @@ paths:
6933469331
operator: OR
6933569332
permissions:
6933669333
- incident_read
69337-
x-unstable: '**Note**: This endpoint is in Preview.
69338-
69339-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6934069334
post:
6934169335
description: Create an impact for an incident.
6934269336
operationId: CreateIncidentImpact
@@ -69380,9 +69374,6 @@ paths:
6938069374
operator: OR
6938169375
permissions:
6938269376
- incident_write
69383-
x-unstable: '**Note**: This endpoint is in Preview.
69384-
69385-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6938669377
/api/v2/incidents/{incident_id}/impacts/{impact_id}:
6938769378
delete:
6938869379
description: Delete an incident impact.
@@ -69413,9 +69404,6 @@ paths:
6941369404
operator: OR
6941469405
permissions:
6941569406
- incident_write
69416-
x-unstable: '**Note**: This endpoint is in Preview.
69417-
69418-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6941969407
/api/v2/incidents/{incident_id}/relationships/integrations:
6942069408
get:
6942169409
description: Get all integration metadata for an incident.

features/v2/incidents.feature

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -806,16 +806,14 @@ Feature: Incidents
806806

807807
@generated @skip @team:DataDog/incident-app
808808
Scenario: List an incident's impacts returns "Bad Request" response
809-
Given operation "ListIncidentImpacts" enabled
810-
And new "ListIncidentImpacts" request
809+
Given new "ListIncidentImpacts" request
811810
And request contains "incident_id" parameter from "REPLACE.ME"
812811
When the request is sent
813812
Then the response status is 400 Bad Request
814813

815814
@generated @skip @team:DataDog/incident-app
816815
Scenario: List an incident's impacts returns "Not Found" response
817-
Given operation "ListIncidentImpacts" enabled
818-
And new "ListIncidentImpacts" request
816+
Given new "ListIncidentImpacts" request
819817
And request contains "incident_id" parameter from "REPLACE.ME"
820818
When the request is sent
821819
Then the response status is 404 Not Found

packages/datadog-api-client-common/configuration.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ export function createConfiguration(
267267
"v2.createDataset": false,
268268
"v2.deleteDataset": false,
269269
"v2.getAllDatasets": false,
270-
"v2.getDataset": false,
271270
"v2.updateDataset": false,
272271
"v2.cancelDataDeletionRequest": false,
273272
"v2.createDataDeletionRequest": false,
@@ -282,14 +281,12 @@ export function createConfiguration(
282281
"v2.updateDeploymentGate": false,
283282
"v2.updateDeploymentRule": false,
284283
"v2.createIncident": false,
285-
"v2.createIncidentImpact": false,
286284
"v2.createIncidentIntegration": false,
287285
"v2.createIncidentNotificationRule": false,
288286
"v2.createIncidentNotificationTemplate": false,
289287
"v2.createIncidentTodo": false,
290288
"v2.createIncidentType": false,
291289
"v2.deleteIncident": false,
292-
"v2.deleteIncidentImpact": false,
293290
"v2.deleteIncidentIntegration": false,
294291
"v2.deleteIncidentNotificationRule": false,
295292
"v2.deleteIncidentNotificationTemplate": false,
@@ -302,7 +299,6 @@ export function createConfiguration(
302299
"v2.getIncidentTodo": false,
303300
"v2.getIncidentType": false,
304301
"v2.listIncidentAttachments": false,
305-
"v2.listIncidentImpacts": false,
306302
"v2.listIncidentIntegrations": false,
307303
"v2.listIncidentNotificationRules": false,
308304
"v2.listIncidentNotificationTemplates": false,

packages/datadog-api-client-v2/apis/DatasetsApi.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,6 @@ export class DatasetsApiRequestFactory extends BaseAPIRequestFactory {
145145
): Promise<RequestContext> {
146146
const _config = _options || this.configuration;
147147

148-
logger.warn("Using unstable operation 'getDataset'");
149-
if (!_config.unstableOperations["v2.getDataset"]) {
150-
throw new Error("Unstable operation 'getDataset' is disabled");
151-
}
152-
153148
// verify required parameter 'datasetId' is not null or undefined
154149
if (datasetId === null || datasetId === undefined) {
155150
throw new RequiredError("datasetId", "getDataset");

packages/datadog-api-client-v2/apis/IncidentsApi.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,6 @@ export class IncidentsApiRequestFactory extends BaseAPIRequestFactory {
112112
): Promise<RequestContext> {
113113
const _config = _options || this.configuration;
114114

115-
logger.warn("Using unstable operation 'createIncidentImpact'");
116-
if (!_config.unstableOperations["v2.createIncidentImpact"]) {
117-
throw new Error("Unstable operation 'createIncidentImpact' is disabled");
118-
}
119-
120115
// verify required parameter 'incidentId' is not null or undefined
121116
if (incidentId === null || incidentId === undefined) {
122117
throw new RequiredError("incidentId", "createIncidentImpact");
@@ -495,11 +490,6 @@ export class IncidentsApiRequestFactory extends BaseAPIRequestFactory {
495490
): Promise<RequestContext> {
496491
const _config = _options || this.configuration;
497492

498-
logger.warn("Using unstable operation 'deleteIncidentImpact'");
499-
if (!_config.unstableOperations["v2.deleteIncidentImpact"]) {
500-
throw new Error("Unstable operation 'deleteIncidentImpact' is disabled");
501-
}
502-
503493
// verify required parameter 'incidentId' is not null or undefined
504494
if (incidentId === null || incidentId === undefined) {
505495
throw new RequiredError("incidentId", "deleteIncidentImpact");
@@ -1140,11 +1130,6 @@ export class IncidentsApiRequestFactory extends BaseAPIRequestFactory {
11401130
): Promise<RequestContext> {
11411131
const _config = _options || this.configuration;
11421132

1143-
logger.warn("Using unstable operation 'listIncidentImpacts'");
1144-
if (!_config.unstableOperations["v2.listIncidentImpacts"]) {
1145-
throw new Error("Unstable operation 'listIncidentImpacts' is disabled");
1146-
}
1147-
11481133
// verify required parameter 'incidentId' is not null or undefined
11491134
if (incidentId === null || incidentId === undefined) {
11501135
throw new RequiredError("incidentId", "listIncidentImpacts");

0 commit comments

Comments
 (0)