AWS X-Ray Sampling API
Manage sampling rules
AWS X-Ray Sampling API is one of 9 APIs that AWS X-Ray publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 1 JSON Schema definition.
Tagged areas include Sampling. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and 1 JSON Schema.
This API exposes 5 operations across 5 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 2016-04-12.
Requests are made against a single base URL, https://xray.{region}.amazonaws.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
AWS X-Ray Sampling API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as Authorization (aws_sig_v4).
By default, every request must be authenticated.
aws_sig_v4— AWS Signature Version 4
Paths & Operations 5
Across 5 paths, the API surfaces 5 operations — 5 POST. Each is listed below with its method, path, parameters, and response codes.
Manage sampling rules
Schemas 3
The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are SamplingRule (13 properties), SamplingRuleRecord (3 properties), Tag (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from AWS X-Ray 8
Other APIs AWS X-Ray publishes across the network.