Skip to content

Commit f3d338f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d77820d of spec repo
1 parent 34f87e9 commit f3d338f

File tree

4 files changed

+49
-33
lines changed

4 files changed

+49
-33
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,20 @@ components:
6464
additionalProperties:
6565
description: A list of additional properties.
6666
type: boolean
67-
description: 'An object, (in the form `{"namespace1":true/false, "namespace2":true/false}`),
67+
description: 'An object (in the form `{"namespace1":true/false, "namespace2":true/false}`)
68+
containing user-supplied overrides
6869

69-
that enables or disables metric collection for specific AWS namespaces
70-
for this
70+
for AWS namespace metric collection. **Important**: This field only contains
71+
namespaces explicitly configured via API calls,
7172

72-
AWS account only.'
73+
not the comprehensive enabled/disabled status of all namespaces. If a
74+
namespace is absent from this field, it uses Datadog''s
75+
76+
internal defaults (most namespaces enabled by default, except `AWS/SQS`,
77+
`AWS/ElasticMapReduce`, and `AWS/Usage`).
78+
79+
For a complete view of all namespace statuses, use the V2 AWS Integration
80+
API instead.'
7381
example:
7482
auto_scaling: false
7583
opswork: false
@@ -27394,8 +27402,9 @@ paths:
2739427402
/api/v1/integration/aws:
2739527403
delete:
2739627404
deprecated: true
27397-
description: Delete a Datadog-AWS integration matching the specified `account_id`
27398-
and `role_name parameters`.
27405+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
27406+
Delete a Datadog-AWS integration matching the specified `account_id` and `role_name
27407+
parameters`.'
2739927408
operationId: DeleteAWSAccount
2740027409
requestBody:
2740127410
content:
@@ -27441,7 +27450,8 @@ paths:
2744127450
- aws_configurations_manage
2744227451
get:
2744327452
deprecated: true
27444-
description: List all Datadog-AWS integrations available in your Datadog organization.
27453+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
27454+
List all Datadog-AWS integrations available in your Datadog organization.'
2744527455
operationId: ListAWSAccounts
2744627456
parameters:
2744727457
- description: Only return AWS accounts that matches this `account_id`.
@@ -27492,7 +27502,8 @@ paths:
2749227502
- aws_configuration_read
2749327503
post:
2749427504
deprecated: true
27495-
description: 'Create a Datadog-Amazon Web Services integration.
27505+
description: '"**This endpoint is deprecated - use the V2 endpoints instead.**
27506+
Create a Datadog-Amazon Web Services integration.
2749627507

2749727508
Using the `POST` method updates your integration configuration
2749827509

@@ -27544,7 +27555,8 @@ paths:
2754427555
- aws_configurations_manage
2754527556
put:
2754627557
deprecated: true
27547-
description: Update a Datadog-Amazon Web Services integration.
27558+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
27559+
Update a Datadog-Amazon Web Services integration.'
2754827560
operationId: UpdateAWSAccount
2754927561
parameters:
2755027562
- description: Only return AWS accounts that matches this `account_id`.
@@ -27614,8 +27626,9 @@ paths:
2761427626
/api/v1/integration/aws/available_namespace_rules:
2761527627
get:
2761627628
deprecated: true
27617-
description: List all namespace rules for a given Datadog-AWS integration. This
27618-
endpoint takes no arguments.
27629+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
27630+
List all namespace rules for a given Datadog-AWS integration. This endpoint
27631+
takes no arguments.'
2761927632
operationId: ListAvailableAWSNamespaces
2762027633
responses:
2762127634
'200':
@@ -27887,8 +27900,8 @@ paths:
2788727900
/api/v1/integration/aws/generate_new_external_id:
2788827901
put:
2788927902
deprecated: true
27890-
description: Generate a new AWS external ID for a given AWS account ID and role
27891-
name pair.
27903+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
27904+
Generate a new AWS external ID for a given AWS account ID and role name pair.'
2789227905
operationId: CreateNewAWSExternalID
2789327906
requestBody:
2789427907
content:
@@ -28115,9 +28128,10 @@ paths:
2811528128
/api/v1/integration/aws/logs/services:
2811628129
get:
2811728130
deprecated: true
28118-
description: Get the list of current AWS services that Datadog offers automatic
28119-
log collection. Use returned service IDs with the services parameter for the
28120-
Enable an AWS service log collection API endpoint.
28131+
description: '**This endpoint is deprecated - use the V2 endpoint instead.**
28132+
Get the list of current AWS services that Datadog offers automatic log collection.
28133+
Use returned service IDs with the services parameter for the Enable an AWS
28134+
service log collection API endpoint.'
2812128135
operationId: ListAWSLogsServices
2812228136
responses:
2812328137
'200':

src/datadogV1/api/api_aws_integration.rs

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

239-
/// 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-
/// 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.
@@ -707,7 +707,7 @@ impl AWSIntegrationAPI {
707707
}
708708
}
709709

710-
/// Generate a new AWS external ID for a given AWS account ID and role name pair.
710+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Generate a new AWS external ID for a given AWS account ID and role name pair.
711711
pub async fn create_new_aws_external_id(
712712
&self,
713713
body: crate::datadogV1::model::AWSAccount,
@@ -729,7 +729,7 @@ impl AWSIntegrationAPI {
729729
}
730730
}
731731

