Class: Aws::Inspector::Errors::ServiceTemporarilyUnavailableException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ServiceTemporarilyUnavailableException.

Parameters:



273
274
275
# File 'lib/aws-sdk-inspector/errors.rb', line 273

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

Instance Method Details

#can_retryString

Returns:

  • (String)


283
284
285
# File 'lib/aws-sdk-inspector/errors.rb', line 283

def can_retry
  @data[:can_retry]
end

#messageString

Returns:

  • (String)


278
279
280
# File 'lib/aws-sdk-inspector/errors.rb', line 278

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