You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SSM::Errors::OpsItemAlreadyExistsException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OpsItemAlreadyExistsException

Returns a new instance of OpsItemAlreadyExistsException

Parameters:



1089
1090
1091
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1089

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

Instance Method Details

#messageString

Returns:

  • (String)


1094
1095
1096
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1094

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

#ops_item_idString

Returns:

  • (String)


1099
1100
1101
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1099

def ops_item_id
  @data[:ops_item_id]
end