Class: Aws::XRay::Types::SamplingStrategy

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

Overview

The name and value of a sampling rule to apply to a trace summary.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of a sampling rule.

Returns:

  • (String)


2937
2938
2939
2940
2941
2942
# File 'lib/aws-sdk-xray/types.rb', line 2937

class SamplingStrategy < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueFloat

The value of a sampling rule.

Returns:

  • (Float)


2937
2938
2939
2940
2941
2942
# File 'lib/aws-sdk-xray/types.rb', line 2937

class SamplingStrategy < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end