NAME
Paws::ComputeOptimizer::LambdaFunctionUtilizationMetric
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::ComputeOptimizer::LambdaFunctionUtilizationMetric object:
$service_obj->Method(Att1 => { Name => $value, ..., Value => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::ComputeOptimizer::LambdaFunctionUtilizationMetric object:
$result = $service_obj->Method(...);
$result->Att1->Name
DESCRIPTION
Describes a utilization metric of an AWS Lambda function.
ATTRIBUTES
Name => Str
The name of the utilization metric.
The following utilization metrics are available:
Duration
- The amount of time that your function code spends processing an event.Memory
- The amount of memory used per invocation.
Statistic => Str
The statistic of the utilization metric.
The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs return utilization metrics using only the Maximum
statistic, which is the highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization metrics using the Average
statistic, which is the value of Sum
/ SampleCount
during the specified period. For more information, see Viewing resource recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) in the AWS Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html).
Value => Num
The value of the utilization metric.
SEE ALSO
This class forms part of Paws, describing an object used 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