Module: Aws::MQ

Defined in:
lib/aws-sdk-mq/endpoint_parameters.rb,
lib/aws-sdk-mq/plugins/endpoints.rb,
lib/aws-sdk-mq/endpoint_provider.rb,
lib/aws-sdk-mq/client_api.rb,
lib/aws-sdk-mq/endpoints.rb,
lib/aws-sdk-mq/resource.rb,
lib/aws-sdk-mq/errors.rb,
lib/aws-sdk-mq/client.rb,
lib/aws-sdk-mq/types.rb,
lib/aws-sdk-mq.rb

Overview

This module provides support for AmazonMQ. This module is available in the ‘aws-sdk-mq` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

mq = Aws::MQ::Client.new
resp = mq.create_broker(params)

See Client for more information.

# Errors

Errors returned from AmazonMQ are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::MQ::Errors::ServiceError
  # rescues all AmazonMQ API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.74.0'