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

Class: Aws::Route53::Types::TestDNSAnswerResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb

Overview

A complex type that contains the response to a TestDNSAnswer request.

Instance Attribute Summary collapse

Instance Attribute Details

#nameserverString

The Amazon Route 53 name server used to respond to the request.

Returns:

  • (String)


5010
5011
5012
5013
5014
5015
5016
5017
5018
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5010

class TestDNSAnswerResponse < Struct.new(
  :nameserver,
  :record_name,
  :record_type,
  :record_data,
  :response_code,
  :protocol)
  include Aws::Structure
end

#protocolString

The protocol that Amazon Route 53 used to respond to the request, either UDP or TCP.

Returns:

  • (String)


5010
5011
5012
5013
5014
5015
5016
5017
5018
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5010

class TestDNSAnswerResponse < Struct.new(
  :nameserver,
  :record_name,
  :record_type,
  :record_data,
  :response_code,
  :protocol)
  include Aws::Structure
end

#record_dataArray<String>

A list that contains values that Amazon Route 53 returned for this resource record set.

Returns:

  • (Array<String>)


5010
5011
5012
5013
5014
5015
5016
5017
5018
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5010

class TestDNSAnswerResponse < Struct.new(
  :nameserver,
  :record_name,
  :record_type,
  :record_data,
  :response_code,
  :protocol)
  include Aws::Structure
end

#record_nameString

The name of the resource record set that you submitted a request for.

Returns:

  • (String)


5010
5011
5012
5013
5014
5015
5016
5017
5018
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5010

class TestDNSAnswerResponse < Struct.new(
  :nameserver,
  :record_name,
  :record_type,
  :record_data,
  :response_code,
  :protocol)
  include Aws::Structure
end

#record_typeString

The type of the resource record set that you submitted a request for.

Returns:

  • (String)


5010
5011
5012
5013
5014
5015
5016
5017
5018
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5010

class TestDNSAnswerResponse < Struct.new(
  :nameserver,
  :record_name,
  :record_type,
  :record_data,
  :response_code,
  :protocol)
  include Aws::Structure
end

#response_codeString

A code that indicates whether the request is valid or not. The most common response code is NOERROR, meaning that the request is valid. If the response is not valid, Amazon Route 53 returns a response code that describes the error. For a list of possible response codes, see DNS RCODES on the IANA website.

Returns:

  • (String)


5010
5011
5012
5013
5014
5015
5016
5017
5018
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 5010

class TestDNSAnswerResponse < Struct.new(
  :nameserver,
  :record_name,
  :record_type,
  :record_data,
  :response_code,
  :protocol)
  include Aws::Structure
end