Class: Aws::ComputeOptimizer::Types::GetRecommendationError

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-computeoptimizer/types.rb

Overview

Describes an error experienced when getting recommendations.

For example, an error is returned if you request recommendations for an unsupported Auto Scaling group, or if you request recommendations for an instance of an unsupported instance family.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code ⇒ String

The error code.

Returns:

  • (String)


3730
3731
3732
3733
3734
3735
3736
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 3730

class GetRecommendationError < Struct.new(
  :identifier,
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#identifier ⇒ String

The ID of the error.

Returns:

  • (String)


3730
3731
3732
3733
3734
3735
3736
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 3730

class GetRecommendationError < Struct.new(
  :identifier,
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#message ⇒ String

The message, or reason, for the error.

Returns:

  • (String)


3730
3731
3732
3733
3734
3735
3736
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 3730

class GetRecommendationError < Struct.new(
  :identifier,
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end