From a04aa262213844e9d492537cdf8cb2043580f7c3 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 24 Jan 2025 18:37:14 +0000 Subject: [PATCH] Regenerate client from commit 9120bb44 of spec repo --- .apigentools-info | 8 +-- .generator/schemas/v2/openapi.yaml | 68 +++++++++++-------- .../CreateActionConnection.ts | 12 ++-- .../CreateActionConnection_2600083647.ts | 36 ++++++++++ .../action-connection/GetActionConnection.ts | 4 +- .../GetActionConnection_2273648770.ts | 21 ++++++ .../UpdateActionConnection.ts | 14 ++-- .../UpdateActionConnection_2280399724.ts | 37 ++++++++++ features/v2/action_connection.feature | 63 +++++++++++------ .../apis/ActionConnectionApi.ts | 14 ++-- .../models/AWSAssumeRole.ts | 8 +-- .../models/AWSAssumeRoleUpdate.ts | 2 +- .../models/ActionConnectionAttributes.ts | 2 +- .../ActionConnectionAttributesUpdate.ts | 2 +- .../models/ActionConnectionData.ts | 2 +- .../models/CreateActionConnectionRequest.ts | 2 +- .../models/CreateActionConnectionResponse.ts | 2 +- .../models/GetActionConnectionResponse.ts | 2 +- .../models/HTTPIntegration.ts | 2 +- .../models/HTTPIntegrationUpdate.ts | 2 +- .../models/UpdateActionConnectionRequest.ts | 2 +- 21 files changed, 219 insertions(+), 86 deletions(-) create mode 100644 examples/v2/action-connection/CreateActionConnection_2600083647.ts create mode 100644 examples/v2/action-connection/GetActionConnection_2273648770.ts create mode 100644 examples/v2/action-connection/UpdateActionConnection_2280399724.ts diff --git a/.apigentools-info b/.apigentools-info index a054ee5316e5..94bbeb318c7d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-23 22:24:31.833954", - "spec_repo_commit": "6a31fa8c" + "regenerated": "2025-01-24 18:35:45.415650", + "spec_repo_commit": "9120bb44" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-23 22:24:31.849626", - "spec_repo_commit": "6a31fa8c" + "regenerated": "2025-01-24 18:35:45.430988", + "spec_repo_commit": "9120bb44" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 1f5214bdc2aa..cdf67d3b28e1 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -207,7 +207,7 @@ components: schema: type: string ConnectionId: - description: The ID of the action connection + description: The ID of the Action Connection. in: path name: connection_id required: true @@ -1221,23 +1221,23 @@ components: description: The definition of `AWSAssumeRole` object. properties: account_id: - description: AWS account the connection is created for + description: AWS account the connection is created for. example: '111222333444' pattern: ^\d{12}$ type: string external_id: description: External ID used to scope which connection can be used to assume - the role + the role. example: 33a1011635c44b38a064cf14e82e1d8f readOnly: true type: string principal_id: - description: AWS account that will assume the role + description: AWS account that will assume the role. example: '123456789012' readOnly: true type: string role: - description: Role to assume + description: Role to assume. example: my-role type: string type: @@ -1259,7 +1259,7 @@ components: description: The definition of `AWSAssumeRoleUpdate` object. properties: account_id: - description: AWS account the connection is created for + description: AWS account the connection is created for. example: '111222333444' pattern: ^\d{12}$ type: string @@ -1669,7 +1669,7 @@ components: integration: $ref: '#/components/schemas/ActionConnectionIntegration' name: - description: Name of the connection + description: Name of the connection. example: My AWS Connection type: string required: @@ -1682,7 +1682,7 @@ components: integration: $ref: '#/components/schemas/ActionConnectionIntegrationUpdate' name: - description: Name of the connection + description: Name of the connection. example: My AWS Connection type: string type: object @@ -1692,7 +1692,7 @@ components: attributes: $ref: '#/components/schemas/ActionConnectionAttributes' id: - description: The connection identifier + description: The connection identifier. readOnly: true type: string type: @@ -7193,7 +7193,7 @@ components: x-enum-varnames: - COST_BY_ORG CreateActionConnectionRequest: - description: Request used to create an action connection. + description: Request used to create an Action Connection. properties: data: $ref: '#/components/schemas/ActionConnectionData' @@ -7201,7 +7201,7 @@ components: - data type: object CreateActionConnectionResponse: - description: The response for a created connection + description: The response for a created connection. properties: data: $ref: '#/components/schemas/ActionConnectionData' @@ -12428,7 +12428,7 @@ components: x-enum-varnames: - GCP_SERVICE_ACCOUNT GetActionConnectionResponse: - description: The response for found connection + description: The response for found connection. properties: data: $ref: '#/components/schemas/ActionConnectionData' @@ -12818,7 +12818,7 @@ components: description: The definition of `HTTPIntegration` object. properties: base_url: - description: Base HTTP url for the integration + description: Base HTTP url for the integration. example: http://datadoghq.com pattern: url type: string @@ -12843,7 +12843,7 @@ components: description: The definition of `HTTPIntegrationUpdate` object. properties: base_url: - description: Base HTTP url for the integration + description: Base HTTP url for the integration. example: http://datadoghq.com pattern: url type: string @@ -29362,7 +29362,7 @@ components: type: string type: object UpdateActionConnectionRequest: - description: Request used to update an action connection. + description: Request used to update an Action Connection. properties: data: $ref: '#/components/schemas/ActionConnectionDataUpdate' @@ -30918,7 +30918,7 @@ openapi: 3.0.0 paths: /api/v2/actions/connections: post: - description: Create a new Action Connection + description: Create a new Action Connection. operationId: CreateActionConnection requestBody: content: @@ -30932,7 +30932,7 @@ paths: application/json: schema: $ref: '#/components/schemas/CreateActionConnectionResponse' - description: Successfully created Action Connection + description: Successfully created an Action Connection. '400': content: application/json: @@ -30954,9 +30954,13 @@ paths: summary: Create a new Action Connection tags: - Action Connection + x-permission: + operator: OR + permissions: + - connection_read /api/v2/actions/connections/{connection_id}: delete: - description: Delete an existing Action Connection + description: Delete an existing Action Connection. operationId: DeleteActionConnection parameters: - $ref: '#/components/parameters/ConnectionId' @@ -30989,7 +30993,7 @@ paths: permissions: - connection_write get: - description: Get an existing Action Connection + description: Get an existing Action Connection. operationId: GetActionConnection parameters: - $ref: '#/components/parameters/ConnectionId' @@ -30999,7 +31003,7 @@ paths: application/json: schema: $ref: '#/components/schemas/GetActionConnectionResponse' - description: Successfully get Action Connection + description: Successfully got an Action Connection. '400': content: application/json: @@ -31027,6 +31031,10 @@ paths: summary: Get an existing Action Connection tags: - Action Connection + x-permission: + operator: OR + permissions: + - connection_read patch: description: Update an existing Action Connection operationId: UpdateActionConnection @@ -31037,7 +31045,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UpdateActionConnectionRequest' - description: Update an existing Action Connection request body + description: Update an existing Action Connection request body. required: true responses: '200': @@ -31045,7 +31053,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UpdateActionConnectionResponse' - description: Successfully updated Action Connection + description: Successfully updated an Action Connection. '400': content: application/json: @@ -31073,6 +31081,10 @@ paths: summary: Update an existing Action Connection tags: - Action Connection + x-permission: + operator: OR + permissions: + - connection_write /api/v2/agentless_scanning/accounts/aws: get: description: Fetches the scan options configured for AWS accounts. @@ -49080,13 +49092,15 @@ tags: externalDocs: url: https://docs.datadoghq.com/integrations/amazon_web_services/#log-collection name: AWS Logs Integration -- description: "Action connections extend your installed integrations and allow you - to take action in your third-party systems\n(e.g. AWS, GitLab, and Statuspage) - with Datadog\u2019s Workflow Automation and App Builder products.\n\nDatadog\u2019s +- description: "Action Connections extend your installed integrations and allow you + to take action in your third-party systems\n(e.g. AWS, GitLab, and OpenAI) with + Datadog\u2019s [Workflow Automation](https://docs.datadoghq.com/service_management/workflows/)\nand + [App Builder](https://docs.datadoghq.com/service_management/app_builder/) products.\n\nDatadog\u2019s Integrations automatically provide authentication for Slack, Microsoft Teams, - PagerDuty, Opsgenie,\nJIRA, GitHub, and Statuspage. You do not need additional + PagerDuty, Opsgenie,\nJira, GitHub, and Statuspage. You do not need additional connections in order to access these tools within\nWorkflow Automation and App - Builder.\n\nWe offer granular access control for editing and resolving connections." + Builder.\n\nWe offer granular access control for editing and resolving connections.\n\n**Note:** + The Action Connection API currently supports AWS and HTTP integrations." externalDocs: description: Find out more at url: https://docs.datadoghq.com/service_management/workflows/connections/ diff --git a/examples/v2/action-connection/CreateActionConnection.ts b/examples/v2/action-connection/CreateActionConnection.ts index 8d6a74944f97..39ee7b5aae4f 100644 --- a/examples/v2/action-connection/CreateActionConnection.ts +++ b/examples/v2/action-connection/CreateActionConnection.ts @@ -1,5 +1,5 @@ /** - * Create a new Action Connection returns "Successfully created Action Connection" response + * Create a new Action Connection returns "Successfully created an Action Connection." response */ import { client, v2 } from "@datadog/datadog-api-client"; @@ -10,18 +10,18 @@ const apiInstance = new v2.ActionConnectionApi(configuration); const params: v2.ActionConnectionApiCreateActionConnectionRequest = { body: { data: { - type: "action_connection", attributes: { - name: "Cassette Connection DELETE_ME", integration: { - type: "AWS", credentials: { + accountId: "111222333444", + role: "my-role", type: "AWSAssumeRole", - role: "MyRoleUpdated", - accountId: "123456789123", }, + type: "AWS", }, + name: "My AWS Connection", }, + type: "action_connection", }, }, }; diff --git a/examples/v2/action-connection/CreateActionConnection_2600083647.ts b/examples/v2/action-connection/CreateActionConnection_2600083647.ts new file mode 100644 index 000000000000..8d6a74944f97 --- /dev/null +++ b/examples/v2/action-connection/CreateActionConnection_2600083647.ts @@ -0,0 +1,36 @@ +/** + * Create a new Action Connection returns "Successfully created Action Connection" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.ActionConnectionApi(configuration); + +const params: v2.ActionConnectionApiCreateActionConnectionRequest = { + body: { + data: { + type: "action_connection", + attributes: { + name: "Cassette Connection DELETE_ME", + integration: { + type: "AWS", + credentials: { + type: "AWSAssumeRole", + role: "MyRoleUpdated", + accountId: "123456789123", + }, + }, + }, + }, + }, +}; + +apiInstance + .createActionConnection(params) + .then((data: v2.CreateActionConnectionResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/action-connection/GetActionConnection.ts b/examples/v2/action-connection/GetActionConnection.ts index 2643345d06e5..b8810f354fc0 100644 --- a/examples/v2/action-connection/GetActionConnection.ts +++ b/examples/v2/action-connection/GetActionConnection.ts @@ -1,5 +1,5 @@ /** - * Get an existing Action Connection returns "Successfully get Action Connection" response + * Get an existing Action Connection returns "Successfully got an Action Connection." response */ import { client, v2 } from "@datadog/datadog-api-client"; @@ -8,7 +8,7 @@ const configuration = client.createConfiguration(); const apiInstance = new v2.ActionConnectionApi(configuration); const params: v2.ActionConnectionApiGetActionConnectionRequest = { - connectionId: "cb460d51-3c88-4e87-adac-d47131d0423d", + connectionId: "connection_id", }; apiInstance diff --git a/examples/v2/action-connection/GetActionConnection_2273648770.ts b/examples/v2/action-connection/GetActionConnection_2273648770.ts new file mode 100644 index 000000000000..2643345d06e5 --- /dev/null +++ b/examples/v2/action-connection/GetActionConnection_2273648770.ts @@ -0,0 +1,21 @@ +/** + * Get an existing Action Connection returns "Successfully get Action Connection" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.ActionConnectionApi(configuration); + +const params: v2.ActionConnectionApiGetActionConnectionRequest = { + connectionId: "cb460d51-3c88-4e87-adac-d47131d0423d", +}; + +apiInstance + .getActionConnection(params) + .then((data: v2.GetActionConnectionResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/action-connection/UpdateActionConnection.ts b/examples/v2/action-connection/UpdateActionConnection.ts index c034f6834183..62c497964f4a 100644 --- a/examples/v2/action-connection/UpdateActionConnection.ts +++ b/examples/v2/action-connection/UpdateActionConnection.ts @@ -1,5 +1,5 @@ /** - * Update an existing Action Connection returns "Successfully updated Action Connection" response + * Update an existing Action Connection returns "Successfully updated an Action Connection." response */ import { client, v2 } from "@datadog/datadog-api-client"; @@ -10,21 +10,21 @@ const apiInstance = new v2.ActionConnectionApi(configuration); const params: v2.ActionConnectionApiUpdateActionConnectionRequest = { body: { data: { - type: "action_connection", attributes: { - name: "Cassette Connection", integration: { - type: "AWS", credentials: { + accountId: "111222333444", + role: "my-role", type: "AWSAssumeRole", - role: "MyRoleUpdated", - accountId: "123456789123", }, + type: "AWS", }, + name: "My AWS Connection", }, + type: "action_connection", }, }, - connectionId: "cb460d51-3c88-4e87-adac-d47131d0423d", + connectionId: "connection_id", }; apiInstance diff --git a/examples/v2/action-connection/UpdateActionConnection_2280399724.ts b/examples/v2/action-connection/UpdateActionConnection_2280399724.ts new file mode 100644 index 000000000000..c034f6834183 --- /dev/null +++ b/examples/v2/action-connection/UpdateActionConnection_2280399724.ts @@ -0,0 +1,37 @@ +/** + * Update an existing Action Connection returns "Successfully updated Action Connection" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.ActionConnectionApi(configuration); + +const params: v2.ActionConnectionApiUpdateActionConnectionRequest = { + body: { + data: { + type: "action_connection", + attributes: { + name: "Cassette Connection", + integration: { + type: "AWS", + credentials: { + type: "AWSAssumeRole", + role: "MyRoleUpdated", + accountId: "123456789123", + }, + }, + }, + }, + }, + connectionId: "cb460d51-3c88-4e87-adac-d47131d0423d", +}; + +apiInstance + .updateActionConnection(params) + .then((data: v2.UpdateActionConnectionResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/features/v2/action_connection.feature b/features/v2/action_connection.feature index f379fc1a003e..dc8dab1fbd21 100644 --- a/features/v2/action_connection.feature +++ b/features/v2/action_connection.feature @@ -1,41 +1,51 @@ @endpoint(action-connection) @endpoint(action-connection-v2) Feature: Action Connection - Action connections extend your installed integrations and allow you to - take action in your third-party systems (e.g. AWS, GitLab, and Statuspage) - with Datadog’s Workflow Automation and App Builder products. Datadog’s - Integrations automatically provide authentication for Slack, Microsoft - Teams, PagerDuty, Opsgenie, JIRA, GitHub, and Statuspage. You do not need - additional connections in order to access these tools within Workflow - Automation and App Builder. We offer granular access control for editing - and resolving connections. + Action Connections extend your installed integrations and allow you to + take action in your third-party systems (e.g. AWS, GitLab, and OpenAI) + with Datadog’s [Workflow + Automation](https://docs.datadoghq.com/service_management/workflows/) and + [App Builder](https://docs.datadoghq.com/service_management/app_builder/) + products. Datadog’s Integrations automatically provide authentication for + Slack, Microsoft Teams, PagerDuty, Opsgenie, Jira, GitHub, and Statuspage. + You do not need additional connections in order to access these tools + within Workflow Automation and App Builder. We offer granular access + control for editing and resolving connections. **Note:** The Action + Connection API currently supports AWS and HTTP integrations. Background: Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system And an instance of "ActionConnection" API - @team:DataDog/workflow-automation-dev + @team:Datadog/action-platform Scenario: Create a new Action Connection returns "Bad Request" response Given new "CreateActionConnection" request And body with value {"data":{"type":"action_connection","attributes":{"name":"Cassette Connection","integration":{"type":"AWS","credentials":{"type":"AWSAssumeRole","role":"MyRoleUpdated","account_id":"1"}}}}} When the request is sent Then the response status is 400 Bad Request - @team:DataDog/workflow-automation-dev + @team:Datadog/action-platform Scenario: Create a new Action Connection returns "Successfully created Action Connection" response Given new "CreateActionConnection" request And body with value {"data":{"type":"action_connection","attributes":{"name":"Cassette Connection DELETE_ME","integration":{"type":"AWS","credentials":{"type":"AWSAssumeRole","role":"MyRoleUpdated","account_id":"123456789123"}}}}} When the request is sent Then the response status is 201 Successfully created Action Connection - @team:DataDog/workflow-automation-dev + @generated @skip @team:Datadog/action-platform + Scenario: Create a new Action Connection returns "Successfully created an Action Connection." response + Given new "CreateActionConnection" request + And body with value {"data": {"attributes": {"integration": {"credentials": {"account_id": "111222333444", "role": "my-role", "type": "AWSAssumeRole"}, "type": "AWS"}, "name": "My AWS Connection"}, "type": "action_connection"}} + When the request is sent + Then the response status is 201 Successfully created an Action Connection. + + @team:Datadog/action-platform Scenario: Delete an existing Action Connection returns "Not Found" response Given new "DeleteActionConnection" request And request contains "connection_id" parameter with value "aaa11111-aa11-aa11-aaaa-aaaaaa111111" When the request is sent Then the response status is 404 Not Found - @team:DataDog/workflow-automation-dev + @team:Datadog/action-platform Scenario: Delete an existing Action Connection returns "Successfully deleted Action Connection" response Given there is a valid "action_connection" in the system And new "DeleteActionConnection" request @@ -43,35 +53,42 @@ Feature: Action Connection When the request is sent Then the response status is 204 The resource was deleted successfully. - @generated @skip @team:DataDog/workflow-automation-dev + @generated @skip @team:Datadog/action-platform Scenario: Delete an existing Action Connection returns "The resource was deleted successfully." response Given new "DeleteActionConnection" request And request contains "connection_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 The resource was deleted successfully. - @team:DataDog/workflow-automation-dev + @team:Datadog/action-platform Scenario: Get an existing Action Connection returns "Bad Request" response Given new "GetActionConnection" request And request contains "connection_id" parameter with value "bad-format" When the request is sent Then the response status is 400 Bad Request - @team:DataDog/workflow-automation-dev + @team:Datadog/action-platform Scenario: Get an existing Action Connection returns "Not Found" response Given new "GetActionConnection" request And request contains "connection_id" parameter with value "aaa11111-aa11-aa11-aaaa-aaaaaa111111" When the request is sent Then the response status is 404 Not Found - @team:DataDog/workflow-automation-dev + @team:Datadog/action-platform Scenario: Get an existing Action Connection returns "Successfully get Action Connection" response Given new "GetActionConnection" request And request contains "connection_id" parameter with value "cb460d51-3c88-4e87-adac-d47131d0423d" When the request is sent Then the response status is 200 Successfully get Action Connection - @team:DataDog/workflow-automation-dev + @generated @skip @team:Datadog/action-platform + Scenario: Get an existing Action Connection returns "Successfully got an Action Connection." response + Given new "GetActionConnection" request + And request contains "connection_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 200 Successfully got an Action Connection. + + @team:Datadog/action-platform Scenario: Update an existing Action Connection returns "Bad Request" response Given new "UpdateActionConnection" request And request contains "connection_id" parameter with value "cb460d51-3c88-4e87-adac-d47131d0423d" @@ -79,7 +96,7 @@ Feature: Action Connection When the request is sent Then the response status is 400 Bad Request - @team:DataDog/workflow-automation-dev + @team:Datadog/action-platform Scenario: Update an existing Action Connection returns "Not Found" response Given new "UpdateActionConnection" request And request contains "connection_id" parameter with value "aaa11111-aa11-aa11-aaaa-aaaaaa111111" @@ -87,10 +104,18 @@ Feature: Action Connection When the request is sent Then the response status is 404 Not Found - @team:DataDog/workflow-automation-dev + @team:Datadog/action-platform Scenario: Update an existing Action Connection returns "Successfully updated Action Connection" response Given new "UpdateActionConnection" request And request contains "connection_id" parameter with value "cb460d51-3c88-4e87-adac-d47131d0423d" And body with value {"data":{"type":"action_connection","attributes":{"name":"Cassette Connection","integration":{"type":"AWS","credentials":{"type":"AWSAssumeRole","role":"MyRoleUpdated","account_id":"123456789123"}}}}} When the request is sent Then the response status is 200 Successfully updated Action Connection + + @generated @skip @team:Datadog/action-platform + Scenario: Update an existing Action Connection returns "Successfully updated an Action Connection." response + Given new "UpdateActionConnection" request + And request contains "connection_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"integration": {"credentials": {"account_id": "111222333444", "role": "my-role", "type": "AWSAssumeRole"}, "type": "AWS"}, "name": "My AWS Connection"}, "type": "action_connection"}} + When the request is sent + Then the response status is 200 Successfully updated an Action Connection. diff --git a/packages/datadog-api-client-v2/apis/ActionConnectionApi.ts b/packages/datadog-api-client-v2/apis/ActionConnectionApi.ts index 83e09e46b2a0..69200e445bf9 100644 --- a/packages/datadog-api-client-v2/apis/ActionConnectionApi.ts +++ b/packages/datadog-api-client-v2/apis/ActionConnectionApi.ts @@ -451,7 +451,7 @@ export interface ActionConnectionApiCreateActionConnectionRequest { export interface ActionConnectionApiDeleteActionConnectionRequest { /** - * The ID of the action connection + * The ID of the Action Connection. * @type string */ connectionId: string; @@ -459,7 +459,7 @@ export interface ActionConnectionApiDeleteActionConnectionRequest { export interface ActionConnectionApiGetActionConnectionRequest { /** - * The ID of the action connection + * The ID of the Action Connection. * @type string */ connectionId: string; @@ -467,12 +467,12 @@ export interface ActionConnectionApiGetActionConnectionRequest { export interface ActionConnectionApiUpdateActionConnectionRequest { /** - * The ID of the action connection + * The ID of the Action Connection. * @type string */ connectionId: string; /** - * Update an existing Action Connection request body + * Update an existing Action Connection request body. * @type UpdateActionConnectionRequest */ body: UpdateActionConnectionRequest; @@ -496,7 +496,7 @@ export class ActionConnectionApi { } /** - * Create a new Action Connection + * Create a new Action Connection. * @param param The request object */ public createActionConnection( @@ -517,7 +517,7 @@ export class ActionConnectionApi { } /** - * Delete an existing Action Connection + * Delete an existing Action Connection. * @param param The request object */ public deleteActionConnection( @@ -538,7 +538,7 @@ export class ActionConnectionApi { } /** - * Get an existing Action Connection + * Get an existing Action Connection. * @param param The request object */ public getActionConnection( diff --git a/packages/datadog-api-client-v2/models/AWSAssumeRole.ts b/packages/datadog-api-client-v2/models/AWSAssumeRole.ts index 3e445dc0cabf..2f8d7c89e877 100644 --- a/packages/datadog-api-client-v2/models/AWSAssumeRole.ts +++ b/packages/datadog-api-client-v2/models/AWSAssumeRole.ts @@ -12,19 +12,19 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; */ export class AWSAssumeRole { /** - * AWS account the connection is created for + * AWS account the connection is created for. */ "accountId": string; /** - * External ID used to scope which connection can be used to assume the role + * External ID used to scope which connection can be used to assume the role. */ "externalId"?: string; /** - * AWS account that will assume the role + * AWS account that will assume the role. */ "principalId"?: string; /** - * Role to assume + * Role to assume. */ "role": string; /** diff --git a/packages/datadog-api-client-v2/models/AWSAssumeRoleUpdate.ts b/packages/datadog-api-client-v2/models/AWSAssumeRoleUpdate.ts index fa83489dd439..02d447e27afc 100644 --- a/packages/datadog-api-client-v2/models/AWSAssumeRoleUpdate.ts +++ b/packages/datadog-api-client-v2/models/AWSAssumeRoleUpdate.ts @@ -12,7 +12,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; */ export class AWSAssumeRoleUpdate { /** - * AWS account the connection is created for + * AWS account the connection is created for. */ "accountId"?: string; /** diff --git a/packages/datadog-api-client-v2/models/ActionConnectionAttributes.ts b/packages/datadog-api-client-v2/models/ActionConnectionAttributes.ts index 6be7fd711084..606403e7b2bd 100644 --- a/packages/datadog-api-client-v2/models/ActionConnectionAttributes.ts +++ b/packages/datadog-api-client-v2/models/ActionConnectionAttributes.ts @@ -16,7 +16,7 @@ export class ActionConnectionAttributes { */ "integration": ActionConnectionIntegration; /** - * Name of the connection + * Name of the connection. */ "name": string; diff --git a/packages/datadog-api-client-v2/models/ActionConnectionAttributesUpdate.ts b/packages/datadog-api-client-v2/models/ActionConnectionAttributesUpdate.ts index 535b88a8037d..1b5402945e27 100644 --- a/packages/datadog-api-client-v2/models/ActionConnectionAttributesUpdate.ts +++ b/packages/datadog-api-client-v2/models/ActionConnectionAttributesUpdate.ts @@ -16,7 +16,7 @@ export class ActionConnectionAttributesUpdate { */ "integration"?: ActionConnectionIntegrationUpdate; /** - * Name of the connection + * Name of the connection. */ "name"?: string; diff --git a/packages/datadog-api-client-v2/models/ActionConnectionData.ts b/packages/datadog-api-client-v2/models/ActionConnectionData.ts index 145d7896385c..23c0a708cdf6 100644 --- a/packages/datadog-api-client-v2/models/ActionConnectionData.ts +++ b/packages/datadog-api-client-v2/models/ActionConnectionData.ts @@ -17,7 +17,7 @@ export class ActionConnectionData { */ "attributes": ActionConnectionAttributes; /** - * The connection identifier + * The connection identifier. */ "id"?: string; /** diff --git a/packages/datadog-api-client-v2/models/CreateActionConnectionRequest.ts b/packages/datadog-api-client-v2/models/CreateActionConnectionRequest.ts index 2c1794cb826c..15a7cfb6d1f4 100644 --- a/packages/datadog-api-client-v2/models/CreateActionConnectionRequest.ts +++ b/packages/datadog-api-client-v2/models/CreateActionConnectionRequest.ts @@ -8,7 +8,7 @@ import { ActionConnectionData } from "./ActionConnectionData"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** - * Request used to create an action connection. + * Request used to create an Action Connection. */ export class CreateActionConnectionRequest { /** diff --git a/packages/datadog-api-client-v2/models/CreateActionConnectionResponse.ts b/packages/datadog-api-client-v2/models/CreateActionConnectionResponse.ts index fc8ccb777409..52cec33197a1 100644 --- a/packages/datadog-api-client-v2/models/CreateActionConnectionResponse.ts +++ b/packages/datadog-api-client-v2/models/CreateActionConnectionResponse.ts @@ -8,7 +8,7 @@ import { ActionConnectionData } from "./ActionConnectionData"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** - * The response for a created connection + * The response for a created connection. */ export class CreateActionConnectionResponse { /** diff --git a/packages/datadog-api-client-v2/models/GetActionConnectionResponse.ts b/packages/datadog-api-client-v2/models/GetActionConnectionResponse.ts index cdc5eb146445..21fb020d50cb 100644 --- a/packages/datadog-api-client-v2/models/GetActionConnectionResponse.ts +++ b/packages/datadog-api-client-v2/models/GetActionConnectionResponse.ts @@ -8,7 +8,7 @@ import { ActionConnectionData } from "./ActionConnectionData"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** - * The response for found connection + * The response for found connection. */ export class GetActionConnectionResponse { /** diff --git a/packages/datadog-api-client-v2/models/HTTPIntegration.ts b/packages/datadog-api-client-v2/models/HTTPIntegration.ts index 38cdcdd324dc..c2c75aa0f02d 100644 --- a/packages/datadog-api-client-v2/models/HTTPIntegration.ts +++ b/packages/datadog-api-client-v2/models/HTTPIntegration.ts @@ -13,7 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; */ export class HTTPIntegration { /** - * Base HTTP url for the integration + * Base HTTP url for the integration. */ "baseUrl": string; /** diff --git a/packages/datadog-api-client-v2/models/HTTPIntegrationUpdate.ts b/packages/datadog-api-client-v2/models/HTTPIntegrationUpdate.ts index 093177ac0776..c609f99d7471 100644 --- a/packages/datadog-api-client-v2/models/HTTPIntegrationUpdate.ts +++ b/packages/datadog-api-client-v2/models/HTTPIntegrationUpdate.ts @@ -13,7 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; */ export class HTTPIntegrationUpdate { /** - * Base HTTP url for the integration + * Base HTTP url for the integration. */ "baseUrl"?: string; /** diff --git a/packages/datadog-api-client-v2/models/UpdateActionConnectionRequest.ts b/packages/datadog-api-client-v2/models/UpdateActionConnectionRequest.ts index 6af0a7785267..874203334808 100644 --- a/packages/datadog-api-client-v2/models/UpdateActionConnectionRequest.ts +++ b/packages/datadog-api-client-v2/models/UpdateActionConnectionRequest.ts @@ -8,7 +8,7 @@ import { ActionConnectionDataUpdate } from "./ActionConnectionDataUpdate"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** - * Request used to update an action connection. + * Request used to update an Action Connection. */ export class UpdateActionConnectionRequest { /**