Sha256: 03bb70e0f35c2a0d00f610b50786e4fdc40d97d7b32f8779e68e939f45d08d27

Contents?: true

Size: 385 Bytes

Versions: 12

Compression:

Stored size: 385 Bytes

Contents

# Create an Amazon EventBridge source returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new

body = DatadogAPIClient::V1::AWSEventBridgeCreateRequest.new({
  account_id: "123456789012",
  create_event_bus: true,
  event_generator_name: "app-alerts",
  region: "us-east-1",
})
p api_instance.create_aws_event_bridge_source(body)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.27.1 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.26.1 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.26.0 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.25.0 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.24.0 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.22.0 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.21.0 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.20.0 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.19.0 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.18.0 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb
datadog_api_client-2.17.0 examples/v1/aws-integration/CreateAWSEventBridgeSource.rb