Class: Aws::ConnectCampaignsV2::Errors::InvalidCampaignStateException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ConnectCampaignsV2::Errors::InvalidCampaignStateException
- Defined in:
- lib/aws-sdk-connectcampaignsv2/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 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 115 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
125 126 127 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 125 def @message || @data[:message] end |
#state ⇒ String
120 121 122 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 120 def state @data[:state] end |
#x_amz_error_type ⇒ String
130 131 132 |
# File 'lib/aws-sdk-connectcampaignsv2/errors.rb', line 130 def x_amz_error_type @data[:x_amz_error_type] end |