Skip to content

Commit e8b22c7

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
fix(aws): mark eventbridge v1 endpoints as deprecated (#2956)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 4fa3a1c commit e8b22c7

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28175,7 +28175,7 @@ paths:
2817528175
- aws_configuration_read
2817628176
post:
2817728177
deprecated: true
28178-
description: '"**This endpoint is deprecated - use the V2 endpoints instead.**
28178+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
2817928179
Create a Datadog-Amazon Web Services integration.
2818028180

2818128181
Using the `POST` method updates your integration configuration
@@ -28334,7 +28334,8 @@ paths:
2833428334
/api/v1/integration/aws/event_bridge:
2833528335
delete:
2833628336
deprecated: true
28337-
description: Delete an Amazon EventBridge source.
28337+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
28338+
Delete an Amazon EventBridge source.'
2833828339
operationId: DeleteAWSEventBridgeSource
2833928340
requestBody:
2834028341
content:
@@ -28375,7 +28376,8 @@ paths:
2837528376
- manage_integrations
2837628377
get:
2837728378
deprecated: true
28378-
description: Get all Amazon EventBridge sources.
28379+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
28380+
Get all Amazon EventBridge sources.'
2837928381
operationId: ListAWSEventBridgeSources
2838028382
parameters: []
2838128383
responses:
@@ -28407,7 +28409,8 @@ paths:
2840728409
permissions: []
2840828410
post:
2840928411
deprecated: true
28410-
description: Create an Amazon EventBridge source.
28412+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
28413+
Create an Amazon EventBridge source.'
2841128414
operationId: CreateAWSEventBridgeSource
2841228415
requestBody:
2841328416
content:

services/aws_integration/src/v1/AWSIntegrationApi.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@ export class AWSIntegrationApi {
14971497
}
14981498

14991499
/**
1500-
* "**This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration.
1500+
* **This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration.
15011501
* Using the `POST` method updates your integration configuration
15021502
* by adding your new configuration to the existing one in your Datadog organization.
15031503
* A unique AWS Account ID for role based authentication.
@@ -1521,7 +1521,7 @@ export class AWSIntegrationApi {
15211521
}
15221522

15231523
/**
1524-
* Create an Amazon EventBridge source.
1524+
* **This endpoint is deprecated - use the V2 endpoints instead.** Create an Amazon EventBridge source.
15251525
* @param param The request object
15261526
*/
15271527
public createAWSEventBridgeSource(
@@ -1605,7 +1605,7 @@ export class AWSIntegrationApi {
16051605
}
16061606

16071607
/**
1608-
* Delete an Amazon EventBridge source.
1608+
* **This endpoint is deprecated - use the V2 endpoints instead.** Delete an Amazon EventBridge source.
16091609
* @param param The request object
16101610
*/
16111611
public deleteAWSEventBridgeSource(
@@ -1690,7 +1690,7 @@ export class AWSIntegrationApi {
16901690
}
16911691

16921692
/**
1693-
* Get all Amazon EventBridge sources.
1693+
* **This endpoint is deprecated - use the V2 endpoints instead.** Get all Amazon EventBridge sources.
16941694
* @param param The request object
16951695
*/
16961696
public listAWSEventBridgeSources(

0 commit comments

Comments
 (0)