Class: Aws::XRay::Types::UpdateSamplingRuleRequest

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

Overview

Note:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#sampling_rule_updateTypes::SamplingRuleUpdate

The rule and fields to change.



2215
2216
2217
2218
# File 'lib/aws-sdk-xray/types.rb', line 2215

class UpdateSamplingRuleRequest < Struct.new(
  :sampling_rule_update)
  include Aws::Structure
end