AWS SDK for C++  1.9.153
AWS SDK for C++
Public Member Functions | List of all members
Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation Class Reference

#include <LambdaFunctionRecommendation.h>

Public Member Functions

 LambdaFunctionRecommendation ()
 
 LambdaFunctionRecommendation (Aws::Utils::Json::JsonView jsonValue)
 
LambdaFunctionRecommendationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetFunctionArn () const
 
bool FunctionArnHasBeenSet () const
 
void SetFunctionArn (const Aws::String &value)
 
void SetFunctionArn (Aws::String &&value)
 
void SetFunctionArn (const char *value)
 
LambdaFunctionRecommendationWithFunctionArn (const Aws::String &value)
 
LambdaFunctionRecommendationWithFunctionArn (Aws::String &&value)
 
LambdaFunctionRecommendationWithFunctionArn (const char *value)
 
const Aws::StringGetFunctionVersion () const
 
bool FunctionVersionHasBeenSet () const
 
void SetFunctionVersion (const Aws::String &value)
 
void SetFunctionVersion (Aws::String &&value)
 
void SetFunctionVersion (const char *value)
 
LambdaFunctionRecommendationWithFunctionVersion (const Aws::String &value)
 
LambdaFunctionRecommendationWithFunctionVersion (Aws::String &&value)
 
LambdaFunctionRecommendationWithFunctionVersion (const char *value)
 
const Aws::StringGetAccountId () const
 
bool AccountIdHasBeenSet () const
 
void SetAccountId (const Aws::String &value)
 
void SetAccountId (Aws::String &&value)
 
void SetAccountId (const char *value)
 
LambdaFunctionRecommendationWithAccountId (const Aws::String &value)
 
LambdaFunctionRecommendationWithAccountId (Aws::String &&value)
 
LambdaFunctionRecommendationWithAccountId (const char *value)
 
int GetCurrentMemorySize () const
 
bool CurrentMemorySizeHasBeenSet () const
 
void SetCurrentMemorySize (int value)
 
LambdaFunctionRecommendationWithCurrentMemorySize (int value)
 
long long GetNumberOfInvocations () const
 
bool NumberOfInvocationsHasBeenSet () const
 
void SetNumberOfInvocations (long long value)
 
LambdaFunctionRecommendationWithNumberOfInvocations (long long value)
 
const Aws::Vector< LambdaFunctionUtilizationMetric > & GetUtilizationMetrics () const
 
bool UtilizationMetricsHasBeenSet () const
 
void SetUtilizationMetrics (const Aws::Vector< LambdaFunctionUtilizationMetric > &value)
 
void SetUtilizationMetrics (Aws::Vector< LambdaFunctionUtilizationMetric > &&value)
 
LambdaFunctionRecommendationWithUtilizationMetrics (const Aws::Vector< LambdaFunctionUtilizationMetric > &value)
 
LambdaFunctionRecommendationWithUtilizationMetrics (Aws::Vector< LambdaFunctionUtilizationMetric > &&value)
 
LambdaFunctionRecommendationAddUtilizationMetrics (const LambdaFunctionUtilizationMetric &value)
 
LambdaFunctionRecommendationAddUtilizationMetrics (LambdaFunctionUtilizationMetric &&value)
 
double GetLookbackPeriodInDays () const
 
bool LookbackPeriodInDaysHasBeenSet () const
 
void SetLookbackPeriodInDays (double value)
 
LambdaFunctionRecommendationWithLookbackPeriodInDays (double value)
 
const Aws::Utils::DateTimeGetLastRefreshTimestamp () const
 
bool LastRefreshTimestampHasBeenSet () const
 
void SetLastRefreshTimestamp (const Aws::Utils::DateTime &value)
 
void SetLastRefreshTimestamp (Aws::Utils::DateTime &&value)
 
LambdaFunctionRecommendationWithLastRefreshTimestamp (const Aws::Utils::DateTime &value)
 
LambdaFunctionRecommendationWithLastRefreshTimestamp (Aws::Utils::DateTime &&value)
 
