Skip to content

Commit 4554790

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 54a444d of spec repo
1 parent 364508a commit 4554790

File tree

11 files changed

+426
-0
lines changed

11 files changed

+426
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57295,6 +57295,39 @@ paths:
5729557295
summary: Get AWS integration IAM permissions
5729657296
tags:
5729757297
- AWS Integration
57298+
/api/v2/integration/aws/iam_permissions/resource_collection:
57299+
get:
57300+
description: Get all resource collection AWS IAM permissions required for the
57301+
AWS integration.
57302+
operationId: GetAWSIntegrationIAMPermissionsResourceCollection
57303+
responses:
57304+
'200':
57305+
content:
57306+
application/json:
57307+
schema:
57308+
$ref: '#/components/schemas/AWSIntegrationIamPermissionsResponse'
57309+
description: AWS IAM Permissions object
57310+
'429':
57311+
$ref: '#/components/responses/TooManyRequestsResponse'
57312+
summary: Get resource collection IAM permissions
57313+
tags:
57314+
- AWS Integration
57315+
/api/v2/integration/aws/iam_permissions/standard:
57316+
get:
57317+
description: Get all standard AWS IAM permissions required for the AWS integration.
57318+
operationId: GetAWSIntegrationIAMPermissionsStandard
57319+
responses:
57320+
'200':
57321+
content:
57322+
application/json:
57323+
schema:
57324+
$ref: '#/components/schemas/AWSIntegrationIamPermissionsResponse'
57325+
description: AWS IAM Permissions object
57326+
'429':
57327+
$ref: '#/components/responses/TooManyRequestsResponse'
57328+
summary: Get AWS integration standard IAM permissions
57329+
tags:
57330+
- AWS Integration
5729857331
/api/v2/integration/aws/logs/services:
5729957332
get:
5730057333
description: Get a list of AWS services that can send logs to Datadog.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-09-17T18:27:22.560Z"
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"log": {
3+
"_recordingName": "AWS Integration/Get AWS integration standard IAM permissions returns \"AWS IAM Permissions object\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "2b3cccad5c2d275b807cf9b05ceea232",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 560,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v2/integration/aws/iam_permissions/standard"
29+
},
30+
"response": {
31+
"bodySize": 2696,
32+
"content": {
33+
"mimeType": "application/vnd.api+json",
34+
"size": 2696,
35+
"text": "{\"data\":{\"id\":\"permissions\",\"type\":\"permissions\",\"attributes\":{\"permissions\":[\"account:GetAccountInformation\",\"airflow:GetEnvironment\",\"airflow:ListEnvironments\",\"apigateway:GET\",\"appsync:ListGraphqlApis\",\"autoscaling:Describe*\",\"backup:List*\",\"batch:DescribeJobDefinitions\",\"bcm-data-exports:GetExport\",\"bcm-data-exports:ListExports\",\"budgets:ViewBudget\",\"cloudfront:GetDistributionConfig\",\"cloudfront:ListDistributions\",\"cloudtrail:DescribeTrails\",\"cloudtrail:GetTrail\",\"cloudtrail:GetTrailStatus\",\"cloudtrail:ListTrails\",\"cloudtrail:LookupEvents\",\"cloudwatch:Describe*\",\"cloudwatch:Get*\",\"cloudwatch:List*\",\"codebuild:BatchGetProjects\",\"codebuild:ListProjects\",\"codedeploy:BatchGet*\",\"codedeploy:List*\",\"cur:DescribeReportDefinitions\",\"directconnect:Describe*\",\"dms:DescribeReplicationInstances\",\"dynamodb:Describe*\",\"dynamodb:List*\",\"ec2:Describe*\",\"ecs:Describe*\",\"ecs:List*\",\"eks:DescribeCluster\",\"eks:ListClusters\",\"elasticache:Describe*\",\"elasticache:List*\",\"elasticfilesystem:DescribeAccessPoints\",\"elasticfilesystem:DescribeFileSystems\",\"elasticfilesystem:DescribeTags\",\"elasticloadbalancing:Describe*\",\"elasticmapreduce:Describe*\",\"elasticmapreduce:List*\",\"es:DescribeElasticsearchDomains\",\"es:ListDomainNames\",\"es:ListTags\",\"events:CreateEventBus\",\"fsx:DescribeFileSystems\",\"fsx:ListTagsForResource\",\"health:DescribeAffectedEntities\",\"health:DescribeEventDetails\",\"health:DescribeEvents\",\"iam:ListAccountAliases\",\"kinesis:Describe*\",\"kinesis:List*\",\"lambda:List*\",\"logs:DeleteSubscriptionFilter\",\"logs:DescribeDeliveries\",\"logs:DescribeDeliverySources\",\"logs:DescribeLogGroups\",\"logs:DescribeLogStreams\",\"logs:DescribeSubscriptionFilters\",\"logs:FilterLogEvents\",\"logs:GetDeliveryDestination\",\"logs:PutSubscriptionFilter\",\"logs:TestMetricFilter\",\"network-firewall:DescribeLoggingConfiguration\",\"network-firewall:ListFirewalls\",\"oam:ListAttachedLinks\",\"oam:ListSinks\",\"organizations:Describe*\",\"organizations:List*\",\"rds:Describe*\",\"rds:List*\",\"redshift-serverless:ListNamespaces\",\"redshift:DescribeClusters\",\"redshift:DescribeLoggingStatus\",\"route53:List*\",\"route53resolver:ListResolverQueryLogConfigs\",\"s3:GetBucketLocation\",\"s3:GetBucketLogging\",\"s3:GetBucketNotification\",\"s3:GetBucketTagging\",\"s3:ListAllMyBuckets\",\"s3:PutBucketNotification\",\"ses:Get*\",\"ses:List*\",\"sns:GetSubscriptionAttributes\",\"sns:List*\",\"sns:Publish\",\"sqs:ListQueues\",\"ssm:GetServiceSetting\",\"ssm:ListCommands\",\"states:DescribeStateMachine\",\"states:ListStateMachines\",\"support:DescribeTrustedAdvisor*\",\"support:RefreshTrustedAdvisorCheck\",\"tag:GetResources\",\"tag:GetTagKeys\",\"tag:GetTagValues\",\"timestream:DescribeEndpoints\",\"wafv2:ListLoggingConfigurations\",\"xray:BatchGetTraces\",\"xray:GetTraceSummaries\"]}}}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/vnd.api+json"
42+
}
43+
],
44+
"headersSize": 526,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 200,
48+
"statusText": "OK"
49+
},
50+
"startedDateTime": "2025-09-17T18:27:22.790Z",
51+
"time": 88
52+
}
53+
],
54+
"pages": [],
55+
"version": "1.2"
56+
}
57+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-09-17T18:27:22.885Z"

