Skip to content

Commit 32d5461

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
[OnCall] replacing connection name with unique name (#2118)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 639c770 commit 32d5461

File tree

26 files changed

+216
-96
lines changed

26 files changed

+216
-96
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": "2025-04-04 12:49:22.173547",
8-
"spec_repo_commit": "73e22797"
7+
"regenerated": "2025-04-04 16:55:46.717722",
8+
"spec_repo_commit": "da94868e"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-04 12:49:22.189001",
13-
"spec_repo_commit": "73e22797"
12+
"regenerated": "2025-04-04 16:55:46.737948",
13+
"spec_repo_commit": "da94868e"
1414
}
1515
}
1616
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:35.383Z"
1+
"2025-03-26T20:24:59.622Z"

cassettes/v2/Action-Connection_2186802177/Create-a-new-Action-Connection-returns-Bad-Request-response_1450134238/recording.har

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 574,
29+
"headersSize": 576,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
@@ -51,14 +51,14 @@
5151
"value": "application/vnd.api+json"
5252
}
5353
],
54-
"headersSize": 666,
54+
"headersSize": 665,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 400,
5858
"statusText": "Bad Request"
5959
},
60-
"startedDateTime": "2025-01-06T22:02:35.391Z",
61-
"time": 195
60+
"startedDateTime": "2025-03-26T20:24:59.626Z",
61+
"time": 94
6262
}
6363
],
6464
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:35.598Z"
1+
"2025-03-26T20:24:59.727Z"

cassettes/v2/Action-Connection_2186802177/Create-a-new-Action-Connection-returns-Successfully-created-Action-Connection-response_1033790161/recording.har

+15-15
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "143d1c356301e638823fd266922b4a2b",
11+
"_id": "04556392bb7b98edb374d36633910050",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 210,
15+
"bodySize": 291,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -26,23 +26,23 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 574,
29+
"headersSize": 576,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection DELETE_ME\"},\"type\":\"action_connection\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection testcreateanewactionconnectionreturnssuccessfullycreatedactionconnectionresponse1743020699\"},\"type\":\"action_connection\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/actions/connections"
3939
},
4040
"response": {
41-
"bodySize": 333,
41+
"bodySize": 491,
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
44-
"size": 333,
45-
"text": "{\"data\":{\"id\":\"db41b6cb-ef93-45bd-9857-548e9474737c\",\"type\":\"action_connection\",\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRoleUpdated\",\"external_id\":\"c6f62d439f14423b963e4dd4246af4a7\",\"principal_id\":\"464622532012\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection DELETE_ME\"}}}"
44+
"size": 491,
45+
"text": "{\"data\":{\"id\":\"67aa2f61-266d-48d1-a1ee-cf7c3acc6b20\",\"type\":\"action_connection\",\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"external_id\":\"70f4660c99684420821b0c13a67eb4d1\",\"principal_id\":\"464622532012\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection testcreateanewactionconnectionreturnssuccessfullycreatedactionconnectionresponse1743020699\"}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/vnd.api+json"
5252
}
5353
],
54-
"headersSize": 666,
54+
"headersSize": 665,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2025-01-06T22:02:35.602Z",
61-
"time": 599
60+
"startedDateTime": "2025-03-26T20:24:59.729Z",
61+
"time": 482
6262
},
6363
{
64-
"_id": "bf4a679205b2404713abb319f5aac56c",
64+
"_id": "7561c857b4791fb9a51718620d730ba3",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -74,11 +74,11 @@
7474
"value": "*/*"
7575
}
7676
],
77-
"headersSize": 547,
77+
"headersSize": 549,
7878
"httpVersion": "HTTP/1.1",
7979
"method": "DELETE",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v2/actions/connections/db41b6cb-ef93-45bd-9857-548e9474737c"
81+
"url": "https://api.datadoghq.com/api/v2/actions/connections/67aa2f61-266d-48d1-a1ee-cf7c3acc6b20"
8282
},
8383
"response": {
8484
"bodySize": 0,
@@ -94,8 +94,8 @@
9494
"status": 204,
9595
"statusText": "No Content"
9696
},
97-
"startedDateTime": "2025-01-06T22:02:36.212Z",
98-
"time": 245
97+
"startedDateTime": "2025-03-26T20:25:00.218Z",
98+
"time": 88
9999
}
100100
],
101101
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:36.467Z"
1+
"2025-03-26T20:25:00.311Z"

