Class: Aws::CloudFront::Errors::ContinuousDeploymentPolicyAlreadyExists

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ContinuousDeploymentPolicyAlreadyExists.

Parameters:



326
327
328
# File 'lib/aws-sdk-cloudfront/errors.rb', line 326

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

Instance Method Details

#messageString

Returns:

  • (String)


331
332
333
# File 'lib/aws-sdk-cloudfront/errors.rb', line 331

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