The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::ComputeOptimizer::GetAutoScalingGroupRecommendations - Arguments for method GetAutoScalingGroupRecommendations on Paws::ComputeOptimizer

DESCRIPTION

This class represents the parameters used for calling the method GetAutoScalingGroupRecommendations on the AWS Compute Optimizer service. Use the attributes of this class as arguments to method GetAutoScalingGroupRecommendations.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetAutoScalingGroupRecommendations.

SYNOPSIS

    my $compute-optimizer = Paws->service('ComputeOptimizer');
    my $GetAutoScalingGroupRecommendationsResponse =
      $compute -optimizer->GetAutoScalingGroupRecommendations(
      AccountIds           => [ 'MyAccountId',           ... ],    # OPTIONAL
      AutoScalingGroupArns => [ 'MyAutoScalingGroupArn', ... ],    # OPTIONAL
      Filters              => [
        {
          Name => 'Finding'
          , # values: Finding, FindingReasonCodes, RecommendationSourceType; OPTIONAL
          Values => [ 'MyFilterValue', ... ],    # OPTIONAL
        },
        ...
      ],    # OPTIONAL
      MaxResults => 1,                # OPTIONAL
      NextToken  => 'MyNextToken',    # OPTIONAL
      );

    # Results:
    my $AutoScalingGroupRecommendations =
      $GetAutoScalingGroupRecommendationsResponse
      ->AutoScalingGroupRecommendations;
    my $Errors    = $GetAutoScalingGroupRecommendationsResponse->Errors;
    my $NextToken = $GetAutoScalingGroupRecommendationsResponse->NextToken;

# Returns a Paws::ComputeOptimizer::GetAutoScalingGroupRecommendationsResponse object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer/GetAutoScalingGroupRecommendations

ATTRIBUTES

AccountIds => ArrayRef[Str|Undef]

The ID of the AWS 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.

AutoScalingGroupArns => ArrayRef[Str|Undef]

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

Filters => ArrayRef[Paws::ComputeOptimizer::Filter]

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

MaxResults => Int

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.

NextToken => Str

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

SEE ALSO

This class forms part of Paws, documenting arguments for method GetAutoScalingGroupRecommendations in Paws::ComputeOptimizer

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues