Skip to content

Commit dc44983

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 3dc164c of spec repo (#4178)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 0d49f96 commit dc44983

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
@@ -120507,6 +120507,7 @@ components:
120507120507
incident_write: Create, view, and manage incidents in Datadog.
120508120508
integrations_read: View configured integrations and their settings.
120509120509
logs_modify_indexes: Modify log indexes, filters, exclusion filters, and configurations.
120510+
logs_read_data: Read log data.
120510120511
logs_read_index_data: Read indexed log data.
120511120512
manage_integrations: Install, uninstall, and configure integrations.
120512120513
metrics_read: View custom metrics.
@@ -165528,6 +165529,11 @@ paths:
165528165529
$ref: "#/components/responses/NotAuthorizedResponse"
165529165530
"429":
165530165531
$ref: "#/components/responses/TooManyRequestsResponse"
165532+
security:
165533+
- apiKeyAuth: []
165534+
appKeyAuth: []
165535+
- AuthZ:
165536+
- logs_read_data
165531165537
summary: Aggregate events
165532165538
tags: ["Logs"]
165533165539
x-codegen-request-body-name: body
@@ -167410,6 +167416,11 @@ paths:
167410167416
$ref: "#/components/responses/NotAuthorizedResponse"
167411167417
"429":
167412167418
$ref: "#/components/responses/TooManyRequestsResponse"
167419+
security:
167420+
- apiKeyAuth: []
167421+
appKeyAuth: []
167422+
- AuthZ:
167423+
- logs_read_data
167413167424
summary: Search logs (POST)
167414167425
tags: ["Logs"]
167415167426
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)