Class: Aws::Inspector::Errors::AgentsAlreadyRunningAssessmentException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Inspector::Errors::AgentsAlreadyRunningAssessmentException
- Defined in:
- lib/aws-sdk-inspector/errors.rb
Instance Method Summary collapse
- #agents ⇒ String
- #agents_truncated ⇒ String
- #can_retry ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AgentsAlreadyRunningAssessmentException
constructor
A new instance of AgentsAlreadyRunningAssessmentException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AgentsAlreadyRunningAssessmentException
Returns a new instance of AgentsAlreadyRunningAssessmentException.
78 79 80 |
# File 'lib/aws-sdk-inspector/errors.rb', line 78 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#agents ⇒ String
88 89 90 |
# File 'lib/aws-sdk-inspector/errors.rb', line 88 def agents @data[:agents] end |
#agents_truncated ⇒ String
93 94 95 |
# File 'lib/aws-sdk-inspector/errors.rb', line 93 def agents_truncated @data[:agents_truncated] end |
#can_retry ⇒ String
98 99 100 |
# File 'lib/aws-sdk-inspector/errors.rb', line 98 def can_retry @data[:can_retry] end |
#message ⇒ String
83 84 85 |
# File 'lib/aws-sdk-inspector/errors.rb', line 83 def @message || @data[:message] end |