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

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 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",
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#sampling_rule_updateTypes::SamplingRuleUpdate

The rule and fields to change.



2506
2507
2508
2509
2510
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2506

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