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:


1404
1405
1406
# File 'lib/aws-sdk-ssm/errors.rb', line 1404

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

Instance Method Details

#messageString

Returns:

  • (String)

1409
1410
1411
# File 'lib/aws-sdk-ssm/errors.rb', line 1409

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

#ops_item_idString

Returns:

  • (String)

1419
1420
1421
# File 'lib/aws-sdk-ssm/errors.rb', line 1419

def ops_item_id
  @data[:ops_item_id]
end

#resource_uriString

Returns:

  • (String)

1414
1415
1416
# File 'lib/aws-sdk-ssm/errors.rb', line 1414

def resource_uri
  @data[:resource_uri]
end