Class: Aws::MainframeModernization::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



213
214
215
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 213

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

Instance Method Details

#messageString

Returns:

  • (String)


218
219
220
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 218

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

#quota_codeString

Returns:

  • (String)


223
224
225
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 223

def quota_code
  @data[:quota_code]
end

#retry_after_secondsString

Returns:

  • (String)


228
229
230
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 228

def retry_after_seconds
  @data[:retry_after_seconds]
end

#retryable?Boolean

Returns:

  • (Boolean)


237
238
239
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 237

def retryable?
  true
end

#service_codeString

Returns:

  • (String)


233
234
235
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 233

def service_code
  @data[:service_code]
end

#throttling?Boolean

Returns:

  • (Boolean)


241
242
243
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 241

def throttling?
  true
end