Class: Aws::Inspector::Errors::AgentsAlreadyRunningAssessmentException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AgentsAlreadyRunningAssessmentException.

Parameters:



78
79
80
# File 'lib/aws-sdk-inspector/errors.rb', line 78

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

Instance Method Details

#agentsString

Returns:

  • (String)


88
89
90
# File 'lib/aws-sdk-inspector/errors.rb', line 88

def agents
  @data[:agents]
end

#agents_truncatedString

Returns:

  • (String)


93
94
95
# File 'lib/aws-sdk-inspector/errors.rb', line 93

def agents_truncated
  @data[:agents_truncated]
end

#can_retryString

Returns:

  • (String)


98
99
100
# File 'lib/aws-sdk-inspector/errors.rb', line 98

def can_retry
  @data[:can_retry]
end

#messageString

Returns:

  • (String)


83
84
85
# File 'lib/aws-sdk-inspector/errors.rb', line 83

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