diff --git a/.apigentools-info b/.apigentools-info index 54da6ec2570e..9fcc291eecab 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:33.345379", - "spec_repo_commit": "6a31fa8c" + "regenerated": "2025-01-24 18:35:53.031767", + "spec_repo_commit": "9120bb44" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-23 22:24:33.360838", - "spec_repo_commit": "6a31fa8c" + "regenerated": "2025-01-24 18:35:53.049822", + "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.rb b/examples/v2/action-connection/CreateActionConnection.rb index 5b0355e7d471..23ef7f31db8f 100644 --- a/examples/v2/action-connection/CreateActionConnection.rb +++ b/examples/v2/action-connection/CreateActionConnection.rb @@ -1,22 +1,22 @@ -# Create a new Action Connection returns "Successfully created Action Connection" response +# Create a new Action Connection returns "Successfully created an Action Connection." response require "datadog_api_client" api_instance = DatadogAPIClient::V2::ActionConnectionAPI.new body = DatadogAPIClient::V2::CreateActionConnectionRequest.new({ data: DatadogAPIClient::V2::ActionConnectionData.new({ - type: DatadogAPIClient::V2::ActionConnectionDataType::ACTION_CONNECTION, attributes: DatadogAPIClient::V2::ActionConnectionAttributes.new({ - name: "Cassette Connection DELETE_ME", integration: DatadogAPIClient::V2::AWSIntegration.new({ - type: DatadogAPIClient::V2::AWSIntegrationType::AWS, credentials: DatadogAPIClient::V2::AWSAssumeRole.new({ + account_id: "111222333444", + role: "my-role", type: DatadogAPIClient::V2::AWSAssumeRoleType::AWSASSUMEROLE, - role: "MyRoleUpdated", - account_id: "123456789123", }), + type: DatadogAPIClient::V2::AWSIntegrationType::AWS, }), + name: "My AWS Connection", }), + type: DatadogAPIClient::V2::ActionConnectionDataType::ACTION_CONNECTION, }), }) p api_instance.create_action_connection(body) diff --git a/examples/v2/action-connection/CreateActionConnection_2600083647.rb b/examples/v2/action-connection/CreateActionConnection_2600083647.rb new file mode 100644 index 000000000000..5b0355e7d471 --- /dev/null +++ b/examples/v2/action-connection/CreateActionConnection_2600083647.rb @@ -0,0 +1,22 @@ +# Create a new Action Connection returns "Successfully created Action Connection" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::ActionConnectionAPI.new + +body = DatadogAPIClient::V2::CreateActionConnectionRequest.new({ + data: DatadogAPIClient::V2::ActionConnectionData.new({ + type: DatadogAPIClient::V2::ActionConnectionDataType::ACTION_CONNECTION, + attributes: DatadogAPIClient::V2::ActionConnectionAttributes.new({ + name: "Cassette Connection DELETE_ME", + integration: DatadogAPIClient::V2::AWSIntegration.new({ + type: DatadogAPIClient::V2::AWSIntegrationType::AWS, + credentials: DatadogAPIClient::V2::AWSAssumeRole.new({ + type: DatadogAPIClient::V2::AWSAssumeRoleType::AWSASSUMEROLE, + role: "MyRoleUpdated", + account_id: "123456789123", + }), + }), + }), + }), +}) +p api_instance.create_action_connection(body) diff --git a/examples/v2/action-connection/GetActionConnection.rb b/examples/v2/action-connection/GetActionConnection.rb index fb3c754100e9..f9ff1dc4b87d 100644 --- a/examples/v2/action-connection/GetActionConnection.rb +++ b/examples/v2/action-connection/GetActionConnection.rb @@ -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 require "datadog_api_client" api_instance = DatadogAPIClient::V2::ActionConnectionAPI.new -p api_instance.get_action_connection("cb460d51-3c88-4e87-adac-d47131d0423d") +p api_instance.get_action_connection("connection_id") diff --git a/examples/v2/action-connection/GetActionConnection_2273648770.rb b/examples/v2/action-connection/GetActionConnection_2273648770.rb new file mode 100644 index 000000000000..fb3c754100e9 --- /dev/null +++ b/examples/v2/action-connection/GetActionConnection_2273648770.rb @@ -0,0 +1,5 @@ +# Get an existing Action Connection returns "Successfully get Action Connection" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::ActionConnectionAPI.new +p api_instance.get_action_connection("cb460d51-3c88-4e87-adac-d47131d0423d") diff --git a/examples/v2/action-connection/UpdateActionConnection.rb b/examples/v2/action-connection/UpdateActionConnection.rb index d50eae26f0e7..4d0731ce8fbb 100644 --- a/examples/v2/action-connection/UpdateActionConnection.rb +++ b/examples/v2/action-connection/UpdateActionConnection.rb @@ -1,22 +1,22 @@ -# Update an existing Action Connection returns "Successfully updated Action Connection" response +# Update an existing Action Connection returns "Successfully updated an Action Connection." response require "datadog_api_client" api_instance = DatadogAPIClient::V2::ActionConnectionAPI.new body = DatadogAPIClient::V2::UpdateActionConnectionRequest.new({ data: DatadogAPIClient::V2::ActionConnectionDataUpdate.new({ - type: DatadogAPIClient::V2::ActionConnectionDataType::ACTION_CONNECTION, attributes: DatadogAPIClient::V2::ActionConnectionAttributesUpdate.new({ - name: "Cassette Connection", integration: DatadogAPIClient::V2::AWSIntegrationUpdate.new({ - type: DatadogAPIClient::V2::AWSIntegrationType::AWS, credentials: DatadogAPIClient::V2::AWSAssumeRoleUpdate.new({ + account_id: "111222333444", + role: "my-role", type: DatadogAPIClient::V2::AWSAssumeRoleType::AWSASSUMEROLE, - role: "MyRoleUpdated", - account_id: "123456789123", }), + type: DatadogAPIClient::V2::AWSIntegrationType::AWS, }), + name: "My AWS Connection", }), + type: DatadogAPIClient::V2::ActionConnectionDataType::ACTION_CONNECTION, }), }) -p api_instance.update_action_connection("cb460d51-3c88-4e87-adac-d47131d0423d", body) +p api_instance.update_action_connection("connection_id", body) diff --git a/examples/v2/action-connection/UpdateActionConnection_2280399724.rb b/examples/v2/action-connection/UpdateActionConnection_2280399724.rb new file mode 100644 index 000000000000..d50eae26f0e7 --- /dev/null +++ b/examples/v2/action-connection/UpdateActionConnection_2280399724.rb @@ -0,0 +1,22 @@ +# Update an existing Action Connection returns "Successfully updated Action Connection" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V2::ActionConnectionAPI.new + +body = DatadogAPIClient::V2::UpdateActionConnectionRequest.new({ + data: DatadogAPIClient::V2::ActionConnectionDataUpdate.new({ + type: DatadogAPIClient::V2::ActionConnectionDataType::ACTION_CONNECTION, + attributes: DatadogAPIClient::V2::ActionConnectionAttributesUpdate.new({ + name: "Cassette Connection", + integration: DatadogAPIClient::V2::AWSIntegrationUpdate.new({ + type: DatadogAPIClient::V2::AWSIntegrationType::AWS, + credentials: DatadogAPIClient::V2::AWSAssumeRoleUpdate.new({ + type: DatadogAPIClient::V2::AWSAssumeRoleType::AWSASSUMEROLE, + role: "MyRoleUpdated", + account_id: "123456789123", + }), + }), + }), + }), +}) +p api_instance.update_action_connection("cb460d51-3c88-4e87-adac-d47131d0423d", body) 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/lib/datadog_api_client/v2/api/action_connection_api.rb b/lib/datadog_api_client/v2/api/action_connection_api.rb index c98b05cbe336..af7a502e85e2 100644 --- a/lib/datadog_api_client/v2/api/action_connection_api.rb +++ b/lib/datadog_api_client/v2/api/action_connection_api.rb @@ -33,7 +33,7 @@ def create_action_connection(body, opts = {}) # Create a new Action Connection. # - # Create a new Action Connection + # Create a new Action Connection. # # @param body [CreateActionConnectionRequest] # @param opts [Hash] the optional parameters @@ -100,9 +100,9 @@ def delete_action_connection(connection_id, opts = {}) # Delete an existing Action Connection. # - # Delete an existing Action Connection + # Delete an existing Action Connection. # - # @param connection_id [String] The ID of the action connection + # @param connection_id [String] The ID of the Action Connection. # @param opts [Hash] the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers def delete_action_connection_with_http_info(connection_id, opts = {}) @@ -165,9 +165,9 @@ def get_action_connection(connection_id, opts = {}) # Get an existing Action Connection. # - # Get an existing Action Connection + # Get an existing Action Connection. # - # @param connection_id [String] The ID of the action connection + # @param connection_id [String] The ID of the Action Connection. # @param opts [Hash] the optional parameters # @return [Array<(GetActionConnectionResponse, Integer, Hash)>] GetActionConnectionResponse data, response status code and response headers def get_action_connection_with_http_info(connection_id, opts = {}) @@ -232,8 +232,8 @@ def update_action_connection(connection_id, body, opts = {}) # # Update an existing Action Connection # - # @param connection_id [String] The ID of the action connection - # @param body [UpdateActionConnectionRequest] Update an existing Action Connection request body + # @param connection_id [String] The ID of the Action Connection. + # @param body [UpdateActionConnectionRequest] Update an existing Action Connection request body. # @param opts [Hash] the optional parameters # @return [Array<(UpdateActionConnectionResponse, Integer, Hash)>] UpdateActionConnectionResponse data, response status code and response headers def update_action_connection_with_http_info(connection_id, body, opts = {}) diff --git a/lib/datadog_api_client/v2/models/action_connection_attributes.rb b/lib/datadog_api_client/v2/models/action_connection_attributes.rb index 8d7da1fedf51..f7c7a4f12d15 100644 --- a/lib/datadog_api_client/v2/models/action_connection_attributes.rb +++ b/lib/datadog_api_client/v2/models/action_connection_attributes.rb @@ -24,7 +24,7 @@ class ActionConnectionAttributes # The definition of `ActionConnectionIntegration` object. attr_reader :integration - # Name of the connection + # Name of the connection. attr_reader :name attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/action_connection_attributes_update.rb b/lib/datadog_api_client/v2/models/action_connection_attributes_update.rb index e59fb0b21a98..7bd7760fdd2d 100644 --- a/lib/datadog_api_client/v2/models/action_connection_attributes_update.rb +++ b/lib/datadog_api_client/v2/models/action_connection_attributes_update.rb @@ -24,7 +24,7 @@ class ActionConnectionAttributesUpdate # The definition of `ActionConnectionIntegrationUpdate` object. attr_accessor :integration - # Name of the connection + # Name of the connection. attr_accessor :name attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/action_connection_data.rb b/lib/datadog_api_client/v2/models/action_connection_data.rb index 14ccb608dd62..dfac1078fa58 100644 --- a/lib/datadog_api_client/v2/models/action_connection_data.rb +++ b/lib/datadog_api_client/v2/models/action_connection_data.rb @@ -24,7 +24,7 @@ class ActionConnectionData # The definition of `ActionConnectionAttributes` object. attr_reader :attributes - # The connection identifier + # The connection identifier. attr_accessor :id # The definition of `ActionConnectionDataType` object. diff --git a/lib/datadog_api_client/v2/models/aws_assume_role.rb b/lib/datadog_api_client/v2/models/aws_assume_role.rb index 2ad6f6f8d2f4..4391f649d296 100644 --- a/lib/datadog_api_client/v2/models/aws_assume_role.rb +++ b/lib/datadog_api_client/v2/models/aws_assume_role.rb @@ -21,16 +21,16 @@ module DatadogAPIClient::V2 class AWSAssumeRole include BaseGenericModel - # AWS account the connection is created for + # AWS account the connection is created for. attr_reader :account_id - # 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. attr_accessor :external_id - # AWS account that will assume the role + # AWS account that will assume the role. attr_accessor :principal_id - # Role to assume + # Role to assume. attr_reader :role # The definition of `AWSAssumeRoleType` object. diff --git a/lib/datadog_api_client/v2/models/aws_assume_role_update.rb b/lib/datadog_api_client/v2/models/aws_assume_role_update.rb index 4e15b499b2d7..a3ef5624ddd2 100644 --- a/lib/datadog_api_client/v2/models/aws_assume_role_update.rb +++ b/lib/datadog_api_client/v2/models/aws_assume_role_update.rb @@ -21,7 +21,7 @@ module DatadogAPIClient::V2 class AWSAssumeRoleUpdate include BaseGenericModel - # AWS account the connection is created for + # AWS account the connection is created for. attr_reader :account_id # The `AWSAssumeRoleUpdate` `generate_new_external_id`. diff --git a/lib/datadog_api_client/v2/models/create_action_connection_request.rb b/lib/datadog_api_client/v2/models/create_action_connection_request.rb index 40401a6c7799..e17ccf5080e9 100644 --- a/lib/datadog_api_client/v2/models/create_action_connection_request.rb +++ b/lib/datadog_api_client/v2/models/create_action_connection_request.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V2 - # Request used to create an action connection. + # Request used to create an Action Connection. class CreateActionConnectionRequest include BaseGenericModel diff --git a/lib/datadog_api_client/v2/models/create_action_connection_response.rb b/lib/datadog_api_client/v2/models/create_action_connection_response.rb index 8abea441da69..c11994d239e0 100644 --- a/lib/datadog_api_client/v2/models/create_action_connection_response.rb +++ b/lib/datadog_api_client/v2/models/create_action_connection_response.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V2 - # The response for a created connection + # The response for a created connection. class CreateActionConnectionResponse include BaseGenericModel diff --git a/lib/datadog_api_client/v2/models/get_action_connection_response.rb b/lib/datadog_api_client/v2/models/get_action_connection_response.rb index f1246d04a4d5..f49ed391e0b1 100644 --- a/lib/datadog_api_client/v2/models/get_action_connection_response.rb +++ b/lib/datadog_api_client/v2/models/get_action_connection_response.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V2 - # The response for found connection + # The response for found connection. class GetActionConnectionResponse include BaseGenericModel diff --git a/lib/datadog_api_client/v2/models/http_integration.rb b/lib/datadog_api_client/v2/models/http_integration.rb index a540f1338348..ddca3958e0d9 100644 --- a/lib/datadog_api_client/v2/models/http_integration.rb +++ b/lib/datadog_api_client/v2/models/http_integration.rb @@ -21,7 +21,7 @@ module DatadogAPIClient::V2 class HTTPIntegration include BaseGenericModel - # Base HTTP url for the integration + # Base HTTP url for the integration. attr_reader :base_url # The definition of `HTTPCredentials` object. diff --git a/lib/datadog_api_client/v2/models/http_integration_update.rb b/lib/datadog_api_client/v2/models/http_integration_update.rb index 8be4915b7b2c..7066fda3be40 100644 --- a/lib/datadog_api_client/v2/models/http_integration_update.rb +++ b/lib/datadog_api_client/v2/models/http_integration_update.rb @@ -21,7 +21,7 @@ module DatadogAPIClient::V2 class HTTPIntegrationUpdate include BaseGenericModel - # Base HTTP url for the integration + # Base HTTP url for the integration. attr_reader :base_url # The definition of `HTTPCredentialsUpdate` object. diff --git a/lib/datadog_api_client/v2/models/update_action_connection_request.rb b/lib/datadog_api_client/v2/models/update_action_connection_request.rb index 2e1674343222..1f7f9d45628c 100644 --- a/lib/datadog_api_client/v2/models/update_action_connection_request.rb +++ b/lib/datadog_api_client/v2/models/update_action_connection_request.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V2 - # Request used to update an action connection. + # Request used to update an Action Connection. class UpdateActionConnectionRequest include BaseGenericModel