Module: Aws::ApplicationInsights

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

Overview

This module provides support for Amazon CloudWatch Application Insights. This module is available in the ‘aws-sdk-applicationinsights` 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.

application_insights = Aws::ApplicationInsights::Client.new
resp = application_insights.add_workload(params)

See Client for more information.

# Errors

Errors returned from Amazon CloudWatch Application Insights are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ApplicationInsights::Errors::ServiceError
  # rescues all Amazon CloudWatch Application Insights 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.59.0'