Class: Aws::ComputeOptimizer::Types::GetEC2InstanceRecommendationsResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#errorsArray<Types::GetRecommendationError>

An array of objects that describe errors of the request.

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

Returns:



2899
2900
2901
2902
2903
2904
2905
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2899

class GetEC2InstanceRecommendationsResponse < Struct.new(
  :next_token,
  :instance_recommendations,
  :errors)
  SENSITIVE = []
  include Aws::Structure
end

#instance_recommendationsArray<Types::InstanceRecommendation>

An array of objects that describe instance recommendations.

Returns:



2899
2900
2901
2902
2903
2904
2905
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2899

class GetEC2InstanceRecommendationsResponse < Struct.new(
  :next_token,
  :instance_recommendations,
  :errors)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token to use to advance to the next page of instance recommendations.

This value is null when there are no more pages of instance recommendations to return.

Returns:

  • (String)


2899
2900
2901
2902
2903
2904
2905
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2899

class GetEC2InstanceRecommendationsResponse < Struct.new(
  :next_token,
  :instance_recommendations,
  :errors)
  SENSITIVE = []
  include Aws::Structure
end