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:



1489
1490
1491
# File 'lib/aws-sdk-ssm/errors.rb', line 1489

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

Instance Method Details

#messageString

Returns:

  • (String)


1494
1495
1496
# File 'lib/aws-sdk-ssm/errors.rb', line 1494

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

#ops_item_idString

Returns:

  • (String)


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

def ops_item_id
  @data[:ops_item_id]
end

#resource_uriString

Returns:

  • (String)


1499
1500
1501
# File 'lib/aws-sdk-ssm/errors.rb', line 1499

def resource_uri
  @data[:resource_uri]
end