Class: Aws::AppSync::Errors::ApiKeyValidityOutOfBoundsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ApiKeyValidityOutOfBoundsException.

Parameters:



81
82
83
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/errors.rb', line 81

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

Instance Method Details

#messageString

Returns:

  • (String)


86
87
88
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/errors.rb', line 86

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