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:



1525
1526
1527
# File 'lib/aws-sdk-ssm/errors.rb', line 1525

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

Instance Method Details

#messageString

Returns:

  • (String)


1530
1531
1532
# File 'lib/aws-sdk-ssm/errors.rb', line 1530

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

#ops_item_idString

Returns:

  • (String)


1540
1541
1542
# File 'lib/aws-sdk-ssm/errors.rb', line 1540

def ops_item_id
  @data[:ops_item_id]
end

#resource_uriString

Returns:

  • (String)


1535
1536
1537
# File 'lib/aws-sdk-ssm/errors.rb', line 1535

def resource_uri
  @data[:resource_uri]
end