Skip to content

Commit 365742c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Regenerate client from commit f1b60ce of spec repo (#380)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 845de8e commit 365742c

40 files changed

+266
-269
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev6",
7-
"regenerated": "2021-04-13 08:41:07.131569",
8-
"spec_repo_commit": "de0bece"
7+
"regenerated": "2021-04-14 13:00:26.745452",
8+
"spec_repo_commit": "f1b60ce"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-04-13 08:41:33.700434",
13-
"spec_repo_commit": "de0bece"
12+
"regenerated": "2021-04-14 13:00:55.860118",
13+
"spec_repo_commit": "f1b60ce"
1414
}
1515
}
1616
}

docs/v2/DashboardListsApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ with ApiClient(configuration) as api_client:
4040
dashboards=[
4141
DashboardListItemRequest(
4242
id="q5j-nti-fv6",
43-
type=DashboardType("custom_timeboard"),
43+
type=DashboardType("host_timeboard"),
4444
),
4545
],
4646
) # DashboardListAddItemsRequest | Dashboards to add to the dashboard list.
@@ -116,7 +116,7 @@ with ApiClient(configuration) as api_client:
116116
dashboards=[
117117
DashboardListItemRequest(
118118
id="q5j-nti-fv6",
119-
type=DashboardType("custom_timeboard"),
119+
type=DashboardType("host_timeboard"),
120120
),
121121
],
122122
) # DashboardListDeleteItemsRequest | Dashboards to delete from the dashboard list.
@@ -258,7 +258,7 @@ with ApiClient(configuration) as api_client:
258258
dashboards=[
259259
DashboardListItemRequest(
260260
id="q5j-nti-fv6",
261-
type=DashboardType("custom_timeboard"),
261+
type=DashboardType("host_timeboard"),
262262
),
263263
],
264264
) # DashboardListUpdateItemsRequest | New dashboards of the dashboard list.

docs/v2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ body = DashboardListAddItemsRequest(
7272
dashboards=[
7373
DashboardListItemRequest(
7474
id="q5j-nti-fv6",
75-
type=DashboardType("custom_timeboard"),
75+
type=DashboardType("host_timeboard"),
7676
),
7777
],
7878
) # DashboardListAddItemsRequest | Dashboards to add to the dashboard list.

src/datadog_api_client/v2/openapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,7 @@ components:
731731
- integration_screenboard
732732
- integration_timeboard
733733
- host_timeboard
734+
example: host_timeboard
734735
type: string
735736
x-enum-varnames:
736737
- CUSTOM_TIMEBOARD

tests/v1/features/aws_integration.feature

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,70 +12,70 @@ Feature: AWS Integration
1212
@generated @skip
1313
Scenario: Create an AWS integration returns "Bad Request" response
1414
Given new "CreateAWSAccount" request
15-
And body {}
15+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
1616
When the request is sent
1717
Then the response status is 400 Bad Request
1818

1919
@generated @skip
2020
Scenario: Create an AWS integration returns "Conflict Error" response
2121
Given new "CreateAWSAccount" request
22-
And body {}
22+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
2323
When the request is sent
2424
Then the response status is 409 Conflict Error
2525

2626
@generated @skip
2727
Scenario: Create an AWS integration returns "OK" response
2828
Given new "CreateAWSAccount" request
29-
And body {}
29+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
3030
When the request is sent
3131
Then the response status is 200 OK
3232

3333
@generated @skip
3434
Scenario: Delete a tag filtering entry returns "Bad Request" response
3535
Given new "DeleteAWSTagFilter" request
36-
And body {}
36+
And body {"account_id": "FAKEAC0FAKEAC2FAKEAC", "namespace": null}
3737
When the request is sent
3838
Then the response status is 400 Bad Request
3939

4040
@generated @skip
4141
Scenario: Delete a tag filtering entry returns "OK" response
4242
Given new "DeleteAWSTagFilter" request
43-
And body {}
43+
And body {"account_id": "FAKEAC0FAKEAC2FAKEAC", "namespace": null}
4444
When the request is sent
4545
Then the response status is 200 OK
4646

4747
@generated @skip
4848
Scenario: Delete an AWS integration returns "Bad Request" response
4949
Given new "DeleteAWSAccount" request
50-
And body {}
50+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
5151
When the request is sent
5252
Then the response status is 400 Bad Request
5353

5454
@generated @skip
5555
Scenario: Delete an AWS integration returns "Conflict Error" response
5656
Given new "DeleteAWSAccount" request
57-
And body {}
57+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
5858
When the request is sent
5959
Then the response status is 409 Conflict Error
6060

6161
@generated @skip
6262
Scenario: Delete an AWS integration returns "OK" response
6363
Given new "DeleteAWSAccount" request
64-
And body {}
64+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
6565
When the request is sent
6666
Then the response status is 200 OK
6767

6868
@generated @skip
6969
Scenario: Generate a new external ID returns "Bad Request" response
7070
Given new "CreateNewAWSExternalID" request
71-
And body {}
71+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
7272
When the request is sent
7373
Then the response status is 400 Bad Request
7474

7575
@generated @skip
7676
Scenario: Generate a new external ID returns "OK" response
7777
Given new "CreateNewAWSExternalID" request
78-
And body {}
78+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
7979
When the request is sent
8080
Then the response status is 200 OK
8181

@@ -112,34 +112,34 @@ Feature: AWS Integration
112112
@generated @skip
113113
Scenario: Set an AWS tag filter returns "Bad Request" response
114114
Given new "CreateAWSTagFilter" request
115-
And body {}
115+
And body {"account_id": "1234567", "namespace": null, "tag_filter_str": "prod*"}
116116
When the request is sent
117117
Then the response status is 400 Bad Request
118118

119119
@generated @skip
120120
Scenario: Set an AWS tag filter returns "OK" response
121121
Given new "CreateAWSTagFilter" request
122-
And body {}
122+
And body {"account_id": "1234567", "namespace": null, "tag_filter_str": "prod*"}
123123
When the request is sent
124124
Then the response status is 200 OK
125125

126126
@generated @skip
127127
Scenario: Update an AWS integration returns "Bad Request" response
128128
Given new "UpdateAWSAccount" request
129-
And body {}
129+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
130130
When the request is sent
131131
Then the response status is 400 Bad Request
132132

133133
@generated @skip
134134
Scenario: Update an AWS integration returns "Conflict Error" response
135135
Given new "UpdateAWSAccount" request
136-
And body {}
136+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
137137
When the request is sent
138138
Then the response status is 409 Conflict Error
139139

140140
@generated @skip
141141
Scenario: Update an AWS integration returns "OK" response
142142
Given new "UpdateAWSAccount" request
143-
And body {}
143+
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
144144
When the request is sent
145145
Then the response status is 200 OK

tests/v1/features/aws_logs_integration.feature

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,70 +12,70 @@ Feature: AWS Logs Integration
1212
@generated @skip
1313
Scenario: Add AWS Log Lambda ARN returns "Bad Request" response
1414
Given new "CreateAWSLambdaARN" request
15-
And body {}
15+
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
1616
When the request is sent
1717
Then the response status is 400 Bad Request
1818

1919
@generated @skip
2020
Scenario: Add AWS Log Lambda ARN returns "OK" response
2121
Given new "CreateAWSLambdaARN" request
22-
And body {}
22+
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
2323
When the request is sent
2424
Then the response status is 200 OK
2525

2626
@generated @skip
2727
Scenario: Check permissions for log services returns "Bad Request" response
2828
Given new "CheckAWSLogsServicesAsync" request
29-
And body {}
29+
And body {"account_id": "1234567", "services": ["s3", "elb", "elbv2", "cloudfront", "redshift", "lambda"]}
3030
When the request is sent
3131
Then the response status is 400 Bad Request
3232

3333
@generated @skip
3434
Scenario: Check permissions for log services returns "OK" response
3535
Given new "CheckAWSLogsServicesAsync" request
36-
And body {}
36+
And body {"account_id": "1234567", "services": ["s3", "elb", "elbv2", "cloudfront", "redshift", "lambda"]}
3737
When the request is sent
3838
Then the response status is 200 OK
3939

4040
@generated @skip
4141
Scenario: Check that an AWS Lambda Function exists returns "Bad Request" response
4242
Given new "CheckAWSLogsLambdaAsync" request
43-
And body {}
43+
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
4444
When the request is sent
4545
Then the response status is 400 Bad Request
4646

4747
@generated @skip
4848
Scenario: Check that an AWS Lambda Function exists returns "OK" response
4949
Given new "CheckAWSLogsLambdaAsync" request
50-
And body {}
50+
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
5151
When the request is sent
5252
Then the response status is 200 OK
5353

5454
@generated @skip
5555
Scenario: Delete an AWS Logs integration returns "Bad Request" response
5656
Given new "DeleteAWSLambdaARN" request
57-
And body {}
57+
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
5858
When the request is sent
5959
Then the response status is 400 Bad Request
6060

6161
@generated @skip
6262
Scenario: Delete an AWS Logs integration returns "OK" response
6363
Given new "DeleteAWSLambdaARN" request
64-
And body {}
64+
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
6565
When the request is sent
6666
Then the response status is 200 OK
6767

6868
@generated @skip
6969
Scenario: Enable an AWS Logs integration returns "Bad Request" response
7070
Given new "EnableAWSLogServices" request
71-
And body {}
71+
And body {"account_id": "1234567", "services": ["s3", "elb", "elbv2", "cloudfront", "redshift", "lambda"]}
7272
When the request is sent
7373
Then the response status is 400 Bad Request
7474