cassettes/v2/AWS-Integration_2071210100/Get-resource-collection-IAM-permissions-returns-AWS-IAM-Permissions-object-response_260611785/recording.har

Lines changed: 57 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Get resource collection IAM permissions returns "AWS IAM Permissions object" response
3+
*/
4+
5+
import { client, v2 } from "@datadog/datadog-api-client";
6+
7+
const configuration = client.createConfiguration();
8+
const apiInstance = new v2.AWSIntegrationApi(configuration);
9+
10+
apiInstance
11+
.getAWSIntegrationIAMPermissionsResourceCollection()
12+
.then((data: v2.AWSIntegrationIamPermissionsResponse) => {
13+
console.log(
14+
"API called successfully. Returned data: " + JSON.stringify(data)
15+
);
16+
})
17+
.catch((error: any) => console.error(error));
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Get AWS integration standard IAM permissions returns "AWS IAM Permissions object" response
3+
*/
4+
5+
import { client, v2 } from "@datadog/datadog-api-client";
6+
7+
const configuration = client.createConfiguration();
8+
const apiInstance = new v2.AWSIntegrationApi(configuration);
9+
10+
apiInstance
11+
.getAWSIntegrationIAMPermissionsStandard()
12+
.then((data: v2.AWSIntegrationIamPermissionsResponse) => {
13+
console.log(
14+
"API called successfully. Returned data: " + JSON.stringify(data)
15+
);
16+
})
17+
.catch((error: any) => console.error(error));

features/support/scenarios_model_mapping.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5534,6 +5534,12 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = {
55345534
"v2.GetAWSIntegrationIAMPermissions": {
55355535
"operationResponseType": "AWSIntegrationIamPermissionsResponse",
55365536
},
5537+
"v2.GetAWSIntegrationIAMPermissionsResourceCollection": {
5538+
"operationResponseType": "AWSIntegrationIamPermissionsResponse",
5539+
},
5540+
"v2.GetAWSIntegrationIAMPermissionsStandard": {
5541+
"operationResponseType": "AWSIntegrationIamPermissionsResponse",
5542+
},
55375543
"v2.ListAWSLogsServices": {
55385544
"operationResponseType": "AWSLogsServicesResponse",
55395545
},

features/v2/aws_integration.feature

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ Feature: AWS Integration
7979
When the request is sent
8080
Then the response status is 200 AWS IAM Permissions object
8181

82+
@team:DataDog/aws-integrations
83+
Scenario: Get AWS integration standard IAM permissions returns "AWS IAM Permissions object" response
84+
Given new "GetAWSIntegrationIAMPermissionsStandard" request
85+
When the request is sent
86+
Then the response status is 200 AWS IAM Permissions object
87+
8288
@team:DataDog/aws-integrations
8389
Scenario: Get an AWS integration by config ID returns "AWS Account object" response
8490
Given there is a valid "aws_account_v2" in the system
@@ -101,6 +107,12 @@ Feature: AWS Integration
101107
When the request is sent
102108
Then the response status is 404 Not Found
103109

110+
@team:DataDog/aws-integrations
111+
Scenario: Get resource collection IAM permissions returns "AWS IAM Permissions object" response
112+
Given new "GetAWSIntegrationIAMPermissionsResourceCollection" request
113+
When the request is sent
114+
Then the response status is 200 AWS IAM Permissions object
115+
104116
@team:DataDog/aws-integrations
105117
Scenario: List all AWS integrations returns "AWS Accounts List object" response
106118
Given new "ListAWSAccounts" request

features/v2/undo.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,18 @@
14631463
"type": "safe"
14641464
}
14651465
},
1466+
"GetAWSIntegrationIAMPermissionsResourceCollection": {
1467+
"tag": "AWS Integration",
1468+
"undo": {
1469+
"type": "safe"
1470+
}
1471+
},
1472+
"GetAWSIntegrationIAMPermissionsStandard": {
1473+
"tag": "AWS Integration",
1474+
"undo": {
1475+
"type": "safe"
1476+
}
1477+
},
14661478
"ListAWSLogsServices": {
14671479
"tag": "AWS Logs Integration",
14681480
"undo": {

0 commit comments

Comments
 (0)