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

Class: Aws::AlexaForBusiness::Errors::ResourceInUseException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceInUseException

Parameters:



210
211
212
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/errors.rb', line 210

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

Instance Method Details

#client_request_tokenString

Returns:

  • (String)


220
221
222
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/errors.rb', line 220

def client_request_token
  @data[:client_request_token]
end

#messageString

Returns:

  • (String)


215
216
217
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/errors.rb', line 215

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