You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetAutoScalingGroupRecommendationsRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#account_idsArray<String>

The IDs of the AWS accounts for which to return Auto Scaling group recommendations.

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

Only one account ID can be specified per request.

Returns:

  • (Array<String>)

    The IDs of the AWS accounts for which to return Auto Scaling group recommendations.

#auto_scaling_group_arnsArray<String>

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

Returns:

  • (Array<String>)

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

#filtersArray<Types::Filter>

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

Returns:

  • (Array<Types::Filter>)

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

#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)

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

#next_tokenString

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

Returns:

  • (String)

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