Class: Aws::WorkSpaces::Errors::WorkspacesDefaultRoleNotFoundException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of WorkspacesDefaultRoleNotFoundException.

Parameters:



473
474
475
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/errors.rb', line 473

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

Instance Method Details

#message ⇒ String

Returns:

  • (String)


478
479
480
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/errors.rb', line 478

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