732-
/// Generate a new AWS external ID for a given AWS account ID and role name pair.
732+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Generate a new AWS external ID for a given AWS account ID and role name pair.
733733
pub async fn create_new_aws_external_id_with_http_info(
734734
&self,
735735
body: crate::datadogV1::model::AWSAccount,
@@ -861,7 +861,7 @@ impl AWSIntegrationAPI {
861861
}
862862
}
863863

864-
/// Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`.
864+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`.
865865
pub async fn delete_aws_account(
866866
&self,
867867
body: crate::datadogV1::model::AWSAccountDeleteRequest,
@@ -883,7 +883,7 @@ impl AWSIntegrationAPI {
883883
}
884884
}
885885

886-
/// Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`.
886+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`.
887887
pub async fn delete_aws_account_with_http_info(
888888
&self,
889889
body: crate::datadogV1::model::AWSAccountDeleteRequest,
@@ -1326,7 +1326,7 @@ impl AWSIntegrationAPI {
13261326
}
13271327
}
13281328

1329-
/// List all Datadog-AWS integrations available in your Datadog organization.
1329+
/// **This endpoint is deprecated - use the V2 endpoints instead.** List all Datadog-AWS integrations available in your Datadog organization.
13301330
pub async fn list_aws_accounts(
13311331
&self,
13321332
params: ListAWSAccountsOptionalParams,
@@ -1346,7 +1346,7 @@ impl AWSIntegrationAPI {
13461346
}
13471347
}
13481348

1349-
/// List all Datadog-AWS integrations available in your Datadog organization.
1349+
/// **This endpoint is deprecated - use the V2 endpoints instead.** List all Datadog-AWS integrations available in your Datadog organization.
13501350
pub async fn list_aws_accounts_with_http_info(
13511351
&self,
13521352
params: ListAWSAccountsOptionalParams,
@@ -1666,7 +1666,7 @@ impl AWSIntegrationAPI {
16661666
}
16671667
}
16681668

1669-
/// List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.
1669+
/// **This endpoint is deprecated - use the V2 endpoints instead.** List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.
16701670
pub async fn list_available_aws_namespaces(
16711671
&self,
16721672
) -> Result<Vec<String>, datadog::Error<ListAvailableAWSNamespacesError>> {
@@ -1684,7 +1684,7 @@ impl AWSIntegrationAPI {
16841684
}
16851685
}
16861686

1687-
/// List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.
1687+
/// **This endpoint is deprecated - use the V2 endpoints instead.** List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.
16881688
pub async fn list_available_aws_namespaces_with_http_info(
16891689
&self,
16901690
) -> Result<
@@ -1767,7 +1767,7 @@ impl AWSIntegrationAPI {
17671767
}
17681768
}
17691769

1770-
/// Update a Datadog-Amazon Web Services integration.
1770+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Update a Datadog-Amazon Web Services integration.
17711771
pub async fn update_aws_account(
17721772
&self,
17731773
body: crate::datadogV1::model::AWSAccount,
@@ -1790,7 +1790,7 @@ impl AWSIntegrationAPI {
17901790
}
17911791
}
17921792

1793-
/// Update a Datadog-Amazon Web Services integration.
1793+
/// **This endpoint is deprecated - use the V2 endpoints instead.** Update a Datadog-Amazon Web Services integration.
17941794
pub async fn update_aws_account_with_http_info(
17951795
&self,
17961796
body: crate::datadogV1::model::AWSAccount,

src/datadogV1/api/api_aws_logs_integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ impl AWSLogsIntegrationAPI {
10431043
}
10441044
}
10451045

1046-
/// 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.
1046+
/// **This endpoint is deprecated - use the V2 endpoint instead.** 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.
10471047
pub async fn list_aws_logs_services(
10481048
&self,
10491049
) -> Result<
@@ -1064,7 +1064,7 @@ impl AWSLogsIntegrationAPI {
10641064
}
10651065
}
10661066

1067-
/// 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.
1067+
/// **This endpoint is deprecated - use the V2 endpoint instead.** 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.
10681068
pub async fn list_aws_logs_services_with_http_info(
10691069
&self,
10701070
) -> Result<

src/datadogV1/model/model_aws_account.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ pub struct AWSAccount {
1717
/// Your AWS Account ID without dashes.
1818
#[serde(rename = "account_id")]
1919
pub account_id: Option<String>,
20-
/// An object, (in the form `{"namespace1":true/false, "namespace2":true/false}`),
21-
/// that enables or disables metric collection for specific AWS namespaces for this
22-
/// AWS account only.
20+
/// An object (in the form `{"namespace1":true/false, "namespace2":true/false}`) containing user-supplied overrides
21+
/// for AWS namespace metric collection. **Important**: This field only contains namespaces explicitly configured via API calls,
22+
/// not the comprehensive enabled/disabled status of all namespaces. If a namespace is absent from this field, it uses Datadog's
23+
/// internal defaults (most namespaces enabled by default, except `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage`).
24+
/// For a complete view of all namespace statuses, use the V2 AWS Integration API instead.
2325
#[serde(rename = "account_specific_namespace_rules")]
2426
pub account_specific_namespace_rules: Option<std::collections::BTreeMap<String, bool>>,
2527
/// Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general `resource_collection`.

0 commit comments

Comments
 (0)