Skip to main content

sampling_rules

Retrieves a list of sampling_rules in a region

Overview

Namesampling_rules
TypeResource
Descriptionsampling_rules
Idawscc.xray.sampling_rules

Fields

NameDatatypeDescription
rule_arnundefined
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
rule_arn
FROM awscc.xray.sampling_rules
WHERE region = 'us-east-1'

Permissions

To operate on the sampling_rules resource, the following permissions are required:

Create

xray:CreateSamplingRule,
xray:TagResource

List

xray:GetSamplingRules,
xray:ListTagsForResource