Skip to content

Commit

Permalink
Regenerate client from commit a98c9e87 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 11, 2024
1 parent 0751edf commit 338dff2
Show file tree
Hide file tree
Showing 13 changed files with 63,561 additions and 45,716 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-11 17:26:39.551962",
"spec_repo_commit": "9de1804a"
"regenerated": "2024-11-11 20:33:08.853629",
"spec_repo_commit": "a98c9e87"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-11 17:26:47.435208",
"spec_repo_commit": "9de1804a"
"regenerated": "2024-11-11 20:33:17.015719",
"spec_repo_commit": "a98c9e87"
}
}
}
50 changes: 44 additions & 6 deletions config/_default/menus/api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,32 @@ menu:
url: /api/latest/aws-integration/
identifier: aws-integration
generated: true
- name: List available namespaces
url: '#list-available-namespaces'
identifier: aws-integration-list-available-namespaces
parent: aws-integration
generated: true
params:
versions:
- v2
operationids:
- ListAWSNamespaces
unstable:
- v2
order: 1
- name: Get an AWS integration by config ID
url: '#get-an-aws-integration-by-config-id'
identifier: aws-integration-get-an-aws-integration-by-config-id
parent: aws-integration
generated: true
params:
versions:
- v2
operationids:
- GetAWSAccount
unstable:
- v2
order: 3
- name: Generate a new external ID
url: '#generate-a-new-external-id'
identifier: aws-integration-generate-a-new-external-id
Expand All @@ -30,9 +56,11 @@ menu:
params:
versions:
- v1
- v2
operationids:
- CreateNewAWSExternalID
unstable: []
unstable:
- v2
order: 4
- name: Set an AWS tag filter
url: '#set-an-aws-tag-filter'
Expand Down Expand Up @@ -126,9 +154,11 @@ menu:
params:
versions:
- v1
- v2
operationids:
- UpdateAWSAccount
unstable: []
unstable:
- v2
order: 9
- name: Create an AWS integration
url: '#create-an-aws-integration'
Expand All @@ -138,9 +168,11 @@ menu:
params:
versions:
- v1
- v2
operationids:
- CreateAWSAccount
unstable: []
unstable:
- v2
order: 8
- name: List all AWS integrations
url: '#list-all-aws-integrations'
Expand All @@ -150,9 +182,11 @@ menu:
params:
versions:
- v1
- v2
operationids:
- ListAWSAccounts
unstable: []
unstable:
- v2
order: 6
- name: Delete an AWS integration
url: '#delete-an-aws-integration'
Expand All @@ -162,9 +196,11 @@ menu:
params:
versions:
- v1
- v2
operationids:
- DeleteAWSAccount
unstable: []
unstable:
- v2
order: 7
- name: AWS Logs Integration
url: /api/latest/aws-logs-integration/
Expand Down Expand Up @@ -202,9 +238,11 @@ menu:
params:
versions:
- v1
- v2
operationids:
- ListAWSLogsServices
unstable: []
unstable:
- v2
order: 4
- name: Check that an AWS Lambda Function exists
url: '#check-that-an-aws-lambda-function-exists'
Expand Down
639 changes: 638 additions & 1 deletion content/en/api/v2/aws-integration/examples.json

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions content/en/api/v2/aws-integration/request.CreateAWSAccount.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"data": {
"attributes": {
"account_tags": [
"key:value"
],
"auth_config": {
"access_key_id": "AKIAIOSFODNN7EXAMPLE",
"secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
},
"aws_account_id": "123456789012",
"aws_partition": "aws",
"logs_config": {
"lambda_forwarder": {
"lambdas": [
"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
],
"sources": [
"s3"
]
}
},
"metrics_config": {
"automute_enabled": true,
"collect_cloudwatch_alarms": true,
"collect_custom_metrics": true,
"enabled": true,
"tag_filters": [
{
"namespace": "AWS/EC2",
"tags": [
"key:value"
]
}
]
},
"resources_config": {
"cloud_security_posture_management_collection": false,
"extended_collection": false
},
"traces_config": {}
},
"type": "account"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"data": {
"attributes": {
"account_tags": [
"key:value"
],
"auth_config": {
"role_name": "DatadogIntegrationRole"
},
"aws_account_id": "123456789012",
"aws_partition": "aws",
"logs_config": {
"lambda_forwarder": {
"lambdas": [
"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
],
"sources": [
"s3"
]
}
},
"metrics_config": {
"automute_enabled": true,
"collect_cloudwatch_alarms": true,
"collect_custom_metrics": true,
"enabled": true,
"tag_filters": [
{
"namespace": "AWS/EC2",
"tags": [
"key:value"
]
}
]
},
"resources_config": {
"cloud_security_posture_management_collection": false,
"extended_collection": false
},
"traces_config": {}
},
"type": "account"
}
}
44 changes: 44 additions & 0 deletions content/en/api/v2/aws-integration/request.UpdateAWSAccount.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"data": {
"attributes": {
"account_tags": [
"key:value"
],
"auth_config": {
"role_name": "DatadogIntegrationRole"
},
"aws_account_id": "123456789012",
"aws_partition": "aws",
"logs_config": {
"lambda_forwarder": {
"lambdas": [
"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
],
"sources": [
"s3"
]
}
},
"metrics_config": {
"automute_enabled": true,
"collect_cloudwatch_alarms": true,
"collect_custom_metrics": true,
"enabled": true,
"tag_filters": [
{
"namespace": "AWS/EC2",
"tags": [
"key:value"
]
}
]
},
"resources_config": {
"cloud_security_posture_management_collection": false,
"extended_collection": false
},
"traces_config": {}
},
"type": "account"
}
}
42 changes: 41 additions & 1 deletion content/en/api/v2/aws-logs-integration/examples.json
Original file line number Diff line number Diff line change
@@ -1 +1,41 @@
{}
{
"ListAWSLogsServices": {
"responses": {
"200": {
"json": {
"data": {
"attributes": {
"logs_services": [
"s3"
]
},
"id": "logs_services",
"type": "logs_services"
}
},
"html": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> data&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"><p>AWS Logs Services response body</p></div>\n </div>\n <div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> attributes</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"><p>AWS Logs Services response body</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">logs_services&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>List of AWS services that can send logs to Datadog</p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">id&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>The <code>AWSLogsServicesResponseData</code> <code>id</code>.</p><p>default: <code>logs_services</code></p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">type&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>enum</p></div>\n <div class=\"col-6 column\"><p>The <code>AWSLogsServicesResponseData</code> <code>type</code>. \nAllowed enum values: <code>logs_services</code></p><p>default: <code>logs_services</code></p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
},
"403": {
"json": {
"errors": [
"Bad Request"
]
},
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">errors&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of errors.</p></div>\n </div>\n \n </div>\n </div></div>"
},
"429": {
"json": {
"errors": [
"Bad Request"
]
},
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">errors&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of errors.</p></div>\n </div>\n \n </div>\n </div></div>"
}
},
"request": {
"json_curl": {},
"json": {},
"html": ""
}
}
}
19 changes: 19 additions & 0 deletions data/api/v2/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,25 @@
"description": "Update a retention filter returns \"OK\" response"
}
],
"CreateAWSAccount": [
{
"group": "aws_integration",
"suffix": "_1716720881",
"description": "Create an AWS account returns \"AWS Account object\" response"
},
{
"group": "aws_integration",
"suffix": "",
"description": "Create an AWS integration returns \"AWS Account object\" response"
}
],
"UpdateAWSAccount": [
{
"group": "aws_integration",
"suffix": "",
"description": "Update an AWS integration returns \"AWS Account object\" response"
}
],
"SearchAuditLogs": [
{
"group": "audit",
Expand Down
Loading

0 comments on commit 338dff2

Please sign in to comment.