« blib/lib/Paws/ComputeOptimizer/GetEnrollmentStatusResponse.pm
↑ Summary
blib/lib/Paws/ComputeOptimizer/GetLambdaFunctionRecommendationsResponse.pm »
| 1 | |||
| 2 | package Paws::ComputeOptimizer::GetLambdaFunctionRecommendations; | ||
| 3 | use Moose; | ||
| 4 | has AccountIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'accountIds' ); | ||
| 5 | has Filters => (is => 'ro', isa => 'ArrayRef[Paws::ComputeOptimizer::LambdaFunctionRecommendationFilter]', traits => ['NameInRequest'], request_name => 'filters' ); | ||
| 6 | has FunctionArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'functionArns' ); | ||
| 7 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' ); | ||
| 8 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' ); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetLambdaFunctionRecommendations'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ComputeOptimizer::GetLambdaFunctionRecommendationsResponse'); | ||
| 14 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::ComputeOptimizer::GetLambdaFunctionRecommendations - Arguments for method GetLambdaFunctionRecommendations on L<Paws::ComputeOptimizer> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method GetLambdaFunctionRecommendations on the | ||
| 26 | L<AWS Compute Optimizer|Paws::ComputeOptimizer> service. Use the attributes of this class | ||
| 27 | as arguments to method GetLambdaFunctionRecommendations. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetLambdaFunctionRecommendations. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $compute-optimizer = Paws->service('ComputeOptimizer'); | ||
| 34 | my $GetLambdaFunctionRecommendationsResponse = | ||
| 35 | $compute -optimizer->GetLambdaFunctionRecommendations( | ||
| 36 | AccountIds => [ 'MyAccountId', ... ], # OPTIONAL | ||
| 37 | Filters => [ | ||
| 38 | { | ||
| 39 | Name => 'Finding', # values: Finding, FindingReasonCode; OPTIONAL | ||
| 40 | Values => [ 'MyFilterValue', ... ], # OPTIONAL | ||
| 41 | }, | ||
| 42 | ... | ||
| 43 | ], # OPTIONAL | ||
| 44 | FunctionArns => [ 'MyFunctionArn', ... ], # OPTIONAL | ||
| 45 | MaxResults => 1, # OPTIONAL | ||
| 46 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 47 | ); | ||
| 48 | |||
| 49 | # Results: | ||
| 50 | my $LambdaFunctionRecommendations = | ||
| 51 | $GetLambdaFunctionRecommendationsResponse->LambdaFunctionRecommendations; | ||
| 52 | my $NextToken = $GetLambdaFunctionRecommendationsResponse->NextToken; | ||
| 53 | |||
| 54 | # Returns a L<Paws::ComputeOptimizer::GetLambdaFunctionRecommendationsResponse> object. | ||
| 55 | |||
| 56 | 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. | ||
| 57 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer/GetLambdaFunctionRecommendations> | ||
| 58 | |||
| 59 | =head1 ATTRIBUTES | ||
| 60 | |||
| 61 | |||
| 62 | =head2 AccountIds => ArrayRef[Str|Undef] | ||
| 63 | |||
| 64 | The ID of the AWS account for which to return function recommendations. | ||
| 65 | |||
| 66 | If your account is the management account of an organization, use this | ||
| 67 | parameter to specify the member account for which you want to return | ||
| 68 | function recommendations. | ||
| 69 | |||
| 70 | Only one account ID can be specified per request. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 Filters => ArrayRef[L<Paws::ComputeOptimizer::LambdaFunctionRecommendationFilter>] | ||
| 75 | |||
| 76 | An array of objects that describe a filter that returns a more specific | ||
| 77 | list of function recommendations. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 FunctionArns => ArrayRef[Str|Undef] | ||
| 82 | |||
| 83 | The Amazon Resource Name (ARN) of the functions for which to return | ||
| 84 | recommendations. | ||
| 85 | |||
| 86 | You can specify a qualified or unqualified ARN. If you specify an | ||
| 87 | unqualified ARN without a function version suffix, Compute Optimizer | ||
| 88 | will return recommendations for the latest (C<$LATEST>) version of the | ||
| 89 | function. If you specify a qualified ARN with a version suffix, Compute | ||
| 90 | Optimizer will return recommendations for the specified function | ||
| 91 | version. For more information about using function versions, see Using | ||
| 92 | versions | ||
| 93 | (https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using) | ||
| 94 | in the I<AWS Lambda Developer Guide>. | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head2 MaxResults => Int | ||
| 99 | |||
| 100 | The maximum number of function recommendations to return with a single | ||
| 101 | request. | ||
| 102 | |||
| 103 | To retrieve the remaining results, make another request with the | ||
| 104 | returned C<NextToken> value. | ||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | =head2 NextToken => Str | ||
| 109 | |||
| 110 | The token to advance to the next page of function recommendations. | ||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | =head1 SEE ALSO | ||
| 116 | |||
| 117 | This class forms part of L<Paws>, documenting arguments for method GetLambdaFunctionRecommendations in L<Paws::ComputeOptimizer> | ||
| 118 | |||
| 119 | =head1 BUGS and CONTRIBUTIONS | ||
| 120 | |||
| 121 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 122 | |||
| 123 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 124 | |||
| 125 | =cut | ||
| 126 |