cassettes/v2/Action-Connection_2186802177/Delete-an-existing-Action-Connection-returns-Not-Found-response_1976734023/recording.har

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"value": "*/*"
2222
}
2323
],
24-
"headersSize": 547,
24+
"headersSize": 549,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "DELETE",
2727
"queryString": [],
@@ -47,8 +47,8 @@
4747
"status": 404,
4848
"statusText": "Not Found"
4949
},
50-
"startedDateTime": "2025-01-06T22:02:36.471Z",
51-
"time": 154
50+
"startedDateTime": "2025-03-26T20:25:00.315Z",
51+
"time": 134
5252
}
5353
],
5454
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-03-26T20:25:00.458Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
{
2+
"log": {
3+
"_recordingName": "Action Connection/Delete an existing Action Connection returns \"The resource was deleted successfully.\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "d622b652bd44a22d15272fe726a42d5a",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 288,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 576,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRole\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection testdeleteanexistingactionconnectionreturnstheresourcewasdeletedsuccessfullyresponse1743020700\"},\"type\":\"action_connection\"}}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v2/actions/connections"
39+
},
40+
"response": {
41+
"bodySize": 488,
42+
"content": {
43+
"mimeType": "application/vnd.api+json",
44+
"size": 488,
45+
"text": "{\"data\":{\"id\":\"c3c3d83b-c495-4c1b-bb1d-592825d21db0\",\"type\":\"action_connection\",\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"external_id\":\"6183670d1ceb4278808cf2df9aa03a07\",\"principal_id\":\"464622532012\",\"role\":\"MyRole\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection testdeleteanexistingactionconnectionreturnstheresourcewasdeletedsuccessfullyresponse1743020700\"}}}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/vnd.api+json"
52+
}
53+
],
54+
"headersSize": 666,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 201,
58+
"statusText": "Created"
59+
},
60+
"startedDateTime": "2025-03-26T20:25:00.463Z",
61+
"time": 494
62+
},
63+
{
64+
"_id": "67294d8d49a4c8c6e910111ce63e8aeb",
65+
"_order": 0,
66+
"cache": {},
67+
"request": {
68+
"bodySize": 0,
69+
"cookies": [],
70+
"headers": [
71+
{
72+
"_fromType": "array",
73+
"name": "accept",
74+
"value": "*/*"
75+
}
76+
],
77+
"headersSize": 549,
78+
"httpVersion": "HTTP/1.1",
79+
"method": "DELETE",
80+
"queryString": [],
81+
"url": "https://api.datadoghq.com/api/v2/actions/connections/c3c3d83b-c495-4c1b-bb1d-592825d21db0"
82+
},
83+
"response": {
84+
"bodySize": 0,
85+
"content": {
86+
"mimeType": "text/plain",
87+
"size": 0
88+
},
89+
"cookies": [],
90+
"headers": [],
91+
"headersSize": 605,
92+
"httpVersion": "HTTP/1.1",
93+
"redirectURL": "",
94+
"status": 204,
95+
"statusText": "No Content"
96+
},
97+
"startedDateTime": "2025-03-26T20:25:00.964Z",
98+
"time": 84
99+
},
100+
{
101+
"_id": "67294d8d49a4c8c6e910111ce63e8aeb",
102+
"_order": 1,
103+
"cache": {},
104+
"request": {
105+
"bodySize": 0,
106+
"cookies": [],
107+
"headers": [
108+
{
109+
"_fromType": "array",
110+
"name": "accept",
111+
"value": "*/*"
112+
}
113+
],
114+
"headersSize": 549,
115+
"httpVersion": "HTTP/1.1",
116+
"method": "DELETE",
117+
"queryString": [],
118+
"url": "https://api.datadoghq.com/api/v2/actions/connections/c3c3d83b-c495-4c1b-bb1d-592825d21db0"
119+
},
120+
"response": {
121+
"bodySize": 131,
122+
"content": {
123+
"mimeType": "application/vnd.api+json",
124+
"size": 131,
125+
"text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"error deleting connection: rpc error: code = NotFound desc = connection not found\"}]}"
126+
},
127+
"cookies": [],
128+
"headers": [
129+
{
130+
"name": "content-type",
131+
"value": "application/vnd.api+json"
132+
}
133+
],
134+
"headersSize": 666,
135+
"httpVersion": "HTTP/1.1",
136+
"redirectURL": "",
137+
"status": 404,
138+
"statusText": "Not Found"
139+
},
140+
"startedDateTime": "2025-03-26T20:25:01.055Z",
141+
"time": 87
142+
}
143+
],
144+
"pages": [],
145+
"version": "1.2"
146+
}
147+
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:37.403Z"
1+
"2025-03-26T20:25:01.150Z"

