LambdaFunctionRecommendation class
Describes an AWS Lambda function recommendation.
Constructors
-
LambdaFunctionRecommendation({String? accountId, int? currentMemorySize, LambdaFunctionRecommendationFinding? finding, List<
LambdaFunctionRecommendationFindingReasonCode> ? findingReasonCodes, String? functionArn, String? functionVersion, DateTime? lastRefreshTimestamp, double? lookbackPeriodInDays, List<LambdaFunctionMemoryRecommendationOption> ? memorySizeRecommendationOptions, int? numberOfInvocations, List<LambdaFunctionUtilizationMetric> ? utilizationMetrics}) -
LambdaFunctionRecommendation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- accountId → String?
-
The AWS account ID of the function.
final
- currentMemorySize → int?
-
The amount of memory, in MB, that's allocated to the current function.
final
- finding → LambdaFunctionRecommendationFinding?
-
The finding classification for the function.
final
-
findingReasonCodes
→ List<
LambdaFunctionRecommendationFindingReasonCode> ? -
The reason for the finding classification of the function.
Reason codes include:
final
- functionArn → String?
-
The Amazon Resource Name (ARN) of the current function.
final
- functionVersion → String?
-
The version number of the current function.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastRefreshTimestamp → DateTime?
-
The time stamp of when the function recommendation was last refreshed.
final
- lookbackPeriodInDays → double?
-
The number of days for which utilization metrics were analyzed for the
function.
final
-
memorySizeRecommendationOptions
→ List<
LambdaFunctionMemoryRecommendationOption> ? -
An array of objects that describe the memory configuration recommendation
options for the function.
final
- numberOfInvocations → int?
-
The number of times your function code was executed during the look-back
period.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
utilizationMetrics
→ List<
LambdaFunctionUtilizationMetric> ? -
An array of objects that describe the utilization metrics of the function.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited