lib/aws/route_53/client.rb in aws-sdk-1.6.6 vs lib/aws/route_53/client.rb in aws-sdk-1.6.7
- old
+ new
@@ -11,19 +11,23 @@
# ANY KIND, either express or implied. See the License for the specific
# language governing permissions and limitations under the License.
module AWS
class Route53
+
+ # Client class for Route53.
class Client < Core::RESTClient
+ define_client_methods('2012-02-29')
+
# @private
CACHEABLE_REQUESTS = Set[]
## client methods ##
+ # @!method change_resource_record_sets(options = {})
# Calls the POST ChangeResourceRecordSets API operation.
- # @method change_resource_record_sets(options = {})
# @param [Hash] options
# * +:hosted_zone_id+ - *required* - (String) Alias resource record sets
# only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for
# the LoadBalancer. Currently, Route 53 supports alias resource record
# sets only for Elastic Load Balancing. For more information, an
@@ -91,12 +95,12 @@
# * +:id+ - (String)
# * +:status+ - (String)
# * +:submitted_at+ - (Time)
# * +:comment+ - (String)
+ # @!method create_hosted_zone(options = {})
# Calls the POST CreateHostedZone API operation.
- # @method create_hosted_zone(options = {})
# @param [Hash] options
# * +:name+ - *required* - (String) The name of the domain. This must be
# a fully-specified domain, for example, www.example.com. The trailing
# dot is optional; Route 53 assumes that the domain name is fully
# qualified. This means that Route 53 treats www.example.com (without a
@@ -135,12 +139,12 @@
# * +:submitted_at+ - (Time)
# * +:comment+ - (String)
# * +:delegation_set+ - (Hash)
# * +:name_servers+ - (Array<String>)
+ # @!method delete_hosted_zone(options = {})
# Calls the DELETE DeleteHostedZone API operation.
- # @method delete_hosted_zone(options = {})
# @param [Hash] options
# * +:id+ - *required* - (String) The ID of the request. Include this ID
# in a call to GetChange to track when the change has propagated to all
# Route 53 DNS servers.
# @return [Core::Response]
@@ -150,12 +154,12 @@
# * +:id+ - (String)
# * +:status+ - (String)
# * +:submitted_at+ - (Time)
# * +:comment+ - (String)
+ # @!method get_change(options = {})
# Calls the GET GetChange API operation.
- # @method get_change(options = {})
# @param [Hash] options
# * +:id+ - *required* - (String) The ID of the change batch request. The
# value that you specify here is the value that
# ChangeResourceRecordSets returned in the Id element when you
# submitted the request.
@@ -166,12 +170,12 @@
# * +:id+ - (String)
# * +:status+ - (String)
# * +:submitted_at+ - (Time)
# * +:comment+ - (String)
+ # @!method get_hosted_zone(options = {})
# Calls the GET GetHostedZone API operation.
- # @method get_hosted_zone(options = {})
# @param [Hash] options
# * +:id+ - *required* - (String) The ID of the hosted zone for which you
# want to get a list of the name servers in the delegation set.
# @return [Core::Response]
# The #data method of the response object returns
@@ -184,12 +188,12 @@
# * +:comment+ - (String)
# * +:resource_record_set_count+ - (Integer)
# * +:delegation_set+ - (Hash)
# * +:name_servers+ - (Array<String>)
+ # @!method list_hosted_zones(options = {})
# Calls the GET ListHostedZones API operation.
- # @method list_hosted_zones(options = {})
# @param [Hash] options
# * +:marker+ - (String) If the request returned more than one page of
# results, submit another request and specify the value of NextMarker
# from the last response in the marker parameter to get the next page
# of results.
@@ -208,12 +212,12 @@
# * +:marker+ - (String)
# * +:is_truncated+ - (Boolean)
# * +:next_marker+ - (String)
# * +:max_items+ - (Integer)
+ # @!method list_resource_record_sets(options = {})
# Calls the GET ListResourceRecordSets API operation.
- # @method list_resource_record_sets(options = {})
# @param [Hash] options
# * +:hosted_zone_id+ - *required* - (String) The ID of the hosted zone
# that contains the resource record sets that you want to get.
# * +:start_record_name+ - (String) The first name in the lexicographic
# ordering of domain names that you want the ListResourceRecordSets
@@ -252,11 +256,9 @@
# * +:next_record_type+ - (String)
# * +:next_record_identifier+ - (String)
# * +:max_items+ - (Integer)
## end client methods ##
-
- define_client_methods('2012-02-29')
end
end
end