Class: Aws::SSM::Errors::OpsItemAlreadyExistsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of OpsItemAlreadyExistsException.

Parameters:



1407
1408
1409
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1407

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

Instance Method Details

#messageString

Returns:

  • (String)


1412
1413
1414
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1412

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

#ops_item_idString

Returns:

  • (String)


1417
1418
1419
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1417

def ops_item_id
  @data[:ops_item_id]
end