Class: Aws::XRay::Types::CreateSamplingRuleRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb

Overview

Note:

When making an API call, you may pass CreateSamplingRuleRequest data as a hash:

{
  sampling_rule: { # required
    rule_name: "RuleName",
    rule_arn: "String",
    resource_arn: "ResourceARN", # required
    priority: 1, # required
    fixed_rate: 1.0, # required
    reservoir_size: 1, # required
    service_name: "ServiceName", # required
    service_type: "ServiceType", # required
    host: "Host", # required
    http_method: "HTTPMethod", # required
    url_path: "URLPath", # required
    version: 1, # required
    attributes: {
      "AttributeKey" => "AttributeValue",
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#sampling_ruleTypes::SamplingRule

The rule definition.

Returns:



235
236
237
238
239
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 235

class CreateSamplingRuleRequest < Struct.new(
  :sampling_rule)
  SENSITIVE = []
  include Aws::Structure
end