Paws::ComputeOptimizer::GetEC2InstanceRecommendations - Arguments for method GetEC2InstanceRecommendations on Paws::ComputeOptimizer
This class represents the parameters used for calling the method GetEC2InstanceRecommendations on the AWS Compute Optimizer service. Use the attributes of this class as arguments to method GetEC2InstanceRecommendations.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetEC2InstanceRecommendations.
my $compute-optimizer = Paws->service('ComputeOptimizer'); my $GetEC2InstanceRecommendationsResponse = $compute -optimizer->GetEC2InstanceRecommendations( AccountIds => [ 'MyAccountId', ... ], # OPTIONAL Filters => [ { Name => 'Finding' , # values: Finding, FindingReasonCodes, RecommendationSourceType; OPTIONAL Values => [ 'MyFilterValue', ... ], # OPTIONAL }, ... ], # OPTIONAL InstanceArns => [ 'MyInstanceArn', ... ], # OPTIONAL MaxResults => 1, # OPTIONAL NextToken => 'MyNextToken', # OPTIONAL ); # Results: my $Errors = $GetEC2InstanceRecommendationsResponse->Errors; my $InstanceRecommendations = $GetEC2InstanceRecommendationsResponse->InstanceRecommendations; my $NextToken = $GetEC2InstanceRecommendationsResponse->NextToken;
# Returns a Paws::ComputeOptimizer::GetEC2InstanceRecommendationsResponse 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/GetEC2InstanceRecommendations
The ID of the AWS account for which to return instance 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 instance recommendations.
Only one account ID can be specified per request.
An array of objects that describe a filter that returns a more specific list of instance recommendations.
The Amazon Resource Name (ARN) of the instances for which to return recommendations.
The maximum number of instance recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned NextToken value.
NextToken
The token to advance to the next page of instance recommendations.
This class forms part of Paws, documenting arguments for method GetEC2InstanceRecommendations in Paws::ComputeOptimizer
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.