7575
@generated @skip
7676
Scenario: Enable an AWS Logs integration returns "OK" response
7777
Given new "EnableAWSLogServices" request
78-
And body {}
78+
And body {"account_id": "1234567", "services": ["s3", "elb", "elbv2", "cloudfront", "redshift", "lambda"]}
7979
When the request is sent
8080
Then the response status is 200 OK
8181

tests/v1/features/azure_integration.feature

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ Feature: Azure Integration
1212
@generated @skip
1313
Scenario: Create an Azure integration returns "Bad Request" response
1414
Given new "CreateAzureIntegration" request
15-
And body {}
15+
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
1616
When the request is sent
1717
Then the response status is 400 Bad Request
1818

1919
@generated @skip
2020
Scenario: Create an Azure integration returns "OK" response
2121
Given new "CreateAzureIntegration" request
22-
And body {}
22+
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
2323
When the request is sent
2424
Then the response status is 200 OK
2525

2626
@generated @skip
2727
Scenario: Delete an Azure integration returns "Bad Request" response
2828
Given new "DeleteAzureIntegration" request
29-
And body {}
29+
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
3030
When the request is sent
3131
Then the response status is 400 Bad Request
3232

3333
@generated @skip
3434
Scenario: Delete an Azure integration returns "OK" response
3535
Given new "DeleteAzureIntegration" request
36-
And body {}
36+
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
3737
When the request is sent
3838
Then the response status is 200 OK
3939

@@ -52,27 +52,27 @@ Feature: Azure Integration
5252
@generated @skip
5353
Scenario: Update Azure integration host filters returns "Bad Request" response
5454
Given new "UpdateAzureHostFilters" request
55-
And body {}
55+
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
5656
When the request is sent
5757
Then the response status is 400 Bad Request
5858

5959
@generated @skip
6060
Scenario: Update Azure integration host filters returns "OK" response
6161
Given new "UpdateAzureHostFilters" request
62-
And body {}
62+
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
6363
When the request is sent
6464
Then the response status is 200 OK
6565

6666
@generated @skip
6767
Scenario: Update an Azure integration returns "Bad Request" response
6868
Given new "UpdateAzureIntegration" request
69-
And body {}
69+
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
7070
When the request is sent
7171
Then the response status is 400 Bad Request
7272

7373
@generated @skip
7474
Scenario: Update an Azure integration returns "OK" response
7575
Given new "UpdateAzureIntegration" request
76-
And body {}
76+
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
7777
When the request is sent
7878
Then the response status is 200 OK

tests/v1/features/dashboard_lists.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ Feature: Dashboard Lists
1111
@generated @skip
1212
Scenario: Create a dashboard list returns "Bad Request" response
1313
Given new "CreateDashboardList" request
14-
And body {}
14+
And body {"author": {}, "created": null, "dashboard_count": null, "id": null, "is_favorite": null, "modified": null, "name": "My Dashboard", "type": "manual_dashboard_list"}
1515
When the request is sent
1616
Then the response status is 400 Bad Request
1717

1818
@generated @skip
1919
Scenario: Create a dashboard list returns "OK" response
2020
Given new "CreateDashboardList" request
21-
And body {}
21+
And body {"author": {}, "created": null, "dashboard_count": null, "id": null, "is_favorite": null, "modified": null, "name": "My Dashboard", "type": "manual_dashboard_list"}
2222
When the request is sent
2323
Then the response status is 200 OK
2424

@@ -60,22 +60,22 @@ Feature: Dashboard Lists
6060
Scenario: Update a dashboard list returns "Bad Request" response
6161
Given new "UpdateDashboardList" request
6262
And request contains "list_id" parameter from "<PATH>"
63-
And body {}
63+
And body {"author": {}, "created": null, "dashboard_count": null, "id": null, "is_favorite": null, "modified": null, "name": "My Dashboard", "type": "manual_dashboard_list"}
6464
When the request is sent
6565
Then the response status is 400 Bad Request
6666

6767
@generated @skip
6868
Scenario: Update a dashboard list returns "Not Found" response
6969
Given new "UpdateDashboardList" request
7070
And request contains "list_id" parameter from "<PATH>"
71-
And body {}
71+
And body {"author": {}, "created": null, "dashboard_count": null, "id": null, "is_favorite": null, "modified": null, "name": "My Dashboard", "type": "manual_dashboard_list"}
7272
When the request is sent
7373
Then the response status is 404 Not Found
7474

7575
@generated @skip
7676
Scenario: Update a dashboard list returns "OK" response
7777
Given new "UpdateDashboardList" request
7878
And request contains "list_id" parameter from "<PATH>"
79-
And body {}
79+
And body {"author": {}, "created": null, "dashboard_count": null, "id": null, "is_favorite": null, "modified": null, "name": "My Dashboard", "type": "manual_dashboard_list"}
8080
When the request is sent
8181
Then the response status is 200 OK

0 commit comments

Comments
 (0)