Module: Aws::LookoutMetrics

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

Overview

This module provides support for Amazon Lookout for Metrics. This module is available in the ‘aws-sdk-lookoutmetrics` 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.

lookout_metrics = Aws::LookoutMetrics::Client.new
resp = lookout_metrics.activate_anomaly_detector(params)

See Client for more information.

# Errors

Errors returned from Amazon Lookout for Metrics are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::LookoutMetrics::Errors::ServiceError
  # rescues all Amazon Lookout for Metrics 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.48.0'