You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::ApplicationInsights
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon CloudWatch Application Insights.
Aws::ApplicationInsights::Client
The Client class provides one-to-one mapping for each API operation.
applicationinsights = Aws::ApplicationInsights::Client.new(region: 'us-east-1')
applicationinsights.operation_names
#=> [:create_application, :create_component, :create_log_pattern, :delete_application, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = applicationinsights.create_application(params)
See Client for more information.
Aws::ApplicationInsights::Errors
Errors returned from Amazon CloudWatch Application Insights are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::ApplicationInsights::Errors::ServiceError
# rescues all errors returned by Amazon CloudWatch Application Insights
end
See Errors for more information.