Skip to content

Commit

Permalink
Regenerate client from commit a3026335 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 29, 2025
1 parent 60be14d commit a392cdd
Show file tree
Hide file tree
Showing 96 changed files with 1,838 additions and 1,838 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-29 14:56:05.546786",
"spec_repo_commit": "14f5d952"
"regenerated": "2025-01-29 19:49:07.992598",
"spec_repo_commit": "a3026335"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-29 14:56:05.561740",
"spec_repo_commit": "14f5d952"
"regenerated": "2025-01-29 19:49:08.011559",
"spec_repo_commit": "a3026335"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Feature: Authentication
Given an instance of "Authentication" API
And new "Validate" request

@skip-validation @team:DataDog/credentials-management
@skip-validation @team:DataDog/credentials-management @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Validate API key returns "Forbidden" response
When the request is sent
Then the response status is 403 OK

@team:DataDog/credentials-management
@team:DataDog/credentials-management @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Validate API key returns "OK" response
Given a valid "apiKeyAuth" key in the system
When the request is sent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,178 +9,178 @@ Feature: AWS Integration
And a valid "appKeyAuth" key in the system
And an instance of "AWSIntegration" API

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Create an AWS integration returns "Bad Request" response
Given new "CreateAWSAccount" request
And body with value {"account_id": "123456789012", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "cspm_resource_collection_enabled": true, "excluded_regions": ["us-east-1", "us-west-2"], "extended_resource_collection_enabled": true, "filter_tags": ["$KEY:$VALUE"], "host_tags": ["$KEY:$VALUE"], "metrics_collection_enabled": false, "resource_collection_enabled": true, "role_name": "DatadogAWSIntegrationRole"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Create an AWS integration returns "Conflict Error" response
Given new "CreateAWSAccount" request
And body with value {"account_id": "123456789012", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "cspm_resource_collection_enabled": true, "excluded_regions": ["us-east-1", "us-west-2"], "extended_resource_collection_enabled": true, "filter_tags": ["$KEY:$VALUE"], "host_tags": ["$KEY:$VALUE"], "metrics_collection_enabled": false, "resource_collection_enabled": true, "role_name": "DatadogAWSIntegrationRole"}
When the request is sent
Then the response status is 409 Conflict Error

@team:DataDog/aws-integrations
@team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Create an AWS integration returns "OK" response
Given new "CreateAWSAccount" request
And body with value {"account_id": "{{ timestamp("now") }}00", "account_specific_namespace_rules": {"auto_scaling": false}, "cspm_resource_collection_enabled": true, "excluded_regions": ["us-east-1", "us-west-2"], "extended_resource_collection_enabled": true, "filter_tags": ["$KEY:$VALUE"], "host_tags": ["$KEY:$VALUE"], "metrics_collection_enabled": false, "role_name": "DatadogAWSIntegrationRole"}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Create an Amazon EventBridge source returns "Bad Request" response
Given new "CreateAWSEventBridgeSource" request
And body with value {"account_id": "123456789012", "create_event_bus": true, "event_generator_name": "app-alerts", "region": "us-east-1"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Create an Amazon EventBridge source returns "OK" response
Given new "CreateAWSEventBridgeSource" request
And body with value {"account_id": "123456789012", "create_event_bus": true, "event_generator_name": "app-alerts", "region": "us-east-1"}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Delete a tag filtering entry returns "Bad Request" response
Given new "DeleteAWSTagFilter" request
And body with value {"account_id": "FAKEAC0FAKEAC2FAKEAC", "namespace": "elb"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Delete a tag filtering entry returns "OK" response
Given new "DeleteAWSTagFilter" request
And body with value {"account_id": "FAKEAC0FAKEAC2FAKEAC", "namespace": "elb"}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Delete an AWS integration returns "Bad Request" response
Given new "DeleteAWSAccount" request
And body with value {"account_id": "123456789012", "role_name": "DatadogAWSIntegrationRole"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Delete an AWS integration returns "Conflict Error" response
Given new "DeleteAWSAccount" request
And body with value {"account_id": "123456789012", "role_name": "DatadogAWSIntegrationRole"}
When the request is sent
Then the response status is 409 Conflict Error

@team:DataDog/aws-integrations
@team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Delete an AWS integration returns "OK" response
Given there is a valid "aws_account" in the system
And new "DeleteAWSAccount" request
And body with value {"account_id": "{{ timestamp("now") }}00", "role_name": "DatadogAWSIntegrationRole"}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Delete an Amazon EventBridge source returns "Bad Request" response
Given new "DeleteAWSEventBridgeSource" request
And body with value {"account_id": "123456789012", "event_generator_name": "app-alerts-zyxw3210", "region": "us-east-1"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Delete an Amazon EventBridge source returns "OK" response
Given new "DeleteAWSEventBridgeSource" request
And body with value {"account_id": "123456789012", "event_generator_name": "app-alerts-zyxw3210", "region": "us-east-1"}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Generate a new external ID returns "Bad Request" response
Given new "CreateNewAWSExternalID" request
And body with value {"account_id": "123456789012", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "cspm_resource_collection_enabled": true, "excluded_regions": ["us-east-1", "us-west-2"], "extended_resource_collection_enabled": true, "filter_tags": ["$KEY:$VALUE"], "host_tags": ["$KEY:$VALUE"], "metrics_collection_enabled": false, "resource_collection_enabled": true, "role_name": "DatadogAWSIntegrationRole"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Generate a new external ID returns "OK" response
Given new "CreateNewAWSExternalID" request
And body with value {"account_id": "123456789012", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "cspm_resource_collection_enabled": true, "excluded_regions": ["us-east-1", "us-west-2"], "extended_resource_collection_enabled": true, "filter_tags": ["$KEY:$VALUE"], "host_tags": ["$KEY:$VALUE"], "metrics_collection_enabled": false, "resource_collection_enabled": true, "role_name": "DatadogAWSIntegrationRole"}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Get all AWS tag filters returns "Bad Request" response
Given new "ListAWSTagFilters" request
And request contains "account_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Get all AWS tag filters returns "OK" response
Given new "ListAWSTagFilters" request
And request contains "account_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Get all Amazon EventBridge sources returns "Bad Request" response
Given new "ListAWSEventBridgeSources" request
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Get all Amazon EventBridge sources returns "OK" response
Given new "ListAWSEventBridgeSources" request
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: List all AWS integrations returns "Bad Request" response
Given new "ListAWSAccounts" request
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: List all AWS integrations returns "OK" response
Given new "ListAWSAccounts" request
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: List namespace rules returns "OK" response
Given new "ListAvailableAWSNamespaces" request
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Set an AWS tag filter returns "Bad Request" response
Given new "CreateAWSTagFilter" request
And body with value {"account_id": "123456789012", "namespace": "elb", "tag_filter_str": "prod*"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Set an AWS tag filter returns "OK" response
Given new "CreateAWSTagFilter" request
And body with value {"account_id": "123456789012", "namespace": "elb", "tag_filter_str": "prod*"}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Update an AWS integration returns "Bad Request" response
Given new "UpdateAWSAccount" request
And body with value {"account_id": "123456789012", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "cspm_resource_collection_enabled": true, "excluded_regions": ["us-east-1", "us-west-2"], "extended_resource_collection_enabled": true, "filter_tags": ["$KEY:$VALUE"], "host_tags": ["$KEY:$VALUE"], "metrics_collection_enabled": false, "resource_collection_enabled": true, "role_name": "DatadogAWSIntegrationRole"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/aws-integrations
@generated @skip @team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Update an AWS integration returns "Conflict Error" response
Given new "UpdateAWSAccount" request
And body with value {"account_id": "123456789012", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "cspm_resource_collection_enabled": true, "excluded_regions": ["us-east-1", "us-west-2"], "extended_resource_collection_enabled": true, "filter_tags": ["$KEY:$VALUE"], "host_tags": ["$KEY:$VALUE"], "metrics_collection_enabled": false, "resource_collection_enabled": true, "role_name": "DatadogAWSIntegrationRole"}
When the request is sent
Then the response status is 409 Conflict Error

@team:DataDog/aws-integrations
@team:DataDog/aws-integrations @team:datadog/api-clients @team:datadog/web-frameworks
Scenario: Update an AWS integration returns "OK" response
Given there is a valid "aws_account" in the system
And new "UpdateAWSAccount" request
Expand Down
Loading

0 comments on commit a392cdd

Please sign in to comment.