Skip to content

Commit 22e20a8

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e31a80b of spec repo
1 parent b7289e6 commit 22e20a8

4 files changed

Lines changed: 42 additions & 26 deletions

File tree

.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 through API calls,
7172

72-
AWS account only.'
73+
not the comprehensive enabled or disabled status of all namespaces. If
74+
a namespace is absent from this field, it uses Datadog''s
75+
76+
internal defaults (all 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
@@ -27635,8 +27643,9 @@ paths:
2763527643
/api/v1/integration/aws:
2763627644
delete:
2763727645
deprecated: true
27638-
description: Delete a Datadog-AWS integration matching the specified `account_id`
27639-
and `role_name parameters`.
27646+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
27647+
Delete a Datadog-AWS integration matching the specified `account_id` and `role_name
27648+
parameters`.'
2764027649
operationId: DeleteAWSAccount
2764127650
requestBody:
2764227651
content:
@@ -27682,7 +27691,8 @@ paths:
2768227691
- aws_configurations_manage
2768327692
get:
2768427693
deprecated: true
27685-
description: List all Datadog-AWS integrations available in your Datadog organization.
27694+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
27695+
List all Datadog-AWS integrations available in your Datadog organization.'
2768627696
operationId: ListAWSAccounts
2768727697
parameters:
2768827698
- description: Only return AWS accounts that matches this `account_id`.
@@ -27733,7 +27743,8 @@ paths:
2773327743
- aws_configuration_read
2773427744
post:
2773527745
deprecated: true
27736-
description: 'Create a Datadog-Amazon Web Services integration.
27746+
description: '"**This endpoint is deprecated - use the V2 endpoints instead.**
27747+
Create a Datadog-Amazon Web Services integration.
2773727748

2773827749
Using the `POST` method updates your integration configuration
2773927750

@@ -27785,7 +27796,8 @@ paths:
2778527796
- aws_configurations_manage
2778627797
put:
2778727798
deprecated: true
27788-
description: Update a Datadog-Amazon Web Services integration.
27799+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
27800+
Update a Datadog-Amazon Web Services integration.'
2778927801
operationId: UpdateAWSAccount
2779027802
parameters:
2779127803
- description: Only return AWS accounts that matches this `account_id`.
@@ -27855,8 +27867,9 @@ paths:
2785527867
/api/v1/integration/aws/available_namespace_rules:
2785627868
get:
2785727869
deprecated: true
27858-
description: List all namespace rules for a given Datadog-AWS integration. This
27859-
endpoint takes no arguments.
27870+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
27871+
List all namespace rules for a given Datadog-AWS integration. This endpoint
27872+
takes no arguments.'
2786027873
operationId: ListAvailableAWSNamespaces
2786127874
responses:
2786227875
'200':
@@ -28131,8 +28144,8 @@ paths:
2813128144
/api/v1/integration/aws/generate_new_external_id:
2813228145
put:
2813328146
deprecated: true
28134-
description: Generate a new AWS external ID for a given AWS account ID and role
28135-
name pair.
28147+
description: '**This endpoint is deprecated - use the V2 endpoints instead.**
28148+
Generate a new AWS external ID for a given AWS account ID and role name pair.'
2813628149
operationId: CreateNewAWSExternalID
2813728150
requestBody:
2813828151
content:
@@ -28359,9 +28372,10 @@ paths:
2835928372
/api/v1/integration/aws/logs/services:
2836028373
get:
2836128374
deprecated: true
28362-
description: Get the list of current AWS services that Datadog offers automatic
28363-
log collection. Use returned service IDs with the services parameter for the
28364-
Enable an AWS service log collection API endpoint.
28375+
description: '**This endpoint is deprecated - use the V2 endpoint instead.**
28376+
Get the list of current AWS services that Datadog offers automatic log collection.
28377+
Use returned service IDs with the services parameter for the Enable an AWS
28378+
service log collection API endpoint.'
2836528379
operationId: ListAWSLogsServices
2836628380
responses:
2836728381
'200':

src/datadog_api_client/v1/api/aws_integration_api.py

Lines changed: 6 additions & 6 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-
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.
@@ -363,7 +363,7 @@ def create_new_aws_external_id(
363363
) -> AWSAccountCreateResponse:
364364
"""Generate a new external ID. **Deprecated**.
365365
366-
Generate a new AWS external ID for a given AWS account ID and role name pair.
366+
**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.
367367
368368
:param body: Your Datadog role delegation name.
369369
For more information about your AWS account Role name,
@@ -383,7 +383,7 @@ def delete_aws_account(
383383
) -> dict:
384384
"""Delete an AWS integration. **Deprecated**.
385385
386-
Delete a Datadog-AWS integration matching the specified ``account_id`` and ``role_name parameters``.
386+
**This endpoint is deprecated - use the V2 endpoints instead.** Delete a Datadog-AWS integration matching the specified ``account_id`` and ``role_name parameters``.
387387
388388
:param body: AWS request object
389389
:type body: AWSAccountDeleteRequest
@@ -436,7 +436,7 @@ def list_available_aws_namespaces(
436436
) -> List[str]:
437437
"""List namespace rules. **Deprecated**.
438438
439-
List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.
439+
**This endpoint is deprecated - use the V2 endpoints instead.** List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.
440440
441441
:rtype: [str]
442442
"""
@@ -453,7 +453,7 @@ def list_aws_accounts(
453453
) -> AWSAccountListResponse:
454454
"""List all AWS integrations. **Deprecated**.
455455
456-
List all Datadog-AWS integrations available in your Datadog organization.
456+
**This endpoint is deprecated - use the V2 endpoints instead.** List all Datadog-AWS integrations available in your Datadog organization.
457457
458458
:param account_id: Only return AWS accounts that matches this ``account_id``.
459459
:type account_id: str, optional
@@ -517,7 +517,7 @@ def update_aws_account(
517517
) -> dict:
518518
"""Update an AWS integration. **Deprecated**.
519519
520-
Update a Datadog-Amazon Web Services integration.
520+
**This endpoint is deprecated - use the V2 endpoints instead.** Update a Datadog-Amazon Web Services integration.
521521
522522
:param body: AWS request object
523523
:type body: AWSAccount

src/datadog_api_client/v1/api/aws_logs_integration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def list_aws_logs_services(
278278
) -> List[AWSLogsListServicesResponse]:
279279
"""Get list of AWS log ready services. **Deprecated**.
280280
281-
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.
281+
**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.
282282
283283
:rtype: [AWSLogsListServicesResponse]
284284
"""

src/datadog_api_client/v1/model/aws_account.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,11 @@ def __init__(
7171
:param account_id: Your AWS Account ID without dashes.
7272
:type account_id: str, optional
7373
74-
:param account_specific_namespace_rules: An object, (in the form ``{"namespace1":true/false, "namespace2":true/false}`` ),
75-
that enables or disables metric collection for specific AWS namespaces for this
76-
AWS account only.
74+
:param account_specific_namespace_rules: An object (in the form ``{"namespace1":true/false, "namespace2":true/false}`` ) containing user-supplied overrides
75+
for AWS namespace metric collection. **Important** : This field only contains namespaces explicitly configured through API calls,
76+
not the comprehensive enabled or disabled status of all namespaces. If a namespace is absent from this field, it uses Datadog's
77+
internal defaults (all namespaces enabled by default, except ``AWS/SQS`` , ``AWS/ElasticMapReduce`` , and ``AWS/Usage`` ).
78+
For a complete view of all namespace statuses, use the V2 AWS Integration API instead.
7779
:type account_specific_namespace_rules: {str: (bool,)}, optional
7880
7981
:param cspm_resource_collection_enabled: 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)