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 ReservationPurchaseRecommendation = ReservationPurchaseRecommendation' {
- termInYears :: Maybe TermInYears
- recommendationSummary :: Maybe ReservationPurchaseRecommendationSummary
- serviceSpecification :: Maybe ServiceSpecification
- accountScope :: Maybe AccountScope
- recommendationDetails :: Maybe [ReservationPurchaseRecommendationDetail]
- lookbackPeriodInDays :: Maybe LookbackPeriodInDays
- paymentOption :: Maybe PaymentOption
- newReservationPurchaseRecommendation :: ReservationPurchaseRecommendation
- reservationPurchaseRecommendation_termInYears :: Lens' ReservationPurchaseRecommendation (Maybe TermInYears)
- reservationPurchaseRecommendation_recommendationSummary :: Lens' ReservationPurchaseRecommendation (Maybe ReservationPurchaseRecommendationSummary)
- reservationPurchaseRecommendation_serviceSpecification :: Lens' ReservationPurchaseRecommendation (Maybe ServiceSpecification)
- reservationPurchaseRecommendation_accountScope :: Lens' ReservationPurchaseRecommendation (Maybe AccountScope)
- reservationPurchaseRecommendation_recommendationDetails :: Lens' ReservationPurchaseRecommendation (Maybe [ReservationPurchaseRecommendationDetail])
- reservationPurchaseRecommendation_lookbackPeriodInDays :: Lens' ReservationPurchaseRecommendation (Maybe LookbackPeriodInDays)
- reservationPurchaseRecommendation_paymentOption :: Lens' ReservationPurchaseRecommendation (Maybe PaymentOption)
Documentation
data ReservationPurchaseRecommendation Source #
A specific reservation that Amazon Web Services recommends for purchase.
See: newReservationPurchaseRecommendation
smart constructor.
ReservationPurchaseRecommendation' | |
|
Instances
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_recommendationSummary :: Lens' ReservationPurchaseRecommendation (Maybe ReservationPurchaseRecommendationSummary) Source #
A summary about the recommended purchase.
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_recommendationDetails :: Lens' ReservationPurchaseRecommendation (Maybe [ReservationPurchaseRecommendationDetail]) Source #
Details about the recommended purchases.
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
).