AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-inspector/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 'gems/aws-sdk-inspector/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 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 283

def can_retry
  @data[:can_retry]
end

#messageString

Returns:

  • (String)


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

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