Skip to content

Commit 4c1f6aa

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add docs for 404 not found error in cost-onboarding-api (#2606)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 9e2569c commit 4c1f6aa

7 files changed

+82
-2
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "e22129c",
3-
"generated": "2025-08-25 17:47:35.253"
2+
"spec_repo_commit": "1e6c346",
3+
"generated": "2025-08-25 18:45:37.801"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49699,6 +49699,12 @@ paths:
4969949699
schema:
4970049700
$ref: '#/components/schemas/APIErrorResponse'
4970149701
description: Forbidden
49702+
'404':
49703+
content:
49704+
application/json:
49705+
schema:
49706+
$ref: '#/components/schemas/APIErrorResponse'
49707+
description: Not Found
4970249708
'429':
4970349709
$ref: '#/components/responses/TooManyRequestsResponse'
4970449710
security:
@@ -49851,6 +49857,12 @@ paths:
4985149857
schema:
4985249858
$ref: '#/components/schemas/APIErrorResponse'
4985349859
description: Forbidden
49860+
'404':
49861+
content:
49862+
application/json:
49863+
schema:
49864+
$ref: '#/components/schemas/APIErrorResponse'
49865+
description: Not Found
4985449866
'429':
4985549867
$ref: '#/components/responses/TooManyRequestsResponse'
4985649868
security:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-08-25T15:10:14.494Z

cassettes/features/v2/cloud_cost_management/Update-Cloud-Cost-Management-AWS-CUR-config-returns-Not-Found-response.yml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-08-25T15:10:28.926Z

cassettes/features/v2/cloud_cost_management/Update-Cloud-Cost-Management-Azure-config-returns-Not-Found-response.yml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

features/v2/cloud_cost_management.feature

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,14 @@ Feature: Cloud Cost Management
267267
When the request is sent
268268
Then the response status is 200 OK
269269

270+
@team:Datadog/cloud-cost-management
271+
Scenario: Update Cloud Cost Management AWS CUR config returns "Not Found" response
272+
Given new "UpdateCostAWSCURConfig" request
273+
And request contains "cloud_account_id" parameter with value 12345678
274+
And body with value {"data": {"attributes": {"is_enabled": true}, "type": "aws_cur_config_patch_request"}}
275+
When the request is sent
276+
Then the response status is 404 Not Found
277+
270278
@replay-only @team:Datadog/cloud-cost-management
271279
Scenario: Update Cloud Cost Management AWS CUR config returns "OK" response
272280
Given new "UpdateCostAWSCURConfig" request
@@ -284,6 +292,14 @@ Feature: Cloud Cost Management
284292
When the request is sent
285293
Then the response status is 400 Bad Request
286294

295+
@team:Datadog/cloud-cost-management
296+
Scenario: Update Cloud Cost Management Azure config returns "Not Found" response
297+
Given new "UpdateCostAzureUCConfigs" request
298+
And request contains "cloud_account_id" parameter with value 12345678
299+
And body with value {"data": {"attributes": {"is_enabled": true}, "type": "azure_uc_config_patch_request"}}
300+
When the request is sent
301+
Then the response status is 404 Not Found
302+
287303
@replay-only @team:Datadog/cloud-cost-management
288304
Scenario: Update Cloud Cost Management Azure config returns "OK" response
289305
Given new "UpdateCostAzureUCConfigs" request

0 commit comments

Comments
 (0)