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

Inherits:
ServiceError
  • Object
show all
Defined in:
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:


1319
1320
1321
# File 'lib/aws-sdk-ssm/errors.rb', line 1319

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

Instance Method Details

#messageString

Returns:

  • (String)

1324
1325
1326
# File 'lib/aws-sdk-ssm/errors.rb', line 1324

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

#ops_item_idString

Returns:

  • (String)

1329
1330
1331
# File 'lib/aws-sdk-ssm/errors.rb', line 1329

def ops_item_id
  @data[:ops_item_id]
end