Skip to content

Commit ac03b98

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0d2b36a of spec repo
1 parent 922938f commit ac03b98

8 files changed

Lines changed: 98 additions & 2 deletions

.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": "c3b2b7d",
3-
"generated": "2025-08-25 10:19:34.863"
2+
"spec_repo_commit": "0d2b36a",
3+
"generated": "2025-08-25 15:23:28.847"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49698,6 +49698,12 @@ paths:
4969849698
schema:
4969949699
$ref: '#/components/schemas/APIErrorResponse'
4970049700
description: Forbidden
49701+
'404':
49702+
content:
49703+
application/json:
49704+
schema:
49705+
$ref: '#/components/schemas/APIErrorResponse'
49706+
description: Not Found
4970149707
'429':
4970249708
$ref: '#/components/responses/TooManyRequestsResponse'
4970349709
security:
@@ -49850,6 +49856,12 @@ paths:
4985049856
schema:
4985149857
$ref: '#/components/schemas/APIErrorResponse'
4985249858
description: Forbidden
49859+
'404':
49860+
content:
49861+
application/json:
49862+
schema:
49863+
$ref: '#/components/schemas/APIErrorResponse'
49864+
description: Not Found
4985349865
'429':
4985449866
$ref: '#/components/responses/TooManyRequestsResponse'
4985549867
security:

src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,6 +2125,7 @@ public CompletableFuture<AwsCURConfigsResponse> updateCostAWSCURConfigAsync(
21252125
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
21262126
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
21272127
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
2128+
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
21282129
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
21292130
* </table>
21302131
*/
@@ -2288,6 +2289,7 @@ public CompletableFuture<AzureUCConfigPairsResponse> updateCostAzureUCConfigsAsy
22882289
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
22892290
* <tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
22902291
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
2292+
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
22912293
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
22922294
* </table>
22932295
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-08-25T15:10:14.494Z
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[
2+
{
3+
"httpRequest": {
4+
"body": {
5+
"type": "JSON",
6+
"json": "{\"data\":{\"attributes\":{\"is_enabled\":true},\"type\":\"aws_cur_config_patch_request\"}}"
7+
},
8+
"headers": {},
9+
"method": "PATCH",
10+
"path": "/api/v2/cost/aws_cur_config/12345678",
11+
"keepAlive": false,
12+
"secure": true
13+
},
14+
"httpResponse": {
15+
"body": "{\"errors\":[{\"status\":\"404\",\"title\":\"Cloud account not found\",\"detail\":\"Cloud account with ID 12345678 was not found\"}]}",
16+
"headers": {
17+
"Content-Type": [
18+
"application/vnd.api+json"
19+
]
20+
},
21+
"statusCode": 404,
22+
"reasonPhrase": "Not Found"
23+
},
24+
"times": {
25+
"remainingTimes": 1
26+
},
27+
"timeToLive": {
28+
"unlimited": true
29+
},
30+
"id": "8c65e0d7-a670-e21d-106e-88f4d15c774b"
31+
}
32+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-08-25T15:10:28.926Z
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[
2+
{
3+
"httpRequest": {
4+
"body": {
5+
"type": "JSON",
6+
"json": "{\"data\":{\"attributes\":{\"is_enabled\":true},\"type\":\"azure_uc_config_patch_request\"}}"
7+
},
8+
"headers": {},
9+
"method": "PATCH",
10+
"path": "/api/v2/cost/azure_uc_config/12345678",
11+
"keepAlive": false,
12+
"secure": true
13+
},
14+
"httpResponse": {
15+
"body": "{\"errors\":[{\"status\":\"404\",\"title\":\"Cloud account not found\",\"detail\":\"Cloud account with ID 12345678 was not found\"}]}",
16+
"headers": {
17+
"Content-Type": [
18+
"application/vnd.api+json"
19+
]
20+
},
21+
"statusCode": 404,
22+
"reasonPhrase": "Not Found"
23+
},
24+
"times": {
25+
"remainingTimes": 1
26+
},
27+
"timeToLive": {
28+
"unlimited": true
29+
},
30+
"id": "123c815b-d1ef-26bd-ca56-223c458cd322"
31+
}
32+
]

src/test/resources/com/datadog/api/client/v2/api/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)