Class: Aws::ConnectCampaignsV2::Errors::InvalidCampaignStateException

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) ⇒ InvalidCampaignStateException

Returns a new instance of InvalidCampaignStateException.

Parameters:



115
116
117
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 115

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

Instance Method Details

#messageString

Returns:

  • (String)


125
126
127
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 125

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

#stateString

Returns:

  • (String)


120
121
122
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 120

def state
  @data[:state]
end

#x_amz_error_typeString

Returns:

  • (String)


130
131
132
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 130

def x_amz_error_type
  @data[:x_amz_error_type]
end