cassettes/v2/Action-Connection_2186802177/Get-an-existing-Action-Connection-returns-Bad-Request-response_416393223/recording.har

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"value": "application/json"
2222
}
2323
],
24-
"headersSize": 528,
24+
"headersSize": 530,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "GET",
2727
"queryString": [],
@@ -47,8 +47,8 @@
4747
"status": 400,
4848
"statusText": "Bad Request"
4949
},
50-
"startedDateTime": "2025-01-06T22:02:37.406Z",
51-
"time": 148
50+
"startedDateTime": "2025-03-26T20:25:01.155Z",
51+
"time": 82
5252
}
5353
],
5454
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:37.563Z"
1+
"2025-03-26T20:25:01.247Z"

cassettes/v2/Action-Connection_2186802177/Get-an-existing-Action-Connection-returns-Not-Found-response_2690146528/recording.har

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"value": "application/json"
2222
}
2323
],
24-
"headersSize": 554,
24+
"headersSize": 556,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "GET",
2727
"queryString": [],
@@ -47,8 +47,8 @@
4747
"status": 404,
4848
"statusText": "Not Found"
4949
},
50-
"startedDateTime": "2025-01-06T22:02:37.568Z",
51-
"time": 165
50+
"startedDateTime": "2025-03-26T20:25:01.252Z",
51+
"time": 135
5252
}
5353
],
5454
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:37.743Z"
1+
"2025-03-26T20:25:01.398Z"

cassettes/v2/Action-Connection_2186802177/Get-an-existing-Action-Connection-returns-Successfully-get-Action-Connection-response_3220569486/recording.har

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121
"value": "application/json"
2222
}
2323
],
24-
"headersSize": 554,
24+
"headersSize": 556,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "GET",
2727
"queryString": [],
2828
"url": "https://api.datadoghq.com/api/v2/actions/connections/cb460d51-3c88-4e87-adac-d47131d0423d"
2929
},
3030
"response": {
31-
"bodySize": 323,
31+
"bodySize": 567,
3232
"content": {
3333
"mimeType": "application/vnd.api+json",
34-
"size": 323,
35-
"text": "{\"data\":{\"id\":\"cb460d51-3c88-4e87-adac-d47131d0423d\",\"type\":\"action_connection\",\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRoleUpdated\",\"external_id\":\"909b33b1242748cfbef42f20011e2fa0\",\"principal_id\":\"464622532012\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection\"}}}"
34+
"size": 567,
35+
"text": "{\"data\":{\"id\":\"cb460d51-3c88-4e87-adac-d47131d0423d\",\"type\":\"action_connection\",\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"external_id\":\"909b33b1242748cfbef42f20011e2fa0\",\"principal_id\":\"464622532012\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection\"}}}"
3636
},
3737
"cookies": [],
3838
"headers": [
@@ -47,8 +47,8 @@
4747
"status": 200,
4848
"statusText": "OK"
4949
},
50-
"startedDateTime": "2025-01-06T22:02:37.748Z",
51-
"time": 242
50+
"startedDateTime": "2025-03-26T20:25:01.401Z",
51+
"time": 106
5252
}
5353
],
5454
"pages": [],

0 commit comments

Comments
 (0)