Skip to content

Commit

Permalink
Regenerate client from commit f858f395 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 19, 2024
1 parent 796fd9a commit a972371
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 23 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": "2024-11-18 20:16:41.226338",
"spec_repo_commit": "1939caa6"
"regenerated": "2024-11-19 18:07:22.354004",
"spec_repo_commit": "f858f395"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-18 20:16:41.245434",
"spec_repo_commit": "1939caa6"
"regenerated": "2024-11-19 18:07:22.372908",
"spec_repo_commit": "f858f395"
}
}
}
14 changes: 8 additions & 6 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36442,7 +36442,8 @@ tags:
name: Logs
- description: 'Manage configuration of [log indexes](https://docs.datadoghq.com/logs/indexes/).

You need an API and application key with Admin rights to interact with this endpoint.'
You need an API and non-scoped application key with Admin rights to interact with
these endpoints.'
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/logs/indexes/
Expand All @@ -36454,11 +36455,12 @@ tags:
about processors can be found in the\n [processors documentation](https://docs.datadoghq.com/logs/log_configuration/processors/?tab=api#lookup-processor).\n\n-
For more information about Pipelines, see the\n [pipeline documentation](https://docs.datadoghq.com/logs/log_configuration/pipelines).\n\n**Notes:**\n\nThese
endpoints are only available for admin users.\nMake sure to use an application
key created by an admin.\n\n**Grok parsing rules may effect JSON output and require\nreturned
data to be configured before using in a request.**\nFor example, if you are using
the data returned from a\nrequest for another request body, and have a parsing
rule\nthat uses a regex pattern like `\\s` for spaces, you will\nneed to configure
all escaped spaces as `%{space}` to use\nin the body data."
key created by an admin with no applied scopes.\n\n**Grok parsing rules may effect
JSON output and require\nreturned data to be configured before using in a request.**\nFor
example, if you are using the data returned from a\nrequest for another request
body, and have a parsing rule\nthat uses a regex pattern like `\\s` for spaces,
you will\nneed to configure all escaped spaces as `%{space}` to use\nin the body
data."
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/logs/log_configuration
Expand Down
11 changes: 9 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43830,7 +43830,11 @@ tags:

See the [Archives Page](https://app.datadoghq.com/logs/pipelines/archives)

for a list of the archives currently configured in Datadog.'
for a list of the archives currently configured in Datadog.


You need an API and non-scoped application key with Admin rights to interact with
these endpoints.'
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/logs/archives/
Expand All @@ -43849,8 +43853,11 @@ tags:
description: Find out more at
url: https://docs.datadoghq.com/logs/log_configuration/forwarding_custom_destinations/
name: Logs Custom Destinations
- description: Manage configuration of [log-based metrics](https://app.datadoghq.com/logs/pipelines/generate-metrics)
- description: 'Manage configuration of [log-based metrics](https://app.datadoghq.com/logs/pipelines/generate-metrics)
for your organization.

You need an API and non-scoped application key with Admin rights to interact with
these endpoints.'
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/logs/logs_to_metrics/
Expand Down
2 changes: 1 addition & 1 deletion src/datadogV1/api/api_logs_indexes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub enum UpdateLogsIndexOrderError {
}

/// Manage configuration of [log indexes](<https://docs.datadoghq.com/logs/indexes/>).
/// You need an API and application key with Admin rights to interact with this endpoint.
/// You need an API and non-scoped application key with Admin rights to interact with these endpoints.
#[derive(Debug, Clone)]
pub struct LogsIndexesAPI {
config: datadog::Configuration,
Expand Down
2 changes: 1 addition & 1 deletion src/datadogV1/api/api_logs_pipelines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub enum UpdateLogsPipelineOrderError {
/// **Notes:**
///
/// These endpoints are only available for admin users.
/// Make sure to use an application key created by an admin.
/// Make sure to use an application key created by an admin with no applied scopes.
///
/// **Grok parsing rules may effect JSON output and require
/// returned data to be configured before using in a request.**
Expand Down
2 changes: 2 additions & 0 deletions src/datadogV2/api/api_logs_archives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ pub enum UpdateLogsArchiveOrderError {
///
/// See the [Archives Page](<https://app.datadoghq.com/logs/pipelines/archives>)
/// for a list of the archives currently configured in Datadog.
///
/// You need an API and non-scoped application key with Admin rights to interact with these endpoints.
#[derive(Debug, Clone)]
pub struct LogsArchivesAPI {
config: datadog::Configuration,
Expand Down
1 change: 1 addition & 0 deletions src/datadogV2/api/api_logs_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ pub enum UpdateLogsMetricError {
}

/// Manage configuration of [log-based metrics](<https://app.datadoghq.com/logs/pipelines/generate-metrics>) for your organization.
/// You need an API and non-scoped application key with Admin rights to interact with these endpoints.
#[derive(Debug, Clone)]
pub struct LogsMetricsAPI {
config: datadog::Configuration,
Expand Down
3 changes: 2 additions & 1 deletion tests/scenarios/features/v1/logs_indexes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Feature: Logs Indexes
Manage configuration of [log
indexes](https://docs.datadoghq.com/logs/indexes/). You need an API and
application key with Admin rights to interact with this endpoint.
non-scoped application key with Admin rights to interact with these
endpoints.

Background:
Given a valid "apiKeyAuth" key in the system
Expand Down
13 changes: 7 additions & 6 deletions tests/scenarios/features/v1/logs_pipelines.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ Feature: Logs Pipelines
s/?tab=api#lookup-processor). - For more information about Pipelines, see
the [pipeline documentation](https://docs.datadoghq.com/logs/log_configu
ration/pipelines). **Notes:** These endpoints are only available for
admin users. Make sure to use an application key created by an admin.
**Grok parsing rules may effect JSON output and require returned data to
be configured before using in a request.** For example, if you are using
the data returned from a request for another request body, and have a
parsing rule that uses a regex pattern like `\s` for spaces, you will need
to configure all escaped spaces as `%{space}` to use in the body data.
admin users. Make sure to use an application key created by an admin with
no applied scopes. **Grok parsing rules may effect JSON output and
require returned data to be configured before using in a request.** For
example, if you are using the data returned from a request for another
request body, and have a parsing rule that uses a regex pattern like `\s`
for spaces, you will need to configure all escaped spaces as `%{space}` to
use in the body data.

Background:
Given a valid "apiKeyAuth" key in the system
Expand Down
4 changes: 3 additions & 1 deletion tests/scenarios/features/v2/logs_archives.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
Feature: Logs Archives
Archives forward all the logs ingested to a cloud storage system. See the
[Archives Page](https://app.datadoghq.com/logs/pipelines/archives) for a
list of the archives currently configured in Datadog.
list of the archives currently configured in Datadog. You need an API and
non-scoped application key with Admin rights to interact with these
endpoints.

Background:
Given a valid "apiKeyAuth" key in the system
Expand Down
3 changes: 2 additions & 1 deletion tests/scenarios/features/v2/logs_metrics.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Feature: Logs Metrics
Manage configuration of [log-based
metrics](https://app.datadoghq.com/logs/pipelines/generate-metrics) for
your organization.
your organization. You need an API and non-scoped application key with
Admin rights to interact with these endpoints.

Background:
Given a valid "apiKeyAuth" key in the system
Expand Down

0 comments on commit a972371

Please sign in to comment.