You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::CodeGuruProfiler

Defined in:
(unknown)

Overview

This module provides a client for making API requests to Amazon CodeGuru Profiler.

Aws::CodeGuruProfiler::Client

The Client class provides one-to-one mapping for each API operation.

codeguruprofiler = Aws::CodeGuruProfiler::Client.new(region: 'us-east-1')
codeguruprofiler.operation_names
#=> [:add_notification_channels, :batch_get_frame_metric_data, :configure_agent, :create_profiling_group, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = codeguruprofiler.add_notification_channels(params)

See Client for more information.

Aws::CodeGuruProfiler::Errors

Errors returned from Amazon CodeGuru Profiler are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::CodeGuruProfiler::Errors::ServiceError
  # rescues all errors returned by Amazon CodeGuru Profiler
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client