const LambdaFunctionRecommendationFindingGetFinding () const
 
bool FindingHasBeenSet () const
 
void SetFinding (const LambdaFunctionRecommendationFinding &value)
 
void SetFinding (LambdaFunctionRecommendationFinding &&value)
 
LambdaFunctionRecommendationWithFinding (const LambdaFunctionRecommendationFinding &value)
 
LambdaFunctionRecommendationWithFinding (LambdaFunctionRecommendationFinding &&value)
 
const Aws::Vector< LambdaFunctionRecommendationFindingReasonCode > & GetFindingReasonCodes () const
 
bool FindingReasonCodesHasBeenSet () const
 
void SetFindingReasonCodes (const Aws::Vector< LambdaFunctionRecommendationFindingReasonCode > &value)
 
void SetFindingReasonCodes (Aws::Vector< LambdaFunctionRecommendationFindingReasonCode > &&value)
 
LambdaFunctionRecommendationWithFindingReasonCodes (const Aws::Vector< LambdaFunctionRecommendationFindingReasonCode > &value)
 
LambdaFunctionRecommendationWithFindingReasonCodes (Aws::Vector< LambdaFunctionRecommendationFindingReasonCode > &&value)
 
LambdaFunctionRecommendationAddFindingReasonCodes (const LambdaFunctionRecommendationFindingReasonCode &value)
 
LambdaFunctionRecommendationAddFindingReasonCodes (LambdaFunctionRecommendationFindingReasonCode &&value)
 
const Aws::Vector< LambdaFunctionMemoryRecommendationOption > & GetMemorySizeRecommendationOptions () const
 
bool MemorySizeRecommendationOptionsHasBeenSet () const
 
void SetMemorySizeRecommendationOptions (const Aws::Vector< LambdaFunctionMemoryRecommendationOption > &value)
 
void SetMemorySizeRecommendationOptions (Aws::Vector< LambdaFunctionMemoryRecommendationOption > &&value)
 
LambdaFunctionRecommendationWithMemorySizeRecommendationOptions (const Aws::Vector< LambdaFunctionMemoryRecommendationOption > &value)
 
LambdaFunctionRecommendationWithMemorySizeRecommendationOptions (Aws::Vector< LambdaFunctionMemoryRecommendationOption > &&value)
 
LambdaFunctionRecommendationAddMemorySizeRecommendationOptions (const LambdaFunctionMemoryRecommendationOption &value)
 
LambdaFunctionRecommendationAddMemorySizeRecommendationOptions (LambdaFunctionMemoryRecommendationOption &&value)
 

Detailed Description

Describes an Lambda function recommendation.

See Also:

AWS API Reference

Definition at line 37 of file LambdaFunctionRecommendation.h.

Constructor & Destructor Documentation

◆ LambdaFunctionRecommendation() [1/2]

Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::LambdaFunctionRecommendation ( )

◆ LambdaFunctionRecommendation() [2/2]

Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::LambdaFunctionRecommendation ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AccountIdHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::AccountIdHasBeenSet ( ) const
inline

The Amazon Web Services account ID of the function.

Definition at line 136 of file LambdaFunctionRecommendation.h.

