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:



1293
1294
1295
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1293

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

Instance Method Details

#messageString

Returns:

  • (String)


1298
1299
1300
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1298

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

#ops_item_idString

Returns:

  • (String)


1303
1304
1305
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1303

def ops_item_id
  @data[:ops_item_id]
end