Class: Aws::SSM::Errors::OpsItemRelatedItemAlreadyExistsException

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) ⇒ OpsItemRelatedItemAlreadyExistsException

Returns a new instance of OpsItemRelatedItemAlreadyExistsException.

Parameters:



1505
1506
1507
# File 'lib/aws-sdk-ssm/errors.rb', line 1505

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

Instance Method Details

#messageString

Returns:

  • (String)


1510
1511
1512
# File 'lib/aws-sdk-ssm/errors.rb', line 1510

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

#ops_item_idString

Returns:

  • (String)


1520
1521
1522
# File 'lib/aws-sdk-ssm/errors.rb', line 1520

def ops_item_id
  @data[:ops_item_id]
end

#resource_uriString

Returns:

  • (String)


1515
1516
1517
# File 'lib/aws-sdk-ssm/errors.rb', line 1515

def resource_uri
  @data[:resource_uri]
end