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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-computeoptimizer/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:



752
753
754
755
756
757
758
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 752

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:



752
753
754
755
756
757
758
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 752

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)


752
753
754
755
756
757
758
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 752

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