Skip to content

Commit b36bf0c

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

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

.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:

api/datadogV1/api_aws_integration.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
type AWSIntegrationApi datadog.Service
1717

1818
// CreateAWSAccount Create an AWS integration.
19-
// "**This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration.
19+
// **This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration.
2020
// Using the `POST` method updates your integration configuration
2121
// by adding your new configuration to the existing one in your Datadog organization.
2222
// A unique AWS Account ID for role based authentication.
@@ -101,7 +101,7 @@ func (a *AWSIntegrationApi) CreateAWSAccount(ctx _context.Context, body AWSAccou
101101
}
102102

103103
// CreateAWSEventBridgeSource Create an Amazon EventBridge source.
104-
// Create an Amazon EventBridge source.
104+
// **This endpoint is deprecated - use the V2 endpoints instead.** Create an Amazon EventBridge source.
105105
//
106106
// Deprecated: This API is deprecated.
107107
func (a *AWSIntegrationApi) CreateAWSEventBridgeSource(ctx _context.Context, body AWSEventBridgeCreateRequest) (AWSEventBridgeCreateResponse, *_nethttp.Response, error) {
@@ -429,7 +429,7 @@ func (a *AWSIntegrationApi) DeleteAWSAccount(ctx _context.Context, body AWSAccou
429429
}
430430

431431
// DeleteAWSEventBridgeSource Delete an Amazon EventBridge source.
432-
// Delete an Amazon EventBridge source.
432+
// **This endpoint is deprecated - use the V2 endpoints instead.** Delete an Amazon EventBridge source.
433433
//
434434
// Deprecated: This API is deprecated.
435435
func (a *AWSIntegrationApi) DeleteAWSEventBridgeSource(ctx _context.Context, body AWSEventBridgeDeleteRequest) (AWSEventBridgeDeleteResponse, *_nethttp.Response, error) {
@@ -720,7 +720,7 @@ func (a *AWSIntegrationApi) ListAWSAccounts(ctx _context.Context, o ...ListAWSAc
720720
}
721721

722722
// ListAWSEventBridgeSources Get all Amazon EventBridge sources.
723-
// Get all Amazon EventBridge sources.
723+
// **This endpoint is deprecated - use the V2 endpoints instead.** Get all Amazon EventBridge sources.
724724
//
725725
// Deprecated: This API is deprecated.
726726
func (a *AWSIntegrationApi) ListAWSEventBridgeSources(ctx _context.Context) (AWSEventBridgeListResponse, *_nethttp.Response, error) {

0 commit comments

Comments
 (0)