Class: Aws::ConnectCampaignService::Errors::InvalidCampaignStateException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ConnectCampaignService::Errors::InvalidCampaignStateException
- Defined in:
- gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidCampaignStateException
constructor
A new instance of InvalidCampaignStateException.
-
#message ⇒ String
-
#state ⇒ String
-
#x_amz_error_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidCampaignStateException
Returns a new instance of InvalidCampaignStateException.
115 116 117 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/errors.rb', line 115 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
125 126 127 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/errors.rb', line 125 def @message || @data[:message] end |
#state ⇒ String
120 121 122 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/errors.rb', line 120 def state @data[:state] end |
#x_amz_error_type ⇒ String
130 131 132 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/errors.rb', line 130 def x_amz_error_type @data[:x_amz_error_type] end |