Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data RightsizingRecommendation = RightsizingRecommendation' {}
- newRightsizingRecommendation :: RightsizingRecommendation
- rightsizingRecommendation_accountId :: Lens' RightsizingRecommendation (Maybe Text)
- rightsizingRecommendation_findingReasonCodes :: Lens' RightsizingRecommendation (Maybe [FindingReasonCode])
- rightsizingRecommendation_modifyRecommendationDetail :: Lens' RightsizingRecommendation (Maybe ModifyRecommendationDetail)
- rightsizingRecommendation_currentInstance :: Lens' RightsizingRecommendation (Maybe CurrentInstance)
- rightsizingRecommendation_rightsizingType :: Lens' RightsizingRecommendation (Maybe RightsizingType)
- rightsizingRecommendation_terminateRecommendationDetail :: Lens' RightsizingRecommendation (Maybe TerminateRecommendationDetail)
Documentation
data RightsizingRecommendation Source #
Recommendations to rightsize resources.
See: newRightsizingRecommendation
smart constructor.
RightsizingRecommendation' | |
|
Instances
newRightsizingRecommendation :: RightsizingRecommendation Source #
Create a value of RightsizingRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:RightsizingRecommendation'
, rightsizingRecommendation_accountId
- The account that this recommendation is for.
$sel:findingReasonCodes:RightsizingRecommendation'
, rightsizingRecommendation_findingReasonCodes
- The list of possible reasons why the recommendation is generated such as
under or over utilization of specific metrics (for example, CPU, Memory,
Network).
$sel:modifyRecommendationDetail:RightsizingRecommendation'
, rightsizingRecommendation_modifyRecommendationDetail
- The details for the modification recommendations.
$sel:currentInstance:RightsizingRecommendation'
, rightsizingRecommendation_currentInstance
- Context regarding the current instance.
$sel:rightsizingType:RightsizingRecommendation'
, rightsizingRecommendation_rightsizingType
- A recommendation to either terminate or modify the resource.
$sel:terminateRecommendationDetail:RightsizingRecommendation'
, rightsizingRecommendation_terminateRecommendationDetail
- The details for termination recommendations.
rightsizingRecommendation_accountId :: Lens' RightsizingRecommendation (Maybe Text) Source #
The account that this recommendation is for.
rightsizingRecommendation_findingReasonCodes :: Lens' RightsizingRecommendation (Maybe [FindingReasonCode]) Source #
The list of possible reasons why the recommendation is generated such as under or over utilization of specific metrics (for example, CPU, Memory, Network).
rightsizingRecommendation_modifyRecommendationDetail :: Lens' RightsizingRecommendation (Maybe ModifyRecommendationDetail) Source #
The details for the modification recommendations.
rightsizingRecommendation_currentInstance :: Lens' RightsizingRecommendation (Maybe CurrentInstance) Source #
Context regarding the current instance.
rightsizingRecommendation_rightsizingType :: Lens' RightsizingRecommendation (Maybe RightsizingType) Source #
A recommendation to either terminate or modify the resource.
rightsizingRecommendation_terminateRecommendationDetail :: Lens' RightsizingRecommendation (Maybe TerminateRecommendationDetail) Source #
The details for termination recommendations.