libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CostExplorer.Types.ReservationPurchaseRecommendation

Description

 
Synopsis

Documentation

data ReservationPurchaseRecommendation Source #

A specific reservation that Amazon Web Services recommends for purchase.

See: newReservationPurchaseRecommendation smart constructor.

Constructors

ReservationPurchaseRecommendation' 

Fields

Instances

Instances details
Eq ReservationPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ReservationPurchaseRecommendation

Read ReservationPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ReservationPurchaseRecommendation

Show ReservationPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ReservationPurchaseRecommendation

Generic ReservationPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ReservationPurchaseRecommendation

Associated Types

type Rep ReservationPurchaseRecommendation :: Type -> Type #

NFData ReservationPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ReservationPurchaseRecommendation

Hashable ReservationPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ReservationPurchaseRecommendation

FromJSON ReservationPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ReservationPurchaseRecommendation

type Rep ReservationPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ReservationPurchaseRecommendation

type Rep ReservationPurchaseRecommendation = D1 ('MetaData "ReservationPurchaseRecommendation" "Amazonka.CostExplorer.Types.ReservationPurchaseRecommendation" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "ReservationPurchaseRecommendation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "termInYears") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TermInYears)) :*: (S1 ('MetaSel ('Just "recommendationSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservationPurchaseRecommendationSummary)) :*: S1 ('MetaSel ('Just "serviceSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceSpecification)))) :*: ((S1 ('MetaSel ('Just "accountScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccountScope)) :*: S1 ('MetaSel ('Just "recommendationDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReservationPurchaseRecommendationDetail]))) :*: (S1 ('MetaSel ('Just "lookbackPeriodInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LookbackPeriodInDays)) :*: S1 ('MetaSel ('Just "paymentOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PaymentOption))))))

newReservationPurchaseRecommendation :: ReservationPurchaseRecommendation Source #

Create a value of ReservationPurchaseRecommendation 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:termInYears:ReservationPurchaseRecommendation', reservationPurchaseRecommendation_termInYears - The term of the reservation that you want recommendations for, in years.

$sel:recommendationSummary:ReservationPurchaseRecommendation', reservationPurchaseRecommendation_recommendationSummary - A summary about the recommended purchase.

$sel:serviceSpecification:ReservationPurchaseRecommendation', reservationPurchaseRecommendation_serviceSpecification - Hardware specifications for the service that you want recommendations for.

$sel:accountScope:ReservationPurchaseRecommendation', reservationPurchaseRecommendation_accountScope - The account scope that Amazon Web Services recommends that you purchase this instance for. For example, you can purchase this reservation for an entire organization in Amazon Web Services Organizations.

$sel:recommendationDetails:ReservationPurchaseRecommendation', reservationPurchaseRecommendation_recommendationDetails - Details about the recommended purchases.

$sel:lookbackPeriodInDays:ReservationPurchaseRecommendation', reservationPurchaseRecommendation_lookbackPeriodInDays - How many days of previous usage that Amazon Web Services considers when making this recommendation.

$sel:paymentOption:ReservationPurchaseRecommendation', reservationPurchaseRecommendation_paymentOption - The payment option for the reservation (for example, AllUpfront or NoUpfront).

reservationPurchaseRecommendation_termInYears :: Lens' ReservationPurchaseRecommendation (Maybe TermInYears) Source #

The term of the reservation that you want recommendations for, in years.

reservationPurchaseRecommendation_serviceSpecification :: Lens' ReservationPurchaseRecommendation (Maybe ServiceSpecification) Source #

Hardware specifications for the service that you want recommendations for.

reservationPurchaseRecommendation_accountScope :: Lens' ReservationPurchaseRecommendation (Maybe AccountScope) Source #

The account scope that Amazon Web Services recommends that you purchase this instance for. For example, you can purchase this reservation for an entire organization in Amazon Web Services Organizations.

reservationPurchaseRecommendation_lookbackPeriodInDays :: Lens' ReservationPurchaseRecommendation (Maybe LookbackPeriodInDays) Source #

How many days of previous usage that Amazon Web Services considers when making this recommendation.

reservationPurchaseRecommendation_paymentOption :: Lens' ReservationPurchaseRecommendation (Maybe PaymentOption) Source #

The payment option for the reservation (for example, AllUpfront or NoUpfront).