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

Module: Aws::OpsWorksCM

Defined in:
(unknown)

Overview

This module provides a client for making API requests to AWS OpsWorks CM.

Aws::OpsWorksCM::Client

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

opsworkscm = Aws::OpsWorksCM::Client.new(region: 'us-east-1')
opsworkscm.operation_names
#=> [:associate_node, :create_backup, :create_server, :delete_backup, ...]

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

resp = opsworkscm.associate_node(params)

See Client for more information.

Aws::OpsWorksCM::Errors

Errors returned from AWS OpsWorks CM are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::OpsWorksCM::Errors::ServiceError
  # rescues all errors returned by AWS OpsWorks CM
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client