Module: Aws::Synthetics

Defined in:
lib/aws-sdk-synthetics/endpoint_parameters.rb,
lib/aws-sdk-synthetics/plugins/endpoints.rb,
lib/aws-sdk-synthetics/endpoint_provider.rb,
lib/aws-sdk-synthetics/client_api.rb,
lib/aws-sdk-synthetics/endpoints.rb,
lib/aws-sdk-synthetics/resource.rb,
lib/aws-sdk-synthetics/errors.rb,
lib/aws-sdk-synthetics/client.rb,
lib/aws-sdk-synthetics/types.rb,
lib/aws-sdk-synthetics.rb

Overview

This module provides support for Synthetics. This module is available in the ‘aws-sdk-synthetics` 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.

synthetics = Aws::Synthetics::Client.new
resp = synthetics.associate_resource(params)

See Client for more information.

# Errors

Errors returned from Synthetics are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Synthetics::Errors::ServiceError
  # rescues all Synthetics 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.57.0'