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
#=> [:configure_agent, :create_profiling_group, :delete_profiling_group, :describe_profiling_group, ...]

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

resp = codeguruprofiler.configure_agent(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