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

Module: Aws::ManagedBlockchain

Defined in:
(unknown)

Overview

This module provides a client for making API requests to Amazon Managed Blockchain.

Aws::ManagedBlockchain::Client

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

managedblockchain = Aws::ManagedBlockchain::Client.new(region: 'us-east-1')
managedblockchain.operation_names
#=> [:create_member, :create_network, :create_node, :create_proposal, ...]

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

resp = managedblockchain.create_member(params)

See Client for more information.

Aws::ManagedBlockchain::Errors

Errors returned from Amazon Managed Blockchain are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ManagedBlockchain::Errors::ServiceError
  # rescues all errors returned by Amazon Managed Blockchain
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client