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

Module: Aws::Route53Resolver

Defined in:
(unknown)

Overview

This module provides a client for making API requests to Amazon Route 53 Resolver.

Aws::Route53Resolver::Client

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

route53resolver = Aws::Route53Resolver::Client.new(region: 'us-east-1')
route53resolver.operation_names
#=> [:associate_resolver_endpoint_ip_address, :associate_resolver_query_log_config, :associate_resolver_rule, :create_resolver_endpoint, ...]

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

resp = route53resolver.associate_resolver_endpoint_ip_address(params)

See Client for more information.

Aws::Route53Resolver::Errors

Errors returned from Amazon Route 53 Resolver are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Route53Resolver::Errors::ServiceError
  # rescues all errors returned by Amazon Route 53 Resolver
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client