Amazon X-Ray · Schema

GetSamplingTargetsResult

Application PerformanceAmazon Web ServicesDebuggingDeveloper ToolsDistributed TracingMonitoringObservability

Properties

Name Type Description
SamplingTargetDocuments array Updated rules that the service should use to sample requests.
LastRuleModification string The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest
UnprocessedStatistics array Information about SamplingStatisticsDocument that X-Ray could not process.
UnprocessedBoostStatistics array Information about SamplingBoostStatisticsDocument that X-Ray could not process.
View JSON Schema on GitHub

JSON Schema

amazon-xray-get-sampling-targets-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-xray/json-schema/amazon-xray-get-sampling-targets-result-schema.json",
  "title": "GetSamplingTargetsResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-xray-samplingtargets-api-openapi.yml#/components/schemas/GetSamplingTargetsResult",
  "type": "object",
  "properties": {
    "SamplingTargetDocuments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SamplingTargetDocument"
      },
      "description": "Updated rules that the service should use to sample requests."
    },
    "LastRuleModification": {
      "type": "string",
      "format": "date-time",
      "description": "The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest version."
    },
    "UnprocessedStatistics": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UnprocessedStatistics"
      },
      "description": "Information about SamplingStatisticsDocument that X-Ray could not process."
    },
    "UnprocessedBoostStatistics": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UnprocessedStatistics"
      },
      "description": "Information about SamplingBoostStatisticsDocument that X-Ray could not process."
    }
  },
  "$defs": {
    "SamplingBoost": {
      "type": "object",
      "properties": {
        "BoostRate": {
          "type": "number",
          "description": "The calculated sampling boost rate for this service"
        },
        "BoostRateTTL": {
          "type": "string",
          "format": "date-time",
          "description": "When the sampling boost expires."
        }
      },
      "required": [
        "BoostRate",
        "BoostRateTTL"
      ]
    },
    "SamplingTargetDocument": {
      "type": "object",
      "properties": {
        "RuleName": {
          "type": "string",
          "description": "The name of the sampling rule."
        },
        "FixedRate": {
          "type": "number",
          "description": "The percentage of matching requests to instrument, after the reservoir is exhausted."
        },
        "ReservoirQuota": {
          "type": "integer",
          "description": "The number of requests per second that X-Ray allocated for this service."
        },
        "ReservoirQuotaTTL": {
          "type": "string",
          "format": "date-time",
          "description": "When the reservoir quota expires."
        },
        "Interval": {
          "type": "integer",
          "description": "The number of seconds for the service to wait before getting sampling targets again."
        },
        "SamplingBoost": {
          "$ref": "#/$defs/SamplingBoost"
        }
      }
    },
    "UnprocessedStatistics": {
      "type": "object",
      "properties": {
        "RuleName": {
          "type": "string",
          "description": "The name of the sampling rule."
        },
        "ErrorCode": {
          "type": "string",
          "description": "The error code."
        },
        "Message": {
          "type": "string",
          "description": "The error message."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-xray-get-sampling-targets-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.