Skip to content

Commit dde06f0

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

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
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/datadogV1/api/api_aws_integration.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ impl AWSIntegrationAPI {
236236
Self { config, client }
237237
}
238238

239-
/// "**This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration.
239+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration.
240240
/// Using the `POST` method updates your integration configuration
241241
/// by adding your new configuration to the existing one in your Datadog organization.
242242
/// A unique AWS Account ID for role based authentication.
@@ -261,7 +261,7 @@ impl AWSIntegrationAPI {
261261
}
262262
}
263263

264-
/// "**This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration.
264+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration.
265265
/// Using the `POST` method updates your integration configuration
266266
/// by adding your new configuration to the existing one in your Datadog organization.
267267
/// A unique AWS Account ID for role based authentication.
@@ -396,7 +396,7 @@ impl AWSIntegrationAPI {
396396
}
397397
}
398398

399-
/// Create an Amazon EventBridge source.
399+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Create an Amazon EventBridge source.
400400
pub async fn create_aws_event_bridge_source(
401401
&self,
402402
body: crate::datadogV1::model::AWSEventBridgeCreateRequest,
@@ -421,7 +421,7 @@ impl AWSIntegrationAPI {
421421
}
422422
}
423423

424-
/// Create an Amazon EventBridge source.
424+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Create an Amazon EventBridge source.
425425
pub async fn create_aws_event_bridge_source_with_http_info(
426426
&self,
427427
body: crate::datadogV1::model::AWSEventBridgeCreateRequest,
@@ -1015,7 +1015,7 @@ impl AWSIntegrationAPI {
10151015
}
10161016
}
10171017

1018-
/// Delete an Amazon EventBridge source.
1018+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Delete an Amazon EventBridge source.
10191019
pub async fn delete_aws_event_bridge_source(
10201020
&self,
10211021
body: crate::datadogV1::model::AWSEventBridgeDeleteRequest,
@@ -1040,7 +1040,7 @@ impl AWSIntegrationAPI {
10401040
}
10411041
}
10421042

1043-
/// Delete an Amazon EventBridge source.
1043+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Delete an Amazon EventBridge source.
10441044
pub async fn delete_aws_event_bridge_source_with_http_info(
10451045
&self,
10461046
body: crate::datadogV1::model::AWSEventBridgeDeleteRequest,
@@ -1450,7 +1450,7 @@ impl AWSIntegrationAPI {
14501450
}
14511451
}
14521452

1453-
/// Get all Amazon EventBridge sources.
1453+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Get all Amazon EventBridge sources.
14541454
pub async fn list_aws_event_bridge_sources(
14551455
&self,
14561456
) -> Result<
@@ -1471,7 +1471,7 @@ impl AWSIntegrationAPI {
14711471
}
14721472
}
14731473

1474-
/// Get all Amazon EventBridge sources.
1474+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Get all Amazon EventBridge sources.
14751475
pub async fn list_aws_event_bridge_sources_with_http_info(
14761476
&self,
14771477
) -> Result<

0 commit comments

Comments
 (0)