Skip to content

Get Sampling Rules

xray_get_sampling_rules R Documentation

Retrieves all sampling rules

Description

Retrieves all sampling rules.

Usage

xray_get_sampling_rules(NextToken)

Arguments

NextToken

Pagination token.

Value

A list with the following syntax:

list(
  SamplingRuleRecords = list(
    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"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_sampling_rules(
  NextToken = "string"
)