Skip to content

Commit 007c4b1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 760c6307 of spec repo
1 parent 9f2a53e commit 007c4b1

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2023-11-17 20:28:38.641948",
8-
"spec_repo_commit": "7fb616ae"
7+
"regenerated": "2023-11-20 14:22:56.880721",
8+
"spec_repo_commit": "760c6307"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-11-17 20:28:38.659712",
13-
"spec_repo_commit": "7fb616ae"
12+
"regenerated": "2023-11-20 14:22:56.909306",
13+
"spec_repo_commit": "760c6307"
1414
}
1515
}
1616
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2023-10-30T20:37:07.199Z"
1+
"2023-11-13T14:17:01.291Z"

cassettes/v1/AWS-Integration_2071210100/Create-an-AWS-integration-returns-OK-response_3371466541/recording.har

+11-11
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "0fa932298e4ee1e22d27fbae45a8ee57",
11+
"_id": "b345fb9c3709338914a9210da4d600fd",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -26,13 +26,13 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 565,
29+
"headersSize": 566,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"account_id\":\"123456789012\",\"account_specific_namespace_rules\":{\"auto_scaling\":false},\"cspm_resource_collection_enabled\":true,\"excluded_regions\":[\"us-east-1\",\"us-west-2\"],\"filter_tags\":[\"$KEY:$VALUE\"],\"host_tags\":[\"$KEY:$VALUE\"],\"metrics_collection_enabled\":false,\"resource_collection_enabled\":true,\"role_name\":\"DatadogAWSIntegrationRole\"}"
35+
"text": "{\"account_id\":\"169988502100\",\"account_specific_namespace_rules\":{\"auto_scaling\":false},\"cspm_resource_collection_enabled\":true,\"excluded_regions\":[\"us-east-1\",\"us-west-2\"],\"filter_tags\":[\"$KEY:$VALUE\"],\"host_tags\":[\"$KEY:$VALUE\"],\"metrics_collection_enabled\":false,\"resource_collection_enabled\":true,\"role_name\":\"DatadogAWSIntegrationRole\"}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/integration/aws"
@@ -42,7 +42,7 @@
4242
"content": {
4343
"mimeType": "application/json",
4444
"size": 51,
45-
"text": "{\"external_id\":\"240b016c46fe4ceb95ac0232da138c88\"}\n"
45+
"text": "{\"external_id\":\"9668e281c0ef4cc8be01710ef7a0ae4c\"}\n"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2023-10-30T20:37:07.214Z",
61-
"time": 1013
60+
"startedDateTime": "2023-11-13T14:17:01.302Z",
61+
"time": 1169
6262
},
6363
{
64-
"_id": "7b99dc51b31a17819c7092e92dc505be",
64+
"_id": "f88366bd5b70614a86ac275fdf744321",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -79,13 +79,13 @@
7979
"value": "application/json"
8080
}
8181
],
82-
"headersSize": 566,
82+
"headersSize": 567,
8383
"httpVersion": "HTTP/1.1",
8484
"method": "DELETE",
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"account_id\":\"123456789012\",\"role_name\":\"DatadogAWSIntegrationRole\"}"
88+
"text": "{\"account_id\":\"169988502100\",\"role_name\":\"DatadogAWSIntegrationRole\"}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v1/integration/aws"
@@ -110,8 +110,8 @@
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2023-10-30T20:37:08.242Z",
114-
"time": 865
113+
"startedDateTime": "2023-11-13T14:17:02.482Z",
114+
"time": 745
115115
}
116116
],
117117
"pages": [],

examples/v1/aws-integration/CreateAWSAccount.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const apiInstance = new v1.AWSIntegrationApi(configuration);
99

1010
const params: v1.AWSIntegrationApiCreateAWSAccountRequest = {
1111
body: {
12-
accountId: "123456789012",
12+
accountId: "163662907100",
1313
accountSpecificNamespaceRules: {
1414
auto_scaling: false,
1515
},

features/v1/aws_integration.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Feature: AWS Integration
2626
@team:DataDog/cloud-integrations
2727
Scenario: Create an AWS integration returns "OK" response
2828
Given new "CreateAWSAccount" request
29-
And body with value {"account_id": "123456789012", "account_specific_namespace_rules": {"auto_scaling": false}, "cspm_resource_collection_enabled": true, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["$KEY:$VALUE"], "host_tags": ["$KEY:$VALUE"], "metrics_collection_enabled": false, "resource_collection_enabled": true, "role_name": "DatadogAWSIntegrationRole"}
29+
And body with value {"account_id": "{{ timestamp("now") }}00", "account_specific_namespace_rules": {"auto_scaling": false}, "cspm_resource_collection_enabled": true, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["$KEY:$VALUE"], "host_tags": ["$KEY:$VALUE"], "metrics_collection_enabled": false, "resource_collection_enabled": true, "role_name": "DatadogAWSIntegrationRole"}
3030
When the request is sent
3131
Then the response status is 200 OK
3232

0 commit comments

Comments
 (0)