◆ AddFindingReasonCodes() [1/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::AddFindingReasonCodes ( const LambdaFunctionRecommendationFindingReasonCode value)
inline

The reason for the finding classification of the function.

Functions that have a finding classification of Optimized don't have a finding reason code.

Finding reason codes for functions include:

  • MemoryOverprovisioned — The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of the NotOptimized finding classification.

  • MemoryUnderprovisioned — The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of the NotOptimized finding classification.

  • InsufficientData — The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of the Unavailable finding classification.

  • Inconclusive — The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of the Unavailable finding classification.

Definition at line 659 of file LambdaFunctionRecommendation.h.

◆ AddFindingReasonCodes() [2/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::AddFindingReasonCodes ( LambdaFunctionRecommendationFindingReasonCode &&  value)
inline

The reason for the finding classification of the function.

Functions that have a finding classification of Optimized don't have a finding reason code.

Finding reason codes for functions include:

  • MemoryOverprovisioned — The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of the NotOptimized finding classification.

  • MemoryUnderprovisioned — The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of the NotOptimized finding classification.

  • InsufficientData — The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of the Unavailable finding classification.

  • Inconclusive — The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of the Unavailable finding classification.

Definition at line 687 of file LambdaFunctionRecommendation.h.

◆ AddMemorySizeRecommendationOptions() [1/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::AddMemorySizeRecommendationOptions ( const LambdaFunctionMemoryRecommendationOption value)
inline

An array of objects that describe the memory configuration recommendation options for the function.

Definition at line 730 of file LambdaFunctionRecommendation.h.

◆ AddMemorySizeRecommendationOptions() [2/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::AddMemorySizeRecommendationOptions ( LambdaFunctionMemoryRecommendationOption &&  value)
inline

An array of objects that describe the memory configuration recommendation options for the function.

Definition at line 736 of file LambdaFunctionRecommendation.h.

◆ AddUtilizationMetrics() [1/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::AddUtilizationMetrics ( const LambdaFunctionUtilizationMetric value)
inline

An array of objects that describe the utilization metrics of the function.

Definition at line 255 of file LambdaFunctionRecommendation.h.

◆ AddUtilizationMetrics() [2/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::AddUtilizationMetrics ( LambdaFunctionUtilizationMetric &&  value)
inline

An array of objects that describe the utilization metrics of the function.

Definition at line 261 of file LambdaFunctionRecommendation.h.

◆ CurrentMemorySizeHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::CurrentMemorySizeHasBeenSet ( ) const
inline

The amount of memory, in MB, that's allocated to the current function.

Definition at line 177 of file LambdaFunctionRecommendation.h.

◆ FindingHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::FindingHasBeenSet ( ) const
inline

The finding classification of the function.

Findings for functions include:

  • Optimized — The function is correctly provisioned to run your workload based on its current configuration and its utilization history. This finding classification does not include finding reason codes.

  • NotOptimized — The function is performing at a higher level (over-provisioned) or at a lower level (under-provisioned) than required for your workload because its current configuration is not optimal. Over-provisioned resources might lead to unnecessary infrastructure cost, and under-provisioned resources might lead to poor application performance. This finding classification can include the MemoryUnderprovisioned and MemoryUnderprovisioned finding reason codes.

  • Unavailable — Compute Optimizer was unable to generate a recommendation for the function. This could be because the function has not accumulated sufficient metric data, or the function does not qualify for a recommendation. This finding classification can include the InsufficientData and Inconclusive finding reason codes.

    Functions with a finding of unavailable are not returned unless you specify the filter parameter with a value of Unavailable in your GetLambdaFunctionRecommendations request.

Definition at line 366 of file LambdaFunctionRecommendation.h.

◆ FindingReasonCodesHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::FindingReasonCodesHasBeenSet ( ) const
inline

The reason for the finding classification of the function.

Functions that have a finding classification of Optimized don't have a finding reason code.

Finding reason codes for functions include:

  • MemoryOverprovisioned — The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of the NotOptimized finding classification.

  • MemoryUnderprovisioned — The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of the NotOptimized finding classification.

  • InsufficientData — The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of the Unavailable finding classification.

  • Inconclusive — The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of the Unavailable finding classification.

Definition at line 519 of file LambdaFunctionRecommendation.h.

◆ FunctionArnHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::FunctionArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the current function.

Definition at line 54 of file LambdaFunctionRecommendation.h.

◆ FunctionVersionHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::FunctionVersionHasBeenSet ( ) const
inline

The version number of the current function.

Definition at line 95 of file LambdaFunctionRecommendation.h.

◆ GetAccountId()

const Aws::String& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetAccountId ( ) const
inline

The Amazon Web Services account ID of the function.

Definition at line 131 of file LambdaFunctionRecommendation.h.

◆ GetCurrentMemorySize()

int Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetCurrentMemorySize ( ) const
inline

The amount of memory, in MB, that's allocated to the current function.

Definition at line 172 of file LambdaFunctionRecommendation.h.

◆ GetFinding()

const LambdaFunctionRecommendationFinding& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetFinding ( ) const
inline

The finding classification of the function.

Findings for functions include:

  • Optimized — The function is correctly provisioned to run your workload based on its current configuration and its utilization history. This finding classification does not include finding reason codes.

  • NotOptimized — The function is performing at a higher level (over-provisioned) or at a lower level (under-provisioned) than required for your workload because its current configuration is not optimal. Over-provisioned resources might lead to unnecessary infrastructure cost, and under-provisioned resources might lead to poor application performance. This finding classification can include the MemoryUnderprovisioned and MemoryUnderprovisioned finding reason codes.

  • Unavailable — Compute Optimizer was unable to generate a recommendation for the function. This could be because the function has not accumulated sufficient metric data, or the function does not qualify for a recommendation. This finding classification can include the InsufficientData and Inconclusive finding reason codes.

    Functions with a finding of unavailable are not returned unless you specify the filter parameter with a value of Unavailable in your GetLambdaFunctionRecommendations request.

Definition at line 342 of file LambdaFunctionRecommendation.h.

◆ GetFindingReasonCodes()

const Aws::Vector<LambdaFunctionRecommendationFindingReasonCode>& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetFindingReasonCodes ( ) const
inline

The reason for the finding classification of the function.

Functions that have a finding classification of Optimized don't have a finding reason code.

Finding reason codes for functions include:

  • MemoryOverprovisioned — The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of the NotOptimized finding classification.

  • MemoryUnderprovisioned — The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of the NotOptimized finding classification.

  • InsufficientData — The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of the Unavailable finding classification.

  • Inconclusive — The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of the Unavailable finding classification.

Definition at line 491 of file LambdaFunctionRecommendation.h.

◆ GetFunctionArn()

const Aws::String& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetFunctionArn ( ) const
inline

The Amazon Resource Name (ARN) of the current function.

Definition at line 49 of file LambdaFunctionRecommendation.h.

◆ GetFunctionVersion()

const Aws::String& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetFunctionVersion ( ) const
inline

The version number of the current function.

Definition at line 90 of file LambdaFunctionRecommendation.h.

◆ GetLastRefreshTimestamp()

const Aws::Utils::DateTime& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetLastRefreshTimestamp ( ) const
inline

The timestamp of when the function recommendation was last refreshed.

Definition at line 292 of file LambdaFunctionRecommendation.h.

◆ GetLookbackPeriodInDays()

double Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetLookbackPeriodInDays ( ) const
inline

The number of days for which utilization metrics were analyzed for the function.

Definition at line 268 of file LambdaFunctionRecommendation.h.

◆ GetMemorySizeRecommendationOptions()

const Aws::Vector<LambdaFunctionMemoryRecommendationOption>& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetMemorySizeRecommendationOptions ( ) const
inline

An array of objects that describe the memory configuration recommendation options for the function.

Definition at line 694 of file LambdaFunctionRecommendation.h.

◆ GetNumberOfInvocations()

long long Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetNumberOfInvocations ( ) const
inline

The number of times your function code was applied during the look-back period.

Definition at line 194 of file LambdaFunctionRecommendation.h.

◆ GetUtilizationMetrics()

const Aws::Vector<LambdaFunctionUtilizationMetric>& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::GetUtilizationMetrics ( ) const
inline

An array of objects that describe the utilization metrics of the function.

Definition at line 219 of file LambdaFunctionRecommendation.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::Jsonize ( ) const

◆ LastRefreshTimestampHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::LastRefreshTimestampHasBeenSet ( ) const
inline

The timestamp of when the function recommendation was last refreshed.

Definition at line 297 of file LambdaFunctionRecommendation.h.

◆ LookbackPeriodInDaysHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::LookbackPeriodInDaysHasBeenSet ( ) const
inline

The number of days for which utilization metrics were analyzed for the function.

Definition at line 274 of file LambdaFunctionRecommendation.h.

◆ MemorySizeRecommendationOptionsHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::MemorySizeRecommendationOptionsHasBeenSet ( ) const
inline

An array of objects that describe the memory configuration recommendation options for the function.

Definition at line 700 of file LambdaFunctionRecommendation.h.

◆ NumberOfInvocationsHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::NumberOfInvocationsHasBeenSet ( ) const
inline

The number of times your function code was applied during the look-back period.

Definition at line 200 of file LambdaFunctionRecommendation.h.

◆ operator=()

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetAccountId() [1/3]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetAccountId ( Aws::String &&  value)
inline

The Amazon Web Services account ID of the function.

Definition at line 146 of file LambdaFunctionRecommendation.h.

◆ SetAccountId() [2/3]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetAccountId ( const Aws::String value)
inline

The Amazon Web Services account ID of the function.

Definition at line 141 of file LambdaFunctionRecommendation.h.

◆ SetAccountId() [3/3]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetAccountId ( const char *  value)
inline

The Amazon Web Services account ID of the function.

Definition at line 151 of file LambdaFunctionRecommendation.h.

◆ SetCurrentMemorySize()

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetCurrentMemorySize ( int  value)
inline

The amount of memory, in MB, that's allocated to the current function.

Definition at line 182 of file LambdaFunctionRecommendation.h.

◆ SetFinding() [1/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetFinding ( const LambdaFunctionRecommendationFinding value)
inline

The finding classification of the function.

Findings for functions include:

  • Optimized — The function is correctly provisioned to run your workload based on its current configuration and its utilization history. This finding classification does not include finding reason codes.

  • NotOptimized — The function is performing at a higher level (over-provisioned) or at a lower level (under-provisioned) than required for your workload because its current configuration is not optimal. Over-provisioned resources might lead to unnecessary infrastructure cost, and under-provisioned resources might lead to poor application performance. This finding classification can include the MemoryUnderprovisioned and MemoryUnderprovisioned finding reason codes.

  • Unavailable — Compute Optimizer was unable to generate a recommendation for the function. This could be because the function has not accumulated sufficient metric data, or the function does not qualify for a recommendation. This finding classification can include the InsufficientData and Inconclusive finding reason codes.

    Functions with a finding of unavailable are not returned unless you specify the filter parameter with a value of Unavailable in your GetLambdaFunctionRecommendations request.

Definition at line 390 of file LambdaFunctionRecommendation.h.

◆ SetFinding() [2/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetFinding ( LambdaFunctionRecommendationFinding &&  value)
inline

The finding classification of the function.

Findings for functions include:

  • Optimized — The function is correctly provisioned to run your workload based on its current configuration and its utilization history. This finding classification does not include finding reason codes.

  • NotOptimized — The function is performing at a higher level (over-provisioned) or at a lower level (under-provisioned) than required for your workload because its current configuration is not optimal. Over-provisioned resources might lead to unnecessary infrastructure cost, and under-provisioned resources might lead to poor application performance. This finding classification can include the MemoryUnderprovisioned and MemoryUnderprovisioned finding reason codes.

  • Unavailable — Compute Optimizer was unable to generate a recommendation for the function. This could be because the function has not accumulated sufficient metric data, or the function does not qualify for a recommendation. This finding classification can include the InsufficientData and Inconclusive finding reason codes.

    Functions with a finding of unavailable are not returned unless you specify the filter parameter with a value of Unavailable in your GetLambdaFunctionRecommendations request.

Definition at line 414 of file LambdaFunctionRecommendation.h.

◆ SetFindingReasonCodes() [1/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetFindingReasonCodes ( Aws::Vector< LambdaFunctionRecommendationFindingReasonCode > &&  value)
inline

The reason for the finding classification of the function.

Functions that have a finding classification of Optimized don't have a finding reason code.

Finding reason codes for functions include:

  • MemoryOverprovisioned — The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of the NotOptimized finding classification.

  • MemoryUnderprovisioned — The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of the NotOptimized finding classification.

  • InsufficientData — The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of the Unavailable finding classification.

  • Inconclusive — The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of the Unavailable finding classification.

Definition at line 575 of file LambdaFunctionRecommendation.h.

◆ SetFindingReasonCodes() [2/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetFindingReasonCodes ( const Aws::Vector< LambdaFunctionRecommendationFindingReasonCode > &  value)
inline

The reason for the finding classification of the function.

Functions that have a finding classification of Optimized don't have a finding reason code.

Finding reason codes for functions include:

  • MemoryOverprovisioned — The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of the NotOptimized finding classification.

  • MemoryUnderprovisioned — The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of the NotOptimized finding classification.

  • InsufficientData — The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of the Unavailable finding classification.

  • Inconclusive — The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of the Unavailable finding classification.

Definition at line 547 of file LambdaFunctionRecommendation.h.

◆ SetFunctionArn() [1/3]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetFunctionArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the current function.

Definition at line 64 of file LambdaFunctionRecommendation.h.

◆ SetFunctionArn() [2/3]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetFunctionArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the current function.

Definition at line 59 of file LambdaFunctionRecommendation.h.

◆ SetFunctionArn() [3/3]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetFunctionArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the current function.

Definition at line 69 of file LambdaFunctionRecommendation.h.

◆ SetFunctionVersion() [1/3]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetFunctionVersion ( Aws::String &&  value)
inline

The version number of the current function.

Definition at line 105 of file LambdaFunctionRecommendation.h.

◆ SetFunctionVersion() [2/3]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetFunctionVersion ( const Aws::String value)
inline

The version number of the current function.

Definition at line 100 of file LambdaFunctionRecommendation.h.

◆ SetFunctionVersion() [3/3]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetFunctionVersion ( const char *  value)
inline

The version number of the current function.

Definition at line 110 of file LambdaFunctionRecommendation.h.

◆ SetLastRefreshTimestamp() [1/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetLastRefreshTimestamp ( Aws::Utils::DateTime &&  value)
inline

The timestamp of when the function recommendation was last refreshed.

Definition at line 307 of file LambdaFunctionRecommendation.h.

◆ SetLastRefreshTimestamp() [2/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetLastRefreshTimestamp ( const Aws::Utils::DateTime value)
inline

The timestamp of when the function recommendation was last refreshed.

Definition at line 302 of file LambdaFunctionRecommendation.h.

◆ SetLookbackPeriodInDays()

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetLookbackPeriodInDays ( double  value)
inline

The number of days for which utilization metrics were analyzed for the function.

Definition at line 280 of file LambdaFunctionRecommendation.h.

◆ SetMemorySizeRecommendationOptions() [1/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetMemorySizeRecommendationOptions ( Aws::Vector< LambdaFunctionMemoryRecommendationOption > &&  value)
inline

An array of objects that describe the memory configuration recommendation options for the function.

Definition at line 712 of file LambdaFunctionRecommendation.h.

◆ SetMemorySizeRecommendationOptions() [2/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetMemorySizeRecommendationOptions ( const Aws::Vector< LambdaFunctionMemoryRecommendationOption > &  value)
inline

An array of objects that describe the memory configuration recommendation options for the function.

Definition at line 706 of file LambdaFunctionRecommendation.h.

◆ SetNumberOfInvocations()

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetNumberOfInvocations ( long long  value)
inline

The number of times your function code was applied during the look-back period.

Definition at line 206 of file LambdaFunctionRecommendation.h.

◆ SetUtilizationMetrics() [1/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetUtilizationMetrics ( Aws::Vector< LambdaFunctionUtilizationMetric > &&  value)
inline

An array of objects that describe the utilization metrics of the function.

Definition at line 237 of file LambdaFunctionRecommendation.h.

◆ SetUtilizationMetrics() [2/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::SetUtilizationMetrics ( const Aws::Vector< LambdaFunctionUtilizationMetric > &  value)
inline

An array of objects that describe the utilization metrics of the function.

Definition at line 231 of file LambdaFunctionRecommendation.h.

◆ UtilizationMetricsHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::UtilizationMetricsHasBeenSet ( ) const
inline

An array of objects that describe the utilization metrics of the function.

Definition at line 225 of file LambdaFunctionRecommendation.h.

◆ WithAccountId() [1/3]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithAccountId ( Aws::String &&  value)
inline

The Amazon Web Services account ID of the function.

Definition at line 161 of file LambdaFunctionRecommendation.h.

◆ WithAccountId() [2/3]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithAccountId ( const Aws::String value)
inline

The Amazon Web Services account ID of the function.

Definition at line 156 of file LambdaFunctionRecommendation.h.

◆ WithAccountId() [3/3]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithAccountId ( const char *  value)
inline

The Amazon Web Services account ID of the function.

Definition at line 166 of file LambdaFunctionRecommendation.h.

◆ WithCurrentMemorySize()

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithCurrentMemorySize ( int  value)
inline

The amount of memory, in MB, that's allocated to the current function.

Definition at line 187 of file LambdaFunctionRecommendation.h.

◆ WithFinding() [1/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithFinding ( const LambdaFunctionRecommendationFinding value)
inline

The finding classification of the function.

Findings for functions include:

  • Optimized — The function is correctly provisioned to run your workload based on its current configuration and its utilization history. This finding classification does not include finding reason codes.

  • NotOptimized — The function is performing at a higher level (over-provisioned) or at a lower level (under-provisioned) than required for your workload because its current configuration is not optimal. Over-provisioned resources might lead to unnecessary infrastructure cost, and under-provisioned resources might lead to poor application performance. This finding classification can include the MemoryUnderprovisioned and MemoryUnderprovisioned finding reason codes.

  • Unavailable — Compute Optimizer was unable to generate a recommendation for the function. This could be because the function has not accumulated sufficient metric data, or the function does not qualify for a recommendation. This finding classification can include the InsufficientData and Inconclusive finding reason codes.

    Functions with a finding of unavailable are not returned unless you specify the filter parameter with a value of Unavailable in your GetLambdaFunctionRecommendations request.

Definition at line 438 of file LambdaFunctionRecommendation.h.

◆ WithFinding() [2/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithFinding ( LambdaFunctionRecommendationFinding &&  value)
inline

The finding classification of the function.

Findings for functions include:

  • Optimized — The function is correctly provisioned to run your workload based on its current configuration and its utilization history. This finding classification does not include finding reason codes.

  • NotOptimized — The function is performing at a higher level (over-provisioned) or at a lower level (under-provisioned) than required for your workload because its current configuration is not optimal. Over-provisioned resources might lead to unnecessary infrastructure cost, and under-provisioned resources might lead to poor application performance. This finding classification can include the MemoryUnderprovisioned and MemoryUnderprovisioned finding reason codes.

  • Unavailable — Compute Optimizer was unable to generate a recommendation for the function. This could be because the function has not accumulated sufficient metric data, or the function does not qualify for a recommendation. This finding classification can include the InsufficientData and Inconclusive finding reason codes.

    Functions with a finding of unavailable are not returned unless you specify the filter parameter with a value of Unavailable in your GetLambdaFunctionRecommendations request.

Definition at line 462 of file LambdaFunctionRecommendation.h.

◆ WithFindingReasonCodes() [1/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithFindingReasonCodes ( Aws::Vector< LambdaFunctionRecommendationFindingReasonCode > &&  value)
inline

The reason for the finding classification of the function.

Functions that have a finding classification of Optimized don't have a finding reason code.

Finding reason codes for functions include:

  • MemoryOverprovisioned — The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of the NotOptimized finding classification.

  • MemoryUnderprovisioned — The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of the NotOptimized finding classification.

  • InsufficientData — The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of the Unavailable finding classification.

  • Inconclusive — The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of the Unavailable finding classification.

Definition at line 631 of file LambdaFunctionRecommendation.h.

◆ WithFindingReasonCodes() [2/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithFindingReasonCodes ( const Aws::Vector< LambdaFunctionRecommendationFindingReasonCode > &  value)
inline

The reason for the finding classification of the function.

Functions that have a finding classification of Optimized don't have a finding reason code.

Finding reason codes for functions include:

  • MemoryOverprovisioned — The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of the NotOptimized finding classification.

  • MemoryUnderprovisioned — The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of the NotOptimized finding classification.

  • InsufficientData — The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of the Unavailable finding classification.

  • Inconclusive — The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of the Unavailable finding classification.

Definition at line 603 of file LambdaFunctionRecommendation.h.

◆ WithFunctionArn() [1/3]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithFunctionArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the current function.

Definition at line 79 of file LambdaFunctionRecommendation.h.

◆ WithFunctionArn() [2/3]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithFunctionArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the current function.

Definition at line 74 of file LambdaFunctionRecommendation.h.

◆ WithFunctionArn() [3/3]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithFunctionArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the current function.

Definition at line 84 of file LambdaFunctionRecommendation.h.

◆ WithFunctionVersion() [1/3]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithFunctionVersion ( Aws::String &&  value)
inline

The version number of the current function.

Definition at line 120 of file LambdaFunctionRecommendation.h.

◆ WithFunctionVersion() [2/3]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithFunctionVersion ( const Aws::String value)
inline

The version number of the current function.

Definition at line 115 of file LambdaFunctionRecommendation.h.

◆ WithFunctionVersion() [3/3]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithFunctionVersion ( const char *  value)
inline

The version number of the current function.

Definition at line 125 of file LambdaFunctionRecommendation.h.

◆ WithLastRefreshTimestamp() [1/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithLastRefreshTimestamp ( Aws::Utils::DateTime &&  value)
inline

The timestamp of when the function recommendation was last refreshed.

Definition at line 317 of file LambdaFunctionRecommendation.h.

◆ WithLastRefreshTimestamp() [2/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithLastRefreshTimestamp ( const Aws::Utils::DateTime value)
inline

The timestamp of when the function recommendation was last refreshed.

Definition at line 312 of file LambdaFunctionRecommendation.h.

◆ WithLookbackPeriodInDays()

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithLookbackPeriodInDays ( double  value)
inline

The number of days for which utilization metrics were analyzed for the function.

Definition at line 286 of file LambdaFunctionRecommendation.h.

◆ WithMemorySizeRecommendationOptions() [1/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithMemorySizeRecommendationOptions ( Aws::Vector< LambdaFunctionMemoryRecommendationOption > &&  value)
inline

An array of objects that describe the memory configuration recommendation options for the function.

Definition at line 724 of file LambdaFunctionRecommendation.h.

◆ WithMemorySizeRecommendationOptions() [2/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithMemorySizeRecommendationOptions ( const Aws::Vector< LambdaFunctionMemoryRecommendationOption > &  value)
inline

An array of objects that describe the memory configuration recommendation options for the function.

Definition at line 718 of file LambdaFunctionRecommendation.h.

◆ WithNumberOfInvocations()

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithNumberOfInvocations ( long long  value)
inline

The number of times your function code was applied during the look-back period.

Definition at line 212 of file LambdaFunctionRecommendation.h.

◆ WithUtilizationMetrics() [1/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithUtilizationMetrics ( Aws::Vector< LambdaFunctionUtilizationMetric > &&  value)
inline

An array of objects that describe the utilization metrics of the function.

Definition at line 249 of file LambdaFunctionRecommendation.h.

◆ WithUtilizationMetrics() [2/2]

LambdaFunctionRecommendation& Aws::ComputeOptimizer::Model::LambdaFunctionRecommendation::WithUtilizationMetrics ( const Aws::Vector< LambdaFunctionUtilizationMetric > &  value)
inline

An array of objects that describe the utilization metrics of the function.

Definition at line 243 of file LambdaFunctionRecommendation.h.


The documentation for this class was generated from the following file: