Class: Aws::AccessAnalyzer::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



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

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

Instance Method Details

#messageString

Returns:

  • (String)


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

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

#retry_after_secondsString

Returns:

  • (String)


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

def retry_after_seconds
  @data[:retry_after_seconds]
end

#retryable?Boolean

Returns:

  • (Boolean)


194
195
196
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/errors.rb', line 194

def retryable?
  true
end

#throttling?Boolean

Returns:

  • (Boolean)


198
199
200
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/errors.rb', line 198

def throttling?
  true
end