{ "type": "object", "required": [ "SamplingRule" ], "title": "CreateSamplingRuleRequest", "properties": { "SamplingRule": { "allOf": [ { "$ref": "#/components/schemas/SamplingRule" }, { "description": "The rule definition." } ] }, "Tags": { "allOf": [ { "$ref": "#/components/schemas/TagList" }, { "description": "

A map that contains one or more tag keys and tag values to attach to an X-Ray sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The following restrictions apply to tags:

" } ] } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-xray/refs/heads/main/json-schema/xray-create-sampling-rule-request-schema.json", "description": "CreateSamplingRuleRequest schema from Amazon X-Ray API" }