From ff327457e92c9e992ded5326b13bf527974aa059 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 25 Nov 2024 17:56:34 +0000 Subject: [PATCH] Regenerate client from commit 3cfd102e of spec repo --- .apigentools-info | 8 +- .generator/schemas/v2/openapi.yaml | 20 --- ...returns-AWS-Account-object-response.frozen | 2 +- ...nt-returns-AWS-Account-object-response.yml | 8 +- ...returns-AWS-Account-object-response.frozen | 2 +- ...on-returns-AWS-Account-object-response.yml | 8 +- ...ration-returns-Bad-Request-response.frozen | 2 +- ...tegration-returns-Bad-Request-response.yml | 2 +- ...tegration-returns-Conflict-response.frozen | 2 +- ...-integration-returns-Conflict-response.yml | 10 +- ...ration-returns-Bad-Request-response.frozen | 2 +- ...tegration-returns-Bad-Request-response.yml | 2 +- ...gration-returns-No-Content-response.frozen | 2 +- ...ntegration-returns-No-Content-response.yml | 12 +- ...egration-returns-Not-Found-response.frozen | 2 +- ...integration-returns-Not-Found-response.yml | 10 +- ...rns-AWS-External-ID-object-response.frozen | 2 +- ...eturns-AWS-External-ID-object-response.yml | 4 +- ...rns-AWS-External-ID-object-response.frozen | 2 +- ...eturns-AWS-External-ID-object-response.yml | 4 +- ...returns-AWS-Account-object-response.frozen | 2 +- ...ID-returns-AWS-Account-object-response.yml | 14 +- ...fig-ID-returns-Bad-Request-response.frozen | 2 +- ...config-ID-returns-Bad-Request-response.yml | 2 +- ...onfig-ID-returns-Not-Found-response.frozen | 2 +- ...y-config-ID-returns-Not-Found-response.yml | 2 +- ...s-AWS-Accounts-List-object-response.frozen | 2 +- ...urns-AWS-Accounts-List-object-response.yml | 4 +- ...AWS-Namespaces-List-object-response.frozen | 2 +- ...ns-AWS-Namespaces-List-object-response.yml | 2 +- ...AWS-Namespaces-List-object-response.frozen | 2 +- ...ns-AWS-Namespaces-List-object-response.yml | 2 +- ...returns-AWS-Account-object-response.frozen | 2 +- ...on-returns-AWS-Account-object-response.yml | 14 +- ...ration-returns-Bad-Request-response.frozen | 2 +- ...tegration-returns-Bad-Request-response.yml | 12 +- ...egration-returns-Not-Found-response.frozen | 2 +- ...integration-returns-Not-Found-response.yml | 2 +- lib/datadog_api_client/inflector.rb | 2 - .../v2/models/aws_namespace_filters.rb | 2 - .../aws_namespace_filters_exclude_all.rb | 123 ------------------ .../aws_namespace_filters_include_all.rb | 123 ------------------ 42 files changed, 79 insertions(+), 349 deletions(-) delete mode 100644 lib/datadog_api_client/v2/models/aws_namespace_filters_exclude_all.rb delete mode 100644 lib/datadog_api_client/v2/models/aws_namespace_filters_include_all.rb diff --git a/.apigentools-info b/.apigentools-info index cb405392431d..4754b82117c7 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-25 11:57:15.130954", - "spec_repo_commit": "80b43a3b" + "regenerated": "2024-11-25 17:56:03.740290", + "spec_repo_commit": "3cfd102e" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-25 11:57:15.149896", - "spec_repo_commit": "80b43a3b" + "regenerated": "2024-11-25 17:56:03.759282", + "spec_repo_commit": "3cfd102e" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 0a7dc33118cd..183eb819de37 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -1320,19 +1320,8 @@ components: AWSNamespaceFilters: description: AWS Metrics namespace filters oneOf: - - $ref: '#/components/schemas/AWSNamespaceFiltersExcludeAll' - $ref: '#/components/schemas/AWSNamespaceFiltersExcludeOnly' - - $ref: '#/components/schemas/AWSNamespaceFiltersIncludeAll' - $ref: '#/components/schemas/AWSNamespaceFiltersIncludeOnly' - AWSNamespaceFiltersExcludeAll: - description: Exclude all namespaces - properties: - exclude_all: - description: Exclude all namespaces - example: false - type: boolean - required: - - exclude_all AWSNamespaceFiltersExcludeOnly: description: Exclude only these namespaces properties: @@ -1346,15 +1335,6 @@ components: type: array required: - exclude_only - AWSNamespaceFiltersIncludeAll: - description: Include all namespaces - properties: - include_all: - description: Include all namespaces - example: false - type: boolean - required: - - include_all AWSNamespaceFiltersIncludeOnly: description: Include only these namespaces properties: diff --git a/cassettes/features/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.frozen b/cassettes/features/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.frozen index 8da9363a4aa0..01733f517aa2 100644 --- a/cassettes/features/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.frozen +++ b/cassettes/features/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:46.341Z \ No newline at end of file +2024-11-14T20:07:56.996Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.yml b/cassettes/features/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.yml index 6a70165cfbec..7507538832b8 100644 --- a/cassettes/features/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.yml +++ b/cassettes/features/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:46 GMT +- recorded_at: Thu, 14 Nov 2024 20:07:56 GMT request: body: encoding: UTF-8 @@ -14,21 +14,21 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"0696eb1f-06fa-40a6-a623-084a83f61623","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"32cd9dafa1d24205ba26a02d157cd16f"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_all":true},"created_at":"2024-11-06T18:44:47.20569681Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":true,"collect_cloudwatch_alarms":true,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"exclude_only":["AWS/SQS","AWS/ElasticMapReduce"]}},"modified_at":"2024-11-06T18:44:47.20570138Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":[]}}}}}' + string: '{"data":{"id":"c2d871fe-ba0c-441d-acc8-d49d28c748f4","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"7f40a01ff2444f4f94442f52223ea7cf"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_all":true},"created_at":"2024-11-14T20:07:57.608241244Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":true,"collect_cloudwatch_alarms":true,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"exclude_only":["AWS/SQS","AWS/ElasticMapReduce"]}},"modified_at":"2024-11-14T20:07:57.60824734Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":[]}}}}}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Wed, 06 Nov 2024 18:44:46 GMT +- recorded_at: Thu, 14 Nov 2024 20:07:56 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/0696eb1f-06fa-40a6-a623-084a83f61623 + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/c2d871fe-ba0c-441d-acc8-d49d28c748f4 response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.frozen b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.frozen index 4adb1638a7a7..361392da035f 100644 --- a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.frozen +++ b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:47.513Z \ No newline at end of file +2024-11-14T20:07:57.855Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.yml b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.yml index bc7dcf77578c..b27464c868b5 100644 --- a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.yml +++ b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:47 GMT +- recorded_at: Thu, 14 Nov 2024 20:07:57 GMT request: body: encoding: UTF-8 @@ -14,21 +14,21 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"5b07e0e7-013c-427e-977a-7adb94ff4b40","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"access_key_id":"AKIAIOSFODNN7EXAMPLE"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_all":true},"created_at":"2024-11-06T18:44:47.622908005Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":true,"collect_cloudwatch_alarms":true,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"exclude_only":["AWS/SQS","AWS/ElasticMapReduce"]}},"modified_at":"2024-11-06T18:44:47.62291187Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":[]}}}}}' + string: '{"data":{"id":"a1a282b9-6e74-4e56-b423-ec55ccbc995d","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"access_key_id":"AKIAIOSFODNN7EXAMPLE"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_all":true},"created_at":"2024-11-14T20:07:57.96162522Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":true,"collect_cloudwatch_alarms":true,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"exclude_only":["AWS/SQS","AWS/ElasticMapReduce"]}},"modified_at":"2024-11-14T20:07:57.961631497Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":[]}}}}}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Wed, 06 Nov 2024 18:44:47 GMT +- recorded_at: Thu, 14 Nov 2024 20:07:57 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/5b07e0e7-013c-427e-977a-7adb94ff4b40 + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/a1a282b9-6e74-4e56-b423-ec55ccbc995d response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.frozen b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.frozen index 26a03306f6ae..a21e03e9331b 100644 --- a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:47.919Z \ No newline at end of file +2024-11-14T20:07:58.234Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.yml b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.yml index ec22e4d73b9c..ae654ac1c6d1 100644 --- a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:47 GMT +- recorded_at: Thu, 14 Nov 2024 20:07:58 GMT request: body: encoding: UTF-8 diff --git a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.frozen b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.frozen index 89901ede4c05..bb6908fda5b3 100644 --- a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.frozen +++ b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:48.024Z \ No newline at end of file +2024-11-14T20:07:58.346Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.yml b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.yml index aabb57d1eb65..1a51ec9df2f8 100644 --- a/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.yml +++ b/cassettes/features/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:48 GMT +- recorded_at: Thu, 14 Nov 2024 20:07:58 GMT request: body: encoding: UTF-8 @@ -14,14 +14,14 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"7f221537-cb4f-47dc-8666-f77e5ca60750","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"8fce2f5d4975420794b61a5455bf78f2"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-06T18:44:48.579473724Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-06T18:44:48.579477654Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' + string: '{"data":{"id":"3827b469-bc3a-41be-bdf0-1d0e6ea413a2","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"d2a623a93f7444b29404f25cb5853c05"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-14T20:07:59.282635727Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-14T20:07:59.282642012Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Wed, 06 Nov 2024 18:44:48 GMT +- recorded_at: Thu, 14 Nov 2024 20:07:58 GMT request: body: encoding: UTF-8 @@ -44,14 +44,14 @@ http_interactions: status: code: 409 message: Conflict -- recorded_at: Wed, 06 Nov 2024 18:44:48 GMT +- recorded_at: Thu, 14 Nov 2024 20:07:58 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/7f221537-cb4f-47dc-8666-f77e5ca60750 + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/3827b469-bc3a-41be-bdf0-1d0e6ea413a2 response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.frozen b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.frozen index 27a329cddf35..b01bd4235c63 100644 --- a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:49.460Z \ No newline at end of file +2024-11-14T20:08:00.124Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.yml b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.yml index bf57fdbb4a71..4cb17ed4123c 100644 --- a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:49 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:00 GMT request: body: null headers: diff --git a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.frozen b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.frozen index 19dc73505b03..2c11478ca572 100644 --- a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.frozen +++ b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:49.526Z \ No newline at end of file +2024-11-14T20:08:00.216Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.yml b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.yml index 0ffae5bf9151..7873c6830d40 100644 --- a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.yml +++ b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:49 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:00 GMT request: body: encoding: UTF-8 @@ -14,21 +14,21 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"e733f58b-b8d1-4d0c-b2f5-6438d314ca51","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"33e38eb9a16041fc8688ca9afcf82224"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-06T18:44:50.086633712Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-06T18:44:50.086637995Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' + string: '{"data":{"id":"a87fe3df-a75b-4f57-a965-685282b86ff2","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"2987d548e222435caced781d432c9dcd"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-14T20:08:00.791400241Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-14T20:08:00.791404064Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Wed, 06 Nov 2024 18:44:49 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:00 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/e733f58b-b8d1-4d0c-b2f5-6438d314ca51 + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/a87fe3df-a75b-4f57-a965-685282b86ff2 response: body: encoding: UTF-8 @@ -37,14 +37,14 @@ http_interactions: status: code: 204 message: No Content -- recorded_at: Wed, 06 Nov 2024 18:44:49 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:00 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/e733f58b-b8d1-4d0c-b2f5-6438d314ca51 + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/a87fe3df-a75b-4f57-a965-685282b86ff2 response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.frozen b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.frozen index abe0e4a74aa8..e9926dc51345 100644 --- a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:50.507Z \ No newline at end of file +2024-11-14T20:08:01.174Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.yml b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.yml index b8378b0acae1..62e163ef51d5 100644 --- a/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.yml +++ b/cassettes/features/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:50 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:01 GMT request: body: encoding: UTF-8 @@ -14,14 +14,14 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"22e02b17-0d91-46d7-a228-69f7250a9c67","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"7d448990acf04682b29cb61691bf86bc"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-06T18:44:51.024047931Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-06T18:44:51.024054618Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' + string: '{"data":{"id":"3b040f61-03f8-4c7c-8511-68563f0c4881","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"1db0bd276e134b4fbe07e1cd0525ef50"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-14T20:08:01.731532142Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-14T20:08:01.731536786Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Wed, 06 Nov 2024 18:44:50 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:01 GMT request: body: null headers: @@ -40,14 +40,14 @@ http_interactions: status: code: 404 message: Not Found -- recorded_at: Wed, 06 Nov 2024 18:44:50 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:01 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/22e02b17-0d91-46d7-a228-69f7250a9c67 + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/3b040f61-03f8-4c7c-8511-68563f0c4881 response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.frozen b/cassettes/features/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.frozen index 6095c7802978..dcee5089aca2 100644 --- a/cassettes/features/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.frozen +++ b/cassettes/features/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:51.500Z \ No newline at end of file +2024-11-14T20:08:02.114Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.yml b/cassettes/features/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.yml index febd3c128165..a64792898c14 100644 --- a/cassettes/features/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.yml +++ b/cassettes/features/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:51 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:02 GMT request: body: null headers: @@ -10,7 +10,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"external_id","type":"external_id","attributes":{"external_id":"96fc79a77c474e4f863a3c227fb91fef"}}}' + string: '{"data":{"id":"417e89773bab4d459dc060836ee276be","type":"external_id","attributes":{"external_id":"417e89773bab4d459dc060836ee276be"}}}' headers: Content-Type: - application/vnd.api+json diff --git a/cassettes/features/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.frozen b/cassettes/features/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.frozen index 37cfccb87df9..9e3e97d76d5b 100644 --- a/cassettes/features/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.frozen +++ b/cassettes/features/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:51.871Z \ No newline at end of file +2024-11-14T20:08:02.354Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.yml b/cassettes/features/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.yml index 2ef1364a0dc0..0d21ac0a7a74 100644 --- a/cassettes/features/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.yml +++ b/cassettes/features/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:51 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:02 GMT request: body: null headers: @@ -10,7 +10,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"78feee6b9c374776888068593fa8c0b9","type":"external_id","attributes":{"external_id":"78feee6b9c374776888068593fa8c0b9"}}}' + string: '{"data":{"id":"02482e8953d346d8a50e512dba92bff3","type":"external_id","attributes":{"external_id":"02482e8953d346d8a50e512dba92bff3"}}}' headers: Content-Type: - application/vnd.api+json diff --git a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.frozen b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.frozen index 3121171861ce..4959cce69544 100644 --- a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.frozen +++ b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:52.052Z \ No newline at end of file +2024-11-14T20:08:02.571Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.yml b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.yml index b737a26911a5..b107c2fb5295 100644 --- a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.yml +++ b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:52 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:02 GMT request: body: encoding: UTF-8 @@ -14,39 +14,39 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"db6c660f-0ee0-4479-b1e6-936e5faa7266","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"f4c8000f33f94d25bcec9afd6609bb11"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-06T18:44:52.646520994Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-06T18:44:52.646525244Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' + string: '{"data":{"id":"cb0d64ac-ca8e-4c17-9da4-02d8519b0de6","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"4e38efc3d9104693974dc774562c0063"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-14T20:08:03.23291721Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-14T20:08:03.232922592Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Wed, 06 Nov 2024 18:44:52 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:02 GMT request: body: null headers: Accept: - application/json method: GET - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/db6c660f-0ee0-4479-b1e6-936e5faa7266 + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/cb0d64ac-ca8e-4c17-9da4-02d8519b0de6 response: body: encoding: UTF-8 - string: '{"data":{"id":"db6c660f-0ee0-4479-b1e6-936e5faa7266","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"f4c8000f33f94d25bcec9afd6609bb11"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-06T18:44:52.646521Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-06T18:44:52.646525Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' + string: '{"data":{"id":"cb0d64ac-ca8e-4c17-9da4-02d8519b0de6","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"4e38efc3d9104693974dc774562c0063"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-14T20:08:03.232917Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-14T20:08:03.232923Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Wed, 06 Nov 2024 18:44:52 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:02 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/db6c660f-0ee0-4479-b1e6-936e5faa7266 + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/cb0d64ac-ca8e-4c17-9da4-02d8519b0de6 response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.frozen b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.frozen index 8de2f0fbb4cf..d666543c816e 100644 --- a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:53.120Z \ No newline at end of file +2024-11-14T20:08:03.612Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.yml b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.yml index 3a9c6f12158b..9ff441fb2ac1 100644 --- a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:53 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:03 GMT request: body: null headers: diff --git a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.frozen b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.frozen index 2abc18523caf..f611b8f08ab3 100644 --- a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:53.215Z \ No newline at end of file +2024-11-14T20:08:03.716Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.yml b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.yml index 03c227db174d..c5ca2b051b95 100644 --- a/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.yml +++ b/cassettes/features/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:53 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:03 GMT request: body: null headers: diff --git a/cassettes/features/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.frozen b/cassettes/features/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.frozen index 2932343225b2..6148c770dc1e 100644 --- a/cassettes/features/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.frozen +++ b/cassettes/features/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:53.338Z \ No newline at end of file +2024-11-14T20:08:03.839Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.yml b/cassettes/features/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.yml index 174b3ff44f28..58d6c2db25d4 100644 --- a/cassettes/features/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.yml +++ b/cassettes/features/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:53 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:03 GMT request: body: null headers: @@ -10,7 +10,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":[{"id":"e6daa8c4-58b6-42e1-970e-44e6fa812ce0","type":"account","attributes":{"account_tags":[],"auth_config":{"access_key_id":"AKIA514950102505"},"aws_account_id":"514950102505","aws_partition":"aws","aws_regions":{"include_all":true},"created_at":"2024-09-06T00:18:12.382448Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder"],"sources":[]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[],"namespace_filters":{"exclude_only":["AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-09-06T00:18:17.536561Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"a0c7f96e-a471-488e-84be-c3336e7ab693","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"859ffc73702c40f589cc3b74c5967e27"},"aws_account_id":"172830950700","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-10-07T13:58:28.577522Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-10-07T13:58:28.577526Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"3a3d5b83-2ad8-41d8-b82e-a3ba972a9783","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"be10a93f33a64b0ea872da2f48348979"},"aws_account_id":"172704974400","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-09-23T00:02:26.306293Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-09-23T00:02:26.306297Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"89a9dae5-cbe3-4fba-b1b2-aae8775ed319","type":"account","attributes":{"account_tags":["filter:one","filtertwo"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"e31ada331546486f9099cd5c01eef257"},"aws_account_id":"001725901256","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-2","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-09-09T17:00:58.823444Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["testTag","test:Tag2"]}],"namespace_filters":{"exclude_only":["AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-10-16T14:55:17.947931Z","resources_config":{"cloud_security_posture_management_collection":false},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"7e1d660d-1142-45b1-a795-dc3900b6bd17","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"f61b52d768394db6851aed2f887ac6f6"},"aws_account_id":"172830950701","aws_partition":"aws","aws_regions":{"include_only":["me-south-1"]},"created_at":"2024-10-17T15:08:40.917209Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-10-18T20:19:53.960435Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"d52e151c-c608-4e14-9f29-dfeff876bb39","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"c2909403ca9949db82c36adf6e8cdcfa"},"aws_account_id":"172772261200","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-09-30T18:56:55.042771Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-09-30T18:56:55.042775Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"d7d74617-832d-4c4d-a8c3-1e69d509ea52","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"2b1dd9fd35b0440ca4bf98ff70ac2e63"},"aws_account_id":"172772275700","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-09-30T18:59:18.175722Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-09-30T18:59:18.175727Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"7e5acac6-3ac8-4762-8100-479f03ccffc8","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"04548a334583412aa4e6f5548f4e9989"},"aws_account_id":"172532181900","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-09-03T00:03:40.248176Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-09-03T00:03:40.24818Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}}]}' + string: '{"data":[{"id":"90487717-edc3-4f3f-bee4-b8d11ef49494","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"7bf95a4064e7426e8498ffb66f8f9dca"},"aws_account_id":"173154855500","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-11-14T01:42:36.223632Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-11-14T01:42:36.223638Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"e6daa8c4-58b6-42e1-970e-44e6fa812ce0","type":"account","attributes":{"account_tags":[],"auth_config":{"access_key_id":"AKIA514950102505"},"aws_account_id":"514950102505","aws_partition":"aws","aws_regions":{"include_all":true},"created_at":"2024-09-06T00:18:12.382448Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder"],"sources":[]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[],"namespace_filters":{"exclude_only":["AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-09-06T00:18:17.536561Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"a0c7f96e-a471-488e-84be-c3336e7ab693","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"859ffc73702c40f589cc3b74c5967e27"},"aws_account_id":"172830950700","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-10-07T13:58:28.577522Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-10-07T13:58:28.577526Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"3a3d5b83-2ad8-41d8-b82e-a3ba972a9783","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"be10a93f33a64b0ea872da2f48348979"},"aws_account_id":"172704974400","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-09-23T00:02:26.306293Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-09-23T00:02:26.306297Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"89a9dae5-cbe3-4fba-b1b2-aae8775ed319","type":"account","attributes":{"account_tags":["filter:one","filtertwo"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"e31ada331546486f9099cd5c01eef257"},"aws_account_id":"001725901256","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-2","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-09-09T17:00:58.823444Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["testTag","test:Tag2"]}],"namespace_filters":{"exclude_only":["AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-10-16T14:55:17.947931Z","resources_config":{"cloud_security_posture_management_collection":false},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"7e1d660d-1142-45b1-a795-dc3900b6bd17","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"f61b52d768394db6851aed2f887ac6f6"},"aws_account_id":"172830950701","aws_partition":"aws","aws_regions":{"include_only":["me-south-1"]},"created_at":"2024-10-17T15:08:40.917209Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-10-18T20:19:53.960435Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"d52e151c-c608-4e14-9f29-dfeff876bb39","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"c2909403ca9949db82c36adf6e8cdcfa"},"aws_account_id":"172772261200","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-09-30T18:56:55.042771Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-09-30T18:56:55.042775Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"d7d74617-832d-4c4d-a8c3-1e69d509ea52","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"2b1dd9fd35b0440ca4bf98ff70ac2e63"},"aws_account_id":"172772275700","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-09-30T18:59:18.175722Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-09-30T18:59:18.175727Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"7e5acac6-3ac8-4762-8100-479f03ccffc8","type":"account","attributes":{"account_tags":["$KEY:$VALUE"],"auth_config":{"role_name":"DatadogAWSIntegrationRole","external_id":"04548a334583412aa4e6f5548f4e9989"},"aws_account_id":"172532181900","aws_partition":"aws","aws_regions":{"include_only":["us-east-2","us-west-1","eu-west-1","eu-central-1","ap-southeast-1","ap-southeast-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","sa-east-1","ap-south-1","ca-central-1","eu-west-2","eu-west-3","eu-north-1","af-south-1","ap-east-1","ap-south-2","ap-southeast-3","ap-southeast-4","ca-west-1","eu-central-2","eu-south-1","eu-south-2","il-central-1","me-central-1","me-south-1"]},"created_at":"2024-09-03T00:03:40.248176Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":false,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["$KEY:$VALUE"]}],"namespace_filters":{"exclude_only":["AWS/AutoScaling","AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-09-03T00:03:40.24818Z","resources_config":{"cloud_security_posture_management_collection":true,"extended_collection":true},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"bcb235b2-b123-4535-9cda-216b8cbc7bbf","type":"account","attributes":{"account_tags":[],"auth_config":{"role_name":"testacc-datadog-integration-role","external_id":"c5e2342b15064065855f8a2d62b7ef1a"},"aws_account_id":"101515698539","aws_partition":"aws","aws_regions":{"include_all":true},"created_at":"2024-11-13T19:25:47.575229Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[],"namespace_filters":{"exclude_only":["AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-11-13T19:25:47.575234Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":[]}}}},{"id":"690e414b-037e-41a6-b8b4-80370fa6d258","type":"account","attributes":{"account_tags":[],"auth_config":{"role_name":"testacc-datadog-integration-role","external_id":"8d8512965ed944e89c4c06f7d584f7cd"},"aws_account_id":"995010056565","aws_partition":"aws","aws_regions":{"include_all":true},"created_at":"2024-11-13T19:25:49.327842Z","logs_config":{"lambda_forwarder":{"lambdas":[],"sources":[]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[],"namespace_filters":{"exclude_only":["AWS/ElasticMapReduce","AWS/SQS"]}},"modified_at":"2024-11-13T19:25:49.327848Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":[]}}}}]}' headers: Content-Type: - application/vnd.api+json diff --git a/cassettes/features/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.frozen b/cassettes/features/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.frozen index e1b33d2dbbcd..1c85316113f1 100644 --- a/cassettes/features/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.frozen +++ b/cassettes/features/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:53.502Z \ No newline at end of file +2024-11-14T20:08:04.012Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.yml b/cassettes/features/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.yml index 402892e7ed67..745b1c347eb0 100644 --- a/cassettes/features/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.yml +++ b/cassettes/features/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:53 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:04 GMT request: body: null headers: diff --git a/cassettes/features/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.frozen b/cassettes/features/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.frozen index f663dde1fade..4846f88f761d 100644 --- a/cassettes/features/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.frozen +++ b/cassettes/features/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:53.574Z \ No newline at end of file +2024-11-14T20:08:04.107Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.yml b/cassettes/features/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.yml index 402892e7ed67..745b1c347eb0 100644 --- a/cassettes/features/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.yml +++ b/cassettes/features/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:53 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:04 GMT request: body: null headers: diff --git a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.frozen b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.frozen index 7d9884c79350..e17c97ca735d 100644 --- a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.frozen +++ b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:53.669Z \ No newline at end of file +2024-11-14T20:08:04.208Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.yml b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.yml index a1e1f41e2228..4900a9318104 100644 --- a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.yml +++ b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:53 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:04 GMT request: body: encoding: UTF-8 @@ -14,14 +14,14 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"06b62294-36d7-4bbe-a8b8-7c93736dc0ee","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"c16e1ceb4ac64293ba91f020191fa781"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-06T18:44:54.297075743Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-06T18:44:54.297079976Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' + string: '{"data":{"id":"da257b29-9c21-471f-9f5d-41ccfbedd320","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"532ab1a205b74240a3ca14407209b4a6"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-14T20:08:04.788732465Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-14T20:08:04.788740678Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Wed, 06 Nov 2024 18:44:53 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:04 GMT request: body: encoding: UTF-8 @@ -32,25 +32,25 @@ http_interactions: Content-Type: - application/json method: PATCH - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/06b62294-36d7-4bbe-a8b8-7c93736dc0ee + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/da257b29-9c21-471f-9f5d-41ccfbedd320 response: body: encoding: UTF-8 - string: '{"data":{"id":"06b62294-36d7-4bbe-a8b8-7c93736dc0ee","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"c16e1ceb4ac64293ba91f020191fa781"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-06T18:44:54.297076Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":true,"collect_cloudwatch_alarms":true,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-06T18:44:54.489623544Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' + string: '{"data":{"id":"da257b29-9c21-471f-9f5d-41ccfbedd320","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"532ab1a205b74240a3ca14407209b4a6"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-14T20:08:04.788732Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":true,"collect_cloudwatch_alarms":true,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-14T20:08:04.980569196Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Wed, 06 Nov 2024 18:44:53 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:04 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/06b62294-36d7-4bbe-a8b8-7c93736dc0ee + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/da257b29-9c21-471f-9f5d-41ccfbedd320 response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.frozen b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.frozen index a20f0bad4454..2eba167cd84a 100644 --- a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:54.767Z \ No newline at end of file +2024-11-14T20:08:05.214Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.yml b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.yml index d769a3f330b0..48e54c7d1f28 100644 --- a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:54 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:05 GMT request: body: encoding: UTF-8 @@ -14,14 +14,14 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"id":"6e045c0b-458a-4ec1-8654-6ac491320939","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"00d5e0f623574d388e9717154bcbf7f2"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-06T18:44:55.461251746Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-06T18:44:55.461256677Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' + string: '{"data":{"id":"0592afaa-a119-45f1-95ab-236ae090500a","type":"account","attributes":{"account_tags":["key:value"],"auth_config":{"role_name":"DatadogIntegrationRole","external_id":"c1b6bd9935234ad789a9f144fc028bff"},"aws_account_id":"123456789012","aws_partition":"aws","aws_regions":{"include_only":["us-east-1"]},"created_at":"2024-11-14T20:08:05.881756591Z","logs_config":{"lambda_forwarder":{"lambdas":["arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"],"sources":["s3"]}},"metrics_config":{"enabled":true,"automute_enabled":true,"collect_custom_metrics":false,"collect_cloudwatch_alarms":false,"tag_filters":[{"namespace":"AWS/EC2","tags":["key:value"]}],"namespace_filters":{"include_only":["AWS/EC2"]}},"modified_at":"2024-11-14T20:08:05.881761604Z","resources_config":{"cloud_security_posture_management_collection":false,"extended_collection":false},"traces_config":{"xray_services":{"include_only":["AWS/AppSync"]}}}}}' headers: Content-Type: - application/vnd.api+json status: code: 200 message: OK -- recorded_at: Wed, 06 Nov 2024 18:44:54 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:05 GMT request: body: encoding: UTF-8 @@ -32,7 +32,7 @@ http_interactions: Content-Type: - application/json method: PATCH - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/6e045c0b-458a-4ec1-8654-6ac491320939 + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/0592afaa-a119-45f1-95ab-236ae090500a response: body: encoding: UTF-8 @@ -44,14 +44,14 @@ http_interactions: status: code: 400 message: Bad Request -- recorded_at: Wed, 06 Nov 2024 18:44:54 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:05 GMT request: body: null headers: Accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/6e045c0b-458a-4ec1-8654-6ac491320939 + uri: https://api.datadoghq.com/api/v2/integration/aws/accounts/0592afaa-a119-45f1-95ab-236ae090500a response: body: encoding: UTF-8 diff --git a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.frozen b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.frozen index 7d82ab53f41c..6bec363d4f63 100644 --- a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.frozen +++ b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.frozen @@ -1 +1 @@ -2024-11-06T18:44:55.829Z \ No newline at end of file +2024-11-14T20:08:06.418Z \ No newline at end of file diff --git a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.yml b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.yml index a78f3268874d..4dbd5d5c4919 100644 --- a/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.yml +++ b/cassettes/features/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 06 Nov 2024 18:44:55 GMT +- recorded_at: Thu, 14 Nov 2024 20:08:06 GMT request: body: encoding: UTF-8 diff --git a/lib/datadog_api_client/inflector.rb b/lib/datadog_api_client/inflector.rb index 52188f75b900..fc6d8c19e15a 100644 --- a/lib/datadog_api_client/inflector.rb +++ b/lib/datadog_api_client/inflector.rb @@ -1010,9 +1010,7 @@ def overrides "v2.aws_logs_services_response_data_type" => "AWSLogsServicesResponseDataType", "v2.aws_metrics_config" => "AWSMetricsConfig", "v2.aws_namespace_filters" => "AWSNamespaceFilters", - "v2.aws_namespace_filters_exclude_all" => "AWSNamespaceFiltersExcludeAll", "v2.aws_namespace_filters_exclude_only" => "AWSNamespaceFiltersExcludeOnly", - "v2.aws_namespace_filters_include_all" => "AWSNamespaceFiltersIncludeAll", "v2.aws_namespace_filters_include_only" => "AWSNamespaceFiltersIncludeOnly", "v2.aws_namespaces_response" => "AWSNamespacesResponse", "v2.aws_namespaces_response_attributes" => "AWSNamespacesResponseAttributes", diff --git a/lib/datadog_api_client/v2/models/aws_namespace_filters.rb b/lib/datadog_api_client/v2/models/aws_namespace_filters.rb index 139549c27af9..4c25dff9eb57 100644 --- a/lib/datadog_api_client/v2/models/aws_namespace_filters.rb +++ b/lib/datadog_api_client/v2/models/aws_namespace_filters.rb @@ -26,9 +26,7 @@ class << self # List of class defined in oneOf (OpenAPI v3) def openapi_one_of [ - :'AWSNamespaceFiltersExcludeAll', :'AWSNamespaceFiltersExcludeOnly', - :'AWSNamespaceFiltersIncludeAll', :'AWSNamespaceFiltersIncludeOnly' ] end diff --git a/lib/datadog_api_client/v2/models/aws_namespace_filters_exclude_all.rb b/lib/datadog_api_client/v2/models/aws_namespace_filters_exclude_all.rb deleted file mode 100644 index a70a1dc6a383..000000000000 --- a/lib/datadog_api_client/v2/models/aws_namespace_filters_exclude_all.rb +++ /dev/null @@ -1,123 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator - - Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - This product includes software developed at Datadog (https://www.datadoghq.com/). - Copyright 2020-Present Datadog, Inc. - -=end - -require 'date' -require 'time' - -module DatadogAPIClient::V2 - # Exclude all namespaces - class AWSNamespaceFiltersExcludeAll - include BaseGenericModel - - # Exclude all namespaces - attr_reader :exclude_all - - attr_accessor :additional_properties - - # Attribute mapping from ruby-style variable name to JSON key. - # @!visibility private - def self.attribute_map - { - :'exclude_all' => :'exclude_all' - } - end - - # Attribute type mapping. - # @!visibility private - def self.openapi_types - { - :'exclude_all' => :'Boolean' - } - end - - # Initializes the object - # @param attributes [Hash] Model attributes in the form of hash - # @!visibility private - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::AWSNamespaceFiltersExcludeAll` initialize method" - end - - self.additional_properties = {} - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - self.additional_properties[k.to_sym] = v - else - h[k.to_sym] = v - end - } - - if attributes.key?(:'exclude_all') - self.exclude_all = attributes[:'exclude_all'] - end - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - # @!visibility private - def valid? - return false if @exclude_all.nil? - true - end - - # Custom attribute writer method with validation - # @param exclude_all [Object] Object to be assigned - # @!visibility private - def exclude_all=(exclude_all) - if exclude_all.nil? - fail ArgumentError, 'invalid value for "exclude_all", exclude_all cannot be nil.' - end - @exclude_all = exclude_all - end - - # Returns the object in the form of hash, with additionalProperties support. - # @return [Hash] Returns the object in the form of hash - # @!visibility private - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - self.additional_properties.each_pair do |attr, value| - hash[attr] = value - end - hash - end - - # Checks equality by comparing each attribute. - # @param o [Object] Object to be compared - # @!visibility private - def ==(o) - return true if self.equal?(o) - self.class == o.class && - exclude_all == o.exclude_all - additional_properties == o.additional_properties - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - # @!visibility private - def hash - [exclude_all].hash - end - end -end diff --git a/lib/datadog_api_client/v2/models/aws_namespace_filters_include_all.rb b/lib/datadog_api_client/v2/models/aws_namespace_filters_include_all.rb deleted file mode 100644 index 40f3e160dc42..000000000000 --- a/lib/datadog_api_client/v2/models/aws_namespace_filters_include_all.rb +++ /dev/null @@ -1,123 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator - - Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - This product includes software developed at Datadog (https://www.datadoghq.com/). - Copyright 2020-Present Datadog, Inc. - -=end - -require 'date' -require 'time' - -module DatadogAPIClient::V2 - # Include all namespaces - class AWSNamespaceFiltersIncludeAll - include BaseGenericModel - - # Include all namespaces - attr_reader :include_all - - attr_accessor :additional_properties - - # Attribute mapping from ruby-style variable name to JSON key. - # @!visibility private - def self.attribute_map - { - :'include_all' => :'include_all' - } - end - - # Attribute type mapping. - # @!visibility private - def self.openapi_types - { - :'include_all' => :'Boolean' - } - end - - # Initializes the object - # @param attributes [Hash] Model attributes in the form of hash - # @!visibility private - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::AWSNamespaceFiltersIncludeAll` initialize method" - end - - self.additional_properties = {} - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - self.additional_properties[k.to_sym] = v - else - h[k.to_sym] = v - end - } - - if attributes.key?(:'include_all') - self.include_all = attributes[:'include_all'] - end - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - # @!visibility private - def valid? - return false if @include_all.nil? - true - end - - # Custom attribute writer method with validation - # @param include_all [Object] Object to be assigned - # @!visibility private - def include_all=(include_all) - if include_all.nil? - fail ArgumentError, 'invalid value for "include_all", include_all cannot be nil.' - end - @include_all = include_all - end - - # Returns the object in the form of hash, with additionalProperties support. - # @return [Hash] Returns the object in the form of hash - # @!visibility private - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - self.additional_properties.each_pair do |attr, value| - hash[attr] = value - end - hash - end - - # Checks equality by comparing each attribute. - # @param o [Object] Object to be compared - # @!visibility private - def ==(o) - return true if self.equal?(o) - self.class == o.class && - include_all == o.include_all - additional_properties == o.additional_properties - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - # @!visibility private - def hash - [include_all].hash - end - end -end