Skip to content

Commit c5d3271

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 4f0ab0f of spec repo (#2382)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 3070401 commit c5d3271

File tree

86 files changed

+1027
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+1027
-97
lines changed

packages/datadog-api-client/README.md

Lines changed: 433 additions & 0 deletions
Large diffs are not rendered by default.

services/action_connection/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ Workflow Automation and App Builder.
1111

1212
We offer granular access control for editing and resolving connections.
1313

14+
## Navigation
15+
16+
- [Installation](#installation)
17+
- [Getting Started](#getting-started)
18+
1419
## Installation
1520

1621
```sh
@@ -30,7 +35,7 @@ const configuration = createConfiguration();
3035
const apiInstance = new ActionConnectionApiV2(configuration);
3136
const params = {/* parameters */};
3237

33-
apiInstance.createActionConnection(params).then((data: v2.CreateActionConnectionResponse) => {
38+
apiInstance.createActionConnection(params).then((data) => {
3439
console.log("API called successfully. Returned data: " + JSON.stringify(data));
3540
}).catch((error) => {
3641
console.error("Error calling API: " + error);

services/agentless_scanning/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ requiring teams to install Agents on every host or where Agents cannot be instal
88
Agentless offers also Sensitive Data Scanning capabilities on your storage.
99
Go to https://www.datadoghq.com/blog/agentless-scanning/ to learn more.
1010

11+
## Navigation
12+
13+
- [Installation](#installation)
14+
- [Getting Started](#getting-started)
15+
1116
## Installation
1217

1318
```sh
@@ -26,7 +31,7 @@ import { v2 } from "@datadog/datadog-api-client-agentless-scanning";
2631
const configuration = createConfiguration();
2732
const apiInstance = new AgentlessScanningApiV2(configuration);
2833

29-
apiInstance.listAwsScanOptions().then((data: v2.AwsScanOptionsListResponse) => {
34+
apiInstance.listAwsScanOptions().then((data) => {
3035
console.log("API called successfully. Returned data: " + JSON.stringify(data));
3136
}).catch((error) => {
3237
console.error("Error calling API: " + error);

services/api_management/README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
Configure your API endpoints through the Datadog API.
66

7+
## Navigation
8+
9+
- [Installation](#installation)
10+
- [Getting Started](#getting-started)
11+
712
## Installation
813

914
```sh
@@ -21,11 +26,17 @@ import { v2 } from "@datadog/datadog-api-client-api-management";
2126

2227
const configuration = createConfiguration();
2328
// Enable unstable operations
24-
configuration.unstableOperations["v2.listAPIs"] = true;
29+
const configurationOpts = {
30+
unstableOperations: {
31+
"APIManagementApi.v2.listAPIs": true
32+
}
33+
}
34+
35+
const configuration = createConfiguration(configurationOpts);
2536
const apiInstance = new APIManagementApiV2(configuration);
2637
const params = {/* parameters */};
2738

28-
apiInstance.listAPIs(params).then((data: v2.ListAPIsResponse) => {
39+
apiInstance.listAPIs(params).then((data) => {
2940
console.log("API called successfully. Returned data: " + JSON.stringify(data));
3041
}).catch((error) => {
3142
console.error("Error calling API: " + error);

services/apm_retention_filters/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
Manage configuration of [APM retention filters](https://app.datadoghq.com/apm/traces/retention-filters) for your organization. You need an API and application key with Admin rights to interact with this endpoint. See [retention filters](https://docs.datadoghq.com/tracing/trace_pipeline/trace_retention/#retention-filters) on the Trace Retention page for more information.
66

7+
## Navigation
8+
9+
- [Installation](#installation)
10+
- [Getting Started](#getting-started)
11+
712
## Installation
813

914
```sh
@@ -22,7 +27,7 @@ import { v2 } from "@datadog/datadog-api-client-apm-retention-filters";
2227
const configuration = createConfiguration();
2328
const apiInstance = new APMRetentionFiltersApiV2(configuration);
2429

25-
apiInstance.listApmRetentionFilters().then((data: v2.RetentionFiltersResponse) => {
30+
apiInstance.listApmRetentionFilters().then((data) => {
2631
console.log("API called successfully. Returned data: " + JSON.stringify(data));
2732
}).catch((error) => {
2833
console.error("Error calling API: " + error);

services/app_builder/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
Datadog App Builder provides a low-code solution to rapidly develop and integrate secure, customized applications into your monitoring stack that are built to accelerate remediation at scale. These API endpoints allow you to create, read, update, delete, and publish apps.
66

7+
## Navigation
8+
9+
- [Installation](#installation)
10+
- [Getting Started](#getting-started)
11+
712
## Installation
813

914
```sh
@@ -23,7 +28,7 @@ const configuration = createConfiguration();
2328
const apiInstance = new AppBuilderApiV2(configuration);
2429
const params = {/* parameters */};
2530

26-
apiInstance.listApps(params).then((data: v2.ListAppsResponse) => {
31+
apiInstance.listApps(params).then((data) => {
2732
console.log("API called successfully. Returned data: " + JSON.stringify(data));
2833
}).catch((error) => {
2934
console.error("Error calling API: " + error);

services/application_security/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ Reflected Cross-Site-Scripting (XSS). You can monitor and protect apps
99
hosted directly on a server, Docker, Kubernetes, Amazon ECS, and (for
1010
supported languages) AWS Fargate.
1111

12+
## Navigation
13+
14+
- [Installation](#installation)
15+
- [Getting Started](#getting-started)
16+
1217
## Installation
1318

1419
```sh
@@ -27,7 +32,7 @@ import { v2 } from "@datadog/datadog-api-client-application-security";
2732
const configuration = createConfiguration();
2833
const apiInstance = new ApplicationSecurityApiV2(configuration);
2934

30-
apiInstance.listApplicationSecurityWAFCustomRules().then((data: v2.ApplicationSecurityWafCustomRuleListResponse) => {
35+
apiInstance.listApplicationSecurityWAFCustomRules().then((data) => {
3136
console.log("API called successfully. Returned data: " + JSON.stringify(data));
3237
}).catch((error) => {
3338
console.error("Error calling API: " + error);

services/audit/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
Search your Audit Logs events over HTTP.
66

7+
## Navigation
8+
9+
- [Installation](#installation)
10+
- [Getting Started](#getting-started)
11+
712
## Installation
813

914
```sh
@@ -23,7 +28,7 @@ const configuration = createConfiguration();
2328
const apiInstance = new AuditApiV2(configuration);
2429
const params = {/* parameters */};
2530

26-
apiInstance.listAuditLogs(params).then((data: v2.AuditLogsEventsResponse) => {
31+
apiInstance.listAuditLogs(params).then((data) => {
2732
console.log("API called successfully. Returned data: " + JSON.stringify(data));
2833
}).catch((error) => {
2934
console.error("Error calling API: " + error);

services/auth_n_mappings/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
is used to automatically map groups of users to roles in Datadog using attributes
77
sent from Identity Providers. Use these endpoints to manage your AuthN Mappings.
88

9+
## Navigation
10+
11+
- [Installation](#installation)
12+
- [Getting Started](#getting-started)
13+
914
## Installation
1015

1116
```sh
@@ -25,7 +30,7 @@ const configuration = createConfiguration();
2530
const apiInstance = new AuthNMappingsApiV2(configuration);
2631
const params = {/* parameters */};
2732

28-
apiInstance.listAuthNMappings(params).then((data: v2.AuthNMappingsResponse) => {
33+
apiInstance.listAuthNMappings(params).then((data) => {
2934
console.log("API called successfully. Returned data: " + JSON.stringify(data));
3035
}).catch((error) => {
3136
console.error("Error calling API: " + error);

services/authentication/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ If you are on the Datadog EU site, set the environment variable `DATADOG_HOST` t
1212

1313
[Manage your account’s API and application keys](https://app.datadoghq.com/organization-settings/) in Datadog, and see the [API and Application Keys page](https://docs.datadoghq.com/account_management/api-app-keys/) in the documentation.
1414

15+
## Navigation
16+
17+
- [Installation](#installation)
18+
- [Getting Started](#getting-started)
19+
1520
## Installation
1621

1722
```sh
@@ -30,7 +35,7 @@ import { v1 } from "@datadog/datadog-api-client-authentication";
3035
const configuration = createConfiguration();
3136
const apiInstance = new AuthenticationApiV1(configuration);
3237

33-
apiInstance.validate().then((data: v1.AuthenticationValidationResponse) => {
38+
apiInstance.validate().then((data) => {
3439
console.log("API called successfully. Returned data: " + JSON.stringify(data));
3540
}).catch((error) => {
3641
console.error("Error calling API: " + error);

0 commit comments

Comments
 (0)