Skip to content

Commit 7d67834

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

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-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:

src/main/java/com/datadog/api/client/v1/api/AwsIntegrationApi.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public CompletableFuture<AWSAccountCreateResponse> createAWSAccountAsync(AWSAcco
8989
}
9090

9191
/**
92-
* "<strong>This endpoint is deprecated - use the V2 endpoints instead.</strong> Create a
92+
* <strong>This endpoint is deprecated - use the V2 endpoints instead.</strong> Create a
9393
* Datadog-Amazon Web Services integration. Using the <code>POST</code> method updates your
9494
* integration configuration by adding your new configuration to the existing one in your Datadog
9595
* organization. A unique AWS Account ID for role based authentication.
@@ -237,7 +237,8 @@ public CompletableFuture<AWSEventBridgeCreateResponse> createAWSEventBridgeSourc
237237
}
238238

239239
/**
240-
* Create an Amazon EventBridge source.
240+
* <strong>This endpoint is deprecated - use the V2 endpoints instead.</strong> Create an Amazon
241+
* EventBridge source.
241242
*
242243
* @param body Create an Amazon EventBridge source for an AWS account with a given name and
243244
* region. (required)
@@ -834,7 +835,8 @@ public CompletableFuture<AWSEventBridgeDeleteResponse> deleteAWSEventBridgeSourc
834835
}
835836

836837
/**
837-
* Delete an Amazon EventBridge source.
838+
* <strong>This endpoint is deprecated - use the V2 endpoints instead.</strong> Delete an Amazon
839+
* EventBridge source.
838840
*
839841
* @param body Delete the Amazon EventBridge source with the given name, region, and associated
840842
* AWS account. (required)
@@ -1458,7 +1460,8 @@ public CompletableFuture<AWSEventBridgeListResponse> listAWSEventBridgeSourcesAs
14581460
}
14591461

14601462
/**
1461-
* Get all Amazon EventBridge sources.
1463+
* <strong>This endpoint is deprecated - use the V2 endpoints instead.</strong> Get all Amazon
1464+
* EventBridge sources.
14621465
*
14631466
* @return ApiResponse&lt;AWSEventBridgeListResponse&gt;
14641467
* @throws ApiException if fails to make API call

0 commit comments

Comments
 (0)