Class: Aws::Mgn::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



200
201
202
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/errors.rb', line 200

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

Instance Method Details

#messageString

Returns:

  • (String)


205
206
207
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/errors.rb', line 205

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

#quota_codeString

Returns:

  • (String)


210
211
212
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/errors.rb', line 210

def quota_code
  @data[:quota_code]
end

#retry_after_secondsString

Returns:

  • (String)


215
216
217
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/errors.rb', line 215

def retry_after_seconds
  @data[:retry_after_seconds]
end

#service_codeString

Returns:

  • (String)


220
221
222
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/errors.rb', line 220

def service_code
  @data[:service_code]
end