You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::Route53
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon Route 53.
Aws::Route53::Client
The Client class provides one-to-one mapping for each API operation.
route53 = Aws::Route53::Client.new(region: 'us-east-1')
route53.operation_names
#=> [:associate_vpc_with_hosted_zone, :change_resource_record_sets, :change_tags_for_resource, :create_health_check, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = route53.associate_vpc_with_hosted_zone(params)
See Client for more information.
Aws::Route53::Errors
Errors returned from Amazon Route 53 are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::Route53::Errors::ServiceError
# rescues all errors returned by Amazon Route 53
end
See Errors for more information.