Skip to content

Commit f86d6b2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9c05766 of spec repo
1 parent 8834e73 commit f86d6b2

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119663,6 +119663,7 @@ components:
119663119663
incident_write: Create, view, and manage incidents in Datadog.
119664119664
integrations_read: View configured integrations and their settings.
119665119665
logs_modify_indexes: Modify log indexes, filters, exclusion filters, and configurations.
119666+
logs_read_data: Read log data.
119666119667
logs_read_index_data: Read indexed log data.
119667119668
manage_integrations: Install, uninstall, and configure integrations.
119668119669
metrics_read: View custom metrics.
@@ -164295,6 +164296,11 @@ paths:
164295164296
$ref: "#/components/responses/NotAuthorizedResponse"
164296164297
"429":
164297164298
$ref: "#/components/responses/TooManyRequestsResponse"
164299+
security:
164300+
- apiKeyAuth: []
164301+
appKeyAuth: []
164302+
- AuthZ:
164303+
- logs_read_data
164298164304
summary: Aggregate events
164299164305
tags: ["Logs"]
164300164306
x-codegen-request-body-name: body
@@ -166177,6 +166183,11 @@ paths:
166177166183
$ref: "#/components/responses/NotAuthorizedResponse"
166178166184
"429":
166179166185
$ref: "#/components/responses/TooManyRequestsResponse"
166186+
security:
166187+
- apiKeyAuth: []
166188+
appKeyAuth: []
166189+
- AuthZ:
166190+
- logs_read_data
166180166191
summary: Search logs (POST)
166181166192
tags: ["Logs"]
166182166193
x-codegen-request-body-name: body

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public ApiResponse<LogsAggregateResponse> aggregateLogsWithHttpInfo(LogsAggregat
123123
localVarHeaderParams,
124124
new HashMap<String, String>(),
125125
new String[] {"application/json"},
126-
new String[] {"apiKeyAuth", "appKeyAuth"});
126+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
127127
return apiClient.invokeAPI(
128128
"POST",
129129
builder,
@@ -170,7 +170,7 @@ public CompletableFuture<ApiResponse<LogsAggregateResponse>> aggregateLogsWithHt
170170
localVarHeaderParams,
171171
new HashMap<String, String>(),
172172
new String[] {"application/json"},
173-
new String[] {"apiKeyAuth", "appKeyAuth"});
173+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
174174
} catch (ApiException ex) {
175175
CompletableFuture<ApiResponse<LogsAggregateResponse>> result = new CompletableFuture<>();
176176
result.completeExceptionally(ex);
@@ -360,7 +360,7 @@ public ApiResponse<LogsListResponse> listLogsWithHttpInfo(ListLogsOptionalParame
360360
localVarHeaderParams,
361361
new HashMap<String, String>(),
362362
new String[] {"application/json"},
363-
new String[] {"apiKeyAuth", "appKeyAuth"});
363+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
364364
return apiClient.invokeAPI(
365365
"POST",
366366
builder,
@@ -398,7 +398,7 @@ public CompletableFuture<ApiResponse<LogsListResponse>> listLogsWithHttpInfoAsyn
398398
localVarHeaderParams,
399399
new HashMap<String, String>(),
400400
new String[] {"application/json"},
401-
new String[] {"apiKeyAuth", "appKeyAuth"});
401+
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
402402
} catch (ApiException ex) {
403403
CompletableFuture<ApiResponse<LogsListResponse>> result = new CompletableFuture<>();
404404
result.completeExceptionally(ex);

0 commit comments

Comments
 (0)