-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable delete and update aws tests (#1431)
* Regenerate client from commit bfa2e051 of spec repo * Support undo of given * Regenerate client from commit 07df9ec5 of spec repo --------- Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: HantingZhang2 <[email protected]>
- Loading branch information
1 parent
f2a2dd5
commit 47205a4
Showing
10 changed files
with
338 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...tegration_2071210100/Delete-an-AWS-integration-returns-OK-response_3815706596/frozen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"2023-11-21T19:25:15.118Z" |
173 changes: 173 additions & 0 deletions
173
...gration_2071210100/Delete-an-AWS-integration-returns-OK-response_3815706596/recording.har
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
{ | ||
"log": { | ||
"_recordingName": "AWS Integration/Delete an AWS integration returns \"OK\" response", | ||
"creator": { | ||
"comment": "persister:fs", | ||
"name": "Polly.JS", | ||
"version": "6.0.5" | ||
}, | ||
"entries": [ | ||
{ | ||
"_id": "bb29ad65cdffba55412405b976907dc1", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 340, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"_fromType": "array", | ||
"name": "accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "content-type", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 566, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "POST", | ||
"postData": { | ||
"mimeType": "application/json", | ||
"params": [], | ||
"text": "{\"account_id\":\"170059471500\",\"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\"}" | ||
}, | ||
"queryString": [], | ||
"url": "https://api.datadoghq.com/api/v1/integration/aws" | ||
}, | ||
"response": { | ||
"bodySize": 51, | ||
"content": { | ||
"mimeType": "application/json", | ||
"size": 51, | ||
"text": "{\"external_id\":\"77c77ead62584b0fa1bb6a9fe7d2fa28\"}\n" | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-type", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 516, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 200, | ||
"statusText": "OK" | ||
}, | ||
"startedDateTime": "2023-11-21T19:25:15.135Z", | ||
"time": 1335 | ||
}, | ||
{ | ||
"_id": "c922634dc5c2ad1983b0cbb0aad81180", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 69, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"_fromType": "array", | ||
"name": "accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "content-type", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 567, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "DELETE", | ||
"postData": { | ||
"mimeType": "application/json", | ||
"params": [], | ||
"text": "{\"account_id\":\"170059471500\",\"role_name\":\"DatadogAWSIntegrationRole\"}" | ||
}, | ||
"queryString": [], | ||
"url": "https://api.datadoghq.com/api/v1/integration/aws" | ||
}, | ||
"response": { | ||
"bodySize": 3, | ||
"content": { | ||
"mimeType": "application/json", | ||
"size": 3, | ||
"text": "{}\n" | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-type", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 492, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 200, | ||
"statusText": "OK" | ||
}, | ||
"startedDateTime": "2023-11-21T19:25:16.482Z", | ||
"time": 1225 | ||
}, | ||
{ | ||
"_id": "c922634dc5c2ad1983b0cbb0aad81180", | ||
"_order": 1, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 69, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"_fromType": "array", | ||
"name": "accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "content-type", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 567, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "DELETE", | ||
"postData": { | ||
"mimeType": "application/json", | ||
"params": [], | ||
"text": "{\"account_id\":\"170059471500\",\"role_name\":\"DatadogAWSIntegrationRole\"}" | ||
}, | ||
"queryString": [], | ||
"url": "https://api.datadoghq.com/api/v1/integration/aws" | ||
}, | ||
"response": { | ||
"bodySize": 69, | ||
"content": { | ||
"mimeType": "application/json", | ||
"size": 69, | ||
"text": "{\"errors\":[\"AWS account 170059471500 does not exist in integration\"]}" | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-type", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 516, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 400, | ||
"statusText": "Bad Request" | ||
}, | ||
"startedDateTime": "2023-11-21T19:25:17.719Z", | ||
"time": 646 | ||
} | ||
], | ||
"pages": [], | ||
"version": "1.2" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...ntegration_2071210100/Update-an-AWS-integration-returns-OK-response_598706190/frozen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"2022-05-17T15:38:07.190Z" | ||
"2023-11-23T18:16:16.323Z" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.