NAME
Paws::ComputeOptimizer::ExportLambdaFunctionRecommendations - Arguments for method ExportLambdaFunctionRecommendations on Paws::ComputeOptimizer
DESCRIPTION
This class represents the parameters used for calling the method ExportLambdaFunctionRecommendations on the AWS Compute Optimizer service. Use the attributes of this class as arguments to method ExportLambdaFunctionRecommendations.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ExportLambdaFunctionRecommendations.
SYNOPSIS
my $compute-optimizer = Paws->service('ComputeOptimizer');
my $ExportLambdaFunctionRecommendationsResponse =
$compute -optimizer->ExportLambdaFunctionRecommendations(
S3DestinationConfig => {
Bucket => 'MyDestinationBucket', # OPTIONAL
KeyPrefix => 'MyDestinationKeyPrefix', # OPTIONAL
},
AccountIds => [ 'MyAccountId', ... ], # OPTIONAL
FieldsToExport => [
'AccountId',
... # values: AccountId, FunctionArn, FunctionVersion, Finding, FindingReasonCodes, NumberOfInvocations, UtilizationMetricsDurationMaximum, UtilizationMetricsDurationAverage, UtilizationMetricsMemoryMaximum, UtilizationMetricsMemoryAverage, LookbackPeriodInDays, CurrentConfigurationMemorySize, CurrentConfigurationTimeout, CurrentCostTotal, CurrentCostAverage, RecommendationOptionsConfigurationMemorySize, RecommendationOptionsCostLow, RecommendationOptionsCostHigh, RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound, RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound, RecommendationOptionsProjectedUtilizationMetricsDurationExpected, LastRefreshTimestamp
], # OPTIONAL
FileFormat => 'Csv', # OPTIONAL
Filters => [
{
Name => 'Finding', # values: Finding, FindingReasonCode; OPTIONAL
Values => [ 'MyFilterValue', ... ], # OPTIONAL
},
...
], # OPTIONAL
IncludeMemberAccounts => 1, # OPTIONAL
);
# Results:
my $JobId = $ExportLambdaFunctionRecommendationsResponse->JobId;
my $S3Destination =
$ExportLambdaFunctionRecommendationsResponse->S3Destination;
# Returns a Paws::ComputeOptimizer::ExportLambdaFunctionRecommendationsResponse 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/ExportLambdaFunctionRecommendations
ATTRIBUTES
AccountIds => ArrayRef[Str|Undef]
The IDs of the AWS accounts for which to export Lambda function recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
FieldsToExport => ArrayRef[Str|Undef]
The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files) in the Compute Optimizer User Guide.
FileFormat => Str
The format of the export file.
The only export file format currently supported is Csv
.
Valid values are: "Csv"
Filters => ArrayRef[Paws::ComputeOptimizer::LambdaFunctionRecommendationFilter]
An array of objects that describe a filter to export a more specific set of Lambda function recommendations.
IncludeMemberAccounts => Bool
Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and AWS Organizations trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) in the AWS Compute Optimizer User Guide.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
REQUIRED S3DestinationConfig => Paws::ComputeOptimizer::S3DestinationConfig
SEE ALSO
This class forms part of Paws, documenting arguments for method ExportLambdaFunctionRecommendations 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