Module: Aws::ServiceDiscovery

Defined in:
lib/aws-sdk-servicediscovery/client_api.rb,
lib/aws-sdk-servicediscovery/resource.rb,
lib/aws-sdk-servicediscovery/errors.rb,
lib/aws-sdk-servicediscovery/client.rb,
lib/aws-sdk-servicediscovery/types.rb,
lib/aws-sdk-servicediscovery.rb

Overview

This module provides support for AWS Cloud Map. This module is available in the `aws-sdk-servicediscovery` 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.

service_discovery = Aws::ServiceDiscovery::Client.new
resp = service_discovery.create_http_namespace(params)

See Client for more information.

# Errors

Errors returned from AWS Cloud Map are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ServiceDiscovery::Errors::ServiceError
  # rescues all AWS Cloud Map API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Errors, Types Classes: Client, Resource

service collapse

GEM_VERSION =
'1.46.0'