Class: Aws::WorkSpacesWeb::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



170
171
172
# File 'lib/aws-sdk-workspacesweb/errors.rb', line 170

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

Instance Method Details

#messageString

Returns:

  • (String)


175
176
177
# File 'lib/aws-sdk-workspacesweb/errors.rb', line 175

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

#quota_codeString

Returns:

  • (String)


180
181
182
# File 'lib/aws-sdk-workspacesweb/errors.rb', line 180

def quota_code
  @data[:quota_code]
end

#retry_after_secondsString

Returns:

  • (String)


185
186
187
# File 'lib/aws-sdk-workspacesweb/errors.rb', line 185

def retry_after_seconds
  @data[:retry_after_seconds]
end

#service_codeString

Returns:

  • (String)


190
191
192
# File 'lib/aws-sdk-workspacesweb/errors.rb', line 190

def service_code
  @data[:service_code]
end