Module: Aws::XRay
- Defined in:
- lib/aws-sdk-xray/endpoint_parameters.rb,
lib/aws-sdk-xray/plugins/endpoints.rb,
lib/aws-sdk-xray/endpoint_provider.rb,
lib/aws-sdk-xray/client_api.rb,
lib/aws-sdk-xray/endpoints.rb,
lib/aws-sdk-xray/resource.rb,
lib/aws-sdk-xray/errors.rb,
lib/aws-sdk-xray/client.rb,
lib/aws-sdk-xray/types.rb,
lib/aws-sdk-xray.rb
Overview
This module provides support for AWS X-Ray. This module is available in the ‘aws-sdk-xray` gem.
# Client
The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.
x_ray = Aws::XRay::Client.new
resp = x_ray.batch_get_traces(params)
See Client for more information.
# Errors
Errors returned from AWS X-Ray are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::XRay::Errors::ServiceError
# rescues all AWS X-Ray API errors
end
See Errors for more information.
Defined Under Namespace
Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource
service collapse
- GEM_VERSION =
'1.76.0'