Class: Aws::Route53::Errors::InvalidResourceRecordSetProtectionBatch

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

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidResourceRecordSetProtectionBatch

Returns a new instance of InvalidResourceRecordSetProtectionBatch.

Parameters:



617
618
619
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb', line 617

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#errors ⇒ String

Returns:

  • (String)


627
628
629
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb', line 627

def errors
  @data[:errors]
end

#message ⇒ String

Returns:

  • (String)


622
623
624
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb', line 622

def message
  @message || @data[:message]
end