Skip to content

Commit 4a6a608

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
fix(aws): mark eventbridge v1 endpoints as deprecated (#2920)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent dcf9568 commit 4a6a608

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:

src/datadog_api_client/v1/api/aws_integration_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def create_aws_account(
305305
) -> AWSAccountCreateResponse:
306306
"""Create an AWS integration. **Deprecated**.
307307
308-
" **This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration.
308+
**This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration.
309309
Using the ``POST`` method updates your integration configuration
310310
by adding your new configuration to the existing one in your Datadog organization.
311311
A unique AWS Account ID for role based authentication.
@@ -326,7 +326,7 @@ def create_aws_event_bridge_source(
326326
) -> AWSEventBridgeCreateResponse:
327327
"""Create an Amazon EventBridge source. **Deprecated**.
328328
329-
Create an Amazon EventBridge source.
329+
**This endpoint is deprecated - use the V2 endpoints instead.** Create an Amazon EventBridge source.
330330
331331
:param body: Create an Amazon EventBridge source for an AWS account with a given name and region.
332332
:type body: AWSEventBridgeCreateRequest
@@ -401,7 +401,7 @@ def delete_aws_event_bridge_source(
401401
) -> AWSEventBridgeDeleteResponse:
402402
"""Delete an Amazon EventBridge source. **Deprecated**.
403403
404-
Delete an Amazon EventBridge source.
404+
**This endpoint is deprecated - use the V2 endpoints instead.** Delete an Amazon EventBridge source.
405405
406406
:param body: Delete the Amazon EventBridge source with the given name, region, and associated AWS account.
407407
:type body: AWSEventBridgeDeleteRequest
@@ -481,7 +481,7 @@ def list_aws_event_bridge_sources(
481481
) -> AWSEventBridgeListResponse:
482482
"""Get all Amazon EventBridge sources. **Deprecated**.
483483
484-
Get all Amazon EventBridge sources.
484+
**This endpoint is deprecated - use the V2 endpoints instead.** Get all Amazon EventBridge sources.
485485
486486
:rtype: AWSEventBridgeListResponse
487487
"""

0 commit comments

Comments
 (0)