Skip to content

Commit e5e7f0a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b6b5c9a of spec repo
1 parent 3d74ed8 commit e5e7f0a

File tree

7 files changed

+48
-80
lines changed

7 files changed

+48
-80
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27347,6 +27347,7 @@ paths:
2734727347
- hosts_read
2734827348
/api/v1/integration/aws:
2734927349
delete:
27350+
deprecated: true
2735027351
description: Delete a Datadog-AWS integration matching the specified `account_id`
2735127352
and `role_name parameters`.
2735227353
operationId: DeleteAWSAccount
@@ -27393,6 +27394,7 @@ paths:
2739327394
permissions:
2739427395
- aws_configurations_manage
2739527396
get:
27397+
deprecated: true
2739627398
description: List all Datadog-AWS integrations available in your Datadog organization.
2739727399
operationId: ListAWSAccounts
2739827400
parameters:
@@ -27443,6 +27445,7 @@ paths:
2744327445
permissions:
2744427446
- aws_configuration_read
2744527447
post:
27448+
deprecated: true
2744627449
description: 'Create a Datadog-Amazon Web Services integration.
2744727450

2744827451
Using the `POST` method updates your integration configuration
@@ -27494,6 +27497,7 @@ paths:
2749427497
permissions:
2749527498
- aws_configurations_manage
2749627499
put:
27500+
deprecated: true
2749727501
description: Update a Datadog-Amazon Web Services integration.
2749827502
operationId: UpdateAWSAccount
2749927503
parameters:
@@ -27563,6 +27567,7 @@ paths:
2756327567
- aws_configuration_edit
2756427568
/api/v1/integration/aws/available_namespace_rules:
2756527569
get:
27570+
deprecated: true
2756627571
description: List all namespace rules for a given Datadog-AWS integration. This
2756727572
endpoint takes no arguments.
2756827573
operationId: ListAvailableAWSNamespaces
@@ -27708,6 +27713,7 @@ paths:
2770827713
- manage_integrations
2770927714
/api/v1/integration/aws/filtering:
2771027715
delete:
27716+
deprecated: true
2771127717
description: Delete a tag filtering entry.
2771227718
operationId: DeleteAWSTagFilter
2771327719
requestBody:
@@ -27749,6 +27755,7 @@ paths:
2774927755
permissions:
2775027756
- aws_configuration_edit
2775127757
get:
27758+
deprecated: true
2775227759
description: Get all AWS tag filters.
2775327760
operationId: ListAWSTagFilters
2775427761
parameters:
@@ -27787,6 +27794,7 @@ paths:
2778727794
permissions:
2778827795
- aws_configuration_read
2778927796
post:
27797+
deprecated: true
2779027798
description: Set an AWS tag filter.
2779127799
operationId: CreateAWSTagFilter
2779227800
requestBody:
@@ -27832,6 +27840,7 @@ paths:
2783227840
- aws_configuration_edit
2783327841
/api/v1/integration/aws/generate_new_external_id:
2783427842
put:
27843+
deprecated: true
2783527844
description: Generate a new AWS external ID for a given AWS account ID and role
2783627845
name pair.
2783727846
operationId: CreateNewAWSExternalID
@@ -27917,6 +27926,7 @@ paths:
2791727926
permissions:
2791827927
- aws_configuration_edit
2791927928
get:
27929+
deprecated: true
2792027930
description: List all Datadog-AWS Logs integrations configured in your Datadog
2792127931
account.
2792227932
operationId: ListAWSLogsIntegrations
@@ -28058,6 +28068,7 @@ paths:
2805828068
- aws_configuration_read
2805928069
/api/v1/integration/aws/logs/services:
2806028070
get:
28071+
deprecated: true
2806128072
description: Get the list of current AWS services that Datadog offers automatic
2806228073
log collection. Use returned service IDs with the services parameter for the
2806328074
Enable an AWS service log collection API endpoint.
@@ -28100,6 +28111,7 @@ paths:
2810028111
permissions:
2810128112
- aws_configuration_read
2810228113
post:
28114+
deprecated: true
2810328115
description: Enable automatic log collection for a list of services. This should
2810428116
be run after running `CreateAWSLambdaARN` to save the configuration.
2810528117
operationId: EnableAWSLogServices

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -55263,9 +55263,6 @@ paths:
5526355263
operator: OR
5526455264
permissions:
5526555265
- aws_configuration_read
55266-
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
55267-
55268-
contact [Datadog support](https://docs.datadoghq.com/help/).**'
5526955266
post:
5527055267
description: Create a new AWS Account Integration Config.
5527155268
operationId: CreateAWSAccount
@@ -55298,9 +55295,6 @@ paths:
5529855295
operator: OR
5529955296
permissions:
5530055297
- aws_configurations_manage
55301-
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
55302-
55303-
contact [Datadog support](https://docs.datadoghq.com/help/).**'
5530455298
/api/v2/integration/aws/accounts/{aws_account_config_id}:
5530555299
delete:
5530655300
description: Delete an AWS Account Integration Config by config ID.
@@ -55325,9 +55319,6 @@ paths:
5532555319
operator: OR
5532655320
permissions:
5532755321
- aws_configurations_manage
55328-
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
55329-
55330-
contact [Datadog support](https://docs.datadoghq.com/help/).**'
5533155322
get:
5533255323
description: Get an AWS Account Integration Config by config ID.
5533355324
operationId: GetAWSAccount
@@ -55355,9 +55346,6 @@ paths:
5535555346
operator: OR
5535655347
permissions:
5535755348
- aws_configuration_read
55358-
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
55359-
55360-
contact [Datadog support](https://docs.datadoghq.com/help/).**'
5536155349
patch:
5536255350
description: Update an AWS Account Integration Config by config ID.
5536355351
operationId: UpdateAWSAccount
@@ -55392,9 +55380,6 @@ paths:
5539255380
operator: OR
5539355381
permissions:
5539455382
- aws_configuration_edit
55395-
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
55396-
55397-
contact [Datadog support](https://docs.datadoghq.com/help/).**'
5539855383
/api/v2/integration/aws/available_namespaces:
5539955384
get:
5540055385
description: Get a list of available AWS CloudWatch namespaces that can send
@@ -55418,9 +55403,6 @@ paths:
5541855403
operator: OR
5541955404
permissions:
5542055405
- aws_configuration_read
55421-
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
55422-
55423-
contact [Datadog support](https://docs.datadoghq.com/help/).**'
5542455406
/api/v2/integration/aws/generate_new_external_id:
5542555407
post:
5542655408
description: Generate a new external ID for AWS role-based authentication.
@@ -55443,9 +55425,6 @@ paths:
5544355425
operator: OR
5544455426
permissions:
5544555427
- aws_configuration_edit
55446-
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
55447-
55448-
contact [Datadog support](https://docs.datadoghq.com/help/).**'
5544955428
/api/v2/integration/aws/iam_permissions:
5545055429
get:
5545155430
description: Get all AWS IAM permissions required for the AWS integration.
@@ -55484,9 +55463,6 @@ paths:
5548455463
operator: OR
5548555464
permissions:
5548655465
- aws_configuration_read
55487-
x-unstable: '**Note: This endpoint is in public beta. If you have any feedback,
55488-
55489-
contact [Datadog support](https://docs.datadoghq.com/help/).**'
5549055466
/api/v2/integration/gcp/accounts:
5549155467
get:
5549255468
description: List all GCP STS-enabled service accounts configured in your Datadog

lib/datadog_api_client/configuration.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,6 @@ def initialize
248248
"v2.update_incident_notification_template": false,
249249
"v2.update_incident_todo": false,
250250
"v2.update_incident_type": false,
251-
"v2.create_aws_account": false,
252-
"v2.create_new_aws_external_id": false,
253-
"v2.delete_aws_account": false,
254-
"v2.get_aws_account": false,
255-
"v2.list_aws_accounts": false,
256-
"v2.list_aws_namespaces": false,
257-
"v2.update_aws_account": false,
258-
"v2.list_aws_logs_services": false,
259251
"v2.create_monitor_user_template": false,
260252
"v2.delete_monitor_user_template": false,
261253
"v2.get_monitor_user_template": false,

lib/datadog_api_client/v1/api/aws_integration_api.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,13 @@ def create_aws_account(body, opts = {})
3838
# by adding your new configuration to the existing one in your Datadog organization.
3939
# A unique AWS Account ID for role based authentication.
4040
#
41+
# @deprecated This API is deprecated.
42+
#
4143
# @param body [AWSAccount] AWS Request Object
4244
# @param opts [Hash] the optional parameters
4345
# @return [Array<(AWSAccountCreateResponse, Integer, Hash)>] AWSAccountCreateResponse data, response status code and response headers
4446
def create_aws_account_with_http_info(body, opts = {})
47+
warn "[DEPRECATION] `CreateAWSAccount` is deprecated."
4548

4649
if @api_client.config.debugging
4750
@api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.create_aws_account ...'
@@ -172,10 +175,13 @@ def create_aws_tag_filter(body, opts = {})
172175
#
173176
# Set an AWS tag filter.
174177
#
178+
# @deprecated This API is deprecated.
179+
#
175180
# @param body [AWSTagFilterCreateRequest] Set an AWS tag filter using an `aws_account_identifier`, `namespace`, and filtering string. Namespace options are `application_elb`, `elb`, `lambda`, `network_elb`, `rds`, `sqs`, and `custom`.
176181
# @param opts [Hash] the optional parameters
177182
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
178183
def create_aws_tag_filter_with_http_info(body, opts = {})
184+
warn "[DEPRECATION] `CreateAWSTagFilter` is deprecated."
179185

180186
if @api_client.config.debugging
181187
@api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.create_aws_tag_filter ...'
@@ -239,10 +245,13 @@ def create_new_aws_external_id(body, opts = {})
239245
#
240246
# Generate a new AWS external ID for a given AWS account ID and role name pair.
241247
#
248+
# @deprecated This API is deprecated.
249+
#
242250
# @param body [AWSAccount] Your Datadog role delegation name. For more information about your AWS account Role name, see the [Datadog AWS integration configuration info](https://docs.datadoghq.com/integrations/amazon_web_services/#setup).
243251
# @param opts [Hash] the optional parameters
244252
# @return [Array<(AWSAccountCreateResponse, Integer, Hash)>] AWSAccountCreateResponse data, response status code and response headers
245253
def create_new_aws_external_id_with_http_info(body, opts = {})
254+
warn "[DEPRECATION] `CreateNewAWSExternalID` is deprecated."
246255

247256
if @api_client.config.debugging
248257
@api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.create_new_aws_external_id ...'
@@ -306,10 +315,13 @@ def delete_aws_account(body, opts = {})
306315
#
307316
# Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`.
308317
#
318+
# @deprecated This API is deprecated.
319+
#
309320
# @param body [AWSAccountDeleteRequest] AWS request object
310321
# @param opts [Hash] the optional parameters
311322
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
312323
def delete_aws_account_with_http_info(body, opts = {})
324+
warn "[DEPRECATION] `DeleteAWSAccount` is deprecated."
313325

314326
if @api_client.config.debugging
315327
@api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.delete_aws_account ...'
@@ -440,10 +452,13 @@ def delete_aws_tag_filter(body, opts = {})
440452
#
441453
# Delete a tag filtering entry.
442454
#
455+
# @deprecated This API is deprecated.
456+
#
443457
# @param body [AWSTagFilterDeleteRequest] Delete a tag filtering entry for a given AWS account and `dd-aws` namespace.
444458
# @param opts [Hash] the optional parameters
445459
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
446460
def delete_aws_tag_filter_with_http_info(body, opts = {})
461+
warn "[DEPRECATION] `DeleteAWSTagFilter` is deprecated."
447462

448463
if @api_client.config.debugging
449464
@api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.delete_aws_tag_filter ...'
@@ -507,9 +522,12 @@ def list_available_aws_namespaces(opts = {})
507522
#
508523
# List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.
509524
#
525+
# @deprecated This API is deprecated.
526+
#
510527
# @param opts [Hash] the optional parameters
511528
# @return [Array<(Array<String>, Integer, Hash)>] Array<String> data, response status code and response headers
512529
def list_available_aws_namespaces_with_http_info(opts = {})
530+
warn "[DEPRECATION] `ListAvailableAWSNamespaces` is deprecated."
513531

514532
if @api_client.config.debugging
515533
@api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.list_available_aws_namespaces ...'
@@ -567,12 +585,15 @@ def list_aws_accounts(opts = {})
567585
#
568586
# List all Datadog-AWS integrations available in your Datadog organization.
569587
#
588+
# @deprecated This API is deprecated.
589+
#
570590
# @param opts [Hash] the optional parameters
571591
# @option opts [String] :account_id Only return AWS accounts that matches this `account_id`.
572592
# @option opts [String] :role_name Only return AWS accounts that matches this role_name.
573593
# @option opts [String] :access_key_id Only return AWS accounts that matches this `access_key_id`.
574594
# @return [Array<(AWSAccountListResponse, Integer, Hash)>] AWSAccountListResponse data, response status code and response headers
575595
def list_aws_accounts_with_http_info(opts = {})
596+
warn "[DEPRECATION] `ListAWSAccounts` is deprecated."
576597

577598
if @api_client.config.debugging
578599
@api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.list_aws_accounts ...'
@@ -693,10 +714,13 @@ def list_aws_tag_filters(account_id, opts = {})
693714
#
694715
# Get all AWS tag filters.
695716
#
717+
# @deprecated This API is deprecated.
718+
#
696719
# @param account_id [String] Only return AWS filters that matches this `account_id`.
697720
# @param opts [Hash] the optional parameters
698721
# @return [Array<(AWSTagFilterListResponse, Integer, Hash)>] AWSTagFilterListResponse data, response status code and response headers
699722
def list_aws_tag_filters_with_http_info(account_id, opts = {})
723+
warn "[DEPRECATION] `ListAWSTagFilters` is deprecated."
700724

701725
if @api_client.config.debugging
702726
@api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.list_aws_tag_filters ...'
@@ -759,13 +783,16 @@ def update_aws_account(body, opts = {})
759783
#
760784
# Update a Datadog-Amazon Web Services integration.
761785
#
786+
# @deprecated This API is deprecated.
787+
#
762788
# @param body [AWSAccount] AWS request object
763789
# @param opts [Hash] the optional parameters
764790
# @option opts [String] :account_id Only return AWS accounts that matches this `account_id`.
765791
# @option opts [String] :role_name Only return AWS accounts that match this `role_name`. Required if `account_id` is specified.
766792
# @option opts [String] :access_key_id Only return AWS accounts that matches this `access_key_id`. Required if none of the other two options are specified.
767793
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
768794
def update_aws_account_with_http_info(body, opts = {})
795+
warn "[DEPRECATION] `UpdateAWSAccount` is deprecated."
769796

770797
if @api_client.config.debugging
771798
@api_client.config.logger.debug 'Calling API: AWSIntegrationAPI.update_aws_account ...'

lib/datadog_api_client/v1/api/aws_logs_integration_api.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,13 @@ def enable_aws_log_services(body, opts = {})
319319
#
320320
# Enable automatic log collection for a list of services. This should be run after running `CreateAWSLambdaARN` to save the configuration.
321321
#
322+
# @deprecated This API is deprecated.
323+
#
322324
# @param body [AWSLogsServicesRequest] Enable AWS Log Services request body.
323325
# @param opts [Hash] the optional parameters
324326
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
325327
def enable_aws_log_services_with_http_info(body, opts = {})
328+
warn "[DEPRECATION] `EnableAWSLogServices` is deprecated."
326329

327330
if @api_client.config.debugging
328331
@api_client.config.logger.debug 'Calling API: AWSLogsIntegrationAPI.enable_aws_log_services ...'
@@ -386,9 +389,12 @@ def list_aws_logs_integrations(opts = {})
386389
#
387390
# List all Datadog-AWS Logs integrations configured in your Datadog account.
388391
#
392+
# @deprecated This API is deprecated.
393+
#
389394
# @param opts [Hash] the optional parameters
390395
# @return [Array<(Array<AWSLogsListResponse>, Integer, Hash)>] Array<AWSLogsListResponse> data, response status code and response headers
391396
def list_aws_logs_integrations_with_http_info(opts = {})
397+
warn "[DEPRECATION] `ListAWSLogsIntegrations` is deprecated."
392398

393399
if @api_client.config.debugging
394400
@api_client.config.logger.debug 'Calling API: AWSLogsIntegrationAPI.list_aws_logs_integrations ...'
@@ -446,9 +452,12 @@ def list_aws_logs_services(opts = {})
446452
#
447453
# Get the list of current AWS services that Datadog offers automatic log collection. Use returned service IDs with the services parameter for the Enable an AWS service log collection API endpoint.
448454
#
455+
# @deprecated This API is deprecated.
456+
#
449457
# @param opts [Hash] the optional parameters
450458
# @return [Array<(Array<AWSLogsListServicesResponse>, Integer, Hash)>] Array<AWSLogsListServicesResponse> data, response status code and response headers
451459
def list_aws_logs_services_with_http_info(opts = {})
460+
warn "[DEPRECATION] `ListAWSLogsServices` is deprecated."
452461

453462
if @api_client.config.debugging
454463
@api_client.config.logger.debug 'Calling API: AWSLogsIntegrationAPI.list_aws_logs_services ...'

0 commit comments

Comments
 (0)