AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-inspector/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 'gems/aws-sdk-inspector/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 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 88

def agents
  @data[:agents]
end

#agents_truncatedString

Returns:

  • (String)


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

def agents_truncated
  @data[:agents_truncated]
end

#can_retryString

Returns:

  • (String)


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

def can_retry
  @data[:can_retry]
end

#messageString

Returns:

  • (String)


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

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