Class: Aws::Inspector::Errors::AssessmentRunInProgressException

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) ⇒ AssessmentRunInProgressException

Returns a new instance of AssessmentRunInProgressException.

Parameters:



106
107
108
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 106

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

Instance Method Details

#assessment_run_arnsString

Returns:

  • (String)


116
117
118
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 116

def assessment_run_arns
  @data[:assessment_run_arns]
end

#assessment_run_arns_truncatedString

Returns:

  • (String)


121
122
123
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 121

def assessment_run_arns_truncated
  @data[:assessment_run_arns_truncated]
end

#can_retryString

Returns:

  • (String)


126
127
128
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 126

def can_retry
  @data[:can_retry]
end

#messageString

Returns:

  • (String)


111
112
113
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/errors.rb', line 111

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