Class: Aws::ConnectCampaignsV2::Errors::ThrottlingException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-connectcampaignsv2/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 'lib/aws-sdk-connectcampaignsv2/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 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 205

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

#retryable?Boolean

Returns:

  • (Boolean)


214
215
216
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 214

def retryable?
  true
end

#x_amz_error_typeString

Returns:

  • (String)


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

def x_amz_error_type
  @data[:x_amz_error_type]
end