Skip to content

Delete Sampling Rule

xray_delete_sampling_rule R Documentation

Deletes a sampling rule

Description

Deletes a sampling rule.

Usage

xray_delete_sampling_rule(RuleName, RuleARN)

Arguments

RuleName

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

RuleARN

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Value

A list with the following syntax:

list(
  SamplingRuleRecord = list(
    SamplingRule = list(
      RuleName = "string",
      RuleARN = "string",
      ResourceARN = "string",
      Priority = 123,
      FixedRate = 123.0,
      ReservoirSize = 123,
      ServiceName = "string",
      ServiceType = "string",
      Host = "string",
      HTTPMethod = "string",
      URLPath = "string",
      Version = 123,
      Attributes = list(
        "string"
      )
    ),
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    ModifiedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$delete_sampling_rule(
  RuleName = "string",
  RuleARN = "string"
)