Sha256: 536bb9236e94ec0e0e048eacc8e4cf0dcb8d4b7eee25fbb9fa706f1934dddb4a

Contents?: true

Size: 381 Bytes

Versions: 35

Compression:

Stored size: 381 Bytes

Contents

# Enable an AWS Logs integration returns "OK" response

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

body = DatadogAPIClient::V1::AWSLogsServicesRequest.new({
  account_id: "1234567",
  services: [
    "s3",
    "elb",
    "elbv2",
    "cloudfront",
    "redshift",
    "lambda",
  ],
})
p api_instance.enable_aws_log_services(body)

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
datadog_api_client-2.9.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.8.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.7.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.6.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.5.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.4.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.3.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.2.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.1.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.0.2 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.0.1 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-2.0.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-1.11.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-1.10.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb
datadog_api_client-1.9.0 examples/v1/aws-logs-integration/EnableAWSLogServices.rb