Class: Aws::ComputeOptimizer::Types::GetAutoScalingGroupRecommendationsRequest

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

Overview

Note:

When making an API call, you may pass GetAutoScalingGroupRecommendationsRequest data as a hash:

{
  account_ids: ["AccountId"],
  auto_scaling_group_arns: ["AutoScalingGroupArn"],
  next_token: "NextToken",
  max_results: 1,
  filters: [
    {
      name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
      values: ["FilterValue"],
    },
  ],
  recommendation_preferences: {
    cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idsArray<String>

The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.

Only one account ID can be specified per request.

Returns:

  • (Array<String>)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1224

class GetAutoScalingGroupRecommendationsRequest < Struct.new(
  :account_ids,
  :auto_scaling_group_arns,
  :next_token,
  :max_results,
  :filters,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#auto_scaling_group_arnsArray<String>

The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.

Returns:

  • (Array<String>)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1224

class GetAutoScalingGroupRecommendationsRequest < Struct.new(
  :account_ids,
  :auto_scaling_group_arns,
  :next_token,
  :max_results,
  :filters,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#filtersArray<Types::Filter>

An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.

Returns:



1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1224

class GetAutoScalingGroupRecommendationsRequest < Struct.new(
  :account_ids,
  :auto_scaling_group_arns,
  :next_token,
  :max_results,
  :filters,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of Auto Scaling group recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

Returns:

  • (Integer)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1224

class GetAutoScalingGroupRecommendationsRequest < Struct.new(
  :account_ids,
  :auto_scaling_group_arns,
  :next_token,
  :max_results,
  :filters,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token to advance to the next page of Auto Scaling group recommendations.

Returns:

  • (String)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1224

class GetAutoScalingGroupRecommendationsRequest < Struct.new(
  :account_ids,
  :auto_scaling_group_arns,
  :next_token,
  :max_results,
  :filters,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#recommendation_preferencesTypes::RecommendationPreferences

An object to specify the preferences for the Auto Scaling group recommendations to return in the response.



1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1224

class GetAutoScalingGroupRecommendationsRequest < Struct.new(
  :account_ids,
  :auto_scaling_group_arns,
  :next_token,
  :max_results,
  :filters,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end