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

Module: Aws::CodeGuruReviewer

Defined in:
(unknown)

Overview

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

Aws::CodeGuruReviewer::Client

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

codegurureviewer = Aws::CodeGuruReviewer::Client.new(region: 'us-east-1')
codegurureviewer.operation_names
#=> [:associate_repository, :create_code_review, :describe_code_review, :describe_recommendation_feedback, ...]

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

resp = codegurureviewer.associate_repository(params)

See Client for more information.

Aws::CodeGuruReviewer::Errors

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

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

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client