Class: Aws::SecurityLake::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



152
153
154
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/errors.rb', line 152

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

Instance Method Details

#messageString

Returns:

  • (String)


157
158
159
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/errors.rb', line 157

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

#quota_codeString

Returns:

  • (String)


162
163
164
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/errors.rb', line 162

def quota_code
  @data[:quota_code]
end

#retry_after_secondsString

Returns:

  • (String)


167
168
169
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/errors.rb', line 167

def retry_after_seconds
  @data[:retry_after_seconds]
end

#retryable?Boolean

Returns:

  • (Boolean)


176
177
178
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/errors.rb', line 176

def retryable?
  true
end

#service_codeString

Returns:

  • (String)


172
173
174
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/errors.rb', line 172

def service_code
  @data[:service_code]
end

#throttling?Boolean

Returns:

  • (Boolean)


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

def throttling?
  true
end