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:


1455
1456
1457
# File 'lib/aws-sdk-ssm/errors.rb', line 1455

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

Instance Method Details

#messageString

Returns:

  • (String)

1460
1461
1462
# File 'lib/aws-sdk-ssm/errors.rb', line 1460

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

#ops_item_idString

Returns:

  • (String)

1470
1471
1472
# File 'lib/aws-sdk-ssm/errors.rb', line 1470

def ops_item_id
  @data[:ops_item_id]
end

#resource_uriString

Returns:

  • (String)

1465
1466
1467
# File 'lib/aws-sdk-ssm/errors.rb', line 1465

def resource_uri
  @data[:resource_uri]
end