Method: AWS::Route53::Client#list_resource_record_sets

Defined in:
lib/aws/route_53/client.rb

#list_resource_record_sets(options = {}) ⇒ Core::Response

Calls the GET ListResourceRecordSets API operation.

  • :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 request to list.

  • :start_record_type - (String) The DNS type at which to begin the listing of resource record sets. Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT Values for Alias Resource Record Sets: A | AAAA Constraint: Specifying type without specifying name returns an InvalidInput error.

  • :start_record_identifier - (String) Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of ListResourceRecordSetsResponse$NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type.

  • :max_items - (Integer) The maximum number of records you want in the response body.

Parameters:

  • options (Hash) (defaults to: {})

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :resource_record_sets - (Array<Hash>)

      • :name - (String)

      • :type - (String)

      • :set_identifier - (String)

      • :weight - (Integer)

      • :region - (String)

      • :failover - (String)

      • :ttl - (Integer)

      • :resource_records - (Array<Hash>)

        • :value - (String)

      • :alias_target - (Hash)

        • :hosted_zone_id - (String)

        • :dns_name - (String)

        • :evaluate_target_health - (Boolean)

      • :health_check_id - (String)

    • :is_truncated - (Boolean)

    • :next_record_name - (String)

    • :next_record_type - (String)

    • :next_record_identifier - (String)

    • :max_items - (Integer)



# File 'lib/aws/route_53/client.rb', line 335